:root {
  --ink: #1b2430;
  --ink-2: #4a5768;
  --muted: #6b7788;
  --line: #e2e6ec;
  --bg: #f7f8fa;
  --card: #ffffff;
  --brand: #13405f;
  --brand-2: #1f6f8b;
  --accent: #e8f3f6;
  --direct: #1f7a6d;
  --findable: #2f6db3;
  --buried: #b7791f;
  --partial: #c25a24;
  --missing: #6b7280;
  --conflict: #7b3fa0;
  --stale: #8a6d1d;
  --radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--brand-2); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--brand); }
h1 { font-size: 2.1rem; margin: .2em 0 .4em; }
h2 { font-size: 1.45rem; margin-top: 2.2rem; }
h3 { font-size: 1.12rem; margin-top: 1.6rem; }
p { margin: .5em 0 .9em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap.wide { max-width: 1240px; }

.demo-banner { background: #fff6dc; color: #6b5310; text-align: center; font-size: .85rem; padding: 6px 12px; border-bottom: 1px solid #f0e2b0; }
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--brand); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { background: var(--brand); color: #fff; border-radius: 7px; font-size: .78rem; padding: 5px 6px; letter-spacing: .04em; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--accent); color: var(--brand); }
.main-nav .nav-portal { border: 1px solid var(--brand-2); color: var(--brand-2); }

main { padding: 28px 22px 64px; }
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 22px 0; font-size: .9rem; }

.hero { padding: 26px 0 8px; }
.hero h1 { font-size: 2.5rem; max-width: 20ch; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand-2); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; border: 0; cursor: pointer; font-size: .97rem; font-family: inherit; }
.btn.secondary { background: var(--card); color: var(--brand); border: 1px solid var(--brand); }
.btn.small { padding: 6px 12px; font-size: .88rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card.tint { background: var(--accent); border-color: #cfe5ec; }
.card.note { border-left: 4px solid var(--brand-2); }
.card.warn { border-left: 4px solid var(--buried); }
.stat { font-size: 1.9rem; font-weight: 700; color: var(--brand); }
.stat-label { color: var(--muted); font-size: .9rem; }

table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f0f3f7; color: var(--ink-2); font-weight: 600; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 12px 0 18px; }

.chip { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; color: #fff; white-space: nowrap; }
.lvl-direct { background: var(--direct); }
.lvl-findable { background: var(--findable); }
.lvl-buried { background: var(--buried); }
.lvl-partial { background: var(--partial); }
.lvl-missing { background: var(--missing); }
.flag-conflict { background: var(--conflict); }
.flag-stale { background: #fff; color: var(--stale); border: 1px solid var(--stale); }
.flag-unreadable { background: #fff; color: var(--missing); border: 1px solid var(--missing); }
.chip.tier { background: #eef1f5; color: var(--ink-2); }
.chip.status { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.chip.status-fixed { border-color: var(--direct); color: var(--direct); }
.chip.status-fix-planned { border-color: var(--findable); color: var(--findable); }
.chip.status-disagree { border-color: var(--conflict); color: var(--conflict); }
.chip.status-acknowledged { border-color: var(--brand-2); color: var(--brand-2); }
.chip.confirmed { background: #e6f4f1; color: var(--direct); border: 1px solid #b5dcd5; }

.bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #eef1f5; min-width: 140px; }
.bar span { display: block; height: 100%; }
.bar .direct { background: var(--direct); } .bar .findable { background: var(--findable); }
.bar .buried { background: var(--buried); } .bar .partial { background: var(--partial); } .bar .missing { background: var(--missing); }

.dial { display: flex; align-items: center; gap: 18px; }
.dial-ring { --size: 118px; width: var(--size); height: var(--size); border-radius: 50%; background: conic-gradient(var(--brand-2) calc(var(--pct) * 1%), #e3e8ee 0); display: grid; place-items: center; flex-shrink: 0; }
.dial-num { width: calc(var(--size) - 22px); height: calc(var(--size) - 22px); border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 2rem; font-weight: 700; color: var(--brand); line-height: 1; }
.dial-num small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }
.dial-text { display: flex; flex-direction: column; }
.dial-text strong { font-size: 1.2rem; color: var(--brand); }
.dial-text span { color: var(--muted); font-size: .9rem; max-width: 30ch; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 56px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 4px 0 14px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li.done::before { background: var(--direct); }
.timeline li.current::before { background: var(--brand-2); box-shadow: 0 0 0 4px #cfe5ec; }

.portal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 22px; flex-wrap: wrap; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; font-weight: 500; }
.tabs a[aria-current] { color: var(--brand); border-bottom-color: var(--brand-2); }
.role-pill { font-size: .82rem; background: var(--accent); color: var(--brand); padding: 4px 10px; border-radius: 999px; }

.finding { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.finding h4 { margin: 0 0 4px; font-size: 1rem; }
.finding h4 a { color: var(--brand); text-decoration: none; }
.finding h4 a:hover { text-decoration: underline; }
.finding .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.finding p { margin: 0; color: var(--ink-2); font-size: .93rem; }

.sources { display: grid; gap: 10px; margin: 12px 0; }
.source { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.source .where { font-size: .85rem; color: var(--muted); }
.source .says { font-size: 1.05rem; margin: 4px 0 2px; }
.source .says::before { content: "\201C"; color: var(--muted); } .source .says::after { content: "\201D"; color: var(--muted); }
.source a { font-size: .82rem; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }

.thread { display: grid; gap: 10px; }
.msg { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; max-width: 760px; }
.msg.consultant { border-left: 4px solid var(--brand-2); }
.msg.hotel { border-left: 4px solid var(--buried); margin-left: 40px; }
.msg .who { font-size: .82rem; color: var(--muted); margin-bottom: 2px; }
.msg .who strong { color: var(--ink); }

form.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
textarea, input[type=text], select { font: inherit; padding: 8px 10px; border: 1px solid #cbd3dd; border-radius: 8px; background: #fff; }
textarea { width: 100%; min-height: 84px; resize: vertical; }
label.field { display: block; font-weight: 600; font-size: .9rem; margin: 10px 0 4px; }

.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #f0f3f7; padding: 10px 14px; border-radius: 8px; font-size: .9rem; overflow-x: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill-list { display: flex; gap: 6px; flex-wrap: wrap; }
.idea-status { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-2); }
.pro { color: var(--direct); } .con { color: var(--partial); }
.idea dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: .92rem; }
.idea dt { font-weight: 700; }
.idea dd { margin: 0; color: var(--ink-2); }
.price { font-size: 1.6rem; font-weight: 700; color: var(--brand); }
.price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
ul.checks { padding-left: 1.1em; }
ul.checks li { margin: 4px 0; }
.kicker { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 24px 26px; margin-top: 34px; }
.kicker h2 { color: #fff; margin-top: 0; }
.kicker a.btn { background: #fff; color: var(--brand); }
.notice { background: #fff6dc; border: 1px solid #f0e2b0; border-radius: 8px; padding: 10px 14px; font-size: .92rem; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .finding { grid-template-columns: 1fr; }
  .finding .meta { justify-content: flex-start; }
  .msg.hotel { margin-left: 12px; }
}

/* ---------- Industry-style shell: header actions, footer, full-width sections ---------- */
:root { --navy: #0e2638; --navy-2: #163a54; --accent-cta: #19a38a; --accent-cta-dark: #12806c; --gold: #e0b45c; }
.header-row { gap: 12px; }
.main-nav { flex: 1; justify-content: center; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 6px; }
.nav-partner { display: inline-flex; align-items: center; gap: 4px; }
.nav-partner[hidden], [data-nav-login][hidden] { display: none; }
.nav-signout { color: var(--muted); text-decoration: none; font-size: .9rem; padding: 8px 6px; border-left: 1px solid var(--line); }
.nav-signout:hover, .nav-login:hover { color: var(--brand-2); }
.btn-accent { background: var(--accent-cta); }
.btn-accent:hover { background: var(--accent-cta-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn.large { padding: 13px 22px; font-size: 1.02rem; }

.site-footer { background: var(--navy); color: #c9d6e2; border-top: 0; padding: 40px 0 18px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: var(--accent-cta); }
.site-footer .muted { color: #9fb2c4; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 10px; }
.footer-grid a:not(.brand) { display: block; color: #c9d6e2; text-decoration: none; padding: 3px 0; font-size: .93rem; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; margin-top: 26px; }

main.full { padding: 0; }
.section { padding: 64px 0; }
.section.tight { padding: 40px 0; }
.section.alt { background: #eef3f7; }
.section.white { background: #fff; }
.section.dark { background: var(--navy); color: #dce6ef; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-head h2 { margin-top: 6px; font-size: 2rem; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.section.dark .section-head p { color: #b9c9d8; }

/* ---------- Home hero ---------- */
.home-hero { background: radial-gradient(1100px 500px at 80% -10%, #1f5878 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #12324a 100%); color: #dce6ef; padding: 64px 0 70px; }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #e7eef5; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-cta); }
.home-hero h1 { color: #fff; font-size: 3.1rem; line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.01em; }
.home-hero h1 em { font-style: normal; color: #7fd8c6; }
.home-hero .lede { color: #c7d5e2; font-size: 1.15rem; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: #b9c9d8; font-size: .95rem; }
.hero-points li::before { content: "\2713"; color: #7fd8c6; font-weight: 700; margin-right: 8px; }

/* Product mockup */
.mock { background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 24px 60px rgba(3, 18, 30, .45); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f1f4f8; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5dbe3; display: inline-block; }
.mock-bar .mock-title { margin-left: 6px; font-weight: 600; color: var(--ink-2); }
.mock-body { padding: 16px 18px 18px; }
.mock-fact { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.mock-fact strong { display: block; font-size: 1.05rem; color: var(--brand); text-transform: none; letter-spacing: 0; margin-top: 2px; }
.mock-rows { margin: 12px 0; display: grid; gap: 6px; }
.mock-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; }
.mock-row .src { color: var(--muted); font-size: .78rem; }
.mock-row .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.mock-row.strike .val { color: var(--muted); }
.mock-aligned { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-side { border-radius: 10px; padding: 10px 12px; background: #e9f6f3; border: 1px solid #bfe3da; }
.mock-side .who { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--direct); font-weight: 700; }
.mock-side .what { font-weight: 700; color: var(--ink); margin-top: 2px; }
.mock-side .when { font-size: .78rem; color: var(--muted); }
.mock-link { text-align: center; font-size: .78rem; color: var(--direct); font-weight: 700; margin: 8px 0 6px; letter-spacing: .04em; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(14, 38, 56, .08); margin-top: -36px; position: relative; }
.proof > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof .big { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.proof .lbl { color: var(--ink-2); font-size: .92rem; margin-top: 4px; }
.proof .src { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* Gap: three views */
.views { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.view { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.view h3 { margin: 4px 0 8px; font-size: 1.05rem; }
.view .tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.view.aligned { border: 2px solid var(--accent-cta); background: #f3fbf9; }
.view.aligned .tag { color: var(--direct); }
.arrow { display: grid; place-items: center; color: var(--muted); font-size: 1.4rem; }

/* Audience split */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aud { border-radius: 14px; padding: 30px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.aud.hotel { border-top: 5px solid var(--navy-2); }
.aud.planner { border-top: 5px solid var(--accent-cta); }
.aud h3 { font-size: 1.4rem; margin: 6px 0 10px; }
.aud ul { padding-left: 1.1em; margin: 6px 0 18px; }
.aud li { margin: 6px 0; }
.aud .btn { align-self: flex-start; margin-top: auto; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.module .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; margin-bottom: 10px; }
.module .ico svg { width: 20px; height: 20px; stroke: var(--brand-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.module h3 { margin: 0 0 6px; font-size: 1.02rem; }
.module p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.soon, .module .soon { font-size: .72rem; font-weight: 700; color: var(--buried); text-transform: uppercase; letter-spacing: .06em; }

/* Flow steps (horizontal) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow > div { counter-increment: flow; position: relative; padding: 22px 18px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.flow > div::before { content: "0" counter(flow); font-size: .8rem; font-weight: 800; color: #7fd8c6; letter-spacing: .1em; }
.flow h3 { margin: 6px 0 6px; font-size: 1.08rem; }
.flow p { margin: 0; font-size: .93rem; color: #b9c9d8; }

/* Venue types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.type h3 { margin: 0 0 6px; font-size: 1.05rem; }
.type p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle { padding: 18px; border-left: 3px solid var(--accent-cta); background: #fff; border-radius: 0 10px 10px 0; }
.principle h3 { margin: 0 0 6px; font-size: 1.02rem; }
.principle p { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.faq details p { margin: 10px 0 2px; color: var(--ink-2); }

/* Closing band */
.cta-band { background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: #dce6ef; border-radius: 16px; padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: 1.9rem; }
.cta-band .cta-row { justify-content: flex-end; }

@media (max-width: 960px) {
  .home-hero .wrap, .cta-band { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 2.3rem; }
  .modules, .principles, .flow { grid-template-columns: repeat(2, 1fr); }
  .types { grid-template-columns: repeat(2, 1fr); }
  .views { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .cta-band .cta-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .proof, .audience, .modules, .principles, .flow, .types { grid-template-columns: 1fr; }
  .proof > div { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Inner pages: navy page hero, plans, category grid, refreshed cards ---------- */
.wrap.narrow { max-width: 900px; }
.card { border-radius: 12px; }
.section .card, .section table { box-shadow: 0 1px 2px rgba(14, 38, 56, .04); }
table { border-radius: 12px; }
.section h2:not(.section-head h2) { margin-top: 0; }
.section-head .eyebrow, .section .eyebrow { color: var(--accent-cta-dark); }
.section.dark .eyebrow { color: #7fd8c6; }
.btn { border-radius: 9px; }
.btn.secondary { border-color: var(--navy-2); color: var(--navy-2); }

.page-hero { background: radial-gradient(1000px 420px at 85% -20%, #1f5878 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #12324a 100%); color: #dce6ef; padding: 56px 0 64px; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.page-hero.has-aside .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.page-hero h1 { color: #fff; font-size: 2.7rem; line-height: 1.1; margin: 16px 0 14px; max-width: 22ch; letter-spacing: -.01em; }
.page-hero h1 em { font-style: normal; color: #7fd8c6; }
.page-hero .lede { color: #c7d5e2; font-size: 1.12rem; }
.page-hero .hero-meta { color: #9fb2c4; margin: -4px 0 10px; }
.page-hero.compact { padding: 40px 0 46px; }
.page-hero.compact h1 { font-size: 2.2rem; max-width: none; }
.page-hero a:not(.btn) { color: #7fd8c6; }
.page-hero + .section.tight { padding-top: 0; }

.timeline-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.timeline-cards > div { padding: 22px 20px; border-right: 1px solid var(--line); position: relative; }
.timeline-cards > div:last-child { border-right: 0; }
.timeline-cards .dur { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-cta-dark); background: #e6f6f2; padding: 3px 9px; border-radius: 999px; }
.timeline-cards h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.timeline-cards p { margin: 0; font-size: .92rem; color: var(--ink-2); }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.cat .ico, .ico-box { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.cat .ico svg, .ico-box svg { width: 20px; height: 20px; stroke: var(--brand-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat h3 { margin: 0 0 4px; font-size: 1rem; }
.cat p { margin: 0; font-size: .86rem; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent-cta); box-shadow: 0 14px 36px rgba(14, 38, 56, .10); }
.plan-name { font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.plan .price { font-size: 2.2rem; margin: 8px 0 4px; }
.plan p { color: var(--ink-2); font-size: .94rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan ul { padding-left: 1.1em; margin: 4px 0 16px; font-size: .93rem; color: var(--ink-2); }
.plan ul li { margin: 4px 0; }

.principles.three { grid-template-columns: repeat(3, 1fr); }

.band-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 16px 18px; }
.band-form .field { color: #dce6ef; margin-top: 4px; }
.band-form input { width: 100%; margin-bottom: 8px; }
.band-form .cta-row { margin: 10px 0 0; justify-content: flex-start; }
.btn-ghost.secondary, .cta-band .btn-ghost { color: #fff; }

/* Side-by-side feature rows (text + card) */
.feature-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); gap: 40px; align-items: center; }
.feature-row h2 { font-size: 1.9rem; margin: 6px 0 12px; }
.ticks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e6f6f2; color: var(--accent-cta-dark); font-weight: 800; font-size: .75rem; display: grid; place-items: center; }
.ticks strong { color: var(--ink); }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent-cta); border-radius: 12px; padding: 22px; }
.way h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.way p { margin: 0; color: var(--ink-2); font-size: .94rem; }

.profile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 14px 36px rgba(14, 38, 56, .08); }
.profile .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; font-weight: 700; }
.profile-top { display: flex; gap: 12px; align-items: center; }
.profile-top h3 { margin: 0; }
.profile table { box-shadow: none; margin-top: 12px; }

/* Rubric page */
.rubric-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; margin-bottom: 34px; }
.rubric-step .step-num { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #7fd8c6; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.rubric-step h2 { margin: 6px 0 10px; font-size: 1.45rem; }
.rubric-cat { margin-bottom: 18px; }
.rubric-cat summary { cursor: pointer; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 700; color: var(--brand); list-style: none; }
.rubric-cat summary::-webkit-details-marker { display: none; }
.rubric-cat summary .count { margin-left: auto; font-weight: 600; color: var(--muted); font-size: .85rem; }
.rubric-cat[open] summary { border-radius: 12px 12px 0 0; border-bottom: 0; }
.rubric-cat .table-wrap { margin: 0; }
.rubric-cat table { border-radius: 0 0 12px 12px; }
.rubric-cat .why { background: #fff; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0 16px 10px; margin: 0; font-size: .88rem; color: var(--muted); }

/* Ideas page */
.idea-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.idea-card h3 { margin: 8px 0 6px; font-size: 1.08rem; }
.idea-card > p { color: var(--ink-2); font-size: .94rem; margin: 0 0 12px; }
.idea-tag { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.idea-tag.founder { background: #e6f6f2; color: var(--accent-cta-dark); }
.idea-tag.drafted { background: #e8eef6; color: var(--navy-2); }
.idea-tag.new { background: #fbf0dc; color: #8a5a12; }
.idea-weigh { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.idea-weigh > div { border-radius: 9px; padding: 10px 12px; font-size: .88rem; color: var(--ink-2); }
.idea-weigh .help { background: #f1faf7; }
.idea-weigh .doubt { background: #fdf3ec; }
.idea-weigh b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.idea-weigh .help b { color: var(--direct); }
.idea-weigh .doubt b { color: var(--partial); }
.legend-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 18px; color: #c7d5e2; font-size: .9rem; }

/* Portal: navy app header with tabs */
.portal-band { background: linear-gradient(160deg, var(--navy) 0%, #12324a 100%); color: #dce6ef; padding: 26px 0 0; }
.portal-band .wrap { max-width: 1240px; }
.portal-band .portal-head h1 { color: #fff; font-size: 1.9rem; margin: 10px 0 4px; }
.portal-band .portal-head p { color: #9fb2c4; }
.portal-band .role-pill { background: rgba(255,255,255,.1); color: #e7eef5; border: 1px solid rgba(255,255,255,.2); }
.portal-band .btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.portal-band .tabs { border-bottom: 0; margin: 18px 0 0; gap: 2px; }
.portal-band .tabs a { color: #b9c9d8; border-bottom: 0; border-radius: 10px 10px 0 0; padding: 11px 16px; }
.portal-band .tabs a:hover { color: #fff; background: rgba(255,255,255,.06); }
.portal-band .tabs a[aria-current] { background: var(--bg); color: var(--brand); }
.portal-main { max-width: 1240px; margin: 0 auto; padding: 28px 22px 56px; }
.portal-main h2 { font-size: 1.3rem; }
.portal-main .card .stat { color: var(--navy-2); }
.portal-reset { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; }

/* Login */
.login-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.login-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(3, 18, 30, .35); }
.login-card h3 { margin: 10px 0 6px; }
.login-card p { color: var(--ink-2); font-size: .94rem; }
.login-card .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 960px) {
  .page-hero.has-aside .wrap, .feature-row { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.1rem; }
  .timeline-cards, .cat-grid, .principles.three { grid-template-columns: repeat(2, 1fr); }
  .timeline-cards > div:nth-child(2) { border-right: 0; }
  .timeline-cards > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plans, .ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .timeline-cards, .cat-grid, .principles.three, .login-cards, .idea-weigh { grid-template-columns: 1fr; }
  .timeline-cards > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .rubric-step { grid-template-columns: 1fr; }
}
.modules.three { grid-template-columns: repeat(3, 1fr); }
.call-list { max-width: 820px; margin: 0 auto; }
.ref-link { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; color: var(--brand); padding: 10px 14px; border-radius: 9px; font-size: .92rem; word-break: break-all; }
@media (max-width: 960px) { .modules.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .modules.three { grid-template-columns: 1fr; } }
.band-scale { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 12px; overflow: hidden; margin: 14px 0; }
.band-scale > div { padding: 12px 14px; color: #fff; display: flex; flex-direction: column; }
.band-scale strong { font-size: 1.1rem; }
.band-scale span { font-size: .85rem; opacity: .92; }
.band-scale .band-0 { background: var(--partial); }
.band-scale .band-1 { background: var(--buried); }
.band-scale .band-2 { background: var(--findable); }
.band-scale .band-3 { background: var(--direct); }
.ideas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .ideas-grid, .band-scale { grid-template-columns: 1fr; } }
.portal-band .badge-pill { font-size: .78rem; }
.portal-band .portal-head > div:first-child p { color: #9fb2c4; }
.portal-main .lede { font-size: 1.08rem; }
.portal-main .finding { border-radius: 12px; }
.portal-main .finding:hover { border-color: #c9d6e2; }
.portal-main .card h3 { margin-top: 0; }
.login-card .idea-tag { margin-bottom: 2px; }
.ticks.q li::before { content: "?"; background: #fbf0dc; color: #8a5a12; }

/* ---------- Static demo: examples behind the index, feedback messages, demo notes ---------- */
.examples { display: grid; gap: 10px; }
.example { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fafbfc; }
.example:hover { border-color: #c9d6e2; background: #fff; }
.example > span { font-size: .86rem; color: var(--ink-2); }
.example > .calc { font-weight: 600; color: var(--navy-2); }
.msg.feedback { border-left-color: var(--conflict); background: #faf6fc; }
.demo-note { font-size: .85rem; color: var(--accent-cta-dark); font-weight: 600; margin: 8px 0 0; }
.cta-band .demo-note { color: #7fd8c6; }
[hidden] { display: none !important; }
button.chip { border: 0; cursor: pointer; font-family: inherit; }
button.chip.tier { border: 0; }
.hero-aside-link { color: #b9c9d8; margin: -4px 0 0; font-size: .95rem; }
.hero-aside-link a { color: #7fd8c6; font-weight: 600; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.tier-band { padding: 16px 0; font-weight: 700; color: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier-band .wrap { display: flex; align-items: center; gap: 12px; }
.tier-band.free { background: #f1faf7; }
.tier-band.insights { background: #fdf6ea; }
.locked { margin: 12px 0 0; font-size: .9rem; color: var(--ink-2); padding: 10px 12px; border-radius: 9px; background: #fdf6ea; }
@media (max-width: 760px) { .plans.two { grid-template-columns: 1fr; } }
[id] { scroll-margin-top: 84px; }
td.nowrap { white-space: nowrap; }
.example .chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Planner tools (Round 11) */
input[type=number] { font: inherit; padding: 8px 10px; border: 1px solid #cbd3dd; border-radius: 8px; background: #fff; width: 9em; max-width: 100%; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tool-card:hover { border-color: var(--brand-2); box-shadow: 0 4px 16px rgba(19,64,95,.08); }
.tool-card strong { display: block; color: var(--brand); margin-bottom: 4px; }
.tool-card.tall { flex-direction: column; gap: 8px; }
.tool-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.tool-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-from { font-size: .78rem; color: var(--muted); margin-top: auto; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: start; }
.tool .tool-inputs.wide-inputs { grid-column: 1 / 2; }
.tool-inputs .field:first-of-type { margin-top: 6px; }
.tool-inputs input[type=range] { width: 100%; margin: 12px 0 4px; accent-color: var(--brand-2); }
.tool-inputs .dims { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.tool-inputs .dims input { width: 6.5em; }
.tool-inputs [data-sample-load] { margin-top: 14px; }
.seg { display: inline-flex; border: 1px solid #cbd3dd; border-radius: 9px; overflow: hidden; margin: 0 8px 10px 0; }
.seg button { font: inherit; font-size: .9rem; background: #fff; color: var(--ink-2); border: 0; padding: 8px 12px; cursor: pointer; }
.seg button + button { border-left: 1px solid #cbd3dd; }
.seg button.on { background: var(--brand); color: #fff; font-weight: 600; }
.seg.small-seg button { font-size: .82rem; padding: 6px 10px; }
.calc-window { background: var(--brand); color: #fff; border-radius: 12px; padding: 16px 18px 18px; box-shadow: 0 8px 24px rgba(19,64,95,.18); }
.calc-window-head { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #9fd3e3; font-weight: 700; margin-bottom: 10px; }
.calc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.calc-group { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px 12px; }
.calc-group-name { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #cfe3ec; margin-bottom: 6px; }
.calc-cell { display: flex; flex-direction: column; padding: 4px 0; }
.calc-cell + .calc-cell { border-top: 1px dashed rgba(255,255,255,.15); }
.calc-num { font-size: 1.7rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-lbl { font-size: .8rem; color: #d6e4ee; }
.calc-lbl small { color: #9fb2c4; }
.calc-lines { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.calc-lines dt { color: #d6e4ee; }
.calc-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc-lines dd strong { font-size: 1.15rem; }
.calc-warn { color: #ffc98a; font-weight: 700; }
.calc-ok { color: #8fe0c9; font-weight: 700; }
.allowances { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.allowances summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.allowances input[type=number] { width: 6em; padding: 4px 8px; }
.tool-check { max-width: 760px; }
.check-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.check-row select { max-width: 100%; }
.calc-lines { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px 12px; }
.check-out { margin: 12px 0 0; }
.sample-check { margin-top: 22px; }
.sample-check h3 { margin-top: 0; }
.tool-note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }
.fb-table input[type=text] { width: 100%; min-width: 9em; }
.fb-table input[type=number] { width: 6.5em; }
.pre { color: var(--muted); margin-right: 3px; }
.linkish { background: none; border: 0; color: var(--brand-2); cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; padding: 0; }
label.check { display: flex; gap: 8px; align-items: center; margin: 12px 0 4px; font-size: .92rem; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }
.tool.wide { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.fb-table td { white-space: nowrap; vertical-align: middle; }
.fb-table input[type=text] { min-width: 8em; }
.fb-table input[type=number] { width: 5.5em; }
.check-row input[type=number] { width: 7em; }

/* ---------- Phone layout (Round 12) ---------- */
/* Fixes that apply at every width: the wide tools stack below 860px like the others, and long links wrap. */
@media (max-width: 860px) { .tool.wide { grid-template-columns: 1fr; } }
.source a, .source .says { overflow-wrap: anywhere; }
select { max-width: 100%; }
.check-row > div { min-width: 0; max-width: 100%; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  main { padding: 22px 16px 48px; }
  main.full { padding: 0; }
  .demo-banner { font-size: .76rem; padding: 5px 10px; }

  /* Header: not pinned on phones, brand and actions on one line, the menu on one line below. */
  .site-header { position: static; }
  .header-row { gap: 6px 10px; min-height: 0; padding-top: 10px; padding-bottom: 4px; flex-wrap: wrap; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .header-actions { gap: 6px; margin-left: auto; }
  .nav-login { font-size: .9rem; padding: 8px 4px; }
  .nav-signout { font-size: .84rem; padding: 8px 4px; }
  .header-actions .btn.small { padding: 7px 11px; font-size: .84rem; }
  .main-nav { order: 3; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 2px; margin: 0 -8px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; padding: 8px 10px; font-size: .92rem; }

  /* Portal tabs: one line that scrolls sideways instead of three lines. */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 18px; padding: 0 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { white-space: nowrap; padding: 10px 12px; flex: none; }

  /* Headings and spacing sized for a phone. */
  h1 { font-size: 1.75rem; }
  .hero h1, .home-hero h1 { font-size: 2rem; }
  .page-hero { padding: 34px 0 40px; }
  .page-hero h1, .page-hero.compact h1 { font-size: 1.8rem; }
  .page-hero .lede, .lede { font-size: 1.05rem; }
  .home-hero { padding: 40px 0 46px; }
  .section { padding: 44px 0; }
  .section.tight { padding: 30px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: 1.6rem; }
  .cta-band { padding: 26px 20px; }
  .cta-band h2 { font-size: 1.5rem; }
  .kicker { padding: 20px; }
  .rubric-step { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  /* Small labels no smaller than 12px, and footer links easier to tap. */
  .idea-tag, .soon, .module .soon, .calc-group-name, .mock-side .who { font-size: .75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid a:not(.brand) { padding: 7px 0; }

  /* Tables of four or more columns become one card per row (demo.js labels the cells). */
  .table-wrap:has(table.stack) { overflow: visible; }
  table.stack, table.stack tbody { display: block; width: 100%; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  table.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; min-width: 0; }
  table.stack td.span { grid-column: 1 / -1; }
  table.stack td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
  table.stack td[data-label=""]::before, table.stack td:empty { display: none; }
  table.stack td.num { font-variant-numeric: tabular-nums; }
  table.stack input[type=text] { width: 100%; min-width: 0; }
  table.stack input[type=number] { width: 7em; }
}
