/* The Opportunity Scout. Designed for 1920x1080 projection.
   1rem = 16px at 1920 wide, and the whole page scales with the window. */

:root {
  --navy: #14273e;
  --navy-2: #1b3150;
  --navy-3: #22395b;
  --brass: #b08d4a;
  --brass-soft: #c9a96a;
  --cream: #f4ede0;
  --paper: #faf6ed;
  --ink: #1a1812;
  --ink-2: #4a4538;
  --ink-3: #7a7262;
  --rule: #e4dac6;
  --warn: #c98a3a;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 0.8333vw; background: var(--navy); }
@media (max-aspect-ratio: 16/10) { html { font-size: 1.2vh; } }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--navy);
  min-height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
button { font: inherit; cursor: pointer; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ------------------------------------------------------------ intro */
#intro {
  position: fixed; inset: 0;
  background:
    radial-gradient(120rem 60rem at 50% 115%, rgba(176,141,74,.16), transparent 60%),
    radial-gradient(80rem 40rem at 10% -10%, rgba(255,255,255,.05), transparent 60%),
    var(--navy);
  color: var(--cream);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.intro-mark { position: absolute; top: 4.5rem; left: 6rem; height: 2.2rem; opacity: .9; }
.intro-center { width: 100rem; max-width: 86vw; }
.intro-center .eyebrow { margin-bottom: 2.25rem; }
#intro h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 10rem;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 5rem;
}
#q {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(244,237,224,.35);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 4.75rem;
  font-weight: 400;
  padding: .5rem 0 1.25rem;
  outline: none;
  caret-color: var(--brass);
  transition: border-color .4s var(--ease);
}
#q::placeholder { color: rgba(244,237,224,.28); font-style: italic; }
#q:focus { border-bottom-color: var(--brass); }
.hint {
  margin-top: 2rem;
  font-size: 1.75rem;
  color: rgba(244,237,224,.62);
  min-height: 2.5rem;
  transition: color .3s;
}
.hint b { color: var(--cream); font-weight: 500; }
.hint.is-confirm { color: var(--brass-soft); }
.intro-foot {
  position: absolute; bottom: 4.5rem; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center; gap: 1.5rem;
  font-size: 1.375rem; letter-spacing: .04em;
  color: rgba(244,237,224,.5);
}
.dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--brass); display: inline-block; }

body:not(.state-intro) #intro { opacity: 0; transform: scale(.985); pointer-events: none; }

/* ------------------------------------------------------------ live shell */
#live {
  position: fixed; inset: 0;
  display: grid;
  grid-template-rows: 7rem 1fr;
  opacity: 0;
  transition: opacity .9s var(--ease) .15s;
}
body:not(.state-intro) #live { opacity: 1; }
body.state-intro #live { pointer-events: none; }

.bar {
  background: var(--navy);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4rem;
  border-bottom: 1px solid rgba(176,141,74,.35);
}
.bar-mark { height: 1.6rem; opacity: .9; }
.bar-title { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.bar-title .eyebrow { font-size: 1.125rem; }
#bar-domain { font-family: var(--serif); font-size: 2.125rem; letter-spacing: .01em; }
.bar-right { display: flex; justify-content: flex-end; align-items: center; gap: 1.75rem; }
.status {
  font-size: 1.25rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--brass-soft);
  display: inline-flex; align-items: center; gap: .8rem;
}
.status::before {
  content: ""; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--brass);
  animation: breathe 1.6s ease-in-out infinite;
}
.is-done .status::before { animation: none; }
.is-replay .status::before { background: transparent; box-shadow: inset 0 0 0 2px var(--brass); }
.clock {
  font-family: var(--sans); font-weight: 500; font-size: 2.125rem;
  font-variant-numeric: tabular-nums; color: var(--cream);
  min-width: 5.5rem; text-align: right;
}

.stage {
  display: grid;
  grid-template-columns: 44rem 1fr;
  min-height: 0;
  transition: grid-template-columns 1.1s var(--ease);
}

