/* The mediation page: Ridgeway's palette and type, as on www.ridgewayresolution.com (navy ink, forest
   green, slate and a pale gray-blue canvas; Libre Baskerville for headings and big numbers, Lato for the interface).
   Both fonts are served from this page's own files (assets/fonts, Latin subset from Google Fonts, SIL Open Font
   License: see each *-OFL.txt), since the page's CSP loads fonts from here only.
   Every color is a token here; nothing is set inline (the page's CSP allows only this file). */
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/libre-baskerville-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/libre-baskerville-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
/* The landing page's title only (the owner's choice, 2026-11-29): Cormorant Garamond 500, latin, from Google Fonts
   (SIL Open Font License, fonts/cormorant-garamond-OFL.txt). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("fonts/lato-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("fonts/lato-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ui: Lato, "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --editorial: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;
  --navy: #1c2b35;
  --brand-ink: #335750;      /* the Ridgeway Resolution logo's lettering */
  --brand-green: #519a7e;    /* the logo's mountain line */
  --canvas: #f4f6f7;
  --panel: #ffffff;
  --raised: #ffffff;
  --field: #ffffff;
  --side: #eef2f4;
  --ink: #2c3e50;
  --muted: #556370;
  --faint: #5d6d7b;
  --line: #dde3e8;
  --line-soft: #e9edf0;
  --line-warm: #c3ccd4;
  --hover: #eef2f4;
  --accent: #2c7354;
  --accent-hover: #245f45;
  --accent-soft: #2c73541a;
  --accent-line: #2c735466;
  --tint: #eef5f1;
  --theirs: #f7f9fa;
  --banner: #e6f0eb;
  --on-accent: #ffffff;
  --shadow: #1c2b3524;
  --backdrop: #1c2b3599;
  --error: #b23b3b;
  --error-ink: #7a2828;
  --error-bg: #fbeeee;
  --error-line: #e2b4b4;
  --danger-bg: #f6e3e3;
  --danger-hover: #f0d4d4;
  --gutter: clamp(16px, 4vw, 44px);
  --read: 760px;
  font-family: var(--ui);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.55 var(--ui);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fine { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.nowrap { white-space: nowrap; }
.optional { color: var(--faint); font-weight: 400; font-size: 12px; margin-left: 4px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font: 600 11.5px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; overflow-wrap: anywhere; }
.lede { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.lede cite, .lede strong { color: var(--ink); font-style: normal; font-weight: 500; }

/* Buttons: one primary per place, in ink; secondary in outline; destructive in a muted red. */
.primary-button, .secondary-button, .danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: 500 14px/1.2 var(--ui);
  text-decoration: none;
  white-space: nowrap;
}
.primary-button { background: var(--accent); color: var(--on-accent); font-weight: 700; letter-spacing: .02em; }
.primary-button:hover:not(:disabled) { background: var(--accent-hover); }
.primary-button:disabled { background: var(--hover); color: var(--faint); }
.secondary-button { background: transparent; color: var(--ink); border-color: var(--line); }
.secondary-button:hover:not(:disabled) { background: var(--hover); border-color: var(--line-warm); }
.secondary-button:disabled { color: var(--faint); }
.danger-button { background: var(--danger-bg); color: var(--error-ink); border-color: var(--error-line); }
.danger-button:hover:not(:disabled) { background: var(--danger-hover); }
.primary-button.small, .secondary-button.small { min-height: 36px; padding: 7px 13px; font-size: 13px; }
.quiet-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}
.quiet-button:hover { color: var(--ink); background: var(--hover); }
.quiet-button svg { width: 17px; height: 17px; }
.quiet-danger { color: var(--muted); }
.quiet-danger:hover { color: var(--error); background: var(--error-bg); }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.icon-button:hover { color: var(--ink); background: var(--hover); }
.button-row, .form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions { margin-top: 24px; }
[aria-busy="true"] { cursor: progress; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; min-width: 0; }
.field > label, .field-label { color: var(--ink); font-size: 13.5px; font-weight: 500; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field .fine { margin: 0; font-size: 12.5px; }
input:not([type="checkbox"]), select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
textarea { display: block; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
input:not([type="checkbox"]):hover, select:hover, textarea:hover { border-color: var(--line-warm); }
input:not([type="checkbox"]):focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0b8ac' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 17px;
}
select option { background: var(--panel); color: var(--ink); }
input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 14px; line-height: 1.55; }
.field-error, .form-error { margin: 0; color: var(--error); font-size: 13.5px; line-height: 1.5; }
.form-error { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--error-line); border-radius: 9px; background: var(--error-bg); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error-line); }
.callout { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: var(--ink); font-size: 14px; line-height: 1.6; }
.callout p { margin: 0; }
.callout.warning { border-color: var(--line-warm); }
.callout.stop { border-color: var(--error-line); background: var(--error-bg); color: var(--error-ink); font-size: 15px; }
.sealed {
  margin: 22px 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font: 400 18px/1.5 var(--editorial);
}

/* The banners above everything: the dry run, and the changed link after check-in. */
.banner { margin: 0; padding: 9px var(--gutter); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.dry-run-banner { background: var(--banner); color: var(--accent-hover); text-align: center; }
.key-banner { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--banner); color: var(--ink); }
.key-banner p { margin: 0; }
.banner-close { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.banner-close:hover { background: var(--hover); color: var(--ink); }
.banner-close svg { width: 15px; height: 15px; }

/* The wordmark: "Marty", then "by Ridgeway Resolution" small and quiet beside it. */
.wordmark { display: inline-flex; align-items: baseline; gap: .28em; color: var(--ink); text-decoration: none; line-height: 1; }
.wordmark-lead { font: 700 20px/1 var(--editorial); letter-spacing: .03em; padding-left: 1px; color: var(--navy); }
.wordmark-rest { color: var(--muted); font: italic 400 13px/1 var(--editorial); letter-spacing: .01em; }
.wordmark:hover .wordmark-lead { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.topbar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 70px; padding: 12px var(--gutter); }

/* The plain views */
.app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.view { flex: 1 0 auto; }
.loading-view { display: grid; place-items: center; padding: 40px var(--gutter); }
.loading { text-align: center; }
.loading-mark { font-size: 30px; color: var(--accent); margin-bottom: 8px; animation: breathe 2s ease infinite; }
.loading p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
@keyframes breathe { 50% { opacity: .35; } }

.center-inner { width: 100%; max-width: 660px; margin: 0 auto; padding: clamp(28px, 8vh, 88px) var(--gutter) 72px; }
.center-inner.wide { max-width: 860px; }
.center-view h1, .links-view h1 {
  margin: 0 0 16px;
  font: 400 clamp(38px, 6vw, 60px)/1.02 var(--editorial);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;   /* a long unbroken name or caption wraps instead of pushing the page sideways */
}
h1:focus, h2:focus { outline: none; }

/* Landing */
/* The opening (title, tagline, setup) is at least the first screen below the top bar (56px: the shortest it gets, on a
   phone; taller bars only push How a session works further down), its content centered, so How a session works
   starts below the fold. svh: the screen with the browser's bars showing, so a phone fits it too. */
.landing-first { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 56px);
  padding-bottom: clamp(24px, 6vh, 72px); }
.hero { padding: clamp(12px, 3vh, 40px) var(--gutter) clamp(30px, 5vh, 56px); text-align: center; }
/* "Marty" on one line on every screen, as large as the screen allows. */
/* Cormorant Garamond, a touch open, about 10% smaller than the Baskerville it replaced at every width (the owner picked
   86px where that was 96px). */
.hero h1 { margin: 0; color: var(--brand-ink); font: 500 clamp(58px, min(10.8vw, 19vh), 155px)/1 "Cormorant Garamond", var(--editorial); letter-spacing: .05em; padding-left: .05em; white-space: nowrap; }  /* the padding balances the spacing after the "y" */
/* "by Ridgeway Resolution" under the name, set like the company's logo: spaced capitals in its green. */
/* "by Ridgeway Resolution" set like the company's logo: spaced serif capitals in its green, between two thin rules,
   clear of the name's descender. */
.hero-by { display: flex; align-items: center; justify-content: center; gap: 16px; margin: clamp(22px, 3.4vh, 36px) 0 0;
  color: var(--brand-green); font: italic 400 clamp(14px, 1.3vw, 16px)/1 var(--editorial); }
