:root {
  color-scheme: light;
  --navy: #09266a;
  --ink: #172840;
  --muted: #526377;
  --line: #d8dfe7;
  --paper: #fff;
  --canvas: #fafbf9;
  --orange-ink: #853811;
  --orange-wash: #fff1e6;
  --focus: #275ccb;
  font: 15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
p, h1, h2, dt, dd { overflow-wrap: anywhere; }
a { color: var(--navy); text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.bx-shell { width: min(100%, 980px); padding-inline: clamp(15px,4vw,32px); margin: 0 auto; }
.bx-top { color: white; background: var(--navy); }
.bx-top-inner { min-height: 64px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 8px; }
.bx-top a { color: white; }
.bx-brand { display: inline-flex; gap: 10px; align-items: center; font-family: Georgia,serif; font-size: 20px; font-weight: 700; text-decoration: none; }
.bx-brand img { background: white; border-radius: 50%; object-fit: contain; }
.bx-top-links { display: flex; gap: 16px; font-size: 14px; }
main.bx-shell { padding-block: clamp(20px,4vw,35px); }
.bx-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
h1 { font-size: clamp(27px,5vw,37px); letter-spacing: -.03em; line-height: 1.14; }
.bx-heading p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.bx-shift { padding: 5px 10px; border-radius: 6px; color: var(--navy); background: #eaf0fc; font-size: 14px; font-weight: 650; }
.bx-shift[data-active="true"] { color: #076246; background: #e3f4eb; }
.bx-status { min-height: 24px; margin-block: 7px; color: var(--muted); font-size: 13px; }
.bx-status[data-error="true"] { color: #9f261d; }
.bx-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(240px,1fr); gap: 12px; align-items: stretch; }
.bx-day, .bx-goal, .bx-panel { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: clamp(13px,3vw,21px); }
.bx-day { color: white; background: var(--navy); border-color: var(--navy); }
.bx-goal { color: var(--orange-ink); background: var(--orange-wash); border-color: #eccfb9; }
h2, summary { font-size: 16px; font-weight: 680; }
.bx-metrics { display: grid; grid-template-columns: 1fr 1.55fr; gap: 10px; align-items: end; padding-top: 9px; }
.bx-metrics strong, .bx-metrics span { display: block; }
.bx-metrics strong { line-height: 1.12; letter-spacing: -.03em; font-size: clamp(23px,4.5vw,37px); }
.bx-metrics #today-trips { font-size: clamp(40px,8vw,59px); }
.bx-metrics span { color: #e1eaff; font-size: 13px; }
.bx-metrics strong, .bx-money, .bx-pay summary strong, dd { font-variant-numeric: tabular-nums; }
#goal-gap { margin-block: 7px 10px; font-size: clamp(23px,4.5vw,32px); line-height: 1.12; font-weight: 720; letter-spacing: -.02em; }
progress { display: block; width: 100%; height: 8px; border: 0; border-radius: 8px; overflow: hidden; accent-color: var(--orange-ink); background: #e9c9b2; }
progress::-webkit-progress-bar { background: #e9c9b2; }
progress::-webkit-progress-value { background: #a64111; }
progress::-moz-progress-bar { background: #a64111; }
.bx-goal-label, .bx-updates { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; margin-top: 8px; font-size: 12px; }
.bx-lower { margin-top: 12px; align-items: start; }
.bx-panel { background: var(--paper); }
.bx-panel dl { margin-top: 7px; }
.bx-panel dl div { display: flex; gap: 6px 12px; justify-content: space-between; align-items: baseline; padding: 5px 0; font-size: 14px; }
.bx-panel dl div + div { border-top: 1px solid var(--line); }
.bx-panel dd { font-weight: 650; text-align: end; }
.bx-pay summary { color: var(--navy); }
.bx-pay summary strong, .bx-money { display: block; margin-top: 3px; font-size: clamp(25px,5vw,35px); font-weight: 720; color: var(--ink); line-height: 1.2; }
summary { cursor: pointer; }
.bx-updates { margin-top: 15px; color: var(--muted); }
.bx-panel p:not(.bx-money) { font-size: 13px; color: var(--muted); margin-block: 5px; }
button { border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: white; min-height: 42px; padding: 7px 13px; font-weight: 640; cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
.bx-quiet { border-color: #92acdc; background: transparent; font-size: 13px; }
.bx-owner-detail { margin-top: 12px; }
.bx-owner-detail summary strong { margin-left: 7px; color: var(--navy); }
.bx-owner-detail ol { padding-left: 22px; margin-bottom: 0; }
.bx-owner-detail li { margin-block: 9px; }
.bx-owner-detail li a, .bx-owner-detail li button { font-size: 13px; margin-inline-end: 8px; }
.bx-form, .bx-account form { display: grid; gap: 7px; margin-top: 9px; }
.bx-form label, .bx-account label { display: grid; gap: 3px; }
:is(input,select,textarea) { min-width: 0; width: 100%; padding: 7px 9px; border: 1px solid #a6b4c3; background: white; border-radius: 6px; min-height: 42px; }
.bx-account { width: min(calc(100% - 30px),510px); margin: 7vh auto; padding: 25px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.bx-account :is(h1,p) { margin-bottom: 12px; }
@media (max-width: 610px) { .bx-grid { grid-template-columns: minmax(0,1fr); } .bx-top-links { gap: 9px; } }

.bx-month-section { margin-top: 12px; }
.bx-month-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; }
.bx-month-heading > strong { color: var(--navy); }
.bx-forecast-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.bx-forecast-lines div { border-top: 1px solid var(--line); }
.bx-calendar { border-collapse: separate; border-spacing: 3px; table-layout: fixed; width: 100%; font-variant-numeric: tabular-nums; }
.bx-calendar th { font-size: 12px; color: var(--muted); font-weight: 650; }
.bx-calendar td, .bx-calendar th { padding: 3px 0; text-align: center; }
.bx-calendar td { border-radius: 5px; height: 42px; }
.bx-calendar td[aria-current="date"] { outline: 1px solid var(--navy); outline-offset: -1px; }
.bx-calendar time, .bx-calendar small { display: block; }
.bx-calendar time { font-weight: 650; }
.bx-calendar small { font-size: 11px; }
.bx-calendar-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0; list-style: none; color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.bx-calendar-legend li { display: inline-flex; gap: 5px; align-items: center; }
.bx-calendar-legend i { display: inline-block; width: 13px; height: 13px; border-radius: 3px; }
.bx-calendar .worked, .bx-calendar-legend .worked { background: #e3f4eb; color: #076246; }
.bx-calendar .off, .bx-calendar-legend .off { background: #eef1f4; color: #526377; }
.bx-calendar .planned, .bx-calendar-legend .planned { background: #eaf0fc; color: #234881; }
.bx-calendar .pending, .bx-calendar-legend .pending,
.bx-calendar .no_evidence, .bx-calendar-legend .no_evidence { background: var(--orange-wash); color: var(--orange-ink); }
@media (max-width: 520px) {
  .bx-forecast-lines { grid-template-columns: 1fr; }
  .bx-calendar { border-spacing: 2px; }
}

.bx-month-select { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.bx-month-select select { min-width: 154px; max-width: 100%; }
.bx-calendar td:has(.bx-day-button) { padding: 0; }
.bx-calendar .bx-day-button {
  display: grid; place-content: center; gap: 1px; width: 100%; min-height: 44px;
  padding: 3px 0; border: 0; border-radius: inherit; background: transparent; color: inherit;
  text-align: center; font-weight: 500; line-height: 1.3;
}
.bx-calendar .bx-day-button:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.bx-calendar .bx-day-button[aria-pressed="true"] { background: var(--navy); color: white; }
.bx-calendar .bx-day-button:focus-visible { outline-offset: 1px; }
.bx-day-detail { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.bx-day-detail h3 { margin: 0; font-size: 15px; }
.bx-day-detail .bx-money { font-size: clamp(23px, 4vw, 30px); }
