/* Precision — shared visual language. All assets are served locally. */
:root{color-scheme:dark;--bg:#101414;--surface:#141919;--surface-2:#1a2020;--ink:#edf0ed;--muted:#abb4b0;--subtle:#7e8b85;--line:#323d38;--line-soft:#25302b;--accent:#f7c05a;--accent-soft:#443820;--danger:#ed9292;--radius:4px;font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-synthesis:none;font-size:14px;line-height:1.5;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;padding:44px 28px;min-width:320px}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}button{color:inherit}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--accent)}button,input,select,textarea{border-radius:var(--radius)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2;font-weight:600;letter-spacing:-.025em}h1{font-size:32px}h2{font-size:23px}h3{font-size:17px}button{border:0;background:none}input,textarea,select{color:var(--ink);background:transparent}input::placeholder,textarea::placeholder{color:var(--subtle);opacity:1}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input[type=number]{appearance:textfield}select{color-scheme:dark}abbr[title]{text-decoration:none;cursor:help}strong{font-weight:600}[hidden]{display:none!important}
.calculator-shell{max-width:1440px;margin:0 auto;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.site-header{min-height:76px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:14px 26px;border-bottom:2px solid var(--accent)}
.wordmark{display:inline-flex;align-items:baseline;gap:0;text-decoration:none;font-size:27px;font-weight:700;letter-spacing:-1.2px;white-space:nowrap}.wordmark>span{font-weight:400}.wordmark small{font-size:13px;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:17px}.wordmark:hover{color:var(--ink)}
.month-nav{display:flex;align-items:center;gap:14px}.month-nav h1{font-size:19px;font-weight:500;letter-spacing:0;white-space:nowrap}.icon-button{display:inline-grid;place-items:center;width:32px;height:34px;color:var(--ink);font-size:24px;line-height:1;text-decoration:none;border-radius:3px}.icon-button:hover{color:var(--accent);background:var(--surface-2)}.unavailable{color:var(--subtle);opacity:.45}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:24px;white-space:nowrap;font-size:13px;color:var(--muted)}.header-actions a{text-decoration:none}.text-button{padding:7px 0;color:var(--muted);background:none;border:0;font-size:13px;text-decoration:none}.text-button:hover:not(:disabled){color:var(--accent)}
.period-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.period{min-width:0}.period+.period{border-left:1px solid var(--line)}.period-heading{display:block;list-style:none;padding:27px 25px 20px;cursor:default}.period-heading::-webkit-details-marker{display:none}.period-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.eyebrow{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.17em;font-weight:500;margin-bottom:5px}.period-title-row h2{font-size:23px;font-weight:500}.period-meta{display:flex;flex-direction:column;align-items:flex-end;gap:1px;font-size:12px;color:var(--muted);text-align:right}.period-meta strong{color:var(--ink);font-weight:400}.disclosure{display:none}.remaining-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:15px;white-space:nowrap}.remaining-value,.hour-unit{font-size:30px;color:var(--accent);font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.hour-unit{font-size:25px}.remaining-label{font-size:20px;margin-left:3px}.progress-caption{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.target-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:5px;border:0;border-radius:2px;overflow:hidden;background:#3b4440;margin-top:9px}.target-progress::-webkit-progress-bar{background:#3b4440}.target-progress::-webkit-progress-value{background:var(--accent)}.target-progress::-moz-progress-bar{background:var(--accent)}
.period-body{padding:0 25px 0}.hours-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}.hours-table .date-col{width:26%}.hours-table .mod-col{width:22%}.hours-table thead{border-top:1px solid var(--line);border-bottom:1px solid #455249}.hours-table thead th{font-size:12px;font-weight:400;line-height:1.3;padding:11px 8px;text-align:left;white-space:nowrap}.hours-table tbody tr{height:36px}.hours-table tbody tr:nth-child(even){background:#1b2320}.hours-table tbody th{font-weight:400;text-align:left;padding:0 8px;white-space:nowrap}.weekday{display:inline-block;width:32px;color:var(--muted);font-size:12px}.day-number{font-variant-numeric:tabular-nums}.hours-table tbody td{padding:0 8px}.hours-table tbody td.mod-cell{background:#202824;padding-left:16px}.hours-table thead th:last-child{background:#1d2521;padding-left:16px}.weekend .weekday,.weekend .day-number{color:var(--subtle)}.hours-input{display:block;width:100%;height:30px;padding:2px 0;border:0;border-bottom:1px solid #49554e;border-radius:0;outline:none;font-size:14px;font-variant-numeric:tabular-nums;transition:border-color .13s,background .13s}.hours-input:focus{outline:none;border-bottom:2px solid var(--accent);background:#202821}.hours-input:hover{border-bottom-color:var(--muted)}.hours-table tr:focus-within{background:#273029}.mod-value{font-variant-numeric:tabular-nums;color:var(--muted)}.has-mod .mod-value:not(:empty){color:var(--accent)}
.period-totals{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid #48564b;margin-top:22px;padding:20px 0 17px;gap:0}.period-totals>div{padding:0 14px}.period-totals>div:first-child{padding-left:0}.period-totals>div+div{border-left:1px solid var(--line)}.period-totals>div>span{display:block;font-size:12px;white-space:nowrap}.period-totals strong{display:block;margin-top:2px;font-size:22px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.period-totals small{font-size:15px}.has-mod [data-output=mod]{color:var(--accent)}.period-bottom{display:flex;gap:15px;align-items:baseline;justify-content:space-between;min-height:44px;padding-bottom:10px;font-size:11px;color:var(--subtle)}.clear-period{font-size:11px;white-space:nowrap}.target-met .period-status{color:var(--accent)}
.site-footer{border-top:1px solid var(--line);padding:17px 26px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted)}.title-override{padding:15px 26px;border-bottom:1px solid var(--line);font-size:17px}.announcements{padding:0 26px;border-bottom:1px solid var(--line)}.announcement{padding:13px 0 13px 16px;border-left:2px solid var(--accent);margin:15px 0;color:var(--ink)}.announcement a,.html-preview a{color:var(--accent)}.announcement p+p{margin-top:8px}.announcement center,.html-preview center{text-align:center}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 20px;color:#17180e;background:var(--accent);border:1px solid var(--accent);font-weight:600;font-size:13px;border-radius:3px;text-decoration:none;gap:8px}.button:hover{background:#ffd17b;color:#17180e}.button.secondary{background:transparent;color:var(--ink);border-color:#56645c;font-weight:400}.button.secondary:hover{background:var(--surface-2)}.button.danger{background:#652b2b;color:#ffe5e5;border-color:#a25454}.button-row{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:24px}.full-width{width:100%}.muted{color:var(--muted)}.danger-text{color:var(--danger)}
.modal{width:min(560px,calc(100% - 32px));max-height:85vh;overflow:auto;background:var(--surface);color:var(--ink);border:1px solid #536055;border-radius:6px;padding:25px;margin:auto}.modal::backdrop{background:#050909cc}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.modal-heading h2{font-size:22px}.prose p+p{margin-top:16px}.change-entry+.change-entry{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.change-entry time{font-size:12px;color:var(--accent)}.change-entry p{margin-top:7px;color:var(--muted);white-space:pre-line}.small-modal{max-width:440px}.notice{border-left:3px solid var(--accent);background:#28271d;padding:13px 17px;margin-bottom:20px}.notice.error{border-color:var(--danger);background:#302020;color:#f3d1d1}.skip-link{position:fixed;z-index:30;top:-100px;left:20px;background:var(--accent);color:#111;padding:12px}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:781px){.period:not([open])>.period-body{display:block}.period:not([open])>.period-heading{display:block}}
@media(max-width:1100px) and (min-width:781px){body{padding:24px 16px}.site-header{gap:12px;padding:14px 22px}.wordmark{font-size:25px}.wordmark small{display:none}.header-actions{gap:18px}.period-heading{padding:24px 18px 19px}.period-body{padding:0 18px}.period-title-row h2{font-size:20px}.remaining-value{font-size:27px}.remaining-label{font-size:17px}.period-meta{font-size:11px}.progress-caption{font-size:11px}.hours-table tbody td,.hours-table tbody th,.hours-table thead th{padding-left:5px;padding-right:5px}.desktop-word{display:none}.weekday{width:28px}.period-totals>div{padding:0 10px}.period-totals strong{font-size:20px}}
@media(max-width:780px){body{padding:14px 12px}.calculator-shell{max-width:580px}.site-header{grid-template-columns:1fr auto;gap:0;padding:14px 18px 0}.wordmark{font-size:24px;grid-column:1}.wordmark small{font-size:10px;margin-left:10px}.header-actions{grid-column:2;font-size:11px;gap:15px}.header-actions .text-button{font-size:11px}.month-nav{grid-column:1/-1;grid-row:2;justify-content:center;border-top:1px solid var(--line);margin:13px -18px 0;padding:9px 15px;gap:18px}.month-nav h1{font-size:18px}.period-grid{display:block}.period+.period{border-left:0;border-top:1px solid var(--line)}.period-heading{padding:21px 17px 17px;cursor:pointer}.period-title-row{position:relative;padding-right:18px}.period-title-row h2{font-size:22px}.period-meta{font-size:11px}.disclosure{display:block;position:absolute;right:0;top:-3px;font-size:18px;color:var(--muted)}details:not([open]) .disclosure{transform:rotate(180deg)}.eyebrow{font-size:10px}.remaining-value{font-size:29px}.remaining-label{font-size:17px}.hour-unit{font-size:23px}.progress-caption{font-size:11px}.period-body{padding:0 17px}.hours-table{font-size:13px}.hours-table .date-col{width:25%}.hours-table .mod-col{width:19%}.hours-table thead th{font-size:11px;padding:10px 5px}.hours-table tbody th,.hours-table tbody td{padding-left:5px;padding-right:5px}.hours-table tbody tr{height:43px}.hours-table tbody td.mod-cell,.hours-table thead th:last-child{padding-left:10px}.hours-input{height:36px;font-size:16px}.weekday{width:28px;font-size:11px}.desktop-word{display:none}.period-totals{margin-top:17px;padding:17px 0}.period-totals>div{padding:0 12px}.period-totals>div>span{font-size:11px}.period-totals strong{font-size:21px}.site-footer{padding:15px 17px;flex-direction:column;gap:4px;font-size:10px}.announcements{padding:0 17px}.announcement{font-size:12px}.period-bottom{min-height:43px}.title-override{padding:13px 17px;font-size:15px}}
@media(max-width:390px){body{padding:8px}.site-header{padding-left:14px;padding-right:14px}.wordmark small{display:none}.header-actions{gap:13px}.period-heading{padding:18px 12px 15px}.period-body{padding:0 12px}.period-title-row h2{font-size:20px}.remaining-label{font-size:15px}.progress-caption{font-size:10px}.remaining-value{font-size:27px}.period-meta{font-size:10px}.period-totals>div{padding:0 9px}.period-totals strong{font-size:19px}}
/* Center desktop at roughly three quarters of the viewport and scale row spacing with its height. */
@media screen and (min-width:781px){body:not(.admin-body):not(.login-body){padding:24px clamp(16px,1.25vw,32px)}.calculator-shell{width:75%;min-width:min(1080px,100%);max-width:none;--desktop-row-height:clamp(44px,calc((100dvh - 540px) / 16),96px)}.calculator-shell .hours-table{font-size:14px}.calculator-shell .hours-table tbody tr{height:var(--desktop-row-height)}.calculator-shell .hours-table thead th{padding-top:13px;padding-bottom:13px;font-size:13px}.calculator-shell .hours-input{height:clamp(36px,calc(var(--desktop-row-height) - 10px),64px);font-size:15px}.calculator-shell .weekday{font-size:13px}}
/* Small holiday accents, kept within the date row and the Precision palette. */
.date-line{display:inline-flex;align-items:center;gap:0;vertical-align:middle}.holiday-icon{width:16px;height:16px;margin-left:7px;flex:none;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.hours-table tbody tr.holiday{--holiday-bg:#292a20;--holiday-mod:#303025;--holiday-accent:#cfbb83;--holiday-line:#5a533c;background:var(--holiday-bg);box-shadow:inset 0 1px var(--holiday-line),inset 0 -1px var(--holiday-line)}.hours-table tbody tr.holiday>th{padding-top:8px;padding-bottom:8px;box-shadow:inset 3px 0 var(--holiday-accent);white-space:normal}.holiday .date-line,.holiday .weekday,.holiday .day-number{color:var(--ink)}.holiday .holiday-icon{color:var(--holiday-accent)}.holiday-label{display:block;margin-top:4px;font-size:10px;line-height:1.3;font-weight:500;color:var(--holiday-accent);white-space:normal;overflow-wrap:normal}.hours-table tbody tr.holiday>td.mod-cell{background:var(--holiday-mod)}.holiday .hours-input{border-bottom-color:var(--holiday-line)}.holiday .hours-input:hover{border-bottom-color:var(--holiday-accent)}.holiday .hours-input:focus{border-bottom-color:var(--accent);background:var(--surface)}.hours-table tbody tr.holiday:focus-within{outline:1px solid var(--holiday-accent);outline-offset:-1px}.hours-table tbody tr.holiday-veterans{--holiday-bg:#1c252e;--holiday-mod:#232f39;--holiday-accent:#b7c8dc;--holiday-line:#414f60}.holiday-veterans .holiday-icon{fill:#9b6e63;stroke:#d6c5a0}.hours-table tbody tr.holiday-thanksgiving{--holiday-bg:#2c251e;--holiday-mod:#352b22;--holiday-accent:#d6b18a;--holiday-line:#5e4c37}.hours-table tbody tr.holiday-christmas{--holiday-bg:#1a2b23;--holiday-mod:#20352a;--holiday-accent:#acd0b7;--holiday-line:#3a5644}.holiday-christmas .holiday-icon{fill:#31563f;stroke:#b4d8bc}.holiday-christmas .holiday-ornament{fill:#df9b92;stroke:none}.holiday-christmas .holiday-label{color:#dbc1b4}
@media(max-width:780px){.holiday-label{font-size:9px;line-height:1.35}.holiday-icon{width:14px;height:14px;margin-left:5px}}
/* Longer, explicit labels wrap without changing the table's input columns. */
.hours-table thead th:nth-child(2){white-space:normal}.period-totals>div>span{white-space:normal;line-height:1.35}.remaining-row{flex-wrap:wrap;row-gap:2px}.date-line{max-width:100%;flex-wrap:wrap;row-gap:2px}
@media(max-width:780px){.period-title-row{flex-wrap:wrap;row-gap:8px}.period-meta{margin-left:auto}.period-totals>div>span{min-height:2.7em}.hour-unit{font-size:18px}}
/* Decorative megaphone is part of the stylesheet, including on already-published notices. */
.announcement{position:relative;padding-left:48px;min-height:46px}.announcement::before{--megaphone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h3l10-5v16L7 15H4a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2Z'/%3E%3Cpath d='m7 15 1 6h3l-1.2-4.5M20 8l2-1m-2 9 2 1m-2-5h2'/%3E%3C/svg%3E");content:"";position:absolute;left:14px;top:14px;width:20px;height:20px;background:var(--accent);-webkit-mask:var(--megaphone) center/contain no-repeat;mask:var(--megaphone) center/contain no-repeat;pointer-events:none}
@media(max-width:780px){.announcement{padding-left:43px}.announcement::before{left:12px;width:18px;height:18px}}
/* Today stays distinct from weekends and coexists with each holiday's colors. */
.hours-table tbody tr.is-today{box-shadow:inset 0 1px #b39145,inset 0 -1px #b39145}.hours-table tbody tr.is-today:not(.holiday){background:#2c281d}.hours-table tbody tr.is-today:not(.holiday)>td.mod-cell{background:#352f20}.hours-table tbody tr.is-today>th{padding-top:7px;padding-bottom:7px;box-shadow:inset 3px 0 var(--accent)}.is-today .weekday,.is-today .day-number{color:var(--accent)}.today-badge{display:block;width:fit-content;margin-top:4px;padding:1px 5px;border-radius:3px;background:var(--accent);color:#202318;font-size:9px;line-height:1.5;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{padding:0;background:white;color:black}.calculator-shell{border:0}.site-header,.site-footer,.period-bottom,.announcements{display:none}.period-grid{display:block}.period{break-inside:avoid}.period+.period{border-left:0}.period-body{display:block!important}.period-heading{padding-top:10px}.hours-table tbody tr{height:24px}.hours-input{border:0;color:black}.period-totals{padding:10px 0}.period-meta,.weekday,.day-number,.mod-value,.remaining-value,.hour-unit{color:black!important}dialog{display:none}}
