@font-face { font-family: 'Bricolage Grotesque Variable'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Nunito Sans Variable'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url(/fonts/nunito-sans-latin-opsz-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Figtree Variable'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format('woff2-variations'); }

/* CharterMate's own look ("Sun and sea", chosen 2026-10-11). An organization's brand overrides these at load (brand.js). */
:root {
  --primary: #0E3B47; --primary-hover: #0B6670; --link: #0B6670; --accent: #FFB547; --accent-hover: #FFC56E;
  --accent2: #0E7C86; --highlight: #C24E3A; --tint: #E6F5FB; --warm: #FBF3E4; --on-dark: #D7F0F2;
  --line: #E3EEF1; --muted: #4F6F78; --field: #F7FBFC; --field-line: #CFE4EA;
  --display: 'Figtree Variable', system-ui, sans-serif;
  --body: 'Figtree Variable', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #FFFFFF; color: var(--primary); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--link); }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 980px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Header */
.site-header { background: var(--primary); color: #FFFFFF; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 24px); color: #FFFFFF; text-decoration: none; }
.brand .wm > span { color: var(--accent); }
.who { font-weight: 700; font-size: 15px; color: var(--on-dark); }
.who button { background: none; border: none; padding: 0; font: inherit; color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.who button:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 999px; font-weight: 800; font-size: 16px; padding: 12px 22px; border: none; cursor: pointer; font-family: var(--body); white-space: nowrap; }
.btn-yellow { background: var(--accent); color: var(--primary); }
.btn-yellow:hover { background: var(--accent-hover); }
.btn-navy { background: var(--primary); color: #FFFFFF; }
.btn-navy:hover { background: var(--primary-hover); }
.btn-outline { background: #FFFFFF; color: var(--primary); border: 2px solid var(--primary); padding: 10px 20px; }
.btn-outline:hover { background: var(--primary); color: #FFFFFF; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-btn { background: none; border: none; padding: 0; font: inherit; font-weight: 800; color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--primary); }

/* Hero band */
.hero { background: var(--tint); }
.hero .wrap { padding-top: clamp(28px, 5vw, 48px); padding-bottom: clamp(28px, 5vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px 36px; align-items: end; }
.eyebrow { font-weight: 800; font-size: 15px; color: var(--highlight); }
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.02; margin-top: 6px; }
.org { margin-top: 10px; font-weight: 700; font-size: 16px; }
.meter-label { display: flex; justify-content: space-between; font-weight: 800; font-size: 15px; }
.meter-label strong { font-family: var(--display); font-size: 30px; line-height: 1; }
.meter { height: 14px; background: #FFFFFF; border-radius: 999px; overflow: hidden; margin-top: 8px; box-shadow: inset 0 0 0 2px var(--line); }
.meter > div { height: 100%; background: var(--accent); border-radius: 999px; }
.since { grid-column: 1 / -1; background: #FFFFFF; border-radius: 20px; padding: 14px 18px; font-size: 15.5px; }
.since strong { color: var(--highlight); }
.since ul { margin: 6px 0 0; padding-left: 20px; }
@media (max-width: 720px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Sections */
main section { padding-top: clamp(28px, 4vw, 44px); }
main section:last-child { padding-bottom: clamp(48px, 6vw, 80px); }
.sec-h { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin-bottom: 14px; }
.sec-sub { color: var(--muted); font-weight: 700; font-size: 15px; margin: -8px 0 14px; }
.card { background: #FFFFFF; border-radius: 28px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 10px 30px rgba(0,102,179,0.12); }

/* Website preview */
.preview { border: 2px dashed var(--field-line); border-radius: 28px; padding: clamp(18px, 3vw, 26px); background: var(--warm); }
.preview-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.preview h3 { font-size: clamp(22px, 2.8vw, 28px); line-height: 1.1; }
.tag { display: inline-block; font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: #FFFFFF; color: var(--muted); white-space: nowrap; }
.facts { margin-top: 8px; font-weight: 700; color: var(--primary); }

/* Plan table */
.plan-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.plan-table th { text-align: left; font-size: 13.5px; color: var(--muted); font-weight: 800; padding: 0 8px 8px 0; border-bottom: 1.5px solid var(--line); }
.plan-table td { padding: 12px 8px 12px 0; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.plan-table tr:last-child td { border-bottom: none; }
.plan-table td:first-child { font-weight: 800; width: 28%; }
.plan-table td:last-child, .plan-table th:last-child { text-align: right; padding-right: 0; width: 32%; }
.plan-table tr.settled td:nth-child(2) { color: var(--muted); }
.status { display: inline-block; font-weight: 800; font-size: 13.5px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.st-settled { background: var(--primary); color: #FFFFFF; }
.st-active { background: var(--accent); color: var(--primary); }
.st-waiting { background: var(--tint); color: var(--link); }
.st-open { background: #FFFFFF; color: var(--primary); box-shadow: inset 0 0 0 2px var(--field-line); }
.status a { color: inherit; }
@media (max-width: 560px) { .plan-table td:first-child { width: auto; } .plan-table td:last-child { width: auto; } .plan-table { font-size: 15px; } }

/* Votes */
.weeks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .weeks { grid-template-columns: 1fr; } }
.week { background: var(--tint); border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.week.won { background: var(--primary); color: #FFFFFF; }
.week h3 { font-size: 20px; }
.week .others { font-size: 14.5px; font-weight: 600; min-height: 22px; }
.week.won .others { color: var(--on-dark); }
.vote-row { display: flex; gap: 6px; flex-wrap: wrap; }
.vote { font: inherit; font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 2px solid var(--field-line); background: #FFFFFF; color: var(--primary); cursor: pointer; }
.vote:hover { border-color: var(--primary); }
.vote[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.hint { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 10px; }
.close-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-weight: 700; font-size: 15px; }
select { font: inherit; font-size: 15px; color: var(--primary); background: var(--field); border: 2px solid var(--field-line); border-radius: 12px; padding: 8px 10px; }

/* Cabins */
.cabins { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.cabin { background: var(--warm); border-radius: 22px; padding: 16px 18px; }
.cabin.open { background: #FFFFFF; border: 2px dashed var(--field-line); color: var(--muted); }
.cabin.skip { background: var(--tint); }
.cabin .no { font-weight: 800; font-size: 14px; color: var(--highlight); }
.cabin .names { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.2; margin-top: 2px; }
.cabin .st { font-weight: 800; font-size: 14px; margin-top: 4px; }
.st-in { color: #1B7F4B; }
.st-considering { color: var(--muted); }

/* Discussion */
.thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.msg { border-left: 4px solid var(--accent2); padding: 2px 0 2px 14px; }
.msg.note { border-left-color: var(--highlight); }
.msg .meta { font-size: 14px; font-weight: 800; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.msg .meta .when { color: var(--muted); font-weight: 600; }
.msg .body { margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg .acts { display: flex; gap: 14px; margin-top: 4px; font-size: 14px; }
.replies { margin: 10px 0 0 6px; display: flex; flex-direction: column; gap: 10px; }
.empty { color: var(--muted); font-weight: 600; }
.compose { display: flex; flex-direction: column; gap: 10px; }
textarea, input[type=email], input[type=text], input[type=tel] { font: inherit; font-size: 16px; color: var(--primary); background: var(--field); border: 2px solid var(--field-line); border-radius: 14px; padding: 12px 14px; width: 100%; }
textarea { min-height: 84px; resize: vertical; }
textarea:focus, input:focus { outline: none; border-color: var(--link); background: #FFFFFF; }
.compose .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.private { margin-top: 22px; background: var(--warm); border-radius: 22px; padding: 18px; }
.private h3 { font-size: 18px; margin-bottom: 8px; }
.msg-status { font-weight: 700; font-size: 15px; }
.msg-status.err { color: #C62828; }

/* Sign-in */
.signin { background: var(--primary); color: #FFFFFF; border-radius: 28px; padding: clamp(20px, 3.5vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.signin h2 { font-size: clamp(24px, 3vw, 30px); }
.signin p { color: var(--on-dark); font-weight: 600; }
.signin form { display: flex; gap: 10px; flex-wrap: wrap; }
.signin input { flex: 1 1 220px; background: #FFFFFF; }
.signin .msg-status { color: var(--accent); }

.notice { background: var(--warm); border-radius: 20px; padding: 14px 18px; font-weight: 700; margin-top: 18px; }
.center { text-align: center; padding: 80px var(--gutter); }
.center h1 { font-size: clamp(32px, 5vw, 48px); }
.center p { margin-top: 10px; font-weight: 600; }

.site-footer { background: var(--primary); color: var(--on-dark); font-size: 14px; font-weight: 700; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.site-footer a { color: #FFFFFF; }

/* Another device */
.device p { font-weight: 600; }
.device-btn { margin-top: 14px; }
.device-out:not(:empty) { margin-top: 14px; }
.device-row { display: flex; gap: 10px; flex-wrap: wrap; }
.device-row input { flex: 1 1 260px; font-size: 14.5px; }

/* Sign-in page: request a new link / request to join */
.signin .used { color: var(--accent); font-weight: 800; }
.btn-white { background: #FFFFFF; color: var(--primary); }
.btn-white:hover { background: var(--accent); }
.ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.ctas:has(.req:only-child) { grid-template-columns: 1fr; }
@media (max-width: 720px) { .ctas { grid-template-columns: 1fr; } }
.req { background: rgba(255,255,255,0.08); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.req h3 { font-size: 20px; color: #FFFFFF; }
.req .btn { margin-top: 2px; }
.req-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.signin .req-form input, .signin .req-form textarea { background: #FFFFFF; flex: none; width: 100%; }
.req-form textarea { min-height: 70px; }
.req-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.signin .req-done { color: var(--accent); font-weight: 800; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Discussion: deleted posts and show more / fewer */
.msg.deleted { border-left-color: var(--line); }
.msg.deleted > .body { color: var(--muted); font-style: italic; font-size: 15px; }
.link-btn.more { align-self: flex-start; font-size: 14.5px; }

/* Website preview: blurb and publish controls */
.preview .blurb { margin-top: 8px; font-weight: 600; }
.tag.live { background: var(--primary); color: #FFFFFF; }
.pub-row { display: flex; gap: 10px 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 2px dashed var(--field-line); }
.pub-note { font-weight: 700; font-size: 15px; flex: 1 1 260px; }
.btn-danger { background: #FFFFFF; color: #C62828; border: 2px solid #C62828; padding: 10px 20px; }
.btn-danger:hover { background: #C62828; color: #FFFFFF; }

/* Your status */
.my-status { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-weight: 800; font-size: 15px; }

/* Candidate joiners */
.cands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cands li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding-bottom: 10px; border-bottom: 1.5px solid var(--line); }
.cands li:last-child { border-bottom: none; padding-bottom: 0; }
.cands .acts { display: flex; gap: 14px; font-size: 14px; margin-left: auto; }
.cand-note { color: var(--muted); font-weight: 600; font-size: 15px; flex-basis: 100%; }
.cands li.cand-form { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.cand-foot { margin-top: 16px; }
.cand-add, .invite { display: flex; flex-direction: column; gap: 10px; }
.form-h { font-weight: 800; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
label.inline, .panel label.inline { flex-direction: row; display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; }
.link-out { background: var(--tint); border-radius: 20px; padding: 14px 16px; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.link-out .device-row { width: 100%; }

/* Organizer tools */
.tools > summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tools > summary::-webkit-details-marker { display: none; }
.tools > summary .sec-h { margin: 0; }
.tools > summary::before { content: '\25B8'; font-size: 22px; color: var(--link); }
.tools[open] > summary::before { content: '\25BE'; }
.panels { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.panel { background: var(--field); border: 2px solid var(--field-line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.panel h3 { font-size: 19px; }
.panel label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 14.5px; }
.panel input[type=text], .panel input[type=email], .panel input[type=tel], .panel textarea, .panel input[type=number] { background: #FFFFFF; }
input[type=number].num { font: inherit; font-size: 16px; color: var(--primary); border: 2px solid var(--field-line); border-radius: 14px; padding: 10px 12px; width: 110px; }
.term-row, .person-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding-bottom: 10px; border-bottom: 1.5px solid var(--field-line); }
.person-row { grid-template-columns: 170px minmax(0, 1fr) auto; }
.term-sel { display: flex; gap: 8px; flex-wrap: wrap; }
input:disabled { opacity: 0.6; }
@media (max-width: 720px) { .term-row, .person-row { grid-template-columns: 1fr; } }

/* Landing: your plans */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.plan-card { display: flex; flex-direction: column; gap: 6px; background: var(--warm); border-radius: 22px; padding: 18px; color: var(--primary); text-decoration: none; }
.plan-card:hover { box-shadow: 0 10px 30px rgba(0,102,179,0.18); color: var(--primary); }
.plan-card h3 { font-size: 20px; }
.plan-card p { font-weight: 700; font-size: 14.5px; color: var(--muted); }
.plan-card .meter { margin-top: auto; }
.plan-card.archived { background: #F1F4F7; }
.new-plan { max-width: 620px; }

.hero-tools { margin-top: 14px; }
#tools { scroll-margin-top: 16px; }

/* Interest polls ("Where to?") */
.week .suggested { font-size: 13.5px; color: var(--muted); font-weight: 700; margin-top: -4px; }
.week.won .suggested { color: var(--on-dark); }
.week .names { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.week.won .names { color: var(--on-dark); }
.week .link-btn { align-self: flex-start; font-size: 14px; }
.suggest-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.suggest-row input { flex: 1 1 220px; min-width: 0; }
.suggest-row .hint { margin-top: 0; }

/* Vote questions: bold, with clear space between one vote and the next */
.choice > .sec-sub { color: var(--primary); font-weight: 800; font-size: 18px; margin: 0 0 14px; }
.choice + .choice { margin-top: 36px; }

/* Personal sign-in link: whose it is, and a way out for someone it was forwarded to */
.finish-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.share-out { margin-top: 0; word-break: break-all; }
.device-btn .share-out { margin-left: 12px; }
.signin .finish-row .link-btn { color: var(--on-dark); }
.signin .finish-row .link-btn:hover { color: #FFFFFF; }

/* Organizer tools: save confirmations, phone row, send buttons, My plans link */
.msg-status.ok { color: #1B7F4B; }
.phone-row { display: grid; grid-template-columns: minmax(130px, 170px) 1fr; gap: 12px; }
@media (max-width: 480px) { .phone-row { grid-template-columns: 1fr; } }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.send-row .btn { text-decoration: none; }
.who .my-plans { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.who .my-plans:hover { color: var(--accent); }

/* Brand: one word, Charter in white and Mate in amber, on hover too */
.brand, .brand:hover, .brand:visited { color: #FFFFFF; }
.brand .wm > span, .brand:hover .wm > span { color: var(--accent); }

/* People on this plan */
.table-wrap { overflow-x: auto; }
table.people { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.people th { text-align: left; font-size: 13px; font-weight: 800; color: var(--primary); padding: 6px 8px; border-bottom: 2px solid var(--field-line); white-space: nowrap; }
table.people td { padding: 8px 6px; border-bottom: 1.5px solid var(--field-line); vertical-align: middle; }
table.people td.nm, table.people td.ph { white-space: nowrap; }
table.people td.em { overflow-wrap: break-word; max-width: 260px; }
.muted.small { font-size: 13px; }
.contact { display: flex; flex-direction: column; gap: 2px; }
.contact .ph { white-space: nowrap; }
table.people tr.crew td { background: rgba(255, 201, 60, .10); }
.role-tag { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: #E3F1FA; color: var(--primary); white-space: nowrap; }
.role-tag.crew { background: var(--accent); }
table.people select { max-width: 160px; font-size: 14px; }
table.people select { font-size: 14px; padding: 6px 8px; }
table.people .muted, .muted { color: var(--muted); font-style: italic; }
.row-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; white-space: nowrap; }
.link-btn.danger { color: #C62828; }
.person-edit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; margin-bottom: 10px; }
.person-edit .wide { grid-column: span 2; }
@media (max-width: 760px) {
  table.people thead { display: none; }
  table.people, table.people tbody, table.people tr, table.people td { display: block; width: 100%; }
  table.people tr { padding: 10px 0; border-bottom: 2px solid var(--field-line); }
  table.people select { max-width: none; }
  table.people td.em { max-width: none; }
  .row-acts { flex-direction: row; gap: 14px; }
  table.people td { border: none; padding: 3px 0; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; align-items: center; }
  table.people td::before { content: attr(data-label); font-weight: 800; font-size: 13px; }
  table.people .role-tag { justify-self: start; }
  table.people tr.editing td { display: block; }
  table.people tr.editing td::before { content: none; }
  .person-edit { grid-template-columns: 1fr; }
  .person-edit .wide { grid-column: auto; }
}

.req-mark { color: #C62828; font-weight: 800; }
.nick { font-size: 13.5px; color: #34557A; }

/* Crew, cabins, jobs */
.crew-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; gap: 6px 14px; align-items: center; padding: 8px 0; border-bottom: 1.5px solid var(--field-line); }
@media (max-width: 720px) { .crew-row { grid-template-columns: 1fr; } }
.crew-form { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 2px dashed var(--field-line); border-radius: 16px; background: #FFFFFF; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.check { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.fee-row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; }
.cabin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 18px; }
.cabin-row { display: flex; gap: 12px; align-items: center; }
.jobs { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.job-tag { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--warm); color: var(--primary); white-space: nowrap; }
.jobs-edit { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.jobs-edit input { padding: 6px 10px; font-size: 14px; }
.link-btn.small { font-size: 13px; }
.muted.small, .small { font-size: 13px; }
.field-h { font-weight: 700; font-size: 14.5px; margin: 0 0 -4px; }
.add-opts { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.add-opts label[hidden], .panel .add-opts label[hidden] { display: none !important; }

/* Partner logo in the header */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; display: block; }

/* "Planned with CharterMate" badge in organization footers (brand.js) */
.cm-badge { display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; color: #0E3B47 !important; border-radius: 999px; padding: 5px 14px 5px 7px; font-family: 'Figtree Variable', system-ui, sans-serif; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.cm-badge:hover { color: #0B6670 !important; }
.cm-badge svg { display: block; }
.site-footer .wrap { align-items: center; }
.check[hidden] { display: none !important; }
.link-out-more { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.link-out-more[hidden] { display: none; }
.invite-state { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.invite-state.ok { color: #2E7D5B; }
.invite-state.warn { color: #B3401E; }
/* Notification emails (db/028) */
.linklike { background: none; border: 0; padding: 0; margin-left: 4px; color: var(--link); text-decoration: underline; font: inherit; cursor: pointer; }
.test-emails { border-top: 2px solid var(--field-line); padding-top: 12px; }

/* Share button in the plan header (db/033) */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.share-wrap { display: inline-flex; align-items: center; gap: 10px; }
.share-icon { display: inline-flex; }
.share-out { font-weight: 700; font-size: 15px; color: var(--primary); }
.share-out:empty { display: none; }
.signin-stack { display: flex; flex-direction: column; gap: 18px; }

/* Cost estimate row (db/034) */
.plan-table .cost-note { font-size: 13px; color: var(--muted); margin-top: 2px; }
.plan-table .st-link { text-decoration: none; background: var(--tint); color: var(--link); }
.plan-table .st-link:hover { text-decoration: underline; }

/* Organizer tools, regrouped (2026-10-16): jump links; Boat and cabins; People (organizer, crew, passengers). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tool-nav { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 2px; }
.tool-nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--field); border: 2px solid var(--field-line); font-weight: 800; font-size: 15px; text-decoration: none; color: var(--primary); }
.tool-nav a:hover { border-color: var(--primary); }
.tool-group { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.cabin-card strong { white-space: nowrap; }
.cabin-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #FFFFFF; border: 2px solid var(--field-line); border-radius: 16px; padding: 10px 14px; }
.panel h4 { font-family: var(--display); font-size: 17px; font-weight: 800; margin: 0; }
.people-sub { display: flex; flex-direction: column; gap: 10px; }
.sub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.sub-box { background: #FFFFFF; border: 2px solid var(--field-line); border-radius: 16px; padding: 4px 14px; }
.sub-box:empty { display: none; }
.sub-box .crew-row:last-child, .sub-box table.people tr:last-child td { border-bottom: 0; }
.crew-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crew-who select { max-width: 220px; }
.acts-row { display: flex; align-items: center; gap: 12px; justify-content: flex-end; white-space: nowrap; }
.muted-plain { color: var(--muted); }
.org-box { background: #FFFFFF; border: 2px solid var(--field-line); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.org-box.open { border-color: var(--primary); }
.org-box.confirm { background: var(--tint); border-color: var(--tint); }
.org-box p { margin: 0; }
.org-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.org-k { font-weight: 800; color: var(--muted); }
.org-line strong { font-size: 18px; }
.org-q { font-size: 17px; }
.org-pick { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.org-opt { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.org-opt:hover { background: var(--field); }
.org-opt input { width: 20px; height: 20px; accent-color: var(--accent2); margin: 0; }
.org-opt .muted-plain { font-weight: 600; font-size: 14.5px; }
.org-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.org-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--primary); color: #FFFFFF; }
.more-wrap { position: relative; display: inline-flex; }
.more-btn { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--field-line); background: #FFFFFF; color: var(--primary); font-size: 22px; line-height: 1; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.more-btn:hover, .more-btn[aria-expanded="true"] { border-color: var(--primary); background: var(--tint); }
.more-menu { position: fixed; z-index: 50; min-width: 220px; background: #FFFFFF; border: 2px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px rgba(14, 59, 71, .16); padding: 6px; display: flex; flex-direction: column; }
.more-menu button { min-height: 44px; text-align: left; padding: 0 14px; border: 0; border-radius: 10px; background: #FFFFFF; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--primary); cursor: pointer; }
.more-menu button:hover, .more-menu button:focus-visible { background: var(--field); outline: none; }
.more-menu button.danger { color: #B42318; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
@media (max-width: 720px) { .acts-row { justify-content: flex-start; } .cabin-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* Requests in Organizer tools (db/038) */
.req-banner { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 18px; background: var(--warm); border: 2px solid var(--accent); border-radius: 20px; padding: 14px 18px; font-weight: 800; color: var(--primary); text-decoration: none; }
.req-banner:hover { color: var(--primary); border-color: var(--primary); }
.req-banner .req-go { white-space: nowrap; }
.req-card { background: #FFFFFF; border: 2px solid var(--field-line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.req-head { display: flex; flex-direction: column; gap: 2px; }
.req-head strong { font-size: 18px; }
.req-when { font-size: 14px; color: var(--muted); font-weight: 600; }
.req-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.req-facts > div { background: var(--field); border-radius: 12px; padding: 10px 12px; }
.req-facts dt { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.req-facts dd { margin: 2px 0 0; font-size: 15.5px; overflow-wrap: anywhere; }
.req-facts dd.muted { color: var(--muted); }
.req-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.req-acts .hint { flex-basis: 100%; margin-top: 0; }
.req-handled summary { cursor: pointer; font-weight: 800; min-height: 32px; }
.req-handled ul { margin: 6px 0 0; padding-left: 20px; font-size: 15px; }

/* Any-length trips (2026-10-16): per-option estimates on date and length votes, date picker, day-trip list */
.opt-est { font-weight: 800; color: var(--accent2); margin: 2px 0 4px; font-size: 15px; }
.picker { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 4px 0 12px; background: var(--field); }
.picker summary { cursor: pointer; font-weight: 700; }
.picker .vote-row { margin: 10px 0 6px; flex-wrap: wrap; }
.picker-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin: 6px 0; }
.picker-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.picker-row input[type="date"] { font: inherit; padding: 8px 10px; border-radius: 10px; border: 2px solid var(--field-line); }
.picker-out { margin: 6px 0 10px; }
.cabin.day-list { grid-column: 1 / -1; }
