/* NJx Summit Guide — NJx brand: ink, paper, signal orange. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/BricolageGrotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #14161A;
  --ink-2: #2A2D33;
  --muted: #5B5F66;
  --faint: #8A8D92;
  --paper: #F4F1EA;
  --card: #FFFDF9;
  --line: #D8D0BE;
  --line-soft: #E8E2D6;
  --orange: #E8471C;
  --ember: #B9360F;
  --orange-tint: #FCE9E2;
  --green: #2F6B3E;
  --green-tint: #E3EFE3;
  --amber: #8A5A00;
  --amber-tint: #F8EDD3;
  --red: #A1281B;
  --red-tint: #F7E1DD;
  --blue: #234F7A;
  --blue-tint: #E1EAF3;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 4px 16px rgba(20,22,26,.05);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; font-family: var(--font-body); font-size: .9375rem; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--ember); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 .75rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
small, .small { font-size: .86rem; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.r { text-align: right; }
.warn-text { color: var(--amber); }
.error-text { color: var(--red); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.clamp-1, .clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-1 { -webkit-line-clamp: 1; } .clamp-2 { -webkit-line-clamp: 2; } .clamp-3 { -webkit-line-clamp: 3; }
.ico { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: -3px; }
.ico-sm { width: 15px; height: 15px; vertical-align: -2px; }
.ico-xs { width: 12px; height: 12px; vertical-align: -1px; }
.display { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 750; letter-spacing: -0.02em; }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.section-title { font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

/* ---------- Shell: sidebar layout for signed-in users ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--ink); color: #fff; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.side-top { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-mark { width: 46px; height: auto; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.25); white-space: nowrap; }
.side-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.side-nav { flex: 1; overflow-y: auto; padding: 8px 10px 16px; scrollbar-width: thin; scrollbar-color: #3A3E46 transparent; }
.side-label { font-size: .68rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 16px 10px 6px; }
.side-nav a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); text-decoration: none; padding: 7px 10px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; }
.side-nav a .ico { opacity: .75; }
.side-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.side-nav a.on { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 3px 0 0 var(--orange); }
.side-nav a.on .ico { opacity: 1; color: var(--orange); }
.side-nav .count, .top-nav .count { margin-left: auto; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.side-foot { padding: 12px 14px 16px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; }
.side-mtap { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; padding: 8px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); }
.side-mtap:hover { color: #fff; border-color: var(--orange); }
.side-user { display: grid; text-decoration: none; color: #fff; padding: 6px 10px; border-radius: var(--radius-sm); }
.side-user:hover, .side-user.on { background: rgba(255,255,255,.07); color: #fff; }
.side-user-name { font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-role { font-size: .76rem; color: rgba(255,255,255,.55); }
.side-signout { background: none; border: 0; color: rgba(255,255,255,.7); font: inherit; font-size: .84rem; cursor: pointer; padding: 4px 10px; text-align: left; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.side-signout:hover { color: #fff; }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-sm); padding: 6px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.shell-main { min-width: 0; display: flex; flex-direction: column; }
.shell-main main { flex: 1; width: 100%; }
.tabbar { display: none; }

/* ---------- Top bar (signed out) ---------- */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 22px; min-height: 60px; }
.top-nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.top-nav a { color: rgba(255,255,255,.78); text-decoration: none; padding: 8px 11px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; }
.top-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.top-nav a.on { color: #fff; background: rgba(255,255,255,.12); }
.top-actions { margin-left: auto; }

/* ---------- Layout ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 28px 28px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head > div:first-child { min-width: 0; flex: 1 1 320px; }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 66ch; }
.eyebrow { font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.eyebrow-light { color: #FF8A66; }
.crumbs { font-size: .86rem; margin: 0 0 10px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a::before { content: "← "; color: var(--orange); }
.grid { display: grid; gap: 18px; }
.grid.tight { gap: 0 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack > * + * { margin-top: 18px; }
.stack-sm > * + * { margin-top: 12px; }
.stack-sm > .field { margin-bottom: 0; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row-inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.narrow { max-width: 560px; }
.narrow-wide { max-width: 760px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; color: var(--faint); font-size: .78rem; padding: 18px 28px 28px; border-top: 1px solid var(--line-soft); max-width: 1180px; margin: 0 auto; width: 100%; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.card-pad { padding: 20px; }
.card-pad h3 { margin-bottom: 8px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.card-head > div:first-child { min-width: 0; flex: 1 1 200px; }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }
.card-body { padding: 18px 20px; }
.card-foot { padding: 12px 20px; border-top: 1px solid var(--line-soft); background: #FBF8F2; border-radius: 0 0 var(--radius) var(--radius); }
.role-card { border-top: 3px solid var(--orange); }
.role-card h3 { font-size: 1.1rem; }
.role-card .row { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; border-radius: 14px; padding: 34px 34px 30px; margin-bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(232,71,28,.2); pointer-events: none; }
.hero-text { position: relative; z-index: 1; min-width: 0; }
.hero h1 { color: #fff; }
.hero-tag { font-size: 1.08rem; color: rgba(255,255,255,.78); margin: 10px 0 0; max-width: 56ch; }
.hero-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: rgba(255,255,255,.88); }
.hero-facts li { display: flex; gap: 8px; align-items: baseline; }
.hero-facts .ico { color: var(--orange); align-self: center; }
.hero-facts a { color: #fff; }
.hero-sub { color: rgba(255,255,255,.6); }
.hero-side { position: relative; z-index: 1; max-width: 240px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 14px 16px; border-radius: var(--radius); }
.hero-side p { color: rgba(255,255,255,.75); margin-bottom: 10px; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.tile { display: grid; gap: 2px; align-content: start; padding: 16px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s var(--ease), border-color .18s; min-width: 0; }
.tile:hover { transform: translateY(-2px); border-color: var(--line); color: var(--ink); }
.tile > .ico { width: 22px; height: 22px; color: var(--orange); margin-bottom: 8px; }
.tile-title { font-family: var(--font-display); font-weight: 650; }
.tile-sub { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-accent { background: var(--orange); border-color: var(--orange); color: #fff; }
.tile-accent:hover { color: #fff; border-color: var(--ember); background: var(--ember); }
.tile-accent > .ico, .tile-accent .tile-sub { color: rgba(255,255,255,.9); }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.quick-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.quick-grid a:hover { border-color: var(--orange); }
.quick-grid .ico { color: var(--orange); }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); min-width: 0; }
.stat-n { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-l { font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); order: 2; }
.stat-n + .stat-l { order: 0; }
.stat .stat-l:first-child { order: 0; }
.stat-t { font-family: var(--font-display); font-weight: 650; font-size: 1rem; }
.stat form { margin-top: 6px; }
.stat a { font-size: .84rem; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; padding: 0 7px; height: 20px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .74rem; font-weight: 700; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 5px; }
legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 4px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; font-weight: 400; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 11px; min-height: 42px; transition: border-color .15s, box-shadow .15s;
}
input[readonly] { background: #FBF8F2; }
input:disabled, select:disabled { background: #F1EDE5; color: var(--muted); }
textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232,71,28,.18); }
input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
input[type=color] { width: 56px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.field { margin-bottom: 14px; min-width: 0; }
.req { color: var(--orange); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .92rem; cursor: pointer; margin: 0; }
.check input, .radio input, .choice input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--orange); flex-shrink: 0; }
.check > span { display: grid; gap: 1px; }
.check-label { font-weight: 600; }
.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .92rem; cursor: pointer; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice { display: inline-flex; gap: 8px; align-items: flex-start; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 500; font-size: .9rem; cursor: pointer; margin: 0; }
.choice:has(input:checked) { border-color: var(--orange); background: var(--orange-tint); }
.choice-block { display: flex; width: 100%; }
.choice-block > span { display: grid; gap: 2px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filters input[type=search] { flex: 1 1 220px; width: auto; }
.filters select, .filters input[type=date] { width: auto; flex: 0 1 auto; }
.copy-row { display: flex; gap: 8px; }
.copy-row input, .link-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.link-input { min-width: 260px; }
.upload-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.upload-inline input[type=file] { flex: 1 1 200px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-weight: 600; font-size: .92rem; border-radius: var(--radius-sm); border: 1px solid var(--ink); background: var(--card); color: var(--ink); padding: 9px 16px; min-height: 42px; cursor: pointer; text-decoration: none; transition: background .15s var(--ease), transform .15s var(--ease), border-color .15s; white-space: nowrap; }
.btn:hover { background: #F0EBE1; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: rgba(20,22,26,.06); }
.btn-danger { border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: var(--red-tint); color: var(--red); }
.btn-danger.btn-ghost { border-color: transparent; }
.btn-on-dark { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-on-dark:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn .count-pill { margin-left: 2px; }

/* ---------- Chips, badges, tags ---------- */
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .84rem; font-weight: 500; color: var(--ink-2); background: var(--card); white-space: nowrap; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on .muted { color: rgba(255,255,255,.7); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: #ECE7DD; color: var(--ink-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.b-green, .b-approved { background: var(--green-tint); color: var(--green); }
.b-amber, .b-submitted { background: var(--amber-tint); color: var(--amber); }
.b-red, .b-rejected { background: var(--red-tint); color: var(--red); }
.b-planned { background: var(--blue-tint); color: var(--blue); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-size: .76rem; font-weight: 600; background: #EFEAE0; color: var(--ink-2); white-space: nowrap; }
.tag-green { background: var(--green-tint); color: var(--green); }
.tag-orange { background: var(--orange-tint); color: var(--ember); }

/* ---------- Notes and flashes ---------- */
.flashes { margin-bottom: 18px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: .92rem; }
.flash-success { background: var(--green-tint); border-color: #BCD6BE; color: #1F4A2A; }
.flash-error { background: var(--red-tint); border-color: #E6B9B2; color: #7A1D13; }
.flash-info { background: #fff; border-color: var(--line); color: var(--ink); }
.note { background: var(--orange-tint); border-left: 3px solid var(--orange); padding: 11px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .9rem; margin-bottom: 16px; }
.stack > .note, .stack-sm > .note, .card-body > .note:last-child { margin-bottom: 0; }
.note ul { margin: 6px 0 0; padding-left: 18px; }
.note-info { background: var(--blue-tint); border-left-color: var(--blue); }
.note-success { background: var(--green-tint); border-left-color: var(--green); }
.note-warn { background: var(--amber-tint); border-left-color: #C98A12; }
.note-urgent { background: var(--red-tint); border-left-color: var(--red); }
.quote { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--line); background: #FBF8F2; color: var(--ink-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.empty p { max-width: 50ch; margin: 0 auto 12px; }
.card .empty { border: 0; background: none; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.list th { text-align: left; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FBF8F2; }
table.list td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr:hover td { background: #FBF8F2; }
table.list .r { text-align: right; }
table.list .w-check { width: 36px; padding-right: 0; }
table.list input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--orange); }
tr.is-inactive td { opacity: .6; }
tr.group-row td { background: #F6F1E7; font-weight: 650; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.cell-main { font-weight: 600; text-decoration: none; }
a.cell-main:hover { text-decoration: underline; }
.cell-sub { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.cell-with-logo { display: flex; gap: 10px; align-items: center; }
.mini-logo { width: 34px; height: 34px; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); flex-shrink: 0; font-size: .74rem; }
.audit-details { color: var(--muted); word-break: break-word; max-width: 520px; font-size: .76rem; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li + li { margin-top: 6px; }
.mail-log li { padding: 10px 20px; border-bottom: 1px solid var(--line-soft); margin: 0 !important; }
.mail-log li:last-child { border-bottom: 0; }
.email-preview { white-space: pre-wrap; font-family: var(--font-body); font-size: .84rem; background: #FBF8F2; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px; margin: 8px 0 0; max-height: 380px; overflow: auto; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: .9rem; }
dl.facts dt { color: var(--muted); font-size: .84rem; }
dl.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.monogram { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; flex-shrink: 0; letter-spacing: .02em; }
.date-tile { width: 46px; flex-shrink: 0; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 4px 0; line-height: 1.1; }
.date-tile .m { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.date-tile .d { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 10px 4px 4px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: #fff; font-size: .84rem; max-width: 100%; }
.file-ext { background: var(--ink); color: #fff; font-size: .66rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Rich text ---------- */
.rich p { margin: 0 0 .7rem; }
.rich ul, .rich ol { margin: 0 0 .7rem; padding-left: 20px; }
.rich li + li { margin-top: 3px; }
.rich h3, .rich h4 { margin: 1rem 0 .4rem; font-family: var(--font-display); }
.rich > :last-child { margin-bottom: 0; }

/* ---------- Schedule ---------- */
.day + .day { margin-top: 26px; }
.day-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.day-head h2 { font-size: 1.3rem; }
.sessions { display: grid; }
.card > .sessions .session { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; box-shadow: none; }
.card > .sessions .session:last-child { border-bottom: 0; border-radius: 0 0 var(--radius) var(--radius); }
.day .sessions { gap: 10px; }
.session { --k: var(--line); display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); position: relative; scroll-margin-top: 20px; }
.session::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--k); }
.session-time { display: grid; align-content: start; font-variant-numeric: tabular-nums; }
.t-start { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.t-end { font-size: .8rem; color: var(--muted); }
.session-body { min-width: 0; }
.session-body h3 { font-size: 1.04rem; margin: 4px 0 2px; }
.session-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kind-tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k-text, var(--muted)); }
.live-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 1px 8px; border-radius: 999px; }
.live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .live-tag::before { animation: none; } }
.session-loc { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .86rem; margin: 2px 0 0; }
.speakers { list-style: none; padding: 0; margin: 8px 0 0; font-size: .88rem; display: grid; gap: 2px; }
.format-note { display: flex; gap: 6px; align-items: flex-start; font-size: .84rem; color: var(--ink-2); background: #FBF8F2; border-radius: var(--radius-sm); padding: 7px 10px; margin: 10px 0 0; }
.format-note .ico { margin-top: 2px; color: var(--orange); }
.session .rich { margin-top: 8px; color: var(--ink-2); }
.session.is-live { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,71,28,.12); }
.k-keynote { --k: var(--orange); --k-text: var(--ember); }
.k-pitch { --k: #C2410C; --k-text: #9A3412; }
.k-panel, .k-fireside { --k: var(--blue); --k-text: var(--blue); }
.k-workshop { --k: #6B4FA0; --k-text: #5B3F90; }
.k-networking { --k: var(--green); --k-text: var(--green); }
.k-meal, .k-break { --k: #C9B98F; --k-text: #7A6A3F; }
.k-logistics, .k-other { --k: var(--faint); --k-text: var(--muted); }
.kind-tag.k-keynote, .kind-tag.k-pitch, .kind-tag.k-panel, .kind-tag.k-fireside, .kind-tag.k-workshop, .kind-tag.k-networking, .kind-tag.k-meal, .kind-tag.k-break, .kind-tag.k-logistics, .kind-tag.k-other { color: var(--k-text); }

/* ---------- Sponsors ---------- */
.tier + .tier { margin-top: 28px; }
.tier-head { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.tier-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.sponsor-grid-lg { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.sponsor-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s var(--ease), box-shadow .18s; min-width: 0; }
.sponsor-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,22,26,.1); color: var(--ink); }
.sponsor-logo { aspect-ratio: 16 / 7; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.sponsor-grid-lg .sponsor-logo { aspect-ratio: 16 / 6; }
.sponsor-logo img { max-height: 100%; max-width: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.sponsor-word { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-align: center; }
.sponsor-info { padding: 14px 16px 16px; display: grid; gap: 6px; }
.sponsor-info p { margin: 0; }
.sponsor-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.head-with-logo { display: flex; gap: 16px; align-items: center; min-width: 0; flex: 1 1 320px; }
.head-with-logo > div:last-child { min-width: 0; }
.head-logo { width: 76px; height: 76px; border-radius: 12px; background: #fff; border: 1px solid var(--line-soft); display: grid; place-items: center; padding: 8px; flex-shrink: 0; overflow: hidden; }
.head-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.monogram.head-logo { background: var(--ink); color: #fff; font-size: 1.4rem; border: 0; }
.ad-frame { background: #EDE8DE; border-radius: 0 0 var(--radius) var(--radius); padding: 18px; display: grid; place-items: center; }
.ad-frame img { max-height: 1100px; width: auto; max-width: 100%; box-shadow: 0 6px 24px rgba(20,22,26,.18); background: #fff; }
.ad-frame .pdf-frame { box-shadow: 0 6px 24px rgba(20,22,26,.18); }
.ad-thumb { width: 88px; height: 112px; object-fit: contain; border: 1px solid var(--line-soft); background: #fff; border-radius: 4px; }
.logo-preview { max-width: 220px; max-height: 90px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 8px; }
.logo-preview.sm { max-width: 120px; max-height: 54px; padding: 4px; }
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.logo-cell { aspect-ratio: 2 / 1; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 650; font-size: .86rem; text-align: center; }
.logo-cell img { max-height: 100%; max-width: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.connect-card { border-top: 3px solid var(--orange); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.contact-list li { display: flex; gap: 8px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.contact-list .ico { color: var(--orange); }

/* ---------- Documents and frames ---------- */
.pdf-frame { width: 100%; height: min(80vh, 860px); border: 0; display: block; background: #fff; }
.card > .pdf-frame { border-radius: 0 0 var(--radius) var(--radius); }
.plan-frame { background: #EDE8DE; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.plan-frame img { display: block; width: 100%; height: auto; }
.plan-frame a { display: block; }
.plan-admin { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.plan-admin:last-child { border-bottom: 0; }
.plan-thumb { width: 120px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: #fff; flex-shrink: 0; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.booth-list { list-style: none; margin: 0; padding: 0; }
.booth-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.booth-list li:last-child { border-bottom: 0; }
.booth-no { font-family: var(--font-display); font-weight: 650; color: var(--ember); white-space: nowrap; }
.doc-card .pdf-frame { height: min(72vh, 720px); }
.doc-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.doc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.doc-info { display: flex; gap: 10px; align-items: flex-start; min-width: 0; flex: 1 1 240px; }
.doc-info > .ico { color: var(--orange); margin-top: 2px; }
.doc-info .cell-sub { overflow-wrap: anywhere; }
.locked { text-align: center; display: grid; justify-items: center; gap: 4px; background: repeating-linear-gradient(-45deg, var(--card), var(--card) 10px, #FAF6EE 10px, #FAF6EE 20px); }
.locked-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }

/* ---------- Wi-Fi ---------- */
.wifi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; margin-bottom: 16px; }
.wifi-card { padding: 22px; display: grid; gap: 14px; align-content: start; }
.wifi-card:not(.wifi-backup) { background: var(--ink); color: #fff; border-color: var(--ink); }
.wifi-card:not(.wifi-backup) dt { color: rgba(255,255,255,.6); }
.wifi-card:not(.wifi-backup) .btn-ghost { color: #fff; }
.wifi-card:not(.wifi-backup) .btn-ghost:hover { background: rgba(255,255,255,.1); }
.wifi-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.wifi-ico .ico { width: 22px; height: 22px; }
.wifi-dl { margin: 0; display: grid; gap: 4px; }
.wifi-dl dt { font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.wifi-dl dd { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wifi-val { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; overflow-wrap: anywhere; }
.wifi-val.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.2rem; }

/* ---------- Event info ---------- */
.info-welcome { margin-bottom: 20px; font-size: 1rem; }
.info-cols { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
.info-cols > nav { position: sticky; top: 20px; }
.info-cols > nav a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); text-decoration: none; font-size: .9rem; color: var(--ink-2); }
.info-cols > nav a:hover { border-left-color: var(--orange); }
.info-group + .info-group { margin-top: 26px; }
.info-sec { scroll-margin-top: 20px; }
.info-sec + .info-sec { margin-top: 12px; }
.info-sec h3 { margin-bottom: 8px; font-size: 1.08rem; }
.mini-info h3 { font-size: .95rem; margin-bottom: 3px; }
.mini-info + .mini-info { padding-top: 12px; border-top: 1px solid var(--line-soft); }

/* ---------- Startups ---------- */
.startup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; margin-bottom: 18px; }
.startup-grid > .empty { grid-column: 1 / -1; }
.startup-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s var(--ease), box-shadow .18s; min-width: 0; }
.startup-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,22,26,.1); color: var(--ink); }
.startup-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.startup-top > div { min-width: 0; }
.startup-top p { margin: 2px 0 0; }
.startup-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); flex-shrink: 0; }
.monogram.startup-logo { border: 0; background: var(--ink); border-radius: 10px; }
.startup-tag { color: var(--ink-2); font-size: .9rem; margin: 0; flex: 1; }
.startup-foot { display: flex; gap: 6px; flex-wrap: wrap; }
.investor-list { list-style: none; margin: 0; padding: 0; }
.investor { display: flex; gap: 14px; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.investor:last-child { border-bottom: 0; }
.investor.is-declined { opacity: .6; }
.investor-main { display: flex; gap: 12px; min-width: 0; flex: 1; }
.investor-main > div { min-width: 0; }
.investor-bio { margin: 6px 0 0; }
.investor-side { display: grid; justify-items: end; align-content: start; gap: 6px; text-align: right; flex-shrink: 0; }

/* ---------- Help ---------- */
.inbox-list { list-style: none; margin: 0; padding: 0; }
.inbox-list > li { border-bottom: 1px solid var(--line-soft); }
.inbox-list > li:last-child { border-bottom: 0; }
.inbox-list a { display: flex; gap: 14px; justify-content: space-between; padding: 14px 20px; text-decoration: none; }
.inbox-list a:hover { background: #FBF8F2; color: var(--ink); }
.inbox-list li.is-urgent { box-shadow: inset 3px 0 0 var(--red); }
.inbox-side { display: grid; justify-items: end; gap: 4px; flex-shrink: 0; text-align: right; font-size: .8rem; color: var(--muted); }
.thread { display: grid; gap: 10px; }
.msg { padding: 12px 14px; border-radius: var(--radius); max-width: 88%; border: 1px solid var(--line-soft); }
.msg-me { background: #fff; justify-self: start; }
.msg-staff { background: var(--ink); color: #fff; justify-self: end; border-color: var(--ink); }
.msg-staff .msg-by { color: rgba(255,255,255,.6); }
.msg-by { font-size: .76rem; color: var(--muted); margin-bottom: 4px; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; }
.reply-form { display: grid; gap: 8px; margin-top: 12px; }
.reply-box { min-height: 70px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; margin-top: 1px; }
.checklist li.ok .dot { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px var(--card); }
.request-card + .request-card { margin-top: 10px; }
.request-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.request-row form select { width: auto; min-width: 180px; }
.role-key { margin-top: 20px; }

/* ---------- Auth ---------- */
body.auth-page main { max-width: 1040px; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: center; min-height: calc(100vh - 220px); padding: 20px 0; }
.auth-intro { min-width: 0; }
.auth-intro p { color: var(--muted); font-size: 1.02rem; max-width: 46ch; margin-top: 12px; }
.auth-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.auth-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.auth-points li .ico { color: var(--orange); margin-top: 2px; }
.auth-card { padding: 26px; }
.auth-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.auth-card > p { color: var(--muted); }
.auth-card form { margin-top: 18px; }
.error-page { text-align: center; padding: 70px 20px; max-width: 520px; margin: 0 auto; }
.error-page .display { color: var(--orange); }

/* ---------- Platform updates (from Service Hours) ---------- */
.releases tr.is-current td { background: #F6FAF5; }
.releases tr.is-current td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.release-actions { justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.pw-action > summary { list-style: none; display: inline-flex; }
.pw-action > summary::-webkit-details-marker { display: none; }
.pw-action[open] > summary { display: none; }
.pw-form { display: flex; gap: 6px; align-items: center; }
.pw-form input { width: 150px; padding: 6px 10px; font-size: .85rem; min-height: 34px; }
ol.steps { padding-left: 18px; margin: 8px 0 12px; }
ol.steps li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stat-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .split, .info-cols, .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .info-cols > nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .info-cols > nav a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .84rem; }
  .auth-wrap { min-height: 0; gap: 20px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shell { display: block; }
  .sidebar { position: sticky; top: 0; height: auto; z-index: 30; overflow: visible; }
  .side-top { padding: 10px 16px; border-bottom: 0; min-height: 56px; }
  .menu-toggle { display: inline-flex; }
  .side-body { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); max-height: calc(100vh - 56px); overflow-y: auto; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 30px rgba(0,0,0,.25); }
  .sidebar.open .side-body { display: flex; }
  .side-nav { overflow: visible; }
  main { padding: 20px 16px 96px; }
  .footer { padding: 16px 16px 90px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; background: var(--card); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; text-decoration: none; font-size: .68rem; font-weight: 600; color: var(--muted); border-radius: var(--radius-sm); }
  .tabbar a .ico { width: 20px; height: 20px; }
  .tabbar a.on { color: var(--ember); }
  .topbar-inner { flex-wrap: wrap; gap: 4px 12px; padding: 8px 16px; }
  .top-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; margin: 0 -6px; }
  .top-nav a { white-space: nowrap; padding: 6px 8px; font-size: .86rem; }
  .no-shell main { padding-bottom: 48px; }
  .no-shell .footer { padding-bottom: 28px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .hero { grid-template-columns: 1fr; padding: 24px 20px; }
  .hero-side { max-width: none; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row > .stat:nth-child(3):last-child { grid-column: 1 / -1; }
  .stat-n { font-size: 1.55rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 14px; }
  .session { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .session-time { display: flex; gap: 6px; align-items: baseline; }
  .t-end::before { content: "– "; }
  .card-head, .card-body { padding-left: 16px; padding-right: 16px; }
  .card-pad { padding: 16px; }
  .investor, .inbox-list a { flex-direction: column; }
  .investor-side, .inbox-side { justify-items: start; text-align: left; }
  .msg { max-width: 100%; }
  .head-logo { width: 56px; height: 56px; }
  .page-head > .btn, .page-head > .row { width: 100%; }
  .page-head > .btn { justify-content: center; }
  .filters input[type=search] { flex-basis: 100%; }
  .filters select { flex: 1 1 auto; }
  .copy-row { flex-direction: column; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 8px; }
  .sponsor-grid, .sponsor-grid-lg, .startup-grid { grid-template-columns: 1fr; }
  .plan-admin { flex-direction: column; align-items: stretch; }
  /* Tables become stacked cards */
  table.stackable thead { display: none; }
  table.stackable, table.stackable tbody, table.stackable tr, table.stackable td { display: block; width: 100%; }
  table.stackable tr { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); position: relative; }
  table.stackable tr:last-child { border-bottom: 0; }
  table.stackable td { border: 0; padding: 2px 0; }
  table.stackable td[data-label]::before { content: attr(data-label) ": "; font-size: .72rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  table.stackable td.r { text-align: left; padding-top: 8px; }
  table.stackable td.w-check { position: absolute; right: 12px; top: 12px; width: auto; }
  table.stackable tr.group-row { padding: 8px 16px; background: #F6F1E7; }
  table.stackable tr.group-row td { background: none; }
  table.list tbody tr:hover td { background: none; }
  .wifi-val { font-size: 1.2rem; }
}
@media print {
  .sidebar, .tabbar, .footer, .topbar, .btn { display: none !important; }
  .shell { display: block; }
  body { background: #fff; }
}
