:root{--blue:#0767c8;--navy:#0b1d34;--gold:#f4a900;--bg:#f3f6fa;--line:#e1e8f0;--muted:#748196;--text:#152033;--red:#db3446;--green:#13865e}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif}.topbar{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:#fffffff2;backdrop-filter:blur(12px)}.topbar-inner{height:78px;max-width:1500px;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between}.brand,.account,.user-badge,.hero-actions,.tools,.side-head{display:flex;align-items:center}.brand img{height:40px}.brand-copy{margin-left:17px;padding-left:17px;border-left:1px solid var(--line);display:flex;flex-direction:column}.brand-copy strong{font-size:14px}.brand-copy span{font-size:9px;letter-spacing:.14em;color:#9aa5b4;margin-top:3px}.account{gap:12px}.sync{font-size:11px;font-weight:800;color:#148259;background:#e9faf2;border-radius:999px;padding:8px 12px}.sync i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#20c47a;margin-right:6px}.user-badge{gap:9px;background:#f4f7fa;padding:6px 11px;border-radius:12px}.user-badge>b{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:var(--blue);color:#fff}.user-badge div{display:flex;flex-direction:column}.user-badge strong{font-size:11px}.user-badge span{font-size:9px;color:#8c99a9;margin-top:2px}main{max-width:1500px;margin:auto;padding:28px 32px 50px}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:24px}.eyebrow,.board-kicker,.modal-kicker{font-size:10px;font-weight:900;letter-spacing:.15em;color:var(--blue)}.hero h1{font-size:37px;line-height:1.1;letter-spacing:-.04em;margin:9px 0 8px}.hero p{margin:0;color:var(--muted);font-size:13px}.hero-actions{gap:9px}.hero-actions label{font-size:10px;font-weight:800;color:#7c899b}.hero-actions select,.hero-actions input{display:block;width:145px;height:41px;margin-top:5px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--text);font-weight:800;outline:0}.hero-actions input{width:122px}.primary{border:0;border-radius:11px;background:var(--blue);color:white;padding:13px 18px;font-weight:900;box-shadow:0 8px 20px #0767c82c;cursor:pointer}.hero-actions .primary{height:41px;margin-top:16px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.metrics article{display:flex;justify-content:space-between;align-items:center;padding:17px 19px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 14px #1e365708}.metrics article>div{display:flex;flex-direction:column}.metrics span{font-size:11px;color:#8b98a9;font-weight:800}.metrics b{font-size:30px;margin-top:7px}.metrics i{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;font-style:normal;font-size:20px;font-weight:900}.blue{color:#1470c9;background:#eaf4ff}.gold{color:#b97900;background:#fff5dc}.violet{color:#7650b1;background:#f2ecff}.red{color:#c72d3d;background:#fff0f2}.tabs{display:flex;gap:6px;margin-bottom:13px;overflow:auto}.tabs button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 14px;font-size:11px;font-weight:900;color:#69768a;white-space:nowrap;cursor:pointer}.tabs button.active{background:var(--navy);border-color:var(--navy);color:#fff}.tabs span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#e9eef5;color:#5f6c80;margin-left:5px}.tabs .active span{background:#ffffff24;color:#fff}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.board{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;min-height:520px}.board-head{padding:16px 18px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between}.board-head h2,.side-panel h2{font-size:16px;margin:5px 0 0}.tools{gap:8px}.search{border:1px solid var(--line);border-radius:9px;padding:0 10px;color:#94a0b0}.search input{width:230px;height:35px;border:0;outline:0;padding-left:7px}.tools button{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:17px;cursor:pointer}.filters{min-height:12px;padding:10px 16px;display:flex;gap:7px;border-bottom:1px solid #edf1f5;overflow:auto}.filters button{border:0;border-radius:8px;padding:7px 10px;background:#f3f6f9;color:#708095;font-size:10px;font-weight:900;white-space:nowrap;cursor:pointer}.filters button.active{background:#e8f3ff;color:var(--blue)}.order-row{width:100%;border:0;border-bottom:1px solid #edf1f5;background:white;text-align:left;padding:16px 19px;display:grid;grid-template-columns:1.2fr .85fr .8fr 135px 18px;gap:15px;align-items:center;cursor:pointer;transition:.18s}.order-row:hover{background:#f8fbff}.order-row.complete-today{background:#f0f2f4;color:#7d8793;filter:saturate(.35)}.order-row.handoff-late{background:#fff0f1;border-left:4px solid var(--red)}.order-row.overdue-row{background:#fff5f5}.code{font:900 11px ui-monospace,monospace;color:var(--blue)}.tag{display:inline-block;margin-left:6px;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:900}.tag.appointment{background:#eaf4ff;color:#176cb9}.tag.walkin{background:#f1edff;color:#7253aa}.customer{font-size:13px;font-weight:900;margin-top:6px}.sub{font-size:10px;color:#8a97a8;margin-top:4px}.cell-label{font-size:8px;font-weight:900;color:#9aa5b3;letter-spacing:.05em}.cell-value{font-size:11px;font-weight:800;margin-top:5px}.status{display:inline-block;padding:5px 8px;border-radius:7px;font-size:9px;font-weight:900;background:#f0f3f7;color:#667487}.status.pending{background:#fff4da;color:#a66e00}.status.active{background:#e9f4ff;color:#116ab8}.status.hold{background:#f2ecff;color:#7450aa}.status.handoff{background:#fff0e3;color:#ad5900}.status.done{background:#e6f8ef;color:#087c53}.status.late{background:#ffe2e5;color:#c62838}.arrow{color:#bcc6d2}.empty{padding:65px 20px;text-align:center;color:#92a0b1;font-size:12px}.side-panel{background:var(--navy);color:#fff;border-radius:16px;padding:19px}.side-head{justify-content:space-between;margin-bottom:17px}.side-head span{font-size:9px;color:#67aff7;font-weight:900;letter-spacing:.15em}.side-head b{font-size:8px;color:#59daa1}.rule{display:flex;gap:11px;padding:12px 0;border-top:1px solid #ffffff12}.rule i{flex:0 0 27px;height:27px;border-radius:8px;background:#ffffff10;display:grid;place-items:center;color:#6fb7ff;font-size:9px;font-style:normal;font-weight:900}.rule strong{font-size:11px}.rule p{font-size:9px;line-height:1.55;color:#aeb9c8;margin:5px 0 0}.activity-title{border-top:1px solid #ffffff1c;margin-top:8px;padding-top:17px;font-size:10px;font-weight:900;color:#6fb7ff;letter-spacing:.12em}.event{position:relative;margin-left:5px;padding:13px 0 2px 16px;border-left:1px solid #ffffff19}.event:before{content:"";position:absolute;left:-4px;top:18px;width:7px;height:7px;border-radius:50%;background:var(--gold)}.event strong{font-size:10px}.event p{font-size:9px;color:#aeb9c8;margin:4px 0}.event time{font-size:8px;color:#66768a}.alert{margin-bottom:16px;padding:11px 14px;border:1px solid #f0c0c5;border-radius:10px;background:#fff0f2;color:#a52a38;font-size:11px;font-weight:800}.hidden{display:none!important}.layer{position:fixed;inset:0;z-index:50;display:flex;justify-content:flex-end;background:#0b1d3458;backdrop-filter:blur(4px)}.layer.center{align-items:center;justify-content:center;padding:16px}.drawer{position:relative;width:min(540px,100%);height:100%;overflow:auto;background:white;padding:27px;box-shadow:-20px 0 50px #0b1d3425}.close{position:absolute;right:18px;top:17px;width:31px;height:31px;border:0;border-radius:9px;background:#eef2f6;font-size:19px;cursor:pointer}.drawer-code{font:900 11px ui-monospace,monospace;color:var(--blue)}.drawer h2{font-size:24px;margin:6px 40px 3px 0}.drawer-sub{font-size:11px;color:#7c899b}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:19px 0}.info{padding:11px;background:#f5f7fa;border-radius:10px}.info span{display:block;font-size:8px;color:#929eae;font-weight:900}.info b{display:block;margin-top:5px;font-size:11px}.audit-note{padding:12px;border-left:3px solid var(--gold);background:#fff9eb;font-size:10px;line-height:1.5;color:#795a15}.timeline{margin-top:22px}.timeline h3{font-size:12px}.timeline-row{display:grid;grid-template-columns:32px 1fr;gap:11px;min-height:61px}.timeline-dot{position:relative;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;color:#93a0b1;font-size:11px}.timeline-row:not(:last-child) .timeline-dot:after{content:"";position:absolute;top:30px;bottom:-31px;width:1px;background:#dce4ed}.timeline-row.done .timeline-dot,.timeline-row.done:not(:last-child) .timeline-dot:after{background:var(--blue);color:white}.timeline-row strong{font-size:11px}.timeline-row p{font-size:9px;color:#8794a6;margin:4px 0}.drawer-actions{display:grid;gap:8px;margin-top:16px}.drawer-actions button{width:100%}.secondary{border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px;font-weight:900;color:#516075;cursor:pointer}.danger{background:var(--red);box-shadow:0 8px 20px #db34462c}.modal{position:relative;width:min(600px,100%);max-height:95vh;overflow:auto;background:white;border-radius:18px;padding:27px}.modal h2{margin:6px 0;font-size:21px}.modal>p{font-size:11px;color:#8592a4}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px}.form-grid label,.login-modal label{font-size:10px;font-weight:900;color:#657388}.form-grid input,.form-grid select,.form-grid textarea,.login-modal input{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid var(--line);border-radius:10px;background:white;outline:0;font:inherit}.form-grid textarea{min-height:72px;resize:vertical}.wide{grid-column:1/-1}.submit{width:100%;margin-top:18px}.login-modal{width:min(400px,100%);text-align:center}.login-modal label{text-align:left;display:block;margin-top:18px}.lock{margin:auto;width:54px;height:54px;border-radius:16px;background:#eaf4ff;color:var(--blue);display:grid;place-items:center;font-size:27px}.demo-pin{margin-top:10px;padding:9px;background:#f4f7fa;border-radius:8px;color:#788598;font-size:9px}.counter-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 17px;border-bottom:1px solid #edf1f5}.stat-mini{padding:11px;background:#f6f8fb;border-radius:10px}.stat-mini span{display:block;font-size:8px;color:#8d99a8}.stat-mini b{display:block;font-size:19px;margin-top:4px}@media(max-width:1100px){.workspace{grid-template-columns:1fr}.side-panel{order:2}.hero{flex-direction:column;align-items:flex-start}.hero-actions{flex-wrap:wrap}.metrics{grid-template-columns:1fr 1fr}.order-row{grid-template-columns:1.1fr .8fr .75fr 20px}.order-row>div:nth-child(4){display:none}}@media(max-width:720px){.topbar-inner,main{padding-left:15px;padding-right:15px}.brand-copy,.sync,.user-badge div{display:none}.hero h1{font-size:29px}.hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.hero-actions label select,.hero-actions label input{width:100%}.hero-actions .primary{grid-column:1/-1;width:100%;margin-top:0}.metrics article{padding:14px}.metrics b{font-size:24px}.metrics i{width:37px;height:37px}.board-head{align-items:flex-start;flex-direction:column;gap:11px}.tools,.search{width:100%}.search input{width:calc(100% - 22px)}.order-row{grid-template-columns:1fr 18px}.order-row>div:nth-child(2),.order-row>div:nth-child(3),.order-row>div:nth-child(4){display:none}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.counter-stats{grid-template-columns:1fr 1fr}}
