:root { color: #17212b; font-family: Inter, Arial, sans-serif; background: #f4f5f4; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.topbar { background: #17212b; color: white; padding: 22px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-family: Oxanium, Arial, sans-serif; font-size: 22px; font-weight: 700; text-decoration: none; }
.brand small { display: block; color: #dce3eb; font-family: Inter, Arial, sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:hover { color: #dce3eb; }
.page { padding: 48px 0 72px; }
.page-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
h1, h2, h3 { font-family: Oxanium, Arial, sans-serif; margin: 0; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: 24px; }
.eyebrow { color: #135585; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border-left: 2px solid #135585; padding-left: 10px; margin: 0 0 12px; }
.card { background: white; border: 1px solid #dbe1e6; padding: 28px; box-shadow: 0 12px 28px rgba(16,29,43,.07); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
label { font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #b9c4d2; background: white; color: #17212b; padding: 11px 12px; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #135585; outline-offset: 1px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #135585; background: #135585; color: white; padding: 12px 16px; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.button:hover { background: white; color: #135585; }
.button-secondary { background: white; color: #135585; }
.button-danger { border-color: #9b2c2c; background: #9b2c2c; }
.button-small { padding: 8px 10px; font-size: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notice { padding: 14px 16px; margin-bottom: 24px; border-left: 3px solid #135585; background: #eaf1f7; }
.notice.error { border-color: #9b2c2c; background: #fff1f1; }
.status { display: inline-block; padding: 6px 9px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #eaf1f7; color: #135585; }
.status.locked { background: #17212b; color: white; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th, td { border-bottom: 1px solid #dbe1e6; padding: 13px 10px; text-align: left; vertical-align: top; font-size: 14px; }
th { color: #546270; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.total { font-size: 28px; font-family: Oxanium, Arial, sans-serif; font-weight: 700; color: #135585; }
.muted { color: #5d6b78; line-height: 1.6; }
.holiday-date { color: #9b2c2c !important; border-color: #9b2c2c !important; font-weight: 700; }
.holiday-name { display: block; margin-top: 3px; color: #9b2c2c; font-size: 11px; font-weight: 700; }
.week-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: -7px 0 16px; }
.week-calendar-heading { grid-column: 1 / -1; color: #5d6b78; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.calendar-day { min-width: 0; border: 1px solid #dbe1e6; background: #f8fafc; color: #17212b; padding: 8px 3px; font-size: 14px; font-weight: 700; cursor: pointer; }
.calendar-day small { display: block; color: #5d6b78; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.calendar-day:hover, .calendar-day.selected { border-color: #135585; background: #135585; color: white !important; }
.calendar-day:hover small, .calendar-day.selected small { color: #dce3eb; }
.login { max-width: 460px; margin: 9vh auto; }
.login .card { padding: 36px; }
.admin-section { margin-top: 28px; }
.range-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.range-form .field { margin: 0; }
@media (max-width: 760px) { .topbar-inner, .page-header { align-items: flex-start; flex-direction: column; } .grid-2, .grid-3, .range-form { grid-template-columns: 1fr; } .nav { flex-wrap: wrap; } .shell { padding: 0 16px; } }
@media print { .topbar, .no-print, form, .button { display: none !important; } .page { padding: 0; } .card { border: 0; box-shadow: none; padding: 0; } body { background: white; } }
