:root {
  /* Product palette (owner, Nov 16 2026): Blush Rose, Tomato Jam, Vanilla Custard, Princeton Orange,
     Olive, and an ivy green. The token names are older than the palette; the comments say what each
     holds now. Text is Tomato Jam or ink only (4.5:1 or better on the cream page and white cards);
     orange, olive and custard are accents, never text. */
  --crimson: #585b0e;      /* Deep emerald (owner, Nov 16 2026; was Tomato Jam red): titles, buttons, links. The name stayed. */
  --red: #c42b34;          /* Tomato Jam: now only for warnings and deleting */
  --rose: #b3194f;         /* Blush Rose: needs you */
  --latte: #fce9ab;        /* Vanilla Custard: accent and "waiting" fills, never the page */
  --pear: #9e9820;         /* Olive: accent only */
  --sienna: #fc8a2d;       /* Princeton Orange: accent only */
  --arctic: #cfe0cc;       /* pale ivy: "done" fills, readable under ink */
  --ivy: #3c6e47;          /* Ivy: done marks, edges, and a stripe of its own */

  --brand: var(--crimson); /* replaced by the organization's own colour when it sets one */
  --on-brand: #fffdf9;   /* ivory */
  --ivory: #fffdf9;
  --ink: #2b1418;
  --muted: #6e4a50;
  --line: #e7e2dc;
  --field: #a0868a;
  --page: #fbfaf8;      /* warm white: the page (owner rejected yellow cream and pink) */
  --card: #fffdf9;        /* soft white, the owner's pick (Nov 16 2026) */
  --soft: #f1eeea;      /* light warm grey: pill and track backgrounds */
  --good: var(--ink);
  --good-bg: var(--arctic);
  --warn: var(--ink);
  --warn-bg: #fce9ab;      /* Vanilla Custard: waiting */
  --bad: var(--red);       
  --bad-bg: #fde3e2;
  --needs-bg: #fde3e2;     /* Blush Rose, lightened so text stays readable: needs you */
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
h1 { font: 600 1.85rem/1.15 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; margin: 0 0 6px; color: var(--crimson); letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 0 0 4px; }
p { margin: 0 0 12px; }
a { color: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.loading { text-align: center; padding: 80px 16px; color: var(--muted); }

/* sign-in screens */
.auth { max-width: 440px; margin: 0 auto; padding: 48px 16px; }
.auth .mark { font: italic 600 1.35rem "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; color: var(--crimson); margin-bottom: 20px; }
/* shell */
.top { background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 3px 0 var(--rose); }
.top .row { max-width: 1040px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; flex: 1; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand img, .brand .dot { width: 36px; height: 36px; border-radius: 9px; flex: none; object-fit: cover; }
.brand .dot { background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-size: 1.05rem; }
.who { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); flex: none; }
.nav { max-width: 1040px; margin: 0 auto; padding: 0 12px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav { padding-bottom: 8px; align-items: center; }
.nav a { padding: 7px 14px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap; border-radius: 999px; }
.nav a:hover { background: #efebe5; }
/* The chosen tab is a soft filled pill, never a line on top of the stripe (owner, Nov 16 2026). */
.nav a.on { color: var(--crimson); background: #ebe7e0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 24px 16px 64px; }
.crumb { display: inline-block; margin-bottom: 14px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.center { text-align: center; }
.hide { display: none !important; }
.lead { color: var(--muted); margin-bottom: 20px; max-width: 62ch; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.card > h2 + p { color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* forms */
label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 4px; }
.field { margin-bottom: 14px; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; display: block; }
.field label > input:not([type=checkbox]):not([type=radio]), .field label > select, .field label > textarea { display: block; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=time], input[type=date], input[type=url], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--field); border-radius: 9px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
textarea { min-height: 110px; resize: vertical; }
textarea.tall { min-height: 340px; font: .92rem/1.55 ui-monospace, Menlo, Consolas, monospace; }
input.narrow { max-width: 160px; }
input[type=color] { width: 56px; height: 42px; padding: 2px; border: 1px solid var(--field); border-radius: 9px; background: #fff; }
.btn { display: inline-block; border: 1px solid var(--brand); background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 9px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.quiet { border-color: var(--field); background: var(--card); color: var(--ink); }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 6px 10px; font-size: .85rem; }
.btn.block { display: block; width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; }
.linkbtn.danger { color: var(--bad); }
.form-error { display: none; background: var(--bad-bg); color: var(--bad); padding: 10px 12px; border-radius: 9px; margin-bottom: 12px; font-size: .92rem; }
.form-error.show { display: block; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.check input { width: 18px; height: 18px; flex: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* notices and pills */
.notice { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .93rem; }
.notice.good { background: var(--good-bg); color: var(--good); }
.copyrow { display: flex; gap: 8px; margin-top: 8px; }
.copyrow input { font-size: .85rem; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--soft); color: var(--muted); }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.wait { background: var(--warn-bg); color: var(--warn); }

/* setup checklist */
.progress { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 10px 0 16px; }
.progress i { display: block; height: 100%; width: 0; background: var(--sienna); border-radius: 99px; transition: width .3s; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid var(--line); }
.steps a { display: flex; align-items: center; gap: 12px; padding: 14px 2px; text-decoration: none; color: var(--ink); font-weight: 600; }
.steps .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--field); flex: none; display: grid; place-items: center; font-size: .8rem; color: var(--ink); }
.steps .done .tick { background: var(--arctic); border-color: var(--ivy); }
.steps .done a { color: var(--muted); font-weight: 400; }
.steps .go { margin-left: auto; color: var(--brand); font-weight: 600; font-size: .9rem; }

/* rows */
.rows { margin: 0; padding: 0; list-style: none; }
.rows > li { border-top: 1px solid var(--line); padding: 12px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rows > li:first-child { border-top: 0; }
.rows .main { flex: 1; min-width: 180px; }
.rows .name { font-weight: 600; }
.rows select { width: auto; padding: 6px 8px; }
.rows .off { opacity: .55; }
.hours { margin-bottom: 16px; }
.hrow { display: grid; grid-template-columns: 120px 90px 150px 150px; gap: 10px; align-items: center; padding: 6px 0; }
.hrow .day { font-weight: 600; }
.hrow input[type=time] { min-width: 0; }
@media (max-width: 520px) {
  .hrow { grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
  .hrow:first-child { border-top: 0; }
  .hrow .check { justify-self: end; }
}
details.mail { border-top: 1px solid var(--line); padding: 10px 0; }
details.mail:first-of-type { border-top: 0; }
details.mail summary { cursor: pointer; }
details.mail pre { white-space: pre-wrap; word-break: break-word; background: var(--page); padding: 12px; border-radius: 9px; font: .85rem/1.5 ui-monospace, Menlo, monospace; margin: 10px 0 0; }

/* settings index */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--brand); }
.tile strong { display: block; margin-bottom: 2px; }
.tile span { color: var(--muted); font-size: .9rem; }

/* contract wording */
.fields { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.fields dt { font: .88rem ui-monospace, Menlo, Consolas, monospace; background: var(--page); padding: 2px 8px; border-radius: 6px; align-self: start; }
.fields dd { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; gap: 2px; } .fields dt { justify-self: start; margin-top: 8px; } }
pre.preview { white-space: pre-wrap; word-break: break-word; background: var(--page); border-radius: 9px; padding: 16px; margin: 0; font: .92rem/1.6 Georgia, "Times New Roman", serif; }

/* calendar */
.calbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.calbar select { width: auto; padding: 6px 8px; }
.day { padding: 14px 18px; }
.day.today { border-color: var(--sienna); box-shadow: inset 4px 0 0 var(--sienna); }
.day.past { opacity: .6; }
.dayhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dayhead h2 { margin: 0; }
.day .nothing { margin: 6px 0 0; }
.day .rows { margin-top: 8px; }
.day .rows > li { border-top: 1px solid var(--line); }
.ev .when { width: 172px; flex: none; font-weight: 600; font-size: .93rem; }
.ev.block .name { color: var(--muted); }
@media (max-width: 560px) { .ev .when { width: 100%; } .rows > li.ev { gap: 4px 12px; } }

/* classes */
.headrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.headrow h1 { margin: 0; }
.pill.bad { background: var(--needs-bg); color: var(--ink); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--soft); padding: 4px; border-radius: 10px; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.seg .count { font-weight: 400; }
.card.list { padding: 4px 18px; }
.card.list > p { margin: 14px 0; }
.classrow { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.classrow:first-child { border-top: 0; }
.classrow .main { flex: 1; min-width: 0; }
.classrow .name { font-weight: 600; }
.classrow:hover .name { color: var(--brand); }
.actions.bar { margin-bottom: 16px; }
.card.review { border-color: var(--rose); box-shadow: inset 0 4px 0 var(--rose); }
textarea.short { min-height: 76px; }
.priceline { background: var(--page); border-radius: 9px; padding: 12px 14px; margin: 4px 0 0; font-size: .95rem; }
.prewrap { white-space: pre-wrap; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.facts dt { font: inherit; font-weight: 600; background: none; padding: 0; color: var(--muted); font-size: .9rem; }
dl.facts dd { color: var(--ink); font-size: 1rem; white-space: pre-wrap; }
.sizes { margin-top: 16px; gap: 14px 24px; }
.size { border-top: 1px solid var(--line); padding-top: 12px; }
.size .name { font-weight: 600; margin-bottom: 6px; }
details.more { margin-top: 12px; }
details.more > summary { cursor: pointer; font-weight: 600; color: var(--brand); }
details.more > form, details.more > pre, details.more > p { margin-top: 12px; }
a.notice.link { display: block; text-decoration: none; font-weight: 600; }

/* contracts */
.padlabel { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.sigpad { display: block; width: 100%; max-width: 600px; aspect-ratio: 10 / 3; background: #fff; border: 2px dashed var(--field); border-radius: 10px; touch-action: none; cursor: crosshair; margin-bottom: 6px; }
.choices.stack { flex-direction: column; gap: 8px; margin: 4px 0 6px; }
input.search { width: auto; min-width: 180px; padding: 6px 10px; }
form.calbar select { width: auto; padding: 6px 8px; }

/* ------------------------------------------------------------------ mid-century look
   Shapes drawn for this app: four-point sparkles, eight-point starbursts and harlequin
   diamonds, in the product palette. Decoration only; nothing here carries meaning. */
:root {
  --display: Futura, "Futura PT", "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;
  --band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2264%22 height=%2214%22 viewBox=%220 0 64 14%22%3E%3Crect width=%2264%22 height=%2214%22 fill=%22%230b6b4f%22/%3E%3Cpath fill=%22%23fbfaf8%22 d=%22M16 1.5Q16 7 21.5 7Q16 7 16 12.5Q16 7 10.5 7Q16 7 16 1.5Z%22/%3E%3Ccircle cx=%2248%22 cy=%227%22 r=%222.4%22 fill=%22%23df4c74%22/%3E%3C/svg%3E");
  --harlequin: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2264%22 height=%22108%22 viewBox=%220 0 64 108%22%3E%3Crect width=%2264%22 height=%22108%22 fill=%22%23fbfaf8%22/%3E%3Cpath fill=%22%23f1eeea%22 d=%22M32 0L64 54L32 108L0 54Z%22/%3E%3Cpath fill=%22%23fc8a2d%22 d=%22M32 43Q32 54 43 54Q32 54 32 65Q32 54 21 54Q32 54 32 43Z%22/%3E%3Cpath fill=%22%23fc8a2d%22 d=%22M36.278 49.722Q32 54 36.278 58.278Q32 54 27.722 58.278Q32 54 27.722 49.722Q32 54 36.278 49.722Z%22/%3E%3Cpath fill=%22%230b6b4f%22 d=%22M0 -7Q0 0 7 0Q0 0 0 7Q0 0 -7 0Q0 0 0 -7Z%22/%3E%3Cpath fill=%22%230b6b4f%22 d=%22M64 -7Q64 0 71 0Q64 0 64 7Q64 0 57 0Q64 0 64 -7Z%22/%3E%3Cpath fill=%22%230b6b4f%22 d=%22M0 101Q0 108 7 108Q0 108 0 115Q0 108 -7 108Q0 108 0 101Z%22/%3E%3Cpath fill=%22%230b6b4f%22 d=%22M64 101Q64 108 71 108Q64 108 64 115Q64 108 57 108Q64 108 64 101Z%22/%3E%3Ccircle cx=%2232%22 cy=%220%22 r=%222.5%22 fill=%22%239e9820%22/%3E%3Ccircle cx=%2232%22 cy=%22108%22 r=%222.5%22 fill=%22%239e9820%22/%3E%3C/svg%3E");
  --disc: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2296%22 height=%2296%22 viewBox=%220 0 96 96%22%3E%3Ccircle cx=%2248%22 cy=%2248%22 r=%2234%22 fill=%22%23fc8a2d%22/%3E%3Cpath fill=%22%23fbfaf8%22 d=%22M48 22Q48 48 74 48Q48 48 48 74Q48 48 22 48Q48 48 48 22Z%22/%3E%3Cpath fill=%22%23fbfaf8%22 d=%22M58.1116 37.8884Q48 48 58.1116 58.1116Q48 48 37.8884 58.1116Q48 48 37.8884 37.8884Q48 48 58.1116 37.8884Z%22/%3E%3Cpath fill=%22%23df4c74%22 d=%22M12 11Q12 18 19 18Q12 18 12 25Q12 18 5 18Q12 18 12 11Z%22/%3E%3Cpath fill=%22%230b6b4f%22 d=%22M84 9Q84 14 89 14Q84 14 84 19Q84 14 79 14Q84 14 84 9Z%22/%3E%3Cpath fill=%22%23df4c74%22 d=%22M86 70Q86 78 94 78Q86 78 86 86Q86 78 78 78Q86 78 86 70Z%22/%3E%3Cpath fill=%22%239e9820%22 d=%22M10 77.5Q10 82 14.5 82Q10 82 10 86.5Q10 82 5.5 82Q10 82 10 77.5Z%22/%3E%3C/svg%3E");
  --mark: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2240%22 height=%2240%22 viewBox=%220 0 40 40%22%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%2219%22 fill=%22%230b6b4f%22/%3E%3Cpath fill=%22%23fbfaf8%22 d=%22M20 6Q20 20 34 20Q20 20 20 34Q20 20 6 20Q20 20 20 6Z%22/%3E%3Cpath fill=%22%23fbfaf8%22 d=%22M25.4447 14.5553Q20 20 25.4447 25.4447Q20 20 14.5553 25.4447Q20 20 14.5553 14.5553Q20 20 25.4447 14.5553Z%22/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2212%22 fill=%22%23cfe0cc%22/%3E%3Cpath fill=%22%230b6b4f%22 d=%22M12 4Q12 12 20 12Q12 12 12 20Q12 12 4 12Q12 12 12 4Z%22/%3E%3C/svg%3E");
  --radius: 16px;
}
h1 { font: 700 1.9rem/1.1 var(--display); color: var(--crimson); letter-spacing: .01em; }
h2 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; }
.top { box-shadow: none; border-bottom: 0; }
.top::after { content: ""; display: block; height: 14px; background: var(--band) repeat-x left center; }
.nav a { font-family: var(--display); letter-spacing: .02em; }
.btn { border-radius: 999px; padding: 10px 20px; font-family: var(--display); letter-spacing: .02em; }
.btn.small { padding: 6px 14px; }
.seg, .seg button { border-radius: 999px; }
.card { border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); }
.tile { border-radius: var(--radius); position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; right: -10px; top: -10px; width: 40px; height: 40px; background: var(--mark) no-repeat center / contain; opacity: .18; }
.tile:hover::after { opacity: .9; }

/* sign-in and sign-up sit on the full pattern */
body.signed-out { background: var(--page); }      /* plain white: the owner turned the pattern down (Nov 16 2026) */
body.signed-out .auth { padding-top: 40px; }
body.signed-out .auth .card { box-shadow: 0 10px 0 var(--crimson); border: 2px solid var(--crimson); border-radius: 22px; padding: 24px; }
.auth .mark { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 2px solid var(--crimson); border-radius: 999px; padding: 6px 18px 6px 6px;
  font: 700 1.15rem var(--display); color: var(--crimson); letter-spacing: .03em; }
.auth .mark::before { content: ""; width: 34px; height: 34px; background: var(--mark) no-repeat center / contain; }
body.signed-out .auth > p { padding: 8px 14px; display: table; margin: 14px auto 0; }
body.signed-out .auth > p.legal-links { display: flex; justify-content: center; gap: 18px; }

/* finished steps get a sparkle instead of a plain tick */
.steps .done .tick { background: var(--tick) no-repeat center / cover; border: 0; color: transparent; }
.progress { height: 10px; }

/* empty screens get a starburst */
.empty { text-align: center; padding: 26px 8px 10px; }
.empty::before { content: ""; display: block; width: 88px; height: 88px; margin: 0 auto 10px; background: var(--disc) no-repeat center / contain; }

/* the calendar's today and the review box pick up the shapes too */
.day.today .dayhead h2::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -1px;
  background: var(--tick) no-repeat center / contain; }
.card.review { border-width: 2px; }

/* proposals: preferred times and room choices */
.optrow { display: grid; grid-template-columns: 7.5rem 1.3fr 1fr 1fr; gap: 0 12px; align-items: end; border-top: 1px solid var(--line); padding-top: 12px; }
.optrow:first-of-type { border-top: 0; padding-top: 0; }
.optname { font: 600 .95rem var(--display); color: var(--crimson); padding-bottom: 24px; }
@media (max-width: 640px) { .optrow { grid-template-columns: 1fr 1fr; } .optname { grid-column: 1 / -1; padding-bottom: 6px; } .optrow .field:first-of-type { grid-column: 1 / -1; } }
.optblock { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.optblock > .name { font-weight: 600; }
.optblock .rows > li:first-child { border-top: 1px solid var(--line); }
.optblock .rows { margin-top: 8px; }

/* class form: settings mode, slot picker, calendar pop-up, per-person pay */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 720px) { .grid3 { grid-template-columns: 1fr; } }
.check.top { align-items: flex-start; }
.check.top input { margin-top: 3px; }
.check.top strong { font-weight: 600; }
.check.top .hint { margin-top: 1px; }
.rows.compact > li { padding: 8px 0; }
.quickrow { display: flex; gap: 8px; margin: 10px 0 8px; flex-wrap: wrap; }
.quickrow input[type=text] { flex: 1; min-width: 160px; }
.quickrow input[type=number] { width: 110px; }
.countline { font-size: .85rem; margin: -8px 0 14px; }
.countline.over { color: var(--bad); font-weight: 600; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.slot { border: 1px solid var(--field); background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 999px; font: 600 .9rem var(--display); cursor: pointer; }
.slot:hover { border-color: var(--brand); }
.slot.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.slot.taken { background: var(--soft); border-color: var(--line); color: #9a8a8c; text-decoration: line-through; cursor: not-allowed; }
.slot { min-width: 92px; }
.slotline { font-size: .9rem; font-weight: 600; margin: 4px 0 0; min-height: 1.3em; }
.slotline.over { color: var(--bad); }
.pill.role { background: var(--soft); color: var(--muted); }
.card.list .listhead { margin: 14px 0 4px; }
.paybox { flex-basis: 100%; margin-top: 0; }
.paybox form { background: var(--page); border-radius: 10px; padding: 12px 14px; }
.paybox .btn { margin-top: 10px; }
input.tiny { width: 84px !important; padding: 5px 8px !important; display: inline-block !important; margin: 0 4px !important; }
.lightbox { width: min(720px, 94vw); max-height: 88vh; border: 2px solid var(--crimson); border-radius: 20px; padding: 20px; color: var(--ink); background: var(--card); overflow-y: auto; }
.lightbox::backdrop { background: rgba(43, 20, 24, .55); }
.boxhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.boxhead h2 { font-size: 1.4rem; color: var(--crimson); margin: 0; }
.lightbox .bar select { width: auto; padding: 6px 8px; }
.boxday { border-top: 1px solid var(--line); padding: 10px 0; }
.boxday.past { opacity: .55; }
.boxday ul { list-style: none; margin: 6px 0 0; padding: 0; }
.boxday li { display: flex; gap: 12px; padding: 3px 0; font-size: .93rem; }
.boxday .when { width: 170px; flex: none; font-weight: 600; }
@media (max-width: 520px) { .boxday li { flex-direction: column; gap: 0; } .boxday .when { width: auto; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; align-items: center; min-height: 34px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--arctic); color: var(--ink); border-radius: 999px; padding: 5px 6px 5px 14px; font-size: .92rem; font-weight: 600; }
.chip button { border: 0; background: rgba(255, 255, 255, .7); color: var(--ink); width: 24px; height: 24px; border-radius: 50%; font-size: 1.05rem; line-height: 1; cursor: pointer; }
.chip button:hover { background: #fff; color: var(--bad); }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #ffffff; padding: 10px 16px; border-radius: 10px; font-size: .93rem; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 90vw; }
#toast.show { opacity: 1; }

/* pay plan builder: pieces that add up */
a.brand { color: inherit; text-decoration: none; }
a.brand:hover span { text-decoration: underline; }
.planbox { background: var(--page); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 8px 0 10px; }
.pieces { display: grid; gap: 22px; }
.pieces:not(:empty) { margin-bottom: 12px; }
.piece { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: var(--card); border: 2px solid var(--ink); border-radius: 12px;
  padding: 10px 46px 10px 12px; box-shadow: 3px 3px 0 var(--arctic); font-weight: 600; }
.piece[data-kind=student] { box-shadow: 3px 3px 0 var(--rose); }
.piece[data-kind=share] { box-shadow: 3px 3px 0 var(--pear); }
.piece + .piece::before { content: "plus"; position: absolute; top: -21px; left: 14px; font: 700 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.piece input.tiny { margin: 0 !important; }
.piece-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.piece-x:hover { background: var(--bad-bg); color: var(--bad); }
.addrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plansum { margin: 10px 0 0; font-weight: 600; }
.priceline ul { margin: 6px 0 0; padding-left: 18px; }
.priceline ul:empty { display: none; }
.priceline:empty { display: none; }

/* roster */
.card h3 { font: 700 1rem var(--display); letter-spacing: .02em; color: var(--crimson); margin: 18px 0 4px; }
#roster .rows p.small { margin: 6px 0 0; }

/* pay statements */
.stmt { border-top: 1px solid var(--line); padding: 12px 0 8px; }
.stmt:first-of-type { border-top: 0; }
.stmt .name { font-weight: 700; color: var(--ink); }
.stmt.total { border-top: 2px solid var(--ink); }
.sumrow { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; font-size: .95rem; }
.sumrow span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sumrow.strong { font-weight: 700; }
.btn.quiet.on { background: var(--soft); border-color: var(--ink); }

/* the free trial */
.notice.trial { background: var(--warn-bg); }
.notice.trial.over { background: var(--needs-bg); }

/* profile */
.profile-photo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.profile-photo img, .profile-photo .dot { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.profile-photo .dot { display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-size: 2rem; font-weight: 700; }

/* the application builder */
.qlist { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.qrow { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--page); }
.qhead { display: flex; align-items: center; gap: 10px; }
.qhead input { flex: 1; min-width: 0; font-weight: 600; }
.qnum { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.qbtns { display: flex; gap: 8px; flex: none; }
.qopts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 10px 0 0 38px; font-size: .9rem; }
.qopts select { width: auto; margin-left: 6px; padding: 5px 8px; }
.qhelp { display: block; margin: 8px 0 0 38px; font-size: .88rem; }
details.more.inline { display: inline-block; }

/* going through applications */
.appgrid { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
.appside .seg { margin-bottom: 10px; }
.applist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.appitem { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; cursor: pointer; font: inherit; color: var(--ink); }
.appitem:hover { border-color: var(--brand); }
.appitem.on { border-color: var(--brand); box-shadow: 3px 3px 0 var(--rose); }
.appitem img, .appitem .dot, .apphead img, .apphead .dot { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.appitem .dot, .apphead .dot { display: grid; place-items: center; background: var(--soft); font-weight: 700; color: var(--brand); }
.appitem .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.appitem .who strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appview { position: sticky; top: 12px; }
.apphead { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.apphead img, .apphead .dot { width: 96px; height: 96px; font-size: 2rem; }
.apphead h2 { margin: 0 0 2px; font-size: 1.6rem; }
.apphead > div { flex: 1; min-width: 0; }
.answers { display: grid; gap: 16px; }
.ans h3 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ans p { margin: 0; }
.appacts { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); align-items: flex-start; }
.nextapp { margin-left: auto; }
.appview .back { display: none; margin-bottom: 10px; }
.empty-view { min-height: 160px; display: grid; place-content: center; text-align: center; }
@media (max-width: 800px) {
  .appgrid { grid-template-columns: 1fr; }
  .appgrid.reading .appside { display: none; }
  .appgrid:not(.reading) .empty-view { display: none; }
  .appview { position: static; }
  .appview .back { display: inline-block; }
  .apphead img, .apphead .dot { width: 64px; height: 64px; }
}

/* ---------------------------------------------------------------- the whole palette (owner, Nov 14 2026)
   Crimson stays for text and links, the only palette colour dark enough to read on cream. Every other
   colour is used for fills, edges and marks so the app is not all crimson. */
@font-face { font-family: "Archie Boy"; src: url("/fonts/licensed/ArchieBoy.otf") format("opentype"); font-display: swap; }
:root { --page: #ffffff; --soft: #ebe7e0; --line: #e2ddd5; --headline: "Archie Boy", var(--display); }
body { background: var(--page); }
h1 { font: 400 2rem/1.05 var(--headline); text-transform: uppercase; letter-spacing: .01em; color: var(--crimson); }
.top { background: #fffdf9; }
.top::after { height: 8px; background: linear-gradient(to right, var(--crimson) 0 16.66%, var(--rose) 16.66% 33.33%, var(--latte) 33.33% 50%, var(--pear) 50% 66.66%, var(--sienna) 66.66% 83.33%, var(--ivy) 83.33% 100%); }
.card { background: #fffdf9; border: 1px solid var(--line); border-top: 5px solid var(--rose); }
.wrap .card:nth-of-type(6n+2) { border-top-color: var(--sienna); }
.wrap .card:nth-of-type(6n+3) { border-top-color: var(--pear); }
.wrap .card:nth-of-type(6n+4) { border-top-color: var(--ivy); }
.wrap .card:nth-of-type(6n+5) { border-top-color: var(--crimson); }
.wrap .card:nth-of-type(6n+6) { border-top-color: var(--latte); }
.card.review { border-top-color: var(--rose); }
.btn.quiet { background: #fffdf9; border: 1.5px solid var(--sienna); color: var(--ink); }
.btn.quiet:hover { background: #efebe5; filter: none; }
.count { background: var(--sienna); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .78rem; font-weight: 700; }
/* Filters look like the main tabs (owner, Nov 16 2026): no strip behind them, the chosen one a soft filled pill. */
.seg { background: none; padding: 0; gap: 6px; }
.seg button { padding: 7px 14px; }
.seg button:hover { background: #f4f1ec; }
.seg button.on { background: var(--soft); color: var(--crimson); box-shadow: none; }
.tile { background: #fffdf9; border-top: 5px solid var(--rose); }
.tile:nth-child(6n+2) { border-top-color: var(--sienna); }
.tile:nth-child(6n+3) { border-top-color: var(--pear); }
.tile:nth-child(6n+4) { border-top-color: var(--ivy); }
.tile:nth-child(6n+5) { border-top-color: var(--crimson); }
.tile:nth-child(6n+6) { border-top-color: var(--latte); }
.steps li:nth-child(6n+1) .tick { border-color: var(--crimson); }
.steps li:nth-child(6n+2) .tick { border-color: var(--sienna); }
.steps li:nth-child(6n+3) .tick { border-color: var(--pear); }
.steps li:nth-child(6n+4) .tick { border-color: var(--ivy); }
.steps li:nth-child(6n+5) .tick { border-color: var(--rose); }
.steps li:nth-child(6n+6) .tick { border-color: var(--sienna); }
.progress i { background: linear-gradient(to right, var(--crimson), var(--sienna), var(--pear)); }
.notice { border-left: 6px solid var(--sienna); }
.notice.good { border-left-color: var(--pear); }

/* reimbursements */
.rlines { display: grid; gap: 8px; margin: 6px 0 10px; }
.rline { display: grid; grid-template-columns: 150px 170px 1fr 110px; gap: 8px; }
.rtable { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .93rem; }
.rtable td { padding: 6px 4px; border-top: 1px solid var(--line); }
.rtable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rtable .sum td { font-weight: 700; border-top: 2px solid var(--ink); }
.rbtotal { font-weight: 700; font-size: 1.1rem; margin: 14px 0; }
@media (max-width: 700px) { .rline { grid-template-columns: 1fr 1fr; } .rline .rdesc { grid-column: 1 / -1; } .rline + .rline { border-top: 1px solid var(--line); padding-top: 8px; } }

h2 { font: 400 1.3rem/1.15 var(--headline); text-transform: uppercase; letter-spacing: .02em; color: var(--crimson); }
.apphead h2 { font-size: 1.7rem; }

/* footer: the way back to the front page */
.appfoot { margin-top: 40px; background: var(--crimson); color: #fff; padding: 18px 16px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; position: relative; }
.appfoot::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; background: linear-gradient(to right, var(--crimson) 0 16.66%, var(--rose) 16.66% 33.33%, var(--latte) 33.33% 50%, var(--pear) 50% 66.66%, var(--sienna) 66.66% 83.33%, var(--ivy) 83.33% 100%); }
.appfoot a, .appfoot .linkbtn { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; letter-spacing: .02em; }
.appfoot a:hover, .appfoot .linkbtn:hover { text-decoration: underline; }
.appfoot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footlogo { display: inline-flex; align-items: center; gap: 10px; }
.footlogo .dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--crimson); display: grid; place-items: center; font-weight: 700; }
@media (max-width: 560px) { .appfoot { justify-content: center; text-align: center; } .appfoot nav { justify-content: center; } }

/* ---------------------------------------------------------------- photos and promotion (Nov 15 2026) */
.photopick { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.thumb { display: block; width: 160px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); margin: 6px 0; }
.classphoto { display: block; width: 100%; max-height: 360px; object-fit: cover; border-radius: 10px; margin: 4px 0 14px; }
.moments { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.moments.small { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.moments figure { margin: 0; }
.moments img, .pickphoto img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.pickphoto { padding: 0; border: 3px solid transparent; border-radius: 11px; background: none; cursor: pointer; }
.pickphoto.on { border-color: var(--sienna); }

.monthbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.monthbar h2 { margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.legend .postchip { display: inline-flex; }
.pgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pdow { font: 600 .75rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.pday { min-height: 108px; padding: 5px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pday.out { background: #faf0e3; }
.pday.out .dnum { opacity: .45; }
.pday.today .dnum { background: var(--crimson); color: #fff; border-radius: 999px; padding: 0 7px; }
.dnum { font-size: .8rem; font-weight: 700; align-self: flex-start; }
.classmark { font-size: .72rem; line-height: 1.2; color: var(--ink); text-decoration: none; border-left: 3px solid var(--crimson); padding-left: 5px; }
.postchip { display: block; font-size: .74rem; line-height: 1.25; padding: 3px 6px; border-radius: 6px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--soft); overflow: hidden; }
.postchip b { font-weight: 700; }
.postchip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.legend .postchip span { display: inline; margin-left: 5px; }
.ch-fb { border-left-color: var(--ivy); }
.ch-ig { border-left-color: var(--rose); }
.ch-eb { border-left-color: var(--sienna); }
.ch-tt { border-left-color: var(--pear); }
.ch-nl { border-left-color: var(--latte); }
.ch-ot { border-left-color: var(--field); }
.postchip.st-draft { border-style: dashed; border-left-style: solid; background: #fffbe9; }
.postchip.st-failed { border-color: var(--crimson); background: var(--bad-bg); }
.postchip.st-posted, .postchip.st-skipped { opacity: .62; }
.agenda { display: none; }
.agenda .postchip { margin-top: 4px; }
@media (max-width: 760px) { .pgrid { display: none; } .agenda { display: block; } }
.postpreview { white-space: pre-wrap; font: inherit; background: var(--soft); border-radius: 10px; padding: 12px 14px; margin: 0 0 8px; }
.fieldlist { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: .88rem; margin: 6px 0; }
.fieldlist dt { font-family: ui-monospace, Menlo, monospace; color: var(--crimson); }
.fieldlist dd { margin: 0; }
.stepbox { border: 1px solid var(--line); border-left: 5px solid var(--ivy); border-radius: 10px; padding: 10px 14px 12px; margin: 0 0 12px; }
.stepbox:nth-child(3n+2) { border-left-color: var(--pear); }
.stepbox:nth-child(3n+3) { border-left-color: var(--rose); }
.stepbox legend { font: 600 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 6px; }

/* grant report */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 16px; }
.stat { background: #fffdf9; border: 1px solid var(--line); border-top: 5px solid var(--ivy); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stat:nth-child(6n+2) { border-top-color: var(--sienna); }
.stat:nth-child(6n+3) { border-top-color: var(--pear); }
.stat:nth-child(6n+4) { border-top-color: var(--rose); }
.stat:nth-child(6n+5) { border-top-color: var(--crimson); }
.stat:nth-child(6n+6) { border-top-color: var(--latte); }
.stat strong { font: 400 2rem/1 var(--headline); color: var(--crimson); }
.stat span { font-weight: 600; }
.stat small { color: var(--muted); }

/* contract builder: pieces on the left, the contract as it reads on the right */
.kbwrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.kbside { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
@media (max-width: 900px) { .kbwrap { grid-template-columns: 1fr; } .kbside { position: static; max-height: none; } }
.kpiece { border: 1px solid var(--line); border-left: 6px solid var(--ivy); border-radius: 10px; padding: 10px 14px 12px; margin: 0 0 12px; background: #fff; }
.kpiece:nth-child(6n+2) { border-left-color: var(--sienna); }
.kpiece:nth-child(6n+3) { border-left-color: var(--pear); }
.kpiece:nth-child(6n+4) { border-left-color: var(--rose); }
.kpiece:nth-child(6n+5) { border-left-color: var(--crimson); }
.kpiece:nth-child(6n+6) { border-left-color: var(--latte); }
.kphead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.kphead strong { font: 600 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kpmove { display: inline-flex; gap: 12px; align-items: center; }
.kpmove .linkbtn:disabled { opacity: .3; cursor: default; }
.kbheading { font-weight: 700; margin-bottom: 2px; }
.kbbody { margin: 0 0 6px; line-height: 2; }
.kbbody input.tiny { width: 4.5em; text-align: center; }
.kbbody input.kbtext { width: min(16em, 100%); }
.kbbody select { width: auto; max-width: 100%; }
.kbbody input, .kbbody select { display: inline-block; padding: 3px 8px; margin: 0 2px; }
.kpiece textarea { width: 100%; }
.kpiece .kbhead { width: 100%; margin-bottom: 6px; font-weight: 700; }
.autofill { background: var(--arctic); color: var(--ink); border-radius: 6px; padding: 1px 6px; font-style: normal; white-space: nowrap; }
mark.autofill { white-space: normal; padding: 0 3px; }
.autofill.unknown { background: var(--bad-bg); color: var(--crimson); }
.kbinsert { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 8px; }
.chipbtn { border: 1px solid var(--line); background: var(--arctic); color: var(--ink); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: .84rem; cursor: pointer; }
.chipbtn:hover { filter: brightness(.96); }
.kbadd { margin: 4px 0 18px; }

/* email account */
.howto { margin: 0 0 14px; padding-left: 1.3em; }
.howto li { margin-bottom: 6px; }

/* emails to students and after class */
.postpreview.small { font-size: .88rem; margin-top: 8px; }
.stars { color: var(--sienna); letter-spacing: 1px; }
.moments figure .check { display: flex; margin-top: 4px; }
#fnote { width: 100%; }
.twoway { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 860px) { .twoway { grid-template-columns: 1fr; } }
.addrrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.addrrow input { flex: 1 1 140px; min-width: 0; }
.addrrow span { font-weight: 600; word-break: break-all; }
.twoway .card p, .twoway .card strong, .card p strong { overflow-wrap: anywhere; }

/* calendar views */
.calbar .seg { margin: 0; }
.calmonth .pday { min-height: 96px; }
.calmonth .pday.shut { background: #faf3ea; }
.calmonth .dnum { font-weight: 700; font-size: .8rem; text-decoration: none; color: var(--ink); padding: 0 4px; align-self: flex-start; }
.calmonth .pday.today .dnum { background: var(--crimson); color: #fff; border-radius: 999px; padding: 0 7px; }
.calchip { display: block; font-size: .72rem; line-height: 1.25; padding: 2px 5px; border-radius: 5px; text-decoration: none; color: var(--ink); background: #fff; border-left: 4px solid var(--ivy); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.calchip.cls { border-left-color: var(--crimson); }
.calchip.block { border-left-color: var(--field); background: var(--soft); }
.calchip.feed { border-left-color: var(--pear); }
.dayscroll { overflow-x: auto; margin-top: 12px; }
.daygrid { display: flex; min-width: min-content; }
.daytimes { flex: 0 0 64px; }
.daycol { flex: 1 0 150px; min-width: 150px; border-left: 1px solid var(--line); }
.dayroom { font: 600 .78rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 6px 8px; height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.daytrack { position: relative; }
.hourmark { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.hourmark span { position: absolute; top: -9px; left: 0; font-size: .72rem; color: var(--muted); background: #fffdf9; padding-right: 4px; }
.dayev { position: absolute; left: 4px; right: 4px; overflow: hidden; border-radius: 7px; padding: 3px 6px; font-size: .78rem; line-height: 1.25; background: #e6efe4; border-left: 4px solid var(--ivy); display: flex; flex-direction: column; }
.dayev.cls { background: #fadbe2; border-left-color: var(--crimson); }
.dayev.block { background: var(--soft); border-left-color: var(--field); }
.dayev.feed { background: #efedc8; border-left-color: var(--pear); }
.dayev.whole { opacity: .85; }
.dayev b { font-weight: 700; }
.dayev a { color: var(--crimson); font-weight: 600; }
.dayev small { color: var(--muted); }
.clashes { margin: 6px 0; padding-left: 1.2em; }

/* substitutes and the checkout copy */
.subpick { display: flex; margin-top: 4px; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
#checkouttext { width: 100%; font-size: .9rem; }

/* adding a post on the content calendar */
.compose .composegrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 720px) { .compose .composegrid { grid-template-columns: 1fr; } }
.composemedia img, .composemedia video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--soft); margin-bottom: 6px; }
.dropzone { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; aspect-ratio: 4 / 5; border: 2px dashed var(--sienna); border-radius: 12px; padding: 14px; cursor: pointer; background: #fffaf3; }
.dropzone input { max-width: 100%; }
.dropzone span { font-weight: 700; color: var(--crimson); }
.dropzone small { color: var(--muted); }
.legend a { color: var(--crimson); }
.inline { display: inline-flex; align-items: center; gap: 8px; }
.inline input.tiny { width: 5em; }

/* supply lines */
.supline { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) 90px 90px; gap: 6px; margin-bottom: 6px; }
@media (max-width: 640px) { .supline { grid-template-columns: 1fr 1fr; } }
.artistrow { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.artistrow .thumb { width: 120px; }
@media (max-width: 560px) { .artistrow { grid-template-columns: 1fr; } }

/* notices (Nov 16 2026): the owner did not like the yellow and blue fills on the cream page, so a
   notice is a white card like the rest, marked only by a coloured edge. */
.notice, .notice.trial { background: #fffdf9; color: var(--ink); border: 1px solid var(--line); border-left: 6px solid var(--rose); }
.notice.good { background: #fffdf9; color: var(--ink); border-left-color: var(--ivy); }
.notice.trial.over { background: #fffdf9; border-left-color: var(--crimson); }
a.notice.link { color: var(--ink); }
a.notice.link:hover { border-color: var(--rose); border-left-color: var(--crimson); background: #fff; }

/* Settings, Features: one row per feature with an on/off switch. */
.feats li { padding: 0; }
.feat { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 0; cursor: pointer; }
.feat .main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.feat .name { font-weight: 600; }
.feat .muted { font-weight: 400; }
input.switch { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: #e6dcd3; position: relative; cursor: pointer; margin: 0; transition: background .15s; }
input.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fffdf9; box-shadow: 0 1px 2px rgba(43, 20, 24, .25); transition: transform .15s; }
input.switch:checked { background: var(--ivy); }
input.switch:checked::after { transform: translateX(20px); }
input.switch:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
input.switch:disabled { opacity: .6; }

/* Settings, After class: the email builder, parts on the left and the preview beside them. */
.ebuilder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 12px; }
.ebparts { display: flex; flex-direction: column; }
.epart { padding: 12px 0; border-top: 1px solid var(--line); }
.epart:first-child { border-top: 0; padding-top: 0; }
.epart > .name { display: block; font-weight: 600; margin-bottom: 6px; }
.epart .feat { padding: 0 0 8px; }
.epart textarea, .epart input[type=text] { width: 100%; }
.epart.off textarea, .epart.off .fills { display: none; }
.epart.off .name { color: var(--muted); }
.fills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.chip { font: inherit; font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fffdf9; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--sienna); }
.ebsticky { position: sticky; top: 12px; }
.emailcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: .95rem; line-height: 1.5; }
.emailhead { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; display: grid; gap: 2px; }
.empart { margin: 0 0 12px; overflow-wrap: anywhere; }
.empart.divider { color: var(--muted); }
.emailcard mark { background: #fce9ab; color: inherit; border-radius: 3px; padding: 0 2px; }
.empart.photos { display: flex; gap: 6px; }
.empart.photos span { width: 72px; height: 72px; border-radius: 8px; background: repeating-linear-gradient(45deg, #ebe7e0, #ebe7e0 8px, #efebe5 8px, #efebe5 16px); }
@media (max-width: 760px) { .ebuilder { grid-template-columns: 1fr; } .ebsticky { position: static; } }
.epart textarea { min-height: 0; resize: vertical; }
.ebwait { border-top: 1px dashed var(--line); padding-top: 8px; margin: 8px 0 0; }

/* The rest of The Gibby's features: posters, the tour, paperwork people complete. */
img.poster { display: block; width: 100%; max-width: 320px; border-radius: 10px; border: 1px solid var(--line); margin: 8px 0; }
.tour { border-left: 6px solid var(--ivy); }
.tourlist { margin: 8px 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.paperdo { margin-top: 8px; }
.signtext { background: #fffdf9; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; max-height: 260px; overflow: auto; }
.hide { display: none; }
.auth-for { text-align: center; color: var(--muted); margin: -4px 0 16px; font-size: .95rem; }

/* Deleting for good: a button that looks as serious as it is. */
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fffdf9; }
.btn.danger:hover { filter: brightness(.92); }
.legal-links { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }
.legal-links a { color: var(--muted); }

/* Founding studios: the "Write to Jess" button and its panel. Tailorbird's own red, not the
   organization's brand colour, because the note goes to the people who make Tailorbird. */
.fbw { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fb-open { display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer; background: #585b0e; color: #fffdf9;
  border-radius: 999px; padding: 11px 18px 11px 14px; font: 600 .95rem var(--display, inherit); letter-spacing: .02em; box-shadow: 0 6px 18px rgba(43, 20, 24, .25); order: 2; }
.fb-open svg { width: 24px; height: 24px; flex: none; }
.fb-open:hover { filter: brightness(1.06); }
.fb-open:focus-visible, .fb-x:focus-visible { outline: 3px solid #2b1418; outline-offset: 3px; }
.fb-panel { order: 1; width: min(380px, calc(100vw - 36px)); max-height: min(620px, calc(100vh - 110px)); overflow-y: auto; background: #fffdf9;
  border: 2px solid #585b0e; border-radius: 18px; box-shadow: 0 14px 40px rgba(43, 20, 24, .22); }
.fb-panel[hidden] { display: none; }
.fb-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #585b0e; color: #fffdf9; border-radius: 15px 15px 0 0; }
.fb-head h2 { margin: 0; color: #fffdf9; font-size: 1.15rem; }
.fb-x { border: 0; background: none; color: #fffdf9; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.fb-body { padding: 14px 18px 18px; font-size: .95rem; }
.fb-body p { margin: 0 0 10px; }
.fb-note { background: #fbf0ee; border-radius: 10px; padding: 10px 12px; }
.fb-topics { border: 0; padding: 0; margin: 4px 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-topics label { cursor: pointer; }
.fb-topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb-topics span { display: inline-block; border: 1.5px solid #585b0e; color: #585b0e; border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 600; }
.fb-topics input:checked + span { background: #585b0e; color: #fffdf9; }
.fb-topics input:focus-visible + span { outline: 3px solid #2b1418; outline-offset: 2px; }
.fb-body textarea { width: 100%; min-height: 120px; margin-bottom: 10px; }
.fb-done { text-align: center; padding: 10px 6px 4px; }
.fb-done svg { width: 46px; height: 46px; display: block; margin: 0 auto 8px; }
.fb-done h3 { margin: 0 0 6px; font: 700 1.3rem var(--display); color: #585b0e; }
.fb-done p { margin: 0 0 6px; }
.fb-addr { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: #fbf0ee; border-radius: 999px; padding: 5px 14px; font-weight: 600; margin: 2px 0 14px !important; }
@media (max-width: 560px) { .fb-open span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .fb-open { padding: 13px; } }
.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; }

/* ---- Fonts: Fraunces for headlines, Figtree for everything else (the owner's pick, Nov 16 2026).
   Both are Google Fonts under the SIL Open Font License, served from this site, so nothing loads from elsewhere. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
:root { --headline: "Fraunces", Georgia, "Times New Roman", serif; --display: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
h1 { text-transform: none; font-weight: 800; letter-spacing: -.01em; }
h2 { text-transform: none; font-weight: 700; letter-spacing: -.005em; }
.stat strong { font-weight: 800; }
.auth .mark { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-style: normal; font-weight: 800; }
pre.preview { font-family: "Fraunces", Georgia, "Times New Roman", serif; }

/* ---- Hierarchy (owner, Nov 16 2026): the page title is the loudest thing on a screen, section
   headings are dark, cards are quiet, and colour is kept for meaning (today, needs you, done). */
h2 { color: var(--ink); }
h2.section { margin: 28px 0 4px; font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
.wrap .card:nth-of-type(n) { border-top: 1px solid var(--line); }
.wrap .card.review:nth-of-type(n) { border-top: 4px solid var(--rose); }
.steps li:nth-child(n) .tick { border-color: var(--line); }

/* sub-menus under a page title: quiet links, not a row of buttons */
.subnav { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 4px 0 2px; }
.subnav a { font: 600 .93rem var(--display); color: var(--muted); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); border-bottom-color: var(--rose); }
.subnav .count { margin-left: 4px; }

/* calendar: empty days step back, today stands out */
.card.day { padding-top: 14px; padding-bottom: 14px; }
.card.day .dayhead h2 { font: 700 1.08rem/1.2 var(--display); color: var(--ink); letter-spacing: 0; }
.card.day.quiet { padding-top: 10px; padding-bottom: 10px; }
.card.day.quiet .nothing { display: none; }
.card.day.quiet .dayhead h2 { color: var(--muted); font-weight: 600; }
.wrap .card.day.today:nth-of-type(n) { border: 2px solid var(--rose); }

/* settings: grouped lists instead of a wall of tiles */
.setgroup h2 { font-size: 1.15rem; margin: 26px 0 8px; }
.setlist { list-style: none; margin: 0; padding: 0; background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.setlist li + li { border-top: 1px solid var(--line); }
.setrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 18px; text-decoration: none; color: var(--ink); }
.setrow strong { display: block; font-weight: 700; }
.setrow:hover { background: #f7f4ef; }
.setrow .chev { font-size: 1.6rem; line-height: 1; color: var(--muted); }

/* the trial, quietly, in the header */
.trialchip { font: 600 .8rem var(--display); color: var(--ink); background: var(--latte); border-radius: 999px; padding: 4px 10px; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .trialchip { display: none; } }

/* room for the "Write to Jess" button at the bottom of every page */
body:has(#fbw) .wrap { padding-bottom: 96px; }

/* on a phone the menu wraps instead of hiding sections off the edge */
.nav { flex-wrap: wrap; overflow: visible; row-gap: 4px; }
@media (max-width: 560px) { .nav a { padding: 6px 11px; font-size: .9rem; } }

/* Pink for highlights: where you are, what is selected, what needs you (owner, Nov 16 2026). */
.nav a.on { background: #fde3e2; color: var(--crimson); }
.seg button.on, .seg button[aria-pressed="true"] { background: #fde3e2; color: var(--crimson); }
.trialchip { background: #fde3e2; }

/* Top menu with a dropdown under each tab (owner, Nov 16 2026). Hover opens it on a computer; the
   little arrow opens it on a phone or from the keyboard. */
.navitem { position: relative; display: inline-flex; align-items: center; border-radius: 999px; }
.navitem > a { padding-right: 6px !important; }
.navitem.on { background: #fde3e2; }
.navitem.on > a { background: transparent; }
.navcaret { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px 10px 6px 2px; font-size: .75rem; line-height: 1; border-radius: 999px; }
.navitem.on .navcaret { color: var(--crimson); }
.navcaret:focus-visible { outline: 3px solid var(--rose); outline-offset: 1px; }
.navmenu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 50; min-width: 230px; background: #fffdf9; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 12px 30px rgba(43, 20, 24, .14); padding: 8px; display: flex; flex-direction: column; }
.navmenu[hidden] { display: none; }
.navmenu a { padding: 8px 12px !important; border-radius: 9px !important; color: var(--ink) !important; font-weight: 600; font-size: .93rem; white-space: nowrap; text-decoration: none; background: none !important; }
.navmenu a:hover, .navmenu a:focus-visible { background: #fde3e2 !important; color: var(--crimson) !important; outline: none; }
.navgroup { font: 700 .72rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }
.navgroup:first-child { padding-top: 4px; }
/* An invisible strip fills the gap between the tab and its menu, so the pointer never falls off on the way down. */
.navitem.open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.navmenu { max-height: calc(100vh - 140px); overflow-y: auto; }
.navmenu a { flex: none; }
@media (max-width: 560px) { .navmenu { position: fixed; left: 10px; right: 10px; top: auto; bottom: 10px; min-width: 0; max-height: 72vh; overflow-y: auto; box-shadow: 0 -8px 40px rgba(43, 20, 24, .25); z-index: 80; } }
/* The links under page titles moved into the top menu's dropdowns, so they are not repeated on the page. */
.subnav { display: none; }

/* Reimbursements: the organization's own questions and their answers (Nov 17 2026). */
.rbextra { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; margin: 10px 0 4px; }
.rbextra dt { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rbextra dd { margin: 2px 0 0; }
.rbapprover { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }

/* Grant report: people served by zip code as simple bars (Nov 17 2026). */
.zipbars { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 6px; }
.zipbars li { display: grid; grid-template-columns: 5.5em 1fr 3em; align-items: center; gap: 10px; font-size: .92rem; }
.zl { font-variant-numeric: tabular-nums; }
.zb { background: var(--tint, #f1eeea); border-radius: 999px; height: 12px; overflow: hidden; }
.zf { display: block; height: 100%; background: var(--crimson); border-radius: 999px; width: 0; }
.zn { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Usability pass (Nov 17 2026) ---------------------------------------------------------------- */
/* Problems look like problems: a red edge on notices and the message at the bottom. */
.notice.bad { background: #fffdf9; color: var(--ink); border-left-color: var(--red, #c42b34); }
#toast.bad { background: #fffdf9; color: var(--ink); border: 1px solid var(--line); border-left: 6px solid var(--red, #c42b34); box-shadow: 0 10px 30px rgba(43, 20, 24, .18); pointer-events: auto; cursor: pointer; }
.form-error.show { scroll-margin: 90px; }
/* The phone menu: a heading saying which tab it belongs to, a Close button, and the page dimmed behind it. */
.navsheethead { display: none; }
@media (max-width: 560px) {
  .navsheethead { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .navsheethead strong { font: 700 1rem var(--display); color: var(--ink); }
  .navclose { border: 0; background: #fde3e2; color: var(--crimson); font: 700 .9rem var(--display); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
  .navmenu a { padding: 13px 12px !important; font-size: 1rem; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(43, 20, 24, .35); z-index: 75; }
  .navcaret { min-width: 36px; min-height: 40px; }
}
/* Comfortable taps on phones: link-style buttons, small buttons and form fields (16px stops iPhone zooming in). */
@media (max-width: 560px) {
  .linkbtn { padding: 10px 4px; min-height: 40px; }
  .btn.small { min-height: 40px; padding-top: 9px; padding-bottom: 9px; }
  input, select, textarea, .copyrow input, textarea.tall { font-size: 16px; }
}
.reviewsum { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .93rem; }
.btn.quiet.danger { color: var(--red); border-color: rgba(196, 43, 52, .35); }
/* "Needs a substitute" ticks appear only once "Need a substitute?" is opened, so they never look like they do something on their own. */
.subpick { display: none; }
.card:has(details.subask[open]) .subpick { display: flex; }
dialog.askbox { border: 0; border-radius: 16px; padding: 22px; width: min(460px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(43, 20, 24, .3); }
dialog.askbox::backdrop { background: rgba(43, 20, 24, .35); }
dialog.askbox h2 { margin-top: 0; }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.rcell { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.rcell > span { font-size: .78rem; font-weight: 700; color: var(--muted); }
.rcell input, .rcell select { width: 100%; }
.filebtn { position: relative; overflow: hidden; display: inline-flex; align-items: center; cursor: pointer; }
.filebtn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.whoname { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
/* Supply lines on a class say who buys each one. */
.supline.withbuyer { grid-template-columns: 1fr; }
.supline.withbuyer select { font-weight: 600; }
@media (min-width: 701px) { .supline.withbuyer { grid-template-columns: 1.3fr 1.6fr 1.4fr .8fr .8fr; } }
.supline.self input[data-s=link], .supline.self input[data-s=qty], .supline.self input[data-s=price] { opacity: .75; }

/* ==== The app matches the front page (Nov 17 2026): olive for titles, buttons and links, raspberry for what needs
   you, cream and blush for fills. One olive line replaces the six-colour stripe. ==== */
:root {
  --crimson: #585b0e;      /* olive: titles, buttons, links (the token name is older than the colour) */
  --rose: #b3194f;         /* raspberry: needs you */
  --latte: #f3edd0;        /* cream: waiting fills */
  --pear: #71771f;         /* lighter olive: accents */
  --sienna: #fc989a;       /* soft pink: accents */
  --arctic: #eef0d6;       /* pale olive: done fills */
  --ivy: #7c8424;
  --ink: #2a2b0a;
  --muted: #5f5a3c;
  --line: #e2dcc0;
  --page: #faf7ea;
  --card: #fffdf9;
  --soft: #f3edd0;
  --warn-bg: #f3edd0;
  --bad-bg: #fde3e2;
  --needs-bg: #fde3e2;
}
.top::after { height: 4px !important; background: linear-gradient(to right, var(--crimson), var(--pear)) !important; }
.appfoot::before { height: 4px !important; top: -4px !important; background: linear-gradient(to right, var(--crimson), var(--pear)) !important; }
.progress i { background: linear-gradient(to right, var(--crimson), var(--rose)) !important; }
.appfoot { background: var(--crimson); }
/* the page title takes keyboard focus after moving between pages, without a hard black outline */
#main h1[tabindex="-1"]:focus { outline: none; }
#main h1[tabindex="-1"]:focus-visible { outline: none; }

/* Owner's review of the app, part two (Nov 17 2026) */
/* the footer sits at the bottom of short pages */
#app { min-height: 100vh; display: flex; flex-direction: column; }
#app > main { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
#app > .appfoot { flex: none; }
/* the organization's name is never cut off */
.brand span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
/* the time zone note is quiet */
.tznote { margin: 0 0 14px; }
/* a screen that cannot be used yet says what to do first */
.empty-start { text-align: left; }
.empty-start h2 { margin-top: 0; }
/* calendar arrows stay together */
.calmove { display: inline-flex; gap: 6px; align-items: center; }
/* the Menu button: phones only */
.menubtn, .navsheettop { display: none; }
@media (max-width: 700px) {
  .top .row { flex-wrap: wrap; row-gap: 8px; }
  .brand { flex: 1 1 60%; }
  .menubtn { display: inline-flex; align-items: center; gap: 6px; order: 2; border: 1px solid var(--line); background: #fffdf9; color: var(--ink);
             font: 700 .95rem var(--display); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
  .who { order: 3; flex: 1 1 100%; justify-content: space-between; flex-wrap: wrap; }
  .trialchip { display: inline-block !important; }
  .who > [data-act="logout"] { display: none; }        /* Sign out is in the footer on phones */
  .nav { display: none; }
  body.phone-nav .nav { display: block; position: fixed; inset: 0; z-index: 90; background: #fffdf9; overflow-y: auto; padding: 12px 16px 40px; max-width: none; }
  body.phone-nav { overflow: hidden; }
  body.phone-nav .navsheettop { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  body.phone-nav .navsheettop strong { font: 700 1.1rem var(--display); }
  body.phone-nav .nav > a, body.phone-nav .navitem > a { display: block; font-size: 1.05rem; padding: 12px 6px !important; color: var(--ink); border-radius: 10px; }
  body.phone-nav .navitem { display: block; background: none !important; border-radius: 0; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
  body.phone-nav .navitem > a { font-weight: 800; }
  body.phone-nav .navcaret, body.phone-nav .navsheethead { display: none !important; }
  body.phone-nav .navmenu, body.phone-nav .navmenu[hidden] { display: block !important; position: static; box-shadow: none; border: 0; padding: 0 0 4px 10px; min-width: 0; max-height: none; background: none; }
  body.phone-nav .navmenu a { display: block; padding: 10px 8px !important; font-size: 1rem; }
  body.phone-nav .navgroup { display: block; padding: 8px 8px 2px; }
  .calbar .actions { flex-wrap: wrap; row-gap: 8px; }
  .calbar .seg { flex: 1 1 100%; }
}
