/* Layout: after-dark campus. 1200px container, lime corner brackets frame each band, one lime feature per row. Dark-only by design. */
:root {
  color-scheme: dark;
  --ground: #0C0D10; --surface-card: #16181C; --surface-sunken: #111215; --surface-raised: #1D2025;
  --line: #2B2E35; --lime: #C2F01E; --lime-tint: #2A2F1A; --on-lime: #0C0D10;
  /* DAAT brand: royal blue #0050D0 for fills, a lifted blue for text on near-black, navy from the logo */
  --blue: #5A93FF; --blue-deep: #0050D0; --blue-tint: #0E1A33; --on-blue-deep: #FFFFFF; --navy: #0B1E3B;
  --ink: #F3F4F5; --ink-muted: #A6ABB3; --ink-faint: #6E737C; --logo-ground: #FFFFFF; --logo-ink: #1A1C20;
  --ok: #7FD99A; --warn: #F2C14E; --bad: #F08A7E;
  --overlay: rgba(12,13,16,0.82);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 96px;
  --radius-sm: 8px; --radius-md: 14px; --radius-pill: 999px;
  --corner-w: 96px; --corner-h: 86px; --container: 1200px; --badge: 40px;
  --font-display: "Unbounded", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.reserve { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.reserve .invite { justify-self: end; }
@media (max-width: 900px) { .reserve { grid-template-columns: minmax(0, 1fr); } .reserve .invite { justify-self: center; } }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.back:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--lime); }
.brandmark { display: inline-flex; align-items: center; }
.brandmark img { height: 34px; width: auto; display: block; }
.brandmark--inline img { height: 40px; }
.week .brandmark--inline img { height: 30px; }
footer .brandmark--inline img { height: 30px; }
.brandmark-lg { width: min(240px, 100%); height: auto; display: block; }
/* language: Thai faces when lang="th"; the program name stays in Unbounded */
:root { --font-display-en: "Unbounded", "Plus Jakarta Sans", system-ui, sans-serif; }
html[lang="th"] { --font-display: "Prompt", "Unbounded", system-ui, sans-serif; --font-sans: "IBM Plex Sans Thai", "Plus Jakarta Sans", system-ui, sans-serif; }
.hero h1, .inv-b { font-family: var(--font-display-en); }
html[lang="th"] .section-title { line-height: 1.3; }
html[lang="th"] .seats { line-height: 1.1; }
html[lang="th"] .card-title, html[lang="th"] .date, html[lang="th"] .tagline, html[lang="th"] .quote { line-height: 1.45; }
html[lang="th"] .eyebrow, html[lang="th"] .card-label { letter-spacing: .02em; }
html[lang="th"] .lead, html[lang="th"] p { line-height: 1.7; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-card); }
.lang-btn { background: transparent; border: 0; color: var(--ink-muted); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-pill); cursor: pointer; font-family: "IBM Plex Sans Thai", "Plus Jakarta Sans", system-ui, sans-serif; }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.tagline-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.meta-row { column-gap: 20px; }
#applyPage section.band { min-height: calc(100vh - 140px); padding-block: 64px 96px; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; margin: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ground); }
a { color: var(--lime); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--container); margin: 0 auto; padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
@media (max-width: 700px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.hl { color: var(--lime); }
.hlb { color: var(--blue); }



/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(12,13,16,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: var(--space-5); padding-block: 12px; }
.nav { display: flex; gap: var(--space-5); flex: 1; justify-content: center; flex-wrap: wrap; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--blue); }
.head-actions { display: flex; gap: var(--space-3); align-items: center; }
@media (max-width: 960px) { .nav { display: none; } .site-head .wrap { justify-content: space-between; } }

