/* livetable — "the character record" design system.
   Language drawn from the historical sheets in docs/web prototypes/design
   priors/ and aligned with the Hearth session-runtime palette: aged paper
   ground, single warm ink, letterspaced condensed-caps labels, serif prose,
   ruled tables and fill-lines instead of floating cards. Desktop-first. */

/* -- faces (self-hosted, latin subsets) ---------------------------------- */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/libre-caslon-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/libre-caslon-text-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/libre-caslon-text-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/libre-caslon-text-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/barlow-semi-condensed-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/barlow-semi-condensed-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/barlow-semi-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/barlow-semi-condensed-700.woff2') format('woff2');
}

/* -- tokens --------------------------------------------------------------- */
:root {
  /* ground & ink */
  --paper: #f6f2e8;         /* body ground: aged stock */
  --sheet: #fdfbf4;         /* raised surface: panels, table bodies, inputs */
  --ink: #211c15;
  --ink-soft: #3f382b;
  --muted: #6f6857;         /* 4.9:1 on paper — smallest text color allowed */
  --faint: #8a8271;         /* rules & ornaments only, never body text */
  --line: #d6cebb;          /* hairline rule */
  --line-strong: #c4baa2;   /* section rule */
  --border: var(--line);
  /* named inks */
  --slate: #35566b;         /* links, selection, informational */
  --oxblood: #7a2e2e;       /* danger, errors */
  --moss: #55704a;          /* success, complete */
  --brass: #a9781f;         /* pending/attention marks (never small text) */
  --brass-ink: #7c5a17;     /* brass legible on paper */
  --manila: #f3ead2;        /* attention wash (.gap) */
  --blush: #f1e2df;         /* error wash */
  /* aliases kept for existing rules */
  --accent: var(--slate);
  --bg: var(--paper);
  --warn-bg: var(--manila);
  --warn-line: var(--brass);
  /* type */
  --serif: 'Libre Caslon Text', 'Iowan Old Style', Georgia, serif;
  --display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  --labels: 'Barlow Semi Condensed', 'Avenir Next Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
::selection { background: #e9dcb4; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }

body {
  margin: 0;
  font: 16px/1.55 var(--serif);
  color: var(--ink);
  background: var(--paper);
}

/* -- header: the record's masthead ---------------------------------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 1.4rem 0.55rem;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 3px 0 -2px var(--line-strong); /* double rule, sheet-style */
}
header h1 {
  margin: 0 1.8rem 0 0;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
header h1 a { color: var(--ink); text-decoration: none; }
header a { color: var(--ink); text-decoration: none; }
#tabs { display: flex; gap: 1.4rem; flex: 1; }
#tabs a {
  font-family: var(--labels);
  font-weight: 500;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
}
#tabs a.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
#tabs a:hover { color: var(--ink); }
#whoami { color: var(--muted); font-family: var(--labels); font-size: 0.9rem; }
#whoami button { margin-left: 0.6rem; }

/* -- page scaffold --------------------------------------------------------- */
main { max-width: 60rem; margin: 1.6rem auto; padding: 0 1.4rem; }
main.wide { max-width: 84rem; }

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.3rem;
}
h3 {
  font-family: var(--labels);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}
h4 { font-family: var(--labels); font-weight: 600; font-size: 0.9rem; }

a { color: var(--slate); }