/* ------------------------------------------------------------ trace */
#trace {
  background: linear-gradient(180deg, var(--navy) 0%, #11223a 100%);
  color: var(--cream);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-width: 0;
  border-right: 1px solid rgba(176,141,74,.25);
}
.trace-head { padding: 3rem 3.5rem 1.5rem; }
.trace-sub { margin-top: .75rem; font-size: 1.5rem; color: rgba(244,237,224,.55); }
#trace-list {
  list-style: none;
  flex: 1;
  overflow-y: auto;
  padding: 1rem 3.5rem 6rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
  mask-image: linear-gradient(180deg, transparent 0, #000 2.5rem, #000 calc(100% - 4rem), transparent 100%);
}
#trace-list::-webkit-scrollbar { display: none; }
.t {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(244,237,224,.07);
  opacity: 0;
  transform: translateY(.75rem);
  animation: rise .6s var(--ease) forwards;
}
.t-icon { width: 2.25rem; height: 2.25rem; margin-top: .15rem; position: relative; }
.t-icon svg { width: 100%; height: 100%; display: block; }
.t-text { font-size: 1.625rem; line-height: 1.32; color: var(--cream); }
.t-detail { margin-top: .35rem; font-size: 1.375rem; line-height: 1.4; color: rgba(244,237,224,.58); }
.t-detail q { font-family: var(--serif); font-style: italic; color: rgba(244,237,224,.82); quotes: "\201C" "\201D"; }
.t-path { color: var(--brass-soft); font-variant-numeric: tabular-nums; }
.t.is-pending .t-text { color: rgba(244,237,224,.66); }
.t.is-skip .t-text { color: rgba(244,237,224,.45); text-decoration: line-through; text-decoration-color: rgba(244,237,224,.25); }
.t.is-drop .t-text { color: rgba(244,237,224,.5); }
.t.is-opp .t-text { font-family: var(--serif); font-size: 1.875rem; color: var(--cream); }
.t.is-signal .t-text b, .t.is-opp .t-text b { color: var(--brass-soft); font-weight: 500; }
.t.is-done .t-text { font-family: var(--serif); font-size: 2rem; color: var(--brass-soft); }
.t.is-think .t-text { color: var(--cream); }

/* the waiting line while the AI executive reads */
.t.is-wait .t-text { color: var(--cream); }
.wait-bar {
  margin-top: .9rem; height: 3px; border-radius: 3px; overflow: hidden;
  background: rgba(244,237,224,.1);
}
.wait-bar i {
  display: block; height: 100%; width: 35%;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  animation: sweep 1.8s ease-in-out infinite;
}
.t.is-wait.is-over .wait-bar { display: none; }

/* ------------------------------------------------------------ brief */
#brief {
  background: var(--paper);
  overflow-y: auto;
  scroll-behavior: smooth;
  min-width: 0;
  scrollbar-width: none;
}
#brief::-webkit-scrollbar { display: none; }
.brief-inner {
  padding: 3.5rem 5rem 8rem;
  display: flex; flex-direction: column; gap: 0;
}
/* live order: the brief fills top to bottom in this order */
#sec-snapshot { order: 1; } #sec-signals { order: 2; } #sec-grid { order: 3; }
#sec-opps { order: 4; } #sec-ready { order: 5; } #sec-qbr { order: 6; } .brief-foot { order: 7; }

.sec {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--rule);
  position: relative;
}
.sec:first-child { border-top: 0; padding-top: 0; }
.sec-label {
  font-weight: 600; font-size: 1.25rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.75rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.25rem;
}
.sec-note { letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: 1.375rem; color: var(--ink-3); font-style: italic; font-family: var(--serif); }

