@charset "UTF-8";
:root{--navy:#162c45;--blue:#1665b5;--blue-soft:#edf5fd;--ink:#203248;--muted:#77828f;--line:#e5e9ed;--paper:#fff;--bg:#f5f7f9;--green:#268269;--orange:#ad712b;--red:#b44545;--radius:10px;font-family:"Segoe UI","Microsoft YaHei UI","PingFang SC",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a6cbef;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1{font-size:28px;letter-spacing:-.7px;font-weight:650;line-height:1.5}h2{font-size:17px;font-weight:650}h3{font-size:18px;line-height:1.5}h4{font-size:14px;margin:22px 0 14px}p{line-height:1.7}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;color:#8191a2;margin-bottom:6px}.numeric{font-variant-numeric:tabular-nums}.right{text-align:right}.danger,.late{color:var(--red)!important}.full{width:100%}
.button{border:1px solid #d8e0e7;border-radius:7px;background:white;color:#40536a;padding:10px 16px;min-height:40px;display:inline-flex;justify-content:center;align-items:center;gap:7px;white-space:nowrap;font-weight:550;transition:background .15s,box-shadow .15s}.button:hover{background:#f4f7fa;border-color:#becbd8}.button.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 2px 3px #175a9b12}.button.primary:hover{background:#125796}.small-button{font-size:12px;padding:6px 12px;min-height:32px}.text-button{border:0;background:none;color:var(--blue);padding:5px 4px;font-size:12px;min-height:32px;white-space:nowrap}.text-button:hover{text-decoration:underline}.icon-button{border:0;border-radius:6px;background:#f1f4f7;color:var(--muted);font-size:23px;width:32px;height:32px}.inline-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}.brand-mark{width:54px;height:54px;display:inline-grid;place-items:center;background:var(--blue);color:white;border-radius:13px;font-size:29px;font-family:"Microsoft YaHei UI",sans-serif;font-weight:700}.brand-mark.small{width:36px;height:36px;border-radius:9px;font-size:21px;flex:none}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:600}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#90a3b8;margin-top:4px;font-weight:400}
.workspace{display:grid;grid-template-columns:206px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#f4f7fa;padding:32px 18px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar .brand{padding:0 10px}.sidebar .brand-mark{background:#345474}.sidebar nav{margin-top:46px;display:grid;gap:7px}.nav-item{color:#acbed1;background:none;border:0;border-radius:7px;text-align:left;padding:13px 16px;display:flex;align-items:center;gap:12px}.nav-item span{font-size:18px;line-height:1}.nav-item.active{background:#2b4967;color:#fff}.nav-item:hover{background:#25415d;color:#fff}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff17;padding:20px 4px 0;display:flex;align-items:center;gap:9px;font-size:12px}.sidebar-bottom small{display:block;color:#91a4b9;font-size:10px;margin-top:4px}.avatar{display:grid;place-items:center;background:#34506a;border-radius:50%;width:31px;height:31px;flex:none}.logout{margin-left:auto;background:none;border:0;color:#a2b3c6;font-size:21px;padding:6px}#main{min-width:0;padding:36px 34px 48px;max-width:1900px;width:100%;margin:0 auto}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.page-head .muted{font-size:13px;margin-top:7px}.head-actions{display:flex;gap:9px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}.stats.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{background:white;border:1px solid var(--line);padding:19px 22px;border-radius:var(--radius)}.stat p{font-size:12px;color:#5b6a7a;display:flex;align-items:center;gap:7px}.stat strong{display:block;font-size:31px;line-height:1.8;font-weight:600;font-variant-numeric:tabular-nums}.stat strong small{font-weight:400;margin-left:9px;color:var(--muted);font-size:11px}.stat>span{color:#98a1ac;font-size:11px}.stat-dot{height:7px;width:7px;border-radius:50%;background:var(--blue);display:inline-block}.dot-1{background:#40a69d}.dot-2{background:#d4a466}.dot-3{background:#6f8f85}.order-section,.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.section-top{padding:22px 24px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.counter{font-size:11px;color:#768696;background:#eff3f6;border-radius:5px;padding:3px 7px;margin-left:6px;vertical-align:2px}.sync-label{color:#96a1ad;font-size:11px}.filters{padding:17px 24px 19px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tab{background:none;border:0;border-radius:5px;color:#6c7989;font-size:12px;padding:8px 12px}.tab.selected{color:var(--blue);background:var(--blue-soft);font-weight:600}.tab:hover{background:#f2f6f9}.search-row{display:flex;gap:10px}.search-row input{max-width:340px;width:100%}.search-row select{min-width:150px}.search{background:#fff}.search-row input,.search-row select{height:36px;border:1px solid #e0e6eb;border-radius:6px;color:#5b6b7b;padding:6px 11px;font-size:12px}.search::placeholder{color:#a0aab5}input:focus,select:focus,textarea:focus{outline:0;border-color:#729fce!important;box-shadow:0 0 0 3px #1665b510}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{padding:14px 18px;background:#f7f9fb;color:#7c8998;font-weight:500;font-size:11px;white-space:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}th small{font-size:10px;color:#a3aeba;margin-left:3px}td{padding:21px 18px;border-bottom:1px solid #eff2f5;white-space:nowrap;line-height:1.7}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfe}.order-table th:first-child,.order-table td:first-child{padding-left:24px}.order-table th:last-child,.order-table td:last-child{padding-right:24px}.order-title{background:none;border:0;font-size:13px;font-weight:600;color:var(--ink);text-align:left;padding:0;max-width:240px;white-space:normal}.order-title:hover{color:var(--blue)}.spec-text{display:block;color:#8a95a1;font-size:11px;line-height:1.6;max-width:270px;white-space:normal;margin-top:4px}.order-code{display:block;font-size:10px;color:#9aa6b2;letter-spacing:.4px;font-variant-numeric:tabular-nums;line-height:1.7;margin-top:4px}.numeric{font-size:14px;font-weight:550}.numeric small{font-weight:400;font-size:10px;color:#8a95a1}.due{display:block;font-size:10px;color:#8c98a5;margin-top:6px}.stage-total b{font-weight:550;font-size:13px;font-variant-numeric:tabular-nums}.stage-total small{color:#8b99a8;font-size:10px;margin-left:5px}.stage-state{display:block;font-size:10px;color:#9ba5af;margin-top:5px}.stage-state.done{color:var(--green)}.stage-state.working{color:var(--blue)}.skipped{color:#b3bbc3}.skipped small{display:block;font-size:10px;margin-top:5px}.pill{border-radius:4px;font-size:10px;padding:4px 7px;display:inline-block;white-space:nowrap;line-height:1.5;font-weight:500}.pill.green{color:#268269;background:#eaf6f0}.pill.blue{color:#326ca3;background:#eef5fc}.pill.amber{color:#9c773d;background:#faf3e7}.pill.gray{color:#8b949e;background:#f0f2f4}.list-foot{display:flex;justify-content:space-between;padding:16px 24px;border-top:1px solid var(--line);font-size:11px;color:#98a2ad}.empty{padding:65px 24px;text-align:center;color:#8d9aa8}.empty>span{font-size:40px;color:#b3c4d5;display:block;margin-bottom:12px}.empty h3{font-size:16px;font-weight:500;color:#53677c;margin-bottom:8px}.empty p{font-size:12px;margin-bottom:20px}.info-banner{padding:14px 19px;border:1px solid #dceaf7;background:#eff6fc;color:#5d7b99;font-size:12px;border-radius:8px;margin-bottom:24px;line-height:1.8}.mobile-orders{display:none}
dialog{border:1px solid #e0e6ec;border-radius:13px;padding:0;width:min(460px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 25px 85px #142c4530}dialog.wide{width:min(790px,calc(100vw - 32px))}dialog::backdrop{background:#15253870;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.dialog-body{padding:22px 24px}.dialog-body>p{font-size:13px;margin-bottom:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#657587;margin-bottom:18px}.field input,.field select,.field textarea{width:100%;border:1px solid #dce3ea;border-radius:6px;padding:10px 12px;background:white;color:var(--ink);line-height:1.6;min-height:42px}.field textarea{resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#a4adb7;font-size:12px}.field select:disabled{background:#f4f6f8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.span-two{grid-column:span 2}.form-error{font-size:12px!important;color:var(--red);line-height:1.6;margin:10px 0}.form-error:empty{display:none}.dialog-foot{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;display:flex;justify-content:flex-end;gap:9px}.help{color:#96a0ab;font-size:11px!important;line-height:1.7;margin-top:10px}.checkbox{display:flex;gap:10px;align-items:center;font-size:13px;line-height:1.6}.checkbox input{width:17px;height:17px;accent-color:var(--blue)}.report-order{border-left:3px solid var(--blue);padding-left:13px;margin-bottom:24px}.report-order strong,.report-order span,.report-order small{display:block}.report-order span{font-size:12px;color:var(--muted);margin:6px 0}.report-order small{font-size:10px;color:#9ca7b3}.report-current{display:flex;justify-content:space-between;align-items:center;background:#f3f7fb;border:1px solid #e5edf4;border-radius:7px;padding:16px;margin-bottom:22px;font-size:12px}.report-current strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}.report-current small{font-size:12px;color:var(--muted);font-weight:400}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.detail-heading h3{font-size:22px;margin:7px 0}.detail-heading .muted{font-size:12px}.detail-facts{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px;padding:22px 0;border-bottom:1px solid var(--line);margin-bottom:23px}.detail-facts small{display:block;font-size:11px;color:#98a3af;margin-bottom:7px}.detail-facts strong{font-size:13px;font-weight:550}.detail-stages{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.detail-stages>section{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfcfd}.detail-stages h4{margin:0 0 14px;color:#748397;font-size:12px;font-weight:500}.detail-stages .stage-total b{font-size:23px}.detail-stages .stage-state{margin:8px 0 12px}.detail-stages .button{width:100%}.detail-stages .skipped{display:block;padding-top:4px}.delivery{margin:24px 0}.delivery>div{display:flex;justify-content:space-between;font-size:12px}.delivery strong{font-weight:500}.delivery span{color:#7e8b99;font-size:11px}progress{appearance:none;display:block;width:100%;height:6px;border:0;border-radius:6px;margin-top:12px;overflow:hidden;background:#e9eef3}progress::-webkit-progress-bar{background:#e9eef3}progress::-webkit-progress-value{background:#3987bd;border-radius:6px}progress::-moz-progress-bar{background:#3987bd;border-radius:6px}.note-block{padding:13px 16px;background:#f6f8fa;border-radius:7px;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.note-block small{color:#9aa4af;font-size:10px}.note-block p{font-size:12px;margin-top:6px}.note-block.internal{background:#fbf7ef}.history-row{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px}.history-row b{font-size:12px;font-weight:550}.history-row small{display:block;font-size:10px;color:#97a2ae;margin-top:5px}.history-row p{font-size:11px;margin-top:5px;overflow-wrap:anywhere;white-space:pre-wrap}.history-row .text-button{align-self:flex-start}.history-row.voided b{color:#9da6b0;text-decoration:line-through}.tiny{font-size:9px;color:var(--green);background:#eaf6f0;padding:2px 4px;border-radius:3px}.detail-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}.detail-footer>span{font-size:10px}
.customer-shell{max-width:1380px;margin:auto}.customer-header{padding:24px 34px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:var(--bg)}.read-only{font-size:11px;color:#8b9aad}.customer-footer{text-align:center;color:#9ca7b3;font-size:11px;padding:0 16px 32px}.customer-shell .page-head{margin-top:2px}.customer-shell #main{padding-top:32px}.customer-shell .brand{font-size:16px}.customer-shell .page-head h1{font-size:30px}
.auth{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr;background:white}.auth-story{background:var(--navy);padding:10vh 12%;color:white;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:380px;height:380px;border:1px solid #ffffff0b;border-radius:50%;right:-190px;bottom:-130px;box-shadow:0 0 0 65px #ffffff03,0 0 0 130px #ffffff02;pointer-events:none}.auth-story .brand-mark{background:#355675;margin-bottom:45px}.auth-story .eyebrow{color:#8ca5c0;margin-bottom:21px}.auth-story h1{font-size:40px;line-height:1.55;font-weight:550;letter-spacing:-1px}.auth-story>p:not(.eyebrow){color:#8da6bf;font-size:13px;margin-top:24px}.auth-flow{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff17;padding-top:28px;margin-top:50px;gap:20px;font-size:12px;color:#b6c7d8;max-width:330px}.auth-flow b{color:#6887a6;font-size:10px;font-weight:400;margin-left:12px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px}.auth-panel form{max-width:340px;width:100%}.auth-panel h2{font-size:27px;margin:8px 0 14px}.auth-panel .muted{font-size:12px;margin-bottom:30px}.auth-panel .button{margin-top:5px;min-height:45px}.auth-note{font-size:11px;color:#a6b0ba;text-align:center;margin-top:24px}.loading{padding:20vh 20px;text-align:center;color:#8190a0}.failure{text-align:center;padding:15vh 24px}.failure .brand-mark{margin-bottom:24px}.failure h1{font-size:24px;margin-bottom:20px}.failure p{margin:10px 0}.failure .button{margin-top:22px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);background:#203952;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 5px 20px #152a4020;opacity:0;pointer-events:none;transition:.18s ease;z-index:1000;font-size:12px;max-width:min(500px,90vw);line-height:1.7}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){#main{padding:42px 48px}.order-table td{padding-top:24px;padding-bottom:24px}}
@media(max-width:1150px){.workspace{grid-template-columns:175px minmax(0,1fr)}.sidebar{padding-left:11px;padding-right:11px}.sidebar .brand{font-size:16px;gap:9px}#main{padding:28px 22px}.stats{gap:10px}.stat{padding:16px}.order-table td,.order-table th{padding-left:12px;padding-right:12px}.detail-stages .stage-total b{font-size:20px}}
@media(max-width:760px){h1{font-size:24px}.workspace{display:block}.sidebar{height:auto;position:static;padding:15px 18px;display:flex;flex-direction:row;gap:16px;flex-wrap:wrap}.sidebar .brand{padding:0;font-size:16px}.sidebar .brand small{display:none}.sidebar .brand-mark.small{width:30px;height:30px;font-size:18px}.sidebar nav{order:3;margin:0;width:100%;display:flex;gap:5px}.nav-item{padding:9px 13px;font-size:12px}.nav-item span{font-size:16px}.sidebar-bottom{margin:0 0 0 auto;padding:0;border:0;gap:7px}.sidebar-bottom .avatar{display:none}.sidebar-bottom strong{font-weight:400}.sidebar-bottom small{font-size:9px}.logout{font-size:18px}.worker-workspace .sidebar nav{display:none}#main{padding:24px 16px 32px}.page-head{align-items:flex-start;gap:13px;margin-bottom:20px}.page-head h1{font-size:23px}.page-head .muted{font-size:11px;max-width:240px}.eyebrow{font-size:9px;letter-spacing:1.4px}.head-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.head-actions .button{font-size:11px;padding:8px 10px;min-height:34px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:13px 16px}.stat p{font-size:11px}.stat strong{font-size:28px;line-height:1.65}.stat>span{font-size:10px}.section-top{padding:18px 16px 0}.section-top h2{font-size:15px}.sync-label{font-size:9px}.filters{padding:14px 16px}.tabs{gap:4px;flex-wrap:nowrap;overflow:auto;margin-bottom:14px;scrollbar-width:none}.tab{white-space:nowrap;font-size:11px;padding:7px 9px}.search-row input{max-width:none;min-width:0}.search-row select{min-width:100px;max-width:130px}.order-section{background:transparent;border:0;overflow:visible}.order-section .section-top,.order-section .filters{background:white}.order-section .section-top{border-radius:9px 9px 0 0}.order-section .filters{border-radius:0 0 9px 9px}.order-section>.section-top{border:1px solid var(--line);border-bottom:0}.order-section .filters{border:1px solid var(--line);border-top:0}.order-section .table-scroll{display:none}.mobile-orders{display:grid;gap:13px;margin-top:15px}.order-card{padding:18px 16px;background:white;border:1px solid var(--line);border-radius:9px}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.card-top .order-code{margin:0;font-size:10px}.order-card h3{font-size:17px;font-weight:600}.order-card .spec-text{font-size:11px;max-width:none;margin-top:4px}.card-customer{color:#68829a;font-size:11px;margin-top:7px}.card-meta{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8795a4;margin-top:16px;border-bottom:1px solid #eff2f5;padding-bottom:13px}.card-meta b{color:#3c536b;font-size:11px;margin-left:6px;font-weight:550}.mini-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:16px 0}.mini-stages>div>span:first-child{display:block;font-size:10px;color:#8996a5;margin-bottom:8px}.mini-stages .stage-total b{font-size:15px}.mini-stages .stage-total small{font-size:9px;margin-left:3px}.mini-stages .stage-state{font-size:9px}.mini-stages .skipped{font-size:12px}.order-card .button{min-height:39px;font-size:12px;background:#f7fafc}.order-card .button.primary{background:var(--blue)}.list-foot{padding:15px 0;background:transparent;border:0;font-size:10px}.info-banner{font-size:11px;padding:12px 14px;margin-bottom:16px}.page-head>.button{font-size:11px;padding:9px 12px;min-height:35px}.panel td{padding:16px 13px}.panel th{padding:12px 13px}.inline-actions{gap:4px}.panel{overflow:auto}.customer-header{padding:18px 17px}.customer-header .brand-mark{height:30px;width:30px;font-size:18px}.customer-header .brand{font-size:14px}.read-only{font-size:10px}.customer-shell #main{padding-top:25px}.customer-shell .page-head h1{font-size:25px}.customer-footer{font-size:10px}.detail-stages{grid-template-columns:1fr 1fr;gap:10px}.detail-stages>section{padding:14px}.detail-facts{grid-template-columns:1fr 1fr;gap:18px}.detail-facts>div:first-child{grid-column:span 2}.detail-footer{align-items:flex-start;flex-direction:column}.dialog-body{padding:20px}.dialog-head{padding:17px 20px}.dialog-head h2{font-size:16px}.form-grid{grid-template-columns:1fr;gap:0}.span-two{grid-column:auto}.field input,.field select,.field textarea{font-size:16px}.dialog-foot .button{flex:1}.auth{display:block;background:var(--bg);min-height:100vh}.auth-story{padding:32px 26px 35px}.auth-story .brand-mark{width:37px;height:37px;font-size:22px;border-radius:9px;margin-bottom:20px}.auth-story .eyebrow{margin-bottom:12px;font-size:10px}.auth-story h1{font-size:27px;line-height:1.5}.auth-story h1 br{display:none}.auth-story>p:not(.eyebrow){font-size:11px;margin-top:12px}.auth-flow{display:none}.auth-panel{padding:30px 25px;background:white;min-height:440px}.auth-panel h2{font-size:23px}.auth-panel form{max-width:400px}.auth-panel .muted{margin-bottom:24px}.auth-panel .eyebrow{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Huadu identity and touch-first order workspace. */
:root{--blue:#9e2348;--blue-soft:#faf0f3;--ink:#24262c;--muted:#757880;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei UI",sans-serif;font-optical-sizing:auto}
.brand-logo{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:10px;padding:4px;flex:none}
.auth-story>.brand-logo{width:74px;height:74px;padding:8px;margin-bottom:30px;border-radius:18px}.failure>.brand-logo{width:72px;height:72px;margin-bottom:20px}
.button.primary:hover{background:#861d3c;border-color:#861d3c}.button:active,.icon-button:active,.tab:active{transform:scale(.97)}
.clickable-order,.order-card{cursor:pointer}.clickable-order:focus-visible,.order-card:focus-visible{outline:3px solid #b74469;outline-offset:3px}
.card-chevron{float:right;color:#aaaeb5;font-size:27px;line-height:1;font-weight:400}
.stage-disclosure{border:0;background:none;text-align:left;padding:0;width:100%;color:inherit;border-radius:6px;min-height:100px;cursor:pointer}
.stage-disclosure h4{display:flex;justify-content:space-between}.stage-disclosure h4>span{font-size:20px;line-height:12px;color:#9da1a9}
.stage-disclosure[aria-expanded=true] h4,.stage-disclosure[aria-expanded=true] .history-hint{color:var(--blue)}
.history-hint{font-size:10px;color:#828690}.stage-history{margin-top:16px;padding:4px 16px 12px;border-radius:12px;background:#f6f6f8}.stage-history h4{margin:14px 0 10px}.stage-history h4 small{float:right;color:var(--muted);font-weight:400}
.customer-history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-top:1px solid #e6e6eb}.customer-history-row time{font-size:12px;color:#656971}.customer-history-row strong{font-size:14px;font-variant-numeric:tabular-nums}.customer-history-row strong small{display:block;text-align:right;color:var(--green);font-size:10px;margin-top:4px}
.artwork-preview{margin:22px 0}.artwork-preview a{display:flex;align-items:center;gap:14px;border:1px solid var(--line);padding:12px;border-radius:12px;background:white;overflow-wrap:anywhere;font-size:13px;color:var(--blue)}.artwork-preview img{width:92px;height:92px;object-fit:contain;border-radius:8px;background:#f6f6f8}.pdf-mark{background:#faf0f3;border-radius:8px;padding:22px 12px;color:var(--blue);font-weight:650}.artwork-field input[type=file]{font-size:13px}.artwork-field input::file-selector-button{border:0;border-radius:6px;background:#faf0f3;color:var(--blue);padding:8px;margin-right:10px}.artwork-field .help{margin:0}.artwork-field .checkbox{font-size:12px}.artwork-field .checkbox input{width:18px;min-height:18px}
@media(max-width:760px){
  :root{font-size:16px;--bg:#f5f5f7;--line:#e9e9ee;--radius:20px;--ink:#23242a;--muted:#767880}
  body{background:var(--bg)}button,a{touch-action:manipulation}h1{letter-spacing:-.03em}button{ -webkit-user-select:none;user-select:none}
  .button,.text-button,.icon-button,.tab,.logout{min-height:44px}.button{border-radius:12px;padding:11px 16px;font-size:14px;font-weight:600}.text-button{font-size:13px;padding:10px 8px}.icon-button{width:44px;height:44px;flex:none;border-radius:50%;color:#6c6e76;background:#eeeef2;font-size:28px;line-height:1}.button.primary{box-shadow:0 3px 9px #9e234816}
  .customer-header,.sidebar{position:sticky;top:0;z-index:5;background:rgba(250,250,252,.9);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);border:0;color:var(--ink);padding:calc(10px + env(safe-area-inset-top)) 20px 10px;box-shadow:0 5px 18px #1b1d2505;gap:12px}
  .customer-header .brand,.sidebar .brand{font-size:17px;font-weight:650;gap:10px}.brand-logo{width:42px;height:42px;border-radius:10px;padding:3px}.read-only{font-size:11px;color:#747780;background:#eaeaf0;padding:7px 10px;border-radius:20px}
  .sidebar-bottom{font-size:12px;gap:4px}.sidebar-bottom strong{font-weight:550}.sidebar-bottom small{color:#7f8189;font-size:10px}.logout{color:#696c76;width:36px;padding:4px;font-size:22px}.sidebar .brand small{display:none}
  .sidebar nav{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;border-radius:24px;padding:6px;background:rgba(250,250,252,.94);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 6px 32px #151b301c;border:1px solid #fff;display:flex;gap:4px}
  .nav-item{flex:1;display:flex;flex-direction:column;gap:5px;padding:9px 4px;border-radius:18px;color:#777a84;font-size:10px;text-align:center;min-height:56px}.nav-item span{font-size:21px}.nav-item.active{background:#f1e4e9;color:#92203f}.nav-item:hover{background:#f1e4e9;color:#92203f}.worker-workspace .sidebar nav{display:none}
  #main,.customer-shell #main{padding:24px 20px 30px}.workspace:not(.worker-workspace) #main{padding-bottom:110px}.page-head{margin:0 0 23px;gap:8px;align-items:center}.page-head h1,.customer-shell .page-head h1{font-size:28px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}.page-head .eyebrow{font-size:10px;letter-spacing:1.1px;margin-bottom:9px;color:#8c7c84}.page-head .muted{font-size:12px;line-height:1.65;max-width:260px;margin-top:10px;color:#777a83}.head-actions .button{min-height:44px;font-size:12px;padding:9px 11px;border-radius:50px;background:#fff;border-color:#e5e5ea}.head-actions .button.primary{background:var(--blue)}.head-actions{flex:none;max-width:106px}.page-head>.button{min-height:44px;font-size:12px;padding:9px 12px}
  .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:white;border:1px solid #ededf1;border-radius:20px;padding:16px 4px;margin-bottom:26px;box-shadow:0 3px 16px #20243202}.stat{background:none;border:0;border-right:1px solid #ededf1;border-radius:0;padding:0 4px;text-align:center}.stat:last-child{border-right:0}.stat p{font-size:10px;justify-content:center;gap:0;color:#747680;white-space:nowrap;line-height:1.5}.stat-dot,.stat>span{display:none}.stat strong{font-size:28px;line-height:1.4;letter-spacing:-.6px;margin-top:6px;font-weight:650}.stat strong small{display:none}.stats.two{grid-template-columns:1fr 1fr;padding:18px 0}.stats.two .stat p{font-size:12px}.stats.two .stat strong{font-size:32px}
  .order-section>.section-top,.order-section .filters{padding:0;border:0;background:none;border-radius:0}.section-top{margin-bottom:16px;gap:8px}.section-top h2{font-size:19px;letter-spacing:-.3px}.counter{background:#e9e9ef;color:#787a84;border-radius:7px;font-size:11px}.sync-label{font-size:10px;color:#8c8f96}.filters{margin-bottom:20px}.tabs{gap:4px;padding:4px;background:#eaeaf0;border-radius:14px;margin-bottom:14px;overflow-x:auto}.tab{min-height:38px;padding:8px 13px;font-size:12px;border-radius:11px;color:#767982;flex:none}.tab.selected{background:white;color:#272830;box-shadow:0 2px 5px #1a1d3010}.tab:hover{background:#f8f8fa}.search-row{gap:8px}.search-row input,.search-row select{height:46px;border:0;border-radius:13px;background:#eaeaef;font-size:14px;padding:12px 14px;color:#444751}.search-row input::placeholder{color:#90939a}.search-row select{max-width:120px;font-size:12px}.search-row input:focus{background:white;box-shadow:0 0 0 2px #9e234830}
  .mobile-orders{gap:16px;margin-top:0}.order-card{position:relative;padding:20px;background:#fff;border:1px solid #eeeef2;border-radius:22px;box-shadow:0 4px 18px #20243204;overflow:hidden;transition:background 120ms ease,transform 120ms ease}.order-card:active{background:#fcfafb;transform:scale(.992)}.card-top{margin-bottom:13px;gap:8px}.card-top .order-code{font-size:10px;letter-spacing:.3px;color:#92949b}.pill{font-size:10px;border-radius:20px;padding:5px 9px;font-weight:550}.pill.blue{background:#edf2fa;color:#3e69a3}.pill.green{background:#edf6f1;color:#367e5e}.pill.amber{background:#faf3e8;color:#a17d3d}.order-card h3{font-size:19px;line-height:1.4;letter-spacing:-.3px;font-weight:650;overflow-wrap:anywhere}.order-card .spec-text{font-size:12px;color:#81838b;margin-top:6px}.card-customer{font-size:12px;color:#777a83}.card-meta{font-size:11px;color:#85878f;margin-top:18px;padding-bottom:16px;gap:6px}.card-meta b{font-size:13px;color:#292c34;margin-left:5px;font-weight:600}.mini-stages{padding:18px 0 16px;gap:8px}.mini-stages>div>span:first-child{font-size:11px;color:#737680;margin-bottom:8px}.mini-stages .stage-total b{font-size:16px;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere}.mini-stages .stage-total small{font-size:10px;margin-left:2px}.mini-stages .stage-state{font-size:10px;margin-top:6px}.mini-stages .stage-state.done{color:#398467}.mini-stages .stage-state.working{color:#a43157}.mini-stages .skipped small{font-size:10px}
  .order-card .button{min-height:44px;font-size:13px;border:0;background:#f5f5f8;border-radius:12px;color:#626671}.order-card .button.primary{color:white;background:var(--blue)}.list-foot{padding:18px 2px;font-size:10px}.customer-footer{font-size:11px;color:#999ba3;padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  dialog,dialog.wide{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:93dvh;border:0;border-radius:26px 26px 0 0;box-shadow:0 -15px 60px #1016221f;overscroll-behavior:contain;background:#fff;padding-bottom:env(safe-area-inset-bottom)}
  dialog::backdrop{background:rgba(25,27,36,.38);backdrop-filter:blur(5px)}.dialog-head{padding:14px 20px 12px;border-bottom:1px solid #efeff3;background:rgba(255,255,255,.95);backdrop-filter:blur(16px);gap:12px}.dialog-head h2{font-size:18px;letter-spacing:-.3px}.dialog-body{padding:23px 22px 26px}.detail-heading h3{font-size:25px;line-height:1.35;letter-spacing:-.6px;margin:10px 0 8px}.detail-heading .muted{font-size:13px}.detail-heading{gap:8px}.detail-facts{padding:20px 0;margin-bottom:24px;gap:16px}.detail-facts small{font-size:11px;color:#878a92}.detail-facts strong{font-size:14px;overflow-wrap:anywhere}.dialog-body>h4{font-size:15px;margin:24px 0 14px}.detail-stages{gap:10px}.detail-stages>section{border:1px solid #eaeaef;border-radius:17px;background:#f9f9fb;padding:16px}.detail-stages>section.stage-complete{background:#f4f8f5;border-color:#e4eee8}.detail-stages h4{font-size:13px;margin-bottom:12px;color:#717580}.detail-stages .stage-total b{font-size:27px;letter-spacing:-.7px}.detail-stages .stage-total small{font-size:12px}.detail-stages .stage-state{font-size:11px;margin:7px 0 12px}.detail-stages .button{font-size:13px;min-height:44px;margin-top:4px}.stage-disclosure{min-height:120px}.stage-disclosure:active{opacity:.6}.history-hint{font-size:11px}.stage-history{border-radius:17px;padding:3px 16px 10px}.customer-history-row{padding:15px 0}.customer-history-row time{font-size:12px}.customer-history-row strong{font-size:15px}.delivery{margin:26px 0}.delivery>div{font-size:13px}.delivery span{font-size:12px}progress{height:7px}progress::-webkit-progress-value{background:#9e2348}.note-block{border-radius:14px;padding:16px}.note-block small{font-size:11px;color:#858790}.note-block p{font-size:14px;margin-top:8px}.detail-footer>span{font-size:11px}.history-row b{font-size:13px}.history-row small{font-size:11px}.history-row p{font-size:12px}
  .field{font-size:13px;color:#686b74;gap:9px;margin-bottom:21px}.field input,.field select,.field textarea{font-size:16px;line-height:1.5;min-height:50px;border:1px solid #e4e4eb;background:#fafafc;border-radius:12px;padding:13px 14px;color:#272b34}.field input::placeholder,.field textarea::placeholder{font-size:13px;color:#a0a2aa}.form-grid{gap:0}.help{font-size:12px!important;line-height:1.7;color:#8a8d96}.dialog-foot{position:sticky;bottom:calc(-26px - env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(16px);margin:24px -22px -26px;padding:14px 22px calc(18px + env(safe-area-inset-bottom));border-top:1px solid #ececf0;gap:10px;z-index:2}.dialog-foot .button{min-height:49px}.checkbox{font-size:14px;min-height:44px;gap:12px}.checkbox input{width:21px;height:21px;flex:none}.report-order{border:0;padding:0;margin-bottom:22px}.report-order strong{font-size:21px;line-height:1.4;letter-spacing:-.3px}.report-order span{font-size:13px;margin:8px 0}.report-order small{font-size:11px}.report-current{border:0;background:#f5f3f6;border-radius:16px;padding:18px;font-size:13px}.report-current strong{font-size:28px}.report-current small{font-size:13px}form[data-form=report] input[name=quantity]{font-size:29px;min-height:76px;letter-spacing:-.5px;font-weight:600;background:#fff;border-color:#ded7dc}.form-error{font-size:13px!important}
  .auth{background:#f5f5f7}.auth-story{background:transparent;color:#25262d;padding:42px 26px 24px}.auth-story:after{display:none}.auth-story>.brand-logo{width:72px;height:72px;padding:7px;border-radius:18px;margin:0 0 24px}.auth-story .eyebrow{color:#8a6e7a;font-size:11px;letter-spacing:1px}.auth-story h1{font-size:29px;font-weight:700;letter-spacing:-.7px;line-height:1.4}.auth-story>p:not(.eyebrow){font-size:12px;color:#888b94;margin-top:12px}.auth-panel{background:white;margin:0 16px 24px;border:1px solid #ebebf0;border-radius:24px;padding:26px 22px;min-height:0}.auth-panel h2{font-size:22px;letter-spacing:-.4px;margin:0 0 11px}.auth-panel .muted{font-size:12px;margin-bottom:24px}.auth-panel .button{min-height:50px}.auth-note{font-size:11px;margin-top:21px}.info-banner{font-size:12px;border-radius:14px}.panel{border-radius:18px}.empty{padding:45px 18px}.empty h3{font-size:17px}.empty p{font-size:13px}#toast{font-size:13px;border-radius:14px;bottom:calc(26px + env(safe-area-inset-bottom));padding:14px 18px;background:#303039}
}
@media(max-width:360px){#main,.customer-shell #main{padding-left:14px;padding-right:14px}.customer-header,.sidebar{padding-left:14px;padding-right:14px}.order-card{padding:17px}.stat p{font-size:9px}.mini-stages{gap:5px}.mini-stages .stage-total b{font-size:14px}.page-head h1,.customer-shell .page-head h1{font-size:25px}}
@media(prefers-reduced-transparency:reduce){.customer-header,.sidebar,.sidebar nav,.dialog-head,.dialog-foot{background:#fff;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}dialog::backdrop{backdrop-filter:none}}
@media(prefers-contrast:more){:root{--muted:#555}.button,.order-card,.stat,.detail-stages>section{border:1px solid #777}.customer-header,.sidebar,.dialog-head,.dialog-foot{background:#fff}.spec-text,.order-code,.help,.stage-state,.sync-label{color:#555}}
@media(prefers-reduced-motion:reduce){.button:active,.tab:active,.order-card:active,.icon-button:active{transform:none}}
/* Direct reporting and artwork selection */
.share-qr-wrap{margin:18px auto;text-align:center}.share-qr-wrap canvas{display:block;width:240px;max-width:100%;height:auto;margin:auto;border:1px solid #eeeeF2;border-radius:14px;background:white}.share-qr-wrap .form-error:empty{display:none}.share-actions{display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:center}.share-actions .button{min-height:44px}.share-actions a[hidden]{display:none}
.artwork-drop{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 16px;border:1.5px dashed #d8c9d0;border-radius:16px;background:#fcfafb;text-align:center;transition:background 120ms ease,border-color 120ms ease}
.artwork-drop.dragging,.artwork-drop:focus-within{background:#faeef2;border-color:var(--blue)}
.artwork-drop strong{font-size:13px;font-weight:500;color:#74717a}.artwork-picker{display:inline-flex;align-items:center;justify-content:center;position:relative;overflow:hidden;min-height:44px;padding:10px 18px;background:var(--blue);color:#fff;border-radius:12px;cursor:pointer}
.artwork-picker input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.artwork-selection{font-size:12px;overflow-wrap:anywhere;max-width:100%;color:var(--muted)}.artwork-selection.danger{color:var(--red)}
.artwork-selected-preview{max-width:100%;width:180px;height:120px;object-fit:contain;background:#fff;border-radius:10px}.artwork-drop [hidden]{display:none}
.worker-workspace #order-list>.table-scroll{display:none}.worker-workspace .mobile-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px}
.worker-report-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.worker-report-actions .button:only-child{grid-column:1/-1}.worker-report-actions .button{min-height:44px}
.card-detail-hint{display:block;text-align:right;font-size:12px;color:var(--muted);padding-top:12px}.order-code{overflow-wrap:anywhere}
@media(max-width:760px){.worker-workspace .mobile-orders{grid-template-columns:1fr;padding:0}.worker-workspace .page-head{margin-bottom:24px}.artwork-picker input[type=file]{min-height:0;padding:0}.worker-workspace .order-section{background:transparent}.worker-workspace .order-card:active:has(button:active){transform:none}}
