/* forthdesk startup desk. The same interface serves example and paid projects. */
:root {
  --studio-blue:#2852d6;
  --studio-blue-dark:#193da9;
  --studio-cream:#f6f2e7;
  --studio-paper:#fffdf3;
  --studio-yellow:#e9f08c;
  --studio-ink:#292b28;
  --studio-muted:#56564f;
  --studio-line:#cbc6b8;
  --studio-soft-blue:#e8edff;
  --studio-shadow-colour:#d8d2c2;
}
body.studio-mode {background:var(--studio-cream);color:var(--studio-ink)}
.studio-mode>.concept {display:none}
.studio-mode>header {max-width:none;margin:0;padding:18px 32px;background:var(--studio-paper);border-bottom:2px solid var(--studio-ink)}
.studio-mode h1,.studio-mode h2,.studio-mode h3 {font-family:var(--display);font-weight:600;color:var(--studio-ink)}
.studio-mode p,.studio-mode small {color:var(--studio-muted)}
.studio-mode .eyebrow,.studio-mode .caption,.studio-mode .tag {font-family:var(--studio-mono);color:var(--studio-blue);letter-spacing:.06em;font-size:11px;line-height:1.6}
.studio-mode .text-btn {color:var(--studio-blue);font-size:13px;min-height:40px}
.studio-mode :focus-visible {outline:3px solid var(--studio-blue);outline-offset:4px}
.studio-mode [hidden] {display:none!important}
.studio-window-bar,.project-card-chrome {display:flex;align-items:center;gap:12px;min-height:39px;padding:10px 16px;background:var(--studio-blue);color:var(--studio-paper);border-bottom:2px solid var(--studio-ink);font:11px/1.5 var(--studio-mono);letter-spacing:.015em}
.studio-window-bar .window-grip,.project-card-chrome .window-grip {color:inherit;flex:none}
.studio-window-bar .window-square,.project-card-chrome .window-square {margin-left:auto;color:inherit;flex:none}
.studio-window-bar .workspace-kind {margin-left:auto;font-size:9px;letter-spacing:.07em;white-space:nowrap}

/* Project library: a place to return to, with document windows and real counts. */
.studio-mode .studio {max-width:1440px;margin:28px auto 56px;grid-template-columns:208px minmax(0,1fr);gap:0;padding:0 28px;background:transparent;border:0}
.studio-mode .studio-sidebar {background:var(--studio-blue);color:var(--studio-paper);border:2px solid var(--studio-ink);border-radius:5px 0 0 5px;padding:28px 15px;min-width:0}
.studio-sidebar .eyebrow {color:var(--studio-yellow);font-size:10px;margin:0 8px 25px}
.studio-mode .studio-sidebar .side-item {display:flex;align-items:center;gap:10px;width:100%;font-size:13px;line-height:1.5;color:var(--studio-paper);padding:12px 10px;margin:0 0 8px;border:1px solid transparent;border-radius:3px;background:transparent;text-decoration:none}
.studio-mode .studio-sidebar .side-item.active {background:var(--studio-yellow);color:var(--studio-ink);border-color:var(--studio-ink);box-shadow:2px 2px 0 var(--studio-ink)}
.studio-mode .studio-sidebar .side-item:hover {background:var(--studio-paper);color:var(--studio-blue)}
.studio-mode .sidebar-bottom {border-color:#9caceb;color:var(--studio-paper);font:11px/1.7 var(--studio-mono);padding:20px 8px}
.studio-mode .sidebar-bottom p {font:12px/1.7 'DM Sans',Arial,sans-serif;color:var(--studio-paper)}
.studio-mode .tiny-dot {background:var(--studio-yellow);border-radius:0}
.studio-mode .studio-main {min-width:0;background:transparent;padding:18px 0 0 36px}
.desk-location {display:flex;align-items:center;gap:10px;font:10px/1.6 var(--studio-mono);border-bottom:1px solid var(--studio-line);padding:0 0 18px;margin-bottom:25px}
.desk-location>span:last-child {margin-left:auto;color:var(--studio-muted);font-size:9px}
.studio-mode .studio-heading {gap:20px;align-items:center}
.studio-mode .studio-heading h1 {font-size:clamp(35px,4vw,54px);line-height:1.05;letter-spacing:-1.8px;margin:16px 0}
.studio-mode .studio-heading p {font-size:15px;line-height:1.7;margin:0}
.studio-mode .studio-heading .btn {font-size:13px;white-space:nowrap}
.studio-mode .studio-stats {display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:16px;margin:32px 0}
.studio-mode .studio-stats article {background:var(--studio-paper);border:1.5px solid var(--studio-ink);border-radius:4px;padding:22px;box-shadow:3px 3px 0 var(--studio-shadow-colour)}
.studio-mode .studio-stats article:last-child {background:var(--studio-yellow);grid-column:auto}
.studio-mode .studio-stats span {font:10px/1.6 var(--studio-mono);color:var(--studio-muted);letter-spacing:.03em}
.studio-mode .studio-stats strong {font-family:var(--display);font-size:38px;line-height:1.2;color:var(--studio-blue);margin:14px 0 8px}
.studio-mode .studio-stats .word-stat {font-size:25px;letter-spacing:-.6px;color:var(--studio-ink)}
.studio-mode .studio-stats small {font-size:12px;line-height:1.6;color:var(--studio-muted)}
.studio-mode .project-list-heading {align-items:center;gap:20px}
.studio-mode .project-list-heading h2 {font-size:25px;margin:0}
.studio-mode .import-button {color:var(--studio-blue);font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.studio-mode .project-cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0}
.studio-mode .project-card {position:relative;padding:0 22px 20px;overflow:hidden;background:var(--studio-paper);border:2px solid var(--studio-ink);border-radius:5px;box-shadow:4px 4px 0 var(--studio-shadow-colour);text-align:left}
.studio-mode .project-card:hover {transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--studio-shadow-colour)}
.project-card-chrome {margin:0 -22px 20px;background:var(--studio-yellow);color:var(--studio-ink);font-size:10px;min-height:34px;padding:8px 12px}
.studio-mode .project-card-top .status {font:10px/1.5 var(--studio-mono);background:var(--studio-soft-blue);color:var(--studio-blue);border-radius:2px;padding:5px 8px}
.studio-mode .project-icon {padding:0;background:none;color:var(--studio-blue);font-size:25px}
.studio-mode .project-card h3 {font-size:26px;margin:18px 0 12px;line-height:1.2;color:var(--studio-ink)}
.studio-mode .project-card p {color:var(--studio-muted);font-size:14px;line-height:1.65;min-height:0}
.studio-mode .project-next {background:var(--studio-cream);border:1px solid var(--studio-line);border-radius:3px;padding:14px;margin-top:20px}
.studio-mode .project-next>span {font:10px/1.5 var(--studio-mono);color:var(--studio-blue)}
.studio-mode .project-next p {color:var(--studio-ink)!important;font-size:13px!important}
.studio-mode .project-card-meta {font:10px/1.6 var(--studio-mono);color:var(--studio-muted);border-color:var(--studio-line);padding:18px 0 14px}
.studio-mode .project-card-bottom {color:var(--studio-blue);font-size:13px}
.studio-mode .empty-projects {grid-column:1/-1;background:var(--studio-paper);border:2px dashed var(--studio-line);border-radius:5px;padding:45px 30px;text-align:center;min-height:280px}
.empty-projects .desktop-folder {display:block;margin:0 auto 22px}
.studio-mode .empty-projects h3 {font-size:28px;margin:14px auto;max-width:450px}
.studio-mode .empty-projects p {max-width:480px;margin:0 auto 18px;font-size:15px;line-height:1.7}
.empty-projects-note {font:11px/1.7 var(--studio-mono);color:var(--studio-blue)}