.pill { display: inline-flex; align-items: center; background: var(--logo-ground); color: var(--logo-ink); border-radius: var(--radius-sm); height: 40px; padding: 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; text-decoration: none; }
.pill--lg { height: 56px; padding: 0 20px; font-size: 19px; }
.lockup { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.x { color: var(--lime); font-family: var(--font-display); font-weight: 700; }

/* type */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.12; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-muted); max-width: 62ch; }
.fine { font-size: 12px; color: var(--ink-faint); line-height: 1.4; }
.muted { color: var(--ink-muted); }
@media (max-width: 700px) { .section-title { font-size: 30px; } .lead { font-size: 17px; } }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 56px; padding: 0 var(--space-6); border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; border: 2px solid var(--lime); background: var(--lime); color: var(--on-lime); }
.btn--ghost { background: transparent; color: var(--lime); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: progress; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform .15s ease; } .btn:hover { transform: translateY(-1px); } }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--lime); color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.chip--muted { border-color: var(--line); color: var(--ink-muted); }

/* sections */
section.band { position: relative; padding-block: var(--space-8); }
.corner { position: absolute; width: var(--corner-w); height: var(--corner-h); background: var(--lime); pointer-events: none; }
.corner--tl { top: 0; left: 0; clip-path: polygon(0 0, 100% 0, 100% 37.6%, 44.2% 100%, 0 100%); }
.corner--br { right: 0; bottom: 0; clip-path: polygon(100% 100%, 0 100%, 0 62.4%, 55.8% 0, 100% 0); }
@media (max-width: 700px) { .corner { width: 64px; height: 58px; } section.band { padding-block: 72px; } }
.head-block { display: grid; gap: var(--space-3); margin-bottom: var(--space-7); }
.sunken { background: var(--surface-sunken); border-block: 1px solid var(--line); }

.card { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); min-width: 0; }
.card--feature { background: var(--lime-tint); border: 1.5px solid var(--lime); }
.card--lime { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.card--lime .muted, .card--lime .card-label { color: var(--on-lime); }
.card-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; }
.card p { font-size: 15px; }
.grid { display: grid; gap: var(--space-4); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .g5, .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g5, .g4, .g3, .g2 { grid-template-columns: minmax(0, 1fr); } }
.badge { width: var(--badge); height: var(--badge); flex: none; border-radius: var(--radius-pill); background: var(--lime); color: var(--on-lime); font-family: var(--font-display); font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.badge--outline { background: transparent; color: var(--lime); border: 1.5px solid var(--lime); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; padding-block: 88px 80px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: .98; letter-spacing: -.01em; }
.hero-copy { display: grid; gap: var(--space-5); justify-items: start; }
.tagline { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.meta-row { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; font-weight: 700; font-size: 14px; letter-spacing: .05em; }
.hero-art { position: relative; aspect-ratio: 1140 / 1125; width: 100%; max-width: 560px; justify-self: end; }
.hero-art::before { content: ""; position: absolute; inset: 8% 4% 4% 14%; background: radial-gradient(closest-side, rgba(91,149,255,.45), rgba(31,79,214,.12) 60%, transparent); filter: blur(30px); z-index: 0; }
.hero-art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0,1fr); padding-block: 72px 56px; } .hero-art { justify-self: center; max-width: 380px; order: -1; } .hero h1 { font-size: 44px; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--lime); }
.stat-label { margin-top: var(--space-3); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-num { font-size: 48px; } }

