:root{--bg:#fff;--side:#eef0f3;--ink:#282e37;--muted:#737c89;--line:#dce1e7;--accent:#354254;--accent-soft:#dce3ed;--soft:#f5f7fa;--green:#426c53;--blue:#3f6384;--amber:#93682b;--red:#a54e49;--r:5px;--sidebar:222px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:var(--ink);background:var(--bg);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:630;letter-spacing:-.8px;line-height:1.35}h2{font-size:16px;font-weight:620}h3{font-size:13px;font-weight:600}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.num{font-variant-numeric:tabular-nums}.stack{display:grid;gap:12px}.flex{display:flex;align-items:center;gap:9px}.spread{display:flex;align-items:center;justify-content:space-between;gap:14px}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.rule{border-top:1px solid var(--line)}.btn{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid #d6dce4;border-radius:var(--r);padding:0 12px;font-weight:530;white-space:nowrap;transition:background .12s,border-color .12s}.btn:hover{background:#f0f3f7;border-color:#bfc9d6}.btn.primary{color:white;background:var(--accent);border-color:var(--accent)}.btn.primary:hover{background:#293648}.btn.ghost{border-color:transparent;background:transparent}.btn.danger{color:var(--red)}.btn.icon{width:34px;padding:0}.btn.sm{height:29px;font-size:12px}.input,select,textarea{border:1px solid #d6dce4;background:#fff;color:var(--ink);border-radius:var(--r);padding:8px 10px;min-width:0;height:36px}.input:focus,select:focus,textarea:focus{outline:2px solid #8196b0;outline-offset:0}.input::placeholder,textarea::placeholder{color:#a1aab6}textarea{height:auto;resize:vertical}.field{display:grid;gap:6px}.field>label{font-weight:550;font-size:12px}.field>small{color:var(--muted);font-size:11px}.field .input,.field select{width:100%}.shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);height:100dvh;min-height:420px}.shell.collapsed{--sidebar:60px}.sidebar{background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0;overflow:auto;padding:0 12px 12px}.brand{height:68px;display:flex;align-items:center;gap:9px;padding:0 10px;flex-shrink:0}.wordmark{font-size:29px;font-weight:760;letter-spacing:-2px;line-height:1}.wordmark em{color:#61758f;font-style:normal}.brand-sub{font-size:8px;letter-spacing:1.5px;color:#7b8492;margin-top:5px}.store-tile{display:flex;align-items:center;gap:10px;padding:10px 8px;margin:3px 0 20px;border:1px solid #dce1e7;border-radius:5px;background:#f7f8fa;min-height:53px}.store-icon{display:grid;place-items:center;width:29px;height:29px;background:#dce3ed;border-radius:4px;color:var(--accent);font-size:16px;font-weight:650;flex-shrink:0}.store-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:620}.nav-heading{padding:0 9px;margin:8px 0 7px;color:#858e9a;font-size:10px;letter-spacing:.4px}.nav{display:grid;gap:2px;margin-bottom:20px}.nav-item{height:37px;border:0;border-radius:4px;text-align:left;background:transparent;display:flex;align-items:center;gap:10px;padding:0 9px;color:#5f6876;white-space:nowrap;font-size:13px}.nav-item:hover{background:#e7ebf0;color:var(--ink)}.nav-item.active{background:#dce3ed;color:#2f4056;font-weight:630;box-shadow:inset 2px 0 #60748f}.nav-item .nav-name{overflow:hidden;text-overflow:ellipsis}.nav-item .end{margin-left:auto;color:#a1aab6;font-size:10px}.sidebar-bottom{margin-top:auto;border-top:1px solid #dce1e7;padding-top:9px}.profile{display:flex;align-items:center;gap:9px;width:100%;padding:6px;border:0;background:none;text-align:left;border-radius:4px}.profile:hover{background:#e7ebf0}.avatar{display:grid;place-items:center;background:#dce3ed;color:#465971;width:31px;height:31px;border-radius:50%;font-weight:650;font-size:12px;flex-shrink:0}.collapsed .brand{padding:0;justify-content:center}.collapsed .wordmark{font-size:19px}.collapsed .brand-sub,.collapsed .store-info,.collapsed .nav-heading,.collapsed .nav-name,.collapsed .end,.collapsed .profile-info,.collapsed .profile>svg{display:none}.collapsed .store-tile{justify-content:center;padding:3px;border:0;background:transparent}.collapsed .nav-item{justify-content:center;padding:0}.collapsed .sidebar{padding:0 8px 10px}.collapsed .profile{padding:4px;justify-content:center}.main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.topbar{height:53px;flex-shrink:0;border-bottom:1px solid var(--line);padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:white}.crumb{display:flex;align-items:center;gap:10px;color:#687382;font-size:12px;white-space:nowrap}.top-actions{display:flex;align-items:center;gap:12px}.global-search{min-width:220px;height:31px;display:flex;align-items:center;gap:8px;background:#f5f7fa;border:1px solid #dce1e7;border-radius:4px;padding:0 10px;color:#737c89;text-align:left;font-size:12px}.key{margin-left:auto;border:1px solid #dce1e7;border-radius:3px;padding:0 4px;font-size:10px;color:#858e9a}.demo-tag{font-size:11px;color:#825e2f;border:1px solid #e3d5bc;background:#fcf8ef;padding:4px 7px;border-radius:3px;white-space:nowrap}.work{flex:1;overflow:auto;min-height:0;padding:28px 34px 40px;scrollbar-gutter:stable}.content{max-width:1510px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.eyebrow{font-size:10px;color:#858e9a;letter-spacing:1.6px;margin-bottom:8px;font-weight:600}.sub{margin-top:6px;font-size:12px;color:var(--muted);line-height:1.65}.head-actions{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}.notice{display:flex;align-items:flex-start;gap:9px;background:#f8f7f1;border:1px solid #e8e4d6;padding:10px 12px;color:#726447;font-size:12px;line-height:1.55;border-radius:4px;margin-bottom:18px}.notice.error{color:#923f3f;background:#fdf5f3;border-color:#ebd5d1}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:18px 0 17px;margin-bottom:26px}.metric{border:0;border-right:1px solid var(--line);padding:0 19px;text-align:left;background:none;min-width:0}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric:hover .metric-title{color:var(--accent)}.metric-title{font-size:12px;color:#737c89;display:flex;align-items:center;gap:7px}.metric-n{font-size:36px;letter-spacing:-1.7px;font-weight:580;line-height:1.22;margin:8px 0 4px;font-variant-numeric:tabular-nums}.metric-note{font-size:11px;color:#8993a0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:25px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}.section-head h2{display:flex;align-items:center;gap:8px}.section-head .count{color:#858e9a;font-size:11px;font-weight:400}.tabs{display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:0;overflow:auto;white-space:nowrap}.tab{border:0;background:transparent;height:39px;padding:0 1px;font-size:12px;color:#737c89;position:relative}.tab.active{color:#425c7b;font-weight:620}.tab.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#60748f}.tab span{margin-left:4px;color:#929baa;font-size:10px}.table-wrap{overflow:auto;min-width:0}.table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}.table th{color:#7b8492;font-weight:500;background:#f6f7f9;text-align:left;height:35px;padding:0 11px;border-bottom:1px solid var(--line);font-size:11px}.table td{padding:11px;border-bottom:1px solid #e3e7ec;height:57px;vertical-align:middle}.table td:first-child,.table th:first-child{padding-left:11px}.table tr.clickable{cursor:pointer}.table tr.clickable:hover{background:#f6f7f9}.table .main-text{font-size:13px;font-weight:550}.table .sub-text{font-size:10px;color:#858e9a;margin-top:4px}.state{display:inline-flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap;color:#767f8c}.state:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.state.green{color:var(--green)}.state.blue{color:var(--blue)}.state.amber{color:var(--amber)}.state.red{color:var(--red)}.text-btn{background:none;border:0;padding:4px 0;font-size:12px;color:#425c7b;font-weight:600;white-space:nowrap}.text-btn:hover{text-decoration:underline}.side-panel{border-left:1px solid var(--line);padding-left:22px;min-width:0}.side-panel h2{margin-bottom:12px}.slot-line{display:grid;grid-template-columns:48px 1fr 38px;gap:8px;align-items:center;height:33px;font-size:11px;font-variant-numeric:tabular-nums}.bar{height:5px;background:#e7ebf0;border-radius:2px;overflow:hidden;min-width:24px}.bar>i{height:100%;display:block;background:#78947e;border-radius:2px}.bar>i.full{background:#b88b57}.side-note{border-top:1px solid var(--line);margin-top:17px;padding-top:17px}.side-note p{font-size:12px;color:#7b8492;line-height:1.7}.side-note .text-btn{margin-top:7px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;flex-wrap:wrap}.date-nav{display:flex;align-items:center;gap:5px}.date-input{width:142px}.segment{display:inline-flex;border:1px solid #dce1e7;border-radius:4px;background:#f4f5f7;padding:2px;gap:2px}.segment button{height:27px;padding:0 12px;border:0;border-radius:3px;background:none;color:#7b8492;font-size:12px}.segment button.active{background:white;box-shadow:0 0 0 1px #dce1e7;color:#354254;font-weight:600}.schedule-grid{border:1px solid var(--line);border-radius:3px;overflow:auto}.schedule-head,.schedule-row{display:grid;grid-template-columns:130px minmax(250px,1fr) 134px;align-items:stretch;min-width:520px}.schedule-head{background:#f6f7f9;color:#7b8492;font-size:11px}.schedule-head>div,.schedule-row>div{padding:10px 12px;border-right:1px solid var(--line)}.schedule-head>div:last-child,.schedule-row>div:last-child{border:0}.schedule-row{min-height:66px;border-top:1px solid var(--line);font-size:12px}.schedule-row .event-list{display:flex;gap:5px;flex-wrap:wrap;align-content:center}.event{border:0;border-left:3px solid #7c9a85;background:#e8edf4;border-radius:3px;padding:7px 9px;text-align:left;min-width:122px;color:#425c7b;font-size:11px;max-width:220px;line-height:1.4}.event:hover{background:#dce9de}.event.blue{background:#e8eef4;color:#486881;border-color:#7a9bb7}.event.amber{background:#f2eadf;color:#856337;border-color:#b48e57}.event.gray{background:#eef1f5;color:#697483;border-color:#a1aab6}.event small{display:block;color:inherit;opacity:.75;font-size:10px}.slot-tag{font-size:10px;color:#858e9a;margin-top:5px}.empty{padding:44px 16px;text-align:center;color:#838c99;font-size:12px;line-height:1.8;border-bottom:1px solid var(--line)}.empty svg{display:block;margin:0 auto 9px;color:#a1aab6}.search-field{display:flex;align-items:center;gap:7px;border:1px solid #dce1e7;border-radius:4px;padding:0 9px;height:34px;min-width:180px}.search-field input{border:0;outline:none!important;background:transparent;min-width:0;width:100%;font-size:12px}.pager{padding:13px 0;display:flex;align-items:center;justify-content:space-between;color:#818b98;font-size:12px}.overlay{position:fixed;inset:0;background:#26344854;display:flex;justify-content:flex-end;z-index:20}.drawer{background:#fff;width:min(640px,100%);height:100%;display:flex;flex-direction:column;box-shadow:-12px 0 40px #26344820;animation:enter .15s ease-out}.drawer.wide{width:min(820px,100%)}@keyframes enter{from{transform:translateX(20px);opacity:.7}to{transform:translateX(0);opacity:1}}.drawer-head{padding:22px 25px 17px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.drawer-head h2{font-size:21px;letter-spacing:-.4px}.drawer-body{padding:22px 25px;overflow:auto;flex:1;min-height:0}.drawer-foot{border-top:1px solid var(--line);padding:13px 25px;display:flex;justify-content:flex-end;gap:8px;background:#f7f8fa}.drawer-section{padding:0 0 19px;margin-bottom:19px;border-bottom:1px solid var(--line)}.drawer-section h3{margin-bottom:13px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.value-label{color:#737c89;font-size:11px;margin-bottom:5px}.value{font-size:13px;overflow-wrap:anywhere}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.money{font-size:29px;letter-spacing:-1px;font-variant-numeric:tabular-nums;font-weight:580}.summary-box{background:#f1f3f6;border:1px solid #dce1e7;padding:13px 15px;border-radius:4px}.radio-choice{display:flex;align-items:center;gap:8px;border:1px solid #dce1e7;border-radius:4px;padding:9px 11px;font-size:12px}.radio-choice:has(input:checked){background:#e8edf4;border-color:#a3b3c8}input[type=checkbox],input[type=radio]{accent-color:#536d90}.dialog-wrap{position:fixed;inset:0;z-index:30;display:grid;place-items:center;background:#26344855;padding:20px}.dialog{width:min(460px,100%);background:#fff;border-radius:7px;box-shadow:0 12px 48px #26344830;border:1px solid #dce1e7;padding:22px;display:grid;gap:16px}.dialog.search-dialog{width:min(630px,100%);align-self:start;margin-top:12vh}.dialog h2{font-size:18px}.dialog p{font-size:12px;line-height:1.7;color:#737c89}.toast{position:fixed;right:22px;bottom:22px;z-index:50;background:#354254;color:#fff;border-radius:5px;padding:12px 16px;font-size:13px;box-shadow:0 4px 15px #26344830;max-width:400px}.toast.error{background:#963f3f}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fafbfc}.login-art{background:#303c4d;color:#edf1f7;padding:52px 55px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-art:before,.login-art:after{content:'';position:absolute;border:1px solid #a4b7d030;width:520px;height:520px;transform:rotate(27deg);right:-155px;top:80px}.login-art:after{right:-68px;top:166px;width:400px;height:400px}.login-art .wordmark{font-size:42px}.login-art h1{font-size:clamp(28px,4vw,60px);line-height:1.2;letter-spacing:-2px;font-weight:500;position:relative;z-index:1;max-width:520px}.login-art p{font-size:13px;line-height:1.8;color:#c5cfdd;margin-top:20px;position:relative}.login-main{display:grid;place-items:center;padding:28px}.login-form{width:min(350px,100%);display:grid;gap:17px}.login-form h1{font-size:27px}.login-form .btn{height:41px}.login-form .input{height:41px}.store-choice{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dce1e7;padding:12px;background:white;border-radius:4px}.store-choice.selected{background:#e8edf4;border-color:#91a4bc}.store-choice .grow strong{display:block;font-size:13px}.store-choice .grow span{font-size:11px;color:#858e9a}.placeholder{border:1px solid var(--line);padding:25px;background:#f7f8fa;border-radius:4px;max-width:780px}.placeholder p{font-size:13px;line-height:1.8;color:#737c89;margin:10px 0}.loading{padding:40px;color:#858e9a;text-align:center}.filter-caption{font-size:11px;color:#858e9a;margin:10px 0}.kpi-accent{color:#956e37}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:12px}.product{border:1px solid var(--line);border-radius:4px;padding:15px;display:grid;gap:10px}.product .money{font-size:22px}.product h3{font-size:15px}.product p{font-size:12px;color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1150px){.dashboard-grid{grid-template-columns:1fr}.side-panel{border-left:0;border-top:1px solid var(--line);padding:16px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:24px}.side-note{border:0;margin:0;padding:0}.work{padding:25px}.shell{--sidebar:190px}.global-search{min-width:170px}}@media(max-width:760px){.shell{--sidebar:60px}.sidebar{padding:0 8px 10px}.brand{padding:0;justify-content:center}.wordmark{font-size:19px}.brand-sub,.store-info,.nav-heading,.nav-name,.end,.profile-info,.profile>svg{display:none}.store-tile{justify-content:center;padding:3px;border:0;background:transparent}.nav-item{justify-content:center;padding:0}.profile{padding:4px;justify-content:center}.work{padding:18px 12px}.topbar{padding:0 10px}.global-search{min-width:32px;width:32px;padding:0;justify-content:center}.global-search span,.global-search .key{display:none}.page-head{flex-direction:column;margin-bottom:15px;gap:3px}.metrics{grid-template-columns:repeat(2,1fr);gap:12px}.metric:nth-child(3){padding-left:0}.metric:nth-child(2){border:0}.metric-n{font-size:28px}.side-panel{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-art{display:none}.two{grid-template-columns:1fr}.head-actions{margin-top:4px}.crumb{gap:4px}.demo-tag{font-size:10px}.drawer-head,.drawer-body,.drawer-foot{padding-left:16px;padding-right:16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Alpha 03: continuous, neutral desktop workspace. */
:root{--sidebar:208px;--r:4px;font-size:13px}.topbar{height:45px;background:#f5f6f8;padding:0 16px}.sidebar{padding:0 8px 8px}.brand{height:58px}.wordmark{font-size:25px;letter-spacing:-1.2px}.store-tile{margin:0 0 12px;min-height:45px;border-radius:3px}.nav-item{min-height:31px}.nav-item.active{background:#dce3ed;color:#2f4056;border-left:2px solid #60748f}.work{padding:18px 20px}.content{max-width:none}.page-head{margin-bottom:16px;align-items:center}.page-head h1{font-size:21px;letter-spacing:-.4px}.page-head .sub{font-size:12px;margin-top:5px}.metric{padding:13px 15px}.metric-n{font-size:28px}.table td{height:48px;padding:8px 10px}.drawer-head{padding:15px 21px}.drawer-head h2{font-size:19px}.drawer-body{padding:18px 21px}.drawer-section{margin-bottom:14px;padding-bottom:14px}.drawer.wide{width:min(900px,100%)}.timeline-scroll{overflow:auto;border:1px solid var(--line);background:white}.timeline{position:relative}.timeline-head{display:grid;grid-template-columns:92px 105px 1fr;background:#f0f2f5;border-bottom:1px solid var(--line);height:31px;align-items:center;color:#657181;font-size:12px}.timeline-head span{padding-left:10px}.timeline-body{position:relative;background:#f8f9fb}.timeline-slot{position:absolute;left:0;right:0;display:grid;grid-template-columns:92px 105px 1fr;border-bottom:1px solid #dfe4eb;background:white}.timeline-slot>div{padding:7px 9px;border-right:1px solid #e0e5eb;overflow:hidden}.timeline-slot small{display:block;font-size:10px;color:#7d8794}.timeline-slot .bar{margin-top:5px}.timeline-events{position:absolute;left:197px;right:0;top:0;bottom:0}.timeline-event{position:absolute;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;overflow:hidden;text-align:left;border:0;border-left:3px solid #6984a4;border-radius:3px;background:#e7edf6;padding:4px 7px;color:#364962;font-size:11px;line-height:1.2}.timeline-event:hover{filter:brightness(.96)}.timeline-event strong{font-size:12px}.timeline-event .event-time{font-variant-numeric:tabular-nums;font-size:10px}.timeline-event.done{background:#e8efeb;border-color:#799787;color:#4a6758}.timeline-event.progress{background:#dbe7f5;border-color:#446e9f}.timeline-event.cancelled{background:#eff0f2;color:#818895;border-color:#b1b6bf}.timeline-event small{font-size:10px}.commerce-totals{display:grid;gap:8px;background:#f5f7fa;border:1px solid var(--line);padding:13px;margin-top:12px}.commerce-actions{display:flex;flex-wrap:wrap;gap:7px}.line-sub{font-size:11px;color:#737c89}.timeline-event .state{font-size:10px}.login-art{background:#303c4d!important}.login-art p{color:#d2dce8!important}.demo-tag{color:#69788b;background:#e7ebf0;border-color:#d5dce6}.store-icon{background:#354254!important;color:#fff!important}

.text-btn,.tab.active{color:#425c7b}.tab.active{border-bottom-color:#607a9a}.nav-item.active{box-shadow:none}.drawer{animation:enter .12s ease-out}.timeline-event{transition:filter .1s}.timeline-event:focus-visible{outline:2px solid #415c7a;outline-offset:0}


/* Alpha 04.1: one order component, two view modes. */
.shell{--sidebar:208px}.shell.collapsed{--sidebar:60px}.order04-wrap{position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end;background:#26344854}.order04{background:var(--bg);display:flex;flex-direction:column;width:min(700px,100%);min-width:0;max-height:100dvh;overflow:hidden;box-shadow:-12px 0 36px #26344820}.order04-wrap.expanded{background:#fff;left:208px;top:45px;box-shadow:0 0 0 1px var(--line)}.order04-wrap.expanded .order04{width:100%;box-shadow:none}.shell.collapsed~.order04-wrap.expanded,body:has(.shell.collapsed) .order04-wrap.expanded{left:60px}.order04-header{padding:16px 20px 0;background:#f9fafb;border-bottom:1px solid var(--line);flex:none}.order04-header h2{font-size:20px;margin:4px 0;overflow-wrap:anywhere}.order04-header .spread>div:first-child{min-width:0}.order04-header .flex{flex-shrink:0;gap:6px}.order04-tabs{display:flex;gap:22px;margin-top:10px;overflow:auto;scrollbar-width:thin}.order04-tabs .tab{white-space:nowrap;flex:none;padding:0 2px;height:40px}.order04-body{flex:1;min-height:0;min-width:0;overflow:auto;display:flex;flex-direction:column}.order04-main{min-width:0;padding:18px 20px}.order04-side{background:var(--soft);border-top:1px solid var(--line);padding:18px 20px;min-width:0}.order04-side>.spread{margin:10px 0}.order04-side h3{margin:0 0 14px}.order04-amount{font-size:27px;margin:6px 0 13px;font-weight:650}.order04-side .btn{width:100%}.order04-main .drawer-section{padding:0 0 14px;margin:0 0 14px}.order04-main .commerce-totals{max-width:470px;margin-left:auto}.order04-main .table td,.order04-main .table th{padding:8px 9px}.order04-main .table td:first-child{white-space:normal;min-width:120px;overflow-wrap:anywhere}.order04-main .drawer-section>.spread{margin-bottom:12px}.order04-main .drawer-section>.spread h3{margin:0}.order04-wrap.expanded .order04-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);overflow:hidden}.order04-wrap.expanded .order04-main,.order04-wrap.expanded .order04-side{overflow:auto}.order04-wrap.expanded .order04-side{border-top:0;border-left:1px solid var(--line)}.job04{border:1px solid var(--line);border-radius:4px;padding:13px;margin:10px 0}.job-roles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:13px 0}.job-roles>div{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.ledger04{border-bottom:1px solid var(--line);padding:13px 0;overflow-wrap:anywhere}.dialog{max-height:calc(100dvh - 40px);overflow:auto}.order-items-table{max-width:100%}.slot-quick{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0;width:100%;background:none;border:0;color:var(--ink);font-variant-numeric:tabular-nums;font-size:12px;text-align:left}.slot-quick svg{color:#78869a}.slot-quick:hover{color:#415c7a;background:#e8edf4}.slot-capacity.closed{background:#eff1f4}.timeline-slot .slot-capacity{position:relative;z-index:1}.timeline-slot .slot-quick{min-height:16px}.settings-panel{max-width:680px;border:1px solid var(--line);padding:20px}.view-choices{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}.view-choice{display:grid;text-align:left;gap:8px;background:white;border:1px solid var(--line);border-radius:4px;padding:12px;min-width:200px;flex:1}.view-choice.selected{border-color:#607a9a;background:#f1f5fa}.view-diagram{height:62px;background:#e2e6ed;border:1px solid #b8c4d3;position:relative}.view-diagram:before{content:'';position:absolute;left:0;top:0;bottom:0;width:20%;background:#c5cedb}.view-diagram:after{content:'';position:absolute;right:0;top:0;bottom:0;width:45%;background:white;border-left:1px solid #aebacc}.view-diagram.expanded:after{width:80%}.order04 .value{overflow-wrap:anywhere}.order04-side .details-grid{gap:10px 15px}.order04-header .sub{overflow-wrap:anywhere}
@media(max-width:1150px){.shell:not(.collapsed){--sidebar:190px}.order04-wrap.expanded{left:190px}.order04-wrap.expanded .order04-body{grid-template-columns:minmax(0,1fr) 224px}}
@media(max-width:1000px){.order04-wrap.expanded .order04-body{display:flex;overflow:auto}.order04-wrap.expanded .order04-main,.order04-wrap.expanded .order04-side{overflow:visible}.order04-wrap.expanded .order04-side{border-left:0;border-top:1px solid var(--line)}}
@media(max-width:760px){.shell:not(.collapsed){--sidebar:60px}.order04-wrap.expanded,body:has(.shell.collapsed) .order04-wrap.expanded{left:0;top:0}.order04-header{padding:12px 14px 0}.order04-tabs{gap:14px}.order04-main,.order04-side{padding:12px 14px}.job-roles{grid-template-columns:repeat(2,minmax(0,1fr))}.order04-header .flex .state{display:none}.topbar{padding:0 8px}.work{padding:14px 12px}.page-head{align-items:flex-start}.drawer.wide{width:100%}}
[hidden]{display:none!important}

.order04-compact-foot{display:none}.order04-wrap.compact .order04-compact-foot{display:flex;align-items:center;gap:14px;justify-content:space-between;border-top:1px solid var(--line);padding:12px 20px;background:#f7f8fa;flex:none}.order04-wrap.compact .order04-side{display:none}.compact-funds{display:flex;flex:1;gap:20px;min-width:0;flex-wrap:wrap}.compact-funds>div{display:flex;flex-direction:column;gap:3px;min-width:0}.compact-funds strong{font-size:15px;font-variant-numeric:tabular-nums}.compact-funds .compact-due{font-size:20px;line-height:1.05}.order04-wrap.compact .order04-main{flex:1}.order04-wrap.compact .order04-main .commerce-totals{max-width:100%;margin-left:0}.order04-wrap.compact .order04-main .commerce-totals .money{font-size:21px}@media(max-width:480px){.order04-wrap.compact .order04-compact-foot{padding:10px 14px;flex-wrap:wrap;gap:10px}.compact-funds{gap:12px}.compact-funds strong{font-size:13px}.compact-funds .compact-due{font-size:17px}.order04-wrap.compact .order04-compact-foot .btn{width:100%}}
/* Keep temporary feedback away from the fixed settlement buttons. */
.toast{bottom:auto;top:58px;right:22px;pointer-events:none;max-width:min(400px,calc(100vw - 44px))}

/* Alpha 04.2: unified settlement layout and custom field controls. */
.order04-wrap.expanded .order04-body{grid-template-columns:minmax(0,1fr) minmax(290px,320px)}.order04-side{padding:20px 20px 24px}.order04-side .settlement-heading{margin:17px 0 12px}.amount-breakdown{font-variant-numeric:tabular-nums;color:var(--ink);display:grid;gap:11px}.amount-breakdown .spread{gap:12px}.amount-breakdown .spread>span{color:var(--muted)}.amount-breakdown strong{font-weight:550;white-space:nowrap}.amount-breakdown .amount-total{padding-top:12px;border-top:1px solid var(--line);font-size:14px}.amount-breakdown .amount-total strong:last-child{font-size:21px;letter-spacing:-.5px}.amount-actions{display:flex;justify-content:flex-end}.order04-side .amount-actions .btn{width:auto}.amount-breakdown.amount-in-sidebar{padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:14px}.amount-breakdown.amount-inline{margin:16px 0 0 auto;width:min(100%,320px);padding:2px 0 0}.order04-main .drawer-section{border-bottom:0}.order-exception{margin-left:8px}.order04-side .details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order04-wrap.expanded .order04-main{padding:22px 24px}.order04-wrap.expanded .order04-main .table{min-width:0}.order04-wrap.expanded .order04-side{background:#f7f8fa}.order04-wrap.expanded .order04-side>.spread{font-variant-numeric:tabular-nums}.custom-control{display:inline-flex;position:relative;min-width:0;width:100%;vertical-align:middle}.custom-control:has(#order-filter){width:150px}.date-nav .custom-control{width:174px}.native-backing{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;left:0;top:0}.control-trigger{display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:36px;padding:7px 10px;background:white;border:1px solid #d6dce4;border-radius:4px;color:var(--ink);text-align:left}.control-trigger .control-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.control-trigger svg{color:#78869a}.control-trigger:hover:not(:disabled),.control-trigger[aria-expanded=true]{border-color:#8a9db4;background:#fafbfd}.control-trigger:focus-visible,.picker-option:focus-visible,.picker-days button:focus-visible,.product-pick-row:focus-visible{outline:2px solid #8196b0;outline-offset:1px}.control-popover{position:fixed;z-index:1000;background:#fff;border:1px solid #cbd4df;border-radius:5px;padding:5px;box-shadow:0 8px 24px #27364c26;overflow:auto}.picker-options{max-height:min(300px,60vh);overflow:auto}.picker-option{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;text-align:left;background:none;border:0;border-radius:3px;color:var(--ink);min-height:34px}.picker-option.selected,.picker-option:hover:not(:disabled){background:#e9eef5;color:#354c68}.picker-option svg{color:#526d8d}.picker-month{display:flex;align-items:center;justify-content:space-between;padding:5px 7px 10px}.picker-month button,.picker-days button{border:0;background:none;border-radius:3px;height:32px;min-width:0}.picker-month button{width:32px}.picker-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:0 6px 5px;text-align:center}.picker-days span{color:var(--muted);font-size:11px;padding:5px 0}.picker-days button:hover:not(:disabled),.picker-month button:hover{background:#e9eef5}.picker-days button.selected{background:#354254;color:white}.custom-time-form{display:grid;gap:10px;padding:9px}.custom-time-form label{color:var(--muted);font-size:12px}.product-picker{position:relative;gap:8px}.product-picker-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between}.product-filters{display:flex;gap:3px;align-items:center;border:1px solid var(--line);background:#f3f5f7;border-radius:4px;padding:3px}.product-filters button{border:0;background:none;border-radius:3px;padding:6px 11px;font-size:12px;color:#647082;white-space:nowrap}.product-filters button.selected{background:#fff;color:var(--accent);box-shadow:0 0 0 1px #d4dce5;font-weight:600}.product-search-wrap{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:4px;background:#fff;padding:0 8px;min-width:120px;flex:1;max-width:260px;color:#7c8898}.product-search-wrap input{border:0;background:transparent;width:100%;min-width:0;height:31px;outline:none}.product-search-wrap:focus-within{outline:2px solid #8196b0}.product-picker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:238px;overflow:auto;padding:1px}.product-pick-row{display:flex;align-items:center;gap:8px;min-width:0;min-height:55px;background:#fff;border:1px solid var(--line);border-radius:4px;padding:8px;text-align:left}.product-pick-row:hover,.product-pick-row.selected{background:#f1f5fa;border-color:#8da3bd}.product-pick-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;background:#eef1f5;color:#61758e;border-radius:3px}.product-pick-name{display:grid;gap:3px;flex:1;min-width:0;overflow-wrap:anywhere;font-weight:550}.product-pick-name small{font-size:10px;font-weight:400;color:var(--muted)}.product-pick-row strong{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.product-pick-check{width:15px;color:#526d8d;visibility:hidden}.product-pick-row.selected .product-pick-check{visibility:visible}.product-no-results{grid-column:1/-1;padding:20px;text-align:center}.product-picker [hidden]{display:none!important}
@media(max-width:1150px){.order04-wrap.expanded .order04-body{grid-template-columns:minmax(0,1fr) 275px}}@media(max-width:1000px){.order04-wrap.expanded .order04-body{display:flex}.order04-wrap.expanded .order04-side{background:#f7f8fa}.order04-wrap.expanded .order04-main{padding:16px}}@media(max-width:600px){.product-picker-list{grid-template-columns:1fr;max-height:210px}.product-search-wrap{max-width:none}.date-nav .custom-control{width:152px}.order04-side{padding:14px}.amount-breakdown.amount-inline{width:100%}}
/* Draw selection marks consistently, retain native checked/keyboard semantics. */
input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;flex:0 0 16px;width:16px;height:16px;margin:0;border:1px solid #aeb9c7;background:#fff;border-radius:3px;vertical-align:middle;cursor:pointer}input[type=radio]{border-radius:50%}input[type=checkbox]:checked{background:#354254;border-color:#354254}input[type=checkbox]:checked:after{content:'';width:8px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:rotate(-45deg) translateY(-1px)}input[type=radio]:checked{border-color:#354254}input[type=radio]:checked:after{content:'';width:8px;height:8px;border-radius:50%;background:#354254}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid #8196b0;outline-offset:2px}input[type=checkbox]:disabled,input[type=radio]:disabled{opacity:.5;cursor:not-allowed}input[type=number]{appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* Alpha 04.3: compact checkout as a single anchored panel; expanded keeps the sidebar. */
.order04-identity{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.order04-identity h2{margin-right:0}.cashier-state{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;border-radius:4px;font-size:12px;font-weight:600;padding:4px 8px;white-space:nowrap;line-height:1.2}.cashier-state.unpaid{background:#fbf1df;color:#855b23;border-color:#ead9bb}.cashier-state.partial{background:#e9eff8;color:#3e5e85;border-color:#cbd8e9}.cashier-state.settled{background:#e8f1eb;color:#39654a;border-color:#c9dece}.cashier-state.refund{background:#fae9e7;color:#9a4943;border-color:#ebc9c5}.order04-amount.refund,.compact-balance.refund .compact-due{color:var(--red)}.order04-amount.settled,.compact-balance.settled .compact-due{color:var(--green)}.order04-wrap.compact .order04-compact-foot{display:block;flex:none;padding:14px 20px 16px;background:#f7f8fa;border-top:1px solid #cfd7e1;box-shadow:0 -3px 14px #34425408;max-height:48dvh;overflow:auto}.compact-settlement-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.compact-settlement-heading h3{font-size:13px;font-weight:600;margin:0}.compact-settlement-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch}.amount-breakdown.amount-in-compact{gap:7px;font-size:12px;margin:0;padding:0}.amount-in-compact .amount-total{padding-top:9px;font-size:13px}.amount-in-compact .amount-total strong:last-child{font-size:19px}.compact-payment{border-left:1px solid var(--line);padding-left:22px;display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;font-variant-numeric:tabular-nums}.compact-payment>.spread{gap:8px}.compact-payment>.spread>span{color:var(--muted)}.compact-payment>.spread>strong{font-weight:550;white-space:nowrap}.compact-balance{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end;gap:8px;padding-top:9px;border-top:1px solid var(--line);flex-wrap:wrap}.compact-balance>div{display:flex;flex-direction:column;gap:3px;min-width:0}.compact-balance>div>span{color:var(--muted);font-size:12px}.compact-balance .compact-due{font-size:23px;font-weight:650;line-height:1.1;letter-spacing:-.5px;white-space:nowrap}.compact-balance .btn{flex:none;white-space:nowrap}.settled-mark{color:var(--green);display:inline-flex;align-items:center;gap:4px;font-weight:600;white-space:nowrap}.order04-wrap.expanded .order04-compact-foot{display:none}.order04-wrap.compact .order04-main .drawer-section{margin-bottom:0}.feedback-settings{margin-top:20px}.feedback-settings>.spread{align-items:center;gap:16px;margin-bottom:14px}.feedback-settings .sub{max-width:450px}.feedback-switch{border:0;border-radius:14px;background:#b4bdc8;position:relative;width:42px;height:24px;flex:none;padding:3px;cursor:pointer}.feedback-switch.on{background:var(--accent)}.feedback-switch>span{display:block;background:white;border-radius:50%;width:18px;height:18px;box-shadow:0 1px 2px #0002;transition:transform .15s ease}.feedback-switch.on>span{transform:translateX(18px)}.feedback-switch:focus-visible{outline:2px solid #8196b0;outline-offset:3px}
/* Feedback is independent of drawers, dialogs and page reloads. */
#toast{position:fixed;z-index:1200;top:59px;left:50%;transform:translateX(-50%);width:min(420px,calc(100vw - 24px));display:flex;flex-direction:column;gap:8px;pointer-events:none}.feedback-toast{position:relative;display:flex;align-items:flex-start;gap:11px;pointer-events:auto;background:#fff;color:var(--ink);border:1px solid #c9dacf;border-left:4px solid #568164;border-radius:5px;box-shadow:0 6px 24px #25384b24;padding:13px 12px 13px 14px;animation:feedback-enter .16s ease-out}.feedback-toast.error{border-color:#e7ccc8;border-left-color:#ad5750}.feedback-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#e8f1eb;color:#426c53}.feedback-toast.error .feedback-icon{background:#fae9e7;color:#a54e49}.feedback-content{flex:1;min-width:0;line-height:1.45;overflow-wrap:anywhere;font-size:13px}.feedback-content strong{font-size:14px;font-weight:650;display:block;margin-bottom:2px}.feedback-close{border:0;background:none;display:grid;place-items:center;width:28px;height:28px;color:var(--muted);border-radius:3px;flex:none;cursor:pointer}.feedback-close:hover,.feedback-close:focus-visible{background:#eef0f3}.feedback-toast.error .feedback-content strong{color:#9a4943}@keyframes feedback-enter{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.feedback-toast{animation:none}.feedback-switch>span{transition:none}}@media(max-width:600px){.order04-wrap.compact .order04-compact-foot{padding:11px 14px}.compact-settlement-grid{gap:12px}.compact-payment{padding-left:12px}.compact-balance .compact-due{font-size:20px}.order04-wrap.compact .order04-compact-foot .btn{width:auto}.order04-wrap.compact .compact-balance .btn{font-size:12px;padding:6px 9px}.cashier-state{font-size:11px;padding:3px 6px}.order04-identity{gap:6px}}@media(max-width:390px){.compact-settlement-grid{grid-template-columns:1fr;gap:9px}.compact-payment{padding:8px 0 0;border-left:0;border-top:1px solid var(--line)}.order04-wrap.compact .order04-compact-foot{max-height:46dvh}.compact-balance{padding-top:5px}} 
/* 04.4: shared spacing, grouped service steps and small, readable result notices. */
.order04-side{padding:0 20px 20px;align-self:stretch;box-sizing:border-box}.order04-side .summary-part{margin:0;padding:18px 0;border-bottom:1px solid var(--line);display:grid;gap:12px;min-width:0}.order04-side .summary-part:last-child{border-bottom:0;padding-bottom:6px}.order04-side .summary-part h3{margin:0;line-height:1.4}.order04-side .amount-in-sidebar{margin:0;padding:0;border-bottom:0;gap:10px}.order04-side .amount-in-sidebar .amount-actions{margin:0}.order04-side .summary-ledger{gap:10px}.order04-side .summary-balance{gap:8px}.order04-side .summary-balance .order04-amount{margin:0 0 6px;line-height:1.15}.order04-side .summary-part .spread{gap:10px;min-width:0}.order04-side .summary-part .spread strong{white-space:nowrap;font-variant-numeric:tabular-nums}.order04-side .summary-part .details-grid .value{overflow-wrap:anywhere}.order04-side .summary-part .amount-total{padding-top:12px}.service-workflow>.sub{margin:0 0 16px}.service-appointment{border:1px solid var(--line);border-radius:5px;margin:0 0 14px;overflow:hidden}.service-ap-head{background:#f6f7f9;padding:12px 14px;display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line)}.service-ap-head>div:first-child{flex:1;min-width:180px}.service-ap-head .small{margin-top:5px}.service-ap-head .spread{justify-content:flex-start;gap:10px;flex-wrap:wrap}.service-appointment .job04{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;padding:14px}.service-appointment .job04:last-child{border-bottom:0}.job-role-button{border:1px solid var(--line);border-radius:4px;background:white;color:var(--ink);text-align:left;padding:8px 20px 8px 9px;display:flex;flex-direction:column;gap:4px;position:relative;min-width:0;overflow-wrap:anywhere;cursor:pointer;font:inherit;font-size:12px}.job-role-button:hover{border-color:#9aabba;background:#f6f8fb}.job-role-button svg{position:absolute;right:5px;top:50%;transform:translateY(-50%);color:var(--muted)}.job-role-button strong{font-size:12px;font-weight:550}.job-state{font-size:12px;color:var(--muted)}.job-state.in_progress{color:var(--blue)}.job-state.completed{color:var(--green)}.job-actions{display:flex;justify-content:flex-end}.item-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.item-actions .btn{white-space:nowrap}.voided-row{color:var(--muted);background:#f6f7f9}.discount-records{margin-top:14px}.discount-entry{padding:9px 4px;gap:10px;border-bottom:1px solid var(--line)}.discount-entry>div{flex:1;min-width:0;overflow-wrap:anywhere}.cart-list{background:#f6f7f9;border:1px solid var(--line);border-radius:4px;padding:10px 12px;margin:0 0 12px}.cart-row{border-top:1px solid var(--line);margin-top:8px;padding-top:8px;gap:8px}.cart-row>span:first-child{flex:1;min-width:0}.cart-row small{display:block;color:var(--muted);margin-top:3px}.cart-tools{display:flex;justify-content:flex-end}.cart-tools .btn{width:100%}#toast{top:58px;width:min(400px,calc(100vw - 24px))}.feedback-toast{align-items:center;border:1px solid #d3dce4;border-left-width:1px;padding:11px 10px 11px 12px;gap:11px;box-shadow:0 8px 26px #25384b22;border-radius:7px;overflow:hidden}.feedback-toast.error{border:1px solid #e4c9c5;align-items:flex-start}.feedback-toast.success .feedback-content strong{margin:0;font-size:14px;line-height:1.45}.feedback-toast.error .feedback-content strong{margin:1px 0 4px}.feedback-toast .feedback-icon{width:30px;height:30px;flex-basis:30px}.feedback-toast .feedback-close{width:28px;height:28px}.feedback-toast::after{content:'';height:2px;position:absolute;bottom:0;left:0;right:0;background:#7ca58a;opacity:.8;transform-origin:left;animation:none}.feedback-toast.error::after{background:#b77c77;animation-duration:8.5s}.feedback-toast:hover::after,.feedback-toast:focus-within::after{animation-play-state:paused}@keyframes feedback-progress{to{transform:scaleX(0)}}@media(prefers-reduced-motion:reduce){.feedback-toast::after{animation:none}}@media(max-width:1000px){.order04-side{padding:0 16px 18px}}@media(max-width:600px){.service-ap-head{padding:10px}.service-appointment .job04{padding:10px}.item-actions{gap:4px}.item-actions .btn{font-size:11px;padding:4px 6px}}

.receipt-mark{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;font-size:11px;font-weight:600;border-radius:3px;vertical-align:middle;margin-left:4px;border:1px solid transparent}.receipt-mark.settled{color:#426c53;background:#e8f1eb;border-color:#d0e1d5}.receipt-mark.partial,.receipt-mark.unpaid{color:#906429;background:#fcf3e3;border-color:#ecdab9}.receipt-mark.refund{color:#a54e49;background:#fae9e7;border-color:#ebcbc5}.close-order-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 16px;border-top:1px solid var(--line,#dce1e7);background:#f6f7f9;flex-shrink:0}.close-order-bar .btn{white-space:nowrap}.order04-tabs{overflow-x:auto}.order04-tabs .tab{flex-shrink:0}

.care-mark{display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:17px;min-width:19px;height:19px;padding:0 3px;border-radius:3px;vertical-align:middle;font-weight:600;background:#e8edf3;color:#536d90;margin-left:3px}.care-mark.important{background:#eee9f4;color:#80639b}.care-mark.due{background:#f7ecd9;color:#93682b}.care-mark.refund,.care-mark.urgent{background:#fae9e7;color:#a54e49}.care-mark.after_sale{background:#eceef1;color:#68717d}.care-tools{display:inline-flex;gap:4px;align-items:center;flex-wrap:wrap}.order04-identity{flex-wrap:wrap}.care-note,.delivery-group{border:1px solid var(--line,#dce1e7);padding:12px;border-radius:4px;margin:8px 0}.care-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.care-target{font-size:12px;color:#536d90}.care-notes{max-height:65vh;overflow:auto}.delivery-group>.spread{margin-bottom:8px}.timeline-event .care-mark{font-size:10px;min-width:15px;height:15px;line-height:15px;padding:0 2px}.order04-header .care-tools .btn{min-height:25px;height:25px;padding:0 7px}.order04-header .care-tools .icon{width:27px}

/* Operations uses the established workspace primitives. */
.ops-body{padding-top:16px}.ops-section{margin-bottom:24px;border:1px solid var(--line);border-radius:4px;padding:16px;min-width:0}.ops-section h2{font-size:16px;margin:0 0 6px}.ops-week{border-top:1px solid var(--line);margin-top:12px}.ops-week-row{display:grid;grid-template-columns:85px 65px repeat(4,minmax(100px,1fr));align-items:end;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.ops-week-row>strong,.ops-week-row>.radio-choice{align-self:center}.ops-week-row .field{margin:0}.ops-week-row .field label{font-size:11px}.ops-ex-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-ex-fields>.radio-choice{grid-column:1/-1}.ops-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:4px;overflow:hidden}.ops-preview>div{background:#f6f7f9;padding:12px;display:flex;flex-direction:column;gap:5px}.ops-preview strong{font-size:19px}.ops-role{border-top:1px solid var(--line);padding:12px 0}.ops-role summary{cursor:pointer;font-weight:550}.ops-role summary .muted{float:right;font-weight:400}.ops-perms{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.ops-perms span{background:#eef0f3;padding:4px 8px;border-radius:3px;font-size:12px}.ops-body [hidden],#ops-product-durations[hidden]{display:none!important}@media(max-width:950px){.ops-week-row{grid-template-columns:repeat(4,minmax(0,1fr))}.ops-week-row>strong{grid-column:span 2}.ops-week-row>.radio-choice{grid-column:span 2}}@media(max-width:560px){.ops-week-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-week-row>strong,.ops-week-row>.radio-choice{grid-column:auto}.ops-section{padding:10px}.ops-section>.spread{flex-wrap:wrap}}

@media(min-width:951px){.ops-week-row{grid-template-columns:85px 94px repeat(4,minmax(100px,1fr));padding:8px 0}}.ops-week-row>.radio-choice{white-space:nowrap;min-height:36px;padding:6px 9px;justify-content:center}.ops-product-filters{flex:1;display:flex;align-items:center;gap:10px}.ops-product-filters>.search-field{width:240px;min-width:140px}.ops-product-filters>.custom-control{width:150px;flex:0 0 150px}.ops-product-filters>.custom-control>.control-trigger{width:100%}.ops-product-toolbar .btn{flex-shrink:0}
.home-reminder-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:12px}.home-reminder-links .text-btn{padding:3px 0;line-height:1.5}.month-tools{padding:0 0 14px}.month-tools strong{font-size:16px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.month-week{text-align:center;padding:10px 0;background:#f4f6f8;color:#657284;font-size:12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.month-cell,.month-empty{min-width:0;min-height:102px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.month-empty{background:#f6f7f9}.month-cell{display:flex;flex-direction:column;gap:8px;padding:10px;text-align:left;color:var(--ink);cursor:pointer;font:inherit}.month-cell:hover{background:#eef2f6}.month-cell.current{box-shadow:inset 0 0 0 2px #879bb2}.month-cell.booked{background:#f0f4f9}.month-cell.booked:hover{background:#e5ebf3}.month-count{font-size:13px;font-weight:600}.month-meter{height:3px;background:#e0e7ef;width:100%;border-radius:2px}.month-meter i{display:block;height:100%;background:#8199b6;border-radius:2px}.month-note{margin-top:12px}.admin-role-row{padding:14px 0;border-bottom:1px solid var(--line)}.admin-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.admin-check-grid .radio-choice{min-width:0;white-space:normal}.admin-check-grid .field{min-width:0}@media(max-width:700px){.month-cell{min-height:80px;padding:6px;gap:5px}.month-count{font-size:11px}.month-cell .tiny{font-size:9px}.month-cell .spread{flex-wrap:wrap}.admin-check-grid{grid-template-columns:1fr}}
/* Alpha 06.2: true-scale cards with density based on the available height. */
.timeline-event{gap:1px;padding:3px 6px;line-height:13px;min-width:0}.timeline-event .event-top{display:flex;align-items:center;gap:4px;width:100%;min-width:0;flex:none;height:15px}.timeline-event .event-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:0 1 auto;font-size:12px;line-height:15px}.timeline-event .event-marks{display:flex;align-items:center;flex:none;gap:2px}.timeline-event .event-marks:empty{display:none}.timeline-event .event-marks .care-mark{margin-left:0;height:13px;line-height:13px;min-width:13px;font-size:9px}.timeline-event .event-top small{margin-left:auto;flex:none;white-space:nowrap;line-height:13px}.timeline-event .event-top .state{font-size:10px;line-height:12px;padding:0;border:0;background:transparent;white-space:nowrap}.timeline-event .event-product,.timeline-event .event-time{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:13px;flex:none}.timeline-event .event-time{font-size:10px;opacity:.82}.timeline-event.tiny{padding:2px 5px}.timeline-event.tiny .event-time{display:none}.timeline-event.micro{padding:0 4px;justify-content:center}.timeline-event.micro .event-product,.timeline-event.micro .event-time,.timeline-event.micro .event-top small,.timeline-event.micro .event-marks{display:none}.catalog-config [hidden]{display:none!important}.catalog-config-heading{display:flex;gap:10px;align-items:baseline}.catalog-config-heading h3{font-size:18px;margin:0}.catalog-tabs{display:flex;gap:12px;overflow:auto;white-space:nowrap}.catalog-config h3{margin:0;font-size:14px}.catalog-option{border:1px solid var(--line);padding:12px;display:grid;gap:10px;border-radius:4px}.catalog-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.catalog-textarea{resize:vertical;min-height:75px}.catalog-config .field{min-width:0}.catalog-config .field .input{width:100%;box-sizing:border-box}@media(max-width:550px){.catalog-three{grid-template-columns:1fr}.catalog-tabs{gap:7px}}

.photo-rights{display:grid;gap:8px;padding:12px 0;border-top:1px solid #dce1e7;margin-top:10px}.photo-progress-row{display:grid;grid-template-columns:48px minmax(50px,1fr) 65px;align-items:center;gap:12px;font-size:12px}.photo-progress-row strong{text-align:right;font-variant-numeric:tabular-nums}.photo-progress-track{height:5px;background:#e4e9ef;border-radius:2px;overflow:hidden}.photo-progress-track i{display:block;height:100%;background:#8199b6;border-radius:2px}.photo-pending{color:#906429}.photo-rights .spread{gap:8px;flex-wrap:wrap}

.care-mark.reshoot{background:#e5edef;color:#547582}

/* Alpha 07.6: shared workspace list components. */
.sale-tabs{margin:0;border-bottom:0;flex-wrap:wrap;gap:6px}.sale-table td{vertical-align:middle}.work-reason{white-space:normal;overflow-wrap:anywhere;max-width:420px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.sale-table td:first-child{min-width:140px}.sale-table td:nth-child(2){min-width:150px}.sale-table td:nth-child(3){min-width:125px}.sale-table td:last-child{white-space:nowrap}

@media(min-width:901px){.metrics.my-work-three{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Alpha 07.6.1: consistent filter rhythm and direct settlement reminders. */
.sale-filters{display:flex;align-items:center;gap:20px;flex-wrap:wrap;min-width:0}.sale-tabs{gap:22px;flex-wrap:nowrap;overflow:visible;align-items:center}.sale-tabs .tab{height:34px;min-height:34px;flex:0 0 auto;padding:0 2px;white-space:nowrap}.sale-mine{margin:0;flex:none;min-height:30px;white-space:nowrap}.sale-sort{white-space:nowrap}.receipt-reminder-list{display:grid;margin:8px 0 2px;border-top:1px solid var(--line)}.receipt-reminder-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:inherit;width:100%;min-width:0;cursor:pointer}.receipt-reminder-row:hover{background:var(--soft)}.receipt-reminder-customer{display:grid;gap:4px;min-width:0;flex:1}.receipt-reminder-customer strong,.receipt-reminder-customer small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receipt-reminder-customer small{font-size:11px;color:var(--muted)}.receipt-reminder-amount{display:flex;align-items:center;gap:3px;flex:none;font-size:12px;white-space:nowrap;color:#906429;font-variant-numeric:tabular-nums}.receipt-reminder-amount.refund{color:#a54e49}.work-retry{margin:12px 0}@media(max-width:600px){.sale-filters{gap:12px}.sale-tabs{gap:16px}.sale-sort{font-size:11px}}

.photo-preview-area{background:var(--soft);padding:10px;text-align:center;border:1px solid var(--line);border-radius:4px}.photo-preview-area img{display:block;max-width:100%;max-height:360px;object-fit:contain;margin:auto}

/* Analytics follows existing workspace metrics and table visual language. */
.analysis-range{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.analysis-range .input{width:auto;min-width:125px}.analysis-panel{background:var(--surface,#fff);border:1px solid var(--line,#e1e5eb);border-radius:8px;padding:18px;margin:18px 0;min-width:0}.analysis-panel h2{font-size:15px;margin:0 0 12px}.analysis-panel .table-wrap{overflow-x:auto}.analysis-amount{font-size:clamp(17px,2vw,28px);overflow-wrap:anywhere}.analysis-chart{display:flex;align-items:stretch;gap:5px;min-height:190px;margin:12px 0;overflow:hidden}.analysis-day{flex:1;min-width:0;text-align:center}.analysis-bars{height:165px;display:flex;align-items:flex-end;justify-content:center;gap:2px;border-bottom:1px solid #dce2e9}.analysis-bar{width:24%;max-width:25px;border-radius:2px 2px 0 0}.analysis-bar.sales,.analysis-legend span:nth-child(1):before{background:#a9b8c8}.analysis-bar.received,.analysis-legend span:nth-child(2):before{background:#607e9f}.analysis-bar.refunded,.analysis-legend span:nth-child(3):before{background:#bd9470}.analysis-legend{display:flex;gap:16px;flex-wrap:wrap}.analysis-legend span:before{content:'';display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px}.analysis-day .tiny{font-size:10px;white-space:nowrap}.analysis-panel .table{min-width:580px}
/* Alpha 08.0.1: local layout, no global metric overrides. */
.analysis-root{display:grid;gap:18px;min-width:0;container-type:inline-size}.analysis-root .analysis-range{margin:0;gap:16px;align-items:flex-end}.analysis-presets,.analysis-dates{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;min-width:0}.analysis-presets .btn{height:34px;min-width:56px;white-space:nowrap}.analysis-presets .active{background:#e3eaf3;color:#354b65;border-color:#b4c1d2}.analysis-date-field{display:grid;gap:5px;font-size:11px;color:var(--muted);min-width:0}.analysis-root .analysis-date-field .input{height:34px;width:142px;min-width:0;padding:5px 8px;font-size:12px}.analysis-dates>.btn{height:34px}.analysis-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:white;border-radius:4px;overflow:hidden}.analysis-metric{min-width:0;padding:17px 18px;display:grid;align-content:start;gap:8px;border-right:1px solid var(--line)}.analysis-metric:last-child{border:0;background:#f5f7fa}.analysis-root .analysis-amount{font-size:clamp(17px,2.05vw,27px);line-height:1.25;letter-spacing:-.55px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.analysis-root .negative{color:#a54e49}.analysis-root .analysis-panel{margin:0;padding:18px;border-radius:4px;min-width:0}.analysis-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-bottom:16px}.analysis-root .analysis-panel h2{margin:0;font-size:15px}.analysis-root .analysis-legend{gap:8px 18px;margin-bottom:16px}.analysis-chart-wrap{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px}.analysis-axis{height:180px;display:flex;flex-direction:column;justify-content:space-between;text-align:right;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums;line-height:1}.analysis-chart-scroll{min-width:0;overflow-x:auto;padding-bottom:4px}.analysis-root .analysis-chart{display:grid;grid-template-columns:repeat(var(--days),minmax(32px,1fr));gap:0;min-width:calc(var(--days)*32px);min-height:0;margin:0;overflow:visible;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#e9edf2 calc(25% - 1px),#e9edf2 25%) 0 0/100% 180px no-repeat}.analysis-root .analysis-bars{height:180px;border-bottom:1px solid #dce2e9;gap:2px}.analysis-day-label{font-size:10px;line-height:1.3;color:var(--muted);white-space:nowrap;margin-top:7px;font-variant-numeric:tabular-nums}.analysis-hint{font-size:11px;color:var(--muted);line-height:1.5;margin:12px 0 0}.analysis-table .num{text-align:right;font-variant-numeric:tabular-nums}.analysis-root .analysis-table th,.analysis-root .analysis-table td{padding-inline:12px}.analysis-flow{display:inline-flex;align-items:center;gap:5px;color:#466c56}.analysis-flow:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.analysis-flow.refund{color:#a54e49}@container(max-width:820px){.analysis-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-metric:nth-child(2){border-right:0}.analysis-metric:nth-child(-n+2){border-bottom:1px solid var(--line)}}@container(max-width:380px){.analysis-metrics{grid-template-columns:minmax(0,1fr)}.analysis-metric{border-right:0;border-bottom:1px solid var(--line)}.analysis-root .analysis-panel{padding:12px}.analysis-chart-wrap{grid-template-columns:38px minmax(0,1fr);gap:5px}.analysis-root .analysis-date-field .input{width:126px}}
#work-reminder{position:fixed;right:18px;top:60px;width:min(390px,calc(100vw - 36px));z-index:1190;pointer-events:none}.work-alert{pointer-events:auto;display:flex;align-items:center;gap:10px;padding:13px;background:#fff;border:1px solid #b9c9da;border-radius:5px;box-shadow:0 6px 22px #263b5522}.work-alert-icon{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e7edf5;color:#536d90}.work-alert .grow{min-width:0;overflow-wrap:anywhere}.work-alert .sub{margin:3px 0 0;font-size:11px}.work-alert .btn{flex:none}
.analysis-date-field>.custom-control{width:142px;min-width:0}.analysis-date-field .control-trigger{height:34px;min-height:34px;padding:5px 8px;gap:5px;font-size:12px}.analysis-date-field .control-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@container(max-width:380px){.analysis-date-field>.custom-control{width:126px}}

/* Alpha 08.1 · reconciliation inside the standard dialog */
.reconciliation-table{min-width:540px}.reconciliation-table .input{min-width:94px;width:100%;text-align:right;font-variant-numeric:tabular-nums}.reconciliation-history{border-bottom:1px solid var(--line,#e7e8eb);padding:10px 0}.reconciliation-history summary{cursor:pointer;font-size:13px}.reconciliation-history .table{min-width:420px}.reconciliation-history .sub{margin:8px 0}.reconciliation-table th{white-space:nowrap}
.dialog:has(#reconciliation-form){width:min(840px,100%);min-width:0}.dialog:has(#reconciliation-form)>.stack{min-width:0}.dialog:has(#reconciliation-form) .stack{min-width:0}

/* Alpha 08.2: local, scoped layout improvements */
.home-root{min-width:0;container-type:inline-size}.home-root .metrics{border:1px solid var(--line);border-radius:4px;padding:0;margin-bottom:24px;gap:0;overflow:hidden;grid-template-columns:repeat(4,minmax(0,1fr))}.home-root .metric{position:relative;padding:15px 18px;border:0;border-right:1px solid var(--line);min-width:0}.home-root .metric:last-child{border-right:0}.home-root .metric.selected{background:#f0f4f8;box-shadow:inset 0 -2px #60748f}.home-root .metric:hover{background:#f5f7fa}.home-root .metric-title{line-height:1.5;min-height:18px}.home-root .metric-n{font-size:29px;letter-spacing:-.8px;margin:7px 0 3px}.home-root .dashboard-grid{gap:24px;grid-template-columns:minmax(0,1fr) minmax(235px,265px)}.home-root .dashboard-grid>section{min-width:0}.home-root .tabs{gap:20px}.home-root .table th,.home-root .table td{padding:11px 12px;vertical-align:middle}.home-root .table td{height:54px}.home-root .table td:first-child{white-space:nowrap}.home-root .table td:nth-child(3){min-width:100px;overflow-wrap:anywhere}.home-root .table td:last-child{white-space:nowrap}.home-root .table tbody tr:hover{background:#f5f7fa}.home-root .side-panel{padding-left:18px}.home-root .slot-line{height:33px;grid-template-columns:46px minmax(0,1fr) 42px;padding:0 5px;gap:8px;border-radius:3px}.home-root .slot-line.current{background:#eaf0f6;color:#354b65;font-weight:600}.home-root .slot-line .bar.closed{background:#e9eaed}.home-root .side-note p{line-height:1.65}.home-root .section-head{align-items:baseline;flex-wrap:wrap}.home-root .receipt-reminder-row{gap:5px}.home-root .receipt-reminder-amount{white-space:nowrap}
@container(max-width:840px){.home-root .dashboard-grid{grid-template-columns:1fr}.home-root .side-panel{border-left:0;border-top:1px solid var(--line);padding:16px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.home-root .side-note{margin:0;padding:0;border:0}}
@container(max-width:560px){.home-root .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-root .metric{padding:12px 14px}.home-root .metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.home-root .metric:nth-child(2){border-right:0}.home-root .side-panel{grid-template-columns:1fr}.home-root .tabs{gap:16px}}
.analysis-product-name{font-weight:550;white-space:normal;overflow-wrap:anywhere;max-width:300px}.operating-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin:0 0 14px}.operating-kpis>div{background:#fff;padding:12px;min-width:0;display:grid;gap:8px}.operating-kpis span{font-size:12px;color:var(--muted)}.operating-kpis strong{font-size:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.analysis-warning{padding:9px 12px;background:#faf6ee;color:#86602d;margin-bottom:10px;font-size:12px}@container(max-width:720px){.operating-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Alpha 08.3: customers and readable analytics, using the existing table language. */
.customer-root{display:grid;gap:16px;min-width:0}.customer-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.customer-search .input{flex:1 1 240px;max-width:360px;min-width:0}.customer-filters,.customer-profile-actions,.customer-link-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.customer-filters .active{background:var(--surface-2,#edf1f5);font-weight:600}.customer-insights{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;margin-top:18px}.customer-insights h3{font-size:13px;margin:0 0 12px}.customer-band{display:grid;grid-template-columns:112px minmax(0,1fr) 40px;align-items:center;gap:10px;margin:12px 0;font-size:12px}.customer-band strong{text-align:right;font-variant-numeric:tabular-nums}.customer-band-track{height:6px;background:#e8edf2;border-radius:2px;overflow:hidden}.customer-band-track i{display:block;height:100%;background:#8195af;border-radius:2px}.customer-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.customer-profile-actions{margin:12px 0 20px}.customer-history{gap:12px;flex-wrap:wrap}.customer-history .grow{min-width:0;overflow-wrap:anywhere}.customer-match-list{display:grid;gap:6px;max-height:240px;overflow:auto;margin-top:8px}.customer-match{display:flex!important;flex-direction:column;align-items:flex-start!important;text-align:left;white-space:normal!important;height:auto!important;padding:10px!important;gap:4px!important}.customer-match small{color:#77808c}.customer-link-tools{margin-top:10px}.customer-link-tools [hidden]{display:none!important}@media(max-width:900px){.customer-insights{grid-template-columns:1fr}} 

.member-source-kpis{margin-top:12px}.customer-filters{flex-wrap:wrap;row-gap:8px}

/* Alpha 10.0 catalog */
.catalog-tabs{flex-wrap:wrap;row-gap:4px}.taxonomy-edit{border-top:1px solid var(--line,#ddd);padding-top:16px;margin-top:8px}.taxonomy-edit h3{margin-bottom:12px}.catalog-config [data-config-panel=channels] h3{margin-top:8px}

/* Alpha 11.0 — shared visual refinement. Existing component geometry and business state styles remain intact. */
:root{--bg:#fff;--side:#f4f5f6;--ink:#252b32;--muted:#626b75;--line:#dfe3e7;--accent:#34485b;--accent-soft:#e5ebef;--soft:#f6f7f8;--green:#367454;--blue:#3c6388;--amber:#8a5e22;--red:#a5433e;--r:6px;font-size:14px;line-height:1.5}
body{font-kerning:normal;-webkit-font-smoothing:antialiased}
h1,h2,h3{line-height:1.35;letter-spacing:0}h1{font-weight:640}h2{font-weight:620}
.muted,.sub,.tiny.muted,.small.muted{color:var(--muted)}.sub{font-size:13px;line-height:1.65}.tiny{font-size:11px}.small{font-size:12px}
.sidebar{background:var(--side);border-color:var(--line)}.brand{height:62px}.brand-sub{font-size:9px;letter-spacing:1px;color:#626b75}.wordmark{color:#29313a}.wordmark em{color:#677b8b}
.store-tile{background:#fff;border-color:var(--line);border-radius:7px}.store-icon,.avatar{background:#e3e8eb;color:#3a5062}.nav-heading{font-size:11px;color:#69717a;margin-top:10px}.nav-item{height:35px;min-height:35px;border-radius:6px;color:#4c5661;font-size:13px;line-height:1.35;border-left:2px solid transparent}.nav-item:hover,.profile:hover{background:#e9edf0}.nav-item.active{background:#e1e8ed;color:#253e50;border-left-color:#617d90;box-shadow:none;font-weight:630}.nav{gap:3px}.nav-item:focus-visible,.profile:focus-visible{outline:2px solid #7896aa;outline-offset:-2px}
.topbar{background:#fff;border-color:var(--line);gap:10px}.crumb,.top-actions{min-width:0}.crumb strong{overflow:hidden;text-overflow:ellipsis}.global-search{background:#f5f6f7;color:#5d6772;border-color:var(--line);border-radius:6px}.key{color:#626b75}.page-head h1{font-size:23px;letter-spacing:-.25px}.page-head{gap:14px;margin-bottom:20px;min-width:0}.page-head>div:first-child,.head-actions{min-width:0}.head-actions{flex-wrap:wrap;justify-content:flex-end;margin-top:0}.head-actions:empty{display:none}
.work{background:#fff}.btn,.input,select,textarea,.control-trigger{border-color:#cfd6dc;border-radius:6px}.btn{font-weight:550;line-height:1.3}.btn:hover:not(:disabled){background:#eef2f4;border-color:#aebbc4}.btn.primary:hover:not(:disabled){background:#293d4e;border-color:#293d4e}.btn.ghost:hover:not(:disabled){background:#edf0f2;border-color:transparent}.btn:disabled{opacity:.52}.btn.sm{font-size:12px}.btn.icon{flex-shrink:0}.btn svg{flex-shrink:0}
.input,select,textarea,.control-trigger{font-size:13px;line-height:1.45;max-width:100%}.input::placeholder,textarea::placeholder{color:#78828c}.field{min-width:0;grid-template-columns:minmax(0,1fr);gap:7px}.field>label{font-size:13px;line-height:1.45}.field>small{font-size:12px;line-height:1.5}.field textarea{width:100%;min-height:70px}.field .custom-control{width:100%}.control-trigger{height:36px;min-height:36px}.control-trigger .control-label{line-height:1.4}.control-popover{border-radius:8px;box-shadow:0 8px 28px #24344524;overscroll-behavior:contain}.picker-option{min-width:0;line-height:1.45}.picker-option>span{min-width:0;overflow-wrap:anywhere}.search-field{border-color:#cfd6dc;border-radius:6px;max-width:100%;min-width:0}.search-field:focus-within,.product-search-wrap:focus-within{outline:2px solid #7896aa;outline-offset:0}.search-field input{font-size:13px}.input:focus,select:focus,textarea:focus{outline:2px solid #7896aa;outline-offset:0}button:focus-visible,a:focus-visible{outline:2px solid #7896aa;outline-offset:2px}.input[aria-invalid=true]{border-color:#b85b52}
.table{font-size:13px;line-height:1.45}.table th{font-size:12px;font-weight:550;color:#59646e;background:#f5f6f7}.table td{border-color:#e5e8eb}.table .main-text{font-size:13px}.table .sub-text{font-size:11px;color:#626b75}.table-wrap{max-width:100%;overscroll-behavior-inline:contain}.table tr.clickable:hover,.home-root .table tbody tr:hover{background:#f4f7f8}.state{font-size:12px}.metric-title{color:#5c6873;font-size:13px}.metric-note{color:#68737d;font-size:12px}.metric-n{font-weight:600;letter-spacing:-.6px}.tab{font-size:13px;color:#626b75;flex-shrink:0}.tab span{color:#626b75;font-size:11px}.tab.active{color:#344e62}.tab.active:after{background:#617d90}.section-head{min-width:0;flex-wrap:wrap}.section-head .count{font-size:12px;color:#68737d}.filter-caption{color:#626b75}
.dialog{border-radius:10px;box-shadow:0 14px 54px #2634482b;grid-template-columns:minmax(0,1fr);overscroll-behavior:contain}.dialog h2,.drawer-head h2{font-size:19px;line-height:1.4}.dialog p{font-size:13px;line-height:1.65;color:var(--muted)}.dialog>.spread>h2,.drawer-head>div:first-child{min-width:0;overflow-wrap:anywhere}.drawer-foot{flex-wrap:wrap;background:#f8f9fa}.drawer-body,.order04-main,.order04-side{min-width:0;overscroll-behavior:contain}.stack,.details-grid{min-width:0}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.details-grid>*{min-width:0;overflow-wrap:anywhere}.settings-panel{border-radius:8px}.notice{line-height:1.6;border-radius:6px}.notice span{min-width:0;overflow-wrap:anywhere}.feedback-content{min-width:0;overflow-wrap:anywhere}.head-actions>.btn,.toolbar .btn{flex-shrink:0}.toolbar>.flex,.date-nav{min-width:0;flex-wrap:wrap}.order04-header .care-tools{flex-wrap:wrap}.order04-header .spread>div:first-child{overflow-wrap:anywhere}.order04-tabs{overscroll-behavior-inline:contain}.order04-compact-foot{min-width:0}.photo-preview-area{border-radius:6px}
/* Staff access and initial store selection share one quiet, functional layout. */
.auth-page{min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto;background:#f5f6f6;color:#252b32;padding:32px clamp(20px,5vw,72px) 20px;gap:24px}.auth-brand{display:flex;align-items:center;gap:14px}.auth-brand .wordmark{font-size:32px;letter-spacing:-1.6px}.auth-brand>span{font-size:13px;color:#626b75;border-left:1px solid #d5dadd;padding-left:14px}.auth-main{display:grid;place-items:center;min-width:0;padding:20px 0 38px}.auth-card{width:min(100%,404px);background:white;padding:34px 34px 32px;border:1px solid #dfe3e7;border-radius:12px;box-shadow:0 4px 18px #23334108;min-width:0}.auth-heading h1{font-size:24px;font-weight:620;letter-spacing:-.35px}.auth-sub{font-size:13px;color:#626b75;margin:9px 0 26px}.auth-card .login-form{width:100%;display:grid;gap:18px}.auth-card .field{gap:7px}.auth-card .input{height:44px;padding:10px 12px;font-size:14px}.auth-password{position:relative;min-width:0}.auth-password .input{padding-right:65px}.auth-password-toggle{position:absolute;right:6px;top:5px;height:34px;padding:0 9px;color:#566b7c;background:transparent;border:0;border-radius:4px;font-size:12px}.auth-password-toggle:hover{background:#f0f2f4}.auth-card .auth-submit,.auth-store-form button[type=submit]{height:44px;width:100%;font-size:14px}.auth-error{font-size:13px;line-height:1.55;color:#9e3c37;background:#fbf2f1;border:1px solid #efd6d2;border-radius:6px;padding:10px 12px;overflow-wrap:anywhere}.auth-error[hidden]{display:none}.auth-footer{font-size:12px;color:#69737c;text-align:center}.auth-footer span{padding:0 5px}.auth-store-form{display:grid;gap:16px;margin-top:16px}.auth-store-form .stack{gap:12px}.auth-store-form .store-choice{border-radius:7px}.auth-store-form .store-choice.selected{background:#eaf0f3;border-color:#90a5b3}.auth-store-form .store-choice .grow span{color:#626b75}.auth-store-form #store-error:empty{display:none}
@media(max-width:1150px){.ops-week-row{grid-template-columns:repeat(4,minmax(0,1fr))}.ops-week-row>strong,.ops-week-row>.radio-choice{grid-column:span 2}}
@media(max-width:760px){.page-head{align-items:flex-start;gap:10px}.head-actions{justify-content:flex-start}.top-actions{gap:5px}.global-search{min-width:0}.global-search .key{display:none}.crumb{gap:4px}.crumb>span{display:none}.work{padding:16px 12px 28px}.toolbar .flex{flex-wrap:wrap}.dialog-wrap{padding:12px}.dialog{max-height:calc(100dvh - 24px);padding:18px}.table td{padding:9px 10px}.auth-page{padding:22px 18px 16px}.auth-card{padding:26px 22px}.auth-main{padding:12px 0 26px}}
@media(max-width:420px){.global-search span{display:none}.global-search{width:34px;justify-content:center;padding:0}.auth-page{gap:14px}.auth-brand .wordmark{font-size:29px}.auth-card{padding:24px 18px}.auth-main{align-items:start;padding-top:28px}.details-grid{grid-template-columns:minmax(0,1fr)}.ops-week-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-week-row>strong,.ops-week-row>.radio-choice{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.drawer,.order04,.dialog,.feedback-toast{animation:none!important}.btn{transition:none}}
/* Form-specific fixes: labels and narrow drawers should not force sibling controls out. */
.member-level-row.flex{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:8px}.member-level-row .input{width:100%;min-width:0}.member-level-row .btn{white-space:nowrap}.radio-choice{line-height:1.45;min-width:0}.radio-choice input{flex-shrink:0}.admin-check-grid>*{min-width:0}.store-choice .grow strong{overflow-wrap:anywhere}.custom-time-form .input{width:100%}.field textarea.input{height:auto;min-height:80px;line-height:1.6}.order04-header .care-tools{row-gap:6px}.topbar .crumb>.btn{flex-shrink:0}.store-choice:focus-within{outline:2px solid #7896aa;outline-offset:2px}
@media(max-width:700px){.ops-week-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-week-row>strong,.ops-week-row>.radio-choice{grid-column:auto}}
@media(max-width:360px){.member-level-row.flex{grid-template-columns:minmax(0,1fr) auto}.member-level-row input:first-child{grid-column:1/-1}.member-level-row input:nth-child(2){grid-column:1}}

/* Alpha 11.0.1 — focused refinement of the staff shell and access screens. */
.sidebar{background:#f3f4f5;padding:0 10px 10px;overflow:hidden;min-height:0}
.sidebar-head{flex:none;padding:0 2px 9px;border-bottom:1px solid #e0e4e7}
.sidebar .brand{height:65px;padding:0 9px;display:flex;align-items:center;justify-content:flex-start;gap:8px;white-space:nowrap}
.sidebar .wordmark{font-size:28px;letter-spacing:-1.5px;line-height:1;color:#293540}
.sidebar .brand-sub{font-size:11px;letter-spacing:0;margin:2px 0 0;padding-left:8px;border-left:1px solid #cfd5da;color:#5b6570;font-weight:500}
.brand-mini{display:none;font-size:25px;font-weight:760;letter-spacing:-1.4px;color:#293540;line-height:1}.brand-mini em{font-style:normal;color:#677b8b}
.sidebar .store-tile{width:100%;min-width:0;min-height:54px;padding:9px;margin:0;gap:9px;text-align:left;background:#fff;border:1px solid #dce1e5;border-radius:8px;display:flex;align-items:center;flex:none;color:#293540}
.sidebar .store-tile .store-icon{background:#edf0f2!important;color:#526879!important;width:30px;height:30px;border-radius:6px}
.store-context,.profile-caption{display:block;font-size:11px;line-height:1.4;color:#626b75;font-weight:400}
.sidebar .store-name{display:block;font-size:13px;line-height:1.5;font-weight:600}.store-switch-icon{color:#626b75;flex:none}.sidebar .store-switch:hover{border-color:#abbac5;background:#f9fafb}.sidebar .store-switch:focus-visible{outline-offset:-2px}
.sidebar-nav{min-height:0;flex:1;overflow:auto;padding:8px 0 4px;scrollbar-width:thin;scrollbar-color:#cbd3d8 transparent}
.sidebar-nav .nav-heading{margin:12px 0 6px;padding:0 11px;font-size:11px;font-weight:500;color:#626b75}.sidebar-nav .nav{margin-bottom:14px;gap:3px}.sidebar-nav .nav:last-child{margin-bottom:0}
.sidebar .nav-item{height:35px;min-height:35px;gap:10px;padding:0 11px;border:1px solid transparent;border-radius:7px;font-weight:500;color:#505c65;background:transparent;box-shadow:none}.sidebar .nav-item svg{color:#65737f}.sidebar .nav-item:hover{background:#e6eaed;color:#293540}.sidebar .nav-item.active{background:#dce5eb;border-color:#d2dce3;color:#28465b;font-weight:650;box-shadow:0 1px 1px #253d4e08}.sidebar .nav-item.active svg{color:#28465b;stroke-width:2}
.sidebar-bottom{flex:none;margin-top:0;padding:8px 0 0;border-top:1px solid #dce1e5}.sidebar-bottom .nav{margin:0 0 6px;gap:0}.sidebar .profile{min-height:54px;padding:8px;gap:9px;background:#fff;border:1px solid #dce1e5;border-radius:8px}.sidebar .profile:hover{background:#e9edf0;border-color:#cbd5dc}.sidebar .profile .avatar{width:34px;height:34px;background:#dce5eb;color:#34485b;font-size:14px;font-weight:650;border-radius:10px}.sidebar .profile>svg{color:#65737f}
.collapsed .sidebar{padding:0 7px 9px}.collapsed .sidebar-head{padding:0 0 9px}.collapsed .sidebar .brand{height:65px;justify-content:center;padding:0}.collapsed .sidebar .brand .wordmark,.collapsed .sidebar .brand-sub,.collapsed .store-switch-icon{display:none}.collapsed .brand-mini{display:block}.collapsed .sidebar .store-tile{justify-content:center;padding:5px;min-height:42px;background:transparent;border-color:transparent}.collapsed .sidebar .nav-item{justify-content:center;padding:0}.collapsed .sidebar .profile{justify-content:center;padding:5px;border-color:transparent;background:transparent;min-height:46px}.collapsed .sidebar .profile:hover{background:#e9edf0}
@media(max-width:760px){.sidebar{padding:0 7px 9px}.sidebar-head{padding:0 0 9px}.sidebar .brand{height:56px;justify-content:center;padding:0}.sidebar .brand .wordmark,.sidebar .brand-sub,.store-switch-icon{display:none}.brand-mini{display:block}.sidebar .store-tile{justify-content:center;padding:5px;min-height:42px;background:transparent;border-color:transparent}.sidebar .nav-item{justify-content:center;padding:0}.sidebar .profile{justify-content:center;padding:5px;border-color:transparent;background:transparent;min-height:46px}.sidebar .profile:hover{background:#e9edf0}}
/* Search is explicitly opt-in and inline with the two identity fields. */
.customer-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px}.customer-entry.with-lookup{grid-template-columns:repeat(2,minmax(0,1fr)) auto}.customer-entry .customer-link-tools{margin:0;align-self:end;display:flex;flex-wrap:nowrap}.customer-entry .customer-lookup{height:36px;color:#40566a;font-size:13px;padding:0 12px;background:#f6f8f9;border-color:#cfd6dc}.customer-entry .customer-lookup:hover{background:#e9edf0}.customer-entry .input[readonly]{background:#f5f6f7;color:#505c65}.customer-linked{margin-top:8px;color:#367454}.customer-linked[hidden],#customer-matches:empty{display:none!important}#customer-matches:not(:empty){margin-top:9px}#customer-matches .notice{margin:0}
@media(max-width:540px){.customer-entry{grid-template-columns:minmax(0,1fr)}.customer-entry.with-lookup{grid-template-columns:minmax(0,1fr) auto;gap:9px}.customer-entry.with-lookup>.field:first-child{grid-column:1/-1}.customer-entry .customer-lookup{padding:0 9px;font-size:12px}}
/* A quiet, contained brand panel, rather than the former oversized promotional screen. */
.auth-page{background:#f2f3f4;grid-template-rows:1fr auto;gap:20px;padding:28px clamp(18px,5vw,72px) 22px}.auth-main{padding:24px 0 12px}.auth-frame{width:min(100%,760px);display:grid;grid-template-columns: minmax(0, .88fr) minmax(0,1.12fr);background:#fff;border:1px solid #dce1e5;border-radius:16px;overflow:hidden;box-shadow:0 18px 60px #2c3c4c10;min-width:0}.auth-identity{background:#34485b;color:#fff;padding:34px 29px;display:flex;flex-direction:column;justify-content:space-between;gap:36px;min-width:0}.auth-identity-brand .wordmark{font-size:38px;color:#fff;letter-spacing:-2px}.auth-identity-brand .wordmark em{color:#aabdc9}.auth-identity-brand>span{font-size:13px;color:#dce6ec;display:block;margin-top:12px}.auth-identity-line{width:36px;height:2px;background:#aabdc9;margin-bottom:16px}.auth-identity-copy h2{font-size:23px;letter-spacing:.2px;font-weight:570;line-height:1.4}.auth-identity-copy p{color:#d3dfe7;font-size:13px;margin-top:6px}.auth-identity-foot{color:#dce6ec;font-size:12px;letter-spacing:.25px}.auth-frame .auth-card{width:100%;border:0;border-radius:0;box-shadow:none;padding:44px 36px;align-self:center}.auth-frame .auth-heading h1{font-size:24px}.auth-frame .auth-sub{margin-bottom:25px}.auth-frame .auth-submit{margin-top:4px}.auth-footer{color:#626b75}
@media(max-width:650px){.auth-page{padding:18px 16px 14px;gap:14px}.auth-main{padding:12px 0}.auth-frame{max-width:440px;grid-template-columns:minmax(0,1fr);border-radius:12px}.auth-identity{padding:21px 23px;gap:12px;flex-direction:row;align-items:center;justify-content:space-between}.auth-identity-brand .wordmark{font-size:31px}.auth-identity-brand>span{margin-top:5px;font-size:12px}.auth-identity-line,.auth-identity-copy p,.auth-identity-foot{display:none}.auth-identity-copy h2{font-size:15px;white-space:nowrap}.auth-frame .auth-card{padding:28px 24px 30px}.auth-frame .auth-heading h1{font-size:22px}}
.sidebar .store-info .store-name{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.4}

/* Alpha 11.0.2 — retain the wordmark, restore the lighter hierarchy of the rail. */
.sidebar-head{padding-bottom:5px;border-bottom:0}
.sidebar .store-tile{min-height:47px;padding:6px 7px;gap:8px;border-radius:6px;border-color:#d9dee3;background:#fafbfc}
.sidebar .store-tile .store-icon{background:#34485b!important;color:#fff!important;width:28px;height:28px;border-radius:5px}
.sidebar .store-info .store-name{font-size:12px;font-weight:650;line-height:1.42;word-break:normal;overflow-wrap:anywhere}
.sidebar .store-context{font-size:11px;margin-top:2px;line-height:1.35}
.sidebar .store-switch-icon{margin-left:1px;color:#677581}
.sidebar .store-switch:hover{background:#fff;border-color:#aebbc5}
.sidebar-nav{padding-top:4px}
.sidebar-nav .nav-heading{margin-top:12px}
.sidebar .nav-item{border-radius:5px;border:1px solid transparent}
.sidebar .nav-item.active{background:#e0e6eb;border-color:transparent;box-shadow:inset 2px 0 #607b8e;color:#293f51;font-weight:650}
.sidebar .nav-item.active svg{color:#3c566b;stroke-width:1.8}
.sidebar .profile{min-height:45px;background:transparent;border-color:transparent;padding:6px 7px;gap:9px;border-radius:6px}
.sidebar .profile:hover{background:#e5e9ed;border-color:transparent}
.sidebar .profile .avatar{width:32px;height:32px;border-radius:50%;background:#dfe5e9;color:#405668;font-size:13px}
.sidebar .profile-info .store-name{font-size:13px;line-height:1.35}
.sidebar .profile-caption{margin-top:2px;line-height:1.3}
.sidebar-bottom{padding-top:7px}.sidebar-bottom .nav{margin-bottom:3px}
.collapsed .sidebar-head{padding-bottom:5px}
.collapsed .sidebar .store-tile{padding:5px;background:transparent;border-color:transparent;min-height:42px}
.collapsed .sidebar .profile{padding:5px;min-height:44px}
@media(max-width:760px){.sidebar-head{padding-bottom:5px}.sidebar .store-tile{padding:5px;background:transparent;border-color:transparent;min-height:42px}.sidebar .profile{padding:5px;min-height:44px}}
/* Photographic framing marks: quiet perimeter, no extra copy, no input interference. */
.auth-page{position:relative;isolation:isolate;background:#f1f2f3}
.auth-page::before,.auth-page::after{content:'';position:absolute;pointer-events:none;z-index:-1;inset:30px clamp(24px,4vw,60px) 52px}
.auth-page::before{border:1px solid #dce1e4;background:linear-gradient(#dce1e4,#dce1e4) center 15%/100% 1px no-repeat,linear-gradient(#dce1e4,#dce1e4) center 85%/100% 1px no-repeat}
.auth-page::after{--mark:#98a7b1;--l:22px;--s:1px;background:linear-gradient(var(--mark),var(--mark)) left top/var(--l) var(--s) no-repeat,linear-gradient(var(--mark),var(--mark)) left top/var(--s) var(--l) no-repeat,linear-gradient(var(--mark),var(--mark)) right top/var(--l) var(--s) no-repeat,linear-gradient(var(--mark),var(--mark)) right top/var(--s) var(--l) no-repeat,linear-gradient(var(--mark),var(--mark)) left bottom/var(--l) var(--s) no-repeat,linear-gradient(var(--mark),var(--mark)) left bottom/var(--s) var(--l) no-repeat,linear-gradient(var(--mark),var(--mark)) right bottom/var(--l) var(--s) no-repeat,linear-gradient(var(--mark),var(--mark)) right bottom/var(--s) var(--l) no-repeat}
.auth-main{position:relative;z-index:1}.auth-footer{position:relative;z-index:1}
@media(max-width:650px),(max-height:580px){.auth-page::before,.auth-page::after{inset:9px 9px 39px}.auth-page::before{background:none}.auth-page::after{--l:12px}}
/* Keep the store name full-width; the switching affordance belongs to its metadata row. */
.sidebar .store-tile{position:relative}
.sidebar .store-switch .store-context{padding-right:18px}
.sidebar .store-switch-icon{position:absolute;right:8px;bottom:8px;margin:0}
/* Alpha 11.0.3 — store is context, not a promotional card. */
.sidebar .store-minimal{border:0;border-radius:5px;background:transparent;min-height:50px;padding:8px 10px;gap:10px;margin:0 0 3px;text-align:left}
.sidebar .store-minimal .store-icon{background:transparent!important;color:#647582!important;width:22px;height:22px;border-radius:0}
.sidebar .store-minimal .store-info{min-width:0}.sidebar .store-minimal .store-context{display:flex;align-items:center;justify-content:space-between;padding:0;margin:0 0 3px;font-size:10.5px;letter-spacing:.15px;color:#65717b}
.sidebar .store-minimal .store-name{font-size:13px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}
.sidebar .store-minimal .store-switch-icon{position:static;display:inline-flex;margin:0;color:#647582}.sidebar .store-minimal.store-switch:hover{background:#e6eaed}.sidebar-head{border-bottom:1px solid #dce1e5;padding-bottom:8px}.collapsed .sidebar .store-minimal{justify-content:center;padding:5px;min-height:40px}.collapsed .sidebar .store-minimal .store-info{display:none}
@media(max-width:760px){.sidebar .store-minimal{justify-content:center;padding:5px;min-height:40px}.sidebar .store-minimal .store-info{display:none}}
/* A page composition rather than a dark card nested in a card. */
.auth-refined.auth-page{background:#f6f7f7;grid-template-rows:auto 1fr auto;gap:0;padding:30px clamp(24px,6vw,88px) 24px;min-height:100dvh}
.auth-refined.auth-page::before{inset:85px clamp(24px,6vw,88px) 62px;border:0;border-top:1px solid #dce2e5;border-bottom:1px solid #dce2e5;background:none}.auth-refined.auth-page::after{display:none}
.auth-masthead{display:flex;align-items:center;gap:15px;min-height:40px}.auth-masthead .wordmark{font-size:34px;line-height:1.1}.auth-masthead>span{font-size:12px;color:#64717a;border-left:1px solid #cdd4d8;padding-left:15px}
.auth-refined .auth-main{padding:36px 0;align-items:center}.auth-refined .auth-frame{width:min(100%,880px);border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:clamp(32px,7vw,96px);align-items:center}
.auth-refined .auth-identity{background:transparent;color:#263540;padding:0 0 10px;display:block;min-width:0}.auth-kicker{color:#5b7181;letter-spacing:2px;font-size:11px;font-weight:600;margin-bottom:18px}.auth-refined .auth-identity h2{font-size:clamp(30px,3vw,42px);font-weight:620;line-height:1.25;letter-spacing:1px;margin:0}.auth-refined .auth-identity p{font-size:15px;color:#65717b;margin:17px 0 0;line-height:1.6}.auth-identity-rule{height:1px;background:#9aaab4;width:64px;margin-top:30px}
.auth-refined .auth-card{background:white;padding:36px 34px;border:1px solid #d9e0e4;border-radius:12px;box-shadow:0 8px 30px #26354008;min-width:0}.auth-refined .auth-heading h1{font-size:23px;font-weight:650;letter-spacing:0}.auth-refined .auth-sub{margin:8px 0 24px}.auth-refined .auth-footer{display:flex;justify-content:space-between;align-items:center;text-align:left;padding-top:16px;gap:12px}.auth-refined .auth-footer span{padding:0}
@media(max-width:720px){.auth-refined.auth-page{padding:22px 22px 16px}.auth-refined.auth-page::before{inset:72px 22px 51px}.auth-refined .auth-main{padding:28px 0}.auth-refined .auth-frame{max-width:420px;grid-template-columns:1fr;gap:22px}.auth-refined .auth-identity{padding:0}.auth-kicker{font-size:10px;margin-bottom:7px;letter-spacing:1px}.auth-refined .auth-identity h2{font-size:25px}.auth-refined .auth-identity p{font-size:12px;margin-top:6px}.auth-identity-rule{display:none}.auth-refined .auth-card{padding:25px 23px}.auth-masthead .wordmark{font-size:30px}.auth-refined .auth-footer{font-size:11px;padding-top:7px}}
/* Classification workspace: independently scrollable navigation and readable editor. */
.taxonomy-manager{min-width:0;display:grid;gap:14px}.tax-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.tax-grid{display:grid;grid-template-columns:minmax(210px, .86fr) minmax(0,1.14fr);gap:18px;align-items:start}.tax-browser{border:1px solid var(--line);border-radius:7px;min-width:0;overflow:hidden}.tax-tools{display:flex;align-items:center;gap:7px;padding:10px;background:#f7f8f9}.tax-search{position:relative;display:flex;align-items:center;flex:1;min-width:0}.tax-search>svg{position:absolute;left:9px;pointer-events:none;color:var(--muted)}.tax-search .input{width:100%;min-width:0;padding-left:29px;font-size:12px}.tax-tools .btn{white-space:nowrap}.tax-summary{font-size:11px;line-height:1.5;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line)}.tax-tree{padding:6px;max-height:min(60vh,600px);overflow:auto;min-height:140px;scrollbar-width:thin}.tax-row{display:flex;align-items:center;padding-left:calc(var(--depth)*15px);border-radius:5px;min-width:0;gap:1px;min-height:34px}.tax-row:hover{background:#f0f3f5}.tax-row.selected{background:#e1e8ed;box-shadow:inset 2px 0 #607b8e}.tax-toggle{display:grid;place-items:center;width:22px;height:32px;flex:none;border:0;background:transparent;color:#637581;padding:0}.tax-toggle.blank{pointer-events:none}.tax-node-label{min-width:0;display:flex;align-items:center;gap:5px;flex:1;min-height:34px;padding:5px 6px 5px 0;text-align:left;border:0;background:transparent;color:var(--ink);font:inherit}.tax-node-name{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.4}.tax-row.selected .tax-node-name{font-weight:650}.tax-count{flex:none;color:#65717b;font-size:11px;min-width:19px;text-align:right;font-variant-numeric:tabular-nums}.tax-off{font-size:10px;color:#8a5e22;flex:none}.tax-orphan{border-top:1px solid var(--line);color:#8a5e22;font-size:12px;padding:8px 6px}.tax-empty{padding:15px;color:var(--muted)}.tax-detail{min-width:0;padding:2px 0}.tax-detail-head{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:16px}.tax-detail-head>div{min-width:0;overflow-wrap:anywhere}.tax-detail-head h3{margin:5px 0;font-size:17px}.tax-detail-head .btn{white-space:nowrap}.tax-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tax-full{grid-column:1/-1}.tax-fields .field{min-width:0}.tax-save{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:12px}.tax-placeholder{padding:26px 14px;color:var(--muted);border:1px dashed var(--line);border-radius:7px}.tax-placeholder h3{color:var(--ink);margin-bottom:7px}.tax-move-note{background:#faf6ef;border:1px solid #e8d9bd;color:#775724;border-radius:6px;padding:12px;font-size:12px;line-height:1.6}.tax-move-note[hidden]{display:none}.tax-move-note p{margin:6px 0}.tax-confirm{display:flex;align-items:center;gap:7px}.tax-confirm input{width:16px;height:16px;flex:none}.tax-detail #taxonomy-error:empty{display:none}
@media(max-width:650px){.tax-grid{grid-template-columns:minmax(0,1fr);gap:12px}.tax-tree{max-height:235px;min-height:80px}.tax-fields{gap:10px}.tax-detail-head{margin-bottom:10px}}@media(max-width:400px){.tax-fields{grid-template-columns:1fr}}

/* Alpha 11.0.5 — page-level controls share one size; dense table/dialog buttons remain untouched. */
:root{--page-control-height:36px}
.page-title-line{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.head-actions>.btn,.calendar-toolbar .btn,.month-tools .btn{height:var(--page-control-height);min-height:var(--page-control-height);font-size:13px;line-height:1.35;padding:0 12px;box-sizing:border-box;gap:7px}
.head-actions>.btn{min-width:108px}.head-actions>.btn.icon{width:var(--page-control-height);min-width:var(--page-control-height);padding:0}
.calendar-toolbar .calendar-tools{gap:12px;align-items:center}.calendar-toolbar .calendar-tools>.btn{min-width:108px}
.date-nav{gap:8px;align-items:center}.date-stepper{display:inline-flex;align-items:center;min-width:0;flex-shrink:0}
.date-stepper>.btn.icon{width:var(--page-control-height);min-width:var(--page-control-height);padding:0;flex-shrink:0}
.date-stepper>.btn:first-child{border-radius:6px 0 0 6px}.date-stepper>.btn:last-child{border-radius:0 6px 6px 0}
.date-stepper>.custom-control{width:174px;flex:0 0 174px;margin:0 -1px}
.date-stepper .control-trigger,.date-stepper>.date-input,.date-stepper>.month-value{height:var(--page-control-height);min-height:var(--page-control-height);box-sizing:border-box;border-radius:0;font-size:13px;line-height:1.35;white-space:nowrap}
.date-stepper .control-trigger{padding:0 9px;gap:6px;position:relative}.date-stepper .control-trigger svg{flex-shrink:0}
.date-stepper>.month-value{display:flex;align-items:center;justify-content:center;width:138px;border:1px solid #cfd6dc;background:#fff;margin:0 -1px;font-weight:550;font-variant-numeric:tabular-nums}
.date-stepper>.btn:hover,.date-stepper .control-trigger:hover,.date-stepper .control-trigger[aria-expanded=true]{position:relative;z-index:1}
.date-stepper :focus-visible{position:relative;z-index:2}
.date-nav>.date-reset{min-width:60px}
.cancelled-toggle{display:inline-flex;align-items:center;gap:5px;padding:4px 6px;border:1px solid transparent;background:transparent;border-radius:5px;color:var(--muted);font-size:12px;font-weight:450;line-height:1.3;white-space:nowrap;cursor:pointer}
.cancelled-toggle:hover{background:#edf0f2;color:var(--ink)}.cancelled-toggle.is-on{background:#e5ebef;color:#34485b;border-color:#d7e0e6}.cancelled-toggle:focus-visible{outline:2px solid #8196b0;outline-offset:2px}
@media(max-width:760px){.head-actions>.btn{min-width:0}.calendar-toolbar .calendar-tools>.btn{min-width:0}}
@media(max-width:420px){.date-stepper>.custom-control{width:152px;flex-basis:152px}.date-stepper .control-trigger{padding:0 6px;gap:4px}.date-stepper .control-trigger svg:first-child{display:none}.date-nav{gap:6px}}

/* Alpha 11.3.2 — correction workspace, scoped to avoid affecting normal order editing. */
.correction-summary{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.correction-summary>div,.correction-original{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}
.correction-kinds{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.correction-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.correction-compare>div{display:grid;gap:12px;min-width:0}
.correction-original,.correction-review{background:#f3f5f7;border:1px solid #e1e5e9;border-radius:6px;padding:12px}
.correction-review{display:grid;gap:10px;margin-top:12px}
.correction-review .correction-original{background:#fff}
.correction-form textarea{min-height:78px;resize:vertical;line-height:1.5}
.correction-event{white-space:normal;overflow-wrap:anywhere;max-width:100%}
@media(max-width:600px){.correction-summary{grid-template-columns:1fr 1fr}.correction-summary>div:first-child{grid-column:1/-1}.correction-compare{grid-template-columns:1fr}}
.correction-compare .correction-original{min-height:69px}
.correction-compare .field{margin:0;min-height:69px;justify-content:center}
.correction-review{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.correction-review>h3,.correction-review>p{grid-column:1/-1;margin:0}
.correction-review .correction-original{min-width:0}
@media(max-width:600px){.correction-review{grid-template-columns:1fr}}
