:root{--bg:#f3f5f8;--surface:#fff;--surface-subtle:#f8f9fb;--surface-blue:#f3f7ff;--ink:#172033;--ink-soft:#536078;--ink-muted:#8993a5;--line:#e4e8ef;--line-strong:#d6dce6;--primary:#2864dc;--primary-dark:#1f4fb4;--primary-soft:#eaf1ff;--danger:#cf3d4f;--danger-dark:#aa2839;--danger-soft:#fff0f2;--success:#23845c;--success-soft:#eaf8f1;--warning:#a66a12;--warning-soft:#fff5df;--violet:#7455c6;--shadow-sm:0 1px 2px #1720330a, 0 4px 14px #17203309;--shadow-md:0 16px 48px #1720331f;--radius-sm:9px;--radius:14px;--radius-lg:20px;--content:1240px}*{box-sizing:border-box}html{background:var(--bg);color:var(--ink);font-synthesis:none;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:radial-gradient(circle at 90% -10%, #2864dc12, transparent 26rem), var(--bg);min-width:320px;min-height:100vh;color:var(--ink);-webkit-font-smoothing:antialiased;margin:0}button,input,select,textarea{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}:focus-visible{outline-offset:2px;outline:3px solid #2864dc38}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.eyebrow{color:var(--primary);letter-spacing:.11em;text-transform:uppercase;margin-bottom:8px;font-size:11px;font-weight:750;display:inline-block}.eyebrow.light{color:#a9c6ff}.brand{align-items:center;gap:11px;display:inline-flex}.brand-mark{background:var(--primary);border-radius:11px;place-items:center;width:35px;height:35px;display:grid;position:relative;overflow:hidden;box-shadow:0 7px 20px #2864dc3d}.brand-mark:before,.brand-mark span{content:"";border:2px solid #fff;border-top:0;border-radius:1px 1px 4px 4px;width:15px;height:6px;position:absolute}.brand-mark:before{top:12px}.brand-mark span:first-child{border-width:1.5px;width:10px;height:2px;top:20px}.brand-mark span:last-child{border:0;border-bottom:2px solid #fff;width:7px;height:6px;top:7px;transform:rotate(28deg)}.brand-copy{flex-direction:column;line-height:1.05;display:flex}.brand-copy strong{letter-spacing:-.015em;font-size:15px}.brand-copy small{color:var(--ink-muted);letter-spacing:.08em;text-transform:uppercase;margin-top:4px;font-size:10px;font-weight:650}.button{border-radius:var(--radius-sm);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 15px;font-size:13px;font-weight:680;line-height:1;transition:background .16s,border .16s,color .16s,transform .16s,box-shadow .16s;display:inline-flex}.button:not(:disabled):active{transform:translateY(1px)}.button-primary{background:var(--primary);color:#fff;box-shadow:0 5px 16px #2864dc2e}.button-primary:not(:disabled):hover{background:var(--primary-dark);box-shadow:0 8px 22px #2864dc3d}.button-secondary{border-color:var(--line-strong);background:var(--surface);color:var(--ink)}.button-secondary:not(:disabled):hover{background:var(--surface-subtle);border-color:#b8c1d0}.button-ghost{color:var(--ink-soft);background:0 0}.button-ghost:hover{color:var(--ink);background:#e9edf3}.button-danger{background:var(--danger);color:#fff;box-shadow:0 5px 16px #cf3d4f2b}.button-danger:not(:disabled):hover{background:var(--danger-dark)}.button-large{border-radius:11px;min-height:50px;padding:0 20px;font-size:14px}.button-small{min-height:34px;padding:0 12px;font-size:12px}.button-full{width:100%}.icon-button{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--ink-soft);border-radius:10px;flex:none;place-items:center;transition:all .15s;display:inline-grid}.icon-button:hover{border-color:var(--line-strong);background:var(--surface-subtle);color:var(--ink)}.field{flex-direction:column;gap:8px;display:flex}.field>span:not(.password-field){color:var(--ink-soft);font-size:12px;font-weight:650}.field input,.field select,.field textarea,.filter-bar input,.filter-bar select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;color:var(--ink);outline:0;transition:border .15s,box-shadow .15s,background .15s}.field input,.field select{min-height:45px;padding:0 13px}.field textarea{resize:vertical;min-height:88px;padding:11px 13px}.field input:focus,.field select:focus,.field textarea:focus,.filter-bar input:focus,.filter-bar select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2864dc1a}.field input::placeholder,.field textarea::placeholder,.filter-bar input::placeholder{color:#a6adba}.field input:disabled,.field select:disabled,.filter-bar input:disabled,.filter-bar select:disabled{color:var(--ink-muted);background:#f1f3f6}.password-field{display:block;position:relative}.password-field input{padding-right:46px}.password-field button{width:37px;height:37px;color:var(--ink-muted);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:4px;right:5px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-page{background:var(--surface);grid-template-columns:minmax(400px,.92fr) minmax(480px,1.08fr);min-height:100vh;display:grid}.login-brand-panel{color:#fff;background:radial-gradient(circle at 15% 80%,#6095ff45,#0000 28rem),linear-gradient(145deg,#14213c 0%,#102b5c 58%,#1746a0 100%);flex-direction:column;min-height:100vh;padding:clamp(32px,5vw,74px);display:flex;position:relative;overflow:hidden}.login-brand-panel:before,.login-brand-panel:after{content:"";border:1px solid #ffffff14;border-radius:50%;position:absolute}.login-brand-panel:before{width:620px;height:620px;bottom:-160px;right:-260px}.login-brand-panel:after{width:310px;height:310px;bottom:15px;right:-85px}.login-brand-panel .brand-mark{background:#fff;box-shadow:0 10px 30px #0000002e}.login-brand-panel .brand-mark:before,.login-brand-panel .brand-mark span:first-child{border-color:var(--primary)}.login-brand-panel .brand-mark span:last-child{border-bottom-color:var(--primary)}.login-brand-panel .brand-copy small{color:#9db7e5}.login-hero-copy{z-index:1;max-width:560px;margin:auto 0 58px;position:relative}.login-hero-copy h2{letter-spacing:-.05em;margin:0;font-size:clamp(36px,4.7vw,64px);font-weight:680;line-height:1.02}.login-hero-copy p{color:#bdccec;max-width:480px;margin:24px 0 0;font-size:17px;line-height:1.6}.login-feature-list{z-index:1;flex-wrap:wrap;gap:13px 24px;margin-bottom:28px;display:flex;position:relative}.login-feature-list span{color:#d3def2;align-items:center;gap:8px;font-size:12px;font-weight:600;display:inline-flex}.login-feature-list svg{color:#8eb5ff}.login-brand-panel>small{color:#8099c6;font-size:11px}.login-form-panel{background:radial-gradient(circle at 80% 10%, #2864dc0d, transparent 25rem), var(--surface);place-items:center;min-height:100vh;padding:40px;display:grid}.login-form{flex-direction:column;gap:21px;width:min(100%,410px);display:flex}.login-form-heading{margin-bottom:12px}.login-form-heading h1{letter-spacing:-.035em;margin:0;font-size:30px;font-weight:700}.login-form-heading p{color:var(--ink-soft);margin:11px 0 0;font-size:14px;line-height:1.55}.login-form .button-large{width:100%;margin-top:5px}.login-form .button-large svg:last-child{margin-left:auto}.form-error{border-radius:var(--radius-sm);background:var(--danger-soft);color:var(--danger-dark);border:1px solid #f2c5cb;padding:11px 13px;font-size:12px;line-height:1.45}.app-shell{min-height:100vh}.topbar{z-index:40;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe6;border-bottom:1px solid #dce1eae0;position:sticky;top:0}.topbar-inner{width:min(calc(100% - 48px), var(--content));grid-template-columns:190px 1fr auto;align-items:center;height:68px;margin:0 auto;display:grid}.brand-link{width:max-content;display:inline-flex}.main-nav{align-self:stretch}.main-nav a{height:100%;color:var(--ink-soft);align-items:center;gap:8px;padding:0 18px;font-size:13px;font-weight:650;display:inline-flex;position:relative}.main-nav a:after{content:"";background:0 0;border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:18px;right:18px}.main-nav a.active{color:var(--primary)}.main-nav a.active:after{background:var(--primary)}.topbar-meta{align-items:center;gap:9px;display:flex}.mode-badge,.user-chip{border:1px solid var(--line);background:var(--surface-subtle);height:34px;color:var(--ink-soft);border-radius:999px;align-items:center;gap:7px;padding:0 11px;font-size:11px;font-weight:650;display:inline-flex}.mode-badge>span{background:var(--success);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #23845c1f}.mode-badge.mock>span{background:var(--warning);box-shadow:0 0 0 3px #a66a121f}.app-main{width:min(calc(100% - 48px), var(--content));min-height:calc(100vh - 125px);margin:0 auto;padding:35px 0 52px}.app-footer{width:min(calc(100% - 48px), var(--content));border-top:1px solid var(--line);color:var(--ink-muted);letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;align-items:center;margin:0 auto;padding:18px 0 24px;font-size:10px;font-weight:600;display:flex}.page-stack{flex-direction:column;gap:25px;display:flex}.page-heading,.order-heading{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.page-heading h1,.order-heading h1{letter-spacing:-.045em;margin:0;font-size:clamp(30px,3vw,40px);font-weight:710}.page-heading p,.order-heading p{color:var(--ink-soft);margin:9px 0 0;font-size:13px}.stat-grid{grid-template-columns:repeat(4,1fr);gap:13px;display:grid}.stat-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:94px;box-shadow:var(--shadow-sm);grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:17px;display:grid}.stat-card>small{color:var(--ink-muted);letter-spacing:.05em;text-transform:uppercase;grid-column:2;font-size:9px;font-weight:650}.stat-card>div{align-items:baseline;gap:8px;display:flex}.stat-card strong{letter-spacing:-.04em;font-size:25px}.stat-card div span{color:var(--ink-soft);font-size:11px;line-height:1.25}.stat-icon{border-radius:11px;place-items:center;width:39px;height:39px;display:grid}.stat-icon svg{width:19px}.stat-blue{background:var(--primary-soft);color:var(--primary)}.stat-violet{color:var(--violet);background:#f1edff}.stat-amber{background:var(--warning-soft);color:var(--warning)}.stat-green{background:var(--success-soft);color:var(--success)}.orders-panel,.detail-card,.side-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.filter-bar{border-bottom:1px solid var(--line);grid-template-columns:minmax(170px,1.4fr) minmax(150px,.9fr) minmax(145px,.9fr) minmax(145px,.9fr) auto auto;align-items:center;gap:9px;padding:14px;display:grid}.filter-search,.filter-control{align-items:center;height:40px;display:flex;position:relative}.filter-search>svg,.filter-control>svg{z-index:1;color:var(--ink-muted);pointer-events:none;position:absolute;left:12px}.filter-search input,.filter-control select{height:40px;padding:0 11px 0 38px}.filter-control select{appearance:none;cursor:pointer}.date-control{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface)}.date-control>span{color:var(--ink-muted);margin-left:34px;font-size:11px}.date-control input{border:0;min-width:0;height:38px;padding:0 5px;font-size:11px}.date-control:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #2864dc1a}.filter-submit{min-height:40px}.table-heading{justify-content:space-between;align-items:center;padding:18px 20px 11px;display:flex}.table-heading>div{align-items:baseline;gap:10px;display:flex}.table-heading h2{letter-spacing:-.015em;margin:0;font-size:16px}.table-heading span{color:var(--ink-muted);font-size:10px}.table-note{letter-spacing:.03em;text-transform:uppercase}.orders-table-wrap{overflow-x:auto}.orders-table{border-collapse:collapse;table-layout:fixed;width:100%}.orders-table th{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface-subtle);color:var(--ink-muted);letter-spacing:.065em;text-align:left;text-transform:uppercase;padding:11px 15px;font-size:9px;font-weight:720}.orders-table th:first-child,.orders-table td:first-child{width:16%;padding-left:20px}.orders-table th:nth-child(2){width:18%}.orders-table th:nth-child(3){width:22%}.orders-table th:nth-child(4){width:14%}.orders-table th:nth-child(5){width:25%}.orders-table th:last-child,.orders-table td:last-child{width:44px;padding-right:15px}.orders-table td{border-bottom:1px solid var(--line);height:76px;color:var(--ink-soft);vertical-align:middle;padding:12px 15px;font-size:12px}.orders-table tbody tr{transition:background .14s}.orders-table tbody tr:hover{background:#fafbfc}.orders-table tbody tr:last-child td{border-bottom:0}.orders-table td>small,.orders-table td>span+small,.orders-table td>a+small{max-width:230px;color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:10px;display:block;overflow:hidden}.date-cell{color:var(--ink-soft);white-space:nowrap;font-size:11px}.order-number{color:var(--ink);font-size:13px;font-weight:720}.order-number:hover{color:var(--primary)}.orders-table td>strong{color:var(--ink);white-space:nowrap;font-size:12px}.row-link{width:31px;height:31px;color:var(--ink-muted);border-radius:8px;place-items:center;display:grid}.row-link:hover{background:var(--primary-soft);color:var(--primary)}.status-badge{color:var(--ink-soft);align-items:center;gap:8px;font-size:11px;font-weight:670;line-height:1.2;display:inline-flex}.status-dot{width:8px;height:8px;box-shadow:0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);background:currentColor;border-radius:50%;flex:none}.status-badge small{color:var(--ink-muted);margin-top:3px;font-size:9px;font-weight:540;display:block}.status-processing{color:var(--primary)}.status-delivery{color:var(--warning)}.status-pickup{color:var(--violet)}.status-delivered{color:var(--success)}.status-cancelled{color:var(--danger)}.load-more{border-top:1px solid var(--line);min-height:61px;color:var(--ink-muted);justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.table-skeleton{padding:0 20px 16px}.table-skeleton span{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#0000,#e6eaf1b8,#0000) 0 0/240px 100%;height:58px;animation:1.3s linear infinite shimmer;display:block}@keyframes shimmer{0%{background-position:-240px 0}to{background-position:calc(100% + 240px) 0}}.empty-state{min-height:330px;color:var(--ink-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:35px;display:flex}.empty-state h3,.empty-state h1{color:var(--ink);margin:14px 0 0;font-size:18px}.empty-state p{max-width:440px;margin:8px 0 18px;font-size:12px;line-height:1.55}.error-state>svg{color:var(--danger)}.standalone-error{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.order-page{gap:20px}.order-topline{justify-content:space-between;align-items:center;display:flex}.back-link{color:var(--ink-soft);align-items:center;gap:7px;font-size:12px;font-weight:640;display:inline-flex}.back-link:hover{color:var(--primary)}.order-heading{align-items:flex-start;padding:5px 0 2px}.order-title-row{align-items:center;gap:18px;display:flex}.order-title-row .status-badge{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:8px 11px}.order-total{flex-direction:column;align-items:flex-end;min-width:180px;display:flex}.order-total>span,.order-total small{color:var(--ink-muted);letter-spacing:.05em;text-transform:uppercase;font-size:10px;font-weight:650}.order-total strong{letter-spacing:-.04em;margin:5px 0;font-size:27px}.order-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:17px;display:grid}.order-content,.order-sidebar{flex-direction:column;gap:15px;min-width:0;display:flex}.order-sidebar{position:sticky;top:88px}.summary-grid{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.summary-item{border:1px solid var(--line);background:#ffffffb8;border-radius:12px;align-items:center;gap:10px;min-width:0;min-height:72px;padding:13px;display:flex}.summary-item>span{background:var(--surface-blue);width:33px;height:33px;color:var(--primary);border-radius:9px;flex:none;place-items:center;display:grid}.summary-item svg{width:17px}.summary-item div{min-width:0}.summary-item small{color:var(--ink-muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:650;display:block}.summary-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.detail-card-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:69px;padding:13px 17px;display:flex}.detail-card-header>div{align-items:center;gap:10px;display:flex}.section-icon{background:var(--primary-soft);width:36px;height:36px;color:var(--primary);border-radius:10px;place-items:center;display:grid}.detail-card-header h2,.side-card h2{letter-spacing:-.01em;margin:0;font-size:13px}.detail-card-header p,.side-card header p{color:var(--ink-muted);margin:4px 0 0;font-size:9px}.items-list{padding:0 17px}.order-item{border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) 65px 112px;align-items:center;gap:12px;min-height:78px;padding:11px 0;display:grid}.product-thumb{border:1px solid var(--line);color:#8a97aa;background:linear-gradient(145deg,#f7f9fc,#edf1f6);border-radius:10px;place-items:center;width:46px;height:46px;display:grid}.product-main{min-width:0}.product-main h3{text-overflow:ellipsis;white-space:nowrap;margin:0 0 6px;font-size:12px;font-weight:680;overflow:hidden}.product-main span,.product-price small{color:var(--ink-muted);font-size:9px;display:block}.product-quantity{color:var(--ink-soft);text-align:center;font-size:10px}.product-quantity span{color:var(--ink);font-size:12px;font-weight:700}.product-price{text-align:right}.product-price strong{margin-bottom:5px;font-size:12px;display:block}.items-total{background:var(--surface-subtle);flex-direction:column;gap:8px;padding:14px 17px 16px;display:flex}.items-total>div{color:var(--ink-soft);justify-content:flex-end;align-items:center;gap:45px;font-size:10px;display:flex}.items-total>div span{min-width:70px}.items-total>div strong{min-width:95px;color:var(--ink);text-align:right;font-size:11px}.items-total .grand-total{border-top:1px solid var(--line);padding-top:8px}.items-total .grand-total strong{font-size:15px}.detail-columns{grid-template-columns:1fr 1fr;gap:15px;display:grid}.info-list{margin:0;padding:7px 17px 13px}.info-list>div{border-bottom:1px solid var(--line);grid-template-columns:125px 1fr;gap:12px;padding:10px 0;display:grid}.info-list>div:last-child{border-bottom:0}.info-list dt{color:var(--ink-muted);align-items:center;gap:7px;font-size:9px;display:flex}.info-list dd{color:var(--ink);margin:0;font-size:10px;font-weight:590;line-height:1.45}.order-note{color:var(--warning);background:#fffbef;border:1px solid #e7dcb8;border-radius:12px;align-items:flex-start;gap:11px;padding:14px 16px;display:flex}.order-note strong{color:#76521d;font-size:10px}.order-note p{color:#876d43;margin:4px 0 0;font-size:10px;line-height:1.45}.side-card{padding:15px}.side-card header{align-items:flex-start;gap:9px;margin-bottom:14px;display:flex}.side-card header>svg{color:var(--primary)}.compact-field input{min-height:40px;font-size:12px}.side-card .button-full{min-height:38px;margin-top:9px;font-size:11px}.side-hint,.refund-card>p{color:var(--ink-muted);margin:10px 0 0;font-size:9px;line-height:1.45}.next-actions{flex-direction:column;gap:8px;display:flex}.primary-action,.secondary-action,.danger-action{text-align:left;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;gap:9px;width:100%;min-height:52px;padding:9px 11px;display:flex}.primary-action{background:var(--primary);color:#fff;box-shadow:0 7px 18px #2864dc2e}.primary-action:hover{background:var(--primary-dark)}.secondary-action{border-color:var(--line);background:var(--surface-subtle);color:var(--ink)}.primary-action span,.secondary-action span{font-size:11px;font-weight:680}.primary-action small,.secondary-action small{color:#ffffffb3;margin-top:4px;font-size:8px;font-weight:500;display:block}.secondary-action small{color:var(--ink-muted)}.refund-card{background:linear-gradient(145deg,#fff,#f5fcf8);border-color:#cce7d9}.refund-card header>svg{color:var(--success)}.danger-card{background:linear-gradient(145deg,#fff,#fff9fa);border-color:#f1d5d9}.danger-card header>svg{color:var(--danger)}.danger-action{background:var(--danger-soft);min-height:38px;color:var(--danger-dark);border-color:#f0cbd1;justify-content:flex-start;font-size:10px;font-weight:660}.danger-action+.danger-action{margin-top:7px}.danger-action.subtle{border-color:var(--line);background:var(--surface);color:var(--ink-soft)}.dialog-open{overflow:hidden}.dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1018287a;place-items:center;padding:20px;animation:.13s ease-out fade-in;display:grid;position:fixed;inset:0}.dialog{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(100%,555px);max-height:min(90vh,760px);box-shadow:var(--shadow-md);animation:.18s ease-out dialog-in;overflow-y:auto}@keyframes fade-in{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px)scale(.985)}}.dialog-header{justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 22px 15px;display:flex}.dialog-header h2{letter-spacing:-.025em;margin:0;font-size:20px}.dialog-header p{color:var(--ink-soft);margin:7px 0 0;font-size:11px;line-height:1.5}.dialog-danger .eyebrow{color:var(--danger)}.dialog-body{flex-direction:column;gap:15px;padding:6px 22px 22px;display:flex}.dialog-footer{border-top:1px solid var(--line);background:var(--surface-subtle);justify-content:flex-end;gap:9px;padding:15px 22px;display:flex}.confirm-summary{border:1px solid var(--line);background:var(--surface-subtle);border-radius:11px;align-items:center;gap:12px;padding:13px;font-size:10px;display:flex}.confirm-summary>span:first-child,.confirm-summary>svg{color:var(--ink-muted)}.warning-box{background:var(--danger-soft);color:var(--danger-dark);border:1px solid #f0cbd1;border-radius:10px;align-items:flex-start;gap:9px;padding:11px 12px;display:flex}.warning-box svg{flex:none}.warning-box p{margin:0;font-size:10px;line-height:1.5}.editable-items{border:1px solid var(--line);border-radius:11px;overflow:hidden}.editable-item{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:67px;padding:11px 13px;display:flex}.editable-item:last-child{border-bottom:0}.editable-item>div{min-width:0}.editable-item strong,.editable-item>div span{display:block}.editable-item strong{text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px;font-size:11px;overflow:hidden}.editable-item>div span{color:var(--ink-muted);font-size:9px}.editable-item label{color:var(--ink-muted);flex:none;align-items:center;gap:7px;font-size:9px;display:flex}.editable-item input{border:1px solid var(--line-strong);text-align:center;border-radius:8px;width:57px;height:35px;padding:0 5px}.check-field{border:1px solid var(--line);cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:12px;display:flex}.check-field input{width:17px;height:17px;accent-color:var(--primary)}.check-field strong,.check-field small{display:block}.check-field strong{font-size:10px}.check-field small{color:var(--ink-muted);margin-top:4px;font-size:9px}.toast{z-index:120;border:1px solid var(--line);background:var(--surface);width:min(100% - 40px,390px);min-height:55px;box-shadow:var(--shadow-md);color:var(--ink);border-radius:13px;align-items:center;gap:10px;padding:11px 12px;font-size:11px;font-weight:630;animation:.18s ease-out dialog-in;display:flex;position:fixed;bottom:22px;right:22px}.toast-success>svg{color:var(--success)}.toast-error>svg{color:var(--danger)}.toast span{flex:1;line-height:1.4}.toast button{width:28px;height:28px;color:var(--ink-muted);background:0 0;border:0;place-items:center;display:grid}.order-detail-skeleton{flex-direction:column;gap:18px;display:flex}.order-detail-skeleton>span,.skeleton-columns span,.skeleton-card{background:linear-gradient(90deg,#e9edf3,#f5f7fa,#e9edf3) 0 0/220% 100%;border-radius:12px;animation:1.2s linear infinite skeleton-wave;display:block}@keyframes skeleton-wave{to{background-position:-220% 0}}.skeleton-back{width:100px;height:18px}.skeleton-title{width:340px;height:52px}.skeleton-columns{grid-template-columns:1fr 300px;gap:17px;display:grid}.skeleton-columns span{height:95px}.skeleton-card{height:330px}.skeleton-card.short{width:calc(100% - 317px);height:180px}.not-found-page{min-height:100vh;color:var(--ink-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.not-found-page h1{color:var(--ink);letter-spacing:-.04em;margin:4px 0 0;font-size:34px}.not-found-page p{margin:11px 0 22px;font-size:13px}@media (max-width:1050px){.stat-grid{grid-template-columns:repeat(2,1fr)}.filter-bar{grid-template-columns:1fr 1fr 1fr}.filter-search{grid-column:span 1}.filter-submit{grid-column:auto}.order-layout{grid-template-columns:minmax(0,1fr) 280px}.summary-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:820px){.login-page{grid-template-columns:1fr}.login-brand-panel{display:none}.login-form-panel{min-height:100vh;padding:28px}.topbar-inner{grid-template-columns:auto 1fr auto}.main-nav,.mode-badge,.user-chip{display:none}.order-layout{grid-template-columns:1fr}.order-sidebar{grid-template-columns:1fr 1fr;display:grid;position:static}.detail-columns{grid-template-columns:1fr}.orders-table th:nth-child(3),.orders-table td:nth-child(3){display:none}.orders-table th:first-child{width:20%}.orders-table th:nth-child(2){width:22%}.orders-table th:nth-child(4){width:18%}.orders-table th:nth-child(5){width:31%}}@media (max-width:620px){.app-main,.topbar-inner,.app-footer{width:min(calc(100% - 28px), var(--content))}.app-main{padding-top:25px}.brand-copy{display:none}.topbar-inner{height:60px}.page-heading,.order-heading{align-items:flex-start}.page-heading p{max-width:260px}.stat-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{min-height:84px;padding:12px}.stat-card div{flex-direction:column;gap:2px}.stat-card>small{display:none}.filter-bar{grid-template-columns:1fr 1fr}.filter-search,.filter-submit{grid-column:1/-1}.filter-bar>.icon-button{margin:8px;position:absolute;right:0}.table-heading{padding:16px 14px 10px}.table-note,.orders-table thead{display:none}.orders-table,.orders-table tbody,.orders-table tr,.orders-table td{display:block;width:100%!important}.orders-table tr{border-top:1px solid var(--line);padding:15px 47px 15px 14px;position:relative}.orders-table td{text-align:right;border:0;justify-content:space-between;align-items:center;height:auto;min-height:29px;padding:3px 0!important;display:flex!important}.orders-table td:before{content:attr(data-label);color:var(--ink-muted);text-transform:uppercase;margin-right:14px;font-size:9px;font-weight:650}.orders-table td:last-child{position:absolute;top:50%;right:9px;transform:translateY(-50%);width:32px!important;display:block!important}.orders-table td:last-child:before,.orders-table td>small,.orders-table td>span+small,.orders-table td>a+small{display:none}.orders-table td:nth-child(3){display:none!important}.status-badge{text-align:left}.summary-grid{grid-template-columns:1fr 1fr}.order-title-row{flex-direction:column;align-items:flex-start;gap:9px}.order-heading p{max-width:230px;line-height:1.5}.order-total{min-width:120px}.order-total strong{font-size:20px}.order-sidebar{display:flex}.order-item{grid-template-columns:42px minmax(0,1fr) 75px}.product-quantity{display:none}.product-price{grid-column:3}.info-list>div{grid-template-columns:110px 1fr}.dialog-backdrop{align-items:end;padding:0}.dialog{border-radius:20px 20px 0 0;width:100%;max-height:92vh}.confirm-summary{flex-wrap:wrap}.app-footer{flex-direction:column;align-items:flex-start;gap:7px}}@media (max-width:410px){.page-heading .button{width:40px;padding:0;font-size:0}.stat-card{grid-template-columns:auto 1fr}.stat-icon{width:34px;height:34px}.date-control{grid-column:span 1}.date-control>svg{display:none}.date-control>span{margin-left:8px}.summary-grid{grid-template-columns:1fr}.order-heading{flex-direction:column}.order-total{align-items:flex-start}.dialog-footer{flex-direction:column-reverse}.dialog-footer .button{width:100%}.editable-item{flex-direction:column;align-items:flex-start}.editable-item label{justify-content:space-between;width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