/* The report window: consistent frame, section rail and work surface. */
.report-mode>header {padding:14px 30px}
.report-mode>header .brand {font-size:26px}.report-mode>header .mark {width:32px;height:32px}
.report-mode>header>nav,.report-mode>header>.btn,.report-mode>header .mobile-nav {display:none}
.report-mode>header .mobile-dashboard {display:block;margin-left:auto;font-size:13px;color:var(--studio-blue);border:1px solid var(--studio-ink);border-radius:3px;padding:9px 12px;background:var(--studio-yellow);text-decoration:none}
.report-mode .studio {display:block;max-width:1400px;margin:0 auto;padding:0}
.report-mode .studio-sidebar {display:none}
.report-mode .studio-main {padding:22px 30px 60px}
.report-mode #back-projects {margin:0 0 12px;font:12px/1.5 var(--studio-mono);min-height:32px;color:var(--studio-blue)}
.report-desktop {border:2px solid var(--studio-ink);border-radius:6px;background:var(--studio-paper);box-shadow:7px 7px 0 var(--studio-shadow-colour);overflow:clip}
.report-desktop>.studio-window-bar {border-radius:3px 3px 0 0}
.report-masthead {padding:24px 28px 18px;background:var(--studio-paper)}
.report-mode .project-heading {margin:0 0 16px;gap:20px;align-items:center}
.report-mode .project-heading .eyebrow {font:10px/1.6 var(--studio-mono);letter-spacing:.08em;color:var(--studio-muted)}
.report-mode .project-heading h1 {font-size:clamp(28px,3.2vw,42px);line-height:1.12;letter-spacing:-1.2px;margin:8px 0 10px;max-width:800px;overflow-wrap:anywhere}
.report-mode .project-heading p {font-size:12px;line-height:1.6;color:var(--studio-muted);margin:0}
.report-mode .project-actions {gap:12px;display:flex;align-items:center;flex-wrap:wrap}
.report-mode .project-actions .btn {font-size:12px;padding:11px 15px;background:var(--studio-yellow);color:var(--studio-ink)}
.report-mode .project-actions .danger {font-size:11px;min-height:40px;color:#9b3528}
.report-mode .project-summary {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;font-size:12px}
.report-mode .summary-link {background:transparent;color:var(--studio-blue);border:1px solid var(--studio-line);font-size:11px;border-radius:3px;padding:6px 10px;min-height:32px;text-decoration:none}
.report-mode .summary-link:hover {background:var(--studio-soft-blue);border-color:var(--studio-blue)}
.report-mode #project-save-state {font:10px/1.6 var(--studio-mono);color:var(--studio-muted);margin-left:auto;width:auto}
.report-mode .project-summary [data-save-project] {font-size:11px;min-height:32px}
.demo-strip {display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f6f5cf;color:var(--studio-ink);border:1px solid #d4d193;border-radius:3px;padding:10px 14px;margin:15px 0 0}
.demo-strip b {font-size:12px;display:block;color:var(--studio-ink)}
.demo-strip span {display:block;font-size:11px;line-height:1.6;color:var(--studio-muted)}
.demo-strip .btn {font-size:11px;white-space:nowrap;padding:9px 12px;box-shadow:2px 2px 0 var(--studio-ink)}
.founder-context {font:11px/1.7 var(--studio-mono);color:var(--studio-muted);margin:14px 0 0}
.report-mode .journey {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;margin:0;border:0;border-top:1px solid var(--studio-ink);border-bottom:2px solid var(--studio-ink);border-radius:0;background:var(--studio-cream);box-shadow:none}
.report-mode .journey button {display:flex;align-items:center;gap:10px;padding:14px 16px;min-height:75px;min-width:0;border:0;border-right:1px solid var(--studio-line);border-radius:0;background:transparent;color:var(--studio-ink);font-size:12px;line-height:1.4;box-shadow:none}
.report-mode .journey button:last-child {border-right:0}
.report-mode .journey button>span {width:27px;height:27px;flex:none;border:1px solid var(--studio-ink);border-radius:2px;background:var(--studio-paper);color:var(--studio-blue);font:11px var(--studio-mono)}
.report-mode .journey small {display:block;color:var(--studio-muted);font-size:10px;line-height:1.5;margin-top:5px}
.report-mode .journey button.current {background:var(--studio-yellow);color:var(--studio-ink);box-shadow:inset 0 -3px var(--studio-blue)}
.report-mode .journey button.current>span {background:var(--studio-blue);color:var(--studio-paper);border-color:var(--studio-ink)}
.report-mode .journey button.current small {color:var(--studio-ink)}
.report-mode .journey button:hover {background:var(--studio-soft-blue)}
.report-mode .journey i {display:none}
.report-body {display:grid;grid-template-columns:195px minmax(0,1fr);align-items:start;background:var(--studio-cream)}
.report-mode .studio-tabs {display:flex;flex-direction:column;position:sticky;top:18px;z-index:5;gap:4px;overflow:visible;margin:0;padding:18px 12px 30px;border:0;border-radius:0;background:var(--studio-cream);backdrop-filter:none;flex-wrap:nowrap}
.report-nav-heading {font:9px/1.6 var(--studio-mono);letter-spacing:.06em;color:var(--studio-muted);padding:4px 9px 10px}
.report-nav-heading:not(:first-child) {padding-top:22px}
.report-mode .studio-tabs button {display:flex;align-items:center;gap:11px;white-space:normal;text-align:left;border:1px solid transparent;border-radius:3px;font-size:12px;line-height:1.5;padding:10px 9px;min-height:42px;color:var(--studio-ink);background:transparent;box-shadow:none}
.report-mode .studio-tabs button:before {content:'';width:9px;height:11px;border:1px solid var(--studio-muted);background:var(--studio-paper);flex:none}
.report-mode .studio-tabs button:hover {background:var(--studio-paper);border-color:var(--studio-line)}
.report-mode .studio-tabs button.selected {background:var(--studio-blue);color:var(--studio-paper);border-color:var(--studio-ink);box-shadow:2px 2px 0 var(--studio-shadow-colour)}
.report-mode .studio-tabs button.selected:before {background:var(--studio-yellow);border-color:var(--studio-paper)}
.mobile-section-label {display:none}
.report-mode #project-panel {padding:26px 28px 28px;border-left:1px solid var(--studio-line);min-width:0;background:var(--studio-paper);scroll-margin-top:20px}

/* A decisive overview without invented success scores. */
.report-mode .decision-hero {padding:30px;border:2px solid var(--studio-ink);border-radius:4px;background:var(--studio-blue);color:var(--studio-paper);box-shadow:4px 4px 0 var(--studio-shadow-colour);display:flex;align-items:center;gap:22px;margin-bottom:24px;overflow:hidden}
.report-mode .decision-hero h2 {font:600 clamp(25px,2.8vw,35px)/1.13 var(--display);letter-spacing:-.8px;color:var(--studio-paper);max-width:29ch;margin:18px 0 15px}
.report-mode .decision-hero p {color:var(--studio-paper);font-size:14px;line-height:1.65;margin:0 0 23px}
.report-mode .decision-hero .evidence-label {font:9px/1.5 var(--studio-mono);color:var(--studio-paper);background:transparent;border:1px solid #a9b9f2;border-radius:2px;letter-spacing:.04em;padding:5px 8px}
.report-mode .decision-hero .btn {background:var(--studio-yellow);color:var(--studio-ink);font-size:12px;padding:12px 16px;box-shadow:3px 3px 0 var(--studio-ink)}
.report-mode .decision-symbol {display:grid;place-items:center;flex:none;width:78px;height:78px;border:2px solid var(--studio-paper);background:var(--studio-yellow);color:var(--studio-blue);font-size:52px;opacity:1;transform:rotate(-7deg);padding:0;box-shadow:5px 5px 0 #1739a2;border-radius:4px}
.workspace-snapshot {display:grid;grid-template-columns:1fr 1fr 1.25fr;margin:0 0 24px;border:1px solid var(--studio-ink);border-radius:3px;overflow:hidden}
.workspace-snapshot>button {display:flex;flex-direction:column;align-items:start;text-align:left;gap:10px;min-width:0;border:0;border-right:1px solid var(--studio-line);background:var(--studio-cream);padding:19px 16px;color:var(--studio-ink);cursor:pointer}
.workspace-snapshot>button:last-child {border-right:0;background:#f5f4cf}
.workspace-snapshot>button:hover {background:var(--studio-soft-blue)}
.workspace-snapshot>button>span:first-child {font:9px/1.6 var(--studio-mono);color:var(--studio-muted);letter-spacing:.04em}
.workspace-snapshot strong {display:flex;align-items:baseline;gap:8px;font:600 32px/1.2 var(--display);letter-spacing:-.8px;color:var(--studio-blue)}
.workspace-snapshot small {font:11px/1.5 'DM Sans',Arial,sans-serif;color:var(--studio-muted);letter-spacing:0}
.workspace-snapshot .snapshot-decision {font-size:19px;letter-spacing:-.4px;min-height:38px;align-items:center;line-height:1.25;color:var(--studio-ink)}
.snapshot-link {font-size:10px;line-height:1.6;color:var(--studio-blue);margin-top:auto}
.snapshot-link .ui-icon {margin-left:4px}
.report-mode .decision-grid {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 22px;background:transparent;border-radius:0}
.report-mode .decision-grid article {border:1px solid var(--studio-line);border-radius:3px;padding:22px;background:var(--studio-paper);min-width:0}
.report-mode .decision-grid article:last-child {border:1px solid var(--studio-line);grid-column:auto}
.report-mode .decision-grid .eyebrow {font-size:10px;color:var(--studio-blue)}
.report-mode .decision-grid h3 {font-size:20px;line-height:1.25;letter-spacing:-.5px;margin:13px 0}
.report-mode .decision-grid p {font-size:14px;line-height:1.7;margin:10px 0;color:var(--studio-muted)}
.report-mode .decision-grid .text-btn {font-size:12px;margin-top:8px}

/* Research pages, sources and working documents. */
.report-mode .dash-card {padding:24px;border:1px solid var(--studio-line);border-radius:3px;background:var(--studio-paper);margin:0 0 18px;box-shadow:none}
.report-mode .dash-card h2,.report-mode .section-intro h2 {font-size:27px;line-height:1.2;letter-spacing:-.6px;margin:7px 0 15px;color:var(--studio-ink)}
.report-mode .dash-card h3 {font-size:20px;line-height:1.3;margin:0 0 12px}
.report-mode .dash-card p,.report-mode .dash-card li {font-size:15px;line-height:1.7;color:var(--studio-muted)}
.report-mode .formatted {max-width:80ch;font-size:15px;line-height:1.7;color:var(--studio-ink);overflow-wrap:anywhere}
.report-mode .formatted p,.report-mode .formatted li {font-size:15px;line-height:1.7;color:var(--studio-muted);margin:12px 0}
.report-mode .formatted h3 {font-size:20px;margin:27px 0 11px;color:var(--studio-ink)}
.report-mode .formatted a {color:var(--studio-blue);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.report-mode details>summary {cursor:pointer;color:var(--studio-ink);min-height:44px;align-content:center;font-size:15px;font-weight:600}
.report-mode details>summary:focus-visible {outline-color:var(--studio-blue)}
.report-mode .reasoning-card,.report-mode .original-research-card {background:var(--studio-cream);padding:10px 18px}
.report-mode .reasoning-card summary {display:flex;justify-content:space-between;gap:16px;font-size:14px}
.report-mode .reasoning-card summary span {font:10px/1.5 var(--studio-mono);color:var(--studio-blue)}
.report-mode .section-intro {margin:0 0 22px;gap:18px;align-items:start}
.report-mode .section-intro p {font-size:14px;line-height:1.7;margin-bottom:0;color:var(--studio-muted)}
.report-mode .evidence-label {font:9px/1.5 var(--studio-mono);letter-spacing:.03em;border-radius:2px;padding:6px 8px}
.report-mode .evidence-label.assumption,.report-mode .evidence-label.estimate {background:var(--studio-yellow);color:var(--studio-ink)}
.report-mode .evidence-label.sourced {background:var(--studio-soft-blue);color:var(--studio-blue)}
.report-mode .source-register a {padding:20px 0;gap:16px;align-items:start;border-color:var(--studio-line);color:var(--studio-blue)}
.report-mode .source-register a>span {display:grid;place-items:center;width:30px;height:32px;flex:none;border:1px solid var(--studio-ink);background:var(--studio-yellow);color:var(--studio-ink);font:12px var(--studio-mono)}
.report-mode .source-register b {font-size:16px;line-height:1.5}
.report-mode .source-register small {color:var(--studio-muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.report-mode .setup-grid {display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}
.report-mode .setup-grid>.dash-card {margin:0;background:var(--studio-cream);padding:22px}
.report-mode .setup-grid>.dash-card:first-child {grid-column:1/-1;border:1px solid var(--studio-ink);background:#f5f4cf}
.report-mode .setup-number {display:inline-grid;place-items:center;min-width:30px;height:30px;margin:0 0 18px;background:var(--studio-blue);border:1px solid var(--studio-ink);color:var(--studio-paper);font:12px var(--studio-mono);border-radius:2px}
.report-mode .comparison-table {overflow-x:auto;background:var(--studio-paper);border:1px solid var(--studio-ink);border-radius:3px;margin:0 0 22px}
.report-mode .comparison-table table {min-width:0;width:100%;border-collapse:collapse}
.report-mode .comparison-table th,.report-mode .comparison-table td {padding:22px;vertical-align:top;font-size:14px;line-height:1.7}
.report-mode .comparison-table thead th {background:var(--studio-blue);color:var(--studio-paper);font:10px/1.6 var(--studio-mono);letter-spacing:.05em}
.report-mode .comparison-table tr {border-bottom:1px solid var(--studio-line)}
.report-mode .comparison-table tbody th {font-family:var(--display);font-size:19px;color:var(--studio-ink);background:var(--studio-cream)}

/* Useful forms: comfortable targets, clear labels, no mobile overflow. */
.report-mode input,.report-mode textarea,.report-mode select {font-size:16px;max-width:100%;box-sizing:border-box;accent-color:var(--studio-blue);color:var(--studio-ink)}
.report-mode .studio-input,.report-mode .decision-form textarea,.report-mode .decision-form select {display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:12px;border:1.5px solid #9a978b;border-radius:3px;font-family:inherit;font-size:16px;line-height:1.55;color:var(--studio-ink);background:#fff}
.report-mode input::placeholder,.report-mode textarea::placeholder {color:#66665e;opacity:1}
.report-mode textarea {resize:vertical}.report-mode .title-input {max-width:650px}
.report-mode .edit-label,.report-mode .decision-form label {font-size:13px;color:var(--studio-ink);font-weight:600}
.report-mode .plan-sections {display:grid;grid-template-columns:1fr;gap:12px;margin-top:22px}
.report-mode .plan-section {margin:0;padding:0;border:1px solid var(--studio-ink);border-radius:3px;background:var(--studio-paper);overflow:hidden}
.report-mode .plan-section-heading {display:flex;gap:13px;align-items:center;padding:15px 18px;margin:0;background:var(--studio-cream)}
.report-mode .plan-section-heading>span:first-child {font:11px var(--studio-mono);color:var(--studio-blue)}
.report-mode .plan-section-heading h3 {font-size:17px;line-height:1.4;margin:0;flex:1}
.report-mode .plan-section-heading .evidence-label {font-size:9px;background:var(--studio-paper);color:var(--studio-blue);border:1px solid var(--studio-line)}
.report-mode .plan-section[open]>.plan-section-heading {background:var(--studio-yellow);border-bottom:1px solid var(--studio-ink)}
.plan-section-body {padding:10px 20px 20px}
.plan-section-body details {border-top:1px solid var(--studio-line);margin-top:18px;padding-top:10px}
.plan-section-body details summary {color:var(--studio-blue)}
.report-mode .funding-brief {margin:20px 0;background:var(--studio-soft-blue);border:1px solid #aab9eb}
.funding-brief>summary {display:flex;justify-content:space-between;gap:12px;font-size:16px}
.funding-brief>summary small {font:10px/1.6 var(--studio-mono);color:var(--studio-blue);font-weight:400}
.funding-brief label {display:block;font-size:13px;font-weight:600;color:var(--studio-ink);margin:17px 0 7px}
.funding-fields {display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.funding-wide {grid-column:1/-1}
.report-mode .funding-brief .field-hint {font-size:12px;line-height:1.6;margin:0 0 10px}
.report-mode .funding-brief>.field-hint:last-child {margin-top:18px}.funding-brief select {margin-bottom:8px}
.report-mode .panel-heading {display:flex;align-items:start;justify-content:space-between;gap:14px}
.report-mode #tasks-progress {flex:none;white-space:nowrap;font:11px/1.5 var(--studio-mono);padding:5px 8px;background:var(--studio-yellow);border:1px solid var(--studio-ink);border-radius:2px;color:var(--studio-ink);margin-top:7px}
.report-mode .validation-task {border:1px solid var(--studio-ink);border-radius:3px;margin:13px 0;padding:0;overflow:hidden;background:var(--studio-paper)}
.report-mode .validation-task>summary {display:flex;gap:12px;align-items:center;padding:16px;background:var(--studio-cream);font-size:14px;line-height:1.5;list-style:none}
.validation-task>summary::-webkit-details-marker {display:none}
.validation-task>summary>span:nth-child(2) {flex:1;min-width:0}
.validation-task>summary small {font:10px/1.4 var(--studio-mono);white-space:nowrap;padding:4px 7px;border:1px solid var(--studio-line);border-radius:2px;color:var(--studio-muted);background:var(--studio-paper)}
.report-mode .validation-task[open]>summary {background:var(--studio-soft-blue);border-bottom:1px solid var(--studio-ink)}
.task-number {color:var(--studio-blue);font:12px var(--studio-mono);flex:none}
.task-body {padding:18px}
.report-mode .task-row {padding:0;margin:0 0 20px;display:flex;align-items:start;gap:12px;font-size:14px;line-height:1.6;border:0;color:var(--studio-ink);font-weight:400}
.report-mode .task-row input {flex:none;width:20px;height:20px;margin:2px 0;accent-color:var(--studio-blue)}
.report-mode .task-evidence-label {display:block;font-size:13px;margin:0;color:var(--studio-ink);font-weight:600}
.report-mode .task-body .field-hint {font-size:12px;line-height:1.6;margin:5px 0 12px}
.report-mode .task-body .task-evidence {display:block;margin:0;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.report-mode .task-add {display:flex;gap:10px;margin-top:20px;flex-wrap:nowrap}
.report-mode .task-add input {flex:1}.report-mode .task-add .btn {flex:none;min-width:64px;font-size:13px;padding:12px 17px}
.finance-layout {display:grid;grid-template-columns:1fr 1.15fr;gap:20px;align-items:start}
.finance-inputs label {display:block;font-size:13px;margin:17px 0 7px;color:var(--studio-ink);font-weight:600}
.report-mode .finance-output {position:sticky;top:20px;background:var(--studio-blue);border:2px solid var(--studio-ink);color:var(--studio-paper);box-shadow:4px 4px 0 var(--studio-shadow-colour)}
.report-mode .finance-output p,.report-mode .finance-output small,.report-mode .finance-output .eyebrow {color:var(--studio-paper)}
.report-mode .finance-output .text-btn {color:var(--studio-yellow)}
.scenario-metrics {display:grid;grid-template-columns:1fr 1fr;gap:23px 18px;margin:24px 0}
.scenario-metrics>div {padding-bottom:17px;border-bottom:1px solid #96aaed;min-width:0}
.scenario-metrics small {display:block;font-size:11px;line-height:1.6}
.scenario-metrics strong {display:block;font:600 29px/1.2 var(--display);letter-spacing:-.6px;margin-top:12px;color:var(--studio-yellow);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.report-mode .finance-output .empty-state {background:var(--studio-paper);color:var(--studio-ink)}
.report-mode .decision-review {display:grid;grid-template-columns:1fr 1fr;gap:18px}
.report-mode .decision-review .dash-card {background:var(--studio-cream)}
.report-mode .decision-form {border:1px solid var(--studio-ink)}
.report-mode .section-navigation {display:flex;justify-content:space-between;gap:18px;margin:26px 0 0;padding-top:20px;border-top:1px solid var(--studio-line)}
.report-mode .section-navigation .btn {font-size:12px;padding:11px 14px;white-space:normal}

/* Research and discovery feel like tools on the same desktop. */
.studio-mode .workspace-wrap {max-width:1220px;padding-top:30px;padding-bottom:60px}
.studio-mode .workspace-top {margin:20px 0 30px;gap:20px}
.studio-mode .workspace-top h1 {font-size:clamp(36px,4.5vw,55px);line-height:1.08;letter-spacing:-1.6px;margin:12px 0 15px}
.studio-mode .workspace-top p {font-size:15px;line-height:1.7}
.studio-mode .tag {background:var(--studio-yellow);border:1px solid var(--studio-ink);border-radius:2px;color:var(--studio-ink);font-size:10px;padding:8px 11px}
.studio-mode .form-layout {display:grid;grid-template-columns:270px minmax(0,1fr);gap:0;align-items:start;border:2px solid var(--studio-ink);border-radius:5px;background:var(--studio-cream);box-shadow:6px 6px 0 var(--studio-shadow-colour);overflow:clip}
.studio-mode .form-aside {padding:28px 22px;background:var(--studio-cream);min-width:0;border:0}
.studio-mode .form-aside>div {display:flex;align-items:center;gap:12px;padding:14px 10px;margin:0 0 10px;color:var(--studio-muted);font-size:13px;line-height:1.6;border:1px solid transparent;border-radius:3px}
.studio-mode .form-aside>div b {display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid var(--studio-line);background:var(--studio-paper);color:var(--studio-blue);font:11px var(--studio-mono)}
.studio-mode .form-aside>div.current {background:var(--studio-yellow);border-color:var(--studio-ink);color:var(--studio-ink)}
.studio-mode .form-aside>div.current b {background:var(--studio-blue);color:var(--studio-paper);border-color:var(--studio-ink)}
.studio-mode .form-aside p {border-top:1px solid var(--studio-line);padding-top:20px;margin:28px 8px 0;color:var(--studio-muted);font-size:13px;line-height:1.8}
.studio-mode #profile-form,.studio-mode #discovery-form {min-width:0;border:0;border-left:1px solid var(--studio-ink);border-radius:0;background:var(--studio-paper);padding:0 30px 30px;box-shadow:none;overflow:visible}
.form-window-bar {margin:0 -30px 28px;padding:10px 16px;min-width:0}
.studio-mode #profile-form h2,.studio-mode #discovery-form h2 {font-size:29px;line-height:1.2;letter-spacing:-.6px;margin:10px 0 25px}
.studio-mode form label {font-size:13px;font-weight:600;line-height:1.6;color:var(--studio-ink);margin:22px 0 8px}
.studio-mode form label small {font-size:11px;font-weight:400;color:var(--studio-muted)}
.studio-mode form input:not([type=checkbox]):not([type=range]),.studio-mode form textarea,.studio-mode form select {background:#fff;color:var(--studio-ink);border:1.5px solid #a09b8e;border-radius:3px;padding:12px 14px;font-size:16px;line-height:1.6;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.studio-mode form input::placeholder,.studio-mode form textarea::placeholder {color:#69685f;opacity:1}
.studio-mode form textarea {min-height:105px;resize:vertical}
.studio-mode form input[type=range] {accent-color:var(--studio-blue)}
.studio-mode #hours-label {color:var(--studio-blue);font:11px/1.5 var(--studio-mono)}
.studio-mode .form-note {font-size:12px;color:var(--studio-muted);line-height:1.7;margin-top:22px}
.studio-mode .form-note a {color:var(--studio-blue)}
.studio-mode .profile-review {background:var(--studio-soft-blue);border:1px solid #aab9eb;border-radius:3px;color:var(--studio-ink);font-size:13px;padding:15px 18px}
.studio-mode .profile-review p {font-size:13px}
.studio-mode .discovery-card {background:var(--studio-paper);border:2px solid var(--studio-ink);border-radius:4px;box-shadow:4px 4px 0 var(--studio-shadow-colour);padding:25px}
.studio-mode .discovery-card .status {background:var(--studio-yellow);color:var(--studio-ink);border:1px solid var(--studio-ink);border-radius:2px;font:10px var(--studio-mono)}
.studio-mode .discovery-card h2 {font-size:28px;line-height:1.2;color:var(--studio-ink)}
.studio-mode .discovery-card h3 {color:var(--studio-blue);font-size:14px}
.studio-mode .discovery-card p {color:var(--studio-muted);font-size:15px;line-height:1.7}
.studio-mode .discovery-card a {color:var(--studio-blue)}
.studio-mode .discovery-detail {border-color:var(--studio-line)}
.studio-mode .report-card {background:var(--studio-paper);border:1px solid var(--studio-ink);border-radius:4px;box-shadow:3px 3px 0 var(--studio-shadow-colour)}
.studio-mode .demo-disclosure {background:#f6f5cf;color:var(--studio-ink);border:1px solid #d4d193;border-radius:3px}
.studio-mode #research-progress {padding:32px;border:2px solid var(--studio-ink);border-radius:5px;background:var(--studio-paper);box-shadow:6px 6px 0 var(--studio-shadow-colour)}
.studio-mode .research-live-heading {font:11px/1.5 var(--studio-mono);color:var(--studio-blue);border-bottom:1px solid var(--studio-line);padding-bottom:16px}
.studio-mode .live-indicator {background:var(--studio-blue);box-shadow:0 0 0 5px var(--studio-soft-blue);border-radius:1px}
.studio-mode .research-activity {background:var(--studio-cream);border:1px solid var(--studio-ink);border-radius:2px}
.studio-mode .research-activity i {background:var(--studio-blue)}
.studio-mode .research-live-steps>div {background:var(--studio-cream);border:1px solid var(--studio-line);border-radius:3px;color:var(--studio-ink)}
.studio-mode .research-live-steps>div.active {background:var(--studio-yellow);border-color:var(--studio-ink)}
.studio-mode .research-live-steps small {color:var(--studio-muted)}
.studio-mode #research-timing {color:var(--studio-ink);background:var(--studio-soft-blue);border-radius:3px}
.flow-notice {background:var(--studio-blue);color:var(--studio-paper);border:1px solid var(--studio-ink);border-radius:3px}

@media(max-width:1100px) {
 .studio-mode .studio {grid-template-columns:180px minmax(0,1fr);padding:0 20px}
 .studio-mode .studio-main {padding-left:24px}
 .studio-mode .studio-heading {align-items:start}.studio-mode .studio-heading>.btn {margin-top:15px}
 .studio-mode .studio-stats {grid-template-columns:1fr 1fr}.studio-mode .studio-stats article:last-child {grid-column:1/-1}
 .studio-mode .project-cards {grid-template-columns:1fr}
 .report-mode .studio {display:block;padding:0}
 .report-mode .studio-main {padding:22px 24px 50px}
 .report-mode .journey button {padding:13px 12px}.report-mode .journey small {font-size:10px}
 .report-body {grid-template-columns:175px minmax(0,1fr)}
 .report-mode #project-panel {padding:22px}
 .report-mode .decision-symbol {display:none}
 .workspace-snapshot {grid-template-columns:1fr 1fr}.workspace-snapshot>button:last-child {grid-column:1/-1;border-top:1px solid var(--studio-line)}
 .workspace-snapshot>button:nth-child(2) {border-right:0}
 .workspace-snapshot .snapshot-decision {min-height:0;font-size:18px}
 .finance-layout {grid-template-columns:1fr}.report-mode .finance-output {position:static;order:-1}
 .report-mode .setup-grid {grid-template-columns:1fr}.report-mode .setup-grid>.dash-card:first-child {grid-column:auto}
}
@media(max-width:740px) {
 .studio-mode>header {padding:14px 18px}.studio-mode>header .brand {font-size:25px}
 .studio-mode .studio {display:block;margin:18px auto 40px;padding:0 16px}
 .studio-mode .studio-sidebar {display:flex;flex-wrap:wrap;gap:6px;padding:12px;border-radius:4px;min-height:0}
 .studio-mode .studio-sidebar .eyebrow,.studio-mode .sidebar-bottom {display:none}
 .studio-mode .studio-sidebar .side-item {flex:1 1 29%;width:auto;font-size:11px;min-height:42px;gap:7px;padding:9px 7px;margin:0;text-align:left}
 .studio-mode .studio-sidebar a.side-item {flex-basis:42%;border-color:#9babde}
 .studio-mode .studio-main {padding:24px 0 0}
 .desk-location>span:last-child {display:none}
 .studio-mode .studio-heading {display:block}.studio-mode .studio-heading h1 {font-size:39px;letter-spacing:-1.3px}
 .studio-mode .studio-stats {gap:12px;margin:25px 0}.studio-mode .studio-stats article {padding:18px}
 .studio-mode .studio-stats strong {font-size:33px}.studio-mode .studio-stats .word-stat {font-size:25px}
 .studio-mode .project-list-heading {gap:18px}.studio-mode .project-list-heading h2 {font-size:23px}.studio-mode .import-button {font-size:11px;max-width:140px;text-align:right}
 .report-mode .studio {padding:0;margin:0 auto}.report-mode .studio-sidebar {display:none}
 .report-mode .studio-main {padding:15px 14px 40px}
 .report-mode>header .brand {font-size:24px}.report-mode>header .mobile-dashboard {font-size:11px;padding:8px 9px}
 .report-desktop {box-shadow:4px 4px 0 var(--studio-shadow-colour);border-radius:4px}
 .studio-window-bar {font-size:9px;padding:9px 11px;gap:8px;min-height:34px}
 .studio-window-bar .workspace-kind {display:none}
 .report-masthead {padding:20px 18px 14px}
 .report-mode .project-heading {margin-bottom:12px}.report-mode .project-heading .eyebrow {display:none}
 .report-mode .project-heading h1 {font-size:29px;line-height:1.13;letter-spacing:-.8px;margin:0 0 12px}
 .report-mode .project-heading p {font-size:11px}
 .report-mode .project-actions {margin-top:15px;width:auto;gap:15px}
 .report-mode .project-actions .btn {flex:none;font-size:11px;padding:10px 12px}
 .report-mode .project-actions .danger {margin-left:auto;font-size:10px}
 .report-mode .project-summary {gap:7px}.report-mode .project-summary>.summary-link:first-child {display:none}
 .report-mode #project-save-state {font-size:9px;line-height:1.6;flex:1;min-width:100px;margin-left:0}
 .report-mode .summary-link {font-size:10px;padding:6px 8px}
 .report-mode .project-summary [data-save-project] {font-size:10px;margin-left:auto;min-height:32px}
 .demo-strip {padding:10px;gap:10px;margin-top:12px}.demo-strip b {font-size:11px}.demo-strip span {font-size:10px;line-height:1.5}
 .demo-strip .btn {font-size:10px;padding:9px;box-shadow:2px 2px 0 var(--studio-ink)}
 .founder-context {font-size:10px}
 .report-mode #project-journey,.report-mode .studio-tabs {display:none}
 .report-body {display:block}
 .mobile-section-label {display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:10;background:var(--studio-blue);color:var(--studio-paper);border-top:2px solid var(--studio-ink);border-bottom:2px solid var(--studio-ink);padding:12px 15px;margin:0;font:10px/1.5 var(--studio-mono);backdrop-filter:none}
 .mobile-section-label select {flex:1;min-width:0;max-width:100%;border:1px solid var(--studio-ink);background:var(--studio-paper);color:var(--studio-ink);border-radius:3px;padding:10px 9px;font-family:inherit;font-size:16px;font-weight:600;min-height:44px;box-shadow:2px 2px 0 #183895}
 .report-mode #project-panel {border:0;padding:18px 15px 22px;scroll-margin-top:86px}
 .report-mode .decision-hero {padding:23px 19px;border-radius:3px;display:block;margin-bottom:22px;box-shadow:3px 3px 0 var(--studio-shadow-colour)}
 .report-mode .decision-hero h2 {font-size:28px;line-height:1.15;margin:15px 0}
 .report-mode .decision-hero p {font-size:14px;line-height:1.65}
 .report-mode .decision-hero .evidence-label {font-size:8px;letter-spacing:0}
 .report-mode .decision-hero .btn {padding:11px 13px;font-size:11px}
 .workspace-snapshot {margin-bottom:19px}.workspace-snapshot>button {padding:16px 12px;gap:10px}
 .workspace-snapshot>button>span:first-child {font-size:8px}.workspace-snapshot strong {font-size:28px;display:block}
 .workspace-snapshot small {display:block;font-size:10px;margin-top:6px;line-height:1.5}
 .workspace-snapshot .snapshot-decision {font-size:20px}.snapshot-link {font-size:10px}
 .report-mode .decision-grid {grid-template-columns:1fr;gap:13px;margin-bottom:18px}
 .report-mode .decision-grid article {padding:19px}.report-mode .decision-grid h3 {font-size:21px}.report-mode .decision-grid p {font-size:15px}
 .report-mode .dash-card {padding:19px;margin-bottom:16px}
 .report-mode .dash-card h2,.report-mode .section-intro h2 {font-size:25px;line-height:1.2}
 .report-mode .dash-card h3 {font-size:20px}
 .report-mode .dash-card p,.report-mode .dash-card li,.report-mode .formatted p,.report-mode .formatted li {font-size:15px;line-height:1.7}
 .report-mode .reasoning-card,.report-mode .original-research-card {padding:10px 16px}
 .report-mode .reasoning-card summary span {display:none}
 .report-mode .section-intro {display:block}.report-mode .section-intro .btn {margin:17px 0 0;font-size:12px}
 .report-mode .section-intro>.evidence-label {margin-top:12px}
 .report-mode .setup-grid,.report-mode .decision-review,.funding-fields {grid-template-columns:1fr}
 .report-mode .source-register a {gap:11px}.report-mode .source-register a>span {width:25px;height:28px;font-size:10px}.report-mode .source-register b {font-size:15px}
 .report-mode .source-register small {font-size:11px;line-height:1.65}
 .report-mode .comparison-table table,.report-mode .comparison-table tbody,.report-mode .comparison-table tr,.report-mode .comparison-table th,.report-mode .comparison-table td {display:block;min-width:0;width:auto}
 .report-mode .comparison-table thead {display:none}.report-mode .comparison-table tbody th {padding:16px 17px;border-bottom:1px solid var(--studio-line);background:var(--studio-yellow);font-size:20px}
 .report-mode .comparison-table td {padding:8px 17px 18px}.report-mode .comparison-table tr {border-bottom:1px solid var(--studio-ink)}
 .report-mode .plan-section-heading {padding:14px;gap:10px}.report-mode .plan-section-heading h3 {font-size:17px}
 .report-mode .plan-section-heading .evidence-label {display:none}.plan-section-body {padding:8px 15px 17px}
 .funding-brief>summary {display:block}.funding-brief>summary small {display:block;margin-top:6px;font-size:10px}
 .report-mode .validation-task>summary {padding:13px;gap:9px;font-size:14px;flex-wrap:wrap}
 .validation-task>summary>span:nth-child(2) {flex-basis:calc(100% - 35px)}
 .validation-task>summary small {margin-left:26px;font-size:10px;max-width:none;white-space:nowrap}
 .task-body {padding:15px}.report-mode .task-row {font-size:14px;gap:10px}
 .report-mode .task-evidence-label {font-size:14px}.report-mode .task-body .field-hint {font-size:12px}
 .report-mode .task-add {gap:9px;flex-wrap:wrap}.report-mode .task-add input {flex-basis:100%}.report-mode .task-add .btn {margin-left:auto;font-size:12px;min-height:44px}
 .report-mode #tasks-progress {font-size:10px;padding:4px 6px}
 .scenario-metrics {gap:22px 16px}.scenario-metrics strong {font-size:28px}
 .report-mode .section-navigation {gap:10px;flex-wrap:nowrap;margin-top:22px;padding-top:18px}
 .report-mode .section-navigation .btn {min-width:0;font-size:11px;padding:10px;line-height:1.5;gap:8px}
 .report-mode .section-navigation span:only-child {display:none}
 .studio-mode .workspace-wrap {padding-top:20px;padding-bottom:40px}
 .studio-mode .workspace-top {margin:22px 0;display:block}
 .studio-mode .workspace-top h1 {font-size:38px;line-height:1.1;letter-spacing:-1px}
 .studio-mode .workspace-top .tag {display:inline-block;margin-top:15px}
 .studio-mode .form-layout {grid-template-columns:1fr;box-shadow:4px 4px 0 var(--studio-shadow-colour)}
 .studio-mode .form-aside {padding:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .studio-mode .form-aside>div {display:block;font-size:10px;line-height:1.5;padding:9px 7px;margin:0}
 .studio-mode .form-aside>div b {margin-bottom:8px;width:24px;height:24px;font-size:10px}
 .studio-mode .form-aside p {display:none}
 .studio-mode #profile-form,.studio-mode #discovery-form {border-left:0;border-top:2px solid var(--studio-ink);padding:0 19px 23px}
 .form-window-bar {margin:0 -19px 24px;padding:10px 13px}
 .studio-mode #profile-form h2,.studio-mode #discovery-form h2 {font-size:27px;margin-bottom:22px}
 .studio-mode .form-grid {grid-template-columns:1fr;gap:0}
 .studio-mode form label {font-size:13px;line-height:1.6}
 .studio-mode form .btn {font-size:12px;line-height:1.5;padding:12px 15px}
 .studio-mode .discovery-card {padding:22px}.studio-mode .discovery-card h2 {font-size:28px}
 .studio-mode #research-progress {padding:24px 20px}.studio-mode .research-live-heading {font-size:10px;flex-wrap:wrap}
 .studio-mode #research-progress h2 {font-size:30px}.studio-mode .research-live-steps {grid-template-columns:1fr}
}
@media(max-width:360px) {
 .report-mode .studio-main {padding:14px 10px 34px}.report-masthead {padding:18px 14px 14px}
 .report-mode .project-heading h1 {font-size:27px}.report-mode #project-panel {padding:16px 11px 20px}
 .report-mode .decision-hero {padding:20px 16px}.report-mode .decision-hero h2 {font-size:26px}
 .mobile-section-label {font-size:9px;gap:8px;padding:10px}.mobile-section-label select {font-size:16px}
 .demo-strip {flex-wrap:wrap}.demo-strip .btn {margin:0}
 .report-mode .panel-heading {display:block}.report-mode #tasks-progress {display:inline-block;margin:0 0 10px}
 .report-mode .dash-card {padding:17px}.report-mode .section-navigation .btn {font-size:10px;padding:9px}
}
@media(prefers-reduced-motion:no-preference) {
 #project-panel {animation:report-reveal .18s ease-out}
 .studio-tabs button,.journey button,.workspace-snapshot>button {transition:background-color .15s,color .15s}
 @keyframes report-reveal {from{opacity:.6;translate:0 4px}to{opacity:1;translate:0 0}}
}
@media(prefers-reduced-motion:reduce) {.studio-mode .project-card:hover {transform:none}}
@media print {
 .report-mode>header,.report-mode .studio-tabs,.mobile-section-label,.demo-strip,.project-actions,.project-summary,.section-navigation,.studio-window-bar,#project-journey,#back-projects {display:none!important}
 .report-mode .studio-main,.report-mode #project-panel,.report-masthead {padding:0;border:0}
 .report-desktop {border:0;box-shadow:none}.report-body {display:block}.report-mode details {break-inside:avoid}
}

.studio-window-bar .window-grip {border-color:currentColor;background:repeating-linear-gradient(to bottom,transparent 0 2px,currentColor 2px 3px)}
.studio-mode #profile-form,.studio-mode #discovery-form{width:100%;max-width:none}
.studio-window-bar .window-square{border-color:currentColor}
@media(max-width:740px){.report-mode .task-body .task-evidence{min-height:140px}}
