/* Keelshare (cedarpointmarinas.com) design system v1.0. Own system: plum ink, sail canvas, coral signal,
   six partner hues; Gabarito (display) + Golos Text (text), both SIL OFL 1.1, self-hosted. */
@font-face { font-family: "Gabarito"; src: url("fonts/gabarito-latin-wght.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("fonts/golos-text-latin-wght.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --plum: #2a1736; --plum-2: #3b2249; --plum-3: #54365f;
  --canvas: #f7f1e8; --paper: #fffdf9; --line: #e7dccb; --line-2: #d8c9b3;
  --ink: #2a1736; --text: #3a2f3f; --muted: #6e6172;
  --coral: #f2643d; --coral-d: #b8411e; --coral-t: #fde3d9;
  --pos: #18714f; --neg: #b3261e;
  --c0: #1f8a8a; --c1: #e8643f; --c2: #d9a21b; --c3: #7a5ac8; --c4: #3b8fd9; --c5: #7c8a2e;
  --t0: #d6eeee; --t1: #fcdcd1; --t2: #f7e9c2; --t3: #e5ddf6; --t4: #d9e9f8; --t5: #e7ebcf;
  --radius: 18px; --radius-s: 10px;
  --shadow: 0 1px 0 rgba(42,23,54,.04), 0 12px 32px -18px rgba(42,23,54,.28);
  --display: "Gabarito", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 1.0625rem/1.6 var(--body); font-feature-settings: "tnum" 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--plum); text-decoration-color: rgba(242,100,61,.6); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-d); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.sect { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 750; }
.h3 { font-size: 1.3rem; font-weight: 700; }
.h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.2em; }
p { margin: 0 0 1em; }
.num, .tbl .n { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: .5rem 1rem; z-index: 10; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
.shell { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- masthead ---------- */
.mast { background: var(--canvas); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.mast__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.brand .mark { width: 40px; height: 28px; color: var(--plum); }
.brand__word { font: 800 1.35rem/1 var(--display); letter-spacing: -.02em; }
.brand--light, .brand--light .mark { color: var(--canvas); }
.sitenav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.sitenav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.sitenav ul a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.sitenav ul a:hover, .sitenav ul a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--coral); }
.mast__menu { display: none; margin-left: auto; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font: 600 .95rem var(--body); color: var(--plum); cursor: pointer; }
.bars { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }

/* ---------- pills (buttons) ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 10px 20px; font: 650 .98rem/1.2 var(--body);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; background: var(--plum); color: var(--canvas); transition: transform .12s ease, background .12s ease; }
.pill:hover { transform: translateY(-1px); color: var(--canvas); background: var(--plum-2); }
.pill--coral { background: var(--coral); color: var(--plum); }
.pill--coral:hover { background: #ff7a55; color: var(--plum); }
.pill--ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.pill--ghost:hover { background: var(--plum); color: var(--canvas); }
.pill--lg { padding: 14px 26px; font-size: 1.05rem; }
.pill--small { padding: 6px 14px; font-size: .9rem; }
.pill--danger { background: var(--neg); color: #fff; }
.pill--danger:hover { background: #8f1d17; color: #fff; }

/* ---------- preview burgee: a swallowtail pennant flown beside the name ---------- */
.burgee { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 40px; padding: 5px 30px 5px 12px; text-decoration: none;
  background: var(--coral); color: var(--plum); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%); border-radius: 3px 0 0 3px; transition: background .12s ease; }