/* who */
.who { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-7); }
.aud { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.aud .ic { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; font-size: 18px; }
.ind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ind .tile { aspect-ratio: 1 / .86; border-radius: var(--radius-md); background: var(--surface-card); border: 1px solid var(--line); padding: var(--space-4); display: flex; flex-direction: column; justify-content: space-between; font-size: 14px; font-weight: 700; line-height: 1.3; min-width: 0; }
.ind .tile svg { font-size: 22px; }
.ind .tile--lime { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
@media (max-width: 900px) { .who { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 600px) { .ind .tile { font-size: 12px; padding: 10px; } .ind .tile svg { font-size: 18px; } }

/* team */
.portrait { aspect-ratio: 3 / 4; border-radius: var(--radius-md); background: var(--surface-raised); border: 3px solid var(--line); overflow: hidden; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.portrait--lead { border-color: var(--lime); }
.venue { aspect-ratio: 960 / 1125; max-width: 100%; border-radius: var(--radius-sm); overflow: hidden; margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) 0; border-bottom: 3px solid var(--blue); }
.venue img { width: 100%; height: 100%; object-fit: cover; display: block; }
.invite { position: relative; max-width: 420px; width: 100%; aspect-ratio: 1120 / 1500; border-radius: var(--radius-md); overflow: hidden; }
.invite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.invite .inv-text { position: absolute; left: 0; right: 0; top: 43%; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 0 22%; }
.invite .inv-a { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.invite .inv-b { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 3.4vw, 24px); line-height: 1.15; }
.invite .inv-c { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-muted); }
.person { display: grid; gap: var(--space-3); }
.person .name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; }

/* journey */
.rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-4); position: relative; }
.rail::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 1.5px; background: var(--line); }
.rail .badge { position: relative; }
@media (max-width: 900px) { .rail { display: none; } }
.week { display: grid; gap: var(--space-3); align-content: start; }
.week .date { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.week .host .pill { height: 32px; font-size: 13px; padding: 0 10px; }
.week .card-label { color: var(--blue); }
.card--feature.week .card-label { color: var(--lime); }
.week dl { margin: 0; display: grid; gap: var(--space-2); font-size: 14px; }
.week dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.card--feature.week dt { color: var(--ink-muted); }
.week dd { margin: 0; }

/* tuesday */
.time { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checklist .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-deep); color: var(--on-blue-deep); display: grid; place-items: center; flex: none; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* agenda */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.sched { display: grid; }
.sched-row { display: grid; grid-template-columns: 64px 20px minmax(0, 1fr); column-gap: var(--space-3); padding-inline: var(--space-2); }
.sched-row .t { font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; padding: 10px 0; }
.sched-row .dot { position: relative; }
.sched-row .dot::before { content: ""; position: absolute; left: 6px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-muted); }
.sched-row .b { padding: 10px 0; }
.sched-row .ti { font-weight: 700; }
.sched-row .who2 { font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
.sched-row--hl { background: var(--lime-tint); outline: 1.5px solid var(--lime); border-radius: var(--radius-sm); margin-block: 4px; }
.sched-row--hl .t, .sched-row--hl .ti { color: var(--lime); }
.sched-row--hl .dot::before { background: var(--lime); }

/* platforms */
.plat { display: grid; gap: var(--space-4); align-content: start; }
.plat ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; color: var(--ink-muted); }
.plat .sub { color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.35; }
.mini { border-top: 1px solid var(--line); padding-top: var(--space-3); font-size: 14px; display: grid; gap: 4px; }

/* capstone */
.bars { display: grid; gap: var(--space-4); }
.bar-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.bar { height: 10px; background: var(--surface-raised); border-radius: var(--radius-pill); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--blue); border-radius: var(--radius-pill); }
.bar span.top { background: var(--lime); }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.path li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start; font-size: 15px; }
.path .badge { width: auto; min-width: 40px; padding: 0 10px; font-size: 12px; height: 32px; }

/* apply */
.apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .apply { grid-template-columns: minmax(0, 1fr); } }
.seats { font-family: var(--font-display); font-weight: 700; font-size: 104px; line-height: .95; }
@media (max-width: 700px) { .seats { font-size: 64px; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.contact-line { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; font-weight: 700; }
.copy { background: transparent; border: 1px solid var(--line); color: var(--ink-muted); border-radius: var(--radius-pill); padding: 4px 12px; font: inherit; font-size: 12px; cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink-muted); }
form { display: grid; gap: var(--space-4); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 600px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
label .opt { font-weight: 400; color: var(--ink-faint); }
input, select, textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime); outline-offset: 0; border-color: transparent; }
textarea { min-height: 112px; resize: vertical; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 14px; color: var(--ink-muted); font-weight: 400; letter-spacing: 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--lime); }
.msg { font-size: 14px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-sunken); }
.msg--err { border-color: var(--bad); color: var(--bad); }
.received { display: grid; gap: var(--space-4); }
.received .big { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; }
.summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px var(--space-4); font-size: 14px; }
.summary dt { color: var(--ink-faint); }
.summary dd { margin: 0; overflow-wrap: anywhere; }

