:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#303c35;background:#f8f8f4;font-synthesis:none;--orange:#e86c35;--ink:#303c35;--muted:#8a938d;--line:#e8ebe5;--green:#5d7764}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f3b08f;outline-offset:3px}[hidden]{display:none!important}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:228px;padding:28px 22px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;margin-bottom:51px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--orange);color:white;font-size:27px;font-weight:800;border-radius:11px;flex-shrink:0;letter-spacing:-3px}.brand-mark>span{color:#ffc1a2}.brand strong{font-size:22px;letter-spacing:2px}.brand small{display:block;margin-top:3px;font-size:8px;font-weight:700;letter-spacing:3px;color:#a5ada7}.sidebar-caption{font-size:11px;color:#919b94;letter-spacing:1px;margin:0 10px 19px}.sidebar-caption span{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;color:#b4bcb6}.nav-item{border:0;background:transparent;color:#6d7970;display:flex;align-items:center;gap:12px;width:100%;padding:15px 12px;border-radius:6px;font-weight:600;text-align:left;margin-bottom:6px}.nav-item.active{background:#fbede5;color:#da6634}.nav-icon{font-size:21px;line-height:1}.nav-arrow{margin-left:auto;opacity:.6}.side-note{margin:40px 3px 0;padding:20px 15px;background:#f5f6f1;border:1px solid #e9ede5;border-radius:7px}.side-note-icon{color:var(--green);font-size:20px;display:block;margin-bottom:10px}.side-note strong{display:block;font-size:13px}.side-note p{font-size:12px;color:#8b958d;line-height:1.9}.side-note a{font-size:11px;color:#627969}.sidebar-footer{margin-top:auto;color:#b1b8b2;font-size:9px;letter-spacing:.4px;padding:24px 8px 0}.admin-topbar{height:76px;position:relative;margin-left:228px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:12px}.topbar-eyebrow{color:#929c94}.topbar-divider{margin:0 14px;color:#c6cdc7}.account-tools{display:flex;align-items:center;gap:10px}.account-dot{height:7px;width:7px;border-radius:50%;background:#7f9b7d}.account-tools .text-button{margin-left:12px;color:#8b958e}.admin-main{margin-left:228px;max-width:1800px;padding:39px 40px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:var(--orange);margin:0 0 10px}.page-heading h1{font-size:29px;letter-spacing:-.7px;margin:0 0 10px;font-weight:650}.page-heading>div>p:last-child{color:#8b958e;font-size:12px;margin:0;line-height:1.7}.subtle-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe5dd;background:#fff;color:#68786b;border-radius:5px;font-size:12px;min-height:37px;padding:9px 14px;white-space:nowrap;gap:6px}.subtle-button:hover{background:#f6f7f3}.primary-button{border-color:var(--orange);background:var(--orange);color:#fff;font-weight:600}.primary-button:hover{background:#d95f2a}.text-button{border:0;background:transparent;font-size:12px;color:#7a897d;padding:7px 3px;white-space:nowrap}.text-button:hover{color:var(--orange)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat-card{position:relative;border:1px solid var(--line);border-radius:7px;background:#fff;padding:22px 24px}.stat-card>span{font-size:12px;color:#8b968e}.stat-card>b{display:block;font-size:32px;line-height:1.2;margin:13px 0 11px;font-weight:550;letter-spacing:-1px}.stat-card>small{font-size:10px;color:#a0aaa2}.stat-highlight{border-color:#edd9c9;background:#fffaf5}.stat-highlight>b{color:var(--orange)}.workspace-panel{background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 25px 19px;gap:20px}.panel-heading h2{font-size:17px;margin:0 0 8px;font-weight:650;display:flex;align-items:center;gap:9px}.panel-heading p{font-size:11px;color:#99a199;margin:0;line-height:1.6}.count-pill{font-size:10px;font-weight:500;line-height:1.5;padding:1px 7px;background:#f2f4ef;border-radius:8px;color:#96a091}.filters{display:flex;align-items:center;gap:10px;padding:0 25px 22px}.search-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px;gap:8px;padding:0 11px;min-width:160px;max-width:360px;flex:1;background:#fff}.search-field>span{font-size:22px;color:#adb6ae}.search-field input{border:0;outline:none!important;min-width:0;width:100%;height:37px;font-size:11px;color:var(--ink);background:transparent}.search-field:focus-within{border-color:#e1ac90}.filters select{height:39px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#758276;padding:0 29px 0 12px;font-size:11px;max-width:240px}.filters select#order-customer{min-width:150px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:860px;text-align:left}th{background:#f8f9f5;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:10px;font-weight:500;color:#919e91;letter-spacing:.1px;padding:13px 18px;white-space:nowrap}td{padding:18px;border-bottom:1px solid #edf0e9;font-size:12px;vertical-align:middle;line-height:1.6}tr:last-child td{border-bottom:0}th:first-child,td:first-child{padding-left:25px}th:last-child,td:last-child{padding-right:25px}td strong{font-weight:600;display:block}td small{display:block;color:#9ba69b;font-size:10px;line-height:1.8;margin-top:2px}.order-number{color:#536f59;font-size:12px}.amount-value{font-size:13px;font-weight:650;white-space:nowrap}.table-action{font-size:11px;color:var(--orange);background:#fff6ef;border:1px solid #f2ddce;padding:6px 10px;border-radius:4px;white-space:nowrap}.table-action:hover{background:#fce8d8}.table-action.secondary{background:transparent;border-color:#e7ebe3;color:#7d8e80}.table-state{text-align:center;padding:65px 20px!important;color:#a3ada3}.table-state.error{color:#bb5b43}.table-state p{margin:0 0 12px}.table-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.align-right{text-align:right}.status{display:inline-flex;padding:4px 9px;border-radius:4px;font-size:10px;white-space:nowrap;line-height:1.5}.status-submitted{background:#fff1e5;color:#c78242}.status-packing{background:#edf3f6;color:#63839a}.status-completed,.status-active{background:#edf4eb;color:#71916d}.status-cancelled,.status-disabled{background:#f2f3f0;color:#9ba297}.missing-tag{font-size:9px;color:#c88b56}.admin-footer{display:flex;justify-content:space-between;align-items:center;padding:30px 0;font-size:10px;color:#b0b9ae}.admin-footer strong{font-size:12px;color:#9da99d;font-weight:500}.admin-footer strong>span{font-size:7px;margin-left:8px;letter-spacing:1px}dialog{border:1px solid #e6ebe1;border-radius:9px;color:var(--ink);padding:0;box-shadow:0 25px 80px #2237242b;max-height:90vh}dialog::backdrop{background:#293b2f60;backdrop-filter:blur(2px)}.order-dialog{width:min(1050px,94vw)}.customer-dialog{width:min(470px,94vw)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:23px 27px}.dialog-top h2{font-size:22px;font-weight:600;margin:0}.dialog-top .eyebrow{font-size:8px;margin-bottom:7px}.close-button{width:32px;height:32px;border:0;background:#f4f6f1;color:#879585;font-size:22px;border-radius:50%;flex-shrink:0}.dialog-content{padding:23px 27px}.dialog-loading{text-align:center;color:#8c9a8b;padding:70px 20px}.detail-metadata{display:flex;justify-content:space-between;gap:18px;margin-bottom:20px}.detail-metadata h3{font-size:18px;margin:0 0 4px}.detail-metadata p{font-size:12px;color:#9ba69a;margin:4px 0;line-height:1.7}.detail-number{text-align:right;font-size:12px;color:#71836e;white-space:nowrap}.detail-number small{display:block;font-size:10px;color:#9ca798;margin-top:6px}.detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:5px;margin-bottom:18px;background:#fafbf7}.detail-summary>div{padding:17px;border-right:1px solid var(--line);min-width:0}.detail-summary>div:last-child{border-right:0}.detail-summary span{font-size:10px;color:#9ca793;display:block;margin-bottom:8px}.detail-summary b{font-weight:550;font-size:20px;white-space:nowrap}.detail-summary small{display:block;color:#c58d5c;font-size:9px;margin-top:5px}.detail-note{padding:12px 15px;background:#faf8f2;border:1px solid #eee9db;border-radius:4px;font-size:12px;color:#8a8d78;line-height:1.8;margin-bottom:18px;white-space:pre-wrap;overflow-wrap:anywhere}.detail-table{border:1px solid var(--line);border-radius:5px}.detail-table table{min-width:820px}.detail-table th,.detail-table td{padding:11px 12px}.detail-table td{font-size:11px}.detail-table td small{font-size:9px;max-width:240px;overflow-wrap:anywhere}.detail-table th{border-top:0}.detail-update{display:grid;grid-template-columns:160px 1fr;gap:14px;margin-top:22px}.detail-update label,.form-stack>label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#7c8b79}.detail-update select,.detail-update textarea,.form-stack input{border:1px solid #dde5d8;background:white;color:#51654e;padding:10px;border-radius:4px;width:100%;font-size:12px}.detail-update textarea{resize:vertical;min-height:82px;max-height:220px}.detail-update select{height:39px}.detail-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:19px;padding-top:18px;border-top:1px solid var(--line)}.detail-actions>span{font-size:10px;color:#a7afa1}.detail-actions>div{display:flex;gap:9px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:17px 27px 23px;border-top:1px solid var(--line)}.form-stack{display:flex;flex-direction:column;gap:20px}.form-stack small{color:#a0a995;font-size:10px;line-height:1.7}.password-row{display:flex;gap:8px}.password-row input{min-width:0}.password-row .subtle-button{font-size:11px;min-height:36px}.inline-error{font-size:12px;line-height:1.7;color:#bd6547;border:1px solid #f0dacb;background:#fff5ed;padding:10px 13px;border-radius:4px;margin:0 0 17px}.form-stack .inline-error{margin:0}.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);max-width:min(90vw,600px);padding:13px 20px;color:#fff;background:#3d5141;border-radius:7px;box-shadow:0 8px 25px #27392729;z-index:100;font-size:12px;text-align:center;line-height:1.8}.access-screen{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:30px;background:#f8f8f4}.access-card{max-width:420px;text-align:center;border:1px solid var(--line);background:#fff;padding:40px 38px;border-radius:10px}.access-card>.brand-mark{margin-bottom:15px}.access-card h1{font-size:22px;margin:4px 0 15px}.access-card p{color:#8f9b8c;line-height:1.8;font-size:13px;margin:10px 0 23px}.access-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.truncate{max-width:250px;overflow-wrap:anywhere}
@media(min-width:1500px){.admin-main{padding-left:50px;padding-right:50px}.admin-topbar{padding-left:50px;padding-right:50px}.stat-card{padding:24px 28px}}
@media(max-width:1100px){.admin-sidebar{width:190px;padding:26px 15px}.admin-topbar{margin-left:190px;padding:0 25px}.admin-main{margin-left:190px;padding:30px 25px 0}.brand{gap:9px}.brand strong{font-size:20px}.stats-grid{gap:12px}.stat-card{padding:18px}.filters{flex-wrap:wrap}.search-field{max-width:none}.filters select#order-customer{min-width:130px}.filters select{max-width:200px}}
@media(max-width:760px){.admin-sidebar{position:static;width:auto;flex-direction:row;align-items:center;gap:20px;padding:14px 20px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0}.brand-mark{width:35px;height:35px;font-size:23px;border-radius:8px}.brand strong{font-size:17px}.brand small{font-size:6px;letter-spacing:1.7px}.sidebar-caption,.side-note,.sidebar-footer{display:none}.admin-sidebar nav{margin-left:auto;display:flex;gap:6px}.nav-item{width:auto;gap:5px;padding:10px 9px;font-size:12px;margin:0}.nav-icon,.nav-arrow{display:none}.admin-topbar{margin-left:0;height:55px;padding:0 20px}.account-tools{font-size:11px;gap:6px}.account-tools .text-button{margin-left:3px}.admin-main{margin-left:0;padding:27px 20px 0}.page-heading{margin-bottom:23px;align-items:flex-start;gap:15px}.page-heading h1{font-size:23px}.page-heading>.subtle-button{font-size:10px;padding:7px 9px;min-height:33px;margin-top:20px}.eyebrow{font-size:8px;letter-spacing:1.3px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.stat-card{padding:17px}.stat-card>b{font-size:28px;margin:10px 0}.stat-card>span{font-size:11px}.stat-card>small{font-size:9px}.panel-heading{padding:20px 17px 17px;gap:12px}.panel-heading h2{font-size:16px}.panel-heading p{font-size:10px}.panel-heading .subtle-button,.panel-heading .primary-button{font-size:10px;padding:8px 10px;min-height:33px}.filters{padding:0 17px 18px;gap:8px}.search-field{flex-basis:100%;max-width:none}.filters select{flex:1;max-width:none;min-width:100px}.filters select#order-customer{min-width:130px}.filters .text-button{font-size:11px}.admin-footer{font-size:9px;padding:25px 0}.dialog-top,.dialog-content{padding:20px}.dialog-top h2{font-size:19px}.detail-metadata{flex-direction:column;gap:10px}.detail-number{text-align:left}.detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-summary>div:nth-child(2){border-right:0}.detail-summary>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.detail-summary b{font-size:19px}.detail-update{grid-template-columns:1fr}.detail-actions{align-items:flex-start;flex-direction:column}.detail-actions>div{width:100%}.detail-actions>div>*{flex:1}.dialog-actions{padding:17px 20px 20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
