/* Clear primary actions, calm surfaces and larger reading targets. */
body{background:#f3f6f5;color:#193b32;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.business-shell .main{background:#f3f6f5}.business-shell .content{padding:34px 38px 80px}.business-shell .sidebar{background:#153b33;border:0}.business-shell .brandmark{background:#d5ecdb;color:#164333;border-radius:12px}.business-shell .sidebar nav{gap:6px}.business-shell .sidebar nav a{padding:15px 16px;font-size:14px;color:#d7e4df;font-weight:500;transition:background .15s}.business-shell .sidebar nav a.active{background:#e0f0d9;color:#153b33;font-weight:700}.business-shell .sidebar nav a:hover:not(.active){background:#ffffff10}.business-shell .sidebar .brand{margin-bottom:12px}.business-shell .topbar{height:78px;border-bottom:1px solid #e0e8e3;background:#ffffffed;backdrop-filter:blur(16px)}.workspace-location{display:flex;align-items:center;gap:20px;min-width:0}.workspace-location>span{font-size:13px;color:#64796e}.back-button{display:inline-flex!important;align-items:center;gap:8px;min-height:40px;padding:9px 16px!important;border-radius:10px!important;font-size:13px!important;background:white!important;box-shadow:0 2px 5px #173f3707}.back-button:disabled{opacity:.4;cursor:default}.business-shell .pagehead{margin-bottom:26px;gap:20px;align-items:center}.business-shell .pagehead h1{font-size:34px;line-height:1.15;letter-spacing:-1.15px;font-weight:750;margin:10px 0}.business-shell .pagehead .eyebrow{font-size:10px;letter-spacing:1.8px;color:#75877e}.business-shell .subtitle{font-size:14px;line-height:1.7;color:#6c8075;max-width:620px}.business-shell .btn{border:1px solid #d9e4dc;border-radius:11px;font-size:13px;font-weight:650;padding:12px 18px;min-height:44px;box-shadow:0 2px 5px #193b3205}.business-shell .btn.primary{background:#205642;border-color:#205642;color:#fff;box-shadow:0 5px 12px #20564218}.business-shell .btn.primary:hover{background:#184533}.business-shell .pagehead .actions{gap:9px;flex-wrap:wrap}.business-shell .card{border:1px solid #e0e8e2;border-radius:18px;background:#fff;box-shadow:0 3px 14px #193b3204}.business-shell input,.business-shell select,.business-shell textarea{background:#fff;border:1px solid #d9e4dc;border-radius:10px;min-height:44px;color:#204536}.business-shell input:focus,.business-shell select:focus,.business-shell textarea:focus{outline:3px solid #d6e9d8;outline-offset:1px;border-color:#5e8c6c}.business-shell label{font-size:12px;font-weight:600;color:#526c5f;line-height:1.6}.business-shell .object-directory{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px}.business-shell .card.biz-card,.business-shell .object-directory-card{padding:25px;transition:transform .15s,box-shadow .15s,border-color .15s;text-decoration:none;color:inherit}.business-shell .card.biz-card:hover,.business-shell .object-directory-card:hover{transform:translateY(-3px);border-color:#a9c9b1;box-shadow:0 12px 28px #173f370c}.customer-card-top,.object-card-eyebrow{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px}.customer-monogram{width:48px;height:48px;background:#e9f3ec;color:#326c4c;border-radius:14px;display:grid;place-items:center;font-weight:750;font-size:16px}.card-open-arrow{font-size:21px;color:#80978a}.customer-card h2,.object-directory-card h2{margin:0 0 9px;font-size:21px;letter-spacing:-.5px;line-height:1.35}.customer-address,.object-directory-card>p{font-size:13px;color:#738579;line-height:1.65;min-height:42px}.customer-card-contact{margin:22px 0;display:grid;gap:5px}.detail-label{display:block;color:#839388;text-transform:uppercase;font-size:9px;letter-spacing:1px;font-weight:700;margin-bottom:5px}.customer-card-contact strong{font-size:13px;font-weight:600}.customer-card-contact small{color:#6e8276;font-size:12px;overflow-wrap:anywhere}.customer-card-footer{border-top:1px solid #edf1ed;padding-top:17px;margin-top:20px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#638270;flex-wrap:wrap}.customer-card-footer>span:last-child,.customer-card-footer>strong{font-weight:650;color:#2f6d4b}.directory-summary{display:flex;gap:25px;margin:0 0 24px;color:#7a8a80;font-size:13px}.directory-summary strong{color:#315b44;margin-right:4px}.customer-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-bottom:32px}.customer-contact-grid strong{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.customer-contact-grid p{font-size:13px;color:#6a8071;line-height:1.7;margin:5px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 20px}.section-heading h2{font-size:21px;margin:0 0 5px;letter-spacing:-.4px}.section-heading p{font-size:13px;color:#7b8d80;margin:0}.object-card-eyebrow{font-size:11px;color:#6f8976;font-weight:600}.object-card-metrics{display:flex;gap:40px;margin:22px 0}.object-card-metrics div{display:grid;gap:4px}.object-card-metrics strong{font-size:25px;letter-spacing:-1px}.object-card-metrics small{font-size:10px;color:#809386}.object-directory-card{border-top:4px solid var(--directory-accent,#639970)!important}.directory-empty{padding:40px!important;text-align:center;grid-column:1/-1;color:#6d8474}.directory-empty h2{color:#254b35;font-size:22px}.directory-empty p{max-width:430px;margin:10px auto;line-height:1.8;font-size:14px}.empty-symbol{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#edf6eb;color:#6c9873;margin-bottom:16px}.object-meta{background:#eaf1eb;border:1px solid #dce7dd;border-radius:12px;padding:12px 16px;color:#5f7867;font-size:12px}.object-meta>a{font-weight:600;color:#376848;white-space:nowrap}.shift-type-strip{gap:10px;border-color:#edf1ed}.shift-type-strip>div{border:1px solid #e0e9e0;background:#f5f9f4;border-radius:12px;padding:10px 12px;font-size:12px;color:#607c65}.shift-type-strip strong{color:#254b32}.planner-toolbar{margin:23px 0;gap:20px}.planner-toolbar>.muted{font-size:12px;line-height:1.6;max-width:350px}.object-planner{border-color:#e1e9e1;border-radius:14px;grid-template-columns:205px minmax(0,1fr)}.staff-palette{padding:15px;background:#f6f9f4;gap:10px}.staff-token{border-radius:10px;background:#fff;border-color:#e0e9dc;min-height:48px;font-size:12px;box-shadow:0 1px 3px #23453205}.staff-token.selected{background:#e3f0db;border-color:#78a16b}.biz-grid thead th{font-size:15px;color:#375d3e;padding:14px 12px;background:#f5f8f2}.biz-grid thead th small{font-size:10px;margin-top:4px;color:#8a9b88}.biz-grid th:first-child{font-size:12px;color:#597654;background:#f5f8f2;min-width:150px}.biz-grid tbody th{padding:18px 12px;line-height:1.6}.biz-grid td{border-color:#e8eee5;min-width:155px;height:87px;padding:8px}.demand-label{font-size:10px;color:#7d9674;background:#f0f6ea;padding:4px 7px;border-radius:5px}.grid-assignment{background:#e2f0d9;border-color:#73a25a;color:#325a2c;padding:10px;font-size:12px}.grid-assignment small{margin-top:5px;color:#68865d}.order-drop{background:#f7faf4;border:1.5px dashed #b2c8a5;border-radius:13px;font-size:13px;padding:25px;margin-top:25px}.order-drop small{font-size:11px;color:#8b9c80}.business-shell .mobile-nav{box-shadow:0 -5px 24px #203b2d07;border-top:1px solid #e1e8e0;background:#fff}.business-shell .mobile-nav a{font-weight:550}.business-shell .context-menu summary{border-color:#e2e9e1;border-radius:10px;color:#5d7d60}.business-shell .account-menu .context-menu summary{font-size:12px}.business-shell .footnote{margin-top:30px}#dialog{border:1px solid #e1e9df;border-radius:20px;box-shadow:0 25px 100px #193d292a}#dialog::backdrop{background:#153b3359;backdrop-filter:blur(3px)}#dialog h2{letter-spacing:-.6px;color:#234b36}#dialog .eyebrow{margin-top:20px;color:#83967e;font-size:10px}#dialog h3{font-size:18px}#dialog input,#dialog select,#dialog textarea{border-radius:10px;border-color:#d9e5d4;background:#fbfdf9}#dialog .dialogactions{position:sticky;bottom:-20px;background:#fff;padding:18px 0 0;margin-top:26px;border-top:1px solid #eef2eb;justify-content:space-between}#dialog .dialogactions .btn{min-height:46px;border-radius:10px}#dialog .dialogactions .primary{background:#205642;color:#fff}
@media(max-width:1100px){.business-shell .content{padding:26px 25px 90px}.business-shell .pagehead h1{font-size:30px}.business-shell .object-directory{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}
@media(max-width:900px){.business-shell .content{padding:24px 18px 115px}.business-shell .topbar{height:70px;padding:12px 18px}.workspace-location>span{display:none}.workspace-location{gap:0}.business-shell .pagehead{align-items:flex-start;gap:16px}.business-shell .pagehead h1{font-size:28px;letter-spacing:-.8px}.business-shell .pagehead .actions{width:100%;gap:8px}.business-shell .pagehead .btn{padding:11px 14px;min-height:44px;font-size:12px}.business-shell .pagehead .actions>.btn.primary{flex-grow:1}.business-shell .object-directory{grid-template-columns:1fr;gap:16px}.business-shell .customer-contact-grid{grid-template-columns:1fr;gap:20px}.section-heading{align-items:flex-start;flex-wrap:wrap}.section-heading .btn{width:100%}.object-planner{grid-template-columns:minmax(0,1fr)}.staff-palette{padding:12px}.staff-token{font-size:11px;padding:8px;min-height:42px}.business-shell .mobile-brand strong{font-size:16px}.business-shell .brandmark{width:32px;height:32px}.business-shell .mobile-brand{gap:8px}.back-button{font-size:12px!important;min-height:38px!important;padding:8px 11px!important}.business-shell .topright{gap:0}.business-shell .topbar>.mobile-brand{min-width:0}.business-shell .object-directory-card,.business-shell .card.biz-card{padding:22px}.biz-dialog-head{gap:12px}#dialog .dialogactions .btn{flex:1}.business-shell .section-heading h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.business-shell .card.biz-card,.business-shell .object-directory-card,.business-shell .sidebar nav a{transition:none}}
/* Unified forms and clear employee profiles. */
.single-form .form-section{padding:20px 0;border-bottom:1px solid #e6ece8;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.single-form .form-section>h3,.single-form .form-section>fieldset,.single-form .form-section>p,.single-form .form-section>[data-shifts],.single-form .form-section>.certificate-editor,.single-form .form-section>.choice-list,.single-form .form-section>.formrow,.single-form .form-section>.mapping-fields{grid-column:1/-1}
.single-form h3{margin:0;color:#204b40;font-size:16px}.single-form .dialogactions{position:sticky;bottom:0;background:#fff;padding:16px 0;margin:0;z-index:2;border-top:1px solid #e6ece8}.single-form label{min-width:0}.single-form input,.single-form select,.single-form textarea{width:100%;box-sizing:border-box}.single-form input[type=checkbox],.single-form input[type=radio]{width:auto}.single-form .formrow{align-items:start;display:grid;grid-template-columns:1fr 1fr;gap:16px}.single-form input[type=date],.single-form input[type=time]{min-height:48px;min-width:0;appearance:none;-webkit-appearance:none}.single-form .color-choices{grid-column:1/-1}.shift-editor .date-status{margin:0 0 16px}.shift-editor{min-width:0;margin-bottom:16px}.mapping-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.biz-grid td.range-selected{background:#d5ebe2!important;box-shadow:inset 0 0 0 2px #2a725a}.biz-grid td{user-select:none}.qualification-confirm{background:#fff8ed;border:1px solid #e5c896;padding:22px;border-radius:16px;margin-top:20px}.qualification-confirm textarea{width:100%;box-sizing:border-box}.qualification-confirm [role=alert]{color:#a63e27}.confirmation-choice{display:flex!important;align-items:flex-start;gap:10px;margin:20px 0}.confirmation-choice input{width:auto!important;margin-top:4px}
.person-overview{background:#fff;border:1px solid #dfe8e2;border-radius:22px;padding:28px;margin-bottom:24px}.person-identity{display:flex;gap:20px;align-items:center}.person-avatar{width:64px;height:64px;flex-shrink:0;display:grid;place-items:center;border-radius:20px;background:#e6f0eb;color:#204b40;font-size:24px;font-weight:750}.person-identity h2{margin:8px 0}.person-identity p{margin-bottom:0;color:#63786e}.status-pill{display:inline-block;padding:5px 10px;border-radius:20px;background:#e6f3eb;color:#286445;font-size:12px;font-weight:700}.status-pill.inactive{background:#f1efec;color:#77695c}.person-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:24px;padding-top:24px;border-top:1px solid #e4ebe6;gap:20px}.person-stats small,.employee-metrics small{display:block;color:#667d71}.person-stats strong{display:block;font-size:28px;margin-top:8px;line-height:1.25}.person-stats strong span{font-size:13px;font-weight:500}.person-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.person-detail-grid>.card{min-width:0}.profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-facts dt{font-size:12px;color:#687d72}.profile-facts dd{margin:5px 0 0;font-weight:600}.qualification-list>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e9eeea;padding:12px 0}.qualification-list span{font-size:12px}.employee-card{color:inherit;text-decoration:none;transition:box-shadow .15s,transform .15s}.employee-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #2349380c}.employee-card-head{display:flex;align-items:center;gap:12px}.employee-card-head h2{font-size:17px;margin:0 0 6px}.employee-card-head .person-avatar{width:46px;height:46px;font-size:18px;border-radius:14px}.employee-card-head .card-open-arrow{margin-left:auto}.employee-metrics{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0}.employee-metrics strong{font-size:21px}.employee-validity{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e7ede9;padding:14px 0}.employee-welcome{display:flex;justify-content:space-between;gap:24px;padding:28px;border-radius:22px;background:#204b40;color:#fff;margin-bottom:24px}.employee-welcome p{max-width:650px;line-height:1.6;color:#d5e6dc}.employee-welcome .eyebrow{color:#b6d6c1}.employee-welcome h2{margin:10px 0}.employee-welcome .person-avatar{background:#396354;color:#fff}
@media(max-width:760px){.single-form .form-section,.mapping-fields{grid-template-columns:1fr}.single-form .form-section>*{grid-column:1/-1}.person-detail-grid{grid-template-columns:1fr;gap:0}.person-overview{padding:20px}.person-stats{grid-template-columns:1fr 1fr}.person-stats strong{font-size:24px}.person-identity{align-items:flex-start;gap:12px}.person-identity .person-avatar{width:48px;height:48px;font-size:19px}.qualification-list>div{flex-direction:column;gap:5px}.employee-welcome{padding:20px}.employee-welcome>.person-avatar{display:none}.wide-dialog{max-height:94dvh}.single-form .formrow{gap:10px}}
.invoice-letterhead{display:flex;align-items:center;gap:12px;padding:12px 0 26px;color:#204b40}.invoice-letterhead img{width:44px;height:44px;border-radius:10px}.invoice-letterhead strong{font-size:28px;letter-spacing:-1px}.invoice-letterhead span{margin-left:auto;font-size:11px;letter-spacing:1px;color:#6b7d73}.invoice-meta{background:#f2f6f3;border-radius:16px;padding:20px}.invoice-lines th{background:#204b40;color:#fff;padding:14px}.invoice-lines td{padding:12px 8px}.invoice-totals{padding:20px;background:#f2f6f3;border-radius:14px;margin-top:20px}.invoice-footer{border-top:1px solid #e1e9e3;padding-top:18px}
@media(max-width:600px){.invoice-letterhead{flex-wrap:wrap}.invoice-letterhead span{width:100%;margin-left:0}}
.single-form details.form-section{display:block}.single-form details.form-section>summary{font-weight:650;color:#204b40;cursor:pointer;padding:3px 0}.single-form .section-fields{display:grid;grid-template-columns:1fr;gap:16px;margin-top:18px}.single-form .section-fields>.choice-list{margin:0}.single-form .form-section>[data-shifts]{min-width:0}
.single-form .shift-editor label{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.single-form .shift-editor .weekday-picks label{display:flex;gap:6px;align-items:center;margin:0}.single-form .shift-editor .formrow{margin:14px 0 0}.single-form .shift-editor .weekday-picks{margin:18px 0}.single-form label:has(>textarea){grid-column:1/-1}
.business-shell .employee-card{display:block;padding:24px}.business-shell .employee-card .certificate-list{margin:0}.person-identity a{text-decoration:none;color:#376854}
@media(max-width:760px){.business-shell .employee-card{padding:20px}.employee-card-head{gap:10px}}
/* Personal workspace v2: compact directory, separated profile panels. */
.staff-directory-v2{background:#fff;border:1px solid #dfe7e2;border-radius:20px;overflow:hidden}.staff-directory-toolbar{display:grid;grid-template-columns:160px 1fr 1fr 170px;gap:20px;padding:24px;align-items:end}.staff-directory-toolbar label{margin:0;font-size:12px}.staff-directory-toolbar input,.staff-directory-toolbar select{margin-top:7px;min-height:44px}.staff-directory-count{display:flex;align-items:center;gap:12px;align-self:center}.staff-directory-count>strong{font-size:38px;line-height:1;color:#214f41}.staff-directory-count>span{font-size:13px;line-height:1.5}.staff-directory-count small{color:#7b8b83}.staff-table-wrap{overflow:auto}.staff-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.staff-table th{background:#f5f8f6;color:#6e8176;font-size:11px;font-weight:650;padding:15px 18px;white-space:nowrap}.staff-table td{padding:20px 18px;border-top:1px solid #eaf0eb;vertical-align:middle}.staff-table tbody tr:hover{background:#fafcfb}.staff-name-cell>a{display:flex;gap:12px;align-items:center;text-decoration:none;color:#203f33}.staff-name-cell strong{font-size:14px;display:block}.staff-name-cell small{display:block;color:#819087;font-size:11px;margin-top:5px;overflow-wrap:anywhere}.staff-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#e9f1eb;color:#315e4d;flex-shrink:0;font-weight:750;font-size:17px}.staff-row-actions{width:35px}.staff-cert-count{white-space:nowrap}.staff-expired{display:block;color:#a84735;margin-top:5px}.staff-empty{padding:20px;color:#7a8a80;font-size:13px}.staff-profile-v2{display:grid;gap:24px}.staff-profile-summary{display:flex;align-items:center;gap:18px;padding:24px 28px;background:#fff;border:1px solid #e0e8e3;border-radius:20px}.staff-profile-summary>.staff-avatar{width:64px;height:64px;font-size:25px;background:#214e40;color:#fff;border-radius:20px}.staff-summary-contact{display:grid;gap:7px;color:#6b8175;font-size:13px}.staff-summary-contact a{color:#2d5d49;text-decoration:none;font-weight:600;overflow-wrap:anywhere}.staff-summary-contact .status-pill{justify-self:start}.staff-month{margin:0 0 0 auto;font-size:11px;min-width:170px;color:#6d8275}.staff-month input{margin-top:7px;min-height:42px}.staff-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.staff-kpis>div{padding:22px 24px;border:1px solid #e0e8e3;background:#fff;border-radius:16px}.staff-kpis span{font-size:11px;color:#74867c;display:block;min-height:20px}.staff-kpis strong{display:block;font-size:28px;margin-top:10px;letter-spacing:-.7px;color:#214636}.staff-kpis small{font-size:14px;font-weight:500;letter-spacing:0}.staff-profile-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.business-shell .staff-profile-v2 section.card{margin:0;padding:24px;border-radius:18px;border:1px solid #dfe8e1;background:#fff}.staff-panel header{display:flex;gap:10px;align-items:center;margin-bottom:22px}.staff-panel h2,.staff-workpanels>section>h2{font-size:16px;margin:0!important;letter-spacing:-.2px}.panel-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef4ef;color:#5d7b68;font-size:19px}.panel-symbol svg{width:18px;height:18px}.staff-count{margin-left:auto;border-radius:20px;background:#f0f5f1;font-size:12px;padding:4px 9px;color:#63816b}.staff-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0}.staff-facts dt{color:#87958c;font-size:11px}.staff-facts dd{margin:7px 0 0;font-size:13px;color:#2c4c3b;font-weight:550;overflow-wrap:anywhere}.staff-qualifications>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #edf1ee}.staff-qualifications strong{font-size:13px;font-weight:550}.staff-qualifications>div>span{font-size:11px;flex-shrink:0;color:#829187}.staff-sites{margin-top:22px}.staff-sites h3{font-size:11px;color:#819387;margin:0 0 10px}.staff-sites ul{padding:0;list-style:none;margin:0;display:flex;gap:6px;flex-wrap:wrap}.staff-sites li{font-size:12px;background:#f3f7f3;padding:7px 10px;border-radius:7px}.staff-sites p{font-size:12px}.staff-workpanels>section>h2{margin-bottom:16px!important}.staff-profile-v2 .order-drop{margin:16px 0;padding:16px;gap:6px;border-radius:10px;border:1px dashed #b4cabb;background:#f6f9f6;font-size:12px;font-weight:550;min-height:0}.staff-profile-v2 .order-drop small{max-width:100%;font-size:10px;line-height:1.6;overflow-wrap:anywhere}.staff-profile-v2 .document-list article{padding:12px 0}.staff-profile-v2 .document-list p{font-size:12px;color:#8b988f;margin:16px 0 0}.staff-profile-v2 .document-list strong{font-size:12px;overflow-wrap:anywhere}.staff-profile-v2 .document-list small{font-size:10px;color:#819185;margin-top:4px}.staff-panel-caption{color:#8a988e;font-size:11px;margin-top:-10px}.staff-chat [data-thread]{max-height:220px;overflow:auto;min-height:60px;margin:18px 0;padding:10px;background:#f7f9f7;border-radius:10px}.staff-chat [data-thread]>p{font-size:12px;color:#8a988e;padding:10px}.staff-chat .message{font-size:12px;margin:6px 0}.staff-chat .message small{font-size:10px}.staff-message-label{font-size:12px!important;margin:0}.staff-message-label textarea{min-height:78px;margin:8px 0 4px;background:#fff;resize:vertical}.staff-message-label>small{font-size:10px;color:#92a096;font-weight:400}.btn.danger{border-color:#e2b9af!important;color:#ab4331!important;background:#fff7f5!important}.btn.danger:hover{background:#fae8e2!important}
@media(max-width:1100px){.staff-directory-toolbar{grid-template-columns:1fr 1fr}.staff-table th,.staff-table td{padding:15px 12px}.staff-kpis>div{padding:18px}.staff-kpis strong{font-size:24px}}
@media(max-width:760px){.staff-profile-v2{gap:16px}.staff-profile-summary{flex-wrap:wrap;padding:20px;gap:14px}.staff-profile-summary>.staff-avatar{width:48px;height:48px;font-size:20px}.staff-summary-contact{min-width:0;flex:1;font-size:12px}.staff-month{width:100%;margin:8px 0 0}.staff-kpis{grid-template-columns:1fr 1fr;gap:10px}.staff-kpis>div{padding:16px}.staff-kpis strong{font-size:24px}.staff-kpis span{font-size:10px;min-height:26px;line-height:1.4}.staff-profile-columns{grid-template-columns:1fr;gap:16px}.business-shell .staff-profile-v2 section.card{padding:20px}.staff-facts{gap:20px 12px}.staff-qualifications>div{align-items:flex-start;flex-direction:column;gap:8px}.staff-directory-toolbar{padding:18px;gap:16px}.staff-directory-count{grid-column:1/-1}.staff-directory-toolbar label:has([data-cert-filter]){grid-column:1/-1;grid-row:3}.staff-table thead{display:none}.staff-table tbody{display:grid;padding:0 14px 14px;gap:12px}.staff-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e4ece5;border-radius:12px;padding:14px;gap:16px 12px}.staff-table td{padding:0;border:0;display:block;font-size:12px}.staff-table td[data-label]:before{content:attr(data-label);display:block;color:#8a998e;font-size:10px;margin-bottom:6px}.staff-table .staff-name-cell{grid-column:1/-1}.staff-table .staff-name-cell>a{gap:10px}.staff-table .staff-avatar{width:38px;height:38px;border-radius:11px;font-size:14px}.staff-table .staff-status-cell{align-self:center}.staff-table .staff-row-actions{justify-self:end}.staff-name-cell small{max-width:230px}.staff-directory-toolbar input,.staff-directory-toolbar select{width:100%;min-width:0}.staff-directory-toolbar label{min-width:0}}
.staff-table .context-menu[open]>div{position:fixed;right:24px;bottom:24px;top:auto;z-index:10000;max-height:60vh;overflow:auto}.staff-table .context-menu summary{min-width:32px;min-height:32px;padding:5px 8px}
/* Shared action sizing: icons stay beside their labels, narrow groups stack. */
.business-shell .btn,#dialog .btn,.business-shell .text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-width:0;line-height:1.4;text-align:center}
.business-shell .btn>svg,#dialog .btn>svg,.business-shell .text-button>svg{display:block;width:18px;height:18px;flex:0 0 18px}
.business-shell .btn>span,#dialog .btn>span{min-width:0}
.business-shell .platform-directory{grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));align-items:stretch}
.business-shell .tenant-card{container-type:inline-size;display:flex;flex-direction:column}
.business-shell .tenant-card>small{display:block;line-height:1.5;color:#71867a}
.business-shell .tenant-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:20px;margin-top:auto}
.business-shell .tenant-actions .btn{width:100%;min-height:46px;padding:11px 12px;font-size:12px;text-decoration:none;box-sizing:border-box;white-space:normal}
.business-shell .tenant-open-button>span{white-space:nowrap}
.business-shell .tenant-top{flex-wrap:wrap}.business-shell .tenant-plan{overflow-wrap:anywhere}
@container (max-width:340px){.business-shell .tenant-actions{grid-template-columns:1fr}}
.business-shell .pagehead{min-width:0;flex-wrap:wrap}.business-shell .pagehead>div:first-child{min-width:0}.business-shell .pagehead h1{overflow-wrap:anywhere}.business-shell .pagehead>.actions{max-width:100%;flex-wrap:wrap}
.business-shell .section-heading>div{min-width:0}.business-shell .object-meta>span{min-width:0;overflow-wrap:anywhere}
.business-shell .context-menu>div a{overflow-wrap:anywhere;line-height:1.5}
#dialog .dialogactions{display:flex;flex-wrap:wrap;gap:12px}#dialog .dialogactions .btn{flex:1 1 180px;white-space:normal}
#dialog .formrow>*{min-width:0}#dialog input,#dialog select,#dialog textarea{box-sizing:border-box;max-width:100%;min-width:0}
.business-shell .document-list article>a{min-width:0;overflow-wrap:anywhere}.business-shell .document-list article>.btn{flex-shrink:0}
.business-shell .customer-contact-grid strong{overflow-wrap:anywhere}.business-shell .staff-summary-contact{min-width:0}
@media(max-width:480px){.business-shell .pagehead>.actions>.btn{flex:1 1 150px}.business-shell .tenant-actions .btn{font-size:13px;min-height:46px}.business-shell .staff-name-cell small{max-width:100%}.business-shell .settingrow{flex-wrap:wrap;gap:12px}.business-shell .settingrow>div{min-width:0;max-width:100%;overflow-wrap:anywhere}}
/* Search/filter bars use the same spacing in each directory. */
.business-shell [hidden],#dialog [hidden]{display:none!important}
.directory-filterbar{display:flex;align-items:end;flex-wrap:wrap;gap:18px;margin:0 0 24px;padding:18px 20px;background:#fff;border:1px solid #e1e8e2;border-radius:14px}
.directory-filterbar label{margin:0;min-width:0}.directory-filterbar .directory-search{flex:1 1 260px}.directory-filterbar .month-select{flex:0 1 190px;max-width:none}.directory-filterbar [data-list-status]{font-size:11px;color:#829286;padding:0 0 14px;white-space:nowrap}
.directory-search{display:block;min-width:0;margin:0}.directory-search>span{display:block;font-size:11px;font-weight:600;color:#718579;margin-bottom:8px}.directory-search input[type=search]{width:100%;min-width:0;box-sizing:border-box;min-height:44px;margin:0;padding-right:14px}
.search-empty{padding:22px;margin:0;color:#7e8d83;font-size:13px;text-align:center;background:#f7f9f7;border-radius:12px}.directory-summary{margin-bottom:24px}.month-select{display:block;margin-bottom:24px}.directory-filterbar .month-select{margin:0}
.entity-combo{position:relative;width:100%;min-width:0}.entity-combo>input{width:100%;min-width:0;padding-right:32px!important;box-sizing:border-box}.entity-combo:after{content:'⌄';position:absolute;top:13px;right:13px;pointer-events:none;color:#6c8273;font-size:16px}.entity-options{max-height:220px;overflow:auto;overscroll-behavior:contain;border:1px solid #cbdccd;background:#fff;border-radius:10px;margin:6px 0 0;box-shadow:0 8px 20px #204b4010}.entity-options>[role=option]{padding:12px 14px;font-size:13px;line-height:1.5;color:#315442;cursor:pointer;overflow-wrap:anywhere}.entity-options>[role=option]:hover,.entity-options>.keyboard-active{background:#eaf3e9}.entity-options>[aria-selected=true]{font-weight:700;background:#f1f6ef}.entity-options>p{padding:12px 14px;font-size:12px;color:#8a988d}.single-form .form-section>.assignment-fields{grid-column:1/-1}.assignment-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.assignment-fields>p{grid-column:1/-1;margin:0;font-size:12px;line-height:1.6}
.staff-picker{min-width:0;background:#f5f8f3;display:flex;flex-direction:column;border-right:1px solid #e0e8df}.staff-picker-search{padding:14px 12px;border-bottom:1px solid #e0e8df}.staff-picker-search input{font-size:12px;padding:10px}.staff-picker-search>small{display:block;font-size:10px;margin-top:9px;color:#85957f}.staff-picker>.staff-palette{max-height:360px;min-height:90px;overflow:auto;overscroll-behavior:contain;padding:10px;display:flex;flex-direction:column;flex-wrap:nowrap}.staff-picker .staff-token{flex:0 0 auto;min-width:0;min-height:42px;margin:0;overflow-wrap:anywhere}.staff-picker .search-empty{padding:14px;font-size:11px}.staff-directory-v2 .staff-table-wrap{max-height:65vh;overscroll-behavior:contain}.staff-directory-v2 .staff-table th{position:sticky;top:0;z-index:1}.staff-directory-toolbar .directory-search>span{margin-bottom:7px}.staff-directory-toolbar .directory-search input{margin-top:0}
@media(max-width:900px){.staff-picker{border-right:0;border-bottom:1px solid #e0e8df}.staff-picker-search{display:flex;align-items:end;gap:14px;padding:12px}.staff-picker-search .directory-search{flex:1}.staff-picker-search>small{padding-bottom:10px;white-space:nowrap}.staff-picker>.staff-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:190px;gap:8px;min-height:0;border:0}.staff-picker .staff-token{max-width:none;font-size:12px}.staff-directory-v2 .staff-table-wrap{max-height:none}.directory-filterbar{gap:14px;padding:16px;margin-bottom:24px}.directory-filterbar .directory-search{flex-basis:100%}.directory-filterbar .month-select{flex:1}.directory-filterbar [data-list-status]{padding-bottom:13px}}
@media(max-width:600px){.assignment-fields{grid-template-columns:1fr}.staff-picker-search>small{white-space:normal;max-width:95px;line-height:1.5}.entity-options{max-height:180px}.directory-filterbar [data-list-status]{font-size:10px}}
.search-status{display:block;margin-top:7px;font-size:10px;color:#8a998e;font-weight:400}.staff-directory-toolbar{align-items:start}.staff-directory-count{align-self:center}
.staff-picker .staff-token input[type=radio]{height:16px;min-height:16px;max-height:16px;width:16px;padding:0;margin:0;flex:0 0 16px}.entity-options>[role=option]>small{display:block;margin-top:4px;color:#8b998f;font-size:10px;font-weight:400;overflow-wrap:anywhere}
.entity-options{position:fixed;z-index:10010;margin:0;box-sizing:border-box;max-width:calc(100vw - 24px)}
/* Shared field rhythm and document views. Checkboxes never inherit text-field sizing. */
#dialog .biz-dialog-head{align-items:center;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #e4ebe6}
#dialog .biz-dialog-head h2{margin:0;line-height:1.3;font-size:24px}
#dialog .biz-dialog-head>[data-dismiss]{flex:0 0 auto;padding:9px 12px;border:1px solid #dce6df;border-radius:9px;text-decoration:none;font-size:12px;line-height:1.4}
#dialog .biz-dialog-head>[data-dismiss]:hover{background:#f0f5f1}
#dialog label:has(>input[type=checkbox]):not(.color-choice),.business-shell label:has(>input[type=checkbox]):not(.color-choice){display:flex;align-items:center;gap:10px;line-height:1.5}
#dialog input[type=checkbox],.business-shell input[type=checkbox],#dialog .weekday-picks input[type=checkbox]{width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;padding:0;margin:0;flex:0 0 18px;accent-color:#205642}
#dialog .certificate-editor>label{gap:12px;padding:14px 0}
#dialog .certificate-editor input[type=date]{flex:0 1 175px}
#dialog .single-form .form-section>h3{margin:0 0 2px;line-height:1.5}
#dialog .confirmation-choice{margin:24px 0;align-items:flex-start!important}
#dialog .confirmation-choice input{margin-top:2px}
#dialog .formrow{gap:16px}
.document-download{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 18px;min-height:52px;box-sizing:border-box;background:#205642;border:1px solid #205642;border-radius:12px;color:white;text-decoration:none;line-height:1.4;max-width:100%}
.document-download:hover{background:#174332;border-color:#174332}.document-download:focus-visible{outline:3px solid #a5c8af;outline-offset:3px}
.document-download>svg{width:22px;height:22px;flex:0 0 22px}.document-download>span{min-width:0}.document-download strong{display:block;font-size:13px;font-weight:650}.document-download small{display:block;font-size:10px;margin-top:4px;color:#d1e4d7}
#dialog.report-dialog{width:920px}.hours-report{display:grid;gap:24px}.hours-report .report-subtitle{margin:-10px 0 0;color:#73877b;font-size:13px;line-height:1.6}
.report-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-metrics>div{padding:22px 24px;background:#f2f7f3;border:1px solid #e0eae2;border-radius:14px}.report-metrics>div:first-child{background:#205642;border-color:#205642;color:white}.report-metrics span{display:block;font-size:12px;color:#718578}.report-metrics>div:first-child span{color:#d0e3d6}.report-metrics strong{display:block;font-size:34px;line-height:1.2;letter-spacing:-1px;margin-top:12px;font-variant-numeric:tabular-nums}.report-metrics strong small{font-size:17px;font-weight:500;letter-spacing:0}
.report-breakdown{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.report-section{min-width:0;border:1px solid #e2eae4;border-radius:14px;overflow:hidden}.report-section h3{font-size:14px;margin:0;padding:18px 20px;background:#f6f9f6}.hours-report .biz-report{margin:0;font-size:13px;table-layout:fixed}.hours-report .biz-report th,.hours-report .biz-report td{padding:14px 20px;border-bottom:1px solid #e8eee9;overflow-wrap:anywhere}.hours-report .biz-report th{font-size:10px;letter-spacing:.5px;color:#839183;background:#fff}.hours-report .biz-report th:last-child,.hours-report .biz-report td:last-child{width:80px;text-align:right;font-variant-numeric:tabular-nums}.hours-report .biz-report tr:last-child td{border-bottom:0}
.report-export{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #e2eae4;padding-top:24px}.report-export .inline-check{margin:0;font-size:12px;color:#536f5e;flex:1;min-width:0}.report-export .document-download{flex:0 0 auto}
#dialog.invoice-dialog>.invoice-meta{margin:0 0 24px;gap:20px}.invoice-dialog .invoice-meta p{margin:0;line-height:1.7;font-size:13px}.invoice-dialog>label{margin:24px 0;gap:9px;font-size:12px}.invoice-dialog>.tablewrap{margin:24px 0}.invoice-dialog .invoice-letterhead{padding:0 0 24px}.invoice-dialog .invoice-totals{gap:24px;margin:24px 0;justify-content:space-between}.invoice-dialog .invoice-totals strong{font-size:14px;line-height:2;white-space:pre-line;font-variant-numeric:tabular-nums}.invoice-dialog>[data-invoice-grouping]{font-size:11px;line-height:1.7;margin:20px 0}.invoice-dialog .invoice-footer{gap:16px;padding-top:24px;margin:24px 0 0;align-items:center}.invoice-dialog .invoice-footer>.document-download{flex:0 1 auto}.invoice-dialog .invoice-footer>[data-save-status]{margin-left:auto;max-width:100%;overflow-wrap:anywhere;color:#748878}
.business-shell [data-company-profile]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.business-shell [data-company-profile]>label{margin:0}.business-shell [data-company-profile]>p,.business-shell [data-company-profile]>[role=status],.business-shell [data-company-profile]>label:has(input[type=checkbox]){grid-column:1/-1}
@media(max-width:640px){#dialog .biz-dialog-head{gap:16px;margin-bottom:20px;padding-bottom:16px}#dialog .biz-dialog-head h2{font-size:20px}.hours-report{gap:20px}.hours-report .report-subtitle{margin-top:-6px}.report-metrics{gap:10px}.report-metrics>div{padding:18px 16px}.report-metrics span{font-size:10px;line-height:1.5;min-height:30px}.report-metrics strong{font-size:29px;margin-top:8px}.report-breakdown{grid-template-columns:1fr;gap:20px}.report-section h3{padding:16px}.hours-report .biz-report th,.hours-report .biz-report td{padding:13px 16px}.report-export{flex-direction:column;align-items:stretch;gap:20px;padding-top:20px}.report-export .document-download{width:100%}.report-export .inline-check{font-size:12px}.invoice-dialog .invoice-footer>.document-download{flex:1 1 100%;width:100%}.invoice-dialog .invoice-footer>[data-save-status]{margin-left:0}.invoice-dialog .invoice-totals{align-items:stretch;flex-direction:column;gap:16px}.invoice-dialog .invoice-totals label{max-width:none}.business-shell [data-company-profile]{grid-template-columns:1fr}}
.report-metrics>div:first-child strong small{color:#d0e3d6}.invoice-dialog .invoice-lines{min-width:780px;width:100%}.invoice-dialog .invoice-lines input{width:100%;box-sizing:border-box}.invoice-dialog .invoice-lines td:first-child{min-width:200px}.invoice-dialog .invoice-lines td:nth-child(2){min-width:150px}.invoice-dialog .invoice-lines td:nth-child(3),.invoice-dialog .invoice-lines td:nth-child(4){min-width:100px}.invoice-dialog .invoice-lines td:nth-child(5){white-space:nowrap;font-variant-numeric:tabular-nums}.invoice-dialog .invoice-totals strong{text-align:right}.invoice-dialog .tablewrap{border:1px solid #e0e8e2;border-radius:12px}
@media(max-width:640px){.invoice-dialog .invoice-totals strong{text-align:left}}
/* Avoid adding form margins, section padding and grid gaps on top of each other. */
#dialog .single-form{margin:0;gap:0}#dialog .single-form .form-section{padding:24px 0}#dialog .single-form .form-section:first-child{padding-top:0}#dialog .single-form .form-section:last-of-type{border-bottom:0}#dialog .single-form .dialogactions{margin:0;padding:16px 0 0;bottom:0}#dialog .single-form .formerror:not([hidden]){margin:0 0 20px}
.business-shell [data-company-profile]{margin:0}.business-shell [data-company-profile]>p{margin:0}.business-shell [data-profile-status]:empty{display:none}
.business-shell [data-company-profile]{display:grid;grid-template-columns:1fr;gap:28px}.invoice-identity-group{border:0;padding:0;margin:0;min-width:0}.invoice-identity-group>legend{font-size:15px;font-weight:700;color:#204b40;padding:0 0 18px}.invoice-identity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.invoice-identity-fields>label{min-width:0;margin:0}.invoice-identity-fields .full-field{grid-column:1/-1}.invoice-identity-fields input,.invoice-identity-fields textarea{box-sizing:border-box;width:100%}.company-logo-field{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:18px;border:1px solid #dce6df;border-radius:12px;background:#f7f9f7}.company-logo-field>img{max-width:95px;max-height:100px;object-fit:contain}.company-logo-field>label{flex:1 1 240px}.company-logo-field small{font-size:11px;line-height:1.6;color:#7e8f82}.company-logo-field>[role=status]{font-size:12px;width:100%;color:#6d8474}.company-logo-field>[role=status]:empty{display:none}.company-invoice-setup{border-top:1px solid #dce6df;margin-top:20px;padding-top:20px}.company-invoice-setup>summary{cursor:pointer;font-weight:650}.company-invoice-setup>[data-invoice-profile]{display:grid;gap:28px;margin-top:24px}.invoice-dialog .invoice-letterhead>img{width:72px;height:76px;object-fit:contain;border-radius:0}.invoice-dialog .invoice-letterhead>strong{font-size:22px;letter-spacing:-.4px;max-width:60%;overflow-wrap:anywhere}
@media(max-width:640px){.invoice-identity-fields{grid-template-columns:1fr}.company-logo-field{padding:14px;gap:14px}.invoice-dialog .invoice-letterhead>strong{font-size:18px}}