/* home newsfeed: the one display moment on an otherwise working surface */
.newsfeed { max-width: 36rem; margin: 4rem auto 0; text-align: center; }
.newsfeed::before { content: '❧'; display: block; color: var(--faint); font-size: 1.3rem; margin-bottom: 0.9rem; }
.newsfeed .newsdate {
  font-family: var(--labels);
  font-weight: 500;
  color: var(--brass-ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.newsfeed h2 { font-size: 1.9rem; margin: 0.5rem 0 0; border-bottom: none; }

/* -- controls --------------------------------------------------------------
   Filled ink = the primary act; .quiet = secondary; .danger = destructive. */
button {
  font-family: var(--labels);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.42rem 1rem 0.38rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
button:hover { background: var(--ink-soft); }
button:active { background: #000; }
button.quiet { background: var(--sheet); color: var(--ink); border-color: var(--line-strong); }
button.quiet:hover { border-color: var(--ink); background: var(--sheet); }
button:disabled { opacity: 0.45; cursor: default; }
button.danger { background: var(--sheet); color: var(--oxblood); border-color: var(--oxblood); }
button.danger:hover { background: var(--blush); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  font-family: var(--labels);
  font-size: 0.95rem;
  color: var(--ink);
  /* labels above may be uppercased; never let that cascade into typed text */
  text-transform: none;
  letter-spacing: normal;
  padding: 0.36rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--sheet);
}
input:focus, select:focus, textarea:focus { border-color: var(--slate); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }

form.stack { display: grid; gap: 0.75rem; max-width: 24rem; }
form.stack label { display: grid; gap: 0.22rem; }
/* record-style field captions — scoped to stacked forms' direct labels only,
   so builder option rows and checkbox lists keep sentence case */
form.stack label, .addfriend > label, .inviterow label {
  font-family: var(--labels);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.error {
  font-family: var(--serif);
  color: #5c1d1d;
  background: var(--blush);
  border: 1px solid #c09a94;
  border-radius: 2px;
  padding: 0.5rem 0.8rem;
  margin: 0.4rem 0;
}

/* -- surfaces --------------------------------------------------------------
   Panels are ruled paper, not floating cards: crisp corners, hairline
   borders, a bare 1px paper-stack shadow. */
.card {
  background: var(--sheet);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 1px 0 rgba(33, 28, 21, 0.07);
}
.muted { color: var(--muted); font-size: 0.9rem; }

.badge {
  display: inline-block;
  font-family: var(--labels);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.05rem 0.4rem;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  vertical-align: middle;
}
.badge.homebrew { border-color: var(--brass); color: var(--brass-ink); }
.notifybadge { background: #e7ecef; color: var(--slate); border-color: #b9c6cf; margin-left: 0.5rem; }

/* honest-floor notice */
.gap {
  background: var(--manila);
  border: 1px solid var(--warn-line);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  margin: 0.6rem 0;
}

/* -- builder / chargen (layout metrics unchanged — do not disturb) -------- */
.layout { display: grid; grid-template-columns: 13rem 1fr; gap: 1.2rem; }
.layout > div { min-width: 0; } /* grid children must be allowed to shrink */
.layout.three { grid-template-columns: 13rem 1fr 22rem; align-items: start; }
@media (max-width: 70rem) { .layout.three { grid-template-columns: 13rem 1fr; } .layout.three > :last-child { grid-column: 1 / -1; } }
@media (max-width: 44rem) { .layout, .layout.three { grid-template-columns: 1fr; } }
.detail { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.detail h3 { margin-top: 0; }
label.acquired, span.acquired { opacity: 0.55; }
.entity-link { color: var(--slate); text-decoration: none; border-bottom: 1px dotted var(--slate); }
.entity-link:hover { border-bottom-style: solid; }
dl.spellcard { grid-template-columns: 8rem 1fr; }

/* step ledger: checkbox marks like the sheets' proficiency boxes
   (replaces the old colored side-stripes) */
.steps { list-style: none; margin: 0; padding: 0; font-family: var(--labels); font-size: 0.9rem; }
.steps li { position: relative; padding: 0.28rem 0.4rem 0.28rem 1.65rem; margin-bottom: 2px; }
.steps li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.48rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: var(--sheet);
  font-size: 0.62rem;
  line-height: 0.78rem;
  text-align: center;
}
.steps li.complete::before { content: '✓'; background: var(--moss); border-color: var(--moss); color: var(--paper); }
.steps li.pending::before { border-color: var(--brass); }
.steps li.current { background: var(--sheet); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.steps li.current::before { border-color: var(--ink); border-width: 2px; line-height: 0.7rem; }
.steps li.not-applicable { color: var(--muted); opacity: 0.6; }
.steps li.not-applicable::before { background: transparent; border-style: dashed; }
.steps li a { color: inherit; text-decoration: none; }
.steps li[data-step="ability-scores"] a { font-size: 0.78rem; white-space: nowrap; }

.optgrid { display: grid; gap: 0.3rem; margin: 0.5rem 0; }
/* two columns that read alphabetically DOWN each column, not across */
.optgrid.two { display: block; column-count: 2; column-gap: 1.2rem; }
.optgrid.two label { break-inside: avoid; margin-bottom: 0.3rem; }
@media (max-width: 44rem) { .optgrid.two { column-count: 1; } }
.rollgrid { display: grid; grid-template-columns: 11rem 16rem; gap: 0 2.5rem; margin-top: 0.8rem; }
.rollgrid h4 { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.rollrow { display: flex; align-items: center; gap: 0.7rem; height: 2.4rem; }
.rollrow .rolltag { width: 5.5rem; color: var(--ink); font-family: var(--labels); }
.rollcol input[type="number"] { width: 4.5rem; }
.rollcol select { flex: 1; min-width: 0; }
.pointbuy-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.25rem; }
.pointbuy-row .pb-name { width: 8.5rem; flex: none; font-family: var(--labels); }
.pointbuy-row button { min-width: 2rem; flex: none; padding: 0.1rem 0.5rem; }
.pointbuy-row strong { min-width: 1.6rem; flex: none; text-align: center; }
.pointbuy-row .desc { width: 10rem; flex: none; white-space: nowrap; }
.charrow { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.45rem; }
.charrow .chartag { width: 10.5rem; flex: none; color: var(--muted); font-family: var(--labels); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.charrow select { flex: 1; min-width: 0; max-width: 100%; }
.assignrow { display: flex; justify-content: space-between; align-items: center; max-width: 17rem; }
.assignrow select, .assignrow input { flex: none; }
.optgrid label { display: flex; gap: 0.5rem; align-items: baseline; text-transform: none; letter-spacing: normal; }
.optgrid .desc { color: var(--muted); font-size: 0.85rem; }
.optgrid label.capped { opacity: 0.5; }
.catpicks { display: grid; gap: 0.4rem; margin: 0.6rem 0; }
.poolhead { margin: 0.7rem 0 0.2rem; font-family: var(--labels); font-size: 0.8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.poolblock { margin: 0.3rem 0 0.2rem 0; }
.poolblock label { display: block; margin: 0.3rem 0; }
.actions-bar { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0.7rem 1rem; margin-bottom: 0.9rem; }

fieldset { border: 1px solid var(--line-strong); border-radius: 2px; margin: 0.7rem 0; background: var(--sheet); }
legend {
  font-family: var(--labels);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding: 0 0.45rem;
}

/* -- the roster ledger ------------------------------------------------------ */
table.roster { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--line-strong); }
table.roster th, table.roster td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--line); }
table.roster th {
  font-family: var(--labels);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}
table.roster tbody tr:hover { background: var(--paper); }

/* -- the sheet: fill-lines like the record -------------------------------- */
dl.sheet { display: grid; grid-template-columns: 12rem 1fr; gap: 0.3rem 1rem; margin: 0; }
dl.sheet dt {
  font-family: var(--labels);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding-top: 0.22rem;
}
dl.sheet dd { margin: 0; line-height: 1.45; padding-bottom: 0.28rem; border-bottom: 1px dotted var(--line); }

/* -- social ----------------------------------------------------------------- */
#tabs a.notify { position: relative; }
#tabs a.notify::after { content: ''; position: absolute; top: -0.1rem; right: -0.55rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--brass); }
.friends { list-style: none; padding: 0; }
.friends li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px dotted var(--line); }
.presence { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.presence.online { background: var(--moss); }
.addfriend { display: grid; gap: 0.6rem; max-width: 26rem; margin: 0.8rem 0; }
.requestrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0.5rem 0; }
.requestactions { display: flex; gap: 0.5rem; }
.requestrow.declined { opacity: 0.85; }

/* -- campaigns --------------------------------------------------------------- */
.descblock { display: flex; align-items: baseline; gap: 0.4rem; margin: 0.6rem 0 1.1rem; }
.desc { margin: 0.6rem 0 1.1rem; max-width: 65ch; }
.descblock .desc { margin: 0; }
.descblock form { flex: 1; display: grid; gap: 0.5rem; max-width: 46rem; }
.descactions { display: flex; gap: 0.5rem; }
/* borderless icon button — opt out of the filled-ink button treatment */
.penbtn, .penbtn:hover, .penbtn:active {
  background: none;
  border: none;
  padding: 0.05rem 0.3rem;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: normal;
}
.penbtn { color: var(--muted); }
.penbtn:hover { color: var(--ink); }
.campcols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 44rem) { .campcols { grid-template-columns: 1fr; } }
.camplist { list-style: none; padding: 0; }
.camplist li { padding: 0.35rem 0; border-bottom: 1px dotted var(--line); }
/* the table roster: player rows with their seated characters beneath */
.playerlist { list-style: none; margin: 0.2rem 0 0; padding: 0; }
.playerlist > li { padding: 0.5rem 0 0.55rem; border-bottom: 1px dotted var(--line); }
.playerlist > li:last-child { border-bottom: none; padding-bottom: 0.1rem; }
.playername { font-weight: 700; }
.playerrow .badge { margin-left: 0.45rem; }
.charsublist { list-style: none; margin: 0.25rem 0 0; padding: 0 0 0 1.15rem; }
.charsublist li { padding: 0.12rem 0; }
.charsublist li::before { content: '— '; color: var(--faint); }
.charsublist .reviewactions { margin: 0.3rem 0 0.15rem; }
.charsublist li.declinedrow { opacity: 0.8; }
/* panel foot: invite on the left, the pregen drawer's door on the right */
.panelfoot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.inviterow { display: flex; align-items: center; gap: 0.6rem; }
.inviterow label { display: flex; align-items: center; gap: 0.5rem; flex: 0 1 auto; margin: 0; }
.inviterow input { width: 13rem; }

/* pregen dialog: a paper slip over the dimmed table */
.pregendialog {
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--sheet);
  color: var(--ink);
  padding: 1rem 1.3rem 1.1rem;
  min-width: 28rem;
  max-width: 42rem;
  box-shadow: 0 4px 0 rgba(33, 28, 21, 0.15);
}
.pregendialog::backdrop { background: rgba(33, 28, 21, 0.35); }
.dialoghead { display: flex; justify-content: space-between; align-items: baseline; }
.dialoghead h3 { margin: 0 0 0.5rem; }
.pregendialog .requestrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px dotted var(--line); margin: 0; }
.pregendialog .offerform { display: grid; gap: 0.5rem; margin-top: 0.8rem; }

/* past sessions: a scroll well in the session box, newest first */
.sessionscroll { max-height: 13rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); padding: 0.15rem 0.8rem; margin-top: 0.3rem; }
.sessionscroll .camplist li:last-child { border-bottom: none; }
textarea { width: 100%; box-sizing: border-box; font-family: var(--serif); font-size: 0.95rem; }

