:root {
  --ink: #333333;
  --text: #333333;
  --muted: #595959;
  --line: #d9d9d9;
  --green: #A6C34D;
  --status-green: #27500a;
  --green-soft: #eaf3de;
  --canvas: #F2F2F2;
  --paper: #fff;
  --yellow: #745013;
  --yellow-soft: #fff1d5;
  --red: #8c3028;
  --red-soft: #fce9e6;
  --blue: #24527d;
  --blue-soft: #e8f2fa;
}

* { box-sizing: border-box; }
html { font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; color: var(--text); background: var(--canvas); }
body { margin: 0; font-size: 15px; line-height: 1.5; }
[hidden] { display: none !important; }


button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }

.mode-banner { background: var(--ink); color: #fff; text-align: center; padding: 7px 16px; font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.site-header { min-height: 83px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 210px; max-width: 100%; height: auto; }
.header-context { color: var(--muted); font-size: 13px; }
.kicker { color: var(--ink); font-size: 13px; font-weight: 700; margin: 0 0 10px; }
h1, h2, h3, p { margin-top: 0; }

.access-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(36px, 7vw, 100px); align-items: center; min-height: calc(100vh - 180px); padding: 60px 0 100px; }
.access-intro { max-width: 580px; }
.access-intro h1 { color: var(--ink); font-size: clamp(40px, 5.6vw, 66px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; margin: 0 0 25px; }
.access-intro > p:not(.kicker) { max-width: 48ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.access-rule { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 20px; color: var(--ink); display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.rule-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.access-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 22px 50px rgba(51, 51, 51, .07); }
.access-step { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); font-weight: 700; font-size: 19px; margin-bottom: 28px; }
.step-count { color: var(--muted); font-size: 12px; font-weight: 500; }
form label { display: block; color: var(--ink); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
input { width: 100%; padding: 12px 14px; border: 1px solid #a6a6a6; border-radius: 8px; background: #fff; color: var(--ink); }
input::placeholder { color: var(--muted); }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 9px 0 20px; }
.primary { display: block; width: 100%; border: 0; border-radius: 8px; background: var(--green); color: var(--ink); padding: 12px 16px; font-weight: 700; }
.primary:hover { background: #94B23C; }
.primary:disabled { opacity: .65; cursor: wait; }
.quiet { border: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; padding: 13px 0 0; }
.form-message { color: var(--muted); font-size: 13px; margin: 15px 0 0; min-height: 1.5em; }

.report-view { padding: 39px 0 72px; }
.report-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.report-heading h1 { color: var(--ink); font-size: clamp(28px, 3.4vw, 40px); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 8px; }
.report-meta { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.report-message { color: var(--red); font-size: 13px; min-height: 1.5em; margin: 8px 0 0; }
.sign-out { flex: none; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 8px 14px; font-size: 13px; font-weight: 600; }
.sign-out:hover, .list-toggle:hover { background: #e7e7e7; }
.week-control { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 36px 0 18px; padding-top: 19px; border-top: 1px solid var(--line); }
.week-control > div:first-child { display: flex; flex-direction: column; gap: 2px; color: var(--ink); font-weight: 700; }
.week-label, .picker label { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.picker select { min-width: 154px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-top: 4px; }
.metric-band { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--ink); color: #fff; border-radius: 13px; overflow: hidden; margin: 30px 0 43px; }
.metric { padding: 23px 28px 25px; min-width: 0; }
.metric + .metric { border-left: 1px solid rgba(255,255,255,.17); }
.metric span { display: block; color: #d9d9d9; font-size: 13px; }
.metric strong { display: block; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.25; margin: 5px 0 3px; }
.metric strong[data-status="green"] { color: #b8e59c; }
.metric strong[data-status="yellow"] { color: #ffe0a5; }
.metric strong[data-status="red"] { color: #ffb5ac; }
.metric small { color: #d9d9d9; font-size: 12px; }
.section-block { margin-bottom: 36px; min-width: 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.section-heading h2 { color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.section-heading > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
#timeoff-window-label { white-space: normal; text-align: right; }
.status-paper, .table-wrap, .list-paper { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
.status-paper { padding: 23px 26px 26px; }
.status-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.status-cell { min-width: 0; }
.status-label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.status-green { color: var(--status-green); background: var(--green-soft); }
.status-yellow { color: var(--yellow); background: var(--yellow-soft); }
.status-red { color: var(--red); background: var(--red-soft); }
.status-complete { color: var(--blue); background: var(--blue-soft); }
.status-none { color: var(--muted); background: var(--canvas); }
.status-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-top: 21px; }
.status-copy h3 { color: var(--muted); font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.status-copy p { color: var(--text); line-height: 1.6; margin: 0; }
.status-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; border-top: 1px solid var(--line); margin-top: 21px; padding-top: 21px; }
.status-notes[data-count="1"] { grid-template-columns: 1fr; }
.status-notes h3 { color: var(--muted); font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.status-notes p { color: var(--text); line-height: 1.6; margin: 0; white-space: pre-line; }
.table-wrap { overflow-x: auto; padding: 10px 22px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 550px; }
th { text-align: left; color: var(--muted); font-weight: 600; padding: 12px 7px; }
td { border-top: 1px solid var(--line); padding: 13px 7px; }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.total td { color: var(--ink); font-weight: 800; border-top: 2px solid var(--line); }
.lower-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.agreement-picker { margin-top: 24px; }
.agreement-picker label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.agreement-picker select { min-width: 260px; max-width: 100%; padding: 9px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.actual-description { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 85ch; }
.list-paper { padding: 7px 20px; }
.list-row { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.list-row:last-child { border-bottom: 0; }
.list-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.row-value { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.list-toggle { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); color: var(--ink); padding: 9px; margin: 9px 0 5px; font-size: 12px; font-weight: 700; }
.empty { color: var(--muted); font-size: 13px; margin: 13px 0; }
.report-footnote { color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); padding-top: 18px; margin: 10px 0 0; }

@media (max-width: 760px) {
  .access-layout { grid-template-columns: 1fr; min-height: auto; padding: 50px 0 70px; gap: 35px; }
  .access-rule { margin-top: 30px; }
  .access-card { max-width: 550px; }
  .status-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .shell { width: min(1080px, calc(100% - 32px)); }
  .header-context { display: none; }
  .report-heading { align-items: start; }
  .report-meta { max-width: 34ch; }
  .week-control { align-items: start; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .status-copy, .status-notes, .lower-grid { grid-template-columns: 1fr; }
  .status-copy, .status-notes { gap: 18px; }
  .status-paper { padding: 20px; }
  .table-wrap { padding: 8px 12px; }
}
@media (max-width: 390px) {
  .week-control { display: block; }
  .picker { margin-top: 14px; }
  .picker select { width: 100%; }
  .report-heading { display: block; }
  .sign-out { margin-top: 14px; }
}
.status-picker { display: flex; justify-content: flex-end; margin: 0 0 12px; }
[hidden] { display: none !important; }

:root { --line: #dce1d8; --canvas: #f8faf7; --muted: #5d655d; }
html { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body { min-width: 320px; }
.shell { width: min(1120px, calc(100% - 48px)); }
.site-header { min-height: 72px; border-bottom-color: #e2e7de; }
.brand img { width: 172px; }
.header-context { font-size: 12px; }
.authenticated-controls { display: flex; justify-content: flex-end; padding-top: 18px; }
.sign-out, .back-to-chooser { min-height: 44px; background: var(--paper); border: 1px solid #a8b2a2; border-radius: 7px; color: var(--ink); padding: 8px 15px; font-size: 13px; font-weight: 650; }
.back-to-chooser:hover, .sign-out:hover { background: #eff4e9; }
.chooser { min-height: calc(100vh - 170px); padding: clamp(36px, 6vw, 72px) 0 90px; }
.chooser-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid #d6ddd3; padding-bottom: 30px; }
.eyebrow, .chooser-count { font-size: 12px; font-weight: 700; letter-spacing: .07em; color: #4e594d; }
.eyebrow { margin: 0 0 13px; }
.eyebrow-rule { display: inline-block; width: 23px; height: 1px; background: var(--green); vertical-align: middle; margin: 0 8px; }
.chooser h1 { font-size: 36px; line-height: 1.15; font-weight: 650; letter-spacing: -.035em; margin: 0 0 10px; }
.chooser-intro { color: var(--muted); font-size: 16px; margin: 0; }
.chooser-count { border: 1px solid #d7ded3; background: white; border-radius: 100px; padding: 7px 10px; white-space: nowrap; }
.agreement-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 30px; }
.agreement-choice { width: 100%; min-width: 0; min-height: 175px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid #dce2d7; background: white; border-radius: 12px; padding: 23px 26px; color: var(--ink); box-shadow: 0 7px 26px rgba(39, 49, 34, .035); transition: transform .16s, box-shadow .16s, border-color .16s; }
.agreement-choice:hover { border-color: #9db974; transform: translateY(-2px); box-shadow: 0 15px 35px rgba(39, 49, 34, .09); }
.choice-index { color: #4e594d; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.choice-copy { display: grid; gap: 7px; margin-top: 15px; min-width: 0; overflow-wrap: anywhere; }
.choice-copy strong { font-size: 19px; font-weight: 650; line-height: 1.3; }
.choice-copy small { font-size: 12px; color: #5e685a; }
.choice-action { margin-top: auto; align-self: flex-end; color: #334620; font-size: 12px; font-weight: 700; }
.choice-action svg { vertical-align: -3px; margin-left: 8px; }
.chooser-footnote { color: #4e594d; font-size: 12px; margin: 22px 0 0; }
.report-view { padding: 25px 0 72px; }
.report-heading h1 { font-size: clamp(27px, 3.3vw, 39px); font-weight: 650; }
.report-heading .kicker { color: #526747; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.report-meta { color: #677166; }
.report-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 29px; }
.agreement-picker, .status-picker { display: flex; align-items: center; gap: 12px; min-width: 0; }
.agreement-picker { margin-top: 0; }
.agreement-picker label, .status-picker label { display: block; flex: none; margin: 0; color: #5d675b; font-size: 12px; font-weight: 700; }
.agreement-picker select, .status-picker select { appearance: none; min-width: 0; max-width: 100%; height: 44px; margin: 0; padding: 0 42px 0 14px; border: 1px solid #a8b2a2; border-radius: 7px; background-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23535b53' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; color: var(--ink); font-size: 13px; text-overflow: ellipsis; }
.agreement-picker select { width: min(34rem, 100%); }
.status-picker select { min-width: 154px; }
.metric-band { background: transparent; color: var(--ink); gap: 16px; border-radius: 0; margin: 27px 0 49px; overflow: visible; }
.metric { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 22px 25px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric span { color: #596759; font-size: 12px; font-weight: 650; }
.metric strong { font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.metric strong[data-status="green"] { color: #27500a; }
.metric strong[data-status="yellow"] { color: #745013; }
.metric strong[data-status="red"] { color: #8c3028; }
.metric small { color: #596759; font-size: 12px; }
.section-block { margin-bottom: 42px; }
.section-heading { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; }
.section-heading h2 { font-size: 20px; }
.section-heading > span { color: #606a5e; }
.status-paper, .table-wrap, .list-paper { border-color: #dce2d8; border-radius: 10px; }
.status-paper { padding: 28px 30px; }
.status-grid { gap: 16px; }
.status-label { color: #667164; }
.status-copy h3, .status-notes h3 { color: #536050; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.status-copy p, .status-notes p { font-size: 16px; line-height: 1.65; white-space: pre-line; max-width: 72ch; }
.table-wrap { padding: 8px 22px; }
th { color: #606e5d; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 16px 9px; }
td { padding: 15px 9px; }
tr.total td { background: #f6f9f3; }
.list-paper { padding: 7px 25px; }
.list-row { padding: 17px 0; gap: 25px; font-size: 14px; }
.list-row .actual-description { color: #364036; font-size: 16px; line-height: 1.55; margin: 3px 0; max-width: 72ch; }
.table-scroll-hint { color: #4e594d; font-size: 13px; font-weight: 650; margin: 0 0 9px; }
.row-value { color: #3d473d; font-weight: 700; }
.report-footnote { margin-top: 38px; }
#chooser-title:focus, #report-title:focus { outline: 3px solid #2b3425; outline-offset: 5px; }
@media (max-width: 760px) {
  .agreement-choices { grid-template-columns: 1fr; }
  .metric-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 63px; }
  .brand img { width: 140px; }
  .chooser { min-height: 0; padding: 45px 0 55px; }
  .chooser-head { align-items: start; flex-direction: column; gap: 15px; padding-bottom: 20px; }
  .chooser h1 { font-size: 33px; }
  .agreement-choices { gap: 12px; padding-top: 20px; }
  .agreement-choice { min-height: 160px; padding: 20px; }
  .report-view { padding-top: 31px; }
  .report-heading h1 { font-size: 28px; }
  .report-navigation { align-items: stretch; flex-direction: column; }
  .agreement-picker, .status-picker { align-items: stretch; flex-direction: column; gap: 8px; }
  .agreement-picker { width: 100%; }
  .agreement-picker select, .status-picker select { width: 100%; min-width: 0; }
  .status-picker { justify-content: flex-start; }
  .metric-band { grid-template-columns: 1fr; gap: 10px; margin: 25px 0 33px; }
  .metric { padding: 18px 20px; }
  .metric strong { font-size: 27px; }
  .section-heading { display: block; }
  .section-heading > span { display: block; margin-top: 3px; white-space: normal; }
  #timeoff-window-label { text-align: left; }
  .list-paper { padding: 4px 16px; }
  .list-row { align-items: start; }
}
@media (forced-colors: active) {
  .agreement-picker select, .status-picker select { appearance: auto; background-image: none; padding-right: 14px; }
  .agreement-choice, .metric, .sign-out, .back-to-chooser { border: 1px solid CanvasText; }
  .brand { background: #fff; padding: 3px; forced-color-adjust: none; }
  :focus-visible, #chooser-title:focus, #report-title:focus { outline: 3px solid Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  .agreement-choice { transition: none; }
  .agreement-choice:hover { transform: none; }
}

:root { color-scheme: light; }
.download-actuals { margin: 0 0 14px; }
.timeoff-person { padding-top: 15px; }
.timeoff-person + .timeoff-person { border-top: 1px solid var(--line); }
.timeoff-person h3 { color: var(--ink); font-size: 14px; margin: 0; }
.timeoff-person .list-row { font-size: 13px; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #151715;
  --paper: #202320;
  --ink: #edf0e9;
  --text: #edf0e9;
  --muted: #b1baad;
  --line: #41483e;
  --status-green: #b8e59c;
  --green-soft: #293c21;
  --yellow: #ffe0a5;
  --yellow-soft: #46371e;
  --red: #ffb5ac;
  --red-soft: #492a27;
  --blue: #b1d7f7;
  --blue-soft: #253b4d;
}
:where(:root[data-theme="dark"]) .site-header, :where(:root[data-theme="dark"]) .chooser-head, :where(:root[data-theme="dark"]) .status-paper, :where(:root[data-theme="dark"]) .table-wrap, :where(:root[data-theme="dark"]) .list-paper,
:where(:root[data-theme="dark"]) .agreement-choice, :where(:root[data-theme="dark"]) .chooser-count, :where(:root[data-theme="dark"]) .sign-out, :where(:root[data-theme="dark"]) .back-to-chooser,
:where(:root[data-theme="dark"]) .agreement-picker select, :where(:root[data-theme="dark"]) .status-picker select, :where(:root[data-theme="dark"]) input { border-color: var(--line); }
:where(:root[data-theme="dark"]) .agreement-choice, :where(:root[data-theme="dark"]) .chooser-count, :where(:root[data-theme="dark"]) .metric, :where(:root[data-theme="dark"]) input { background-color: var(--paper); }
:where(:root[data-theme="dark"]) .eyebrow, :where(:root[data-theme="dark"]) .chooser-count, :where(:root[data-theme="dark"]) .choice-index, :where(:root[data-theme="dark"]) .choice-copy small, :where(:root[data-theme="dark"]) .chooser-footnote,
:where(:root[data-theme="dark"]) .report-meta, :where(:root[data-theme="dark"]) .agreement-picker label, :where(:root[data-theme="dark"]) .status-picker label, :where(:root[data-theme="dark"]) .metric span, :where(:root[data-theme="dark"]) .metric small,
:where(:root[data-theme="dark"]) .section-heading > span, :where(:root[data-theme="dark"]) .status-label, :where(:root[data-theme="dark"]) .status-copy h3, :where(:root[data-theme="dark"]) .status-notes h3, :where(:root[data-theme="dark"]) th,
:where(:root[data-theme="dark"]) .table-scroll-hint { color: var(--muted); }
:where(:root[data-theme="dark"]) .choice-action, :where(:root[data-theme="dark"]) .report-heading .kicker { color: #c7dc8d; }
:where(:root[data-theme="dark"]) .list-row .actual-description, :where(:root[data-theme="dark"]) .row-value { color: var(--text); }
:where(:root[data-theme="dark"]) .sign-out:hover, :where(:root[data-theme="dark"]) .back-to-chooser:hover, :where(:root[data-theme="dark"]) .list-toggle:hover, :where(:root[data-theme="dark"]) tr.total td { background: #2c3228; }
:where(:root[data-theme="dark"]) .primary { color: #20271a; }
:where(:root[data-theme="dark"]) .metric strong[data-status="green"] { color: var(--status-green); }
:where(:root[data-theme="dark"]) .metric strong[data-status="yellow"] { color: var(--yellow); }
:where(:root[data-theme="dark"]) .metric strong[data-status="red"] { color: var(--red); }
:where(:root[data-theme="dark"]) .mode-banner { background: #2c3228; color: var(--ink); }
:where(:root[data-theme="dark"]) .brand { background: #fff; border-radius: 4px; padding: 5px; }
:where(:root[data-theme="dark"]) .agreement-picker select, :where(:root[data-theme="dark"]) .status-picker select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23b1baad' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:where(:root[data-theme="dark"]) #chooser-title:focus, :where(:root[data-theme="dark"]) #report-title:focus { outline-color: var(--green); }
@media (forced-colors: active) {
  .agreement-picker select, .status-picker select { background-image: none; }
}