.burgee:hover { background: #ff7a55; color: var(--plum); }
.burgee__price { font: 800 .9rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.burgee__note { font: 600 .66rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { background: var(--plum); color: #eadff0; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: auto -10% -45% 45%; height: 120%; background: radial-gradient(closest-side, rgba(242,100,61,.22), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 76px 0 84px; position: relative; }
.hero h1 { color: var(--canvas); font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 850; letter-spacing: -.025em; line-height: .98; }
.hero .hl { color: var(--coral); }
.hero__lede { font-size: 1.18rem; max-width: 34em; color: #e4d8ea; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .pill--ghost { color: var(--canvas); border-color: rgba(247,241,232,.55); }
.hero .pill--ghost:hover { background: var(--canvas); color: var(--plum); }
.hero__price { font-size: .95rem; color: #cdbdd6; }
.hero__price strong { color: var(--canvas); }
.eyebrow { font: 700 .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 14px; }
.hero .eyebrow, .eyebrow--light { color: #f7a58d; }
.hero__art { margin: 0; position: relative; }
.hull { width: 100%; }
.hull__water { fill: #3b2249; }
.hull__mast { stroke: var(--canvas); stroke-width: 5; stroke-linecap: round; }
.hull__sail { fill: rgba(247,241,232,.92); }
.hull__deck { stroke: var(--canvas); stroke-width: 5; stroke-linecap: round; }
.hull__t { fill: #fff; font: 700 15px var(--display); text-anchor: middle; }
.f0 { fill: var(--c0); } .f1 { fill: var(--c1); } .f2 { fill: var(--c2); } .f3 { fill: var(--c3); } .f4 { fill: var(--c4); } .f5 { fill: var(--c5); }
.hero__card { position: absolute; right: 0; bottom: -18px; background: var(--paper); color: var(--text); border-radius: var(--radius); box-shadow: 0 22px 40px -20px rgba(0,0,0,.5);
  padding: 16px 20px; display: grid; gap: 6px; min-width: 260px; }
.hero__card-k { font: 700 .72rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__card-row { display: flex; gap: 6px; align-items: baseline; }
.hero__card-row strong { margin-left: auto; font: 800 1.25rem var(--display); color: var(--plum); padding-left: 18px; }

/* ---------- bands ---------- */
.band { padding: 84px 0; }
.band--tight { padding: 40px 0 72px; }
.band--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--plum { background: var(--plum); color: #e4d8ea; }
.band--plum .sect { color: var(--canvas); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.trio__item { border-top: 3px solid var(--plum); padding-top: 22px; }
.trio__item h3 { font-size: 1.45rem; }
.ico { width: 52px; height: 52px; margin-bottom: 16px; }
.ico__line { fill: none; stroke: var(--plum); stroke-width: 2.5; stroke-linecap: round; }
.ico__hand { stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.ico__plus { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.more { font-weight: 650; }
.more::after { content: " \2192"; }

/* ---------- worked example ---------- */
.ex { display: grid; grid-template-columns: 1fr 1.4fr; gap: 26px 48px; align-items: start; }
.ex__intro { grid-row: span 2; }
.ledger { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font: 650 .78rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fbf6ee; white-space: nowrap; }
.tbl .n { text-align: right; white-space: nowrap; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tfoot th, .tbl tfoot td { border-top: 2px solid var(--plum); border-bottom: 0; font-weight: 700; }
.tbl .is-transfer td { background: #fbf6ee; }
.tbl .is-clash td { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(179,38,30,.5); }
.tbl .is-clash .tag { text-decoration: none; }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: .05em; background: var(--c0); flex: none; }
.c0 .dot, .dot.c0 { background: var(--c0); } .dot.c1 { background: var(--c1); } .dot.c2 { background: var(--c2); } .dot.c3 { background: var(--c3); } .dot.c4 { background: var(--c4); } .dot.c5 { background: var(--c5); }
.settle { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.settle h3 { font-size: 1.15rem; }
.settle__row { display: grid; grid-template-columns: auto 34px auto 1fr; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }
.settle__row strong { justify-self: end; font: 800 1.6rem/1 var(--display); color: var(--plum); }
.settle__row--sm strong { font-size: 1.15rem; }
.arrow { height: 2px; background: var(--coral); position: relative; }
.arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--coral); border-right: 0; }
.who { display: inline-flex; align-items: center; }

/* ---------- rotation strip ---------- */
.rot { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.weeks__w { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font: 700 .95rem var(--display); color: #fff; background: var(--c0); position: relative; }
.weeks__w.c1 { background: var(--c1); } .weeks__w.c2 { background: var(--c2); color: var(--plum); } .weeks__w.c3 { background: var(--c3); } .weeks__w.c4 { background: var(--c4); } .weeks__w.c5 { background: var(--c5); }
.weeks__w.is-hol { box-shadow: 0 0 0 3px var(--plum), 0 0 0 5px var(--canvas); }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.plancards { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
.plan { background: var(--canvas); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.plan--pass { background: var(--plum); color: #e4d8ea; border-color: var(--plum); }
.plan--pass .plan__name, .plan--pass .plan__price { color: var(--canvas); }
.plan__name { font-size: 1.15rem; margin: 0; }
.plan__price { font: 800 2.4rem/1.05 var(--display); color: var(--plum); margin: 4px 0; }
.plan__price .plan__or { display: block; font: 500 .95rem var(--body); color: inherit; opacity: .85; }
.plan__preview { display: inline-block; align-self: flex-start; background: var(--coral); color: var(--plum); font: 700 .85rem var(--display); padding: 5px 12px; border-radius: 999px; }
.plan__note { font-size: .88rem; opacity: .85; margin-top: auto; }
.plan .pill { align-self: flex-start; margin-top: auto; }
.ticks { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 9px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 9px; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(-45deg); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 48px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-2); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font: 700 1.15rem var(--display); color: var(--plum); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral-d); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; max-width: 46em; }

/* ---------- page heads + prose ---------- */
.pagehead { padding: 64px 0 28px; }
.pagehead .lede, .lede { font-size: 1.2rem; max-width: 40em; color: var(--text); }
.pagehead--msg { padding: 90px 0 110px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.2em; }
.prose li { margin-bottom: .5em; }
.check { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.check .fine { grid-column: 1 / -1; }
.boxes { list-style: none; padding: 0; margin: 0; }
.boxes li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.boxes li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border: 2px solid var(--plum); border-radius: 5px; }

/* ---------- cards + forms ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 22px; min-width: 0; }
.card--plum { background: var(--plum); color: #e4d8ea; border-color: var(--plum); }
.card--plum h2 { color: var(--canvas); }
.card--coral { background: var(--coral-t); border-color: #f6b9a5; }
.form { display: grid; gap: 14px; align-content: start; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--plum); }
input[type="text"], input[type="date"], select { width: 100%; font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); padding: 11px 12px; min-height: 46px; }
input:focus, select:focus { border-color: var(--plum); outline: 3px solid rgba(242,100,61,.35); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .tick { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form .pill { justify-self: start; }
.alert { background: #fdecea; border: 1px solid #f1b8b3; color: #7d1a14; border-radius: var(--radius-s); padding: 12px 14px; margin: 0; font-weight: 500; }
.toast { background: #e3f3eb; border: 1px solid #a9d8c0; color: #12553b; border-radius: var(--radius-s); padding: 10px 14px; font-weight: 600; }
.prow { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.prow legend { font-weight: 600; font-size: .92rem; color: var(--plum); margin-bottom: 6px; }
.prow__r { display: grid; grid-template-columns: 14px 1fr 104px; gap: 10px; align-items: center; }
.prow__r .dot { margin: 0; width: 14px; height: 14px; }
.form .prow__share { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.prow__share input { text-align: right; }
.prow__sum { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.prow__sum.is-bad { color: var(--neg); }
.prow__sum.is-ok { color: var(--pos); }
.radios { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radios legend { font-weight: 600; font-size: .92rem; color: var(--plum); margin-bottom: 8px; }
.form .radio { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); border: 1.5px solid var(--line-2); border-radius: var(--radius-s); padding: 9px 12px; background: #fff; }
.form .radio:has(input:checked) { border-color: var(--plum); background: #f6eff9; }
.startgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.ticks--light li { color: #e4d8ea; }
.price-note { font-size: .95rem; }
.price-note strong { color: var(--canvas); }

/* ---------- partnership desk ---------- */
.deskhead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0 24px; }
.deskhead__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.deskhead__boat { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; overflow-wrap: anywhere; }
.sharebar { width: 100%; max-width: 440px; height: 12px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; font-size: .95rem; font-weight: 600; }
.linkbox label { font-size: .85rem; color: var(--muted); display: block; margin-bottom: 6px; }
.linkbox__row { display: flex; gap: 8px; }
.linkbox__row input { font: 500 .9rem ui-monospace, "SFMono-Regular", Menlo, monospace; background: var(--canvas); }
.desk { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 30px 0 70px; align-items: start; }
.rail { position: sticky; top: 92px; min-width: 0; }
.rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rail > ul a { display: block; text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 600; color: var(--text); }
.rail > ul a:hover { background: var(--paper); }
.rail > ul a[aria-current="page"] { background: var(--plum); color: var(--canvas); }
.rail__pass { margin-top: 22px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 14px; font-size: .88rem; }
.rail__pass p { margin-bottom: 8px; }
.rail__pass ul { gap: 4px; }
.desk__main { min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.grid2 > .card { margin-bottom: 0; }
.grid2 { margin-bottom: 22px; }
.bal { list-style: none; padding: 0; margin: 0 0 8px; }
.bal li { display: flex; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.bal li strong { margin-left: auto; font: 800 1.15rem var(--display); }
.bal li .muted { font-size: .85rem; }
.upcoming, .turnlist { list-style: none; padding: 0; margin: 0 0 10px; }
.upcoming li, .turnlist li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.turnlist form { margin-left: auto; }
.pillday { display: inline-block; font: 700 .82rem var(--display); padding: 4px 11px; border-radius: 999px; background: var(--t0); color: #0f4d4d; }
.pillday.c1 { background: var(--t1); color: #8a2f12; } .pillday.c2 { background: var(--t2); color: #6b4d00; } .pillday.c3 { background: var(--t3); color: #48318a; } .pillday.c4 { background: var(--t4); color: #1c5287; } .pillday.c5 { background: var(--t5); color: #4a5314; }
.x { background: none; border: 0; color: var(--muted); font: 500 .85rem var(--body); text-decoration: underline; cursor: pointer; padding: 4px; }
.x:hover { color: var(--neg); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; background: var(--coral-t); color: var(--coral-d); border-radius: 6px; padding: 1px 7px; }
.form--danger .pill { justify-self: start; }
.welcome { margin-bottom: 22px; }
.settlecard { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }

/* calendar */
.cal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__bar h2 { margin: 0; }
.month { width: 100%; border-collapse: separate; border-spacing: 0 6px; table-layout: fixed; }
.month th { font: 650 .75rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 4px; }
.month td { height: 68px; vertical-align: top; padding: 6px 8px; border-top: 1px solid var(--line); position: relative; }
.month td.out .month__d { color: #bcaebd; }
.month__d { font: 600 .92rem var(--display); }
.month td.is-today .month__d { background: var(--plum); color: var(--canvas); border-radius: 999px; padding: 1px 7px; }
.month td.has { background: var(--t0); }
.month td.has.c1 { background: var(--t1); } .month td.has.c2 { background: var(--t2); } .month td.has.c3 { background: var(--t3); } .month td.has.c4 { background: var(--t4); } .month td.has.c5 { background: var(--t5); }
.month td.first { border-radius: 12px 0 0 12px; } .month td.last { border-radius: 0 12px 12px 0; } .month td.first.last { border-radius: 12px; }
.month__who { display: block; font: 700 .78rem var(--display); color: var(--plum); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* rotation calc */
.rotcalc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.tallies { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.tally { background: var(--canvas); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; font-size: .9rem; }
.tally b { font: 700 1.05rem var(--display); color: var(--plum); }
.draft .ledger { max-height: 560px; }

/* season sheet */
.is-sheet .burgee { display: none; }
.sheet { padding: 40px 0 60px; }
.sheet__head { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 18px; }
.sheet .tbl { margin-bottom: 22px; background: var(--paper); border: 1px solid var(--line); }

/* ---------- footer ---------- */
.foot { background: var(--plum); color: #cdbdd6; padding: 64px 0 40px; font-size: .95rem; }
.foot a { color: var(--canvas); }
.foot__top { display: grid; grid-template-columns: 1.2fr 1.5fr; gap: 48px; padding-bottom: 34px; border-bottom: 1px solid var(--plum-3); }
.foot__brand p { margin-top: 14px; max-width: 30em; }
.foot__price strong { color: var(--canvas); }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__cols h2 { color: var(--canvas); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.foot__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { text-decoration: underline; color: var(--canvas); }
.foot__legal { padding-top: 26px; font-size: .88rem; }
.foot__legal p { max-width: 64em; }
.foot__powered { font-weight: 600; color: var(--canvas); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .ex, .rot, .plans, .startgrid, .rotcalc, .deskhead__in { grid-template-columns: 1fr; }
  .ex__intro { grid-row: auto; }
  .hero__grid { padding: 52px 0 70px; gap: 36px; }
  .desk { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; }
  .sheet .tbl { display: block; overflow-x: auto; }
  .rail { position: static; }
  .rail > ul { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: thin; }
  .rail > ul a { white-space: nowrap; border: 1px solid var(--line-2); }
  .rail__pass { display: none; }
  .settlecard { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .mast__menu { display: inline-flex; }
  .sitenav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--canvas); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; gap: 12px; }
  .sitenav.is-open { display: flex; }
  .sitenav ul { flex-direction: column; gap: 0; }
  .sitenav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mast__in { position: relative; }
  .trio, .plancards, .cols2, .grid2, .check, .row2, .radios, .foot__cols { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 56px 0; }
  .weeks { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .hero__card { position: static; margin-top: 14px; min-width: 0; }
  .month td { height: 52px; padding: 4px; }
  .month__who { font-size: .66rem; }
  .settle__row strong { font-size: 1.3rem; }
  .mast__in { gap: 12px; }
  .burgee { padding-right: 24px; min-height: 36px; }
  .sheet__head { flex-direction: column; }
}
@media (max-width: 440px) {
  .mast__in { gap: 8px; }
  .brand { gap: 6px; }
  .brand .mark { width: 30px; height: 22px; }
  .brand__word { font-size: 1.15rem; }
  .burgee { padding: 4px 20px 4px 9px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); }
  .burgee__price { font-size: .82rem; }
  .burgee__note { font-size: .58rem; letter-spacing: .04em; }
  .mast__menu { padding: 8px 11px; }
  .mast__menu .mast__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print {
  .mast, .foot, .noprint, .rail { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .card, .ledger, .sheet .tbl { box-shadow: none; border-color: #999; }
  .shell { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pill { transition: none; } .pill:hover { transform: none; } }
[hidden] { display: none !important; }
.ledger, .card, .weeks__w, .tbl td, .tbl th { position: relative; }   /* not .rail: it is sticky on wide screens and static on phones (v1.0.3) */

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the plum footer, on the public pages only (the controllers opt in). The
   label and the reserved height are on the <ins>, so when tag.js (or ae-size.js) hides a slot it cannot fill, the label and
   the space go with it (and the empty wrapper with :has). 110px = 16px label + 4px gap + 90px banner; 270px on phones
   (300x250). The footer has no top margin, so all vertical spacing is margin on the <ins>. display stays in this file and is
   never !important: tag.js hides a slot with style.display='none'. Label: the body face in --muted (5.3:1 on canvas). */
.ae-slot { padding: 0 24px; }
.ae-slot:has(> ins.adengine[style*="display: none"]) { display: none; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 32px auto 56px; text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 600 11px/16px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
@media (max-width: 767px) { .ae-slot { padding: 0 16px; } .ae-slot ins.adengine { max-width: 300px; min-height: 270px; margin: 24px auto 40px; } }
@media print { .ae-slot { display: none; } }
