/* Matched to inquired.com: deep evergreen, warm cream, Lato. */
:root {
  --green: #0d3e3c;
  --green-2: #1f4c49;
  --green-deep: #082c2a;
  --cream: #f6ece4;
  --sand: #ded7cd;
  --ink: #17302e;
  --muted: #4f5f5d;
  --line: #e2d8cd;
  --pay: #fbf6f1;
  --focus: #2f7d73;
  --danger: #a8321f;
  --ok: #1f5f4a;
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.55 var(--font); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 8px; }
h1, h2 { line-height: 1.1; margin: 0; color: var(--green); font-weight: 900; }
h2 { font-size: 1.375rem; margin-bottom: .75rem; }
small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; }

/* floating white nav over the evergreen band */
.topbar-wrap { position: sticky; top: 0; z-index: 20; padding: 1rem 1.25rem 0; margin-bottom: -5.25rem; }
.topbar {
  display: flex; align-items: center; gap: .75rem 1.75rem; flex-wrap: wrap;
  max-width: 1240px; margin: 0 auto; padding: .8rem 1.25rem .8rem 1.5rem;
  background: #fff; border-radius: 10px; box-shadow: 0 6px 24px -10px rgba(8, 44, 42, .35);
}
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.wordmark { display: block; height: 28px; width: auto; }
.brand span { font-weight: 700; color: var(--muted); border-left: 1px solid var(--line); padding-left: .9rem; white-space: nowrap; }
.pages { display: flex; flex-wrap: wrap; gap: .15rem 1.25rem; flex: 1; }
.pages a, .me a { color: var(--ink); text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.pages a:hover, .me a:hover { color: var(--green); border-bottom-color: var(--sand); }
.pages a[aria-current="page"] { color: var(--green); font-weight: 700; border-bottom-color: var(--green); }
.me { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: .9375rem; }

/* evergreen title band */
.band-top { background: var(--green); color: var(--cream); padding: 8rem 0 3rem; margin-bottom: 2.5rem; }
.band-top h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.band-top a { color: #fff; }
.solo .band-top { flex: 1; margin-bottom: 0; padding-bottom: 6rem; }
.solo main { flex: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
main.wrap { padding-bottom: 4rem; }

.flashes { margin-bottom: 1.5rem; }
.flash { margin: 0 0 .5rem; padding: .75rem 1rem; border-radius: 6px; background: var(--cream); }
.flash.error { background: #fbe7e1; color: var(--danger); }
.flash.ok { background: #e4efe9; color: var(--ok); }

.signin { max-width: 38rem; padding-top: 4vh; }
.signin h1 { font-size: clamp(3rem, 8vw, 5rem); line-height: 1.02; margin-bottom: 1rem; }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 46rem; margin: .75rem 0 1.75rem; }
.band-top .lede { color: var(--cream); }
.band-top .lede:last-child { margin-bottom: 0; }
.hint { color: var(--muted); font-size: .875rem; margin: 0 0 .75rem; }
.band-top .hint { color: var(--sand); }

/* team page hero: monthly bars on evergreen */
.hero-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.sub { color: var(--cream); margin: .6rem 0 1.75rem; font-size: 1.125rem; }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(3.25rem, 1fr); gap: .5rem; overflow-x: auto; padding-bottom: .25rem; }
.bar { display: flex; flex-direction: column; gap: .35rem; text-align: center; }
.bar .v { font-size: .8125rem; color: var(--sand); font-variant-numeric: tabular-nums; }
.bar .track { height: 9rem; display: flex; align-items: flex-end; background: rgba(246, 236, 228, .08); border-radius: 4px; overflow: hidden; }
.bar .fill { display: block; width: 100%; background: rgba(246, 236, 228, .5); min-height: 2px; }
.bar.peak .fill { background: var(--cream); }
.bar.peak .v { color: #fff; font-weight: 700; }
.bar .m { font-size: .8125rem; font-weight: 700; color: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  .bar .fill { animation: grow .5s ease-out both; transform-origin: bottom; }
  @keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* blocks and tables */
.block { margin-bottom: 2.75rem; }
.scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: .6rem .8rem; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
thead th { font-size: .8125rem; color: #fff; font-weight: 700; background: var(--green); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
th.name { text-align: left; font-weight: 400; position: sticky; left: 0; background: #fff; min-width: 12rem; }
thead th.name { font-weight: 700; background: var(--green); }
td.tot, th.tot { font-weight: 700; }
tr.pay th, tr.pay td { background: var(--pay); }
tfoot th, tfoot td { border-top: 2px solid var(--green); border-bottom: 0; font-weight: 700; background: var(--cream); }
tfoot th.name { font-weight: 700; background: var(--cream); }
table.list { max-width: none; }
table.list th.name a { font-weight: 700; text-decoration: none; }
table.list th.name a:hover { text-decoration: underline; }
table.admin th, table.admin td { text-align: left; vertical-align: top; white-space: normal; }
table.admin th.name { min-width: 15rem; }
.empty { color: var(--muted); padding: 1.25rem 0; }

/* forms */
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea { font-weight: 400; }
input[type="text"], input:not([type]), input[type="number"], input[type="month"], input[type="file"], select, textarea {
  border: 1px solid var(--sand); border-radius: 6px; padding: .45rem .6rem; background: #fff; max-width: 100%;
}
input.narrow { width: 5rem; }
.stack { display: grid; gap: 1rem; max-width: 34rem; }
.stack label { display: grid; gap: .3rem; font-weight: 700; font-size: .9375rem; }
.stack label.check { display: flex; font-weight: 400; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; margin: 0; }
legend { font-weight: 700; font-size: .9375rem; padding: 0 .25rem; }
.checks { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.check { display: flex; align-items: center; gap: .4rem; font-size: .9375rem; white-space: nowrap; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--green); }
.actions { display: flex; gap: .75rem; align-items: center; }

.btn {
  display: inline-block; border: 2px solid var(--green); border-radius: 4px; cursor: pointer;
  background: var(--green); color: #fff; font-weight: 700; line-height: 1.2;
  padding: .7rem 1.2rem; text-decoration: none; justify-self: start;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn.big { font-size: 1.0625rem; padding: .9rem 1.5rem; }
.btn.small { padding: .35rem .8rem; font-size: .875rem; }
.btn-light { background: #fff; color: var(--green) !important; border-color: #fff; }
.btn-light:hover { background: var(--cream); border-color: var(--cream); }
.btn-on-dark { background: transparent; color: #fff !important; border-color: var(--cream); }
.btn-on-dark:hover { background: var(--green-2); border-color: #fff; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--green); text-decoration: underline; font-size: .875rem; }
.link.danger { color: var(--danger); }

.callout { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.callout p { margin: 0 0 .75rem; }
.help { margin-top: 1.25rem; max-width: 42rem; color: var(--muted); }
.help summary { cursor: pointer; color: var(--green); font-weight: 700; }

/* notes */
.note-form { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: end; margin-bottom: 1.5rem; max-width: 52rem; }
.note-form label { display: grid; gap: .3rem; font-weight: 700; font-size: .9375rem; }
.note-form .grow { flex: 1 1 22rem; }
.note-form textarea { width: 100%; }
.note { max-width: 52rem; border-left: 3px solid var(--green); padding: .25rem 0 .25rem 1rem; margin-bottom: 1.25rem; }
.note header { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
.note header strong { font-weight: 900; color: var(--green); font-size: 1.0625rem; }
.note header span { color: var(--muted); font-size: .875rem; }
.note p { margin: .35rem 0 .5rem; white-space: pre-line; max-width: 72ch; }

.footer { background: var(--green-deep); color: var(--cream); padding: 2.5rem 1.5rem; text-align: center; }
.footer .wordmark { height: 30px; margin: 0 auto .75rem; }
.footer .small { font-size: .85rem; color: #b9c9c5; margin: 0; }

@media (max-width: 760px) {
  .topbar-wrap { padding: .5rem .5rem 0; margin-bottom: -7.5rem; }
  .brand span { display: none; }
  .band-top { padding-top: 10rem; }
  .wrap { padding: 0 1rem; }
  th.name { min-width: 9rem; }
}
.solo main.wrap { padding-bottom: 0; }
tr.group th, tr.group td { font-weight: 700; }
tr.child th.name { padding-left: 2rem; color: var(--muted); }
tr.child td { color: var(--muted); }
.count { display: inline-block; min-width: 1.3rem; padding: 0 .35rem; border-radius: 999px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; text-align: center; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.tabs a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; padding: .2rem 0; }
.tabs a[aria-current="page"] { color: var(--green); font-weight: 700; border-bottom-color: var(--green); }
.tabs .btn { margin-left: auto; border-bottom: 2px solid var(--green); }
.flag-card { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; max-width: 56rem; margin-bottom: 1rem; }
.flag-card header { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin-bottom: .35rem; }
.flag-card header strong { font-weight: 900; color: var(--green); font-size: 1.0625rem; }
.flag-card header span { color: var(--muted); font-size: .875rem; }
.flag-card .body { white-space: pre-line; margin: .25rem 0 .75rem; }
.pill { border-radius: 999px; padding: .1rem .6rem; font-size: .8125rem; font-weight: 700; background: var(--cream); color: var(--green) !important; }
.pill.fixed, .pill.no_change { background: #e4efe9; color: var(--ok) !important; }
.note.flag.fixed, .note.flag.no_change { border-left-color: var(--sand); }
.note.private { border-left-style: dashed; }
.reply { background: var(--cream); padding: .5rem .75rem; border-radius: 6px; }
.flag-about { margin: 0; flex-basis: 100%; font-size: .9375rem; }
.flag-about span { font-weight: 700; }
.note-form input:not([type]) { width: 100%; }

.updated { margin: 0 0 1.75rem; padding: .6rem .9rem; border-left: 3px solid var(--green); background: var(--cream); border-radius: 0 6px 6px 0; font-size: .9375rem; }
.solo .updated { display: none; }
.chat { max-width: 52rem; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.25rem .5rem; }
.chat-log { display: grid; gap: .6rem; margin-bottom: 1rem; max-height: 28rem; overflow-y: auto; }
.chat-log:empty { display: none; }
.msg { padding: .65rem .85rem; border-radius: 10px; white-space: pre-line; max-width: 46rem; }
.msg.user { background: var(--green); color: #fff; justify-self: end; }
.msg.assistant { background: var(--cream); }
.msg.pending { color: var(--muted); font-style: italic; }
.msg.error { background: #fbe7e1; color: var(--danger); }

td.memo { white-space: normal; min-width: 12rem; max-width: 22rem; color: var(--muted); }

table.list.wide { max-width: none; }
.help.charges { max-width: none; color: var(--ink); }
.flag-help { background: var(--cream); border-radius: 6px; padding: .6rem .85rem; margin: .75rem 0; font-size: .9375rem; max-width: 52rem; }

button.cell { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; border-bottom: 1px dotted var(--sand); }
button.cell:hover, button.cell.on { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.drill { margin-top: 1rem; border: 1px solid var(--green); border-radius: 12px; padding: 1rem 1.25rem; background: #fff; }
.drill-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .5rem; }
.drill-head h3 { margin: 0; color: var(--green); font-weight: 900; font-size: 1.0625rem; }

th.name button.cell { text-align: left; font-weight: 400; }

.drill-dialog { border: 0; border-radius: 14px; padding: 1.25rem 1.5rem 1.5rem; width: min(56rem, 94vw); max-height: 82vh; overflow: auto; box-shadow: 0 24px 60px -20px rgba(8, 44, 42, .55); }
.drill-dialog::backdrop { background: rgba(8, 44, 42, .45); }
.drill-dialog .drill-head { position: sticky; top: -1.25rem; background: #fff; padding: .25rem 0 .75rem; margin-top: -.25rem; z-index: 1; }
.drill-dialog .drill-head h3 { font-size: 1.25rem; }
button.cell { border-bottom: 1px dashed var(--green); }
@media (prefers-reduced-motion: no-preference) { .drill-dialog[open] { animation: pop .15s ease-out; } @keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } } }

.drill-dialog h4 { margin: 1.5rem 0 .5rem; color: var(--green); font-weight: 900; font-size: 1rem; }
.drill-total { margin: 0 0 .75rem; color: var(--muted); }
.drill-dialog { width: min(68rem, 96vw); }
.drill-dialog td, .drill-dialog th { text-align: left; }
.drill-dialog td.tot, .drill-dialog th.tot { text-align: right; }

.pd3 { display: block; font-size: .625rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--sand); margin-top: .1rem; }
.bar .pd3 { color: var(--sand); }

thead th.mh { vertical-align: bottom; }
.pd3 { margin: 0 0 .1rem; }
.bar .pd3.top { display: block; min-height: .8rem; line-height: .8rem; }

.ast { margin-left: 1px; }
.key { font-size: .8125rem; color: #7a8886; margin: -.35rem 0 .75rem; }

/* ---------------- hub ---------------- */
.home-band h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.02; }
.home-band .lede { margin-bottom: 0; }
.ask-card { margin-top: 2.25rem; max-width: 46rem; background: var(--green-2); border-radius: 14px; padding: 1.1rem 1.25rem 1.2rem; }
.ask-card label { display: block; font-weight: 700; color: #fff; margin-bottom: .55rem; }
.ask-row { display: flex; gap: .6rem; }
.ask-row input { flex: 1; border: 0; border-radius: 8px; padding: .8rem 1rem; background: #fff; color: var(--muted); }
.ask-row input:disabled { background: rgba(255,255,255,.88); cursor: not-allowed; }
.ask-card .hint { margin: .6rem 0 0; color: var(--sand); }
.ask-card .hint a { color: #fff; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.25rem 1.35rem 1.3rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); }
.tile h3 { margin: 0; font-size: 1.2rem; font-weight: 900; color: var(--green); line-height: 1.2; }
.tile p { margin: 0; color: var(--muted); font-size: .9375rem; }
.tile .go { margin-top: auto; padding-top: .6rem; font-weight: 700; color: var(--green); font-size: .9375rem; }
a.tile.live { border-color: var(--green); box-shadow: inset 4px 0 0 var(--green); }
a.tile.live:hover { background: var(--pay); }
a.tile.live:hover .go { text-decoration: underline; }
a.tile.soon { background: var(--pay); border-style: dashed; }
a.tile.soon:hover { border-color: var(--green); }
a.tile.soon .go { color: var(--muted); font-weight: 400; }
a.tile.hidden { opacity: .7; border-style: dotted; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .1rem .55rem; background: var(--cream); color: var(--green); }
.section-note { color: var(--muted); margin: -.4rem 0 1rem; font-size: .9375rem; }

.soon-body { max-width: 44rem; font-size: 1.0625rem; }
.soon-body p { margin: 0 0 1rem; }

.meta { color: var(--muted); font-size: .875rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: end; }
.inline-form label { display: grid; gap: .25rem; font-weight: 700; font-size: .875rem; }
.inline-form input:not([type=file]):not([type=checkbox]), .inline-form select { min-width: 12rem; }
.search { display: flex; gap: .5rem; margin-bottom: 1rem; }
.search input { min-width: 18rem; }
.indent-1 th.name { padding-left: 2rem; }
.indent-2 th.name { padding-left: 3.5rem; }
.picker { max-height: 11rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; padding: .4rem .6rem; display: grid; gap: .15rem; min-width: 16rem; background: #fff; }
.picker .check { font-size: .875rem; }
.picker-filter { width: 100%; margin-bottom: .35rem; }
.mod-card { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.mod-card header { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; margin-bottom: .75rem; }
.mod-card header h3 { margin: 0; color: var(--green); font-weight: 900; font-size: 1.15rem; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .9rem 1.25rem; }
.mod-grid label { display: grid; gap: .3rem; font-weight: 700; font-size: .875rem; }
.mod-grid .wide { grid-column: 1 / -1; }
.mod-grid textarea { width: 100%; }
.mod-grid input:not([type=checkbox]) { width: 100%; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 0 0 1.5rem; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; }
pre.detail { margin: 0; white-space: pre-wrap; font-size: .8125rem; color: var(--muted); max-width: 32rem; }
fieldset.bday { border: 0; padding: 0; margin: 0; display: flex; gap: .75rem; }
fieldset.bday legend { font-weight: 700; padding: 0; margin-bottom: .35rem; }
fieldset.bday label { display: grid; gap: .25rem; }
fieldset.bday input { width: 5.5rem; }
