/* Fonts are served from this domain. No third party is contacted to render a
   page. Every file lives in /assets/fonts/ and is committed to the repo. */
@font-face { font-family:'DM Mono'; font-weight:400; font-style:normal; font-display:swap;
  src:url('/assets/fonts/dm-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Mono'; font-weight:500 600; font-style:normal; font-display:swap;
  src:url('/assets/fonts/dm-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-weight:400 700; font-style:normal; font-display:swap;
  src:url('/assets/fonts/dm-sans-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family:'Playfair Display'; font-weight:400 900; font-style:normal; font-display:swap;
  src:url('/assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family:'Schibsted Grotesk'; font-weight:400 900; font-style:normal; font-display:swap;
  src:url('/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2-variations'); }

:root {
  --pine: #0e3b2e;
  --pine-hover: #0a2c22;
  --pine-deep: #07201a;
  --pine-soft: #1a5947;
  --mint: #7fd1a8;
  --chalk: #f4f4f1;
  --paper: #fffefa;
  --ink: #1f2d29;
  --muted: #69746d;
  --line: #d7d9cf;
  --gold: #d3a447;
  --cobalt: #2159c8;
  --shadow: 0 16px 42px rgba(7, 37, 28, .14);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  min-width: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--chalk);
  font-family: 'DM Sans', Arial, sans-serif;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.skip { position: absolute; z-index: 50; top: -80px; left: 0; padding: 11px 17px; color: var(--pine); background: var(--mint); }
.skip:focus { top: 0; }

.app-shell { width: min(1480px, 100%); flex: 1 1 auto; min-height: 0; margin: 0 auto; padding: 0 clamp(12px, 3vw, 48px); display: flex; flex-direction: column; }
.library-view, .play-view, .report-view { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.eyebrow, .focus-label, .item-eyebrow { margin: 0; color: var(--pine-soft); font-family: 'DM Mono', monospace; font-size: 10px; line-height: 1.25; letter-spacing: .1em; text-transform: uppercase; }

.library-head { flex: none; min-height: 132px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr); align-items: end; gap: clamp(28px, 6vw, 100px); padding: 21px 0 18px; border-bottom: 3px solid var(--pine); }
.library-head h1 { max-width: 760px; margin: 5px 0 0; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(30px, 4vw, 55px); line-height: 1.02; }
.library-head > p { max-width: 360px; margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.library-stage { flex: 1 1 auto; min-height: 0; padding: 13px 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--pine-soft) #e6e8df; }
.assessment-library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.assessment-card { position: relative; min-height: 260px; overflow: hidden; display: block; padding: 0; color: var(--paper); text-align: left; border: 1px solid rgba(7,32,26,.45); background: var(--pine-deep); box-shadow: 0 4px 13px rgba(7,37,28,.09); }
.assessment-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
.assessment-card .card-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,32,26,.05) 15%, rgba(7,32,26,.82) 100%); }
.assessment-card:hover img, .assessment-card:focus-visible img { transform: scale(1.045); }
.assessment-card:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.card-copy { position: absolute; right: 18px; bottom: 17px; left: 18px; display: grid; gap: 5px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.card-kicker { color: var(--mint); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.card-copy > strong { font-family: 'Playfair Display', Georgia, serif; font-size: 27px; line-height: 1.05; }
.card-description { max-width: 44ch; color: rgba(255,254,250,.82); font-size: 12px; line-height: 1.38; }
.card-meta { margin-top: 5px; color: var(--paper); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .04em; }
.card-meta b { margin-left: 7px; color: var(--mint); font-size: 17px; vertical-align: -2px; }
.mirror-card { grid-column: span 2; min-height: 310px; }
.mirror-card .card-copy { max-width: 455px; }
.mirror-card .card-copy > strong { font-size: clamp(30px, 3.5vw, 46px); }

.assessment-head { flex: none; min-height: 103px; display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 7vw, 120px); padding: 15px 0 13px; border-bottom: 3px solid var(--pine); }
.focus-block { min-width: 0; }
.focus-label { display: inline-block; margin-top: 7px; color: var(--muted); }
.assessment-head :is(h1,h2) { margin: 1px 0 0; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 42px); line-height: 1.02; }
.focus-description { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.32; }
.response-ledger { min-width: 175px; display: grid; justify-items: end; text-align: right; }
.response-ledger .eyebrow { color: var(--muted); }
.ledger-value { display: flex; align-items: baseline; justify-content: end; gap: 7px; margin-top: 6px; }
.ledger-value strong { color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: 37px; line-height: .8; }
.ledger-value span { color: var(--muted); font-size: 11px; }
.ledger-ticks { display: flex; justify-content: end; gap: 3px; margin-top: 9px; }
.ledger-ticks i { width: 12px; height: 3px; display: block; background: #dfe3dc; transition: background .2s ease; }
.ledger-ticks i.is-lit { background: var(--gold); }

.assessment-stage { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); overflow: hidden; margin-top: 13px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.scene-panel { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: var(--pine-deep); }
.scene-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,32,26,.03) 44%, rgba(7,32,26,.86)); }
.scene-panel img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 38% center; }
.scene-panel figcaption { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.question-sheet { min-width: 0; min-height: 0; padding: clamp(23px, 3.4vw, 52px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); scrollbar-color: var(--pine-soft) #e6e8df; }
.loading-state { height: 100%; display: grid; place-content: center; gap: 9px; text-align: center; }
.loading-state strong { max-width: 26ch; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: 29px; line-height: 1.08; }
.error-state .primary-button { justify-self: center; margin-top: 12px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 19px; }
.item-meta span { padding: 5px 7px; color: #53615b; background: #edf2ec; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .035em; text-transform: uppercase; }
.item-meta span:first-child { color: var(--pine); background: #dff0e6; }
.item-copy h2 { max-width: 800px; margin: 5px 0 0; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 2.6vw, 39px); line-height: 1.1; }
.item-copy h2.sjt-stem { font-size: clamp(22px, 2vw, 30px); line-height: 1.28; }
.item-copy h2 em { color: var(--cobalt); font-style: normal; }
.item-eyebrow { color: var(--cobalt); }
.item-nudge { max-width: 690px; margin: 13px 0 0; padding-left: 12px; color: #4d5d56; border-left: 2px solid var(--gold); font-size: 14px; line-height: 1.45; }
.question-guidance { margin: 17px 0 10px; color: var(--muted); font-size: 12px; font-style: italic; }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.answer-grid.wide-answers { grid-template-columns: 1fr; max-width: 780px; }
.answer { min-height: 74px; display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 13px; color: var(--ink); text-align: left; background: #fffefa; border: 1px solid #ccd4cc; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.answer:hover:not(:disabled), .answer:focus-visible { background: #edf3ff; border-color: var(--cobalt); box-shadow: 0 5px 15px rgba(33,89,200,.12); outline: none; transform: translateY(-2px); }
.answer:disabled { cursor: default; }
.answer.is-selected { color: var(--pine); background: #dff0e6; border-color: var(--pine-soft); }
.answer span { width: 27px; height: 27px; display: grid; place-items: center; color: var(--pine); font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; border: 1px solid #aebbb1; border-radius: 50%; }
.answer p { margin: 1px 0 0; font-size: 13px; line-height: 1.36; }
.answer-flash { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; color: var(--paper); background: rgba(7,32,26,.78); }
.answer-flash > div { display: grid; justify-items: center; gap: 7px; padding: 28px; border: 1px solid rgba(255,255,255,.3); }
.answer-flash .eyebrow { color: var(--mint); }
.answer-flash strong { font-family: 'Playfair Display', Georgia, serif; font-size: 31px; }

.report-head { flex: none; min-height: 104px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 15px 0 13px; border-bottom: 3px solid var(--pine); }
.report-head :is(h1,h2) { margin: 5px 0 0; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(29px, 3.5vw, 48px); line-height: 1.05; }
.quiet-button, .secondary-button { padding: 10px 14px; color: var(--pine); background: transparent; border: 1px solid #9caaa1; font-weight: 600; }
.quiet-button:hover, .secondary-button:hover, .quiet-button:focus-visible, .secondary-button:focus-visible { background: #e8eee9; outline: 2px solid var(--mint); outline-offset: 2px; }
.report-stage { flex: 1 1 auto; min-height: 0; padding: 13px 0 24px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--pine-soft) #e6e8df; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.report-card { min-height: 210px; padding: clamp(20px, 2.7vw, 34px); background: var(--paper); border: 1px solid var(--line); }
.report-card h2 { margin: 9px 0 7px; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(25px, 2.8vw, 38px); line-height: 1.08; }
.report-card p { max-width: 49ch; margin: 0; color: #526059; font-size: 13px; line-height: 1.45; }
.aura-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 22px; }
.aura-card .eyebrow { grid-column: 1 / -1; }
.aura-readout { display: flex; align-items: baseline; gap: 8px; }
.aura-readout strong { color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: 58px; line-height: .85; }
.aura-readout span { color: var(--muted); font-size: 12px; }
.aura-card h2, .aura-card p { grid-column: 1; }
.aura-ring { position: relative; grid-row: 2 / span 3; grid-column: 2; width: 115px; aspect-ratio: 1; display: grid; place-content: center; background: conic-gradient(var(--mint) var(--score), #dfe4df 0); border-radius: 50%; }
.aura-ring::before { content: ''; position: absolute; inset: 9px; background: var(--paper); border-radius: 50%; }
.aura-ring span, .aura-ring small { position: relative; z-index: 1; text-align: center; }
.aura-ring span { color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: 28px; line-height: .9; }
.aura-ring small { margin-top: 4px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.profile-card { grid-row: span 2; }
.profile-row { margin-top: 15px; }
.profile-row > div { display: flex; justify-content: space-between; gap: 10px; color: #3b4a43; font-size: 12px; line-height: 1.25; }
.profile-row > div span { max-width: 85%; }
.profile-row b { display: inline-block; margin-left: 4px; padding: 2px 4px; color: var(--pine); background: #dff0e6; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.profile-row.growth b { color: #6f5220; background: #f5e8c9; }
.profile-row > i { height: 7px; display: block; margin-top: 6px; overflow: hidden; background: #e4e8e4; }
.profile-row > i em { height: 100%; display: block; background: var(--pine-soft); }
.profile-row.growth > i em { background: var(--gold); }
.pillar-summary { height: 100px; display: flex; align-items: end; gap: 7px; margin: 19px 0 8px; }
.pillar-summary span { flex: 1; min-width: 0; height: 100%; display: flex; align-items: end; justify-content: center; position: relative; background: #e4e8e4; }
.pillar-summary i { width: 100%; display: block; background: var(--pine-soft); }
.pillar-summary b { position: absolute; bottom: calc(100% + 4px); color: var(--pine); font-family: 'DM Mono', monospace; font-size: 9px; }
.reading-card p { padding: 10px 0; border-bottom: 1px solid var(--line); }
.reading-card a { display: block; color: var(--pine); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; text-transform: capitalize; }
.reading-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.primary-button { padding: 11px 16px; color: var(--paper); background: var(--pine); border: 1px solid var(--pine); font-weight: 600; }
.primary-button:hover, .primary-button:focus-visible { background: var(--pine-soft); outline: 2px solid var(--mint); outline-offset: 2px; }
.leadership-review { padding: clamp(22px, 3vw, 38px); background: var(--paper); border: 1px solid var(--line); }
.leadership-review > div > h2 { margin: 7px 0 7px; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: 32px; line-height: 1.1; }
.leadership-review > div > p { max-width: 60ch; margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.review-item { border-top: 1px solid var(--line); }
.review-item summary { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px 0; cursor: pointer; list-style: none; }
.review-item summary::-webkit-details-marker { display: none; }
.review-item summary > span { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.review-item summary > strong { color: var(--pine); font-size: 13px; }
.review-item summary > b { padding: 3px 5px; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; }
.review-item .sharp { color: var(--pine); background: #dff0e6; }
.review-item .close { color: #5d512a; background: #f5e8c9; }
.review-item .miss { color: #743d36; background: #f5ddda; }
.review-item .logged { color: #496058; background: #e8efeb; }
.review-body { padding: 1px 0 18px 45px; }
.review-body > p { max-width: 72ch; margin: 0 0 10px; color: #44534c; font-size: 13px; line-height: 1.5; }
.your-answer, .stronger-answer { max-width: 72ch; margin: 9px 0; padding: 10px 12px; color: #38473f; background: #f0f3ee; font-size: 12px; line-height: 1.45; }
.your-answer span, .stronger-answer span { display: block; margin-bottom: 4px; color: var(--pine-soft); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.stronger-answer { border-left: 3px solid var(--gold); background: #fbf4e4; }
.review-feedback { margin-top: 13px !important; padding-left: 12px; border-left: 2px solid var(--pine-soft); }
.app-footer { flex: none; min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6d7770; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .035em; }
.app-footer a { color: var(--pine-soft); text-underline-offset: 2px; }

@media (max-width: 900px) {
  .assessment-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-head { grid-template-columns: minmax(0, 1.3fr) minmax(205px, .7fr); }
}
@media (max-width: 960px) and (min-width: 601px) {
  .assessment-head { min-height: 92px; padding: 12px 0; }
  .assessment-head :is(h1,h2) { font-size: 31px; }
  .assessment-stage { grid-template-columns: minmax(205px, .42fr) minmax(0, 1fr); margin-top: 10px; }
  .question-sheet { padding: 25px 24px; }
  .item-copy h2 { font-size: 30px; }
  .answer-grid { grid-template-columns: 1fr; }
  .answer { min-height: 58px; padding: 9px 10px; }
  .answer p { font-size: 12px; }
}
@media (max-width: 600px) {
  .app-shell { padding: 0 10px; }
  .library-head { min-height: 121px; display: block; padding: 13px 1px 11px; }
  .library-head h1 { font-size: 29px; }
  .library-head > p { margin-top: 7px; font-size: 11px; }
  .library-stage { padding: 9px 0; }
  .assessment-library { grid-template-columns: 1fr; gap: 9px; }
  .assessment-card, .mirror-card { grid-column: auto; min-height: 192px; }
  .card-copy { right: 14px; bottom: 13px; left: 14px; }
  .card-copy > strong, .mirror-card .card-copy > strong { font-size: 27px; }
  .card-description { font-size: 11px; }
  .assessment-head { min-height: 94px; gap: 14px; padding: 11px 1px 10px; }
  .focus-label { margin-top: 6px; }
  .assessment-head :is(h1,h2) { font-size: 27px; }
  .focus-description { max-width: 210px; font-size: 10px; }
  .response-ledger { min-width: 114px; }
  .ledger-value strong { font-size: 31px; }
  .ledger-value { gap: 4px; }
  .ledger-value span { font-size: 9px; }
  .ledger-ticks { margin-top: 7px; }
  .ledger-ticks i { width: 9px; }
  .assessment-stage { grid-template-columns: 1fr; grid-template-rows: 138px minmax(0, 1fr); margin-top: 9px; }
  .scene-panel { grid-row: 1; }
  .scene-panel img { object-position: 45% 42%; }
  .question-sheet { grid-column: 1; grid-row: 2; padding: 21px 18px; }
  .item-meta { margin-bottom: 13px; }
  .item-copy h2 { font-size: 28px; }
  .item-nudge { margin-top: 10px; font-size: 13px; }
  .question-guidance { margin: 12px 0 9px; }
  .answer-grid { grid-template-columns: 1fr; gap: 7px; }
  .answer { min-height: 58px; padding: 9px 10px; }
  .answer p { font-size: 12px; }
  .report-head { min-height: 89px; padding: 11px 0 10px; }
  .report-head :is(h1,h2) { font-size: 29px; }
  .report-stage { padding-top: 9px; }
  .report-grid { grid-template-columns: 1fr; gap: 9px; }
  .report-card { min-height: auto; padding: 20px; }
  .profile-card { grid-row: auto; }
  .aura-card { grid-template-columns: 1fr auto; }
  .aura-ring { width: 100px; }
  .leadership-review { padding: 20px; }
  .review-body { padding-left: 0; }
  .app-footer { font-size: 8px; white-space: nowrap; }
}

/* The share card is the only card that asks for an action, so it carries the
   pine edge the rest of the report does not. The run stamp sits quiet beneath
   the line a person would actually paste. */
.report-card.share-card { border-color: var(--pine); }
.report-card.share-card .share-run { margin-top: 10px; color: var(--slate); font: 500 10px 'DM Mono', monospace; letter-spacing: .04em; }
.report-card.share-card .share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
