/* Calm surfaces, compact navigation and dedicated personnel records. */
:root{--bg:#f7f8fa;--line:#e7e9ee;--shadow:0 2px 12px #18233504;--yellow:#edf3fc;--soft-yellow:#f0f5fc}
body{font-size:15px}header{height:80px;border-bottom:1px solid var(--line)}.brand strong{letter-spacing:2px;font-size:20px}main{padding:32px;max-width:1400px;width:100%}aside{padding:28px 18px}.post{border-radius:18px;box-shadow:var(--shadow)}button,input,select{border-radius:9px!important}button{transition:background .15s,border-color .15s}button:hover{border-color:#a9b9d0}.nav-main,.days button.active{background:#eaf1fc;color:#2465bb}.shifts button.active{border-color:#2c6dd2;background:#eff5ff}#categories button.active{border-left:0;background:#edf3fc;color:#2465bb}body.dark{--yellow:#26364c;--soft-yellow:#243146}body.dark .nav-main,body.dark .days button.active,body.dark #categories button.active{background:#26364c;color:#a8caff}body.dark .shifts button.active{background:#233145}#helpers-panel{padding:28px}#helper-count{display:block;color:var(--muted);font-size:12px;margin:8px 0 24px}.personnel-summary{gap:12px}.personnel-summary button{background:var(--bg)!important;border:1px solid var(--line)!important;color:var(--ink)!important;padding:14px 18px;font-weight:500}.directory-heading,.record-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.directory-heading p{margin-top:6px}#helper-new{border:1px solid var(--line);background:var(--ink);color:var(--surface);padding:11px 17px;white-space:nowrap}#helper-filter{padding:12px 14px;background:var(--bg)}.helper-row{justify-content:flex-start;padding:18px 4px;gap:16px}.person-label{flex:1}.person-label small{margin-top:3px;font-size:13px}.person-avatar,#record-avatar{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;background:var(--bg);color:var(--muted);font-weight:600;flex-shrink:0}.helper-row button{font-size:13px;background:transparent}.helper-row button span{margin-left:10px;color:var(--muted)}#record-back{border:0;background:transparent;color:var(--muted);padding:0;margin-bottom:28px}#record-avatar{width:60px;height:60px;font-size:22px}.record-heading h2{font-size:28px;letter-spacing:-.7px;margin-top:6px}#record-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:26px;overflow-x:auto}#record-tabs button{padding:10px 16px;color:var(--muted);background:transparent;border:0;white-space:nowrap}#record-tabs button.active{color:#2869c8;background:#edf3fc}body.dark #record-tabs button.active{color:#a8caff;background:#26364c}.proof-card,.record-card{padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.proof-card{margin-bottom:18px}.proof-card h3,.record-card h3{margin:0 0 10px;font-size:16px}.proof-card small{display:block;color:var(--muted);margin-top:10px}.proof-card p{margin-bottom:14px}.record-management{margin:18px 0 28px;color:var(--muted);font-size:13px}#helper-form fieldset{border:1px solid var(--line);border-radius:14px;padding:20px;margin:20px 0}#helper-form legend{padding:0 8px;font-weight:600;font-size:14px}#helper-form .helper-fields{gap:18px}#helper-form .yellow-button{background:#2869c8;color:white;border-color:#2869c8}.record-stats{display:flex;gap:24px;flex-wrap:wrap;padding:0 0 22px;color:var(--muted);font-size:14px}.record-stats strong{color:var(--ink)}.service-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.week-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0}.week-calendar>div{padding:12px 2px;text-align:center;border-radius:10px;background:var(--bg)}.week-calendar small,.week-calendar strong{display:block;font-size:12px}.week-calendar strong{font-size:17px;margin-top:10px}.week-calendar .scheduled{background:#2c6dd2;color:white}.record-card>small{color:var(--muted);font-size:12px}.service-card{border:1px solid var(--line);background:var(--bg);padding:14px;border-radius:12px;margin-top:12px}.service-card strong{font-size:13px}.service-card p{margin:6px 0}.service-card small{font-size:12px;color:var(--muted)}[hidden]{display:none!important}
@media(max-width:900px){main{padding:20px}.service-columns{grid-template-columns:1fr}#helpers-panel{padding:20px}}
@media(max-width:600px){.directory-heading{align-items:flex-start;flex-direction:column}.record-heading h2{font-size:23px}.helper-row{gap:10px}.helper-row button{font-size:12px;padding:8px}.person-avatar{width:32px;height:36px}.person-label strong{font-size:14px}.personnel-summary{flex-direction:column}.personnel-summary button{text-align:left}.record-card{padding:16px}.helper-actions{flex-wrap:wrap}}
@media(max-width:600px){#record-tabs{gap:2px}#record-tabs button{padding:9px 8px;font-size:12px}}
#allowance-toggle,#allowance-reset{padding:9px 13px;border:1px solid var(--line);background:var(--surface);color:var(--ink);margin:12px 0}#allowance-fields{padding:18px;margin:8px 0 16px;border-radius:12px;background:var(--bg)}.allowance-reason{display:grid;gap:8px;margin-top:16px}.allowance-reason textarea{width:100%;font:inherit;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink)}.directory-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.person-label{min-width:0}.person-label small{overflow-wrap:anywhere}.person-label b{font-weight:500}.allowance-summary{margin-bottom:20px}@media(max-width:680px){.directory-actions{width:100%;justify-content:flex-start}.person-label{flex-basis:70%}}
#license-review-dialog{width:calc(100% - 36px);max-width:580px;padding:36px;border:1px solid var(--line);border-radius:26px;box-shadow:0 24px 100px #0003}#license-review-dialog::backdrop{background:#17203366;backdrop-filter:blur(7px)}#license-review-title{font-size:28px;letter-spacing:-.6px;margin:10px 0}#license-review-person{font-size:17px;margin-bottom:24px}.review-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#edf3fc;color:#2869c8;font-size:26px;margin-bottom:24px}.review-class{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;background:var(--bg);border:1px solid var(--line);border-radius:16px;margin-bottom:24px}.review-class span{color:var(--muted);font-size:14px}.review-class strong{font-size:30px}#license-review-question{font-size:18px;line-height:1.6;color:var(--ink)}.review-note{font-size:13px;line-height:1.6;margin-top:16px}.review-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.review-actions button{padding:12px 18px}#license-review-confirm{background:#2869c8;color:#fff;border-color:#2869c8}@media(max-width:600px){#license-review-dialog{padding:24px;border-radius:22px}#license-review-title{font-size:24px}.review-actions{flex-direction:column-reverse}.review-actions button{width:100%}}
.personnel-nav{display:flex;gap:8px;margin-bottom:28px;border-bottom:1px solid var(--line);padding-bottom:12px}.personnel-nav button{padding:10px 16px;border:0;background:transparent;color:var(--muted)}.personnel-nav button[aria-pressed=true]{background:var(--bg);color:var(--ink);font-weight:600}.cost-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.cost-kpis article{border:1px solid var(--line);border-radius:16px;padding:22px;display:grid;gap:10px}.cost-kpis span,.cost-kpis small{color:var(--muted);font-size:13px}.cost-kpis strong{font-size:28px;letter-spacing:-.7px}.cost-chart-card{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:26px;border:1px solid var(--line);border-radius:18px;margin-bottom:30px}.cost-chart-card h3{margin:0 0 6px}.cost-donut{width:230px;height:230px;border-radius:50%;display:grid;place-items:center;margin:26px auto 0}.cost-donut>div{width:172px;height:172px;border-radius:50%;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center}.cost-donut strong{font-size:24px}.cost-donut small{color:var(--muted);font-size:12px}.cost-legend{align-self:center;display:grid;gap:20px}.cost-legend p{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.cost-legend strong{margin-left:auto;color:var(--ink)}.cost-legend i{width:12px;height:12px;border-radius:50%;flex-shrink:0}.cost-legend>small{color:var(--muted);font-size:12px}.cost-table-wrap{overflow:auto}.cost-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.cost-table th,.cost-table td{padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:top}.cost-table th{color:var(--muted);font-weight:500}.cost-table small{display:block;max-width:280px;margin-top:6px;color:var(--muted)}.cost-table tfoot{font-weight:600;background:var(--bg)}@media(max-width:900px){.cost-kpis{grid-template-columns:1fr}.cost-chart-card{grid-template-columns:1fr;padding:18px}.cost-kpis strong{font-size:26px}}
.statistics-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:28px}.statistics-charts .cost-chart-card{display:flex;flex-direction:column;gap:24px;margin:0;min-width:0}.statistics-charts .cost-legend{align-self:stretch}.statistics-charts .cost-legend p{font-size:13px}.statistics-charts .cost-chart-card h3{min-height:48px}#record-access{border-top:1px solid var(--line);padding-top:28px;margin-top:28px}#qualifications-section{margin-top:28px}#qualifications-section>h3{margin-bottom:5px}.qualification-intro{margin-bottom:18px}#qualifications-section select{min-width:240px;max-width:100%;padding:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}#qualifications-section fieldset{background:var(--bg)}#qualifications-section .check-options label{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:10px 12px}#qualifications-section .check-options label:has(input:checked){border-color:#32628c}@media(max-width:1050px){.statistics-charts{grid-template-columns:1fr}}
