:root {
  --sheet: #f7f7f7;
  --paper: #fff;
  --ink: #0a0a0a;
  --ink-soft: #4c4a44;
  --gold: #d4af37;
  --gold-deep: #b08f23;
  --valley: #cfe0f2;
  --mountain: #b9b6ae;
  --danger: #9b2c24;
  --shear: 16px;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--sheet);
  color: var(--ink);
  font-family: "Chivo Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-legal {
  display: flex;
  position: fixed;
  z-index: 12;
  right: 18px;
  bottom: 10px;
  gap: 12px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.app-legal button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.app-legal a:hover, .app-legal button:hover { color: var(--ink); }

.spec, .cell-id {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.spec b { color: var(--ink); }

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
  background: rgba(247, 247, 247, .96);
  border-bottom: 1px solid var(--mountain);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-decoration: none;
}

.brand span {
  font-family: "Chakra Petch", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
}

.header-mode {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.header-mode b { color: var(--ink); }

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.text-button {
  justify-self: end;
  padding: 6px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.access-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.access-indicator { width: 7px; height: 7px; background: var(--mountain); transform: rotate(45deg); }
.access-button.is-unlocked .access-indicator { background: var(--gold); }

.access-dialog {
  width: min(520px, calc(100% - 28px));
  max-width: calc(100vw - 28px);
  padding: 34px;
  border: 1px solid var(--ink);
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 18px 18px 0 rgba(10, 10, 10, .2);
}
.access-dialog::backdrop { background: rgba(10, 10, 10, .72); backdrop-filter: blur(3px); }
.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.access-dialog h2 { margin: 12px 0 14px; font-size: clamp(29px, 7vw, 42px); }
.access-intro { margin: 0 0 22px; color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }
.checkout-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--gold);
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.checkout-button:hover { background: #dfc253; }
.checkout-button:disabled, .manage-button:disabled { cursor: wait; opacity: .66; }
.checkout-unavailable { margin: 0; padding: 12px 14px; border: 1px solid var(--mountain); color: var(--ink-soft); font-size: 10px; overflow-wrap: anywhere; }
.member-access { padding: 16px; border: 1px solid var(--ink); background: var(--paper); }
.member-label { margin: 0 0 5px; color: #315d37; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.usage-readout { margin: 0; font-family: "Chakra Petch", sans-serif; font-size: 22px; font-weight: 600; text-transform: uppercase; }
.manage-button { display: flex; justify-content: space-between; width: 100%; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--ink); background: var(--ink); color: var(--sheet); cursor: pointer; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.access-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--ink-soft); font-size: 9px; text-transform: uppercase; }
.access-divider::before, .access-divider::after { content: ""; height: 1px; flex: 1; background: var(--mountain); }
.access-dialog label { display: block; margin-bottom: 7px; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.key-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.key-row input { min-width: 0; border-right: 0; font-size: 11px; }
.key-row button { padding: 0 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--sheet); cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.key-row button:disabled { cursor: wait; opacity: .66; }
.access-status { min-height: 20px; margin: 10px 0 0; color: var(--danger); font-size: 9px; }
.access-status.is-success { color: #315d37; }
.access-footnote { margin: 18px 0 0; color: var(--ink-soft); font-size: 8px; overflow-wrap: anywhere; }

.workbench {
  display: grid;
  grid-template-columns: minmax(390px, 38%) minmax(0, 62%);
  min-height: calc(100vh - 58px);
}

.intake {
  position: relative;
  z-index: 2;
  border-right: 1px solid var(--mountain);
  background: var(--sheet);
}

.intake-inner {
  width: min(100%, 600px);
  margin-left: auto;
  padding: 48px clamp(26px, 4vw, 64px) 80px;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.autosave {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .2s ease;
}

.autosave.is-visible { opacity: 1; }

h1, h2, h3 {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.intake h1 {
  margin-top: 14px;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -.025em;
}

.intro {
  max-width: 47ch;
  margin: 20px 0 42px;
  color: var(--ink-soft);
  font-size: 13px;
}

.field {
  position: relative;
  margin-bottom: 28px;
}

.field-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.field-label label, .context-details summary {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.field-label label span, .context-details summary b {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 19px;
  margin-right: 8px;
  background: var(--ink);
  color: var(--sheet);
  font-size: 9px;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.optional, .char-count, .source-chip {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.source-chip { color: #365f7e; }

input, textarea {
  width: 100%;
  border: 1px solid var(--mountain);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}

input {
  height: 48px;
  padding: 0 14px;
}

textarea {
  display: block;
  min-height: 124px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

input::placeholder, textarea::placeholder { color: #77736b; }

input:focus, textarea:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: inset 3px 0 0 var(--gold);
}

.field.has-error input, .field.has-error textarea, .context-details.has-error textarea { border-color: var(--danger); }

.field-hint {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.field-error {
  min-height: 0;
  margin: 5px 0 0;
  color: var(--danger);
  font-size: 10px;
}

.field-error:empty { display: none; }

.url-input { position: relative; }
.url-input > span {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--ink-soft);
  transform: translateY(-50%);
}
.url-input input { padding-left: 38px; }

.context-details {
  margin: 4px 0 30px;
  border-top: 1px solid var(--mountain);
  border-bottom: 1px solid var(--mountain);
}

.context-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
}

.context-details summary::-webkit-details-marker { display: none; }
.context-details summary > span:last-child { color: var(--ink-soft); font-size: 9px; }
.context-details[open] summary > span:last-child { font-size: 0; }
.context-details[open] summary > span:last-child::after { content: "Close −"; font-size: 9px; }
.detail-field { margin: 0 0 16px; }
.detail-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 4px; background: var(--paper); }

.form-status {
  display: none;
  margin: 0 0 14px;
  padding: 11px 13px;
  border-left: 3px solid var(--danger);
  background: #f4e5e2;
  color: #631f19;
  font-size: 11px;
}

.form-status.is-visible { display: block; }
.form-status.is-info { border-left-color: #497899; background: var(--valley); color: var(--ink); }

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 26px 0 32px;
  overflow: hidden;
  background: linear-gradient(115deg, #e2c55c, var(--gold) 40%, #c09b2a 63%, #e2c55c);
  border: 0;
  clip-path: polygon(var(--shear) 0, 100% 0, calc(100% - var(--shear)) 100%, 0 100%);
  cursor: pointer;
  text-align: left;
}

.primary-button:hover { filter: brightness(.92); }
.primary-button:active { transform: translateY(1px); }
.primary-button:disabled { cursor: wait; filter: grayscale(.65); }
.button-label { font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.button-meta { font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.button-meta b { margin-left: 8px; font-size: 16px; }

.specimen-button {
  display: block;
  margin: 16px auto 0;
  padding: 2px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--mountain);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 10px;
}

.specimen-button:hover { border-color: var(--ink); color: var(--ink); }

.privacy-note {
  display: flex;
  gap: 8px;
  margin: 26px 8px 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}
.privacy-note span { color: var(--gold-deep); }

.output {
  position: sticky;
  top: 58px;
  align-self: start;
  min-height: calc(100vh - 58px);
  max-height: calc(100vh - 58px);
  overflow: auto;
  background-color: #e9e8e3;
  background-image:
    repeating-linear-gradient(60deg, transparent 0 139px, rgba(10,10,10,.055) 139px 140px),
    repeating-linear-gradient(120deg, transparent 0 139px, rgba(73,120,153,.10) 139px 140px);
}

.output-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 12px clamp(22px, 3vw, 40px);
  border-bottom: 1px solid var(--mountain);
  background: rgba(233, 232, 227, .94);
  backdrop-filter: blur(8px);
}

.output-state {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.toolbar-actions { display: flex; gap: 8px; }
.toolbar-actions button {
  padding: 8px 12px;
  border: 1px solid var(--mountain);
  background: var(--sheet);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.toolbar-actions button:hover { border-color: var(--ink); }

.empty-state, .loading-state {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 118px);
  padding: 64px 24px;
  overflow: hidden;
  text-align: center;
}

.packet {
  position: relative;
  width: 156px;
  height: 118px;
  margin-bottom: 38px;
  filter: drop-shadow(0 15px 13px rgba(10,10,10,.18));
}

.packet-face { position: absolute; inset: 0; border: 1px solid var(--ink); }
.face-gold {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  background: linear-gradient(115deg,#e2c55c 0%,var(--gold) 38%,#c09b2a 60%,var(--gold) 82%,#e2c55c 100%);
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  font-size: 9px;
  letter-spacing: .12em;
  text-align: left;
}
.face-gold span { font-family: "Chakra Petch", sans-serif; font-size: 22px; font-weight: 600; }
.face-dark { transform: translate(-13px, 10px); background: var(--ink); clip-path: polygon(20px 0,100% 0,calc(100% - 20px) 100%,0 100%); }
.packet-pull {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -60px;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--gold);
  font-size: 8px;
  letter-spacing: .1em;
  transform: translateY(-50%);
}
.packet-pull span { margin-left: 5px; }

.empty-copy h2, .loading-state h2 { margin: 10px 0 16px; font-size: clamp(30px, 4vw, 48px); }
.empty-copy > p:last-child, .loading-state > p:last-child { max-width: 44ch; margin: 0; color: var(--ink-soft); font-size: 11px; }

.fold-index {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: .12em;
}

.loading-state { align-content: center; }
.deploy-graphic { display: flex; width: 232px; height: 110px; margin-bottom: 36px; perspective: 800px; }
.deploy-graphic span {
  flex: 1;
  border: 1px solid var(--mountain);
  background: var(--paper);
  transform-origin: left;
  animation: deploy 1.2s ease-in-out infinite alternate;
}
.deploy-graphic span:nth-child(2) { animation-delay: .12s; background: var(--valley); }
.deploy-graphic span:nth-child(3) { animation-delay: .24s; }
.deploy-graphic span:nth-child(4) { animation-delay: .36s; background: var(--gold); }
@keyframes deploy { from { transform: rotateY(-70deg); } to { transform: rotateY(0); } }

.brief-sheet {
  width: min(940px, calc(100% - 48px));
  margin: 34px auto 70px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 24px rgba(10, 10, 10, .13);
  animation: sheet-in .6s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }

.sheet-header {
  position: relative;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 30px 22px;
  border-bottom: 2px solid var(--ink);
}
.brief-id { margin-bottom: 8px; }
.sheet-header h2 { font-size: clamp(25px, 3.4vw, 42px); }
.prospect-line { margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; }
.sheet-stamp {
  flex: none;
  margin-top: 8px;
  padding: 6px 9px;
  border: 2px solid var(--gold-deep);
  color: #6b570e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.meeting-strip {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 13px 30px;
  border-bottom: 1px solid var(--mountain);
  background: var(--valley);
}
.meeting-strip p { margin: 0; font-size: 11px; }

.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; }
.sheet-cell { padding: 22px 26px; border-bottom: 1px solid var(--mountain); }
.overview-grid .sheet-cell:first-child, .lower-grid .sheet-cell:first-child { border-right: 1px solid var(--mountain); }
.sheet-cell h3 { margin: 6px 0 11px; font-size: 15px; letter-spacing: .04em; }
.sheet-cell > p:last-child { margin: 0; color: var(--ink-soft); font-size: 10.5px; }

.pains-cell { padding-bottom: 17px; }
.pain-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 15px; }
.pain {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--valley);
}
.pain:first-child { padding-left: 0; }
.pain:last-child { padding-right: 0; border: 0; }
.pain-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.pain h4 { margin: 0; font-family: "Chakra Petch", sans-serif; font-size: 11px; text-transform: uppercase; }
.confidence { flex: none; padding: 2px 5px; background: var(--valley); color: #365f7e; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.confidence.inferred { background: #e7e5df; color: var(--ink-soft); }
.pain p { margin: 7px 0 0; color: var(--ink-soft); font-size: 9px; }

.questions-cell { padding: 25px 30px 18px; }
.questions-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.legend { margin: 0 0 2px; color: var(--ink-soft); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.legend span { display: inline-block; width: 8px; height: 8px; margin-right: 4px; background: var(--gold); transform: skewX(-20deg); }
.question-list { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: question; }
.question-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) minmax(140px, .46fr);
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid var(--valley);
  counter-increment: question;
}
.question-list li::before {
  content: "Q-0" counter(question);
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: .06em;
}
.question-text { font-size: 10.5px; font-weight: 700; line-height: 1.42; }
.question-reason { color: var(--ink-soft); font-size: 8.5px; line-height: 1.4; }
.question-reason::before { content: "→ "; color: var(--gold-deep); font-weight: 700; }

.stakeholder, .watchouts-cell li {
  display: grid;
  grid-template-columns: minmax(80px, .4fr) 1fr;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--valley);
  font-size: 9px;
}
.stakeholder b { text-transform: uppercase; }
.stakeholder span { color: var(--ink-soft); }
.watchouts-cell ul { margin: 0; padding: 0; list-style: none; }
.watchouts-cell li { grid-template-columns: 12px 1fr; color: var(--ink-soft); }
.watchouts-cell li::before { content: "◇"; color: var(--gold-deep); }

.opening-strip { padding: 18px 30px 20px; border-bottom: 1px solid var(--mountain); background: var(--ink); color: var(--sheet); }
.opening-strip .cell-id { color: var(--mountain); }
.opening-strip blockquote { margin: 8px 0 0; font-family: "Chakra Petch", sans-serif; font-size: 13px; line-height: 1.4; }

.sheet-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 15px 30px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.sources a { color: var(--ink-soft); font-size: 8px; text-underline-offset: 2px; }
.sheet-footer > .spec { flex: none; font-size: 7px; text-align: right; }

@media (max-width: 980px) {
  .workbench { grid-template-columns: 1fr; }
  .intake { border-right: 0; border-bottom: 1px solid var(--mountain); }
  .intake-inner { width: min(100%, 680px); margin: 0 auto; }
  .output { position: relative; top: 0; min-height: 720px; max-height: none; }
  .empty-state, .loading-state { min-height: 660px; }
  .brief-sheet { margin-bottom: 50px; }
}

@media (max-width: 640px) {
  .app-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .header-mode { display: none; }
  .header-actions { gap: 12px; }
  .text-button { display: none; }
  .access-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); padding: 30px 20px 24px; }
  .access-dialog h2 { max-width: calc(100% - 20px); font-size: 25px; line-height: .95; }
  .key-row { grid-template-columns: 1fr; gap: 8px; }
  .key-row input { border-right: 1px solid var(--mountain); }
  .key-row button { min-height: 42px; }
  .intake-inner { padding: 34px 20px 58px; }
  .intake h1 { font-size: 38px; }
  .intro { margin-bottom: 34px; }
  .output-toolbar { padding: 10px 16px; }
  .brief-sheet { width: calc(100% - 20px); margin: 18px auto 34px; }
  .sheet-header { padding: 21px 18px 18px; }
  .sheet-header h2 { font-size: 27px; }
  .sheet-stamp { position: absolute; right: 16px; bottom: 14px; }
  .prospect-line { max-width: 70%; }
  .meeting-strip { grid-template-columns: 1fr; gap: 3px; padding: 12px 18px; }
  .sheet-grid { grid-template-columns: 1fr; }
  .overview-grid .sheet-cell:first-child, .lower-grid .sheet-cell:first-child { border-right: 0; }
  .sheet-cell { padding: 19px 18px; }
  .pain-list { grid-template-columns: 1fr; }
  .pain, .pain:first-child, .pain:last-child { padding: 10px 0; border-right: 0; border-top: 1px solid var(--valley); }
  .questions-cell { padding: 21px 18px 14px; }
  .legend { display: none; }
  .question-list li { grid-template-columns: 29px 1fr; }
  .question-reason { grid-column: 2; }
  .opening-strip, .sheet-footer { padding-right: 18px; padding-left: 18px; }
  .sheet-footer { align-items: start; flex-direction: column; }
  .sheet-footer > .spec { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  @page { size: letter portrait; margin: .3in; }
  body { background: #fff; font-size: 10px; }
  .app-header, .app-legal, .intake, .output-toolbar, .empty-state, .loading-state { display: none !important; }
  .workbench, .output { display: block; min-height: 0; max-height: none; overflow: visible; background: #fff; }
  .brief-sheet { display: block !important; width: 100%; margin: 0; border: 1px solid #000; box-shadow: none; animation: none; }
  .sheet-header { padding: 15px 18px 12px; }
  .sheet-header h2 { font-size: 27px; }
  .meeting-strip { padding: 7px 18px; }
  .sheet-cell { padding: 11px 16px; break-inside: avoid; }
  .sheet-cell h3 { margin: 3px 0 6px; font-size: 11px; }
  .pains-cell { padding-bottom: 8px; }
  .pain p { margin-top: 4px; font-size: 7.5px; }
  .questions-cell { padding: 12px 18px 8px; }
  .question-list { margin-top: 8px; }
  .question-list li { padding: 5px 0; }
  .question-text { font-size: 8px; }
  .question-reason { font-size: 7px; }
  .stakeholder, .watchouts-cell li { padding: 4px 0; font-size: 7.5px; }
  .opening-strip { padding: 10px 18px; }
  .opening-strip blockquote { font-size: 10px; }
  .sheet-footer { padding: 8px 18px; }
}