/* -- rules oracle ------------------------------------------------------------- */
.oracleform { display: flex; gap: 0.6rem; margin: 0.6rem 0; }
.oracleform input { flex: 1; padding: 0.45rem 0.55rem; }
.oraclelog { margin-top: 1rem; display: grid; gap: 0.9rem; }
.oracleentry .oq { margin: 0 0 0.2rem; }
.oracleentry .oa { margin: 0 0 0.4rem; font-size: 1.05rem; }
.oracard h4 { margin: 0 0 0.2rem; font-family: var(--serif); font-weight: 700; font-size: 1rem; }
.oracard h5 { margin: 0.6rem 0 0.2rem; font-family: var(--labels); color: var(--muted); text-transform: uppercase; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; }

.reportbtn { font-size: 0.75rem; }
.reportform { display: flex; gap: 0.4rem; margin-top: 0.3rem; }
.reportform input { flex: 1; max-width: 24rem; padding: 0.3rem 0.5rem; font-size: 0.9rem; }
.bugfooter { margin-top: 1.5rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
/* roster actions: New character leads; the generate control is one seamed
   unit — button and class picker share a border like a printed form field */
.rosteractions { display: flex; align-items: center; gap: 0.7rem; margin: 0.2rem 0 0.8rem; }
.genctl { display: inline-flex; align-items: stretch; }
.genctl button {
  border-radius: 2px 0 0 2px;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-right: none;
}
.genctl button:hover { background: var(--sheet); border-color: var(--ink); }
.genctl select.genclass {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0 2px 2px 0;
  border: 1px solid var(--line-strong);
  font-family: var(--labels);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.42rem 1.7rem 0.38rem 0.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236f6857' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  cursor: pointer;
}
.genctl select.genclass:hover { border-color: var(--ink); color: var(--ink); }
.genctl:hover button { border-color: var(--ink); }
.genagain { margin-top: 0.6rem; }
.genname { display: block; margin: 0.4rem 0 0.8rem; }
.genname input { max-width: 18rem; }

/* -- admin ---------------------------------------------------------------------- */
.userpane { max-height: 24rem; overflow-y: auto; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--sheet); }
.userpane table { margin: 0; }
table.roster.selectable tbody tr { cursor: pointer; }
table.roster.selectable tbody tr.selected { background: #efe8d6; }
table.roster.selectable td:first-child, table.roster.selectable th:first-child { width: 1.6rem; padding-right: 0; }
.adminactions { display: flex; gap: 0.5rem; margin: 0.6rem 0 0.2rem; }
.adminactionform { margin: 0.5rem 0; }
.adminactionform form { display: flex; align-items: center; gap: 0.6rem; }
.adminactionform label { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.reviewactions { align-items: center; }
.reviewnote input { width: 16rem; font-size: 0.9rem; }
.policyrow { display: flex; align-items: center; gap: 0.5rem; margin: 0.6rem 0; color: var(--muted); font-size: 0.95rem; }
.awardbtn { margin-left: 0.6rem; font-size: 0.75rem; }

/* -- live session feed (phase 2 seam; full Hearth treatment comes with the
      table-runtime build) -------------------------------------------------- */

/* note pocket: field on top, commit button beneath — inline the button
   was truncated by the right column */
.noterow { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start; }
.noterow input { width: 100%; box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* scenario phase chip — ratified-gate state in the Scenario well */
.phasechip { display: inline-block; padding: 0.15rem 0.5rem; margin-bottom: 0.35rem;
  border-radius: 0.6rem; background: color-mix(in srgb, currentColor 12%, transparent);
  font-size: 0.8rem; font-weight: 600; }