.hero-by::before, .hero-by::after { content: ""; width: clamp(28px, 5vw, 64px); height: 1px; background: var(--brand-green); opacity: .55; }
.hero-company { margin: 0 -.3em 0 .1em; color: var(--brand-ink); font-style: normal; font-size: .92em; letter-spacing: .3em; text-transform: uppercase; }
.deck { max-width: 40ch; margin: clamp(26px, 4vh, 40px) auto 0; text-wrap: balance; color: var(--muted); font-size: clamp(17px, 2.1vw, 22px); line-height: 1.5; }
.how, .setup { max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.how > h2, .setup > h2 {
  margin: 0;
  font: 400 clamp(30px, 4vw, 44px)/1 var(--editorial);
  letter-spacing: -.03em;
}
.how > h2 { padding-top: 26px; }
.how, .demo { max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.how { padding-bottom: clamp(30px, 5vw, 56px); }
.demo { padding-bottom: clamp(40px, 7vw, 84px); }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin: 26px 0 0; padding: 0; list-style: none; }
.how-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-content: start; column-gap: 10px; padding: 18px 0 22px; border-top: 1px solid var(--line-soft); }
.how-num { grid-row: span 2; color: var(--accent); font: 400 20px/1.15 var(--editorial); }
.how-steps h3 { margin: 0 0 5px; font: 500 21px/1.15 var(--editorial); letter-spacing: -.01em; }
.how-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.how-more { margin: 8px 0 0; }
.how-more a, .philosophy-link { color: var(--accent); font: 700 14px/1.3 var(--ui); text-decoration: none; }
.how-more a:hover, .philosophy-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The link to the philosophy page shows on the opening page only, not while counsel check in. */
.philosophy-link { display: none; margin-right: auto; }
body:has(.landing:not([hidden])) .philosophy-link { display: inline-block; }
/* The tour of a sample mediation: its own page in a frame, as tall as most of a screen. */
.tour-frame { display: block; width: 100%; height: clamp(560px, 80vh, 840px); margin-top: 0; border: 1px solid var(--line);
  border-radius: 16px; background: #eef1ee; box-shadow: 0 18px 44px -32px var(--shadow); }
/* The opening page: a warm wash, and a misty mountain range along the bottom of the first screen that fades into the page
   below (scripts/mountains.py draws it; an inline SVG, as the security policy allows only data: images). The mediation
   room keeps the plain canvas. */
body:has(.landing:not([hidden])) { background: linear-gradient(#f6f5f0, #eef3ee 70%); }
.landing-first { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1600 420%22 preserveAspectRatio=%22xMidYMax slice%22%3E%3Cdefs%3E%3ClinearGradient id=%22fade%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%22.55%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/linearGradient%3E%3Cmask id=%22m%22%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22url%28%23fade%29%22/%3E%3C/mask%3E%3ClinearGradient id=%22mist%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23f4f4ef%22 stop-opacity=%220%22/%3E%3Cstop offset=%221%22 stop-color=%22%23f4f4ef%22 stop-opacity=%22.85%22/%3E%3C/linearGradient%3E%3CradialGradient id=%22sun%22 cx=%22.72%22 cy=%22.42%22 r=%22.32%22%3E%3Cstop offset=%220%22 stop-color=%22%23f6ecd9%22 stop-opacity=%22.9%22/%3E%3Cstop offset=%221%22 stop-color=%22%23f6ecd9%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg mask=%22url%28%23m%29%22%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22url%28%23sun%29%22/%3E%3Cpath fill=%22%23dde5e1%22 d=%22M0 420 L0 167 L6 169 L12 171 L19 173 L25 176 L31 177 L38 178 L44 181 L50 183 L56 184 L62 183 L69 185 L75 186 L81 187 L88 188 L94 189 L100 189 L106 188 L112 189 L119 189 L125 191 L131 191 L138 193 L144 194 L150 195 L156 196 L162 197 L169 198 L175 199 L181 199 L188 198 L194 198 L200 198 L206 199 L212 201 L219 202 L225 203 L231 203 L238 202 L244 203 L250 202 L256 204 L262 204 L269 205 L275 205 L281 205 L288 204 L294 204 L300 205 L306 206 L312 208 L319 209 L325 211 L331 212 L338 213 L344 214 L350 216 L356 218 L362 220 L369 221 L375 225 L381 228 L388 232 L394 234 L400 236 L406 237 L412 237 L419 236 L425 236 L431 237 L438 237 L444 237 L450 239 L456 241 L462 243 L469 244 L475 245 L481 248 L488 249 L494 252 L500 254 L506 256 L512 256 L519 258 L525 259 L531 263 L538 265 L544 267 L550 269 L556 272 L562 274 L569 277 L575 278 L581 280 L588 280 L594 282 L600 284 L606 286 L612 288 L619 288 L625 288 L631 289 L638 290 L644 292 L650 293 L656 296 L662 298 L669 302 L675 305 L681 307 L688 309 L694 310 L700 311 L706 313 L712 315 L719 318 L725 319 L731 322 L738 323 L744 326 L750 328 L756 331 L762 334 L769 338 L775 341 L781 343 L788 344 L794 346 L800 349 L806 349 L812 349 L819 348 L825 348 L831 347 L838 345 L844 343 L850 343 L856 342 L862 341 L869 340 L875 339 L881 338 L888 339 L894 339 L900 339 L906 336 L912 333 L919 330 L925 327 L931 326 L938 324 L944 320 L950 318 L956 316 L962 316 L969 314 L975 314 L981 312 L988 310 L994 307 L1000 305 L1006 303 L1012 303 L1019 301 L1025 298 L1031 296 L1038 294 L1044 293 L1050 291 L1056 290 L1062 289 L1069 288 L1075 288 L1081 286 L1088 284 L1094 281 L1100 279 L1106 276 L1112 274 L1119 272 L1125 269 L1131 267 L1138 264 L1144 263 L1150 260 L1156 257 L1162 254 L1169 252 L1175 250 L1181 249 L1188 248 L1194 246 L1200 245 L1206 244 L1212 243 L1219 242 L1225 239 L1231 237 L1238 235 L1244 234 L1250 232 L1256 231 L1262 229 L1269 227 L1275 224 L1281 222 L1288 220 L1294 216 L1300 213 L1306 212 L1312 212 L1319 211 L1325 211 L1331 210 L1338 211 L1344 211 L1350 211 L1356 210 L1362 208 L1369 208 L1375 208 L1381 208 L1388 207 L1394 209 L1400 209 L1406 209 L1412 210 L1419 208 L1425 207 L1431 206 L1438 207 L1444 208 L1450 207 L1456 207 L1462 208 L1469 208 L1475 208 L1481 206 L1488 205 L1494 204 L1500 203 L1506 202 L1512 201 L1519 199 L1525 197 L1531 195 L1538 194 L1544 191 L1550 189 L1556 186 L1562 184 L1569 182 L1575 180 L1581 178 L1588 177 L1594 176 L1600 175 L1600 420Z%22/%3E%3Crect y=%22150%22 width=%221600%22 height=%22270%22 fill=%22url%28%23mist%29%22 opacity=%22.45%22/%3E%3Cpath fill=%22%23c4d3cb%22 d=%22M0 420 L0 240 L6 241 L12 242 L19 242 L25 242 L31 242 L38 240 L44 240 L50 241 L56 241 L62 240 L69 239 L75 240 L81 238 L88 237 L94 237 L100 237 L106 236 L112 237 L119 237 L125 236 L131 236 L138 236 L144 236 L150 236 L156 237 L162 238 L169 238 L175 238 L181 239 L188 240 L194 239 L200 239 L206 239 L212 238 L219 235 L225 234 L231 234 L238 233 L244 234 L250 233 L256 234 L262 235 L269 235 L275 234 L281 236 L288 238 L294 239 L300 240 L306 241 L312 242 L319 244 L325 246 L331 248 L338 251 L344 252 L350 254 L356 256 L362 256 L369 258 L375 260 L381 259 L388 260 L394 260 L400 262 L406 263 L412 264 L419 267 L425 270 L431 273 L438 276 L444 278 L450 282 L456 283 L462 284 L469 286 L475 289 L481 292 L488 297 L494 298 L500 301 L506 305 L512 307 L519 309 L525 311 L531 313 L538 317 L544 321 L550 326 L556 326 L562 328 L569 330 L575 333 L581 336 L588 339 L594 343 L600 346 L606 346 L612 348 L619 350 L625 352 L631 354 L638 356 L644 359 L650 361 L656 363 L662 365 L669 365 L675 366 L681 367 L688 368 L694 369 L700 370 L706 374 L712 379 L719 382 L725 387 L731 391 L738 394 L744 396 L750 399 L756 401 L762 401 L769 403 L775 404 L781 406 L788 407 L794 409 L800 411 L806 409 L812 408 L819 405 L825 402 L831 400 L838 398 L844 395 L850 393 L856 392 L862 389 L869 387 L875 383 L881 381 L888 380 L894 377 L900 375 L906 374 L912 373 L919 371 L925 371 L931 371 L938 370 L944 369 L950 368 L956 368 L962 366 L969 364 L975 362 L981 360 L988 358 L994 355 L1000 352 L1006 351 L1012 349 L1019 349 L1025 349 L1031 347 L1038 346 L1044 344 L1050 344 L1056 342 L1062 342 L1069 342 L1075 340 L1081 340 L1088 341 L1094 340 L1100 340 L1106 338 L1112 336 L1119 334 L1125 332 L1131 331 L1138 331 L1144 331 L1150 330 L1156 329 L1162 329 L1169 327 L1175 326 L1181 324 L1188 321 L1194 320 L1200 318 L1206 318 L1212 315 L1219 313 L1225 311 L1231 309 L1238 306 L1244 305 L1250 302 L1256 301 L1262 298 L1269 295 L1275 294 L1281 291 L1288 289 L1294 286 L1300 282 L1306 280 L1312 276 L1319 273 L1325 272 L1331 271 L1338 270 L1344 268 L1350 266 L1356 264 L1362 262 L1369 261 L1375 261 L1381 259 L1388 258 L1394 257 L1400 256 L1406 254 L1412 255 L1419 254 L1425 253 L1431 251 L1438 249 L1444 248 L1450 246 L1456 246 L1462 247 L1469 247 L1475 247 L1481 247 L1488 248 L1494 247 L1500 248 L1506 248 L1512 248 L1519 249 L1525 249 L1531 248 L1538 247 L1544 246 L1550 244 L1556 243 L1562 241 L1569 241 L1575 241 L1581 241 L1588 241 L1594 241 L1600 241 L1600 420Z%22/%3E%3Crect y=%22185%22 width=%221600%22 height=%22235%22 fill=%22url%28%23mist%29%22 opacity=%22.45%22/%3E%3Cpath fill=%22%23a3b9ad%22 d=%22M0 420 L0 260 L6 261 L12 261 L19 262 L25 265 L31 266 L38 266 L44 266 L50 267 L56 267 L62 266 L69 267 L75 267 L81 266 L88 264 L94 261 L100 260 L106 261 L112 262 L119 263 L125 265 L131 268 L138 272 L144 276 L150 278 L156 279 L162 280 L169 281 L175 282 L181 283 L188 283 L194 284 L200 286 L206 286 L212 284 L219 283 L225 284 L231 285 L238 288 L244 289 L250 290 L256 291 L262 293 L269 296 L275 298 L281 301 L288 303 L294 305 L300 308 L306 309 L312 309 L319 308 L325 305 L331 305 L338 305 L344 306 L350 309 L356 311 L362 313 L369 315 L375 320 L381 322 L388 322 L394 324 L400 325 L406 325 L412 324 L419 327 L425 328 L431 329 L438 329 L444 329 L450 328 L456 330 L462 332 L469 335 L475 337 L481 339 L488 338 L494 338 L500 340 L506 339 L512 338 L519 338 L525 339 L531 341 L538 343 L544 342 L550 343 L556 344 L562 344 L569 347 L575 349 L581 351 L588 351 L594 351 L600 351 L606 352 L612 353 L619 353 L625 354 L631 354 L638 355 L644 354 L650 353 L656 353 L662 353 L669 353 L675 351 L681 350 L688 348 L694 348 L700 347 L706 348 L712 351 L719 353 L725 354 L731 354 L738 356 L744 355 L750 354 L756 352 L762 351 L769 351 L775 352 L781 352 L788 351 L794 349 L800 347 L806 346 L812 346 L819 345 L825 344 L831 343 L838 343 L844 344 L850 344 L856 345 L862 345 L869 345 L875 342 L881 341 L888 339 L894 338 L900 336 L906 335 L912 333 L919 334 L925 335 L931 333 L938 333 L944 334 L950 333 L956 331 L962 329 L969 327 L975 326 L981 324 L988 323 L994 324 L1000 323 L1006 324 L1012 324 L1019 324 L1025 324 L1031 323 L1038 322 L1044 321 L1050 322 L1056 320 L1062 318 L1069 317 L1075 316 L1081 317 L1088 318 L1094 318 L1100 318 L1106 315 L1112 314 L1119 312 L1125 309 L1131 307 L1138 307 L1144 303 L1150 301 L1156 302 L1162 302 L1169 303 L1175 301 L1181 302 L1188 302 L1194 300 L1200 300 L1206 297 L1212 296 L1219 292 L1225 288 L1231 287 L1238 288 L1244 286 L1250 285 L1256 283 L1262 282 L1269 282 L1275 279 L1281 277 L1288 273 L1294 273 L1300 271 L1306 268 L1312 265 L1319 261 L1325 260 L1331 258 L1338 258 L1344 258 L1350 256 L1356 255 L1362 257 L1369 256 L1375 254 L1381 254 L1388 253 L1394 251 L1400 251 L1406 250 L1412 249 L1419 248 L1425 247 L1431 246 L1438 245 L1444 245 L1450 246 L1456 246 L1462 245 L1469 242 L1475 242 L1481 241 L1488 241 L1494 243 L1500 245 L1506 242 L1512 240 L1519 238 L1525 237 L1531 232 L1538 227 L1544 224 L1550 221 L1556 220 L1562 218 L1569 216 L1575 213 L1581 215 L1588 215 L1594 213 L1600 213 L1600 420Z%22/%3E%3Crect y=%22225%22 width=%221600%22 height=%22195%22 fill=%22url%28%23mist%29%22 opacity=%22.45%22/%3E%3Cpath fill=%22%2378958a%22 d=%22M0 420 L0 276 L6 277 L12 279 L19 279 L25 281 L31 280 L38 276 L44 276 L50 276 L56 278 L62 279 L69 279 L75 278 L81 280 L88 284 L94 286 L100 289 L106 289 L112 291 L119 291 L125 290 L131 292 L138 293 L144 294 L150 296 L156 296 L162 296 L169 297 L175 298 L181 298 L188 300 L194 298 L200 298 L206 300 L212 303 L219 301 L225 303 L231 303 L238 303 L244 306 L250 306 L256 306 L262 305 L269 304 L275 305 L281 308 L288 309 L294 311 L300 311 L306 312 L312 311 L319 309 L325 310 L331 308 L338 305 L344 302 L350 301 L356 304 L362 305 L369 306 L375 309 L381 310 L388 312 L394 310 L400 310 L406 310 L412 309 L419 309 L425 311 L431 312 L438 312 L444 314 L450 316 L456 314 L462 314 L469 313 L475 310 L481 310 L488 310 L494 310 L500 312 L506 313 L512 312 L519 310 L525 308 L531 304 L538 303 L544 303 L550 301 L556 303 L562 304 L569 303 L575 303 L581 302 L588 304 L594 305 L600 306 L606 309 L612 312 L619 313 L625 313 L631 314 L638 316 L644 316 L650 316 L656 317 L662 316 L669 314 L675 313 L681 311 L688 310 L694 310 L700 310 L706 309 L712 307 L719 307 L725 306 L731 305 L738 302 L744 303 L750 304 L756 299 L762 294 L769 290 L775 288 L781 286 L788 285 L794 282 L800 281 L806 279 L812 276 L819 277 L825 275 L831 276 L838 275 L844 276 L850 277 L856 277 L862 278 L869 279 L875 278 L881 276 L888 277 L894 278 L900 280 L906 280 L912 280 L919 283 L925 283 L931 281 L938 281 L944 280 L950 281 L956 279 L962 280 L969 279 L975 276 L981 274 L988 272 L994 274 L1000 272 L1006 273 L1012 275 L1019 275 L1025 273 L1031 271 L1038 271 L1044 271 L1050 268 L1056 269 L1062 266 L1069 265 L1075 262 L1081 261 L1088 259 L1094 258 L1100 255 L1106 257 L1112 256 L1119 258 L1125 257 L1131 256 L1138 257 L1144 255 L1150 252 L1156 255 L1162 258 L1169 258 L1175 259 L1181 260 L1188 263 L1194 265 L1200 264 L1206 261 L1212 259 L1219 260 L1225 260 L1231 262 L1238 261 L1244 261 L1250 261 L1256 259 L1262 259 L1269 257 L1275 253 L1281 253 L1288 254 L1294 252 L1300 253 L1306 252 L1312 251 L1319 251 L1325 249 L1331 250 L1338 253 L1344 254 L1350 254 L1356 255 L1362 254 L1369 256 L1375 258 L1381 261 L1388 266 L1394 269 L1400 271 L1406 273 L1412 277 L1419 277 L1425 279 L1431 279 L1438 277 L1444 278 L1450 280 L1456 279 L1462 281 L1469 282 L1475 281 L1481 281 L1488 278 L1494 276 L1500 274 L1506 274 L1512 274 L1519 275 L1525 276 L1531 276 L1538 275 L1544 273 L1550 273 L1556 272 L1562 271 L1569 267 L1575 264 L1581 267 L1588 266 L1594 265 L1600 264 L1600 420Z%22/%3E%3Crect y=%22265%22 width=%221600%22 height=%22155%22 fill=%22url%28%23mist%29%22 opacity=%22.45%22/%3E%3Cpath fill=%22%2348645a%22 d=%22M0 420 L0 335 L6 334 L12 332 L19 334 L25 335 L31 333 L38 329 L44 330 L50 329 L56 330 L62 329 L69 328 L75 327 L81 326 L88 324 L94 325 L100 326 L106 326 L112 329 L119 333 L125 334 L131 333 L138 332 L144 331 L150 334 L156 336 L162 336 L169 340 L175 341 L181 343 L188 346 L194 352 L200 354 L206 353 L212 354 L219 352 L225 348 L231 349 L238 348 L244 347 L250 346 L256 348 L262 351 L269 352 L275 356 L281 355 L288 353 L294 353 L300 355 L306 357 L312 359 L319 359 L325 359 L331 361 L338 365 L344 367 L350 370 L356 368 L362 369 L369 372 L375 373 L381 376 L388 377 L394 381 L400 386 L406 387 L412 391 L419 392 L425 391 L431 394 L438 398 L444 404 L450 408 L456 411 L462 412 L469 415 L475 418 L481 418 L488 419 L494 422 L500 424 L506 427 L512 428 L519 428 L525 427 L531 425 L538 423 L544 422 L550 422 L556 422 L562 421 L569 420 L575 419 L581 420 L588 425 L594 426 L600 427 L606 428 L612 430 L619 430 L625 432 L631 433 L638 434 L644 437 L650 437 L656 436 L662 435 L669 436 L675 437 L681 438 L688 439 L694 440 L700 438 L706 439 L712 437 L719 439 L725 438 L731 438 L738 441 L744 441 L750 441 L756 439 L762 438 L769 433 L775 428 L781 427 L788 427 L794 424 L800 421 L806 422 L812 421 L819 420 L825 418 L831 416 L838 418 L844 417 L850 417 L856 417 L862 416 L869 417 L875 419 L881 422 L888 426 L894 427 L900 429 L906 433 L912 436 L919 435 L925 437 L931 434 L938 434 L944 432 L950 434 L956 431 L962 432 L969 435 L975 436 L981 437 L988 441 L994 443 L1000 446 L1006 444 L1012 443 L1019 443 L1025 441 L1031 442 L1038 441 L1044 437 L1050 436 L1056 437 L1062 440 L1069 440 L1075 441 L1081 440 L1088 442 L1094 443 L1100 443 L1106 445 L1112 443 L1119 442 L1125 442 L1131 442 L1138 440 L1144 438 L1150 437 L1156 438 L1162 435 L1169 432 L1175 430 L1181 430 L1188 428 L1194 425 L1200 425 L1206 423 L1212 422 L1219 418 L1225 417 L1231 415 L1238 412 L1244 411 L1250 410 L1256 410 L1262 412 L1269 411 L1275 411 L1281 407 L1288 403 L1294 401 L1300 401 L1306 401 L1312 398 L1319 396 L1325 398 L1331 398 L1338 400 L1344 403 L1350 403 L1356 402 L1362 399 L1369 400 L1375 402 L1381 402 L1388 405 L1394 406 L1400 408 L1406 404 L1412 400 L1419 397 L1425 395 L1431 392 L1438 389 L1444 387 L1450 386 L1456 386 L1462 382 L1469 381 L1475 384 L1481 383 L1488 379 L1494 377 L1500 376 L1506 377 L1512 375 L1519 376 L1525 373 L1531 373 L1538 370 L1544 371 L1550 372 L1556 372 L1562 370 L1569 365 L1575 363 L1581 363 L1588 363 L1594 359 L1600 357 L1600 420Z%22/%3E%3C/g%3E%3C/svg%3E") center bottom / max(100%, 1150px) auto no-repeat; }
.setup { display: flex; flex-direction: column; align-items: center; text-align: center; }
.setup .setup-open { min-height: 56px; margin-top: 6px; padding: 14px 34px; border-radius: 14px; font-size: 17px; }
.learn-more { margin-top: 12px; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.learn-more:hover { color: var(--accent); text-decoration-color: currentColor; }
/* The walkthrough's heading, centered above its frame. */
.demo-head { max-width: 640px; margin: 0 auto; padding: clamp(18px, 4vw, 40px) 0 clamp(18px, 2.6vw, 28px); text-align: center; }
.demo-eyebrow { margin: 0 0 8px; color: var(--accent); }
.demo-head h2 { margin: 0; font: 400 clamp(30px, 4vw, 44px)/1.05 var(--editorial); letter-spacing: -.03em; }
.demo-deck { margin: 12px auto 0; color: var(--muted); font-size: 15px; line-height: 1.55; text-wrap: balance; }
.form-group { min-width: 0; margin: 0 0 8px; padding: 0; border: 0; }
.form-group legend { margin: 0 0 14px; padding: 0; color: var(--ink); font: 500 20px/1.2 var(--editorial); letter-spacing: -.01em; }
.setup-dialog { width: min(600px, calc(100vw - 32px)); }
.setup-dialog .form-group + .form-group { margin-top: 6px; }
.when-zone { margin: -8px 0 0; font-size: 12.5px; }
.co-row { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 0 8px; align-items: start; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.co-row .co-remove { margin-top: 26px; }
.add-attorney { margin: -4px 0 6px -10px; color: var(--accent); }
.add-attorney[hidden] { display: none; }
.link-person + .link-person { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.setup-dialog input[type="date"], .setup-dialog input[type="time"] { min-height: 46px; }

/* Links */
.links-when { margin-top: 2px; color: var(--ink); font-size: 18px; }
.links-emailed { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.links { display: grid; gap: 14px; margin-top: 30px; }
.link-card { padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.link-role { margin: 0; color: var(--accent); font: 600 11.5px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.link-name { margin: 6px 0 14px; font: 400 24px/1.15 var(--editorial); letter-spacing: -.015em; overflow-wrap: anywhere; }
.link-name span { color: var(--muted); font: 400 14px/1.4 var(--ui); letter-spacing: 0; }
.link-row { display: flex; gap: 10px; align-items: stretch; }
.link-row input { flex: 1; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.link-row .primary-button { min-width: 88px; }
.early-when { margin: 10px 0 22px; color: var(--ink); font: 400 clamp(24px, 3.6vw, 32px)/1.25 var(--editorial); letter-spacing: -.015em; text-wrap: balance; }
.link-copied { margin: 8px 0 0; min-height: 0; color: var(--accent); font-size: 13px; }
.link-copied:empty { display: none; }

/* Check-in and lobby */
.identity { margin-top: 30px; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.identity-question { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.identity-name { display: block; margin-top: 4px; color: var(--ink); font: 400 25px/1.2 var(--editorial); letter-spacing: -.015em; overflow-wrap: anywhere; }
.checkin-form { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.checkin-form h2 { margin: 0 0 20px; font: 400 30px/1.1 var(--editorial); letter-spacing: -.02em; }
.checkin-form .check { margin-top: 4px; }
.ai-disclosure-step { margin-top: 28px; }
.ai-disclosure-step h2 { margin: 2px 0 4px; color: var(--navy); font: 400 26px/1.25 var(--editorial); }
.ai-disclosure-text { max-height: min(52vh, 460px); overflow-y: auto; margin: 14px 0 16px; padding: 4px 18px 6px;
  border: 1px solid var(--line, rgba(127, 127, 127, .3)); border-radius: 10px; font-size: 14.5px; line-height: 1.6; }
.ai-disclosure-text h3 { margin: 14px 0 4px; font-size: 15px; }
.ai-disclosure-text p { margin: 0 0 8px; }
.ai-disclosure-summary { margin: 12px 0 6px; padding: 10px 14px; border-left: 3px solid var(--navy); background: var(--panel); }
.ai-disclosure-summary ul { margin: 4px 0 8px; padding-left: 20px; }
.ai-disclosure-summary li { margin: 0 0 4px; }
.consent-check { margin: 0 0 4px; }
.disclosure-view .ai-disclosure-step { margin-top: 0; }
.disclosure-view h1 { margin-bottom: 8px; }
.disclosure-view h1 + .fine { margin: 0 0 18px; }
.disclosure-view .ai-disclosure-text { max-height: none; overflow: visible; }   /* on its own page, the page scrolls */
.checkin-card[hidden], .checkin-terms[hidden] { display: none; }
.checkin-card .identity-question { margin-bottom: 22px; }
.checkin-card .form-actions { margin-top: 20px; }
.code-field { margin-bottom: 12px; }
.code-input { max-width: 230px; font: 500 26px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .28em; }
.code-input::placeholder { font: 400 15px/1.45 var(--ui); letter-spacing: 0; }
.code-where { padding: 14px 16px; border: 1px dashed var(--line-warm); border-radius: 11px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.code-where p { margin: 0; }
.code-where strong { color: var(--ink); font-weight: 600; }
.code-where .code-where-title { margin-bottom: 4px; color: var(--accent); font: 600 11.5px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.code-where dl { display: grid; gap: 3px; margin: 10px 0; }
.code-where dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
.code-where dt { color: var(--faint); }
.code-where dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.code-where .fine { margin: 0; }
.checkin-terms { margin-top: 18px; }
.checkin-terms .fine + .fine { margin-top: 8px; }
.link-code { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.link-code strong { color: var(--ink); font: 600 17px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; }
.lobby-presence { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.lobby-presence li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.lobby-presence .who { flex: 1; min-width: 0; }
.lobby-presence .who strong { display: block; font: 400 21px/1.2 var(--editorial); overflow-wrap: anywhere; }
.lobby-presence .who span { color: var(--muted); font-size: 13.5px; }
.lobby-presence .state { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.lobby-presence .is-here .state { color: var(--accent); }
.dot { flex: none; display: inline-block; width: 9px; height: 9px; border: 1.5px solid var(--faint); border-radius: 50%; }
.is-here .dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* The workspace fills the window; its thread and side panel scroll on their own. */
body.in-workspace { overflow: hidden; }
body.in-workspace .app { height: 100vh; height: 100dvh; min-height: 0; }
body.in-workspace .topbar { display: none; }
.workspace { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.ws-header { flex: none; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: 13px var(--gutter); border-bottom: 1px solid var(--line); }
.ws-header .wordmark { flex: none; }
.ws-case { flex: 1; min-width: 0; padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.ws-case h1 { margin: 0; font: 400 clamp(22px, 2.3vw, 29px)/1.12 var(--editorial); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-meta { margin: 3px 0 0; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-meta .you { color: var(--accent); }
.ws-meta .sep::before { content: "·"; margin: 0 7px; color: var(--faint); }
.ws-status { flex: none; display: flex; align-items: center; gap: clamp(12px, 1.8vw, 22px); }
.clock { display: flex; align-items: baseline; gap: 8px; }
.clock[hidden] { display: none; }
.clock-label { color: var(--muted); font: 400 13px/1 var(--ui); }
.clock-time { color: var(--brand-ink); font: 600 19px/1 var(--ui); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.clock.is-short .clock-time { color: #a3612f; }      /* the last 15 minutes */
.clock.is-over .clock-time { color: var(--muted); }   /* past the end: no alarm, the mediation goes on */
.presence[hidden], .stepper[hidden] { display: none; }
/* Files dragged over the caucus: a dashed outline and a note, until they're dropped or dragged away. */
.caucus-pane.is-dropping::after { content: "Drop files to send them to Marty"; position: absolute; inset: 10px; z-index: 5;
  display: grid; place-items: center; border: 2px dashed var(--brand-green); border-radius: 16px;
  background: rgba(238, 244, 240, .92); color: var(--brand-ink); font: 400 20px/1.3 var(--editorial); pointer-events: none; }
/* Without the wordmark, the case's name starts the header. */
.ws-header .ws-case { padding-left: 0; border-left: 0; }
.presence { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.presence li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.presence .who-word { color: var(--muted); }
.presence .is-you { color: var(--ink); }

.stepper { flex: none; display: flex; align-items: center; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.stepper ol { flex: 1; display: flex; align-items: center; margin: 0; padding: 0; list-style: none; min-width: 0; }
.step { flex: 1 1 0; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 11px 0; color: var(--faint); font-size: 13px; white-space: nowrap; }
.step:last-child { flex: none; }
.step:not(:last-child)::after { content: ""; flex: 1; min-width: 12px; height: 1px; margin: 0 12px 0 3px; background: var(--line); }
.step-mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; font: 500 11px/1 var(--ui); font-variant-numeric: tabular-nums; }
.step-mark svg { width: 12px; height: 12px; stroke-width: 2.2; }
.step.is-done { color: var(--muted); }
.step.is-done .step-mark { border-color: var(--line-warm); color: var(--accent); }
.step.is-done:not(:last-child)::after { background: var(--line-warm); }
.step.is-current { color: var(--ink); font-weight: 500; }
.step.is-current .step-mark { border-color: var(--ink); background: var(--ink); color: var(--canvas); }
.step.is-skipped .step-label { text-decoration: line-through; text-decoration-color: var(--line-warm); }
.step.is-skipped .step-mark { border-style: dashed; }
.step.is-ended .step-mark { border-color: var(--error-line); background: var(--error-bg); color: var(--error); }
.stepper-current { display: none; }

.pane-tabs { flex: none; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.pane-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; }
.pane-tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.tab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.ws-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(350px, 31vw, 430px); }
.caucus-pane { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.thread-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-warm) transparent; }
.thread-inner { max-width: calc(var(--read) + 2 * var(--gutter)); margin: 0 auto; padding: 8px var(--gutter) 26px; }
.caucus-label { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 10px; padding: 10px var(--gutter); border-bottom: 1px solid var(--line-soft); background: var(--canvas); color: var(--muted); font-size: 12.5px; text-align: center; }
.caucus-label svg { width: 15px; height: 15px; color: var(--accent); }
.side-pane { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-warm) transparent; border-left: 1px solid var(--line); background: var(--side); }

/* The thread: the mediator's words in the page's ink, counsel's in a bubble, the platform's centered and quiet. */
.thread { overflow-wrap: anywhere; }
.msg { margin: 0 0 28px; }
.byline { display: flex; align-items: baseline; gap: 9px; margin: 0 0 7px; color: var(--faint); font-size: 12px; }
.byline-name { color: var(--accent); font: 600 11px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.msg-body { color: var(--ink); font-size: 15.5px; line-height: 1.7; }
.msg-body p { margin: 0 0 12px; white-space: pre-line; }
.msg-body p:last-child, .msg-body ul:last-child { margin-bottom: 0; }
.msg-body ul { margin: 0 0 12px; padding-left: 21px; }
.msg-body li { margin: 3px 0; padding-left: 3px; white-space: pre-line; }
.msg-body li::marker { color: var(--accent); }
.msg-counsel { display: flex; flex-direction: column; align-items: flex-end; }
.msg-counsel .byline { justify-content: flex-end; }
.msg-counsel .byline-name { color: var(--muted); }
/* A colleague's message on a side with co-counsel: named, with a quieter bubble than this attorney's own. */
.msg-colleague .byline-name { color: var(--brand-ink); }
.msg-colleague .bubble { background: #eef4f0; border-color: #d6e4dc; }
.bubble { max-width: min(86%, 620px); padding: 12px 16px; border: 1px solid var(--line-soft); border-radius: 16px 16px 4px 16px; background: var(--panel); color: var(--ink); font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.bubble .chips { margin: 0 0 8px; }
.bubble-note { margin: 0; }
.bubble-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; white-space: normal; }
.thread-notice { max-width: 560px; margin: 20px auto; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; white-space: pre-line; }
.thread-notice .when { color: var(--faint); margin-left: 6px; }
.thread-phase { display: flex; align-items: center; gap: 14px; margin: 30px 0 22px; color: var(--accent); font: 600 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; }
.thread-phase::before, .thread-phase::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.thread-doc { display: flex; justify-content: flex-end; margin: 0 0 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 32px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--field); color: var(--muted); font-size: 13px; line-height: 1.35; white-space: normal; }
.chip svg { width: 15px; height: 15px; color: var(--accent); }
.chip-name { color: var(--ink); overflow-wrap: anywhere; }
.chip-meta { color: var(--faint); white-space: nowrap; }
.chip.is-uploading::before { content: ""; flex: none; width: 11px; height: 11px; border: 1.5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.chip.is-waiting { color: var(--faint); }
.chip.is-failed { border-color: var(--error-line); background: var(--error-bg); color: var(--error); }
.chip button { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-right: -4px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
.chip button:hover { background: var(--hover); color: var(--ink); }
.chip button svg { width: 13px; height: 13px; color: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Moves and disclosures in the thread: compact, centered records the other side also has. */
.thread-event { max-width: 560px; margin: 22px auto; padding: 14px 18px 15px; border: 1px solid var(--line); border-radius: 13px; text-align: center; }
.event-kicker { margin: 0 0 6px; color: var(--muted); font: 600 10.5px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.event-kicker .when { color: var(--faint); font-weight: 400; letter-spacing: 0; text-transform: none; margin-left: 4px; }
.event-line { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.5; }
.event-line .amount { font: 500 19px/1.2 var(--editorial); white-space: nowrap; }
.event-note { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.event-quote { margin: 12px 0 0; padding: 0 0 0 13px; border-left: 2px solid var(--line-warm); color: var(--ink); font: 400 16px/1.5 var(--editorial); text-align: left; white-space: pre-line; }
.event-quote-label { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: left; }
.event-quote-label + .event-quote { margin-top: 5px; }
.thread-event.is-theirs { border-color: var(--line-warm); background: var(--theirs); }
.thread-event.is-shared { text-align: left; }

/* Cards: the mediator's structured work inside the caucus. Open ones take a warm edge; closed ones go quiet. */
.msg-cards:empty { display: none; }
.card { margin: 16px 0 0; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.card.is-open { border-color: var(--line-warm); box-shadow: 0 0 0 1px var(--accent-soft); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.card-kind { margin: 0; color: var(--accent); font: 600 11px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.card.is-closed .card-kind { color: var(--muted); }
.card-status { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.card-status.is-good { border-color: var(--line-warm); color: var(--accent); }
.card-toggle { flex: none; margin: -6px -8px -6px 0; min-height: 32px; padding: 4px 8px; font-size: 12.5px; }
.card-head-end { display: flex; align-items: center; gap: 8px; }
.card-intro { margin: 0 0 12px; color: var(--muted); }
.card.is-past { padding-bottom: 16px; }
.card.is-past.is-collapsed { padding: 9px 12px; border-color: var(--line-soft); border-radius: 8px; background: transparent; }
.card.is-past.is-collapsed .card-head { margin-bottom: 0; }
.card.is-past.is-collapsed .card-body { display: none; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.card-actions .fine { margin: 0; }
.card-error { margin: 12px 0 0; }
.card .field { margin: 12px 0 0; }
/* No size here: the fields' own 15px (16px on phones, so iOS doesn't zoom) and the request's editorial 16.5px apply. */
.card textarea { resize: none; }

.topic-group { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 0 18px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.topic-group:first-child { border-top: 0; padding-top: 2px; }
/* Each topic's name as a small spaced label in the brand's green, so the card reads down its left edge at a glance. */
.topic-label { margin: 0; padding-top: 4px; color: var(--brand-ink); font: 700 11px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.topic-points { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.55; }
.topic-points li { position: relative; margin: 0 0 7px; padding-left: 14px; }
.topic-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-green); }
.topic-points li:last-child { margin-bottom: 0; }
.gaps { margin-top: 12px; padding: 13px 15px; border: 1px dashed var(--line); border-radius: 10px; }
.gaps h3 { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.gaps ul { margin: 0; padding-left: 18px; color: var(--muted); }
.gaps li { margin: 3px 0; }

.checklist { margin: 0; padding: 0; list-style: none; }
.check-point { padding: 12px 0 12px 14px; border-top: 1px solid var(--line-soft); box-shadow: inset 2px 0 0 transparent; }
.check-point.is-checked { box-shadow: inset 2px 0 0 var(--accent); }
.check-point:first-child { border-top: 0; }
.check-point .topic-label { margin-bottom: 4px; padding: 0; font-size: 12px; }
.check-text { margin: 0 0 9px; }
.check-point .check { color: var(--muted); font-size: 13.5px; }
.check-point.is-checked .check { color: var(--accent); }
.check-point.is-checked .check-text { color: var(--ink); }
.share-state { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: 13px; }
.share-state.is-shared { color: var(--accent); }
.share-state svg { width: 14px; height: 14px; }

.range { margin: 0; font: 400 clamp(30px, 3.6vw, 42px)/1.05 var(--editorial); letter-spacing: -.025em; }
.range-caption { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.assessment-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.assessment-meta strong { color: var(--ink); font-weight: 500; }
.basis { margin-top: 14px; }
.basis p { margin: 0 0 10px; white-space: pre-line; }
.factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.factors h3, .comparables-head h3, .questions-list h3 { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.factors ul { margin: 0; padding-left: 18px; }
.factors li { margin: 3px 0; }
.factor-up li::marker { content: "+  "; color: var(--accent); }
.factor-down li::marker { content: "−  "; color: var(--muted); }
.comparables { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.comparables-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.comparables-head h3 { margin: 0; }
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border: 1px solid var(--line-warm); border-radius: 999px; color: var(--accent); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
.data-note { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.comparable-list { margin: 10px 0 0; padding: 0; list-style: none; }
.comparable { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.comparable-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.comparable-title { font-weight: 500; overflow-wrap: anywhere; }
.comparable-amount { flex: none; font: 500 18px/1.2 var(--editorial); }
.comparable p { overflow-wrap: anywhere; }
.comparable-adjusted { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.comparable-meta { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.comparable-injury { margin: 4px 0 0; color: var(--ink); font-size: 14px; }
.comparable-notes { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
/* Each dataset's attribution, under its records. */
.data-source { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.data-source + .data-source { margin-top: 4px; }

.questions-list { margin: 0; padding: 0; list-style: none; counter-reset: q; }
.question { padding: 12px 0; border-top: 1px solid var(--line-soft); counter-increment: q; }
.question:first-child { border-top: 0; padding-top: 2px; }
.question-text { display: flex; gap: 10px; margin: 0; }
.question-text::before { content: counter(q) "."; flex: none; min-width: 16px; color: var(--accent); font-variant-numeric: tabular-nums; }
.question .field { margin: 9px 0 0 26px; }
.question .field textarea { min-height: 64px; }

.request-label { margin: 0 0 8px; color: var(--ink); font: 400 19px/1.3 var(--editorial); }
.request-text { overflow: hidden; resize: none; font: 400 16.5px/1.55 var(--editorial); }
.request-count { margin: 6px 0 0; color: var(--faint); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.request-count.is-over { color: var(--error); }
.request-why { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--field); color: var(--muted); font-size: 14px; }
.request-why strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 12.5px; font-weight: 500; }
.request-final { margin: 0; padding: 0 0 0 13px; border-left: 2px solid var(--accent); font: 400 17px/1.55 var(--editorial); white-space: pre-line; }
.request-final.is-declined { border-left-color: var(--line); color: var(--muted); }

/* A suggested message: the words in counsel's voice, why, and Use; once used, where they are and Remove. */
.suggestion-text { margin: 0; padding: 0 0 0 13px; border-left: 2px solid var(--accent); font: 400 17px/1.55 var(--editorial); white-space: pre-line; }
.suggestion-text.is-declined { border-left-color: var(--line); color: var(--muted); }
.suggestion-why { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--field); color: var(--muted); font-size: 14px; }
.suggestion-why strong { color: var(--ink); font-size: 12.5px; font-weight: 500; }
.suggestion-in-use { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.suggestion-placed { margin: 0; color: var(--accent); font-size: 14px; font-weight: 500; }
.suggestion-fine { margin-top: 10px; }
.card-move_message .card-actions { margin-top: 16px; }

/* Version 2. A reply presenting the other side's note says so in its byline. */
.byline-label { color: var(--muted); font-size: 12px; }
/* This side's notes and brief: a collapsed, muted line under the reply that passed it, opening to its words. */
.thread-line { margin: -16px 0 24px; }
.line-head { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 0 0 0 -8px; padding: 4px 8px; border: 0; border-radius: 7px; background: transparent; color: var(--faint); font-size: 12.5px; line-height: 1.45; text-align: left; }
.line-head .when { color: var(--faint); }
.line-toggle:hover { color: var(--muted); background: var(--hover); }
.line-toggle svg { width: 13px; height: 13px; }
.line-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.line-body { margin: 6px 0 0; padding: 2px 0 2px 13px; border-left: 2px solid var(--line-warm); }
.line-words { margin: 0; color: var(--muted); font: 400 15.5px/1.55 var(--editorial); white-space: pre-line; overflow-wrap: anywhere; }
.line-body .topics { color: var(--muted); font-size: 14px; }

/* The shared assessment, the same card on both pages. */
.shared-assessment { margin: 24px 0 28px; }
.assessment-label { margin: 0; color: var(--brand-ink); font: 400 20px/1.25 var(--editorial); letter-spacing: -.01em; }
.assessment-amount { margin-top: 4px; }
/* Each side in a panel of its own; inside it, strengths and weaknesses set apart by their marks. */
.assessment-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.assessment-side { padding: 14px 16px 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: #f6f8f6; }
.assessment-side-name { margin: 0 0 2px; color: var(--brand-ink); font: 400 17px/1.2 var(--editorial); letter-spacing: 0; text-transform: none; }
.assessment-points-title { margin: 12px 0 5px; color: var(--muted); font: 700 10.5px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.assessment-points ul { margin: 0; padding: 0; list-style: none; }
.assessment-points li { position: relative; margin: 0 0 6px; padding-left: 20px; font-size: 14.5px; line-height: 1.5; }
.assessment-points li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.assessment-points.is-strong li::before { content: "+"; color: var(--brand-green); }
.assessment-points.is-weak li::before { content: "−"; color: #b0704a; }
.assessment-how { margin-top: 16px; padding: 2px 0 2px 14px; border-left: 3px solid var(--brand-green); }
.assessment-how .assessment-points-title { margin-top: 0; }
.assessment-explanation p { margin: 0 0 8px; white-space: pre-line; font-size: 15px; line-height: 1.6; }
.assessment-explanation p:last-child { margin-bottom: 0; }

/* A Ready-to-send card: the move and its amount, the words that go with it, and Review and send. */
.ready-name { margin: 0; color: var(--muted); font-size: 13.5px; }
.ready-amount { margin: 2px 0 14px; font: 400 clamp(32px, 4vw, 42px)/1.05 var(--editorial); letter-spacing: -.025em; }
.ready-reads { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; }
.ready-pair { margin: 4px 0 2px; font: 400 clamp(19px, 2.4vw, 23px)/1.35 var(--editorial); letter-spacing: -.01em; }
.ready-mid { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.ready-pair .amount { white-space: nowrap; }
.ready-why { margin-top: 12px; }
.card-move_message .ready-fine-print { margin-top: 10px; }

/* What counsel asked to keep confidential: the card, the list above the documents, and the summary's locks. */
.kept-item { margin: 0; font: 400 17px/1.5 var(--editorial); overflow-wrap: anywhere; }
.kept-detail { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.card-confidential .card-actions { margin-top: 10px; }
.kept-release { margin-left: -10px; }
.kept-released { margin: 10px 0 0; }
.kept-tag { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12px; white-space: nowrap; }
.kept-tag svg { width: 13px; height: 13px; }
/* A point counsel asked to keep after its brief was fixed at Ready with it in: no lock, since it goes (went) anyway. */
.kept-tag.is-sent { color: var(--muted); white-space: normal; }

/* The settlement, inline under the mediator's message about it. */
.settlement { margin: 16px 0 0; padding: 22px 22px 22px; border: 1px solid var(--accent); border-radius: 16px; background: var(--tint); }
.settlement .card-kind { color: var(--accent); }
.settlement-amount { margin: 8px 0 4px; font: 400 clamp(34px, 6vw, 60px)/1 var(--editorial); letter-spacing: -.035em; white-space: nowrap; }
.settlement-via { margin: 6px 0 4px; color: var(--accent); font-size: 14px; font-weight: 500; }
.settlement-when { margin: 0; color: var(--muted); font-size: 13.5px; }

/* The late game. The check's result, as a record both sides have (each in its own figures), and the mediator's
   proposal, the platform's number for both sides, in the thread and in the negotiation panel. */
.late-event .event-kicker { text-align: left; }
.check-title { margin: 0 0 6px; color: var(--ink); font: 400 20px/1.25 var(--editorial); letter-spacing: -.01em; }
.check-result .late-text:last-child { margin-bottom: 0; }
.late-text { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.late-text .amount { color: var(--ink); font: 500 17px/1.2 var(--editorial); white-space: nowrap; }
.late-strong { color: var(--ink); font-weight: 700; }
.adjourn-block { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.adjourn-block.is-adjourned { border-color: var(--accent-line); background: var(--tint); }
.adjourn-title { margin: 0 0 4px; color: var(--ink); font: 400 18px/1.35 var(--editorial); }
.proposal-card { margin: 24px 0 28px; padding: 20px 22px 22px; border: 1px solid var(--accent); border-radius: 16px; background: var(--tint); font-size: 14.5px; line-height: 1.6; }
.proposal-card.in-panel { margin: 0; padding: 16px 16px 18px; border-radius: 12px; }
.proposal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.proposal-amount { margin: 8px 0 10px; font: 400 clamp(40px, 5.4vw, 54px)/1 var(--editorial); letter-spacing: -.035em; }
.in-panel .proposal-amount { font-size: 38px; }
.proposal-about { margin: 0; color: var(--muted); font-size: 14px; }
.proposal-label { margin: 14px 0 6px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.proposal-why { margin: 0; padding: 0 0 0 13px; border-left: 2px solid var(--line-warm); color: var(--ink); font: 400 16.5px/1.55 var(--editorial); white-space: pre-line; overflow-wrap: anywhere; }
.proposal-comparables { margin-top: 14px; }
.proposal-comparables .comparables-head .proposal-label { margin: 0; }
.proposal-comparables .comparable-list { margin-top: 8px; }
.proposal-terms { margin: 16px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.proposal-terms li { margin: 0 0 6px; }
.proposal-terms li::marker { color: var(--accent); }
.proposal-state { margin: 16px 0 0; padding: 11px 13px; border: 1px solid var(--line-warm); border-radius: 10px; background: var(--panel); color: var(--ink); font-size: 14px; }
.proposal-card .card-actions { margin-top: 14px; }
.confirmations { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.confirmation { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.confirmation-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.confirmation-who { color: var(--ink); font-weight: 500; }
.confirmation-state { color: var(--faint); font-size: 13px; }
.confirmation.is-confirmed .confirmation-state { color: var(--accent); }
.confirmation-note-label { margin: 10px 0 4px; color: var(--muted); font-size: 12.5px; }
.confirmation-note { margin: 0; padding-left: 12px; border-left: 2px solid var(--line-warm); white-space: pre-line; }
.settlement .field { margin-top: 18px; }
.settlement-fine { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

/* The mediator at work: its activity word and the draft so far. */
.working { margin: 0 0 24px; }
.working-activity { color: var(--muted); font-size: 12.5px; }
.working-activity::after { content: "…"; display: inline-block; animation: breathe 1.4s ease infinite; }
.draft:empty { display: none; }
.draft > :last-child::after { content: ""; display: inline-block; width: 6px; height: 15px; margin-left: 3px; vertical-align: -2px; border-radius: 2px; background: var(--accent); animation: blink 1s ease infinite; }
@keyframes blink { 50% { opacity: .25; } }

.ended-banner { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 16px; padding: 12px var(--gutter) 13px; border-bottom: 1px solid var(--error-line); background: var(--error-bg); }
.ended-banner h2 { margin: 0; color: var(--error-ink); font: 400 20px/1.25 var(--editorial); }
.ended-banner p { min-width: 0; margin: 0; color: var(--error-ink); font-size: 14px; overflow-wrap: anywhere; }
/* The reason as written, line breaks included, to three lines: it is the other side's text, up to 500 characters, and
   the banner sits above the caucus, which must stay in view. The whole reason is in the thread's notice. */
.ended-banner .ended-text { white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.ended-banner .fine { color: var(--muted); font-size: 13px; }

.connection { position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 13px; box-shadow: 0 6px 24px var(--shadow); }
.jump-latest { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--dock-height, 150px) + 12px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line-warm); border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 13px; box-shadow: 0 6px 24px var(--shadow); }
.jump-latest svg { width: 15px; height: 15px; }

/* The composer, docked under the thread. */
.dock { flex: none; padding: 12px var(--gutter) 18px; }
.dock-inner { max-width: var(--read); margin: 0 auto; }
.dock-prompt { display: flex; align-items: center; gap: 16px; margin: 0 0 10px; padding: 12px 14px 12px 18px; border: 1px solid var(--accent); border-radius: 13px; background: var(--tint); }
.dock-prompt p { flex: 1; margin: 0; color: var(--muted); font-size: 14px; }
.dock-prompt-text { flex: 1; min-width: 0; }
.dock-prompt .ready-fine { margin-top: 4px; color: var(--faint); font-size: 12.5px; }   /* version 2: what Ready sends */
.dock-prompt strong { color: var(--ink); font-weight: 500; }
.composer { padding: 12px 12px 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }   /* its text area draws no ring of its own */
.composer textarea { min-height: 48px; max-height: min(260px, 34dvh); padding: 6px 2px 8px; border: 0; border-radius: 0; background: transparent; resize: none; font-size: 15.5px; line-height: 1.55; box-shadow: none; }
.composer textarea:focus { box-shadow: none; }
.composer textarea:disabled { color: var(--muted); }
.composer-tools { display: flex; align-items: center; gap: 4px; }
.tool-button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.tool-button:hover:not(:disabled) { background: var(--hover); color: var(--ink); }
.tool-button:disabled { opacity: .45; }
.tool-button svg { width: 17px; height: 17px; }
.send { margin-left: auto; min-height: 38px; padding: 7px 18px; border: 0; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; }
.send:hover:not(:disabled) { background: var(--accent-hover); }
.send:disabled { background: var(--hover); color: var(--faint); }
.composer-status { margin: 4px 2px 0; color: var(--muted); font-size: 12.5px; }
.composer-status:empty { display: none; }
.composer-status.is-error { color: var(--error); }
.pending-docs { margin: 0 0 10px; padding: 12px 12px 12px 14px; border: 1px solid var(--line-warm); border-radius: 12px; background: var(--field); }
.pending-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pending-title { margin: 0; color: var(--ink); font-size: 14px; font-weight: 500; }
.pending-docs .fine { margin-top: 8px; font-size: 12.5px; }
.uploads { margin: 0 0 8px; }

/* The side panel: negotiation, what's been shared, documents. */
.panel { padding: 22px clamp(18px, 2vw, 26px) 26px; border-bottom: 1px solid var(--line); }
.panel:last-child { border-bottom: 0; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.panel h2 { margin: 0; font: 400 25px/1.1 var(--editorial); letter-spacing: -.02em; }
.panel-meta { margin: 0; color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sub-head { margin: 16px 0 6px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.panel .sub-head:first-of-type { margin-top: 0; }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.panel-actions .fine { margin: 0; }
.panel-note { margin: 0; color: var(--muted); font-size: 14px; }

.turn { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.turn.is-yours { color: var(--ink); font-weight: 500; }
.turn.is-yours .dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
/* Version 2: what is waiting, under the turn's line ("Your demand of $480,000 is with them."). */
.turn-note { margin: -6px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.turn-note + .turn-note { margin-top: -8px; }
.turn-note .amount { color: var(--ink); font: 500 16px/1.2 var(--editorial); white-space: nowrap; }
.turn-wait { margin-bottom: 14px; }
.neg-actions .quiet-button { justify-content: center; }
.positions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.position { min-width: 0; padding: 13px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); container-type: inline-size; }
.position.is-you { border-color: var(--line-warm); }
.position-label { margin: 0; color: var(--muted); font: 600 10.5px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.position.is-you .position-label { color: var(--accent); }
/* An amount never breaks across lines: it shrinks with its card instead (cqi: the card's own width), so
   "$10,000,000" fits a narrow card. */
.position-amount { margin: 6px 0 0; font: 400 clamp(15px, 13.5cqi, 28px)/1.05 var(--editorial); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: lining-nums; }
.position-amount.is-none { color: var(--faint); }
.position-kind { margin: 3px 0 0; color: var(--faint); font-size: 12.5px; }
.gap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 13.5px; }
.gap strong { color: var(--ink); font: 400 21px/1.1 var(--editorial); white-space: nowrap; }
.pending-bracket { margin: 14px 0 0; padding: 15px 16px; border: 1px solid var(--accent); border-radius: 12px; background: var(--tint); }
.pending-bracket.is-yours { border-color: var(--line-warm); background: var(--panel); }
.pending-bracket p { margin: 0; }
.pending-bracket .pb-terms { margin-top: 4px; color: var(--ink); font: 400 17px/1.45 var(--editorial); }
.pending-bracket .pb-mid { margin-top: 6px; color: var(--muted); font-size: 13px; }
.neg-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.neg-actions button { width: 100%; white-space: normal; text-align: center; }   /* a long move label wraps */
.neg-actions:empty { display: none; }
.neg-waiting { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.end-row { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-start; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.end-row .quiet-button { padding-left: 0; padding-right: 0; }
.end-row .quiet-button:hover { padding-left: 10px; padding-right: 10px; margin-left: -10px; }
.settled-summary { padding: 15px 16px; border: 1px solid var(--accent); border-radius: 12px; background: var(--tint); }
.settled-summary .position-label { color: var(--accent); }
.settled-summary { container-type: inline-size; }
.settled-summary .settled-amount { margin: 6px 0 2px; font: 400 clamp(22px, 13cqi, 36px)/1 var(--editorial); letter-spacing: -.03em; white-space: nowrap; }
.settled-summary p { margin: 0; color: var(--muted); font-size: 13.5px; }
.settled-summary .button-row { margin-top: 12px; }
.ended-summary { margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--error-line); border-radius: 12px; background: var(--error-bg); color: var(--error-ink); font-size: 14px; }
.ended-summary p { margin: 0; }
.panel-meta.is-long { white-space: normal; text-align: right; }
/* Best numbers and the mediator's proposal, below the move buttons. */
.late-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.panel .late-block .sub-head { margin: 0 0 8px; }
.late-block > .late-text:last-child { margin-bottom: 0; }
.late-block .check-result { padding: 13px 15px 14px; border: 1px solid var(--line-warm); border-radius: 12px; background: var(--panel); }
.late-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.late-actions .secondary-button { flex: 1 1 auto; }
.late-error { margin-top: 12px; }

.readiness-wrap { margin-top: 18px; }
.readiness { margin: 0; padding: 0; list-style: none; }
.readiness li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line-soft); }
.readiness li:first-child { border-top: 0; padding-top: 0; }
.readiness .mark { flex: none; display: grid; place-items: center; width: 19px; height: 19px; margin-top: 1px; border: 1px solid var(--line); border-radius: 50%; }
.readiness .mark svg { width: 11px; height: 11px; stroke-width: 2.4; }
.readiness .is-done { color: var(--ink); }
.readiness .is-done .mark { border-color: var(--accent); background: var(--accent); color: var(--canvas); }
.readiness-note { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--line-warm); border-radius: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.readiness-other { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.readiness-other strong { color: var(--ink); font-weight: 500; }

.ladder { margin-top: 20px; }
.ladder-round { margin: 0; padding: 0; list-style: none; }
.ladder-head { margin: 12px 0 2px; color: var(--muted); font: 600 10.5px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.ladder-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; gap: 4px 10px; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.ladder-round .ladder-row:first-child { border-top: 0; }
.ladder-who { color: var(--muted); }
.ladder-row.is-you .ladder-who { color: var(--accent); }
.ladder-kind { color: var(--ink); min-width: 0; }
.ladder-amount { font: 500 16px/1.2 var(--editorial); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ladder-detail { grid-column: 2 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.ladder-tag { display: inline-block; margin-left: 6px; color: var(--faint); font-size: 12px; }
.ladder-flat { margin-top: 4px; }

.shared-list { margin: 0; padding: 0; list-style: none; }
.shared-item { padding: 10px 0; border-top: 1px solid var(--line-soft); }
.shared-item:first-child { border-top: 0; padding-top: 2px; }
.shared-text { margin: 0; padding-left: 11px; border-left: 2px solid var(--line-warm); font: 400 15.5px/1.5 var(--editorial); white-space: pre-line; overflow-wrap: anywhere; }
.shared-meta { margin: 5px 0 0 13px; color: var(--faint); font-size: 12.5px; }
.empty { margin: 0; color: var(--faint); font-size: 13.5px; }

.doc-list { margin: 0; padding: 0; list-style: none; }
.doc { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.doc:first-child { border-top: 0; padding-top: 2px; }
.doc svg { margin-top: 2px; color: var(--accent); width: 17px; height: 17px; }
.doc-main { flex: 1; min-width: 0; }
.doc-name { margin: 0; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.doc-meta { margin: 2px 0 0; color: var(--faint); font-size: 12.5px; }
.doc-state { flex: none; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.doc-state.is-unsent { color: var(--accent); }
.doc-shared { margin: 2px 0 0; color: var(--accent); font-size: 12.5px; }
.doc-send { margin-top: 4px; padding: 2px 0; min-height: 0; font-size: 12.5px; }
.record-card { margin: 10px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.record-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.record-name { margin: 4px 0 2px; font: 400 18px/1.35 var(--editorial); overflow-wrap: anywhere; }
.record-text { margin-top: 10px; max-height: 360px; overflow: auto; padding: 10px 12px; border-radius: 8px; background: var(--theirs); border: 1px solid var(--line-soft); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }

/* Dialogs */
.dialog { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 26px 26px 24px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); box-shadow: 0 16px 50px var(--shadow); }
.dialog::backdrop { background: var(--backdrop); }
/* While a dialog is open the page behind it holds still: a scroll that runs past the end of the dialog stops there
   (overscroll-behavior above), and the page itself doesn't scroll, so its scrollbar goes away and the backdrop covers
   the whole window. Where that scrollbar took space (a classic one, on a plain page long enough to scroll), the body
   takes its width as padding until the dialog closes, so nothing moves sideways (--sbw, which the script measures on
   .sbw-probe as a dialog opens, and again whenever the window or the page under it changes size); the reconnecting
   notice, fixed at the window's centre, moves back by half of it. The workspace has no page scrollbar to lose, and a
   printed page has none. */
html:has(dialog:modal) { overflow: hidden; }
@media screen {
  html:has(dialog:modal) > body:not(.in-workspace) { padding-right: var(--sbw, 0px); }
  html:has(dialog:modal) > body:not(.in-workspace) > .connection { margin-left: calc(var(--sbw, 0px) / -2); }
}
/* A box that always has a scrollbar, on the page only for the moment the script measures it. */
.sbw-probe { position: absolute; top: 0; left: 0; width: 100px; height: 100px; overflow-y: scroll; visibility: hidden; pointer-events: none; }
.dialog h2 { margin: 0 0 8px; font: 400 29px/1.12 var(--editorial); letter-spacing: -.02em; }
.dialog-lede { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.dialog .callout { margin: 4px 0 18px; background: var(--field); }
.dialog .field { margin-bottom: 18px; }
.dialog input:not([type="checkbox"]), .dialog select, .dialog textarea { background: var(--field); }
.amount-input { font: 400 22px/1.2 var(--editorial) !important; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.amount-echo { margin: 0; color: var(--accent); font-size: 14px; font-weight: 500; }
.amount-echo:empty { display: none; }
.message-note.is-suggested { color: var(--accent); }
/* What counsel should know before giving a best number or asking for a proposal: one plain point a line. */
.dialog-points { margin: 0 0 20px; padding-left: 19px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dialog-points li { margin: 0 0 7px; }
.dialog-points li::marker { color: var(--accent); }
.dialog .callout .amount { font: 500 17px/1.2 var(--editorial); white-space: nowrap; }
.consent { margin: 2px 0 0; color: var(--ink); }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.dialog-heading .icon-button { margin: -4px -8px 0 0; }
.bracket-fields { gap: 0 14px; }
.about-dialog { width: min(640px, calc(100vw - 32px)); }
.about-copy { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.about-copy p { margin: 0 0 12px; }
.about-copy h3 { margin: 22px 0 6px; color: var(--ink); font: 400 19px/1.25 var(--editorial); }
.about-copy ul { margin: 0 0 12px; padding-left: 19px; }
.about-copy li { margin: 5px 0; }
.about-copy .about-datasets { margin: 6px 0 0; overflow-wrap: anywhere; }
.about-copy strong { color: var(--ink); font-weight: 500; }
.about-copy .sealed { margin: 14px 0 6px; font-size: 17.5px; }

.print-summary { display: none; }

/* Phones and narrow windows: the side panel becomes a tab beside the caucus. */
@media (max-width: 1080px) {
  .ws-status .about-open span { display: none; }
  .ws-status .about-open { padding: 6px 8px; }
}
@media (max-width: 960px) {
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The case and the time left stay on one line: with no wordmark, nothing else needs the room. */
  .ws-status { margin-left: auto; }
}
@media (max-width: 860px) {
  .ws-body { display: block; position: relative; }
  .ws-body > .caucus-pane, .ws-body > .side-pane { position: absolute; inset: 0; }
  .side-pane { border-left: 0; background: var(--canvas); }
  .workspace.show-side .caucus-pane, .workspace:not(.show-side) .side-pane { display: none; }
  .panel { padding-inline: var(--gutter); }
  .side-pane .panel:first-child { padding-top: 18px; }
  .thread-inner { padding-top: 4px; }
}
@media (max-width: 720px) {
  /* Version 1's three steps keep every label, as on the website's main; version 2's four keep only the current one's. */
  .step { padding: 10px 0; }
  .stepper ol:not(.is-v2) .step { flex-basis: auto; min-width: max-content; gap: 6px; }
  .stepper .is-v2 .step:not(.is-current):not(.is-ended) .step-label { display: none; }
  .stepper .is-v2 .step.is-current, .stepper .is-v2 .step.is-ended { flex: 0 0 auto; }
  .stepper .is-v2 .step.is-current:not(:last-child)::after { width: 18px; }
  .step:not(:last-child)::after { margin: 0 6px 0 2px; min-width: 6px; }
  .step-mark { width: 20px; height: 20px; font-size: 10.5px; }
}
@media (max-width: 640px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li { padding: 15px 0 17px; }
  body { font-size: 15px; }
  .topbar { min-height: 60px; }
  .field-row { grid-template-columns: 1fr; }
  .center-inner { padding-top: 26px; }
  .lede { font-size: 16px; }
  .link-row { flex-wrap: wrap; }
  .link-row input { flex-basis: 100%; }
  .link-row .secondary-button, .link-row .primary-button { flex: 1; }
  .ws-header { padding-top: 10px; padding-bottom: 11px; column-gap: 12px; }
  .ws-case h1 { font-size: 23px; white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ws-meta { white-space: normal; overflow-wrap: anywhere; font-size: 12.5px; }
  .ws-meta .court { display: none; }
  .ws-status { gap: 10px; }
  .clock-label { font-size: 11.5px; }
  .clock { flex-direction: column; align-items: flex-end; gap: 3px; }
  .clock-state { font-size: 11px; line-height: 1; }
  .clock-state:empty { display: none; }
  .clock-time { font-size: 16px; }
  .clock-state { font-size: 12px; }
  .presence { gap: 10px; font-size: 12.5px; }
  .presence .who-word { display: none; }
  .thread-event { padding: 12px 14px 13px; }
  .msg-body { font-size: 15px; }
  .bubble { max-width: 92%; }
  .card { padding: 16px 15px 17px; }
  .topic-group { grid-template-columns: 1fr; gap: 4px; }
  .factors { grid-template-columns: 1fr; }
  .assessment-sides { grid-template-columns: 1fr; }
  .question .field { margin-left: 0; }
  .dock { padding: 8px var(--gutter) 14px; }
  .dock-prompt { flex-wrap: wrap; gap: 10px; }
  .dock-prompt .primary-button { width: 100%; }
  .composer { padding: 10px 10px 8px 12px; }
  .composer textarea { min-height: 36px; padding-top: 4px; font-size: 16px; }
  .tool-button { padding: 6px 8px; gap: 6px; font-size: 13px; }
  .dialog { padding: 22px 18px 20px; border-radius: 16px; }
  .dialog h2 { font-size: 25px; }
  .dialog-actions { justify-content: stretch; }
  .dialog-actions > * { flex: 1; }
  .settlement { padding: 18px 16px; }
  .proposal-card { padding: 18px 16px; }
  .proposal-card.in-panel { padding: 15px 14px 16px; }
  .proposal-amount { font-size: 42px; }
  .ended-banner { padding-top: 10px; padding-bottom: 11px; }
  .ended-banner h2 { font-size: 18px; }
  .ended-banner p { font-size: 13.5px; }
  .settlement-amount { font-size: 46px; }
  input:not([type="checkbox"]), select, textarea { font-size: 16px; }
}
@media (max-width: 390px) {
  .tool-button span { font-size: 12.5px; }
  .presence { gap: 8px; }
}
@media (max-height: 520px) {   /* a phone held sideways: one line of the banner's reason, and the caucus below it */
  .ended-banner { padding-top: 8px; padding-bottom: 9px; }
  .ended-banner h2 { font-size: 17px; }
  .ended-banner .ended-text { -webkit-line-clamp: 1; }
  .ended-banner .fine { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Printing, in black on white. Print summary prints only the settlement summary (body.printing-summary, set while
   it prints). Any other print, the browser's own included, prints the page as it is: the whole caucus and the side
   panel at full length, without controls. */
@media print {
  @page { margin: 22mm 20mm; }
  :root {
    --canvas: #fff; --panel: #fff; --raised: #fff; --field: #fff; --ink: #111; --muted: #444; --faint: #666;
    --line: #bbb; --line-soft: #ddd; --line-warm: #999; --hover: #fff; --accent: #5c4a35; --accent-soft: transparent;
    --error: #8a2a1e; --error-bg: #fff; --error-line: #c9a39b;
  }
  html, body { height: auto; overflow: visible !important; background: #fff; color: #111; }
  body.in-workspace .app, .app { display: block; height: auto; min-height: 0; }
  /* Only a workspace that is shown: [hidden] has the same specificity, and the views it hides must stay out. */
  .workspace:not([hidden]), .workspace:not([hidden]) .ws-body, .workspace:not([hidden]) .ws-body > .caucus-pane,
  .workspace:not([hidden]) .ws-body > .side-pane, .workspace:not([hidden]) .thread-scroll {
    display: block !important; position: static !important; height: auto; min-height: 0; overflow: visible !important;
  }
  .side-pane { border: 0; border-top: 1pt solid #bbb; background: #fff; }
  .caucus-label { position: static; background: #fff; }
  .card.is-past.is-collapsed .card-body { display: block; }
  button, dialog, .stepper, .dock, .jump-latest, .pane-tabs, .connection, .key-banner, .working, .settlement-confirm,
  .end-row, .panel-actions, .card-actions, .neg-actions { display: none !important; }   /* the thread's dividers give the phases */
  .dry-run-banner, .thread-event.is-theirs, .settlement, .pending-bracket, .settled-summary, .ended-summary,
  .proposal-card, .proposal-state, .late-block .check-result { background: #fff; color: #111; }
  .proposal-card, .thread-event.late-event { break-inside: avoid; }
  /* A note's or brief's line is a toggle, a button: its label prints as the caucus shows it, collapsed or open. */
  .thread-line .line-head { display: inline-flex !important; margin-left: 0; padding: 0; color: #444; }
  .thread-line .line-head svg { display: none; }
  .ended-banner { background: #fff; border: 1pt solid var(--error-line); }
  .ended-banner h2, .ended-banner p, .ended-summary, .callout.stop { color: #111; }
  .card.is-open, .is-here .dot, .turn.is-yours .dot { box-shadow: none; }
  .thread-event, .confirmation, .position { break-inside: avoid; }
  .print-summary { display: none !important; }
  body.printing-summary > *:not(.print-summary) { display: none !important; }
  body.printing-summary .print-summary { display: block !important; color: #111; font: 10.5pt/1.55 var(--ui); }
  .print-summary .ps-brand { margin: 0 0 18pt; font: 600 8pt/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: #555; }
  .print-summary .ps-dry-run { margin: -6pt 0 16pt; padding: 7pt 10pt; border: 1.5pt solid #111; font-weight: 700; }
  .print-summary h1 { margin: 0 0 4pt; font: 400 26pt/1.1 var(--editorial); letter-spacing: -.02em; }
  .print-summary .ps-case { margin: 0 0 18pt; color: #333; }
  .print-summary .ps-amount { margin: 0 0 4pt; font: 400 34pt/1.05 var(--editorial); letter-spacing: -.02em; }
  .print-summary .ps-via { margin: 0 0 4pt; font-weight: 600; }
  .print-summary .ps-when { margin: 0 0 16pt; color: #333; }
  .print-summary .ps-statement { margin: 0 0 16pt; padding: 8pt 10pt; border: 1pt solid #999; font: 400 12pt/1.45 var(--editorial); }
  .print-summary h2 { margin: 16pt 0 6pt; font: 600 10.5pt/1.3 var(--ui); }
  .print-summary ul { margin: 0; padding-left: 14pt; }
  .print-summary li { margin: 0 0 6pt; }
  .print-summary .ps-note { margin: 0; white-space: pre-line; }
  .print-summary .ps-foot { margin-top: 24pt; color: #555; font-size: 9pt; }
}

/* The assessment's comparable cases, closed under "See comparable cases" until counsel open them. */
.assessment-comparables { margin-top: 14px; border-top: 1px solid var(--line, rgba(127, 127, 127, .3)); padding-top: 10px; }
.assessment-comparables > summary { cursor: pointer; font: 600 13px/1.4 var(--ui, inherit); color: var(--accent, inherit); }
.assessment-comparables > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
.assessment-comparables[open] > summary { margin-bottom: 8px; }

/* The settlement card's Memorandum of Settlement, once both sides have confirmed the amount. */
.memorandum { margin: 18px 0 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.memorandum-title { margin: 0 0 6px; color: var(--navy); font: 400 19px/1.25 var(--editorial); }
.memorandum-intro { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.memorandum-steps-title { margin: 14px 0 6px; font-weight: 700; font-size: 14px; }
.memorandum-steps { margin: 0 0 10px; padding-left: 20px; color: var(--ink); font-size: 14px; line-height: 1.55; }
.memorandum-steps li + li { margin-top: 6px; }
