/* Shared application theme: system font, gray surfaces, compact rows, blue actions. */
.shift-entry .shift-section{padding:16px 0;border-bottom:1px solid #e5e7eb}.shift-entry .shift-section:first-of-type{padding-top:0}.shift-date{display:grid;grid-template-columns:2fr 1fr;gap:16px}.shift-times,.shift-rate{display:grid;grid-template-columns:1fr 1fr;gap:16px}.time-pair{display:flex;gap:8px}.time-part{flex:1;min-width:0}.shift-entry .shift-section label:last-child{margin-bottom:0}.shift-entry .overnight{margin-top:8px;font-size:12px}.shift-entry select{padding-left:10px;padding-right:8px}.shift-entry h2{font-weight:400;color:#4b5563}
.agenda-shell .shift-entry .shift-section{padding:12px 0}.agenda-shell .shift-entry .shift-section:first-of-type{padding-top:0}.shift-entry .shift-times{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shift-entry .time-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agenda-shell .shift-entry .time-part{margin:0}.agenda-shell .shift-entry .time-part select{height:44px;min-height:44px;padding:8px;margin-top:4px}.agenda-shell .shift-entry .shift-times p{margin:0;font-size:12px}.agenda-shell .shift-entry .overnight{margin:8px 0 0;line-height:18px}.agenda-shell .shift-entry h2{margin-bottom:8px}.agenda-shell .shift-entry .shift-rate label{margin-bottom:4px}
body{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827;background:#f9fafb}
.users-shell,.agenda-shell{margin:auto;padding:16px 16px 80px;color:#111827;font-size:14px}
.users-shell h1,.agenda-shell h1{font-size:16px;font-weight:600;text-align:center;line-height:24px;margin:8px 0 16px}
.users-shell h2,.agenda-shell h2{font-size:14px;font-weight:600;margin:0 0 8px}
.users-shell .panel,.agenda-shell .panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:12px 0}
.users-shell p,.agenda-shell p{margin:4px 0}
.users-shell label,.agenda-shell label{display:block;font-size:14px;color:#4b5563;margin-bottom:12px}
.users-shell input,.users-shell select,.agenda-shell input,.agenda-shell select{display:block;width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #d1d5db;border-radius:8px;background:white;margin-top:4px;font-size:16px;box-sizing:border-box}
.users-shell input[type=hidden],.agenda-shell input[type=hidden]{display:none}
.users-shell input[type=checkbox],.agenda-shell input[type=checkbox]{display:inline;width:16px;min-height:16px;margin-right:8px}
.users-shell .fields,.agenda-shell .fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.users-shell .actions,.agenda-shell .actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.users-shell .button,.agenda-shell .button{display:inline-block;border:0;border-radius:8px;background:#2563eb;color:white;padding:10px 14px;font-size:14px;line-height:20px;cursor:pointer}
.users-shell .text-link,.agenda-shell .text-link{color:#2563eb}
.users-shell .muted,.agenda-shell .muted{color:#6b7280;font-size:12px;line-height:18px}
.users-shell .badge,.agenda-shell .badge{display:inline-block;padding:2px 6px;border-radius:999px;background:#f3f4f6;font-size:11px;color:#4b5563}
.users-shell .notice,.agenda-shell .notice{background:#ecfdf5;color:#065f46;padding:12px;border-radius:8px}
.users-shell .error,.agenda-shell .error{background:#fef2f2;color:#991b1b;padding:12px;border-radius:8px}
.users-shell .table-wrap,.agenda-shell .table-wrap{overflow:auto}
.users-shell table,.agenda-shell table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}
.users-shell th,.users-shell td,.agenda-shell th,.agenda-shell td{padding:10px 8px;border-bottom:1px solid #e5e7eb}
.users-shell article{padding-top:12px!important;margin-top:12px!important}
.agenda-heading{text-align:center;margin:8px 0 16px}.agenda-heading h1{margin-bottom:4px}
.agenda-filters{display:grid;grid-template-columns:minmax(140px,1fr) minmax(160px,1fr) auto;gap:12px;align-items:end;border-bottom:1px solid #e5e7eb;padding-bottom:12px}
.agenda-filters label{margin:0}.agenda-filters .button{min-height:48px}
.month-stats{display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 0;border-bottom:1px solid #e5e7eb}
.month-stats>div{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}.month-stats span,.month-stats small{font-size:12px;color:#6b7280}.month-stats strong{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.payment-panel{margin:12px 0;padding:12px;background:white;border:1px solid #e5e7eb;border-radius:12px}.payment-panel details{margin-top:8px}.payment-panel summary{cursor:pointer;list-style:none}.payment-confirm{padding-top:8px}.payment-confirm .button{margin-top:8px}
.paid-message{display:flex;align-items:center;gap:6px;color:#047857;font-size:12px;padding:8px 0}.filter-hint{padding:8px 0}
.agenda-day{margin-top:16px}.agenda-day h2{font-size:12px;font-weight:500;color:#4b5563;margin-bottom:8px}
.agenda-row{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px;margin:8px 0;border:1px solid #e5e7eb;border-radius:12px;background:white;min-height:64px}
.agenda-row:hover{border-color:#9ca3af}.agenda-row:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.agenda-row.indirect{background:#f8fafc}.agenda-row.cancelled{color:#6b7280;background:#f3f4f6}
.agenda-time{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.agenda-person{font-size:14px;font-weight:600;overflow-wrap:anywhere}.agenda-cost{text-align:right;font-size:14px;font-weight:600}
.payment-status{font-size:10px;font-weight:500;border-radius:999px;padding:2px 6px;display:inline-block}.status-paid{background:#dcfce7;color:#166534}.status-due{background:#fef3c7;color:#92400e}.status-cancelled{background:#e5e7eb;color:#4b5563}
.agenda-form .panel{border:0;background:transparent;padding:0}.agenda-form .form-section{padding:16px 0;border-bottom:1px solid #e5e7eb}
.agenda-bottom{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e5e7eb;display:flex;justify-content:space-around;padding:8px 16px max(8px,env(safe-area-inset-bottom));z-index:30}.agenda-bottom a,.agenda-bottom button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;color:#2563eb}.agenda-bottom a{color:#6b7280}
.dash-shell,.tt-shell,.tt-list-shell,.report-shell{background:#f9fafb}.dash-card,.tt-card,.report-card{background:white;border:1px solid #e5e7eb;border-radius:12px;box-shadow:none}
.profile-section{scroll-margin-top:4.5rem}.profile-input{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:12px;font-size:16px;background:white}.profile-input[readonly]{background:#f9fafb;color:#6b7280}.profile-password-input{padding-right:48px}.profile-primary{border-radius:8px;background:#2563eb;color:white;padding:10px 14px;font-size:14px;font-weight:500}.profile-primary:hover{background:#1d4ed8}.profile-primary:disabled{opacity:.4;cursor:not-allowed}.profile-label{display:block;font-size:14px;color:#4b5563;margin-bottom:4px}
input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
@media(max-width:600px){.agenda-filters{grid-template-columns:1fr 1fr}.agenda-filters .button{grid-column:1/-1;min-height:40px}.month-stats{gap:8px 16px}.agenda-row{grid-template-columns:76px minmax(0,1fr) auto;padding:12px;gap:8px}.agenda-cost{font-size:12px}.agenda-person{font-size:14px}.agenda-time{font-size:11px}.users-shell .fields,.agenda-shell .fields{grid-template-columns:1fr}}
