:root{--primary:#2563eb;--sidebar-bg:#111827;--header-bg:#fff;--footer-bg:#fff;--navbar-bg:#fff;--font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-size:14px;--font-color:#334155;--text:#172033;--muted:#748094;--line:#e8edf4;--surface:#fff;--canvas:#f5f7fb;--green:#169b62;--red:#dc4c64;--amber:#d88b12;--radius:16px;--shadow:0 7px 26px rgba(24,39,75,.055)}*{box-sizing:border-box}html{min-height:100%;background:var(--canvas)}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);color:var(--font-color);background:var(--canvas);-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.ui-icon{display:inline-block;flex:none;vertical-align:middle}.app-shell{min-height:100vh}.sidebar{width:266px;background:var(--sidebar-bg);color:#d2d8e5;position:fixed;z-index:60;inset:0 auto 0 0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3a4558 transparent}.brand{height:78px;padding:0 22px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.08);flex:none}.brand img{width:38px;height:38px;object-fit:contain;border-radius:10px;background:#fff}.brand strong{display:block;color:#fff;font-size:15px;letter-spacing:-.25px;max-width:154px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{display:block;font-size:9px;letter-spacing:1.7px;color:#8e9ab0;margin-top:4px;font-weight:700}.sidebar-close{display:none;margin-left:auto;background:transparent;border:0;color:#fff;font-size:26px}.sidebar-profile{display:flex;align-items:center;gap:10px;padding:18px 20px 20px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:7px}.avatar{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--primary),#8b5cf6);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:14px;flex:none;box-shadow:0 5px 12px rgba(37,99,235,.18)}.profile-copy{min-width:0;flex:1}.profile-copy strong,.profile-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy strong{font-size:12px;color:#fff;font-weight:700}.profile-copy span{font-size:11px;color:#9ba8bd;margin-top:4px}.online-dot{width:7px;height:7px;border-radius:50%;background:#38d996;box-shadow:0 0 0 4px rgba(56,217,150,.1)}.sidebar-nav{padding:4px 12px 14px;flex:1}.nav-section{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#728097;padding:17px 11px 8px}.nav-link{position:relative;display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 12px;margin:3px 0;border-radius:10px;color:#aeb8c9;font-size:12.5px;font-weight:600;transition:background .18s,color .18s;white-space:nowrap}.nav-link .ui-icon{width:18px;height:18px;color:#8d9ab0}.nav-link:hover{background:rgba(255,255,255,.06);color:#fff}.nav-link.active{background:linear-gradient(100deg,rgba(59,130,246,.24),rgba(59,130,246,.08));color:#fff;box-shadow:inset 3px 0 var(--primary)}.nav-link.active .ui-icon{color:#8bb7ff}.nav-link span{overflow:hidden;text-overflow:ellipsis}.active-mark{margin-left:auto;width:5px;height:5px;background:#8bb7ff;border-radius:50%}.nav-count{margin-left:auto;min-width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#ef476f;color:white;font-size:10px;font-style:normal;padding:0 5px}.sidebar-bottom{padding:12px 14px 15px;border-top:1px solid rgba(255,255,255,.08)}.sidebar-help{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.035);margin-bottom:12px}.help-icon{width:31px;height:31px;display:grid;place-items:center;background:rgba(59,130,246,.17);border-radius:9px;color:#9fc1ff;font-size:18px}.sidebar-help strong{display:block;font-size:11px;color:#fff}.sidebar-help span{display:block;color:#8593a8;font-size:9px;margin-top:4px;line-height:1.45}.logout-link{width:100%;border:0;background:transparent;text-align:left}.sidebar-version{font-size:9px;color:#69778e;text-align:center;margin-top:8px}.main-area{margin-left:266px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:0;z-index:30;box-shadow:0 2px 10px rgba(24,39,75,.025)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:15px}.topbar h1{font-size:19px;line-height:1.2;letter-spacing:-.5px;margin:5px 0 0;color:#152033;font-weight:800}.breadcrumb{font-size:10px;color:#9aa5b5;font-weight:600}.breadcrumb span{padding:0 6px;color:#c4cad4}.breadcrumb strong{color:#647187;font-weight:700}.topbar-right{gap:13px}.today-chip{display:flex;align-items:center;gap:7px;color:#78859a;background:#f7f9fc;border:1px solid #edf0f5;border-radius:9px;padding:9px 11px;font-size:11px;font-weight:600}.today-chip .ui-icon{width:15px;height:15px}.icon-button{position:relative;width:37px;height:37px;border:1px solid #e7ebf2;background:#fff;color:#657187;border-radius:10px;display:grid;place-items:center;transition:.2s}.icon-button:hover{color:var(--primary);border-color:#c9d8ff;background:#f8faff}.icon-button .ui-icon{width:18px;height:18px}.notification-dot{position:absolute;right:7px;top:7px;width:6px;height:6px;border-radius:50%;background:#f43f5e;box-shadow:0 0 0 3px white}.top-user{display:flex;align-items:center;gap:9px;border-left:1px solid #e9edf3;padding-left:14px}.avatar-small{width:34px;height:34px;border-radius:10px;font-size:12px}.top-user-copy strong,.top-user-copy span{display:block}.top-user-copy strong{font-size:11px;color:#263349;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-user-copy span{font-size:10px;color:#9aa4b4;margin-top:3px}.mobile-menu-toggle{display:none}.content-wrap{padding:28px 30px 38px;flex:1;width:100%;max-width:1680px;margin:0 auto}.app-footer{display:flex;justify-content:space-between;gap:12px;padding:16px 30px;background:var(--footer-bg);border-top:1px solid var(--line);color:#9aa4b4;font-size:10px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:23px}.page-heading h2{font-size:22px;letter-spacing:-.8px;color:#182235;margin:0 0 6px;font-weight:800}.page-heading p{font-size:12px;color:#8a95a6;margin:0;line-height:1.6}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:10px;border:1px solid transparent;font-size:11.5px;font-weight:750;line-height:1.2;transition:transform .16s,box-shadow .16s,background .16s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn .ui-icon{width:15px;height:15px}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 5px 12px color-mix(in srgb,var(--primary) 19%,transparent)}.btn-primary:hover{color:#fff;filter:brightness(.97);box-shadow:0 8px 16px color-mix(in srgb,var(--primary) 24%,transparent)}.btn-light{background:#fff;color:#536176;border-color:#e2e8f0}.btn-light:hover{background:#f8fafc;color:#263449}.btn-danger{background:#fff1f2;color:#c4324e;border-color:#ffd5dd}.btn-success{background:#e9fbf2;color:#087e4d;border-color:#c4f1d9}.btn-warning{background:#fff7e7;color:#a66b05;border-color:#ffe4ac}.btn-sm{padding:7px 10px;border-radius:8px;font-size:10px}.btn-block{width:100%}.alert{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;border-radius:12px;margin:0 0 22px;border:1px solid;font-size:12px;line-height:1.55}.alert>span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;font-weight:900;flex:none}.alert-success{background:#edfcf4;border-color:#c5f0d7;color:#14744a}.alert-success>span{background:#d3f7e3}.alert-danger{background:#fff1f2;border-color:#ffd1d9;color:#a62a41}.alert-danger>span{background:#ffdde3}.alert-close{margin-left:auto;border:0;background:transparent;font-size:19px;color:inherit;opacity:.65;line-height:1}.grid{display:grid;gap:17px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{background:#fff;border:1px solid #e9edf4;border-radius:15px;padding:19px 19px 16px;box-shadow:var(--shadow);min-width:0;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#eef4ff;color:#3d70e6}.stat-icon .ui-icon{width:19px;height:19px}.stat-icon.green{background:#e6f9f0;color:#149563}.stat-icon.purple{background:#f2edff;color:#8761d5}.stat-icon.orange{background:#fff4e6;color:#dc8a21}.stat-icon.rose{background:#fff0f3;color:#e45170}.stat-kicker{font-size:10px;letter-spacing:.2px;color:#8c97a8;font-weight:700}.stat-value{font-size:25px;font-weight:850;letter-spacing:-.9px;color:#182235;margin:16px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#a0a9b7;font-size:10px}.stat-footer a{color:var(--primary);font-weight:800;display:inline-flex;align-items:center;gap:3px}.stat-footer a .ui-icon{width:12px;height:12px}.section-card,.panel{background:#fff;border:1px solid #e8edf4;border-radius:15px;box-shadow:var(--shadow);min-width:0}.section-card{padding:20px}.panel{overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #edf0f5}.panel-header h3,.section-title{font-size:13px;color:#243147;font-weight:800;margin:0}.panel-header p{font-size:10px;color:#98a2b2;margin:5px 0 0}.panel-body{padding:18px 20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-head h3{font-size:13px;color:#243147;margin:0;font-weight:800}.section-head p{font-size:10px;color:#9aa4b4;margin:5px 0 0}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:17px;margin-top:18px}.chart-bars{display:flex;align-items:flex-end;gap:12px;height:190px;padding:20px 6px 0;border-bottom:1px solid #edf0f5}.bar-column{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;height:100%;min-width:0}.bar-value{font-size:9px;color:#7d899a;font-weight:700}.bar{width:min(28px,70%);min-height:5px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#6b9aff,#3970e6);box-shadow:0 4px 8px rgba(54,110,230,.12)}.bar-label{font-size:9px;color:#929dae;white-space:nowrap}.mini-list{display:flex;flex-direction:column}.mini-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2f6}.mini-row:last-child{border-bottom:0}.mini-thumb{width:37px;height:37px;flex:none;border-radius:10px;background:#f2f5fa;display:grid;place-items:center;overflow:hidden;color:#8290a5}.mini-thumb img{width:100%;height:100%;object-fit:cover}.mini-row-main{min-width:0;flex:1}.mini-row-main strong{display:block;font-size:11px;color:#344155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-row-main span{display:block;font-size:10px;color:#9ba5b4;margin-top:4px}.mini-row-end{text-align:right;flex:none}.mini-row-end strong{display:block;color:#29364a;font-size:11px}.mini-row-end span{display:block;color:#9ca6b5;font-size:9px;margin-top:4px}.status{display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:.15px;white-space:nowrap}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-success,.status-approved,.status-paid{color:#128351;background:#e8f9f0}.status-pending,.status-unpaid{color:#b9780d;background:#fff5df}.status-cancelled{color:#c33d54;background:#fff0f2}.status-partial{color:#3d6fd3;background:#edf4ff}.status-neutral{color:#778396;background:#f1f4f8}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-group{min-width:0}.form-group.full{grid-column:1/-1}.form-label{display:block;font-size:10px;color:#637086;font-weight:800;margin:0 0 7px}.required{color:#e54862}.form-control,.form-select{width:100%;min-height:41px;border:1px solid #e0e6ef;border-radius:9px;background:#fff;color:#29364a;padding:10px 12px;outline:0;transition:border-color .15s,box-shadow .15s;font-size:11.5px}.form-control:focus,.form-select:focus{border-color:color-mix(in srgb,var(--primary) 55%,#fff);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)}.form-control::placeholder{color:#b3bbc8}.form-control[readonly],.form-control:disabled{background:#f7f9fc;color:#7b879a}.form-help{font-size:10px;color:#98a3b4;line-height:1.5;margin-top:6px}.form-check{display:flex;align-items:center;gap:8px;font-size:11px;color:#657187}.form-check input{accent-color:var(--primary);width:15px;height:15px}.form-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:20px;padding-top:17px;border-top:1px solid #edf0f5}.details-form{margin-bottom:18px}.details-form>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px dashed #cbd5e1;border-radius:12px;padding:15px 17px;color:#3d4a5f;font-weight:800;font-size:12px}.details-form>summary::-webkit-details-marker{display:none}.details-form[open]>summary{border-radius:12px 12px 0 0;border-style:solid;border-bottom:0}.details-form .details-body{background:#fff;border:1px solid #e8edf4;border-radius:0 0 12px 12px;padding:20px;box-shadow:var(--shadow)}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid #edf0f5;flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.search-field{position:relative;min-width:180px}.search-field .ui-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:#9aa4b4}.search-field input{padding-left:32px;min-height:35px}.table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain}.data-table{border-collapse:separate;border-spacing:0;width:100%;min-width:700px;font-size:11px}.data-table th{background:#f8fafc;color:#8290a3;font-size:9px;text-transform:uppercase;letter-spacing:.65px;font-weight:850;text-align:left;padding:13px 15px;border-bottom:1px solid #e9edf3;white-space:nowrap}.data-table td{padding:13px 15px;border-bottom:1px solid #f0f2f6;color:#5d6a7d;vertical-align:middle;line-height:1.45}.data-table tbody tr:hover td{background:#fbfcfe}.data-table tbody tr:last-child td{border-bottom:0}.data-table .primary-cell{color:#2c394d;font-weight:800}.data-table .muted-cell{color:#9ba5b4;font-size:10px}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;border-top:1px solid #edf0f5;color:#98a2b2;font-size:10px;flex-wrap:wrap}.pagination{display:flex;gap:4px}.pagination a,.pagination span{min-width:27px;height:27px;border-radius:7px;border:1px solid #e6ebf2;display:grid;place-items:center;padding:0 6px;color:#68758a;background:#fff;font-size:10px}.pagination .current{background:var(--primary);color:#fff;border-color:var(--primary)}.filter-row{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;padding:15px 18px;border-bottom:1px solid #edf0f5}.filter-row .form-group{min-width:130px;flex:1}.filter-row .form-group.wide{flex:1.5;min-width:180px}.filter-row .form-label{font-size:9px}.filter-row .form-control,.filter-row .form-select{min-height:35px;padding:8px 10px;font-size:10px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product-card{border:1px solid #e8edf4;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(24,39,75,.035);display:flex;flex-direction:column;min-width:0}.product-image{height:145px;background:linear-gradient(135deg,#f1f5fa,#fafbfe);position:relative;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.product-placeholder{font-size:36px;color:#bac5d4}.product-badge{position:absolute;left:10px;top:10px;background:rgba(255,255,255,.93);padding:5px 8px;border-radius:7px;color:#66748a;font-size:9px;font-weight:800}.product-info{padding:13px;display:flex;flex-direction:column;flex:1}.product-info h3{font-size:12px;color:#29364a;margin:0 0 6px;line-height:1.45}.product-info .sku{font-size:9px;color:#9aa5b4;margin-bottom:12px}.product-price{font-size:15px;font-weight:850;color:#1e2c42;letter-spacing:-.3px;margin-top:auto}.product-meta{display:flex;justify-content:space-between;gap:8px;color:#8b97a8;font-size:9px;margin:10px 0 12px}.product-info .btn{width:100%}.cart-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.8fr);gap:18px;align-items:start}.cart-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cart-products .product-image{height:100px}.cart-products .product-info{padding:10px}.cart-products .product-info h3{font-size:11px}.cart-products .product-price{font-size:13px}.cart-products .product-meta{margin:7px 0 9px}.cart-box{position:sticky;top:96px}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) 70px 80px 25px;gap:8px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f5}.cart-line strong{display:block;font-size:11px;color:#344155;line-height:1.35}.cart-line small{display:block;font-size:9px;color:#9ba5b4;margin-top:4px}.cart-line input{width:100%;min-height:31px;padding:5px 6px;text-align:center}.cart-line .line-total{font-size:10px;color:#39465a;text-align:right;font-weight:800}.remove-line{background:transparent;border:0;color:#d44c63;font-size:17px}.cart-total-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;color:#8390a3;font-size:11px}.cart-total-row strong{color:#354257}.cart-grand{border-top:1px dashed #dbe2ec;margin-top:6px;padding-top:14px;font-size:13px;color:#27354a;font-weight:800}.cart-grand strong{font-size:20px;letter-spacing:-.6px}.empty-state{padding:35px 18px;text-align:center;color:#99a4b4}.empty-state .ui-icon{width:32px;height:32px;margin-bottom:10px;color:#c4cdda}.empty-state strong{display:block;color:#56647a;font-size:12px;margin-bottom:5px}.empty-state p{font-size:10px;margin:0}.mini-stat-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:17px}.mini-stat{flex:1;min-width:130px;border:1px solid #e8edf4;background:#fff;border-radius:12px;padding:14px 16px}.mini-stat span{display:block;font-size:10px;color:#97a1b1;font-weight:700}.mini-stat strong{display:block;font-size:18px;color:#263449;letter-spacing:-.5px;margin-top:8px}.progress{height:6px;border-radius:8px;background:#edf1f7;overflow:hidden}.progress span{display:block;height:100%;border-radius:8px;background:var(--primary)}.promo-card{border:1px solid #e8edf4;border-radius:14px;background:linear-gradient(135deg,#fff,#f8fbff);padding:18px;position:relative;overflow:hidden}.promo-card:after{content:"";position:absolute;right:-18px;top:-25px;width:100px;height:100px;border-radius:50%;background:color-mix(in srgb,var(--primary) 8%,transparent)}.promo-code{display:inline-flex;padding:5px 8px;border:1px dashed #b6c8ef;border-radius:7px;background:#f1f6ff;color:#3b66bb;font-size:10px;font-weight:900;letter-spacing:.7px}.promo-card h3{font-size:13px;margin:12px 0 6px;color:#27354a}.promo-card p{font-size:10px;line-height:1.6;color:#8c97a7;margin:0 0 12px}.promo-card small{font-size:9px;color:#a2acb9}.proof-link{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800}.proof-link .ui-icon{width:13px;height:13px}.receipt{max-width:760px;margin:0 auto;background:#fff;border:1px solid #e6ebf2;border-radius:15px;padding:28px;box-shadow:var(--shadow)}.receipt-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px dashed #dce3ed;padding-bottom:20px;margin-bottom:20px}.receipt-brand{display:flex;align-items:center;gap:10px}.receipt-brand img{width:42px;height:42px;object-fit:contain}.receipt-brand strong{display:block;color:#243147;font-size:15px}.receipt-brand small{display:block;color:#9aa4b4;font-size:10px;margin-top:4px}.receipt-number{text-align:right}.receipt-number strong{display:block;color:#27364b;font-size:12px}.receipt-number span{display:block;color:#8d98a8;font-size:10px;margin-top:5px}.receipt-lines{width:100%;border-collapse:collapse}.receipt-lines td{padding:10px 0;border-bottom:1px solid #edf0f5;font-size:11px;color:#6b778a}.receipt-lines td:last-child{text-align:right;color:#2e3a4f;font-weight:800}.receipt-total{margin-left:auto;width:min(100%,300px);padding-top:12px}.receipt-total div{display:flex;justify-content:space-between;padding:6px 0;color:#8792a3;font-size:11px}.receipt-total div:last-child{border-top:1px dashed #dce3ed;padding-top:13px;margin-top:5px;font-size:13px;font-weight:800;color:#28364a}.receipt-total div:last-child strong{font-size:20px}.role-matrix{min-width:700px}.role-matrix td,.role-matrix th{text-align:center}.role-matrix td:first-child,.role-matrix th:first-child{text-align:left}.role-matrix input{width:16px;height:16px;accent-color:var(--primary)}.auth-page{min-height:100vh;background:#f4f7fb;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);padding:18px;gap:18px}.auth-visual{position:relative;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 75% 20%,rgba(99,102,241,.4),transparent 28%),radial-gradient(circle at 15% 80%,rgba(16,185,129,.2),transparent 30%),linear-gradient(145deg,#111827,#172b55 55%,#1d4ed8);padding:48px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;min-height:650px}.auth-visual:before,.auth-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.1);border-radius:50%;width:470px;height:470px;right:-90px;bottom:-110px}.auth-visual:after{width:330px;height:330px;right:-20px;bottom:-40px}.auth-brand{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.auth-brand img{width:42px;height:42px;background:#fff;border-radius:12px}.auth-brand strong{font-size:16px}.auth-brand small{display:block;color:#a8b7d7;font-size:9px;letter-spacing:1.6px;margin-top:4px}.auth-copy{position:relative;z-index:1;max-width:550px;margin:30px 0}.auth-copy .eyebrow{display:inline-flex;align-items:center;gap:8px;color:#b9d2ff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);padding:8px 12px;border-radius:99px;font-size:10px;font-weight:800;letter-spacing:.5px}.auth-copy h1{font-size:clamp(32px,4vw,54px);line-height:1.1;letter-spacing:-2px;margin:23px 0 17px;max-width:500px}.auth-copy p{font-size:13px;line-height:1.8;color:#c3cee1;max-width:430px}.auth-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px;max-width:440px}.auth-feature{display:flex;align-items:center;gap:9px;padding:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:11px;color:#dce6f8;font-size:10px}.auth-feature span{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;background:rgba(99,145,255,.2);color:#c6d8ff}.auth-visual-foot{position:relative;z-index:1;color:#9aabc9;font-size:10px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:30px}.auth-card{width:100%;max-width:420px}.auth-card h2{font-size:28px;letter-spacing:-1px;color:#1e293b;margin:0 0 9px}.auth-card>p{font-size:12px;color:#8994a5;line-height:1.7;margin:0 0 27px}.auth-card .form-group{margin-bottom:17px}.auth-card .form-label{font-size:11px}.auth-card .form-control{height:47px;font-size:12px}.auth-card .btn{height:46px;font-size:12px;margin-top:7px}.auth-card-foot{text-align:center;color:#9ba5b3;font-size:10px;margin-top:24px;line-height:1.7}.auth-message{border-radius:10px;padding:11px 13px;font-size:11px;margin-bottom:16px}.auth-message.error{color:#a62a41;background:#fff0f2;border:1px solid #ffd3dc}.auth-message.info{color:#2354b9;background:#edf4ff;border:1px solid #d5e3ff}.auth-lock{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;color:var(--primary);background:#eaf1ff;margin-bottom:19px}.auth-lock .ui-icon{width:23px;height:23px}.sidebar-backdrop{display:none}.mobile-bottom-nav{display:none}.text-muted{color:#95a0b0}.text-right{text-align:right}.nowrap{white-space:nowrap}.mt-16{margin-top:16px}.mb-16{margin-bottom:16px}.gap-10{gap:10px}.inline-form{display:inline}.action-group{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.stock-low{color:#c23a53;font-weight:800}.note-box{padding:12px 14px;border-radius:10px;background:#f5f8ff;color:#64748b;border:1px solid #e5edff;font-size:10px;line-height:1.7}.danger-note{background:#fff4f5;color:#9e3549;border-color:#ffd9df}.subnav-tabs{display:flex;gap:5px;overflow-x:auto;padding:5px;background:#edf1f7;border-radius:10px;width:max-content;max-width:100%;margin-bottom:18px}.subnav-tabs a{padding:8px 12px;border-radius:7px;color:#718096;font-size:10px;font-weight:800;white-space:nowrap}.subnav-tabs a.active{background:#fff;color:var(--primary);box-shadow:0 2px 5px rgba(24,39,75,.07)}
@media(max-width:1300px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cart-products{grid-template-columns:repeat(2,minmax(0,1fr))}.content-wrap{padding-left:22px;padding-right:22px}.topbar{padding-left:22px;padding-right:22px}}
@media(max-width:1050px){.sidebar{transform:translateX(-105%);transition:transform .25s ease;box-shadow:15px 0 45px rgba(17,24,39,.18)}.sidebar.is-open{transform:translateX(0)}.sidebar-close{display:block}.sidebar-backdrop.is-visible{display:block;position:fixed;z-index:55;inset:0;background:rgba(13,22,39,.45);backdrop-filter:blur(2px)}.main-area{margin-left:0}.mobile-menu-toggle{display:grid}.topbar{height:70px}.dashboard-layout{grid-template-columns:1fr 1fr}.auth-page{grid-template-columns:1fr}.auth-visual{min-height:380px;padding:30px}.auth-copy h1{font-size:40px}.auth-panel{padding:35px 20px}.auth-visual-foot{margin-top:30px}}
@media(max-width:760px){.content-wrap{padding:20px 14px 28px}.topbar{height:64px;padding:0 14px}.topbar h1{font-size:16px}.breadcrumb{font-size:9px}.topbar-right{gap:7px}.today-chip{display:none}.top-user{padding-left:8px;border-left:0}.top-user-copy{display:none}.avatar-small{width:33px;height:33px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px}.page-heading h2{font-size:20px}.page-actions{width:100%}.page-actions .btn{flex:1}.grid-4{gap:10px}.stat-card{padding:14px}.stat-icon{width:33px;height:33px}.stat-value{font-size:21px;margin:13px 0 7px}.stat-kicker{font-size:9px}.stat-footer{font-size:9px;align-items:flex-start}.grid-3,.grid-2{grid-template-columns:1fr}.dashboard-layout{grid-template-columns:1fr;gap:13px}.section-card{padding:15px}.panel-header,.panel-body{padding:15px}.form-grid,.form-grid.three{grid-template-columns:1fr}.form-group.full{grid-column:auto}.filter-row{padding:13px;gap:8px}.filter-row .form-group{min-width:calc(50% - 8px)}.filter-row .form-group.wide{min-width:100%}.table-toolbar{padding:12px}.table-toolbar .toolbar-left,.table-toolbar .toolbar-right{width:100%}.search-field{flex:1}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:120px}.product-info{padding:11px}.product-price{font-size:13px}.product-meta{font-size:8px}.cart-layout{grid-template-columns:1fr}.cart-box{position:static}.cart-products{grid-template-columns:repeat(2,minmax(0,1fr))}.cart-products .product-image{height:90px}.cart-line{grid-template-columns:minmax(0,1fr) 56px 70px 20px;gap:5px}.cart-line strong{font-size:10px}.mini-stat-row{gap:8px}.mini-stat{min-width:calc(50% - 8px);padding:12px}.mini-stat strong{font-size:16px}.app-footer{padding:13px 15px;flex-direction:column;gap:5px;font-size:9px}.auth-page{padding:0;gap:0;background:#fff}.auth-visual{border-radius:0;min-height:auto;padding:26px 23px 28px}.auth-copy{margin:32px 0 8px}.auth-copy h1{font-size:34px;letter-spacing:-1.3px}.auth-copy p{font-size:11px}.auth-feature-list{gap:7px}.auth-feature{font-size:9px;padding:9px}.auth-visual-foot{display:none}.auth-panel{padding:35px 22px 45px}.auth-card h2{font-size:25px}.receipt{padding:18px;border-radius:12px}.receipt-header{flex-direction:column}.receipt-number{text-align:left}.role-matrix{min-width:680px}.table-footer{padding:12px}.hide-mobile{display:none!important}.today-chip{display:none}}
@media(max-width:380px){.grid-4{grid-template-columns:1fr 1fr}.stat-value{font-size:18px}.stat-footer a{font-size:8px}.product-grid{grid-template-columns:1fr 1fr}.cart-products{grid-template-columns:1fr 1fr}.cart-line{grid-template-columns:minmax(0,1fr) 48px 60px 18px}.auth-copy h1{font-size:30px}}
@media print{body{background:#fff}.sidebar,.topbar,.app-footer,.page-heading,.no-print,.alert,.sidebar-backdrop{display:none!important}.main-area{margin:0}.content-wrap{padding:0;max-width:none}.panel,.section-card,.receipt{box-shadow:none;border:0}.table-wrap{overflow:visible}.data-table{min-width:0}.data-table th,.data-table td{padding:7px;font-size:9px}.data-table th{background:#f2f4f7!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.status{border:1px solid #ddd}.receipt{padding:0}.print-title{display:block!important}}
.topbar-logo{width:30px;height:30px;object-fit:contain;border-radius:8px;background:#fff;display:block;flex:none}@media(max-width:760px){.topbar-logo{display:none}}
.print-title{display:none}
.topbar-left{background:var(--header-bg);border-radius:12px;padding:6px 9px}


/* v2 modular maintenance update: desktop sidebar toggle and compact mobile sign-in */
.main-area,.sidebar{transition:margin-left .22s ease,transform .22s ease,width .22s ease}
.desktop-sidebar-toggle{display:grid;flex:none}
@media(min-width:1051px){.app-shell.sidebar-hidden .sidebar{transform:translateX(-105%)}.app-shell.sidebar-hidden .main-area{margin-left:0}.app-shell.sidebar-hidden .desktop-sidebar-toggle{background:#eef4ff;color:var(--primary);border-color:#d9e5ff}}
.auth-mobile-brand{display:none}
@media(max-width:760px){
  .auth-page{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:18px;background:radial-gradient(circle at 5% 0%,#e8efff 0,transparent 42%),linear-gradient(160deg,#f7f9ff,#fff 70%)}
  .auth-visual{display:none}
  .auth-panel{width:100%;padding:0;display:flex;justify-content:center}
  .auth-card{max-width:430px;padding:26px 22px 22px;background:#fff;border:1px solid #edf1f7;border-radius:22px;box-shadow:0 18px 55px rgba(25,48,90,.10)}
  .auth-mobile-brand{display:flex;align-items:center;gap:11px;margin-bottom:27px}
  .auth-mobile-brand img{width:43px;height:43px;object-fit:contain;padding:4px;border-radius:13px;background:#f1f5ff;border:1px solid #e6edff}
  .auth-mobile-brand strong{display:block;font-size:14px;color:#1e293b;line-height:1.3}
  .auth-mobile-brand small{display:block;font-size:9px;letter-spacing:1px;color:#94a3b8;margin-top:4px}
  .auth-lock{width:42px;height:42px;margin-bottom:15px;border-radius:13px}
  .auth-card h2{font-size:24px;letter-spacing:-.7px}
  .auth-card>p{font-size:12px;margin-bottom:22px}
  .auth-card .form-group{margin-bottom:14px}
  .auth-card .form-control{height:48px;font-size:14px;border-radius:11px}
  .auth-card .form-label{font-size:12px}
  .auth-card .btn{height:48px;font-size:13px;border-radius:11px}
  .auth-card-foot{font-size:10px;margin-top:19px}
  .desktop-sidebar-toggle{display:none}
}

/* v3: mobile/tablet memakai satu tombol menu saja; tombol collapse khusus desktop. */
@media(max-width:1050px){.desktop-sidebar-toggle{display:none!important}.mobile-menu-toggle{display:grid!important;flex:none}.topbar-left{gap:10px}}
@media(min-width:1051px){.mobile-menu-toggle{display:none!important}.desktop-sidebar-toggle{display:grid!important}}
.network-card .mini-stat small{display:block;margin-top:7px;color:#8a95a6;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.network-card .mini-stat strong{font-size:14px;overflow-wrap:anywhere}


/* v4 UI refinement: premium login, unified navigation toggle, and interactive account menu. */
.login-body{min-height:100vh;min-height:100svh;background:radial-gradient(circle at 8% 5%,#e7edff 0,transparent 34%),radial-gradient(circle at 94% 92%,#e7f4ff 0,transparent 30%),#f4f7fc;color:#263449;overflow-x:hidden}
.auth-page{width:100%;max-width:1680px;min-height:100vh;min-height:100svh;margin:0 auto;padding:clamp(14px,2.1vw,32px);display:grid;grid-template-columns:minmax(0,1.12fr) minmax(380px,.88fr);gap:0;align-items:stretch;background:transparent}
.auth-visual{isolation:isolate;min-height:min(900px,calc(100svh - 40px));padding:clamp(30px,4.1vw,64px);border-radius:26px 0 0 26px;background:radial-gradient(ellipse at 82% 15%,rgba(109,135,255,.35),transparent 34%),radial-gradient(ellipse at 15% 88%,rgba(16,185,129,.18),transparent 32%),linear-gradient(145deg,#0d172b 0%,#142b55 53%,#1d4ed8 100%);box-shadow:0 22px 70px rgba(19,39,82,.13)}
.auth-visual:before{width:520px;height:520px;right:-135px;bottom:-155px;border-color:rgba(255,255,255,.11);z-index:-1}
.auth-visual:after{width:365px;height:365px;right:-55px;bottom:-65px;border-color:rgba(255,255,255,.12);z-index:-1}
.auth-brand img{width:46px;height:46px;padding:5px;object-fit:contain;border:1px solid rgba(255,255,255,.18);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.auth-brand strong{font-size:17px;letter-spacing:-.25px}
.auth-brand small{font-size:9px;letter-spacing:1.8px}
.auth-copy{max-width:560px;margin:38px 0;}
.auth-copy .eyebrow{padding:9px 13px;font-size:10px;color:#d7e4ff;background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.15)}
.auth-eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6ee7b7;box-shadow:0 0 0 4px rgba(110,231,183,.12)}
.auth-copy h1{max-width:550px;margin:24px 0 17px;font-size:clamp(36px,3.55vw,57px);line-height:1.08;letter-spacing:-2.2px;font-weight:850}
.auth-copy p{max-width:450px;font-size:13px;line-height:1.85;color:#c3d0e7}
.auth-feature-list{max-width:500px;gap:11px;margin-top:30px}
.auth-feature{min-height:66px;padding:13px;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.11);border-radius:13px;gap:11px;font-size:11px;backdrop-filter:blur(6px)}
.auth-feature>span{width:30px;height:30px;border-radius:9px;flex:none;font-size:13px}
.auth-feature strong{display:block;color:#f5f8ff;font-size:10.5px;font-weight:750;line-height:1.35}
.auth-feature small{display:block;margin-top:4px;color:#aebfdb;font-size:9px;line-height:1.45}
.auth-visual-foot{display:flex;align-items:center;gap:9px;font-size:10px;color:#b5c5df}
.auth-foot-mark{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(110,231,183,.12);color:#8cf0c6;font-weight:800}
.auth-visual-orb{position:absolute;z-index:-1;right:7%;top:43%;width:210px;height:210px;border-radius:50%;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,0));border:1px solid rgba(255,255,255,.07);pointer-events:none}
.auth-panel{min-width:0;min-height:min(900px,calc(100svh - 40px));padding:clamp(26px,4vw,60px);border:1px solid #e5eaf3;border-left:0;border-radius:0 26px 26px 0;background:rgba(255,255,255,.97);box-shadow:0 22px 70px rgba(19,39,82,.09)}
.auth-card{width:100%;max-width:440px}
.auth-mobile-brand{display:none}
.auth-heading-icon{width:49px;height:49px;margin-bottom:20px;display:grid;place-items:center;border-radius:16px;color:var(--primary);background:linear-gradient(145deg,#eef4ff,#e5edff);box-shadow:inset 0 0 0 1px rgba(37,99,235,.05)}
.auth-heading-icon .ui-icon{width:23px;height:23px}
.auth-heading-kicker{margin-bottom:8px;color:var(--primary);font-size:9px;font-weight:850;letter-spacing:1.8px}
.auth-card h2{margin:0 0 10px;color:#16243a;font-size:clamp(27px,2.2vw,32px);line-height:1.18;letter-spacing:-1.2px;font-weight:850}
.auth-card>p,.auth-card .auth-intro{margin:0 0 28px;color:#78869a;font-size:12px;line-height:1.8;max-width:370px}
.auth-form .form-group{margin-bottom:19px}
.auth-form .form-label{display:block;margin-bottom:8px;color:#34445b;font-size:11px;font-weight:750}
.auth-input-wrap{position:relative;display:flex;align-items:center}
.auth-input-icon{position:absolute;left:14px;z-index:1;display:grid;place-items:center;color:#91a0b5;pointer-events:none}
.auth-input-icon .ui-icon{width:17px;height:17px}
.auth-card .auth-input-wrap .form-control{width:100%;height:51px;padding:0 15px 0 43px;border:1px solid #dfe6f0;border-radius:12px;background:#fbfcff;color:#263449;font-size:12px;outline:none;box-shadow:inset 0 1px 2px rgba(22,36,58,.02);transition:border-color .18s,box-shadow .18s,background .18s}
.auth-card .auth-input-wrap .form-control::placeholder{color:#a2adbd}
.auth-card .auth-input-wrap .form-control:focus{border-color:color-mix(in srgb,var(--primary) 62%,white);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 11%,transparent)}
.auth-password-wrap .form-control{padding-right:100px!important}
.auth-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);padding:7px 8px;border:0;border-radius:7px;background:transparent;color:var(--primary);font-size:10px;font-weight:800;white-space:nowrap}
.auth-password-toggle:hover{background:#edf3ff}
.auth-password-toggle:focus-visible,.auth-submit:focus-visible,.top-user-trigger:focus-visible,.sidebar-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 36%,transparent);outline-offset:2px}
.auth-card .auth-submit{height:51px;margin-top:7px;padding:0 17px;display:flex;justify-content:space-between;border-radius:12px;font-size:12px;font-weight:800;box-shadow:0 8px 18px color-mix(in srgb,var(--primary) 22%,transparent)}
.auth-submit-arrow{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.15);font-size:16px}
.auth-card-foot{display:flex;align-items:flex-start;justify-content:center;gap:9px;margin-top:25px;padding-top:18px;border-top:1px solid #edf0f5;text-align:left;color:#8c98aa;font-size:10px;line-height:1.75}
.auth-foot-lock{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:7px;background:#f0f5ff;color:#6887c5}
.auth-foot-lock .ui-icon{width:13px;height:13px}
.auth-message{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border-radius:12px;font-size:11px;line-height:1.6}
.auth-message-symbol{width:19px;height:19px;display:grid;place-items:center;flex:none;border-radius:50%;font-weight:900}
.auth-message.error .auth-message-symbol{background:#ffdfe5}
.auth-message.info .auth-message-symbol{background:#d9e8ff}

/* One shared sidebar toggle: drawer on touch-sized devices, collapse on desktop. */
.sidebar-toggle{display:grid;flex:none;width:40px;height:40px;border-radius:12px;background:#fff;color:#52627a;border-color:#e6ebf3;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.topbar-left{min-width:0;flex:1;gap:12px;padding:0;background:transparent;border-radius:0}
.topbar-heading{min-width:0}
.topbar-heading .breadcrumb,.topbar-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-heading h1{max-width:min(44vw,520px)}
.topbar-right{flex:none;gap:10px}
.account-menu-wrap{position:relative;flex:none}
.top-user-trigger{min-height:44px;max-width:250px;gap:9px;padding:5px 9px 5px 10px;border:1px solid #e7ecf4;border-radius:13px;background:#fff;color:inherit;text-align:left;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s;-webkit-tap-highlight-color:transparent}
.top-user-trigger:hover,.top-user-trigger[aria-expanded="true"]{border-color:#d5e1fb;background:#fafdff;box-shadow:0 4px 14px rgba(31,62,112,.06)}
.top-user-trigger .avatar-small{width:34px;height:34px}
.top-user-trigger .top-user-copy{min-width:0}
.top-user-trigger .top-user-copy strong{max-width:145px}
.account-caret{display:grid;place-items:center;color:#94a0b1;transition:transform .18s}
.account-caret .ui-icon{width:14px;height:14px}
.top-user-trigger[aria-expanded="true"] .account-caret{transform:rotate(180deg)}
.account-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:90;width:min(286px,calc(100vw - 24px));padding:9px;border:1px solid #e6ebf3;border-radius:17px;background:#fff;box-shadow:0 22px 60px rgba(21,39,74,.18);animation:account-menu-in .16s ease-out}
.account-menu[hidden]{display:none!important}
@keyframes account-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.account-menu-heading{display:flex;align-items:center;gap:11px;padding:10px 9px 12px}
.account-menu-avatar{width:42px;height:42px;border-radius:13px;flex:none}
.account-menu-heading strong,.account-menu-heading span,.account-menu-heading small{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu-heading strong{font-size:12px;color:#26354a;font-weight:800}
.account-menu-heading span{margin-top:4px;color:#6c7a90;font-size:10px}
.account-menu-heading small{margin-top:4px;color:#9aa5b5;font-size:10px}
.account-menu-divider{height:1px;margin:4px 2px;background:#edf0f5}
.account-menu-link{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:10px 11px;border:0;border-radius:10px;background:transparent;color:#536278;font-size:11px;font-weight:700;text-align:left;text-decoration:none;cursor:pointer}
.account-menu-link .ui-icon{width:17px;height:17px;color:#8795a9}
.account-menu-link:hover,.account-menu-link:focus-visible{background:#f3f6fc;color:var(--primary);outline:none}
.account-menu-link:hover .ui-icon{color:var(--primary)}
.account-menu form{margin:0}
.account-menu-logout{color:#c24158}
.account-menu-logout .ui-icon{color:#c24158}
.account-menu-logout:hover{background:#fff1f3;color:#b4233d}

@media (min-width:761px) and (max-width:1050px) and (orientation:portrait){
  .auth-page{grid-template-columns:minmax(0,1fr);padding:18px;gap:0}
  .auth-visual{min-height:270px;padding:28px 32px;border-radius:23px 23px 0 0}
  .auth-copy{margin:23px 0 7px}
  .auth-copy h1{max-width:680px;margin:17px 0 10px;font-size:clamp(30px,4.5vw,40px);letter-spacing:-1.5px}
  .auth-copy p{max-width:620px;margin-bottom:12px;font-size:12px}
  .auth-feature-list{max-width:640px;margin-top:17px;gap:8px}
  .auth-feature{min-height:54px;padding:9px 11px}
  .auth-visual-foot{margin-top:18px}
  .auth-panel{min-height:0;padding:32px;border-left:1px solid #e5eaf3;border-top:0;border-radius:0 0 23px 23px}
  .auth-card{max-width:470px}
}
@media (min-width:900px) and (max-width:1050px) and (orientation:landscape){
  .auth-page{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);padding:12px;gap:0}
  .auth-visual{min-height:calc(100svh - 24px);padding:25px;border-radius:20px 0 0 20px}
  .auth-copy{margin:22px 0}
  .auth-copy h1{font-size:clamp(29px,3.4vw,38px);letter-spacing:-1.4px}
  .auth-copy p{font-size:11px}
  .auth-feature-list{gap:7px;margin-top:17px}
  .auth-feature{padding:9px;min-height:54px}
  .auth-panel{min-height:calc(100svh - 24px);padding:22px;border-radius:0 20px 20px 0}
  .auth-card{max-width:370px}
}
@media(max-width:1050px){
  .sidebar-toggle{display:grid!important}
  .desktop-sidebar-toggle,.mobile-menu-toggle{display:none!important}
  .topbar{gap:10px}
  .topbar-left{gap:10px}
}
@media(max-width:760px){
  .login-body{background:radial-gradient(circle at 0 0,#e4ecff 0,transparent 38%),radial-gradient(circle at 100% 100%,#e7f3ff 0,transparent 35%),#f5f7fc}
  .auth-page{min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) max(15px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left));background:transparent}
  .auth-visual{display:none}
  .auth-panel{width:100%;min-height:0;display:flex;justify-content:center;padding:0;border:1px solid #e8edf5;border-radius:24px;background:rgba(255,255,255,.97);box-shadow:0 18px 55px rgba(25,48,90,.11)}
  .auth-card{width:100%;max-width:460px;padding:clamp(23px,6vw,34px);}
  .auth-mobile-brand{display:flex;align-items:center;gap:11px;margin-bottom:28px}
  .auth-mobile-brand img{width:46px;height:46px;object-fit:contain;padding:5px;border-radius:14px;background:#f1f5ff;border:1px solid #e6edff}
  .auth-mobile-brand strong{display:block;font-size:14px;color:#1e293b;line-height:1.35;letter-spacing:-.2px}
  .auth-mobile-brand small{display:block;font-size:8px;letter-spacing:1.1px;color:#94a3b8;margin-top:4px}
  .auth-heading-icon{width:43px;height:43px;margin-bottom:15px;border-radius:13px}
  .auth-heading-icon .ui-icon{width:21px;height:21px}
  .auth-heading-kicker{font-size:9px;margin-bottom:7px}
  .auth-card h2{font-size:25px;letter-spacing:-.8px}
  .auth-card>p,.auth-card .auth-intro{font-size:12px;line-height:1.75;margin-bottom:23px}
  .auth-form .form-group{margin-bottom:16px}
  .auth-form .form-label{font-size:11px;margin-bottom:8px}
  .auth-card .auth-input-wrap .form-control{height:50px;font-size:14px;border-radius:12px}
  .auth-password-toggle{font-size:10px;min-height:34px}
  .auth-card .auth-submit{height:50px;font-size:13px;border-radius:12px}
  .auth-card-foot{font-size:10px;margin-top:22px;padding-top:17px}
  .topbar{height:64px;padding:0 12px;gap:8px}
  .topbar-left{gap:8px}
  .sidebar-toggle{width:38px;height:38px;border-radius:11px}
  .topbar-logo{display:none}
  .topbar-heading .breadcrumb{display:none}
  .topbar-heading h1{max-width:calc(100vw - 172px);font-size:15px;margin:0;letter-spacing:-.3px}
  .topbar-right{gap:7px}
  .top-user-trigger{min-height:40px;gap:5px;padding:3px 5px;border-radius:12px;background:#fff;border:1px solid #e7ecf4}
  .top-user-trigger .top-user-copy{display:none}
  .top-user-trigger .avatar-small{width:31px;height:31px}
  .account-caret .ui-icon{width:12px;height:12px}
  .account-menu{top:calc(100% + 9px);right:0;width:min(280px,calc(100vw - 22px));}
  .notification-button{width:36px;height:36px}
}
@media(max-width:380px){
  .auth-page{padding-left:11px;padding-right:11px}
  .auth-card{padding:22px 18px}
  .auth-mobile-brand{margin-bottom:23px}
  .auth-card h2{font-size:23px}
  .auth-card-foot{font-size:9px}
  .topbar{padding-left:9px;padding-right:9px}
  .topbar-heading h1{max-width:calc(100vw - 158px);font-size:14px}
  .topbar-right{gap:5px}
}
@media(prefers-reduced-motion:reduce){.account-menu{animation:none}.auth-card .auth-input-wrap .form-control,.top-user-trigger{transition:none}}
@media (min-width:761px) and (max-width:899px){
  .auth-page{grid-template-columns:minmax(0,1fr);padding:14px;gap:0}
  .auth-visual{min-height:300px;padding:26px 30px;border-radius:22px 22px 0 0}
  .auth-copy{margin:20px 0 6px}
  .auth-copy h1{font-size:clamp(29px,4vw,37px);letter-spacing:-1.4px;margin:15px 0 9px}
  .auth-copy p{font-size:11px;margin-bottom:8px}
  .auth-feature-list{margin-top:14px;gap:7px}
  .auth-feature{min-height:48px;padding:8px 10px}
  .auth-visual-foot{margin-top:16px}
  .auth-panel{min-height:0;padding:28px;border-left:1px solid #e5eaf3;border-top:0;border-radius:0 0 22px 22px}
}
