#modules-form{gap:18px}#modules-form>fieldset{grid-template-columns:repeat(2,minmax(0,1fr))}#modules-form details{border:1px solid var(--night-line,#cedbd6);border-radius:12px;padding:14px}#modules-form summary{font-weight:650;cursor:pointer}#modules-form [data-sidebar]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}#modules-form [data-sidebar] fieldset{margin:0;align-content:start;min-width:0;background:var(--night-raised,#f5f9f7);border:0}#modules-form fieldset label{display:grid;grid-template-columns:18px 1fr;align-items:center;min-height:32px;line-height:1.35;text-align:left}#modules-form legend{font-weight:650}#modules-form input[type=checkbox]{margin:0;accent-color:var(--night-focus,#216650)}
.hr-service{background:linear-gradient(125deg,var(--night-raised,#f0f7f4) 0%,var(--night-surface,#f7faf9) 46%,var(--night-raised,#edf4f7) 100%);border:1px solid var(--night-line,#d8e4df);border-radius:16px;overflow:hidden;box-shadow:0 8px 28px #244d4010;color:var(--night-mint-ink,#193a30)}
.hr-service nav.toolbar{display:flex;align-items:stretch;gap:5px;background:var(--night-surface,rgba(242,248,245,.88));padding:12px;border-color:var(--night-line,#dbe6e0);backdrop-filter:blur(12px)}
.hr-service nav.toolbar .btn{margin:0;min-height:42px;line-height:1.25;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;flex:0 1 auto;white-space:normal;padding:9px 16px;text-align:center;font-size:13px}
.hr-service nav.toolbar .primary,.hr-service nav.toolbar [aria-pressed=true]{background:var(--night-action,#205e4a);color:var(--night-ink,white);border-color:var(--night-line,#205e4a)}
.hr-service .toolbar:not(nav){align-items:end;background:var(--night-surface,#ffffffb8)}.hr-service .toolbar label{margin:0}
.attendance-feed{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr));gap:12px;padding:16px}
.team-day,.duty-space .duty-row,.pay-summary{background:linear-gradient(130deg,var(--night-surface,#fffffff5),var(--night-surface,#f6fbf9ee));border:1px solid var(--night-line,#d6e3dc);box-shadow:0 3px 12px #294b4310;border-radius:12px}
.team-day{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;padding:14px;gap:10px}.person-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--night-mint-bg,#d5eae0);color:var(--night-mint-ink,#285a48);font-weight:700}.team-person small,.pay-summary small{display:block;color:var(--night-muted,#446259)}.team-person strong{font-size:14px;overflow-wrap:anywhere}.attendance-chip{font:600 12px/1.3 system-ui;background:var(--night-mint-bg,#e1f2e8);color:var(--night-mint-ink,#205840);border-radius:20px;padding:5px 9px}.attendance-chip[data-tone=off]{color:var(--night-muted,#4a5965);background:var(--night-raised,#e8edf1)}.attendance-chip[data-tone=late]{color:var(--night-gold-ink,#774f0c);background:var(--night-gold-bg,#fff0cb)}.team-time{grid-column:2/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}
.duty-space article.duty-row{margin:12px 16px;align-items:center}.duty-space .attendance-chip{display:inline-block}.duty-space table td select{width:100%;min-height:36px}
.pay-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px;padding:16px}.pay-summary strong{display:block;font-size:17px}.payroll-space table,.hr-service table{background:var(--night-surface,#fff)}.payroll-space td{font-variant-numeric:tabular-nums}.password-editor{border-top:1px solid var(--night-line,#dbe5e1);margin-top:20px;padding-top:16px}
@media(max-width:680px){#modules-form [data-sidebar],#modules-form>fieldset{grid-template-columns:1fr}.hr-service nav.toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hr-service nav.toolbar .btn{width:100%;padding:8px}.team-day{padding:11px}.attendance-feed{padding:10px}.pay-summary{margin:10px}.duty-space article.duty-row{margin:9px}.hr-service input[type=date]{max-width:145px}}
@media print{body:has(#modal[open] .salary-slip)>*:not(#modal){display:none!important}body:has(#modal[open] .salary-slip) #modal{position:static;max-height:none;max-width:none;width:100%;border:0;box-shadow:none}body:has(#modal[open] .salary-slip) #modal .modal-head button,body:has(#modal[open] .salary-slip) .dialog-actions{display:none!important}}
