:root{color-scheme:light;--ink:#1a303b;--muted:#72828b;--teal:#147f70;--teal-light:#e8f5ef;--bg:#f3f6f5;--line:#e4eae8;--sidebar:#142a35;--danger:#b74646;--shadow:0 12px 35px #17342e09;font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #5bc4ad;outline-offset:3px}a{color:var(--teal);text-decoration:none}svg{display:block;width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.35;letter-spacing:-.5px}h2{font-size:17px;font-weight:650}h3{font-size:15px}small{font-size:12px}.muted{color:var(--muted)}.mono{font-variant-numeric:tabular-nums}.positive{color:var(--teal)}.negative{color:var(--danger)}.boot{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted)}.brand-symbol{flex:0 0 auto;width:100%;max-width:200px;height:66px;border-radius:8px;background:#000;overflow:hidden;line-height:0}.brand-symbol img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%}.boot .brand-symbol{width:200px}.app-shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;display:flex;flex-direction:column;background:var(--sidebar);color:#bdcbd0;padding:29px 20px;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:white;padding:0 10px 32px}.brand h2{font-size:19px;letter-spacing:.8px}.brand p{font-size:10px;letter-spacing:2.5px;color:#869fa9;margin-top:2px}.nav-label{padding:0 15px;margin:14px 0 11px;color:#75909a;font-size:10px;letter-spacing:2px}.nav-list{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;border:0;background:none;color:#a9bec6;border-radius:8px;text-align:left;padding:12px 15px;transition:background .15s,color .15s}.nav-item:hover{background:#1d3945;color:#fff}.nav-item.active{color:#8ce4cc;background:#23423f}.nav-item.active:after{content:"";width:5px;height:5px;border-radius:50%;background:#68d5b6;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:22px 10px 0}.share-note{padding:15px 13px;border:1px solid #37505a;border-radius:10px;color:#b7d1d3;margin-bottom:22px}.share-note small{display:block;color:#78969f;margin-top:5px}.user-line{display:flex;align-items:center;gap:10px;min-width:0}.avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#e6eeeb;color:var(--teal);font-weight:700}.sidebar .avatar{background:#35515a;color:#cce5df}.user-line>div{min-width:0}.user-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}.user-role{font-size:11px;color:#829da7}.logout{margin-left:auto;background:none;border:0;color:#9ab2bb;padding:5px}.main{grid-column:2;min-width:0}.topbar{height:81px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{display:flex;gap:12px;align-items:center;color:#93a09f;font-size:12px}.breadcrumb span:last-child{color:#3c565e}.topbar-right{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px}.online-dot{width:6px;height:6px;border-radius:50%;background:#35aa84;display:inline-block;margin-right:6px}.role-pill{padding:5px 11px;background:#f2f6f4;border-radius:20px;color:#526a6a;border:1px solid #e7eeea}.mobile-menu{display:none}.content{max-width:1600px;margin:auto;padding:33px 40px 28px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;color:#7d938e;letter-spacing:2px;text-transform:uppercase;margin-bottom:8px}.page-description{margin-top:10px;color:var(--muted);font-size:13px}.heading-actions{display:flex;gap:10px;padding-top:15px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;white-space:nowrap;padding:10px 17px;border-radius:7px;font-size:12px;font-weight:600;border:1px solid transparent;min-height:40px;transition:filter .15s,background .15s}.button:hover{filter:brightness(.96)}.button svg{width:16px;height:16px}.button.primary{color:#fff;background:var(--teal);border-color:var(--teal)}.button.secondary{background:#fff;border-color:#dce5e0;color:#425f60}.button.danger{background:#fff4f2;border-color:#f0cfca;color:var(--danger)}.button.small{font-size:11px;padding:6px 11px;min-height:31px}.button.link{padding:4px;background:none;color:var(--teal);min-height:0}.week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;padding:13px 18px;border:1px solid var(--line);border-radius:9px;margin-bottom:22px}.week-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.week-title{font-weight:650;font-size:13px}.week-dates{font-variant-numeric:tabular-nums;color:#6c827b;font-size:12px}.week-input{border:0!important;background:#f3f6f4!important;padding:5px 8px!important;width:139px!important;font-size:12px!important;min-height:31px!important}.icon-button{border:1px solid var(--line);background:white;display:inline-grid;place-items:center;color:#67817b;border-radius:6px;width:31px;height:31px;font-size:21px;line-height:1}.icon-button svg{width:15px;height:15px}.week-arrow-group{display:flex;gap:5px}.rule-note{font-size:11px;color:#7d8f87}.rule-note strong{font-weight:650;color:#3e7465}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.stat-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 21px;min-height:140px;box-shadow:var(--shadow)}.stat-label{color:#768a83;font-size:12px;display:flex;align-items:center;gap:7px}.stat-label svg{width:15px;height:15px}.stat-value{font-size:29px;font-weight:650;line-height:1.35;margin:13px 0 8px;letter-spacing:-.8px;font-variant-numeric:tabular-nums;white-space:nowrap}.currency{font-size:17px;font-weight:500;margin-right:5px}.stat-detail{font-size:11px;color:#93a198}.stat-card.featured{background:#1e5d4c;border-color:#1e5d4c;color:#fff}.stat-card.featured .stat-label{color:#b4d3c5}.stat-card.featured .stat-detail{color:#9abeb0}.stat-card .stat-corner{position:absolute;right:20px;top:19px;color:#aac9bb}.stat-card .stat-corner svg{width:19px;height:19px}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:22px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:22px}.grid-two>.panel{margin-bottom:0}.panel-heading{padding:21px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:4px}.panel-body{padding:0 23px 23px}.panel-footer{border-top:1px solid #f0f3f1;padding:12px 23px;color:#87998e;font-size:11px;display:flex;justify-content:space-between;gap:15px}.chart{position:relative;min-height:190px;padding:5px 0 0;display:flex}.chart-scale{width:51px;display:flex;flex-direction:column;justify-content:space-between;height:153px;font-size:10px;color:#9baba1;padding-bottom:0}.chart-grid{position:absolute;inset:5px 0 33px 51px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.chart-grid i{display:block;border-top:1px dashed #e9eeeb}.bars{flex:1;position:relative;display:grid;grid-template-columns:repeat(7,1fr);gap:15px;align-items:end;z-index:1;min-width:0}.day-bar{height:185px;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:10px;position:relative}.bar-fill{width:min(31px,70%);min-height:3px;border-radius:4px 4px 0 0;background:#a9d8c5;transition:height .25s}.day-bar:last-child .bar-fill{background:#1d8c6c}.bar-label{font-size:10px;color:#8b9a91;height:20px;white-space:nowrap}.bar-amount{font-size:9px;color:#3d7b63;position:absolute;bottom:calc(var(--bar-height) + 31px);max-width:100%;white-space:nowrap}.legend{display:flex;align-items:center;gap:6px;font-size:10px;color:#80978b}.legend:before{content:"";width:7px;height:7px;background:#acd8c5;border-radius:2px}.breakdown{padding-top:2px}.breakdown-item{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:11px 0}.breakdown-item span:first-child{color:#72867b}.breakdown-item strong{font-variant-numeric:tabular-nums;font-weight:600}.breakdown-item.total{border-top:1px solid var(--line);margin-top:5px;padding-top:15px}.breakdown-item.total span:first-child{font-weight:650;color:#284e3c}.profit-track{height:7px;background:#eef3ef;border-radius:10px;overflow:hidden;margin-top:13px}.profit-track span{display:block;height:100%;background:#348d6b;border-radius:10px}.split-label{display:flex;justify-content:space-between;font-size:10px;color:#8b9b90;margin-top:7px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:12px}th{color:#889a91;font-weight:500;font-size:11px;background:#f8faf9;border-bottom:1px solid #edf1ee;padding:12px 22px}td{padding:15px 22px;border-bottom:1px solid #eff3f0;color:#40594c;font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:0}.number{text-align:right}.employee-cell{display:flex;align-items:center;gap:10px}.employee-cell .avatar{width:31px;height:31px;flex-basis:31px;border-radius:9px;font-size:12px}.employee-cell strong{font-size:12px;font-weight:600;display:block}.employee-cell small{font-size:10px;color:#8c9c92;display:block}.status{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:3px 8px;background:#edf6ef;color:#5c9773;border-radius:4px;white-space:nowrap}.status:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.status.warn{background:#fff5e4;color:#ab8b4e}.status.disabled{background:#f0f2f1;color:#8b9690}.status.bad{background:#fcefee;color:#b46761}.cell-actions{display:flex;gap:9px;justify-content:flex-end}.table-empty{padding:47px 24px;text-align:center;color:#8c9d92;white-space:normal}.empty-icon{width:46px;height:46px;border:1px solid #dce9e0;border-radius:12px;display:grid;place-items:center;margin:0 auto 11px;background:#f6f9f6;color:#88ad98}.table-empty h3{color:#506e5c;margin-bottom:5px;font-weight:600}.table-empty p{font-size:12px}.table-empty .button{margin-top:15px}.table-tools{padding:0 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.search-field{position:relative;width:290px;max-width:100%}.search-field svg{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#89a090}.search-field input{padding-left:35px}.page-footnote{display:flex;justify-content:space-between;gap:15px;color:#9aa69d;font-size:10px;padding:0 2px}.loading-panel{padding:85px 20px;text-align:center;color:#809388}.error-panel{padding:35px 24px;border:1px solid #efd8d1;background:#fff8f5;border-radius:10px;color:#8b5244}.error-panel .button{margin-top:16px}.notice{padding:12px 15px;border:1px solid #dae8dd;background:#f3f8f2;border-radius:7px;color:#65836b;font-size:12px;line-height:1.8}.notice.warning{background:#fff9eb;color:#967c49;border-color:#f1e5c8}.notice.compact{margin-bottom:20px}.list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.employee-card{border:1px solid var(--line);background:white;border-radius:10px;padding:22px}.employee-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.employee-card .avatar{width:43px;height:43px;border-radius:12px;font-size:17px}.employee-card h3{font-weight:650;font-size:16px}.employee-card .account{color:#8a9a90;font-size:11px;margin-top:2px}.employee-card .account:before{content:"@"}.employee-card .employee-card-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.employee-card-actions{display:flex;gap:10px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .panel-body{padding-top:4px}.settings-item{padding:14px 0;border-bottom:1px solid #edf2ee;display:flex;justify-content:space-between;align-items:center;gap:15px}.settings-item:last-child{border-bottom:0}.settings-item h3{font-size:12px}.settings-item p{font-size:11px;color:#85998a;margin-top:4px}.settings-value{font-size:13px;color:#347051}.settings-grid .button{margin-top:13px}.audit-list{font-size:12px}.audit-row{padding:14px 0;border-bottom:1px solid #edf2ee;display:grid;grid-template-columns:155px 1fr 120px;gap:15px}.audit-row:last-child{border-bottom:0}.audit-row time{color:#8b9b90;font-size:11px}.audit-row .actor{color:#6f8b77;text-align:right}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1.05fr;background:#f7f9f7}.auth-story{background:#142d36;color:white;display:flex;flex-direction:column;padding:45px max(45px,10vw);position:relative;overflow:hidden}.auth-story:before,.auth-story:after{content:"";position:absolute;width:400px;height:400px;border:1px solid #2a4a4c;border-radius:50%;right:-230px;top:24%}.auth-story:after{width:600px;height:600px;right:-330px;top:12%}.auth-story .brand{padding:0;position:relative;z-index:1}.auth-story-body{margin:auto 0;position:relative;z-index:1;padding:65px 0}.auth-story .eyebrow{color:#7eaea0;font-size:11px;letter-spacing:3px}.auth-story h1{font-size:39px;font-weight:550;letter-spacing:1px;line-height:1.7;margin:16px 0 22px}.auth-story-body>p{font-size:13px;color:#9bb9b7;line-height:2}.auth-rule{display:flex;gap:30px;margin-top:45px;padding-top:25px;border-top:1px solid #335054}.auth-rule strong{display:block;color:#95ddc2;font-size:27px;font-weight:500;line-height:1.3}.auth-rule span{font-size:10px;color:#86a8a3}.auth-footer{font-size:10px;color:#658d8a;position:relative;z-index:1}.auth-main{padding:50px 30px;display:grid;place-items:center}.auth-box{width:360px;max-width:100%}.auth-box .eyebrow{margin-bottom:10px}.auth-box h2{font-size:26px;letter-spacing:-.5px;margin-bottom:10px}.auth-box>p{font-size:12px;color:#83958a;margin-bottom:27px}.auth-box form{display:flex;flex-direction:column;gap:18px}.auth-box .button{margin-top:5px;min-height:44px;font-size:13px}.auth-hint{font-size:11px;color:#91a295;margin-top:25px!important;text-align:center}.auth-error{padding:10px 13px;font-size:12px;background:#fff0eb;border:1px solid #f0d7ce;color:#a75940;border-radius:6px;margin:0!important}label{display:block;font-size:12px;color:#536f5d;font-weight:500;margin-bottom:7px}input,select,textarea{display:block;width:100%;min-height:40px;border:1px solid #dce6df;border-radius:6px;background:#fff;color:#294b38;padding:9px 11px;font-size:12px;outline:none}input:focus,select:focus,textarea:focus{border-color:#4f9e7d;box-shadow:0 0 0 3px #53a87d13}input::placeholder,textarea::placeholder{color:#a1afa5}textarea{resize:vertical;min-height:75px}input[readonly]{background:#f5f8f4;color:#8a9d8f}.field-hint{color:#91a195;font-size:10px;margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field.full{grid-column:1/-1}.form-error{font-size:12px;color:#a34d43;margin-top:16px;background:#fff2ee;padding:10px 12px;border-radius:6px}.form-error[hidden]{display:none}dialog{border:0;border-radius:12px;width:560px;max-width:calc(100vw - 30px);padding:0;box-shadow:0 25px 90px #102b3440;color:var(--ink);max-height:calc(100vh - 40px);overflow-y:auto}dialog::backdrop{background:#142d3a75;backdrop-filter:blur(3px)}.modal-heading{padding:23px 26px 18px;display:flex;justify-content:space-between;gap:18px}.modal-heading h2{font-size:19px}.modal-heading p{font-size:11px;color:#8b9c91;margin-top:5px}.modal-heading .icon-button{border:0;background:#f3f7f4;flex-shrink:0}#modal-fields{padding:0 26px 23px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:17px 26px;border-top:1px solid var(--line);background:#fafcf9}#modal-error{margin:0 26px 20px}.toast{position:fixed;left:50%;bottom:27px;transform:translateX(-50%);background:#234e3c;color:white;padding:12px 24px;box-shadow:0 8px 30px #1c473a25;border-radius:8px;z-index:60;font-size:12px;max-width:calc(100vw - 30px);text-align:center}.toast.error{background:#974d44}.toast[hidden]{display:none}.subtle-tag{font-size:10px;border:1px solid #e1e9e2;border-radius:4px;padding:3px 7px;color:#819686}.text-wrap{max-width:230px;white-space:normal;overflow-wrap:anywhere}.section-note{font-size:11px;color:#8a9e90;padding:10px 23px 18px}.password-only{max-width:500px;margin:70px auto;padding:30px}.password-only>p{color:#819888;margin:12px 0 25px;font-size:12px}.password-only form{display:flex;flex-direction:column;gap:17px}.password-only .button{margin-top:4px}.password-only .logout-forced{margin-top:18px;color:#8b9e91;background:none;border:0;font-size:12px}.payments-heading{font-size:14px;font-weight:600;padding:20px 23px 13px;border-top:1px solid var(--line)}.week-toolbar .button.link{font-size:11px}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.content{padding:38px 55px}.topbar{padding:0 55px}.stats{gap:22px}.stat-value{font-size:34px}}@media(max-width:1200px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px;padding-left:14px;padding-right:14px}.content{padding:28px}.topbar{padding:0 28px}.stats{gap:12px}.stat-card{padding:18px 16px}.stat-value{font-size:25px}.grid-two{grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);gap:17px}.list-grid{grid-template-columns:repeat(2,1fr)}.rule-note{font-size:10px}th,td{padding-left:17px;padding-right:17px}.auth-story{padding-left:55px;padding-right:40px}}@media(max-width:950px){.sidebar{width:190px;padding:25px 12px}.app-shell{grid-template-columns:190px minmax(0,1fr)}.brand{padding-left:7px;padding-right:0;gap:9px}.brand h2{font-size:17px}.content{padding:25px 22px}.topbar{padding:0 22px;height:70px}.stats{grid-template-columns:repeat(2,1fr);gap:14px}.stat-card{min-height:130px}.grid-two{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.page-heading{gap:10px}.heading-actions{padding-top:5px}.rule-note{display:none}.auth-story h1{font-size:31px}.auth-story{padding-left:35px}.auth-rule{gap:23px}}@media(max-width:700px){.app-shell{display:block}.sidebar{transform:translateX(-100%);width:230px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:15px 0 70px #152e3745}.main{width:100%}.topbar{height:62px;padding:0 19px}.breadcrumb{font-size:11px}.topbar-right .online-state{display:none}.mobile-menu{display:inline-grid;margin-right:2px;border:0}.topbar-left{display:flex;align-items:center;gap:9px}.content{padding:23px 17px 30px}.page-heading{align-items:center;margin-bottom:22px}.eyebrow{font-size:9px;letter-spacing:1.4px}h1{font-size:23px}.page-description{font-size:11px;max-width:250px;margin-top:7px}.heading-actions{padding:0;gap:6px;justify-content:flex-end}.heading-actions .button{padding:9px 10px;font-size:11px}.heading-actions .button svg{width:13px;height:13px}.week-toolbar{padding:12px;gap:7px;margin-bottom:18px}.week-control{gap:8px}.week-title{font-size:12px}.week-dates{font-size:10px}.week-input{width:122px!important;font-size:11px!important}.week-arrow-group{gap:3px}.week-arrow-group .icon-button{width:26px;height:28px}.stats{gap:11px;margin-bottom:18px}.stat-card{padding:16px 14px;min-height:122px}.stat-value{font-size:25px;margin-top:11px;margin-bottom:5px}.stat-label{font-size:11px}.stat-detail{font-size:10px}.stat-card .stat-corner{right:13px;top:15px}.grid-two{gap:18px;margin-bottom:18px}.panel{margin-bottom:18px}.panel-heading{padding:18px 17px 14px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:10px}.panel-body{padding-left:17px;padding-right:17px}.panel-footer{padding-left:17px;padding-right:17px;font-size:10px}.chart-scale{width:42px;font-size:9px}.chart-grid{left:42px}.bars{gap:7px}.bar-label{font-size:9px}.bar-amount{font-size:8px}.page-footnote{font-size:9px}.page-footnote span:last-child{display:none}.table-tools{padding-left:17px;padding-right:17px}.table-tools .muted{font-size:10px}.list-grid{grid-template-columns:1fr}.employee-card{padding:19px}.auth-page{display:block}.auth-story{padding:23px 25px 26px}.auth-story .brand .brand-symbol{width:172px;height:66px;line-height:0}.auth-story .brand h2{font-size:17px}.auth-story .brand p{font-size:8px}.auth-story-body{padding:30px 0 0}.auth-story-body .eyebrow{display:none}.auth-story h1{font-size:25px;line-height:1.6;margin:0 0 10px}.auth-story-body>p{font-size:11px}.auth-rule,.auth-footer{display:none}.auth-main{padding:35px 25px 45px}.auth-box{width:100%;max-width:420px}.auth-box h2{font-size:23px}.auth-box form{gap:16px}.form-grid{gap:15px}.modal-heading{padding:21px 21px 17px}#modal-fields{padding-left:21px;padding-right:21px}.modal-footer{padding:15px 21px}#modal-error{margin-left:21px;margin-right:21px}.audit-row{grid-template-columns:1fr 90px;gap:3px 12px}.audit-row time{grid-column:1/-1}.password-only{margin:32px 17px;padding:24px}.text-wrap{max-width:180px}.payments-heading{padding-left:17px}.section-note{padding-left:17px;padding-right:17px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.heading-actions,.week-arrow-group,.week-input,.button,.page-footnote{display:none!important}.app-shell{display:block}.content{padding:0}.panel,.stat-card{box-shadow:none;break-inside:avoid}.stats{grid-template-columns:repeat(4,1fr)}body{background:#fff}.table-wrap{overflow:visible}.stat-card.featured{color:#1a303b;background:white}.stat-card.featured .stat-label,.stat-card.featured .stat-detail{color:#617466}}

/* Keep note columns readable when tables scroll on narrow screens. */
.text-wrap{min-width:160px}
.icon-button.mobile-menu{display:none}
@media(max-width:700px){.icon-button.mobile-menu{display:inline-grid}}

/* Role, registration and live-sync states. */
.auth-switch{margin-top:21px;font-size:12px;text-align:center;color:#83958a}.auth-switch button{border:0;background:none;color:var(--teal);font-weight:600;padding:4px 7px}.auth-notice{margin-bottom:20px}.level-badge{display:inline-block;padding:3px 9px;border-radius:5px;background:#edf5ee;color:#5a8065;font-size:10px;margin-top:12px}.level-badge.level-support{background:#edf2f7;color:#607e9d}.pending-card{border-color:#e9d8b0}.employee-card-actions{flex-wrap:wrap;justify-content:flex-end}.employee-card-bottom{align-items:flex-start}.online-state{display:flex;align-items:center;white-space:nowrap;font-size:11px}.online-state .online-dot{background:#a4b2aa}.online-state[data-state="connected"] .online-dot{background:#35aa84}.online-state[data-state="connecting"] .online-dot,.online-state[data-state="reconnecting"] .online-dot{background:#d5aa56}.share-note p{font-size:11px}.form-grid .field.full>.field+.field{margin-top:15px}@media(max-width:700px){.topbar-right .online-state{display:flex;font-size:9px}.topbar-right{gap:7px}.role-pill{font-size:10px;padding:4px 7px}.online-state{max-width:110px;white-space:normal;line-height:1.35}.online-state .online-dot{flex:0 0 5px}.breadcrumb span:first-child,.breadcrumb span:nth-child(2){display:none}.employee-card-bottom{gap:7px}.share-note p{font-size:11px}}

/* Completed-order submissions and employee review workflow. */
.workflow-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border:1px solid #dbe8df;background:#f1f7f2;border-radius:9px;margin-bottom:22px}.workflow-banner strong{font-size:13px;color:#386b50}.workflow-banner p{font-size:11px;color:#7a9381;margin-top:4px}.workflow-banner.has-pending{background:#fffbef;border-color:#eadfbb}.workflow-banner.has-pending strong{color:#92723e}.submission-tabs{display:flex;gap:7px;padding:0 23px 18px;border-bottom:1px solid var(--line);overflow-x:auto}.submission-tab{border:1px solid transparent;background:none;border-radius:7px;padding:8px 13px;color:#7a8f80;font-size:12px;white-space:nowrap;min-height:40px}.submission-tab span{margin-left:7px;background:#edf2ed;padding:1px 6px;border-radius:4px;font-size:10px}.submission-tab.active{background:#e9f3eb;color:#2f7d56;border-color:#dce9de}.submission-tab.active span{background:#d6e8da}.submission-tools{display:flex;align-items:center;gap:9px;padding:18px 23px}.submission-tools select{max-width:150px}.submission-week{padding:0 23px}.submission-week .week-toolbar{margin-bottom:15px}.submission-list{padding:0 23px 23px;display:grid;gap:14px}.submission-card{border:1px solid #e0e9e1;border-radius:9px;padding:18px 20px;background:#fff}.submission-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.submission-card-head strong{font-size:14px;overflow-wrap:anywhere}.submission-card-head p{font-size:11px;color:#819486;margin-top:3px}.submission-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:17px;padding:14px 0;border-top:1px solid #eef3ee;border-bottom:1px solid #eef3ee}.submission-metrics span{display:block;color:#8b9d8e;font-size:10px}.submission-metrics strong{display:block;font-size:12px;font-weight:550;margin-top:4px;font-variant-numeric:tabular-nums}.submission-note{font-size:11px;color:#819586;margin-top:12px;overflow-wrap:anywhere}.submission-card-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:14px}.submission-card-foot small{font-size:10px;color:#8fa08f}.submission-actions{display:flex;gap:8px;flex-shrink:0}.submission-trace{font-size:10px;color:#9aab9b;margin-top:8px}.rejection-note{background:#fff4ef;border:1px solid #efdcd0;padding:10px 13px;border-radius:6px;margin-top:12px;color:#a16f53;font-size:11px;overflow-wrap:anywhere}.rejection-note strong{font-weight:600}.rejection-note p{margin-top:3px}.rejection-note.compact{margin-top:0;margin-bottom:18px}.review-details{margin:0 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.review-details div{padding-bottom:9px;border-bottom:1px solid #edf2ed;min-width:0}.review-details dt{font-size:10px;color:#8b9e8d}.review-details dd{font-size:12px;margin:4px 0 0;overflow-wrap:anywhere;color:#4a6750}.sync-button{border:0;border-radius:5px;margin-left:7px;background:#eaf4ec;color:#397c54;min-height:32px;padding:5px 9px;white-space:nowrap;font-size:10px}.stat-value{max-width:100%;overflow-x:auto;scrollbar-width:thin}.modal-footer{position:sticky;bottom:0;z-index:2}@media(max-width:700px){.icon-button,.week-arrow-group .icon-button{width:40px;height:40px}.button.small{min-height:40px;padding:8px 12px}.button.link{min-height:40px;padding:8px 7px}.logout{min-width:40px;min-height:40px}.nav-item{min-height:44px}.topbar{padding:0 13px;gap:6px}.topbar-right{gap:5px}.topbar-right .online-state{max-width:145px;font-size:9px;flex-wrap:wrap;gap:2px}.sync-button{min-height:40px;font-size:9px;padding:5px 7px;margin-left:2px}.workflow-banner{padding:14px 15px;gap:12px;align-items:flex-start}.workflow-banner p{font-size:10px}.workflow-banner .button{white-space:normal;min-width:96px;font-size:10px}.submission-tabs{padding:0 16px 14px;gap:2px}.submission-tab{padding:8px 10px}.submission-tools{padding:15px 16px;flex-wrap:wrap}.submission-tools .search-field{width:calc(100% - 66px)}.submission-tools select{max-width:100%}.submission-list{padding:0 14px 16px;gap:12px}.submission-card{padding:15px}.submission-metrics{gap:10px;grid-template-columns:1fr 1fr}.submission-metrics div:last-child{grid-column:1/-1}.submission-card-foot{align-items:flex-start;flex-direction:column;gap:10px}.submission-actions{align-self:flex-end}.submission-week{padding:0 15px}.review-details{gap:10px 13px}.modal-footer .button{min-height:42px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.week-control{gap:7px}}
@media(max-width:700px){.auth-switch button,.password-only .logout-forced{min-height:40px;padding:8px 10px}}
.sidebar{overflow-y:auto}.sidebar .brand,.sidebar-bottom{flex-shrink:0}

/* Simple platform commission control; historical records retain their rate. */
.commission-inputs{display:flex;gap:28px;align-items:flex-end;max-width:540px}.commission-inputs>.field{flex:1;max-width:250px}.percentage-input{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dce6df;border-radius:6px;padding-right:13px}.percentage-input input{border:0;box-shadow:none;font-variant-numeric:tabular-nums;font-size:17px}.percentage-input span{font-size:15px;color:#7e9786}.percentage-input:focus-within{border-color:#4f9e7d;box-shadow:0 0 0 3px #53a87d13}.commission-preview{padding:1px 4px;min-width:145px}.commission-preview>span{display:block;color:#839988;font-size:11px}.commission-preview strong{font-size:26px;font-weight:600;color:#3e7956;line-height:1.5;font-variant-numeric:tabular-nums}.commission-preview small{font-size:15px;margin-left:3px;font-weight:400}.commission-policy{margin-top:17px}.commission-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:17px}.commission-actions>small{flex-basis:100%;font-size:10px}.commission-current{font-size:18px;color:#39744f;margin-bottom:10px}.payroll-rate{white-space:normal;min-width:180px;max-width:300px}.payroll-rate>strong{font-size:11px;font-weight:550}.payroll-rate>small{display:block;font-size:10px;color:#849987;margin-top:5px;line-height:1.8}.order-rate{font-size:11px;color:#70907c}.commission-panel .panel-body{padding-bottom:23px}@media(max-width:700px){.commission-inputs{gap:16px}.commission-preview{min-width:108px}.commission-inputs>.field{max-width:none}.commission-preview strong{font-size:24px}.commission-actions>.button{flex:1;min-height:42px}.commission-current{font-size:15px}.payroll-rate{min-width:165px}}

/* Per-companion commission controls; global remains the default. */
.employee-commission-summary{margin-top:13px;padding:10px 11px;background:#f4f8f3;border:1px solid #e3ece0;border-radius:6px;display:flex;flex-direction:column;gap:4px}.employee-commission-summary>span{font-size:10px;color:#8b9e89}.employee-commission-summary>span.personal-rate-source{color:#659472}.employee-commission-summary>strong{font-size:11px;font-weight:550;color:#577c5b}.personal-commission-preview{background:#f2f7ef;border:1px solid #e1eadb;padding:13px 14px;border-radius:7px;display:flex;flex-direction:column;gap:5px}.personal-commission-preview>span{font-size:10px;color:#8b9d83}.personal-commission-preview>strong{font-size:15px;font-weight:550;color:#47754a}.personal-commission-notice{margin:14px 0 0}.percentage-input input:disabled{background:#f5f7f3;color:#98a68d}.employee-card-actions{row-gap:6px}@media(max-width:700px){.employee-card-bottom .employee-card-actions{max-width:240px}.personal-commission-preview>strong{font-size:13px}}

/* Manager registration notifications remain live while editing forms. */
.registration-notification{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #e1e9df;border-radius:9px;background:#f7faf4;color:#809578}.registration-notification svg{width:19px;height:19px}.registration-notification.has-pending{color:#9d7943;background:#fff8e9;border-color:#ebdfbd}.registration-notification.has-unread{box-shadow:0 0 0 3px #e4c88720}.registration-notification-count{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;line-height:19px;padding:0 5px;border-radius:10px;background:#bc8650;color:#fff;font-size:10px;font-weight:650;border:1px solid #fff;font-variant-numeric:tabular-nums}.registration-notification-count[hidden],.registration-notification[hidden]{display:none}.registration-modal-alert{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 26px 17px;padding:11px 12px;border:1px solid #eddcb1;background:#fff7e6;border-radius:7px;color:#96723c;font-size:11px}.registration-modal-alert .button{flex-shrink:0;font-size:10px}.registration-modal-message{line-height:1.6}@media(max-width:700px){.topbar-right:has(.registration-notification) #sync-status{max-width:108px;font-size:9px}.topbar-right:has(.registration-notification){gap:5px}.registration-modal-alert{margin-left:21px;margin-right:21px;gap:8px;padding:10px}.registration-notification{border-radius:8px}.registration-modal-alert .button{padding:7px 9px}}

/* Same-origin public companion registration preserves staff sessions. */
.auth-switch a{display:inline-flex;align-items:center;justify-content:center;color:var(--teal);font-weight:600;padding:4px 7px;min-height:40px}.registration-success{margin:21px 0 17px}.registration-success-actions{display:flex;flex-direction:column;gap:11px;margin-top:23px}.registration-success-actions .button{width:100%;min-height:44px}
.draft-recovery{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 17px;margin-bottom:20px;background:#edf5ec;border:1px solid #d9e7d5;border-radius:8px;color:#557a51}.draft-recovery strong{font-size:12px}.draft-recovery p{font-size:10px;margin-top:3px;color:#82977b}.draft-list{display:grid;gap:10px}.draft-list-row{display:flex;gap:10px;align-items:center;border-bottom:1px solid #e9efe6;padding:10px 0}.draft-list-row>div{flex:1;min-width:0}.draft-list-row strong{font-size:12px}.draft-list-row small{display:block;color:#8a9a82;font-size:10px}.draft-restored-note{margin-bottom:17px}.checkbox-line{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:13px}.checkbox-line input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;accent-color:var(--teal)}.rate-change-warning p{font-size:11px;margin-top:7px}.rate-change-warning[hidden],.overpayment-confirm[hidden]{display:none}.overpayment-confirm{margin-top:17px}.overpayment-confirm>label:not(.checkbox-line){margin-top:12px}.voided-row td{color:#96a18d}.void-reason{display:block;color:#a38c6e;font-size:10px;margin-top:6px}.forgot-password{display:block;background:none;border:0;color:#72936d;font-size:11px;margin:15px auto 0;padding:7px;min-height:40px}@media(max-width:700px){.draft-recovery{padding:12px 13px;gap:10px}.draft-recovery .button{font-size:10px}.draft-list-row{flex-wrap:wrap}.draft-list-row>div{flex-basis:100%}.checkbox-line{min-height:40px}.checkbox-line input{width:20px;height:20px;min-height:20px;flex-basis:20px}}

/* Developer attribution remains visible on narrow screens. */
.developer-credit{margin-top:12px;font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.developer-credit a{color:inherit;text-decoration:underline;text-underline-offset:3px}.auth-box>.developer-credit,.password-only>.developer-credit{margin-top:22px;margin-bottom:0;font-size:11px;line-height:1.7;color:var(--muted)}

/* Customer requests share employee approval and payroll; no automatic payment. */
.sidebar{overflow:hidden}.sidebar>.brand,.sidebar>.nav-label,.sidebar>.consumer-entry,.sidebar-bottom{flex-shrink:0}.sidebar>.nav-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.profile-onboarding>strong{display:block;font-size:13px;line-height:1.8}.profile-onboarding>p{margin:8px 0 13px}.profile-account-choices{display:grid;gap:10px}.profile-account-choice{width:100%;display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);background:#fff;border-radius:9px;text-align:left;color:var(--ink);cursor:pointer}.profile-account-choice>span:first-child{flex:1;min-width:0}.profile-account-choice strong,.profile-account-choice small{display:block;overflow-wrap:anywhere}.profile-account-choice small{color:var(--muted);margin-top:5px}.profile-account-choice>svg{width:17px;flex:0 0 auto}.profile-media-editor{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0 8px}.profile-media-editor input[type=file]{font-size:11px;max-width:100%;width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:#fff}.profile-media-editor input::file-selector-button{border:0;background:#e7f0e9;color:#285f4d;border-radius:5px;padding:7px;margin-right:7px}.profile-media-editor .field>small{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin-top:7px}.profile-upload-status{font-size:11px;color:#49755d;line-height:1.9;min-height:20px}.profile-public-preview{margin:18px 0;padding:20px;border:1px solid #d6e2d5;border-radius:10px;background:#f4f7f1}.profile-public-preview>.eyebrow{margin-bottom:16px}.profile-preview-layout{display:grid;grid-template-columns:105px minmax(0,1fr);gap:20px}.profile-preview-photo{height:132px;background:#dce9dc;display:grid;place-items:center;overflow:hidden;border-radius:8px;font-size:30px;color:#5c8065}.profile-preview-photo img{width:100%;height:100%;object-fit:cover}.profile-preview-layout h3{font-size:19px;margin-bottom:9px;overflow-wrap:anywhere}.profile-preview-layout p{font-size:11px;line-height:1.9;color:#68816d;overflow-wrap:anywhere;margin-top:7px}.profile-preview-layout p strong{margin-right:8px;color:#466c55}.profile-preview-layout .profile-preview-bio{white-space:pre-wrap}.profile-voice-preview{margin-top:15px;font-size:10px;color:#68816d}.profile-voice-preview>span{display:block;margin-bottom:7px}.profile-voice-preview audio{display:block;width:100%;height:36px}.profile-media-summary{margin-top:13px!important;font-size:10px!important}.topbar-right>[data-action=add-public-profile]{font-size:11px;min-height:36px;padding:8px 12px;white-space:nowrap}@media(max-width:700px){.profile-media-editor{grid-template-columns:1fr;gap:16px}.profile-public-preview{padding:16px}.profile-preview-layout{grid-template-columns:76px minmax(0,1fr);gap:13px}.profile-preview-photo{height:103px}.profile-preview-layout h3{font-size:17px}.profile-account-choice{gap:9px;padding:13px}.profile-account-choice .status{font-size:9px;max-width:100px;white-space:normal}.topbar-right>[data-action=add-public-profile]{padding:7px 9px;font-size:10px}.topbar-right>[data-action=add-public-profile] svg{display:none}.topbar-right{gap:7px}}
.employee-guide-sections{display:grid;gap:24px;padding-bottom:25px}.employee-guide-section{min-width:0;padding-bottom:23px;border-bottom:1px solid var(--line)}.employee-guide-section:last-child{padding-bottom:0;border-bottom:0}.employee-guide-section h3{font-size:16px;color:#365e50;margin-bottom:12px;overflow-wrap:anywhere}.employee-guide-body{white-space:pre-line;overflow-wrap:anywhere;font-size:13px;line-height:1.95;color:#607a6a}.booking-wechat-guide{line-height:1.8}@media(max-width:700px){.employee-guide-sections{gap:20px;padding-bottom:20px}.employee-guide-section{padding-bottom:19px}.employee-guide-section h3{font-size:15px}.employee-guide-body{font-size:12px;line-height:1.9}}
.consumer-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:10px 15px;margin:10px 0;color:var(--teal);font-size:12px;border:1px solid var(--line);border-radius:8px;text-decoration:none}.sidebar>.consumer-entry{color:#a3c7bf;border-color:#34505b;margin-top:18px}.consumer-entry:hover{background:#eaf4ee}.sidebar>.consumer-entry:hover{background:#23444b}.auth-box>.consumer-entry{justify-content:center;margin-top:18px}.customer-request-card .submission-card-head>div{min-width:0}.customer-request-card .status{white-space:normal;text-align:center;flex-shrink:0;max-width:190px}.customer-request-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;margin:18px 0 0;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.customer-request-details div{min-width:0}.customer-request-details dt{font-size:10px;color:#879b8c}.customer-request-details dd{margin:5px 0 0;font-size:12px;color:#405e50;overflow-wrap:anywhere}.customer-requirements{font-size:12px;line-height:1.8;color:#66806e;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:15px}.customer-requirements>strong{display:block;font-size:10px;color:#879b8c;font-weight:500}.booking-progress{font-size:11px;color:#387e65;background:#eef7f1;border-radius:6px;padding:10px 12px;margin-top:13px;overflow-wrap:anywhere}.customer-request-card .submission-actions{flex-wrap:wrap;justify-content:flex-end;max-width:100%}.customer-request-card .submission-actions .button{min-height:40px;font-size:11px;padding:8px 12px}.customer-request-card .submission-card-foot{flex-wrap:wrap}.public-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding-bottom:24px}.public-profile-grid>.table-empty{grid-column:1/-1}.public-profile-card{border:1px solid var(--line);border-radius:10px;padding:19px;min-width:0}.public-profile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.public-profile-card h3{font-size:17px;margin-bottom:7px;overflow-wrap:anywhere}.public-profile-card>p{font-size:11px;line-height:1.8;color:#728a7a;overflow-wrap:anywhere}.public-profile-card>.public-profile-private{font-size:10px;color:#91a293;margin-bottom:11px}.public-profile-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.public-profile-tags .subtle-tag{max-width:100%;overflow-wrap:anywhere}.public-profile-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px}.public-profile-bottom .muted{font-size:10px}.public-profile-bottom .button{min-height:40px;font-size:11px}.consumer-entry:focus-visible{outline:2px solid #54a98b;outline-offset:3px}@media(max-width:950px){.public-profile-grid{grid-template-columns:1fr}}@media(max-width:700px){.customer-request-card .status{font-size:10px;max-width:128px}.customer-request-details{gap:13px 14px}.customer-request-card .submission-actions{width:100%;justify-content:flex-start;gap:7px}.customer-request-card .submission-actions .button{flex:1 1 auto;min-height:42px}.public-profile-grid{gap:13px;padding-bottom:18px}.public-profile-card{padding:16px}.customer-request-card .submission-card-foot{width:100%}.customer-request-card .submission-card-foot>small{overflow-wrap:anywhere}}

/* Companion-authored drafts and manager review stay separate from public data. */
.profile-status-panel .panel-body{padding-bottom:25px}.profile-status-panel h3{font-size:20px;margin:0 0 9px;color:#315e4a;overflow-wrap:anywhere}.profile-draft-tagline{font-size:12px;color:#718979;line-height:1.9;overflow-wrap:anywhere;margin-top:6px}.profile-workflow-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.profile-workflow-actions .button{font-size:11px}.profile-workflow-actions>.muted{width:100%;font-size:11px;line-height:1.8}.profile-rejection{margin:18px 0}.profile-rejection>strong{display:block;font-size:12px}.profile-rejection>p,.profile-rejection-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin-top:7px}.profile-review-top{gap:8px;white-space:nowrap;font-size:11px;min-height:38px}.profile-review-count{display:inline-grid;place-items:center;min-width:19px;min-height:19px;padding:1px 5px;border-radius:20px;background:#dfeee3;color:#28694f;font-size:10px;font-weight:700}.profile-review-decision{border:1px solid var(--line);border-radius:9px;padding:17px;margin:20px 0 0;min-width:0}.profile-review-decision legend{padding:0 8px;font-size:13px;color:#3c6653;font-weight:600}.profile-review-decision .field{margin-top:16px}.profile-review-decision .notice{margin-bottom:0}.profile-readonly-preview .profile-preview-photo{height:auto;min-height:132px;align-self:start}.profile-readonly-preview .profile-preview-photo img{height:auto;max-height:330px;object-fit:contain}.profile-readonly-preview .profile-preview-photo>span{font-size:13px;padding:10px;line-height:1.8}.profile-readonly-preview .profile-preview-layout p{white-space:pre-wrap}.profile-readonly-preview .profile-voice-preview audio{max-width:100%}.public-profile-grid .public-profile-card>.profile-rejection-text{color:#a16b4c;font-size:11px}@media(max-width:700px){.profile-review-top{font-size:10px;padding:7px 9px;gap:5px}.profile-review-top>svg{display:none}.profile-review-count{min-width:17px;min-height:17px;font-size:9px}.profile-workflow-actions{gap:8px}.profile-workflow-actions .button{flex:1 1 auto;min-height:41px;font-size:10px}.profile-review-decision{padding:14px}.profile-readonly-preview .profile-preview-layout{grid-template-columns:1fr}.profile-readonly-preview .profile-preview-photo{width:min(100%,260px);justify-self:center}.profile-status-panel h3{font-size:18px}}

/* Narrow manager headers keep review actions touchable without squeezing status text. */
@media(max-width:480px){.topbar:has(.profile-review-top){height:auto;min-height:108px;flex-wrap:wrap;row-gap:8px;padding:9px 13px}.topbar:has(.profile-review-top) .topbar-left{flex:1 1 100%;min-width:0}.topbar:has(.profile-review-top) .breadcrumb{min-width:0}.topbar:has(.profile-review-top) .breadcrumb span:last-child{white-space:normal;line-height:1.5}.topbar:has(.profile-review-top) .topbar-right{flex:1 1 100%;min-width:0;justify-content:space-between;gap:8px;flex-wrap:wrap}.topbar .topbar-right:has(.profile-review-top) #sync-status{max-width:none;white-space:nowrap;flex-wrap:nowrap;font-size:10px;line-height:1.4}.topbar-right:has(.profile-review-top) .profile-review-top{min-height:44px;font-size:11px;flex-shrink:0;padding:9px 12px}.topbar-right:has(.profile-review-top) .registration-notification{width:44px;height:44px;flex-basis:44px;flex-shrink:0}.topbar-right:has(.profile-review-top) .role-pill{white-space:nowrap;line-height:1.5;flex-shrink:0}}

@media(max-width:700px){.modal-footer .button{min-height:44px}.modal-heading>.icon-button{width:44px;height:44px;flex:0 0 44px}.profile-workflow-actions .button{min-height:44px}.profile-review-decision .checkbox-line,.checkbox-line:has([name=profileSubmitConsent]),.checkbox-line:has([name=confirmProfileUnpublish]){min-height:44px;align-items:center}}

@media(max-width:700px){.profile-media-editor .button,#modal-fields>[data-action=preview-public-profile]{min-height:44px}}

/* Mobile form editing remains legible without changing surrounding text. */
@media(max-width:700px){input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select{font-size:16px;min-height:44px;min-width:0;max-width:100%}textarea{font-size:16px}.form-grid{grid-template-columns:minmax(0,1fr)}.form-grid>.field{min-width:0}.week-input{font-size:16px!important;min-height:44px!important;width:166px!important;max-width:100%!important}}
.order-number-field{min-width:0}.order-number-field>span{display:block;font-size:12px;color:#607c6a;margin-bottom:7px}.order-number-field>.order-number-value{padding:11px 12px;border:1px solid var(--line);border-radius:6px;background:#f4f8f4;font-size:13px;line-height:1.6}.order-number-field>small{display:block;font-size:10px;color:#839888;margin-top:5px}.order-number-value{display:block;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums}.order-number-cell{min-width:150px;max-width:250px}.submission-card-head>div{min-width:0}.toast{overflow-wrap:anywhere}

/* Staff moderation of public customer reviews. */
.review-management-list{padding:0 20px 20px}.review-management-card{min-width:0}.review-management-card .submission-card-head>div{min-width:0;overflow-wrap:anywhere}.review-management-card .submission-card-head p{overflow-wrap:anywhere}.review-rating{color:#a77739;white-space:nowrap;font-size:16px;letter-spacing:1px}.review-rating span{color:#c6d1c6}.review-management-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;margin:16px 0;color:#405e50}.review-management-card .submission-card-foot{flex-wrap:wrap;gap:12px}.review-management-card .button{min-height:44px}@media(max-width:700px){.review-management-list{padding:0 12px 14px}.review-management-card .submission-card-head{gap:8px}.review-management-card .submission-card-foot .button{width:100%}}
/* Unified order workspace */
.work-duty,.work-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.work-duty{padding:18px 20px;margin-bottom:18px;align-items:center}
.work-duty p,.work-card p{margin:6px 0;color:var(--muted,#667781);line-height:1.5}
.work-actions,.work-filters,.work-rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.work-filters{margin:16px 0}
.work-card{background:#fff;border:1px solid #e2e9e8;border-radius:14px;padding:18px;margin:12px 0;box-shadow:0 8px 24px rgba(20,42,53,.04)}
.work-card-head strong{font-size:15px;overflow-wrap:anywhere}
.work-card .work-actions{margin-top:14px}
.work-member-list{display:grid;gap:10px}
.work-member-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(130px,1fr);gap:8px;align-items:center;padding:10px;border:1px solid #e2e9e8;border-radius:10px}
.work-member-row label,.work-choice{display:flex;align-items:center;gap:8px}
.work-member-row input[type=checkbox],.work-choice input[type=checkbox]{width:18px;height:18px;min-width:18px;margin:0;flex:none}
.work-member-row input[type=text],.work-actions input{min-width:0;width:100%}
.work-member-row input[name^=workDetails]{grid-column:1/-1}
.work-rich-toolbar{padding:8px;border:1px solid #d7e1df;border-bottom:0;border-radius:10px 10px 0 0;background:#f6f9f8}
.work-rich-toolbar button{border:1px solid #d7e1df;background:#fff;border-radius:6px;padding:6px 10px;color:#263e45;cursor:pointer}
.work-rich-editor{border:1px solid #d7e1df;border-radius:0 0 10px 10px;min-height:150px;background:#fff}
.work-rich-editor .tiptap{min-height:150px;outline:0;padding:12px;overflow-wrap:anywhere}
.work-rich-editor .tiptap p,.work-rich-output p{margin:0 0 8px;line-height:1.6}
.work-rich-output{overflow-wrap:anywhere;line-height:1.6}
.work-image{display:block;max-width:min(100%,420px);max-height:420px;object-fit:contain;border-radius:8px;margin:8px 0}
.work-report-part{border-top:1px solid #e2e9e8;padding:14px 0}
.work-choice{margin:9px 0}
@media(max-width:600px){.work-duty{align-items:flex-start;flex-direction:column}.work-card-head{flex-direction:column;gap:8px}.work-member-row{grid-template-columns:1fr}.work-member-row input[name^=workDetails]{grid-column:auto}}

.auth-options{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:12px 0 4px}.auth-options label{display:inline-flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.auth-options input[type=checkbox]{appearance:auto;width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:#147f70}.auth-options-hint{font-size:11px;line-height:1.5;margin:3px 0 12px;color:#72828b}
.rejected-order-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 40px 0;padding:12px 16px;border:2px solid #b92f36;border-radius:8px;background:#fff0ef;color:#9a1f28;font-size:15px}
.rejected-order-notice[hidden]{display:none}
.rejected-order-message{font-weight:750}
.modal-rejected-order-notice{margin:0 0 16px}
@media(max-width:700px){.rejected-order-notice{margin:12px 16px 0}.modal-rejected-order-notice{margin:0 0 12px}}

.companion-duty{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 28px;background:#f1f8f5;border-bottom:1px solid #cfdfd8}.companion-duty[hidden]{display:none}.companion-duty strong{font-size:14px;color:#163d35}.companion-duty small{display:block;color:#55736b;font-size:12px;margin-top:3px}.duty-current{font-weight:700}.duty-idle{color:#087f58}.duty-working{color:#956100}.duty-resting,.duty-unknown{color:#687878}.duty-actions{display:flex;gap:6px;flex-wrap:wrap}.duty-button{border:1px solid #b9d0c6;background:#fff;color:#214f43;border-radius:7px;padding:7px 12px;font:inherit;cursor:pointer}.duty-button[aria-pressed=true]{background:#176c57;color:white;border-color:#176c57;opacity:1}.duty-button:disabled:not([aria-pressed=true]){opacity:.5;cursor:default}@media(max-width:700px){.companion-duty{padding:10px 16px;align-items:flex-start;flex-direction:column}.duty-button{min-height:38px}}
.profile-summary{margin:0 0 22px;padding:16px;border:1px solid #dceae3;border-radius:10px;background:#f5faf7}.profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-summary-grid>div{min-width:0;padding:10px 12px;background:#fff;border:1px solid #e5eeea;border-radius:8px}.profile-summary-grid span,.profile-summary-grid strong,.profile-summary-grid small{display:block;overflow-wrap:anywhere}.profile-summary-grid span{font-size:12px;color:#617b6e}.profile-summary-grid strong{font-size:16px;color:#234f3d;margin:4px 0}.profile-summary-grid small{font-size:11px;color:#667d70}.profile-summary>p{margin-top:12px;color:#536e5d;font-size:12px;line-height:1.7}@media(max-width:700px){.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-summary{padding:12px}.profile-summary-grid>div{padding:9px}.profile-summary-grid strong{font-size:14px}}
.support-qr-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.support-qr-image{display:flex;align-items:center;justify-content:center;min-height:96px;margin-top:8px;padding:8px;border:1px solid #d7e4df;border-radius:8px;color:#49665e;background:#fff;overflow-wrap:anywhere}.support-qr-image img{display:block;width:auto;height:auto;max-width:100%;max-height:260px;object-fit:contain}.support-qr-image img[src^="blob:"]{image-rendering:auto}@media(max-width:420px){.support-qr-previews{gap:8px}.support-qr-image{min-height:72px;padding:4px}}
.registration-footer{text-align:center;padding:20px 16px;font-size:12px;color:#526a6a}.registration-footer a{color:inherit;text-decoration:underline;text-underline-offset:2px}@media(min-width:701px){#app:has(.app-shell)~.registration-footer{margin-left:230px}}
