:root {
  --ink: #172331;
  --muted: #718090;
  --paper: #f6f7f4;
  --line: #dfe5e3;
  --navy: #172f43;
  --navy-2: #25485a;
  --yellow: #f5c84c;
  --coral: #ee806d;
  --mint: #76c6b0;
  --lilac: #b9a4d9;
  --white: #ffffff;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 80% -20%, #e5f0eb 0, transparent 35%), var(--paper); }
.topbar { height: 82px; padding: 0 5.5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23,35,49,.08); }
.brand-lockup, .topbar-actions, .panel-heading > div, .board-heading > div { display: flex; align-items: center; }
.brand-mark { width: 34px; height: 34px; margin-right: 12px; display: grid; place-items: center; color: var(--yellow); background: var(--navy); border-radius: 10px; font-family: "Space Grotesk"; font-weight: 700; }
.eyebrow, .kicker, .formula-label, .section-index { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.brand-lockup h1 { margin: 3px 0 0; font: 700 18px "Space Grotesk"; letter-spacing: -.04em; }
.topbar-actions { gap: 18px; }
.save-state { color: var(--muted); font-size: 12px; }
.status-dot, .live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #57b991; box-shadow: 0 0 0 3px #dbf1e7; }
.button { border: 0; border-radius: 7px; padding: 11px 16px; color: var(--ink); font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button-quiet { padding: 8px 10px; color: var(--muted); background: transparent; }
.button-primary { color: var(--navy); background: var(--yellow); }
.button-primary span { font-size: 18px; vertical-align: -1px; margin-right: 5px; }
.button-secondary { color: var(--navy); background: #e9efed; }
main { max-width: 1240px; margin: auto; padding: 72px 5.5vw 52px; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 8vw; margin-bottom: 72px; }
.kicker { color: var(--coral); margin-bottom: 16px; }
.intro-grid h2 { max-width: 570px; margin: 0; color: var(--navy); font: 600 clamp(44px, 6vw, 78px)/.98 "Space Grotesk"; letter-spacing: -.07em; }
.intro-grid h2 em { color: var(--coral); font-style: normal; }
.intro-copy { max-width: 450px; margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.formula-card { padding: 26px 28px; color: var(--white); background: var(--navy); border-radius: 13px; box-shadow: 14px 16px 0 rgba(118,198,176,.24); }
.formula-label { color: var(--yellow); }
.formula { margin: 20px 0 23px; font: 600 clamp(22px, 3vw, 34px) "Space Grotesk"; letter-spacing: -.05em; }
.formula b { color: var(--coral); margin: 0 5px; }
.formula-legend { display: flex; flex-wrap: wrap; gap: 12px 16px; color: #c4d0d5; font-size: 11px; }
.swatch { width: 8px; height: 8px; display: inline-block; margin-right: 5px; border-radius: 2px; background: var(--yellow); }
.swatch.coral { background: var(--coral); } .swatch.mint { background: var(--mint); } .swatch.lilac { background: var(--lilac); }
.workspace-grid { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.side-panel, .board-panel { border-top: 1px solid var(--ink); }
.side-panel { padding-top: 20px; }
.board-panel { min-width: 0; padding-top: 20px; }
.panel-heading, .board-heading { display: flex; justify-content: space-between; align-items: start; }
.panel-heading h3, .board-heading h3 { margin: 5px 0 0 14px; font: 600 21px "Space Grotesk"; letter-spacing: -.05em; }
.section-index { color: var(--coral); }
.count-badge { min-width: 24px; padding: 4px 7px; text-align: center; color: var(--navy); background: #e4ebe8; border-radius: 20px; font-size: 11px; font-weight: 700; }
.panel-hint { margin: 18px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.inline-form { display: flex; margin-bottom: 18px; }
.inline-form input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 7px 0 0 7px; padding: 11px; outline: 0; background: var(--white); font-size: 12px; }
.inline-form input:focus { border-color: var(--mint); }
.icon-button { width: 39px; border: 0; border-radius: 0 7px 7px 0; color: var(--navy); background: var(--mint); font-size: 22px; }
.participant-list { display: grid; gap: 7px; }
.participant-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 9px; border-bottom: 1px solid var(--line); font-size: 12px; }
.avatar { width: 25px; height: 25px; margin-right: 8px; display: inline-grid; place-items: center; color: var(--navy); background: #e6dff1; border-radius: 50%; font-size: 10px; font-weight: 700; }
.remove-button { border: 0; color: #a8b1b4; background: transparent; font-size: 16px; }
.panel-footer { margin-top: 40px; color: var(--muted); font-size: 11px; }
.board-meta { display: flex; justify-content: space-between; align-items: center; margin: 17px 0 13px; color: var(--muted); font-size: 11px; }
.legend-note b { margin: 0 5px; color: var(--coral); }
.requests-list { display: grid; gap: 11px; }
.request-card { padding: 18px 20px 19px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 3px 0 rgba(23,35,49,.025); }
.request-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.request-number { margin-right: 10px; color: var(--coral); font: 600 13px "Space Grotesk"; }
.request-title { width: min(100%, 400px); border: 0; border-bottom: 1px solid transparent; padding: 0; outline: 0; color: var(--navy); background: transparent; font: 600 16px "Space Grotesk"; }
.request-title:focus { border-bottom-color: var(--mint); }
.request-subtitle { margin: 7px 0 0 27px; color: var(--muted); font-size: 11px; }
.score-summary { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.score-value { color: var(--navy); font: 700 27px "Space Grotesk"; letter-spacing: -.07em; }
.score-value small { display: block; margin-top: -3px; color: var(--muted); font: 600 8px "DM Sans"; letter-spacing: .1em; text-align: right; }
.rank-pill { min-width: 28px; padding: 6px 7px; border-radius: 6px; color: var(--navy); background: #f5edc9; font: 700 11px "Space Grotesk"; text-align: center; }
.delete-request { border: 0; color: #a8b1b4; background: transparent; font-size: 16px; }
.criteria-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 19px; }
.criterion { min-width: 0; padding: 10px 11px; border-radius: 7px; background: #f2f5f3; }
.criterion:nth-child(1) { border-top: 3px solid var(--yellow); } .criterion:nth-child(2) { border-top: 3px solid var(--coral); } .criterion:nth-child(3) { border-top: 3px solid var(--mint); } .criterion:nth-child(4) { border-top: 3px solid var(--lilac); }
.criterion-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.criterion-average { color: var(--navy); font: 700 15px "Space Grotesk"; }
.score-inputs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.score-input { width: 27px; height: 25px; border: 1px solid #dbe2df; border-radius: 4px; color: var(--navy); background: var(--white); font-size: 10px; font-weight: 700; text-align: center; }
.score-input:focus, .score-input.selected { border-color: var(--navy); outline: 2px solid rgba(37,72,90,.12); }
.score-input::placeholder { color: #adb8ba; }
.empty-state { display: grid; place-items: center; padding: 65px 20px; border: 1px dashed #cdd8d4; border-radius: 10px; text-align: center; }
.empty-icon { width: 41px; height: 41px; display: grid; place-items: center; margin-bottom: 14px; color: var(--navy); background: #e0eee9; border-radius: 50%; font-size: 21px; }
.empty-state h4 { margin: 0; color: var(--navy); font: 600 17px "Space Grotesk"; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); font-size: 12px; }
.footer-note { max-width: 1240px; margin: 0 auto; padding: 22px 5.5vw 35px; display: flex; justify-content: space-between; color: #9aa5a7; font-size: 10px; letter-spacing: .04em; }
.toast { position: fixed; right: 22px; bottom: 22px; padding: 12px 16px; color: var(--white); background: var(--navy); border-radius: 7px; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; font-size: 12px; }
.toast.show { opacity: 1; transform: translateY(0); }
.session-entry { max-width: 560px; margin: 0 auto 72px; }
.entry-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 10px 10px 0 rgba(118,198,176,.17); }
.entry-card h3 { margin: 12px 0 8px; color: var(--navy); font: 600 28px "Space Grotesk"; letter-spacing: -.05em; }
.entry-card p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.entry-card form { display: grid; gap: 14px; }
.entry-card label, .work-topic label { display: grid; gap: 7px; color: var(--navy); font-size: 11px; font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; }
.entry-card input, .work-topic input { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px; outline: 0; color: var(--ink); background: #fbfcfb; font-size: 13px; }
.entry-card input:focus, .work-topic input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(118,198,176,.14); }
.entry-card .button { margin-top: 7px; justify-self: start; }
.entry-card .button span { margin-left: 8px; font-size: 18px; }
.share-box { display: grid; gap: 6px; margin: 22px 0; padding: 14px; border-radius: 8px; background: #eef5f1; }
.share-box span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.share-box strong { color: var(--navy); font: 700 19px "Space Grotesk"; letter-spacing: .08em; }
.share-box .button { justify-self: start; padding: 7px 10px; font-size: 11px; }
.participant-state { font-size: 10px; font-weight: 700; }
.participant-state.done { color: #4a9b7e; }.participant-state.waiting { color: var(--muted); }
.work-topic { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; margin: 24px 0 20px; }
.work-topic > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 12px; }
.step { min-height: 42px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: #f1f5f3; font-size: 9px; font-weight: 700; text-align: left; }
.step.active { border-color: var(--navy); color: var(--white); background: var(--navy); }.step.done:not(.active) { color: var(--navy); border-color: var(--mint); }
.score-stage { padding: 25px; border-radius: 10px; color: var(--white); background: var(--navy); }
.criterion-kicker { color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.score-stage .criterion-kicker { color: var(--yellow); }.score-stage h4, .results-heading h4 { margin: 9px 0 5px; font: 600 23px "Space Grotesk"; letter-spacing: -.05em; }.score-stage p { max-width: 560px; margin: 0; color: #bdcbd0; font-size: 12px; line-height: 1.5; }
.score-options { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 22px; }.score-option { min-height: 68px; padding: 8px 4px; border: 1px solid #456071; border-radius: 6px; color: #dbe5e5; background: #234153; }.score-option:hover, .score-option.selected { border-color: var(--yellow); color: var(--navy); background: var(--yellow); }.score-option strong { display: block; font: 700 20px "Space Grotesk"; }.score-option span { display: block; margin-top: 3px; font-size: 9px; }
.results-panel { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }.results-heading { display: flex; justify-content: space-between; align-items: start; }.results-heading > strong { color: var(--navy); font: 700 30px "Space Grotesk"; }.results-heading small { display: block; color: var(--muted); font: 600 8px "DM Sans"; letter-spacing: .1em; text-align: right; }.average-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 19px 0; }.average-grid div { padding: 10px; border-radius: 6px; background: #f1f5f3; }.average-grid span { display: block; color: var(--muted); font-size: 9px; }.average-grid strong { display: block; margin-top: 5px; color: var(--navy); font: 700 19px "Space Grotesk"; }.vote-table { border-top: 1px solid var(--line); }.vote-table div { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }.vote-table strong { color: var(--navy); text-align: center; }.results-empty { color: var(--muted); font-size: 12px; }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; gap: 35px; margin-bottom: 50px; } .workspace-grid { grid-template-columns: 1fr; gap: 46px; } .side-panel { order: 2; } .board-panel { order: 1; } .panel-footer { margin-top: 24px; } }
@media (max-width: 570px) { .topbar { height: 70px; padding: 0 20px; } .save-state { display: none; } main { padding: 45px 20px 32px; } .intro-grid h2 { font-size: 48px; } .formula-card { padding: 21px; } .footer-note { padding: 15px 20px 25px; flex-direction: column; gap: 6px; } .entry-card { padding: 22px; } .work-topic { grid-template-columns: 1fr; gap: 10px; } .stepper { grid-template-columns: repeat(2, 1fr); } .score-options { grid-template-columns: repeat(3, 1fr); } .average-grid { grid-template-columns: repeat(2, 1fr); } .vote-table { overflow-x: auto; }.vote-table div { min-width: 420px; } }