.thai { font-size: 15px; color: var(--ink-muted); line-height: 1.6; }

footer { border-top: 1px solid var(--line); padding-block: var(--space-6); }
footer .wrap { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; align-items: center; }

/* dashboard */
#dashboard { padding-block: 56px 96px; }
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile-num { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.tile-lbl { font-size: 13px; color: var(--ink-muted); margin-top: var(--space-2); }
.seatbar { height: 8px; background: var(--surface-raised); border-radius: var(--radius-pill); margin-top: var(--space-3); overflow: hidden; }
.seatbar span { display: block; height: 100%; background: var(--on-lime); }
.toolbar { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--space-4); }
.toolbar input { max-width: 300px; }
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; flex: 1; }
.fbtn { background: transparent; border: 1px solid var(--line); color: var(--ink-muted); border-radius: var(--radius-pill); padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fbtn[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td .nm { font-weight: 700; }
td .sub2 { color: var(--ink-muted); font-size: 13px; }
td select, td input { padding: 6px 10px; font-size: 13px; }
td .motive { margin-top: 6px; color: var(--ink-muted); font-size: 13px; max-width: 40ch; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.s-new { color: var(--lime); } .s-contacted { color: var(--blue); } .s-shortlisted { color: var(--ink); } .s-accepted { color: var(--ok); } .s-declined { color: var(--bad); }
.empty { padding: var(--space-7) var(--space-5); text-align: center; color: var(--ink-muted); display: grid; gap: var(--space-3); justify-items: center; }
.saved { font-size: 11px; color: var(--ok); margin-left: 6px; }
@media (prefers-reduced-motion: no-preference) { .fade { animation: up .5s ease both; } @keyframes up { from { transform: translateY(8px); } to { transform: none; } } }
/* blue accent layer */
.card--blue { background: var(--blue-tint); border: 1.5px solid var(--blue); }
.card--blue .card-label { color: var(--blue); }
.card--bluefill { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--on-blue-deep); }
.card--bluefill .muted, .card--bluefill .card-label { color: var(--on-blue-deep); }
.badge--blue { background: var(--blue-deep); color: var(--on-blue-deep); }
.chip--blue { border-color: var(--blue); color: var(--blue); }
.label-blue { color: var(--blue) !important; }
.corner--blue { background: var(--blue); }
.photo-band { position: relative; isolation: isolate; }
.photo-band > .bgimg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay); }
.logo { height: 24px; width: auto; display: block; }
.pill--lg .logo { height: 34px; }
.pill--sm { height: 32px; padding: 0 10px; }
.pill--sm .logo { height: 18px; }
/* brand shapes: blue quarter-circle corner, arch portraits, brackets, blue band */
.corner--blue { background: var(--blue-deep); clip-path: none; border-top-left-radius: 100%; }
.portrait { border-radius: 50% 50% var(--radius-md) var(--radius-md) / 36% 36% var(--radius-md) var(--radius-md); }
.portrait--lead { border-color: var(--lime); }
.brand-band { background: var(--blue-deep); color: var(--on-blue-deep); position: relative; overflow: hidden; padding-block: 80px; }
.brand-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: var(--lime); border-bottom-left-radius: 100%; }
.brand-band::after { content: ""; position: absolute; left: -90px; bottom: -90px; width: 260px; height: 260px; background: var(--navy); border-top-right-radius: 100%; }
.brand-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
@media (max-width: 900px) { .brand-band .wrap { grid-template-columns: minmax(0, 1fr); } .brand-band::before { width: 120px; height: 120px; right: -30px; top: -30px; } }
.quote { font-family: var(--font-sans); font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; font-weight: 700; position: relative; padding-top: 44px; }
.quote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 1; color: var(--lime); }
.bracket { position: relative; padding: 14px 28px; display: grid; gap: 4px; }
.bracket::before, .bracket::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14px; border: 8px solid var(--lime); }
.bracket::before { left: 0; border-right: 0; }
.bracket::after { right: 0; border-left: 0; }
.bracket .who { font-family: var(--font-sans); font-weight: 700; font-size: 20px; }
.bracket .role { font-size: 14px; opacity: .9; }
.brand-line { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--blue); }
.thai { font-family: var(--font-sans); }
.thai-hero { font-family: var(--font-sans); font-weight: 700; font-size: 20px; color: var(--ink); }
.thai-hero .hl { color: var(--lime); }
.ind .tile.card--bluefill { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--on-blue-deep); }
.venue { border-radius: var(--radius-md) var(--radius-md) 0 0; }
/* web build additions */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.auth { min-height: calc(100vh - 140px); display: grid; place-items: center; padding-block: 64px 96px; }
.auth .card { width: min(440px, 100%); padding: var(--space-6); display: grid; gap: var(--space-5); }
.auth form { display: grid; gap: var(--space-4); }
.who-chip { font-size: 13px; color: var(--ink-muted); }


