@font-face{font-family:Montserrat;src:url('/brand/Montserrat-Regular.ttf')}@font-face{font-family:Montserrat;src:url('/brand/Montserrat-SemiBold.ttf');font-weight:600}*{box-sizing:border-box}body{margin:0;background:#f5f5f5;color:#222;font:13px/1.65 Montserrat,Arial,sans-serif}h1{font-size:26px;font-weight:600;margin:0 0 24px}h2{font-size:18px;font-weight:600}h3{font-size:14px;font-weight:600}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid #222;border-radius:5px;background:#222;color:white;cursor:pointer;text-decoration:none;font-weight:600}button:disabled{opacity:.45;cursor:default}.secondary{background:#fff;color:#333;border-color:#d7d7d7}input:not([type=checkbox]),select,textarea{width:100%;padding:9px;border:1px solid #d7d7d7;border-radius:5px;background:white;color:#222}label{display:block;margin:0 0 15px;font-size:12px}label input,label select,label textarea{margin-top:5px}input[type=checkbox]{margin-right:8px}a{color:#36588a}.customer-sidebar{position:fixed;inset:0 auto 0 0;width:225px;padding:25px 20px;background:white;border-right:1px solid #ddd}.customer-sidebar img{display:block;width:150px;height:85px;object-fit:contain;margin:0 auto 20px}.customer-sidebar nav{display:grid;gap:5px}.customer-sidebar nav button{justify-content:flex-start;background:none;border:0;color:#555}.customer-sidebar nav button.active{background:#eee;color:#222}.customer-sidebar .identity{margin:20px 0;overflow-wrap:anywhere}.customer-main{margin-left:225px;padding:38px;max-width:1600px}.card{background:white;border:1px solid #ddd;border-radius:8px;padding:24px;margin-bottom:20px}.row,.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row>label{flex:1;min-width:160px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.tabs button{background:white;border-color:#ddd;color:#555}.tabs button.active{background:#222;color:white}.muted{color:#777;font-size:12px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.product-card{background:white;border:1px solid #ddd;border-radius:8px;overflow:hidden;padding:18px}.product-card img{width:100%;height:240px;object-fit:contain;background:#fff}.product-card h2{font-size:16px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}td,th{padding:14px 12px;border-bottom:1px solid #e6e6e6;text-align:left;vertical-align:top}th{background:#f7f7f7;font-weight:600}.totals{text-align:right;font-size:15px}.login-wrap{max-width:410px;margin:6vh auto;padding:22px}.login-wrap img{width:220px;display:block;margin:0 auto 35px}.login-wrap h1{text-align:center;font-size:22px}.login-wrap button{width:100%}.error{color:#a3262b}#message{position:fixed;right:20px;bottom:20px;max-width:min(450px,90vw);padding:15px 22px;background:#222;color:white;border-radius:8px;z-index:100}.loading{text-align:center;margin:100px}.pm-dialog{font:inherit;border:1px solid #ddd;border-radius:10px;padding:0;width:min(460px,92vw);max-height:90vh}.pm-dialog::backdrop{background:#18202a88}.pm-dialog header,.pm-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px}.pm-dialog header{border-bottom:1px solid #ddd}.pm-dialog h2{margin:0;font-size:16px}.pm-dialog-close{background:none;color:#777;border:0;font-size:24px}.pm-dialog-body{padding:20px}.pm-dialog footer{justify-content:flex-end;border-top:1px solid #ddd}.empty{padding:30px;text-align:center;color:#777}.badge{display:inline-block;background:#eee;padding:3px 8px;border-radius:4px}.notice{padding:14px;background:#f2f2f2;border-radius:5px;margin-bottom:20px}@media(max-width:700px){body{font-size:12px}.customer-sidebar{position:static;width:auto;padding:14px}.customer-sidebar img{width:105px;height:50px;margin:0}.customer-sidebar nav{display:flex;flex-wrap:wrap;margin-top:12px}.customer-sidebar nav button{font-size:11px;min-height:34px;padding:6px 10px}.customer-sidebar .identity{margin:8px 0}.customer-main{margin:0;padding:18px}h1{font-size:22px}.card{padding:16px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.row>label{min-width:120px}}

.customer-sidebar button.identity{display:flex;width:100%;gap:10px;padding:12px;background:#fff;border:1px solid #d8e0ea;border-radius:8px;color:#293b50;text-align:left;justify-content:flex-start;box-shadow:0 2px 4px #18243808}.identity>span:last-child{min-width:0}.identity strong,.identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity small{font-size:10px;font-weight:400;color:#788596}.identity-avatar{font-size:24px;color:#718095}.profile-mail{border-top:1px solid #e5e9ef;margin-top:20px;padding-top:16px;max-width:700px}#profileForm{max-width:1000px}#profileForm>.row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}@media(max-width:700px){#profileForm>.row{grid-template-columns:1fr}}

/* Shared portal header and profile spacing. */
.admin-topbar,.customer-topbar{position:fixed;inset:0 0 auto 0;height:58px;z-index:50;background:#fff;border-bottom:1px solid #e2e6ec;box-shadow:0 1px 3px #172a4308;display:flex;align-items:center;gap:16px;padding:0 20px}
.admin-topbar .topbar-brand,.customer-topbar .topbar-brand{display:flex;width:145px;flex:0 0 145px;align-items:center;justify-content:flex-start}
.admin-topbar .topbar-brand img,.customer-topbar .topbar-brand img{width:68px;height:42px;object-fit:contain;margin:0}
.admin-topbar .header-icon,.customer-topbar .header-icon{background:transparent;border:0;color:#728096;display:flex;align-items:center;justify-content:center;min-width:36px;height:38px;padding:8px;font-size:17px;position:relative;border-radius:6px}
.admin-topbar .header-icon:hover,.customer-topbar .header-icon:hover{background:#f2f4f7}.header-spacer{flex:1}
body:has(.customer-topbar){background:#f4f5f7;color:#344154}.customer-sidebar{top:58px;padding:22px 12px;width:228px;background:#f9fafb;border-color:#dce2e9}.customer-sidebar>a{display:none}.customer-main{margin-left:228px;padding:88px 28px 30px;max-width:none}
.customer-sidebar button.identity,#sidebar button.staff-profile{width:100%;margin:0 0 18px;padding:12px 10px;border:1px solid #d3dbe6;border-radius:7px;box-shadow:0 1px 2px #172a4304}
.customer-sidebar .identity-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#f0f3f8;color:#b7c4d6}.customer-sidebar .identity strong{font-size:12px;color:#34465d;line-height:1.6}.customer-sidebar .identity small{font-size:10px;color:#8390a0;line-height:1.5}
body.shell-collapsed #sidebar,body.shell-collapsed .customer-sidebar{display:none!important}body.shell-collapsed>main,body.shell-collapsed .customer-main{margin-left:0!important}
.profile-page{max-width:850px;padding:28px}.profile-page label{display:block;margin:0 0 18px}.profile-page input,.profile-page select{display:block;width:100%;margin-top:7px}.invoice-totals{text-align:right;line-height:1.9;padding:20px 0}
.customer-notification{display:block;width:100%;text-align:left;color:#344154;background:#fff;border:0;border-bottom:1px solid #e5e9ef;border-radius:0;padding:18px 8px;font-weight:400}.notifications-drawer{position:fixed;margin:0 0 0 auto;inset:58px 0 0 auto;height:calc(100dvh - 58px);max-height:none;border-radius:0;width:min(420px,100vw)}
@media(max-width:700px){.admin-topbar,.customer-topbar{padding:0 12px;gap:8px}.admin-topbar .topbar-brand,.customer-topbar .topbar-brand{width:80px;flex-basis:80px}.customer-sidebar{position:fixed;inset:58px auto 0 0;z-index:45;overflow:auto;box-shadow:3px 0 12px #172a4318}.customer-main{margin:0;padding:82px 16px 24px}.profile-page{padding:18px}.customer-sidebar nav{display:grid}.customer-sidebar nav button{font-size:12px}.mobile-menu{display:none!important}}

.customer-topbar .header-search{position:relative;flex:1;max-width:480px;margin:0 auto}.customer-topbar .header-search input{border:0;border-radius:6px;background:#f3f4f6;padding:10px 14px}.customer-topbar .header-search>div{position:absolute;top:100%;width:100%;background:white;box-shadow:0 6px 20px #172a4320;border:1px solid #e2e6ec;border-radius:6px}.customer-topbar .header-search button{display:block;width:100%;text-align:left;background:white;color:#344154;border:0;padding:12px;font-weight:400}.customer-topbar .header-search p{padding:12px}

/* Mobile navigation stays beside the visible page, including after scrolling. */
@media(max-width:700px){
 body>aside#sidebar,.customer-sidebar{display:none!important;position:fixed!important;inset:58px auto auto 0!important;width:min(280px,85vw)!important;height:calc(100dvh - 58px)!important;max-height:calc(100dvh - 58px)!important;overflow-y:auto;overscroll-behavior:contain;z-index:60;padding:18px 12px;box-shadow:6px 0 24px #172a4329}
 body.menu-open>aside#sidebar,body.menu-open .customer-sidebar{display:flex!important;flex-direction:column}
 body.menu-open{overflow:hidden}
 body>main,.customer-main{margin-left:0!important;width:100%!important}
 .shell-menu-backdrop{position:fixed;inset:58px 0 0;z-index:55;background:#172a4355;border:0;border-radius:0;width:100%;padding:0}
 .admin-topbar .header-search,.customer-topbar .header-search{min-width:0}
}
.shell-menu-backdrop[hidden]{display:none!important}
@media(min-width:701px){.shell-menu-backdrop{display:none}}

.login-wrap .remember{display:flex;align-items:center;gap:10px}.login-wrap .remember input{width:18px;height:18px;margin:0}.login-wrap form>a{display:block;margin-top:16px;text-align:center}
.password-visibility{font-size:13px;margin:6px 0 12px;background:transparent;color:inherit;text-decoration:underline;border:0;padding:4px;text-align:left;cursor:pointer}

[data-format-dimensions][hidden]{display:none!important}
