:root{color-scheme:light;--paper:#f5f4ee;--surface:#fffefa;--ink:#25372f;--muted:#657169;--line:#dce1d8;--green:#3e604d;--soft:#e6ebdf;--accent:#cce1ad;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.55}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button,a,input{touch-action:manipulation}:focus-visible{outline:3px solid #6e8f51;outline-offset:5px}button{cursor:pointer}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.86em;overflow-wrap:anywhere}h1,h2,h3,p{margin-top:0}h2{font-size:1.25rem;letter-spacing:-.025em}h3{font-size:1.1rem}p{overflow-wrap:anywhere}.site-header,.site-footer{max-width:1240px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 40px}.site-header{border-bottom:1px solid var(--line)}.brand{font-size:23px;letter-spacing:-.04em;font-weight:650;display:flex;align-items:center;gap:11px}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;background:var(--ink);color:var(--surface);width:36px;height:36px;border-radius:11px;font-family:Georgia,serif;font-size:27px;font-weight:400}.header-note,.site-footer{color:var(--muted);font-size:12px}.site-header nav{display:flex;align-items:center;gap:25px;font-size:13px}.site-header form{margin:0}.text-button{border:0;padding:0;background:none;color:var(--muted);font-size:13px}.shell{max-width:1160px;margin:auto;padding:64px 40px 80px;min-height:75vh}.site-footer{border-top:1px solid var(--line);gap:20px}.welcome{display:grid;grid-template-columns:1.15fr 1fr;gap:90px;align-items:center;min-height:480px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.16em;font-weight:650;color:var(--muted);margin-bottom:17px}.welcome h1{font:400 clamp(3rem,5.5vw,5.3rem)/1.04 Georgia,"Times New Roman",serif;letter-spacing:-.055em;margin-bottom:25px}.intro{font-size:16px;line-height:1.7;color:var(--muted);max-width:470px;margin-bottom:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--ink);color:var(--surface);border:1px solid var(--ink);padding:12px 20px;border-radius:8px;font-size:13px;font-weight:600;min-height:46px}.button:hover{background:var(--green);text-decoration:none}.quiet-link,.back-link{font-size:13px;font-weight:550}.welcome-copy>.quiet-link{display:block;margin-top:20px}.hint{color:var(--muted);font-size:12px;line-height:1.65;margin-top:22px;max-width:650px}.welcome-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 50px #26372c06;overflow:hidden;transform:rotate(-1deg)}.card-heading{padding:25px 28px;border-bottom:1px solid var(--line);font-size:12px;display:flex;gap:10px;align-items:center}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#648346}.steps{list-style:none;padding:4px 28px;margin:0}.steps li{display:flex;gap:22px;padding:26px 0;align-items:flex-start}.steps li+li{border-top:1px solid var(--line)}.step-number{font-size:11px;color:#819273;padding-top:3px}.steps strong{font-size:14px;font-weight:600}.steps p{font-size:13px;color:var(--muted);margin:6px 0 0}.card-footer{padding:18px 28px;background:var(--soft);color:var(--green);font-size:12px}.setup-note{border-left:2px solid #93a87d;padding-left:16px;color:var(--muted);font-size:14px}.page-title{font:400 clamp(2.1rem,4vw,3.6rem)/1.1 Georgia,serif;letter-spacing:-.05em;margin-bottom:17px}.page-heading{display:flex;justify-content:space-between;gap:28px;align-items:center;margin-bottom:35px}.page-heading .eyebrow{margin-bottom:12px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:28px}.narrow{max-width:620px;margin:35px auto}.connection-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:24px}.muted{color:var(--muted);font-size:13px}.badge{display:inline-block;background:var(--soft);border:1px solid #dae2d2;border-radius:6px;padding:4px 10px;font-size:11px;white-space:nowrap;color:var(--green)}.repository-list{border:0;padding:8px 0;margin:0 0 24px;min-width:0}.repository-option{display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid var(--line);padding:17px 0;cursor:pointer}.repository-option input{width:17px;height:17px;accent-color:var(--green);margin-top:4px}.repository-option strong{font-size:14px;overflow-wrap:anywhere}.repository-option small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.readiness{background:var(--soft);align-self:start}.readiness>.status-dot{margin-bottom:16px}.readiness p{font-size:13px;color:var(--muted)}.notice{border:1px solid #d9c993;background:#f7f1dc;padding:13px 16px;border-radius:7px;font-size:13px;color:#645739}.review-row{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:25px 0;border-top:1px solid var(--line)}.review-row .eyebrow{font-size:9px}.review-row h2{margin:7px 0;font-size:19px}.review-row p{margin-bottom:0}.row-meta{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.cost{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.empty-state{border:1px dashed #c8d1c1;border-radius:14px;padding:65px 28px;text-align:center}.empty-mark{font:42px Georgia,serif;color:#7c9770;display:block;margin-bottom:18px}.empty-state p{font-size:14px;color:var(--muted)}.back-link{display:inline-block;margin-bottom:24px;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);background:var(--soft);border:1px solid var(--line);border-radius:12px;margin:20px 0 28px;padding:23px 0}.metrics>div{padding:0 24px;min-width:0}.metrics>div+div{border-left:1px solid #cfd8c8}.metric-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin-bottom:9px}.metrics strong{font-size:28px;font-weight:500;letter-spacing:-.04em;display:block;overflow-wrap:anywhere}.metrics .metric-word{font-size:18px;letter-spacing:-.02em}.metrics small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.stage-list{padding:0;list-style:none;margin:0}.stage-list li{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.stage-list li:last-child{border:0}.stage-list strong{font-weight:500;overflow-wrap:anywhere}.findings{margin-top:36px}.finding{margin-top:15px}.finding h3{margin:12px 0 6px}.finding .location{margin-bottom:15px;color:var(--muted);font-size:12px}.finding>p:last-child{font-size:14px;margin-bottom:0}.skip-link{position:fixed;left:12px;top:-100px;background:var(--ink);color:white;padding:10px;z-index:10}.skip-link:focus{top:12px}.visually-hidden{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}[hidden]{display:none!important}
.scope-notes{margin-top:24px}.scope-notes summary{cursor:pointer;font-weight:600}.scope-notes[open] summary{margin-bottom:20px}
.stage-list small{display:block;margin-top:4px;color:var(--muted)}
.reviewer-settings{margin-top:36px}.reviewer-settings-form{margin-top:18px}.reviewer-settings-form .button{margin-top:14px}
@media(max-width:800px){.welcome{gap:38px;grid-template-columns:1fr 1fr}.shell{padding:45px 25px 60px}.site-header,.site-footer{padding:23px 25px}.welcome h1{font-size:3.6rem}.connection-grid{grid-template-columns:1fr}.details-grid{grid-template-columns:1fr}.welcome-card{transform:none}.page-heading{align-items:flex-start}}
@media(max-width:580px){.welcome{grid-template-columns:1fr;gap:35px;min-height:0}.welcome h1{font-size:3.6rem}.welcome-copy .intro{font-size:15px}.header-note{display:none}.site-header nav{gap:14px;font-size:12px}.brand{font-size:21px}.brand-mark{width:30px;height:30px}.shell{padding:36px 20px 50px}.site-header,.site-footer{padding:20px}.page-heading{display:block}.page-heading>.badge,.page-heading>.quiet-link{margin-top:6px}.panel{padding:23px}.metrics{grid-template-columns:1fr;padding:0 20px}.metrics>div{padding:17px 0}.metrics>div+div{border-left:0;border-top:1px solid #cfd8c8}.metrics strong{font-size:23px}.review-row{align-items:flex-start}.row-meta .badge{white-space:normal}.review-row h2{font-size:17px}.site-footer{font-size:10px}.page-title{font-size:2.65rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* UI/UX pilot: keep the existing paper, forest, and serif visual language. */
.brand { flex-shrink:0; }
.brand-mark { flex:none; line-height:1; }
.brand-mark svg { display:block; width:27px; height:27px; fill:currentColor; }
.site-header { gap:20px; flex-wrap:wrap; }
.site-header nav { gap:20px; flex-wrap:wrap; }
.site-header nav>a, .text-button { display:inline-flex; align-items:center; min-height:40px; }
.site-header nav>a[aria-current="page"] { color:var(--ink); text-decoration:underline; text-underline-offset:7px; text-decoration-thickness:2px; }
.site-footer a, .source-links a, .section-links a, .quiet-link, .back-link { text-underline-offset:4px; }
.site-footer a { padding:8px 0; }
.page-heading>div, .panel, .review-summary, .stage-list li>div { min-width:0; }
.page-heading .page-title { margin-bottom:14px; }
.source-links { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 9px; color:var(--muted); font-size:12px; line-height:1.6; margin-bottom:10px; }
.source-links a { overflow-wrap:anywhere; }
.source-links .pull-link { color:var(--green); font-weight:600; white-space:nowrap; }
.review-row { padding:20px 0; gap:20px; }
.review-row .source-links { margin-bottom:5px; }
.review-row h2 { font-size:18px; line-height:1.45; margin:3px 0 8px; overflow-wrap:anywhere; }
.review-kind { color:var(--muted); font-size:12px; font-weight:400; margin-left:6px; }
.review-meta { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 16px; font-size:12px; color:var(--muted); margin-bottom:0; }
.run-status { display:inline-flex; align-items:center; gap:6px; color:var(--ink); font-weight:550; }
.run-status::before { content:""; flex:none; width:6px; height:6px; border-radius:50%; background:#7b857e; }
.run-status[data-status="complete"]::before { background:#52743d; }
.run-status[data-status="running"]::before { background:#527580; }
.run-status:is([data-status="failed"],[data-status="incomplete"],[data-status="blocked"],[data-status="timed_out"])::before { background:#946332; }
.row-meta { flex-shrink:0; gap:7px; }
.row-meta .cost { font-size:11px; }
.badge { white-space:normal; overflow-wrap:anywhere; }
.section-links { display:flex; flex-wrap:wrap; gap:8px 24px; font-size:12px; color:var(--green); margin-top:-12px; }
.section-links a { padding:8px 0; }
.metrics { margin-top:16px; }
.metrics .quiet-link { display:block; margin-top:8px; }
.details-grid { align-items:start; }
.stage-list li { align-items:flex-start; }
.stage-list li>.badge { flex-shrink:0; max-width:35%; }
.stage-list p { color:var(--muted); margin:5px 0; line-height:1.6; }
.stage-list li>span:not(.badge) { text-align:right; overflow-wrap:anywhere; }
/* Required checks keep long stage IDs contained and leave room for their result. */
#checks .stage-list li:has(>span:not(.badge))>div { overflow-wrap:anywhere; }
#checks .stage-list li>span:not(.badge) { flex-shrink:0; max-width:50%; }
.finding { padding:24px; }
.finding .location { margin-bottom:14px; }
.finding p, .scope-notes p { line-height:1.7; }
.scope-notes summary { font-size:13px; min-height:24px; }
.provenance { font-size:12px; margin-bottom:0; }
.provenance>div { display:grid; grid-template-columns:65px minmax(0,1fr); gap:16px; margin-top:14px; }
.provenance dt { color:var(--muted); }
.provenance dd { margin:0; overflow-wrap:anywhere; }
.status-dot-attention { background:#946332; }
.status-dot-idle { background:var(--muted); }
.findings + .details-grid { margin-top:36px; }
:where(#findings,#checks,#resources,#run-details) { scroll-margin-top:24px; }
@media(max-width:580px) {
  .brand-mark svg { width:23px; height:23px; }
  .review-row { display:block; padding:20px 0; }
  .row-meta { flex-direction:row; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-top:12px; }
  .review-meta { gap:5px 12px; }
  .source-links { font-size:12px; }
  .page-heading>.badge { margin-top:16px; }
  .section-links { gap:8px 20px; }
  .panel { padding:20px; }
  #checks .stage-list li:has(>span:not(.badge)) { flex-direction:column; align-items:stretch; gap:8px; }
  #checks .stage-list li>span:not(.badge) { max-width:100%; text-align:left; }
  .site-footer { flex-wrap:wrap; gap:6px 16px; }
}
@media(max-width:380px) {
  .site-header { gap:8px; }
  .site-header nav { width:100%; justify-content:space-between; gap:12px; }
}

/* Canonical Mnemoverse wordmark: a small, independent footer signature. */
.mnemoverse-logo { display:inline-flex; align-items:center; flex:none; min-height:40px; }
.mnemoverse-logo img { display:block; width:108px; height:auto; }
.mnemoverse-logo .mnemoverse-logo-dark { display:none; }

/* Reviewer modes expose one choice directly, with native form and keyboard behavior. */
.reviewer-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,360px); gap:32px; align-items:start; padding:24px 0; border-top:1px solid var(--line); }
.reviewer-copy { min-width:0; }
.page-title, .reviewer-settings-form h3, .reviewer-copy h4 { overflow-wrap:anywhere; }
.reviewer-copy h4 { font-size:1rem; font-weight:600; letter-spacing:-.015em; margin:0 0 7px; }
.reviewer-version { font-size:.8rem; font-weight:400; color:var(--muted); letter-spacing:0; white-space:nowrap; }
.reviewer-description { max-width:440px; color:var(--muted); font-size:.867rem; line-height:1.65; margin:0; }
.reviewer-mode-control { min-width:0; margin:0; padding:0; border:0; }
.mode-options { display:flex; flex-wrap:wrap; gap:3px; padding:3px; border:1px solid var(--line); border-radius:9px; background:var(--paper); }
.mode-options label { position:relative; min-width:max-content; flex:1; cursor:pointer; }
.mode-options label>span { display:flex; align-items:center; justify-content:center; min-height:44px; padding:8px 10px; border-radius:6px; font-size:.8rem; font-weight:550; color:var(--muted); white-space:nowrap; }
.mode-options input:checked+span { background:var(--ink); color:var(--surface); }
.mode-options input:focus-visible+span { outline:3px solid var(--green); outline-offset:3px; position:relative; z-index:1; }
.mode-options label:hover input:not(:checked)+span { color:var(--ink); background:var(--soft); }
.mode-help { margin:9px 2px 0; min-height:3.2em; font-size:.8rem; color:var(--muted); line-height:1.6; }
.mode-help span { display:block; }
@supports selector(:has(*)) {
  .mode-help span { display:none; }
  .reviewer-mode-control:has(input[value="auto"]:checked) .mode-help-auto,
  .reviewer-mode-control:has(input[value="manual"]:checked) .mode-help-manual,
  .reviewer-mode-control:has(input[value="off"]:checked) .mode-help-off { display:block; }
}
.reviewer-save { display:flex; align-items:center; flex-wrap:wrap; gap:16px 22px; border-top:1px solid var(--line); padding-top:22px; }
.reviewer-save .button { margin-top:0; }
.reviewer-save p { margin:0; font-size:.8rem; }
@media(max-width:720px) {
  .reviewer-card { grid-template-columns:1fr; gap:18px; padding:23px 0; }
  .reviewer-description { max-width:none; }
  .mode-help { min-height:0; }
}
@media(max-width:380px) { .mode-options label>span { padding:8px 5px; font-size:.733rem; } }
@media(forced-colors:active) {
  .mode-options input:checked+span { outline:2px solid Highlight; outline-offset:-2px; }
}

/* Resource report: configured limits beside recorded values (issue #32). */
.resources { margin-top:24px; }
.resources > h3 { margin-top:28px; }
.resource-attempt + .resource-attempt { margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
.table-scroll { overflow-x:auto; margin-bottom:12px; }
.resource-table { width:100%; border-collapse:collapse; font-size:12px; font-variant-numeric:tabular-nums; }
.resource-table th, .resource-table td { padding:8px 10px; border-bottom:1px solid var(--line); text-align:right; white-space:nowrap; }
.resource-table th:first-child { text-align:left; font-weight:500; white-space:normal; overflow-wrap:anywhere; }
.resource-table thead th { color:var(--muted); font-weight:500; }
.resource-table tr[data-reached] th, .resource-table tr[data-reached] td { color:var(--ink); font-weight:600; }
/* Private beta: honest public state until external testing opens. */
.brand-row { display:flex; align-items:center; gap:12px; min-width:0; }
.beta-badge { display:inline-block; padding:3px 9px; border:1px solid #cfd8c8; border-radius:999px; background:var(--soft); color:var(--green); font-size:10px; font-weight:650; letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.launch-status { margin-bottom:0; }
.launch-pill { display:inline-flex; align-items:center; min-height:46px; padding:12px 20px; border:1px dashed var(--ink); border-radius:8px; font-size:13px; font-weight:600; color:var(--ink); }
.site-header-landing { flex-wrap:nowrap; }
.site-header-landing .brand-row { flex-wrap:wrap; gap:6px 12px; }
.site-header-landing .header-actions { width:auto; }
.header-signin { flex:none; }
.header-signin .text-button { min-height:40px; padding:0 14px; border:1px solid var(--line); border-radius:8px; color:var(--ink); }
.header-signin .text-button:hover { background:var(--soft); }
.footer-copy { display:flex; flex-direction:column; gap:3px; }
.footer-links { display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; font-size:12px; }
.footer-links a { display:inline-flex; align-items:center; min-height:36px; }
@media(max-width:580px){ .beta-badge { font-size:9px; padding:2px 7px; } }
/* Repositories the installation grants but this Sigma's allowlist does not (issue #42). */
.repository-refused-list { list-style:none; margin-top:-24px; }
.repository-refused { border-bottom:1px solid var(--line); padding:17px 0 17px 37px; color:var(--muted); }
.repository-refused strong { font-size:14px; font-weight:500; overflow-wrap:anywhere; }
.repository-refused small { display:block; font-size:11px; margin-top:3px; }