/* ---------- language switch, bare logo ---------- */
.brand-logo { display: inline-flex; align-items: center; }
.logo--bare { height: 34px; width: auto; display: block; }
footer .logo--bare { height: 28px; }

/* ---------- admin tabs ---------- */
.tabs { display: flex; gap: var(--space-2); border-bottom: 1px solid var(--line); margin-bottom: var(--space-5); overflow-x: auto; }
.tab { background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--ink-muted); font: inherit; font-weight: 700; padding: 12px 16px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--lime); }
.tab:hover { color: var(--ink); }

/* ---------- pipeline board ---------- */
.board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: var(--space-4); overflow-x: auto; padding-bottom: var(--space-3); align-items: start; }
.col { background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3); display: grid; gap: var(--space-3); min-height: 200px; align-content: start; transition: border-color .15s, background .15s; }
.col.is-over { border-color: var(--lime); background: var(--lime-tint); }
.col-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 0; }
.col-count { font-family: var(--font-display); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.col-seats { font-size: 13px; color: var(--ink-muted); padding: 0 4px; }
.col-accepted .seatbar span { background: var(--ok); }
.col-cards { display: grid; gap: var(--space-3); }
.col-empty { padding: var(--space-4) 4px; text-align: center; }
.pcard { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3); display: grid; gap: 4px; cursor: grab; }
.pcard.is-dragging { opacity: .45; }
.pcard-name { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.pcard-name:hover { color: var(--lime); text-decoration: underline; }
.pcard-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-top: 6px; flex-wrap: wrap; }
.pcard-foot select { width: auto; padding: 4px 8px; font-size: 12px; }

/* ---------- contacts ---------- */
.contacts { display: grid; gap: var(--space-3); }
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto minmax(0, 1.2fr) auto; gap: var(--space-4); align-items: start; background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); } }
.c-who, .c-reach, .c-note { display: grid; gap: 4px; min-width: 0; }
.c-note p { font-size: 14px; overflow-wrap: anywhere; }
.cline { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.cline a { color: var(--ink); overflow-wrap: anywhere; }
.cline svg { color: var(--ink-faint); width: 14px; flex: none; }
.cline .copy { flex: none; }

/* ---------- detail drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--surface-card); border-left: 1px solid var(--line); z-index: 90; display: grid; grid-template-rows: auto 1fr; box-shadow: -12px 0 40px rgba(0,0,0,.4); }
.drawer-head { display: flex; justify-content: space-between; align-items: start; gap: var(--space-4); padding: var(--space-5); border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: var(--space-5); display: grid; gap: var(--space-5); align-content: start; }
.drawer .summary dd a { color: var(--ink); }
body.drawer-open { overflow: hidden; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); border-left: 2px solid var(--line); }
.history li { padding-left: var(--space-4); position: relative; display: grid; gap: 2px; font-size: 14px; }
.history li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
