/* Local visual revision only. Existing HTML, controls and application behavior are retained. */
@font-face {
  font-family: AlnurSans;
  src: url('/_astro/albert-sans-latin-wght-normal.BJ0ssN8N.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: QuestScore;
  src: url('/quest/media/barlow-condensed-extrabold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #171c19;
  --muted: #535e56;
  --paper: #f7f7ef;
  --white: #ffffff;
  --line: #c0c7bf;
  --soft: #eaece4;
  --forest: #173f31;
  --accent: #e5532b;
  --accent-ink: #a83015;
  --gold: #c19346;
  --danger: #9e2828;
  --radius: 3px;
  --fast: 140ms;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 AlnurSans, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: AlnurSans, sans-serif; font-weight: 850; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.9vw, 5.6rem); letter-spacing: -.065em; margin-bottom: 1rem; }
h2 { font-size: 1.85rem; letter-spacing: -.045em; }
h3 { font-size: 1rem; letter-spacing: -.015em; }
p { margin-bottom: 1rem; }
input, select, textarea {
  color-scheme: light;
  width: 100%; min-width: 0; min-height: 50px;
  padding: .8rem .85rem;
  color: var(--ink); background: var(--white);
  border: 1px solid #78867c; border-radius: var(--radius);
  transition: border-color var(--fast), background var(--fast);
}
input::placeholder, textarea::placeholder { color: #5f6b61; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); outline: 2px solid var(--forest); outline-offset: 2px; }
input[type=checkbox] { width: 23px; height: 23px; min-height: 23px; flex: 0 0 23px; accent-color: var(--forest); }
textarea { min-height: 100px; resize: vertical; }
label { display: block; font-weight: 700; }
label small, .hint { display: block; margin-top: .4rem; color: var(--muted); font-size: .85rem; font-weight: 400; }
.review-strip { padding: .45rem 1.25rem; color: #36453b; background: #e5e9de; text-align: center; font-size: .7rem; font-weight: 650; letter-spacing: .025em; }
.team-header { background: var(--ink); color: #fbfcf5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 1344px; margin: auto; padding: .9rem 2rem; }
.team-brand { display: flex; align-items: center; gap: .8rem; line-height: 1.15; text-decoration: none; font-size: 1.05rem; font-weight: 750; }
.team-brand img { height: 52px; width: auto; }
.team-brand small { display: block; margin-top: .25rem; color: #e5c68d; font-size: .72rem; font-weight: 500; }
.team-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.team-nav a { display: inline-flex; align-items: center; min-height: 46px; padding: .55rem .2rem; border-bottom: 3px solid transparent; color: #c9d1c8; text-decoration: none; font-size: .875rem; font-weight: 650; transition: color var(--fast), border-color var(--fast); }
.team-nav a:hover { color: #fff; border-color: #849887; }
.team-nav a:focus-visible { outline-color: #f4a280; }
body[data-page=board] .team-nav a[href='/quest/board/'],
body[data-page=team] .team-nav a[href='/quest/team/'],
body[data-page=sign-in] .team-nav a[href='/quest/team/'],
body[data-page=register] .team-nav a[href='/quest/team/'] { color: #fff; border-bottom-color: var(--accent); }
.wrap { max-width: 1344px; margin: auto; padding: 2.5rem 2rem 3.5rem; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .65fr); column-gap: 3.5rem; row-gap: .65rem; align-items: end; margin: 0 0 2rem; padding: .5rem 0 1.9rem; border-bottom: 5px solid var(--ink); }
.page-intro::after { content: none; }
.page-intro .eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; color: var(--forest); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--accent); }
.page-intro h1 { margin: 0; max-width: 12ch; font-size: clamp(3.5rem, 6.8vw, 6.2rem); }
.page-intro p:not(.eyebrow) { margin: 0 0 .25rem; max-width: 37ch; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.summary-strip { display: grid; grid-template-columns: 1fr 1fr 1.15fr 1.15fr; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.summary-strip > div { display: flex; align-items: center; gap: .8rem; min-height: 100px; padding: 1rem 1.25rem; border-right: 1px solid var(--line); }
.summary-strip > div:first-child { padding-left: 0; }
.summary-strip > div:nth-child(3) { border-right-color: #586057; background: var(--forest); color: #fffdf1; }
.summary-strip > div:last-child { border-right: 0; background: #e5e9de; }
.summary-strip strong { flex: 0 0 auto; font-family: QuestScore, sans-serif; font-size: 4.1rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.summary-strip small { max-width: 12ch; color: var(--muted); font-size: .75rem; font-weight: 600; line-height: 1.5; }
.summary-strip > div:nth-child(3) small { color: #dfe9d7; }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1.4rem 0; }
.toolbar label { width: 100%; max-width: 380px; }
.toolbar small { color: var(--muted); font-size: .8rem; }
.toolbar > div > strong { font-size: .95rem; font-weight: 750; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.15rem; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #fff; text-align: center; text-decoration: none; font-size: .9rem; line-height: 1.35; font-weight: 750; transition: background var(--fast), color var(--fast), border-color var(--fast); }
.button:hover:not(:disabled) { background: var(--forest); border-color: var(--forest); }
.button:active:not(:disabled) { background: #315c43; }
.button.secondary { color: var(--ink); background: transparent; border-color: #78867c; }
.button.secondary:hover:not(:disabled) { background: var(--soft); border-color: var(--ink); }
.button.danger { color: #fff; border-color: var(--danger); background: var(--danger); }
.button.danger:hover:not(:disabled) { background: #7d2424; border-color: #7d2424; }
.button.small { min-height: 44px; padding: .55rem .8rem; font-size: .825rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.board-shell { border-top: 2px solid var(--ink); background: var(--white); }
.board-row { display: grid; grid-template-columns: minmax(185px, 1.3fr) minmax(160px, 2.3fr) 90px 105px; align-items: center; gap: 1.5rem; min-height: 79px; padding: .85rem 1.4rem; border-bottom: 1px solid #cbd1c9; }
.board-row > div { min-width: 0; }
.board-head { min-height: 0; padding-block: .9rem; color: var(--muted); background: #eef0e8; font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.board-name { display: flex; flex-direction: column; gap: .1rem; }
.board-name strong { font-size: 1.05rem; font-weight: 750; letter-spacing: -.02em; overflow-wrap: anywhere; }
.board-number { font-family: ui-monospace, monospace; color: var(--muted); font-size: .65rem; letter-spacing: -.025em; }
.board-stars { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-height: 32px; }
.star { display: inline-flex; align-items: center; justify-content: center; min-width: 43px; padding: .15rem .4rem; border: 1px solid currentColor; border-radius: 2px; font-size: 1.15rem; font-weight: 800; white-space: nowrap; }
.star[data-value='1'] { color: #174c84; background: #dfedff; }
.star[data-value='2'] { color: #475661; background: #edf0f3; }
.star[data-value='3'] { color: #6f5014; background: #f6e7b9; }
.zero-stars { color: #5a665e; font-size: .825rem; }
.board-points { font-family: QuestScore, sans-serif; font-size: 2.8rem; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.qualified { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.qualified.yes { width: fit-content; padding: .2rem .5rem; color: #fff; background: var(--forest); font-weight: 750; }
.legend { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.2rem 1.4rem; font-size: .8rem; font-weight: 650; }
.legend span:nth-child(1) { color: #744327; }.legend span:nth-child(2) { color: #475661; }.legend span:nth-child(3) { color: #6f5014; }
.board-footer { max-width: 105ch; margin: 0; padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .825rem; }
body[data-page=team] .wrap > .toolbar:first-child { margin: 0 0 2rem; padding: .5rem 0 1.75rem; border-bottom: 5px solid var(--ink); }
body[data-page=team] h1 { margin-bottom: .7rem; font-size: clamp(3.1rem, 5.7vw, 5.3rem); }
.account-chip { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; font-size: .9rem; font-weight: 700; }
.account-chip small { font-family: ui-monospace, monospace; color: var(--forest); font-size: .7rem; font-weight: 500; }
.account-chip small::before { content: '/'; padding-right: .6rem; color: #6e7d70; }
.section-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.section-tabs button { min-height: 52px; padding: .85rem .1rem; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 750; transition: border-color var(--fast), color var(--fast); }
.section-tabs button:hover { color: var(--ink); border-bottom-color: #93a095; }
.section-tabs button[aria-selected=true] { border-bottom-color: var(--accent); color: var(--ink); }
#change-password { margin-left: auto; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .65fr); align-items: start; gap: 2.5rem; }
.panel { min-width: 0; padding: 2rem; color: var(--ink); background: var(--white); border: 1px solid #bdc8bb; }
.panel h2 { margin-bottom: 1.6rem; }
.panel .hint, .panel label small { color: var(--muted); }
#tab-award .panel:first-child { border-top: 4px solid var(--forest); }
#tab-award .panel:first-child h2 { padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.35rem 1.15rem; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid label { font-size: .9rem; }
.form-grid label > input, .form-grid label > select, .form-grid label > textarea, .form-stack label > input { display: block; margin-top: .45rem; font-size: 1rem; }
.task-explanation { padding: 1.1rem; border-left: 3px solid var(--forest); background: #edf1e8; font-size: .9rem; }
.task-explanation strong { font-size: 1rem; font-weight: 750; }
.task-explanation p { margin: .4rem 0 .6rem; }.task-explanation a { font-weight: 700; }
fieldset { min-width: 0; margin: 0; padding: 1rem; border: 1px solid #859580; }
legend { padding: 0 .4rem; font-weight: 750; font-size: .9rem; }
.checkbox-grid { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.checkbox-grid label { display: flex; align-items: center; gap: .5rem; min-height: 44px; }
.check-row { display: flex; align-items: flex-start; gap: .75rem; min-height: 44px; font-size: .9rem; font-weight: 500; }.check-row input { margin-top: .15rem; }
.workspace aside.panel { padding: 1.5rem 0 0; border: 0; border-top: 4px solid var(--accent); background: transparent; }
.workspace aside.panel h2 { font-size: 1.7rem; }
.workspace aside.panel p { font-size: .9rem; line-height: 1.65; }
.workspace aside.panel a { font-weight: 700; color: var(--forest); }
.demo-controls { margin: 1.5rem 0; padding: 1.1rem; background: #e9ede0; border-left: 3px solid #64754e; }
.demo-controls > strong { color: #3d4b2c; font-size: .85rem; font-weight: 800; }.demo-controls p { margin-bottom: 0; }
#selected-summary { padding-top: 1.2rem; border-top: 1px solid var(--line); }#selected-summary h3 { margin-bottom: .5rem; }
.status { padding: 1rem 1.15rem; margin: 1rem 0; border-left: 4px solid #977131; color: #5b4317; background: #f3ecd9; font-size: .925rem; }
.status:empty { display: none; }.status.error { color: #792824; background: #f8e7e1; border-color: var(--danger); }.status.success { color: #285230; background: #e5efde; border-color: #36633b; }
.auth-panel { max-width: 540px; margin: 1rem auto 2rem; padding: 2.25rem; border: 1px solid var(--line); border-top: 5px solid var(--ink); background: var(--white); }
.auth-panel h1 { font-size: 3rem; }.form-stack { display: grid; gap: 1.25rem; }
.entry-list { display: grid; gap: 1rem; }.activity { padding: 1.35rem; border: 1px solid var(--line); background: var(--white); }
.activity-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.activity-top > strong { flex-shrink: 0; color: var(--forest); font-family: QuestScore, sans-serif; font-size: 1.8rem; line-height: 1; }.activity-top p { margin: .25rem 0; }.activity small { color: var(--muted); }
.activity pre, .audit-event pre { white-space: pre-wrap; overflow-wrap: anywhere; font: .825rem/1.65 AlnurSans, sans-serif; }
.activity pre { margin: 1rem 0; padding: .8rem; background: #f0f2eb; color: #455347; }
.audit-event { position: relative; padding: .2rem 0 1.5rem 1.4rem; border-left: 1px solid #9dab9b; }
.audit-event::before { content: ''; position: absolute; top: .45rem; left: -4px; width: 7px; height: 7px; background: var(--accent); }
.audit-event h3 { margin-bottom: .3rem; font-weight: 800; text-transform: capitalize; }.audit-event p { margin-bottom: .45rem; color: var(--muted); font-size: .85rem; }
.audit-event pre { margin: .6rem 0 0; padding: .8rem; border: 1px solid #cbd2c7; background: var(--white); }
.demo-badge { display: inline-block; margin-left: .5rem; padding: .1rem .35rem; border: 1px solid #9d946d; background: #f3eddb; color: #594d22; font-size: .65rem; font-weight: 750; letter-spacing: .03em; }
.voided { opacity: .8; border-style: dashed; }.muted { color: var(--muted); }
.account-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }.account-row p { margin-bottom: .25rem; }
.secret-result { overflow-wrap: anywhere; padding: 1rem; margin-top: 1rem; border-left: 3px solid #a47e2b; background: #f1e6c8; color: #463719; }.secret-result code { user-select: all; font-size: 1rem; }.secret-result p { font-size: .85rem; }
.loading { padding: 1.5rem; border: 1px dashed #889778; background: #edf1e8; color: #3a4d2b; }.soft-rule { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
dialog { width: min(540px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: 1.75rem; border: 1px solid #52624d; color: var(--ink); background: var(--paper); }dialog::backdrop { background: #0b150dc9; }dialog form { display: grid; gap: 1rem; }
.team-footer { max-width: 1280px; margin: auto; padding: 1.75rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }.team-footer a { color: var(--forest); font-weight: 650; }
@media (max-width: 1100px) {
  .page-intro { column-gap: 2rem; grid-template-columns: minmax(0, 1.3fr) minmax(230px, .8fr); }.page-intro h1 { font-size: 4.8rem; }
  .summary-strip > div { padding: 1rem; }.summary-strip strong { font-size: 3.5rem; }
  .workspace { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .7fr); gap: 1.5rem; }.panel { padding: 1.5rem; }
  .board-row { grid-template-columns: minmax(165px, 1.3fr) minmax(140px, 2fr) 65px 80px; gap: 1rem; }.team-footer { margin-inline: 2rem; }
}
@media (max-width: 800px) {
  .header-inner { padding: 1rem 1.25rem; gap: .8rem; flex-wrap: wrap; }.team-brand img { height: 46px; }.team-nav { gap: 1rem; }
  .wrap { padding: 1.75rem 1.25rem 2.5rem; }.page-intro { column-gap: 1.5rem; }.page-intro h1 { font-size: 4rem; }.page-intro p:not(.eyebrow) { font-size: .875rem; }
  .summary-strip > div { flex-direction: column; align-items: flex-start; gap: .3rem; padding: 1rem; }.summary-strip strong { font-size: 3.2rem; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .board-row { grid-template-columns: minmax(145px, 1.2fr) minmax(110px, 1.5fr) 48px 70px; gap: .7rem; padding-inline: .9rem; }.board-points { font-size: 2.5rem; }
  .team-footer { margin-inline: 1.25rem; }
}
@media (max-width: 600px) {
  .review-strip { padding: .4rem .75rem; font-size: .625rem; }
  .header-inner { padding: .85rem 1rem .4rem; gap: .6rem; }.team-brand { font-size: 1rem; }.team-brand small { font-size: .7rem; }
  .team-nav { width: 100%; justify-content: space-between; gap: .25rem; }.team-nav a { min-height: 44px; padding: .5rem .15rem; font-size: .8rem; }
  .wrap { padding: 1.5rem 1rem 2.5rem; }.page-intro { display: block; margin-bottom: 1.25rem; padding: .2rem 0 1.3rem; border-bottom-width: 4px; }
  .page-intro .eyebrow { font-size: .6rem; letter-spacing: .1em; margin-bottom: 1rem; }.eyebrow::before { width: 8px; height: 8px; }
  .page-intro h1 { max-width: 12ch; font-size: clamp(2.75rem, 12vw, 3.8rem); margin-bottom: .85rem; }
  .page-intro p:not(.eyebrow) { max-width: none; font-size: .85rem; line-height: 1.6; }
  .summary-strip { grid-template-columns: 1fr 1fr; margin-bottom: 1.1rem; border: 1px solid var(--line); }
  .summary-strip > div { min-height: 82px; display: flex; flex-direction: row; align-items: center; gap: .6rem; padding: .7rem .85rem; }
  .summary-strip > div:first-child { padding-left: .85rem; }.summary-strip > div:nth-child(2) { border-right: 0; }.summary-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .summary-strip strong { font-size: 2.8rem; }.summary-strip small { max-width: 10ch; font-size: .7rem; }
  .toolbar { align-items: flex-start; gap: .85rem; margin: 1.2rem 0; }.toolbar small { font-size: .75rem; }.toolbar > div:first-child { min-width: 0; }
  .button { font-size: .875rem; }#refresh-board { min-height: 44px; padding: .6rem .85rem; }
  .board-head { display: none; }.board-row { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .9rem; min-height: 0; padding: .95rem 1rem; }
  .board-name { grid-column: 1; grid-row: 1; }.board-name strong { font-size: 1rem; }.board-number { font-size: .6rem; }
  .board-points { grid-column: 2; grid-row: 1; font-size: 2.8rem; text-align: right; }
  .board-stars { grid-column: 1; grid-row: 2; gap: .35rem; }.qualified { grid-column: 2; grid-row: 2; justify-self: end; font-size: .7rem; }
  .zero-stars { font-size: .75rem; }.legend { gap: .5rem 1rem; margin: 1rem; font-size: .7rem; }.board-footer { padding: 0 1rem 1rem; font-size: .75rem; }
  body[data-page=team] .wrap > .toolbar:first-child { padding: .1rem 0 1.25rem; margin-bottom: 1.2rem; border-bottom-width: 4px; }
  body[data-page=team] h1 { font-size: clamp(2.7rem, 11vw, 3.8rem); margin-bottom: .75rem; }.account-chip { font-size: .825rem; }
  .section-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .2rem 1rem; margin-bottom: 1.5rem; }.section-tabs button { min-height: 46px; font-size: .8rem; padding: .65rem .1rem; text-align: left; }#change-password { margin-left: 0; }
  .panel { padding: 1.2rem; }.panel h2 { font-size: 1.65rem; }.form-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }.form-grid .wide { grid-column: auto; }.form-grid label { font-size: .875rem; }
  .auth-panel { padding: 1.5rem 1.2rem; margin-top: .25rem; }.auth-panel h1 { font-size: 2.6rem; }
  .activity { padding: 1rem; }.activity-top { gap: .6rem; }.account-row { align-items: flex-start; flex-direction: column; }
  .status { font-size: .875rem; }.team-footer { margin-inline: 1rem; font-size: .75rem; }
}
/* Poster presentation: a framed sheet, oversized display type and inked information bands. */
body { background: #e2e7d9; }
.wrap { max-width: 1200px; margin: 1.5rem auto 2.5rem; padding: 1.25rem; border: 2px solid var(--ink); background: var(--paper); }
.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .8fr);
  grid-template-rows: auto auto auto;
  align-items: stretch;
  gap: 1.2rem 2rem;
  margin: 0 0 1.2rem;
  padding: 2rem;
  border: 0;
  background: var(--forest);
  color: #fff9e7;
}
.page-intro .eyebrow { grid-area: 1 / 1 / 2 / 3; color: #fff0ca; font-size: .75rem; margin: 0; letter-spacing: .12em; }
.eyebrow::before { width: 32px; height: 7px; flex: 0 0 32px; }
.page-intro h1 { grid-area: 2 / 1 / 3 / 2; align-self: center; max-width: 8.5ch; margin: 0; font-family: QuestScore, sans-serif; font-size: clamp(6rem, 11vw, 9.5rem); line-height: .86; letter-spacing: -.025em; text-transform: uppercase; text-wrap: balance; }
.page-intro p:not(.eyebrow) { grid-area: 3 / 1 / 4 / 3; max-width: 85ch; margin: 0; padding-top: .85rem; border-top: 1px solid #99b19a; color: #edf1de; font-size: .875rem; line-height: 1.6; }
.page-intro::after { content: ''; display: block; grid-area: 2 / 2 / 3 / 3; position: static; min-width: 0; min-height: 265px; border: 5px solid #f8edce; background: url('/quest/media/mega-quest-real-960.webp') 48% center / cover no-repeat; }
.summary-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 1.4rem; border: 2px solid var(--ink); }
.summary-strip > div { min-height: 112px; padding: 1rem 1.2rem; gap: .7rem; border-right: 2px solid var(--ink); }
.summary-strip > div:first-child { padding-left: 1.2rem; }
.summary-strip > div:nth-child(3) { background: var(--accent); color: var(--ink); border-right: 2px solid var(--ink); }
.summary-strip > div:nth-child(3) small { color: var(--ink); }
.summary-strip > div:last-child { background: var(--forest); color: #fff9e7; }
.summary-strip > div:last-child small { color: #edf1de; }
.summary-strip strong { font-size: 4.8rem; }
.summary-strip small { max-width: 13ch; font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
body[data-page=board] .toolbar > div > strong { font-size: 1.05rem; font-weight: 850; text-transform: uppercase; }
.board-shell { border: 2px solid var(--ink); }
.board-row { min-height: 85px; }
.board-head { min-height: 48px; border-bottom: 2px solid var(--ink); background: var(--ink); color: #fff8e4; }
.board-name strong { font-size: 1.1rem; font-weight: 800; }
.board-points { font-size: 3.25rem; }
.legend { margin: 0; padding: 1rem 1.4rem; border-top: 2px solid var(--ink); background: #f5edda; }
.board-footer { padding-top: 1rem; }
body[data-page=team] .wrap > .toolbar:first-child { margin: 0 0 1.2rem; padding: 1.6rem 1.75rem; border: 0; background: var(--forest); color: #fff9e7; }
body[data-page=team] h1 { font-family: QuestScore, sans-serif; font-size: clamp(4.2rem, 7.4vw, 7rem); line-height: .9; letter-spacing: -.025em; text-transform: uppercase; }
body[data-page=team] .wrap > .toolbar:first-child .account-chip small,
body[data-page=team] .wrap > .toolbar:first-child .account-chip small::before { color: #e0e8cd; }
body[data-page=team] .wrap > .toolbar:first-child .button.secondary { color: #fff9e7; border-color: #c7d3bb; }
body[data-page=team] .wrap > .toolbar:first-child .button.secondary:hover { background: #345c45; }
.section-tabs { gap: 1.2rem; padding: .25rem 1rem 0; border: 2px solid var(--ink); background: var(--ink); }
.section-tabs button { color: #d2d9cc; }
.section-tabs button:hover { color: #fff9e7; border-color: #9caa93; }
.section-tabs button[aria-selected=true] { color: #fff9e7; border-color: var(--accent); }
.section-tabs :focus-visible { outline-color: #ffb491; }
.panel { border: 1px solid #7c8d77; }
.panel h2, .workspace > section > h2 { font-family: QuestScore, sans-serif; font-size: 2.55rem; line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }
.workspace aside.panel { padding: 1.35rem; border: 2px solid var(--ink); border-top: 8px solid var(--accent); background: #f4edda; }
.workspace aside.panel h2 { font-family: QuestScore, sans-serif; font-size: 2.55rem; text-transform: uppercase; }
.demo-controls { background: #e6e9d8; }
.auth-panel { border: 2px solid var(--ink); border-top: 8px solid var(--forest); }
.auth-panel h1 { font-family: QuestScore, sans-serif; font-size: 4rem; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.team-footer { max-width: 1200px; }
@media (max-width: 1250px) {
  .wrap { margin-inline: 1.5rem; }
  .page-intro h1 { font-size: clamp(5.5rem, 11vw, 8.5rem); }
  .page-intro::after { min-height: 235px; }
  .summary-strip strong { font-size: 4rem; }
  .team-footer { margin-inline: 1.5rem; }
}
@media (max-width: 900px) {
  .page-intro { padding: 1.6rem; column-gap: 1.4rem; grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr); }
  .page-intro h1 { font-size: 6.2rem; }
  .page-intro::after { min-height: 230px; }
  .summary-strip > div { flex-direction: column; align-items: flex-start; gap: .3rem; padding: 1rem; }
  .summary-strip > div:first-child { padding-left: 1rem; }
  .summary-strip strong { font-size: 3.7rem; }
  .summary-strip small { max-width: 15ch; }
}
@media (max-width: 600px) {
  .wrap { margin: .8rem .65rem 1.8rem; padding: .6rem; }
  .page-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: .9rem .75rem; margin: 0 0 .8rem; padding: 1rem; }
  .page-intro .eyebrow { font-size: .55rem; line-height: 1.5; letter-spacing: .075em; margin: 0; }
  .eyebrow::before { width: 18px; height: 5px; flex-basis: 18px; }
  .page-intro h1 { max-width: 8.5ch; margin: 0; font-size: clamp(3.1rem, 16vw, 5.5rem); line-height: .88; }
  .page-intro::after { min-height: 175px; border-width: 3px; }
  .page-intro p:not(.eyebrow) { max-width: none; font-size: .75rem; line-height: 1.55; padding-top: .7rem; }
  .summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: .8rem; }
  .summary-strip > div { min-height: 83px; flex-direction: row; align-items: center; gap: .65rem; padding: .65rem .8rem; }
  .summary-strip > div:first-child { padding-left: .8rem; }
  .summary-strip > div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .summary-strip strong { font-size: 3rem; }
  .summary-strip small { max-width: 12ch; font-size: .6rem; line-height: 1.6; }
  body[data-page=board] .toolbar > div > strong { font-size: .9rem; }
  .board-row { min-height: 0; padding: .95rem .8rem; }
  .board-head { display: none; }
  .board-name strong { font-size: 1rem; }
  .board-points { font-size: 3rem; }
  .legend { padding: .85rem .8rem; }
  .board-footer { padding: .85rem .8rem; }
  body[data-page=team] .wrap > .toolbar:first-child { padding: 1.2rem 1rem; margin-bottom: .85rem; }
  body[data-page=team] h1 { font-size: clamp(3.5rem, 16vw, 5rem); }
  .section-tabs { gap: .2rem .8rem; padding: .25rem .7rem 0; }
  .section-tabs button { font-size: .75rem; }
  .panel { padding: 1rem; }
  .panel h2, .workspace > section > h2, .workspace aside.panel h2 { font-size: 2.2rem; }
  .workspace aside.panel { padding: 1rem; }
  .team-footer { margin-inline: 1rem; }
}
@media (max-width: 360px) {
  .summary-strip > div { min-width: 0; flex-direction: column; align-items: flex-start; gap: .25rem; }
  .summary-strip small { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

#display-form textarea{min-height:100px}.quest-live-note{padding:1rem;border-left:4px solid #e5532b}