/* pending skeleton */
.sec.is-pending .sec-body { position: relative; min-height: 9rem; }
.sec.is-pending .sec-body::before,
.sec.is-pending .sec-body::after {
  content: ""; position: absolute; left: 0; height: 1.6rem; border-radius: 4px;
  background: linear-gradient(90deg, #efe7d6 0%, #f6f0e3 50%, #efe7d6 100%);
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
}
.sec.is-pending .sec-body::before { top: .5rem; width: 72%; }
.sec.is-pending .sec-body::after { top: 3.6rem; width: 48%; }
.sec.is-pending .sec-label { color: #cdbb94; }
.sec.is-active .sec-label { color: var(--brass); }

.reveal { opacity: 0; transform: translateY(1rem); animation: rise .8s var(--ease) forwards; }

/* snapshot */
.snap-name { font-family: var(--serif); font-weight: 400; font-size: 4.5rem; line-height: 1.05; letter-spacing: -.015em; color: var(--navy); }
.snap-what { margin-top: 1.25rem; font-size: 2rem; line-height: 1.4; color: var(--ink); max-width: 62rem; }
.snap-meta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.chip {
  font-size: 1.5rem; padding: .45rem 1.1rem; border-radius: 99px;
  border: 1px solid var(--rule); color: var(--ink-2); background: #fff;
}
.chip.is-key { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.snap-size { margin-top: 1.5rem; list-style: none; display: grid; gap: .55rem; }
.snap-size li { font-size: 1.625rem; line-height: 1.4; color: var(--ink-2); padding-left: 1.75rem; position: relative; }
.snap-size li::before { content: ""; position: absolute; left: 0; top: .8rem; width: .6rem; height: .6rem; background: var(--brass); transform: rotate(45deg); }
.thin-note {
  margin-top: 1.75rem; padding: 1.1rem 1.4rem; border-left: 3px solid var(--warn);
  background: #fbf1e1; font-size: 1.625rem; line-height: 1.4; color: var(--ink-2);
}

/* signals */
.signals { list-style: none; display: grid; gap: 1.6rem; }
.sig { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; }
.num {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1.5px solid var(--brass); color: var(--brass);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.625rem; line-height: 1;
}
.sig-title { font-size: 1.875rem; font-weight: 500; line-height: 1.3; color: var(--navy); }
.sig-quote {
  margin-top: .45rem;
  font-family: var(--serif); font-style: italic; font-size: 1.625rem; line-height: 1.42; color: var(--ink-2);
}
.sig-quote::before { content: "\201C"; } .sig-quote::after { content: "\201D"; }
.sig-src { margin-top: .4rem; font-size: 1.25rem; color: var(--ink-3); letter-spacing: .02em; display: flex; gap: .6rem; align-items: center; }
.sig-src svg { width: 1.25rem; height: 1.25rem; }

/* opportunities */
.opps { list-style: none; display: grid; gap: 1.5rem; }
.opp {
  background: #fff; border: 1px solid var(--rule); border-radius: 1rem;
  padding: 1.75rem 2rem;
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem;
  box-shadow: 0 1px 0 rgba(20,39,62,.03), 0 .75rem 2rem -1.25rem rgba(20,39,62,.25);
}
.opp .num { background: var(--navy); border-color: var(--navy); color: var(--brass-soft); }
.opp-role { font-family: var(--serif); font-size: 2.375rem; line-height: 1.15; color: var(--navy); }
.opp-what { margin-top: .5rem; font-size: 1.625rem; line-height: 1.4; color: var(--ink); }
.opp-scores { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; align-items: center; }
.score { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.375rem; color: var(--ink-2); }
.score b { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 1.125rem; color: var(--ink-3); }
.pips { display: inline-flex; gap: .3rem; }
.pips i { width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 1.5px solid var(--brass); }
.pips i.on { background: var(--brass); }
.payback { font-size: 1.625rem; color: var(--navy); font-weight: 500; }
.payback em { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; margin-left: .6rem; }
.opp-assume { margin-top: .6rem; font-size: 1.375rem; line-height: 1.45; color: var(--ink-3); }
.opp-from { color: var(--brass); }
.opp-svc { font-size: 1.125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .35rem; }
.opp.is-msp .opp-assume i { font-family: var(--serif); }

/* a partner brief: three questions for a first conversation */
.questions { list-style: none; display: grid; gap: 1.25rem; }
.questions li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; align-items: start; }
.questions p { font-family: var(--serif); font-size: 1.875rem; line-height: 1.4; color: var(--navy); padding-top: .2rem; }

/* grid */
.grid-wrap { display: grid; grid-template-columns: 1fr; }
.bx { width: 100%; height: auto; display: block; max-height: 46rem; }
.bx .q-bg { fill: #fff; stroke: var(--rule); }
.bx .q-win { fill: rgba(176,141,74,.12); }
.bx .axis { stroke: var(--ink-3); stroke-width: 1.5; }
.bx .grid-line { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 4 6; }
.bx .q-label { font-family: var(--sans); font-size: 24px; letter-spacing: .16em; text-transform: uppercase; fill: var(--ink-3); font-weight: 600; }
.bx .q-label.win { fill: var(--brass); }
.bx .ax-label { font-family: var(--sans); font-size: 26px; fill: var(--ink-2); font-weight: 500; letter-spacing: .06em; }
.bx .pt circle.halo { fill: rgba(176,141,74,.22); }
.bx .pt circle.core { fill: var(--navy); }
.bx .pt text { font-family: var(--serif); font-size: 30px; fill: var(--cream); text-anchor: middle; dominant-baseline: central; }
.bx .pt text.pt-label { font-family: var(--sans); font-size: 20px; fill: var(--navy); text-anchor: start; font-weight: 500; }
.bx .pt { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .9s var(--ease) forwards; }

/* readiness */
.ready { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.flag {
  border: 1px solid var(--rule); border-radius: .9rem; padding: 1.4rem 1.6rem; background: #fff;
  border-top: 3px solid var(--navy);
}
.flag-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.flag-label { font-size: 1.75rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.flag-tag { font-size: 1.0625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); font-weight: 600; white-space: nowrap; }
.flag-note { margin-top: .6rem; font-size: 1.625rem; line-height: 1.42; color: var(--ink-2); }

/* QBR */
.qbr {
  background: var(--navy); color: var(--cream); border-radius: 1rem;
  padding: 2.5rem 3rem; position: relative; overflow: hidden;
}
.qbr::before {
  content: "\201C"; position: absolute; right: 2.5rem; top: .5rem;
  font-family: var(--serif); font-size: 11rem; color: rgba(176,141,74,.25); line-height: 1; height: 7rem; overflow: hidden;
}
.qbr p { font-family: var(--serif); font-size: 2.125rem; line-height: 1.45; position: relative; }
.qbr p + p { margin-top: 1.1rem; }

.brief-foot {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 2rem;
  font-size: 1.375rem; color: var(--ink-3); letter-spacing: .02em;
}
.prepared { display: inline-flex; gap: .75rem; align-items: baseline; }
.prepared .line { display: inline-block; width: 18rem; border-bottom: 1px solid var(--ink-3); transform: translateY(-.2rem); }

/* ------------------------------------------------------------ final state */
body.state-final .stage { grid-template-columns: 0rem 1fr; }
body.state-final.show-trace .stage { grid-template-columns: 44rem 1fr; }
body.state-final .brief-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, .9fr);
  grid-template-areas:
    "snap opps grid"
    "sigs opps ready"
    "qbr  qbr  qbr"
    "foot foot foot";
  grid-template-rows: auto 1fr auto auto;
  column-gap: 4.5rem;
  padding: 3rem 4.5rem 6rem;
}
body.state-final #sec-snapshot { grid-area: snap; }
body.state-final #sec-signals { grid-area: sigs; }
body.state-final #sec-opps { grid-area: opps; border-top: 0; padding-top: 0; }
body.state-final #sec-grid { grid-area: grid; border-top: 0; padding-top: 0; }
body.state-final #sec-ready { grid-area: ready; }
body.state-final #sec-qbr { grid-area: qbr; }
body.state-final .brief-foot { grid-area: foot; }
body.state-final .snap-name { font-size: 3.75rem; }
body.state-final .snap-what { font-size: 1.75rem; }
body.state-final .snap-size li:nth-child(n+4) { display: none; }
body.state-final .opp { grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem; padding: 1.75rem 2rem 1.9rem 1.75rem; }
body.state-final .opp-role { font-size: 2.125rem; }
body.state-final .opp-scores { gap: .6rem 2rem; }
/* with the trace open, the brief falls back to one readable column */
body.state-final.show-trace .brief-inner { display: flex; flex-direction: column; padding: 3.5rem 5rem 8rem; }
body.state-final.show-trace #sec-opps, body.state-final.show-trace #sec-grid { border-top: 1px solid var(--rule); padding-top: 2.5rem; }
body.state-final .ready { grid-template-columns: 1fr; gap: 1rem; }
body.state-final .flag { padding: 1.1rem 1.4rem; }
body.state-final .flag-note { font-size: 1.625rem; }
body.state-final .bx { max-height: 34rem; }
body.state-final .brief-inner .reveal { animation: none; opacity: 1; transform: none; }
.brief-inner { transition: opacity .5s var(--ease); }
body.is-swapping .brief-inner { opacity: 0; }

/* actions live in the bar once the brief is ready */
.actions { display: none; gap: .8rem; margin-left: 1rem; }
body.state-final .actions { display: inline-flex; animation: rise .6s var(--ease) forwards; }
body.state-final .status { display: none; }
.actions button {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(244,237,224,.3);
  font-size: 1.25rem; font-weight: 500; padding: .7rem 1.3rem; border-radius: 99px;
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.actions button:hover { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.actions #btn-print { background: var(--brass); border-color: var(--brass); color: var(--navy); }

/* error */
.error {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76rem; max-width: 90vw;
  background: var(--paper); border-radius: 1.25rem; padding: 3.5rem 4rem;
  border-top: 4px solid var(--brass);
  box-shadow: 0 2rem 6rem -2rem rgba(0,0,0,.55);
  animation: rise .6s var(--ease);
}
.error-msg { margin-top: 1.25rem; font-family: var(--serif); font-size: 2.5rem; line-height: 1.35; color: var(--navy); }
.error-actions { margin-top: 2.5rem; display: flex; gap: 1rem; }
.error-actions button {
  background: var(--navy); color: var(--cream); border: 0; border-radius: 99px;
  font-size: 1.5rem; padding: 1rem 1.8rem;
}
.error-actions #err-new { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--rule); }

/* ------------------------------------------------------------ motion */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.tick-path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .55s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spin { transform-origin: 12px 12px; animation: turn 1.1s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ print: one US Letter page */
@media print {
  /* margins live on the body, so they hold whatever the print dialog's margin setting is */
  @page { size: letter; margin: 0; }
  html { font-size: 6.2px; background: #fff; }
  body { background: #fff; overflow: visible; padding: 0.55in 0.65in 0.5in; }
  #intro, #trace, .error, .bar-right, .bar-mark { display: none !important; }
  #live { position: static; display: block; opacity: 1 !important; }
  .bar {
    display: flex; justify-content: space-between; align-items: flex-end;
    background: #fff; color: var(--navy); padding: 0 0 1.4rem; height: auto;
    border-bottom: 2px solid var(--brass);
  }
  .bar::before { content: "THE CABINET"; font-family: var(--serif); letter-spacing: .3em; font-size: 1.9rem; color: var(--navy); }
  .bar-title { align-items: flex-end; }
  #bar-domain { font-size: 2.2rem; color: var(--navy); }
  .stage { display: block; }
  #brief { overflow: visible; background: #fff; }
  .brief-inner, body.state-final .brief-inner {
    display: grid !important;
    grid-template-columns: 1fr 1.08fr .92fr;
    /* the grid sits on top of the readiness flags, the snapshot on top of the signals: no gaps */
    grid-template-areas: "snap opps grid" "snap opps ready" "sigs opps ready" "qbr qbr qbr" "foot foot foot";
    grid-template-rows: auto auto 1fr auto auto;
    column-gap: 2.6rem; padding: 1.6rem 0 0 !important;
  }
  #sec-snapshot { grid-area: snap; } #sec-signals { grid-area: sigs; } #sec-opps { grid-area: opps; border-top: 0; padding-top: 0; }
  #sec-grid { grid-area: grid; } #sec-ready { grid-area: ready; } #sec-qbr { grid-area: qbr; } .brief-foot { grid-area: foot; }
  .ready { grid-template-columns: 1fr !important; gap: .7rem; }
  .flag { padding: .8rem 1rem; }
  .sec { padding: 1.2rem 0 1.4rem; break-inside: avoid; }
  #sec-grid { border-top: 0; padding-top: 0; }
  .sec-label { margin-bottom: .9rem; }
  .actions { display: none !important; }
  .reveal, .t, .bx .pt { animation: none !important; opacity: 1 !important; transform: none !important; }
  .snap-name { font-size: 3.4rem; }
  .snap-what { font-size: 1.75rem; }
  .signals { gap: .9rem; }
  .opps { gap: .8rem; }
  .opp { padding: 1rem 1.2rem; box-shadow: none; }
  .opp-role { font-size: 2rem; }
  .bx { max-height: 26rem; }
  .qbr { padding: 1.4rem 1.8rem; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qbr::before { display: none; }
  .qbr p { font-size: 1.75rem; }
  .questions { gap: .7rem; }
  .questions p { font-size: 1.75rem; }
  .chip.is-key, .opp .num, .pips i.on, .bx, .q-win, .flag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .brief-foot { margin-top: 1.6rem; padding-top: 1rem; font-size: 1.4rem; }
  .prepared .line { width: 24rem; }
  .sec.is-pending { display: none; }
  .snap-size li:nth-child(n+4) { display: none; }
  .sig-quote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  html, body { height: auto; }
}
