:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #172b2d;
  background: #f3f5f1;
  font-synthesis: none;
  --ink: #172b2d;
  --muted: #657476;
  --line: #dce3dd;
  --paper: #fffefa;
  --green: #176b58;
  --green-deep: #0e5145;
  --green-soft: #e6f3ed;
  --amber: #a96525;
  --amber-soft: #fff2e3;
  --red: #a13f3c;
  --red-soft: #fbeae7;
  --shadow: 0 18px 48px rgba(26, 55, 51, .055);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, select, textarea, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #e1a04e; outline-offset: 3px; }

.skip-link { position: absolute; z-index: 20; top: -50px; left: 16px; padding: 10px 16px; background: white; color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 10px; }
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(to right, #14272a 248px, #f3f5f1 248px); }

.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; min-width: 0; height: 100vh; min-height: 620px; padding: 33px 18px 27px; background: #14272a; color: #f0f3ed; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 10px 55px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border: 1px solid rgba(255,255,255,.48); border-radius: 12px; color: #eff6ed; font-size: 16px; font-weight: 750; letter-spacing: -.13em; transform: rotate(-6deg); }
.brand-mark span { color: #b6dfc7; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.brand-copy small { color: #9eb3ad; font-size: 11px; }
.side-nav { display: grid; min-width: 0; gap: 5px; }
.nav-link { display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 14px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #b9c8c1; text-align: left; font-size: 14px; font-weight: 600; transition: background .15s ease, color .15s ease; }
.nav-link:hover { background: rgba(255,255,255,.07); color: white; }
.nav-link.is-active { border-color: rgba(181,230,200,.16); background: #245347; color: #fff; }
.nav-symbol { display: inline-grid; place-items: center; width: 21px; font-size: 19px; font-weight: 400; line-height: 1; }
.sidebar-foot { margin: auto 13px 0; color: #a8b9b2; font-size: 12px; line-height: 1.55; }
.sidebar-foot p { max-width: 180px; margin: 0 0 18px; }
.sidebar-foot small { display: block; color: #829a91; font-size: 11px; }
.sidebar-rule { display: block; height: 1px; margin-bottom: 16px; background: rgba(255,255,255,.13); }

.workspace { min-width: 0; background: #f3f5f1; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 16px clamp(24px, 4vw, 66px); border-bottom: 1px solid #e1e7e0; background: rgba(255,255,252,.75); }
.topbar-title { color: #49605d; font-size: 13px; font-weight: 650; letter-spacing: .015em; }
.topbar-separator { padding: 0 11px; color: #a8b4ae; }
.connection-status { display: inline-flex; align-items: center; gap: 8px; max-width: 280px; padding: 8px 12px; border-radius: 99px; background: #e9efeb; color: #536762; font-size: 11px; font-weight: 700; text-align: right; }
.connection-status.is-good { background: var(--green-soft); color: var(--green-deep); }
.connection-status.is-bad { background: var(--red-soft); color: var(--red); }
.status-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
main { max-width: 1290px; margin: 0 auto; padding: 49px clamp(24px, 4vw, 66px) 75px; }
.view { animation: appear .22s ease-out; }
.page-intro { max-width: 740px; margin-bottom: 36px; }
.eyebrow { display: inline-block; margin-bottom: 13px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0 0 14px; color: #162c2a; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4.2vw, 55px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.page-intro p { margin: 0; color: #5e706e; font-size: 16px; line-height: 1.6; }
h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; line-height: 1.24; }
h3 { margin: 0; }
.surface { border: 1px solid #dfe6dd; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.start-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 20px; align-items: start; }
.start-card, .method-card { padding: clamp(24px, 3vw, 39px); }
.section-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #637674; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.step-number { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: #d7ede0; color: #176b58; font-size: 10px; letter-spacing: 0; }
.step-number-muted { background: #edf1e8; color: #71817b; }
.start-card h2, .method-card h2 { margin-bottom: 27px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 750; }
select, textarea, input { width: 100%; border: 1px solid #cbd6ce; border-radius: 10px; background: #fff; color: var(--ink); }
select { min-height: 48px; padding: 0 13px; }
textarea { min-height: 94px; padding: 13px; resize: vertical; line-height: 1.45; }
select:hover, textarea:hover, input:hover { border-color: #91aaa0; }
.field-help { margin: 0; color: #74827d; font-size: 12px; line-height: 1.5; }
.manual-topic { margin: 24px 0; border-top: 1px solid #e5ebe4; border-bottom: 1px solid #e5ebe4; }
.manual-topic summary { display: flex; align-items: center; gap: 8px; padding: 17px 0; color: var(--green-deep); font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
.manual-topic summary::-webkit-details-marker { display: none; }
.manual-topic summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #e7f1e9; font-size: 16px; font-weight: 500; }
.manual-topic[open] summary::before { content: "−"; }
.manual-topic-content { padding: 0 0 19px; }
.optional-tag { color: #82908b; font-size: 11px; font-weight: 500; }
.research-mode { display: flex; align-items: center; gap: 15px; margin: 22px 0 27px; padding: 17px; border: 1px solid #d8e7dd; border-radius: 11px; background: #f2f8f2; }
.research-count { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: #d9eadb; color: #176b58; font-family: Georgia, serif; font-size: 25px; }
.research-mode div { display: grid; gap: 4px; }
.research-mode strong { font-size: 13px; }
.research-mode div span { color: #64766b; font-size: 11px; line-height: 1.45; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:not(:disabled):hover { transform: translateY(-1px); }
.button-primary { background: var(--green-deep); color: white; }
.button-primary:not(:disabled):hover { background: #0a4339; }
.button-wide { justify-content: space-between; width: 100%; min-height: 54px; padding: 11px 18px; }
.button-wide span { font-size: 20px; font-weight: 400; }
.button-subtle { border-color: #d5dfd7; background: white; color: var(--green-deep); }
.button-subtle:not(:disabled):hover { border-color: var(--green); background: #f4f8f4; }
.form-message { min-height: 16px; margin: 12px 0 0; color: var(--red); font-size: 12px; line-height: 1.4; }
.form-message.is-success { color: var(--green); }
.method-list { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.method-list li { display: flex; align-items: flex-start; gap: 15px; }
.method-index { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid #d9e6dd; border-radius: 50%; color: var(--green); font-size: 12px; font-weight: 800; }
.method-list strong { display: block; margin-top: 3px; font-size: 14px; }
.method-list p { margin: 5px 0 0; color: #6d7b76; font-size: 12px; line-height: 1.5; }
.method-note { display: flex; gap: 12px; margin-top: 37px; padding: 17px; border-radius: 10px; background: #f6f5ef; }
.method-note > span { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 1px solid #9eae9b; border-radius: 50%; color: #768673; font-family: Georgia, serif; font-size: 12px; font-style: italic; }
.method-note p { margin: 0; color: #69756b; font-size: 11px; line-height: 1.55; }

.review-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 32px; }
.text-button { padding: 4px 0; border: 0; background: none; color: var(--green); font-size: 13px; font-weight: 750; }
.text-button:hover { text-decoration: underline; }
.run-id { color: #8a9992; font-size: 11px; }
.review-intro { margin-bottom: 25px; }
.review-intro h1 { font-size: clamp(33px, 3.5vw, 48px); }
.run-state { min-height: 0; margin: 0 0 22px; color: #5e706b; font-size: 13px; line-height: 1.5; }
.run-state:empty { display: none; }
.run-state.is-error { padding: 15px 18px; border-radius: 10px; background: var(--red-soft); color: var(--red); }
.run-state.is-waiting { padding: 15px 18px; border-radius: 10px; background: #edf3ed; color: #456157; }
.review-progress { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; color: var(--muted); font-size: 12px; font-weight: 700; }
.progress-track { width: min(220px, 42%); height: 6px; overflow: hidden; border-radius: 99px; background: #dfe7df; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width .2s ease; }
.reading-card { padding: clamp(25px, 4vw, 45px); }
.reading-stage { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 31px; }
.author-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--green-soft); color: var(--green-deep); font-size: 12px; font-weight: 800; }
.stage-label { color: #788980; font-size: 12px; font-weight: 700; }
.story-title { max-width: 760px; margin: 0 0 17px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 3.2vw, 39px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.story-lead { max-width: 760px; margin: 0; color: #4c605b; font-size: 17px; line-height: 1.65; }
.story-body { max-width: 760px; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid #e3e9e0; color: #273b38; font-size: 16px; line-height: 1.76; }
.story-body p { margin: 0 0 18px; white-space: pre-line; }
.story-body h3 { margin: 29px 0 11px; font-size: 21px; line-height: 1.35; }
.story-body .plain-heading { font-weight: 750; }
.rating-section { margin-top: 31px; padding-top: 26px; border-top: 1px solid #e4eae3; }
.rating-section h3 { margin-bottom: 7px; font-size: 17px; }
.rating-section > p { margin: 0 0 19px; color: #71817a; font-size: 12px; line-height: 1.5; }
.rating-grid { display: grid; gap: 11px; }
.rating-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 13px 0; border: 0; border-bottom: 1px solid #edf0e9; }
.rating-group:last-child { border-bottom: 0; }
.rating-group legend { float: left; width: min(310px, 100%); padding: 5px 0; font-size: 13px; font-weight: 700; line-height: 1.4; }
.rating-options { display: flex; flex-wrap: wrap; gap: 7px; }
.rating-choice { min-width: 60px; padding: 8px 10px; border: 1px solid #d5e0d7; border-radius: 8px; background: white; color: #52615b; font-size: 12px; font-weight: 700; }
.rating-choice:hover { border-color: var(--green); }
.rating-choice[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: var(--green-deep); }
.rating-choice:disabled { opacity: .65; }
.review-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.review-hint { color: #829088; font-size: 12px; }
.early-reveal-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 25px; padding-top: 18px; border-top: 1px solid #edf0e9; }
.early-reveal-action p { max-width: 520px; margin: 0; color: #859187; font-size: 11px; line-height: 1.5; }
.early-reveal-action .text-button { color: #8b663b; font-size: 11px; }
.early-reveal-warning { margin: 0 0 18px; padding: 11px 13px; border-radius: 8px; background: var(--amber-soft); color: #855119; font-size: 12px; line-height: 1.45; }
.panel-title { margin-bottom: 10px; font-family: Georgia, serif; font-size: 31px; font-weight: 500; letter-spacing: -.04em; }
.panel-copy { max-width: 690px; margin: 0 0 23px; color: #64746d; font-size: 14px; line-height: 1.6; }
.pairwise-surface, .reveal-surface { padding: clamp(24px, 3.6vw, 39px); }
.finalist-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.finalist-controls label { display: grid; gap: 7px; color: #50625d; font-size: 12px; font-weight: 750; }
.pairwise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.comparison-card { min-width: 0; padding: 22px; border: 1px solid #dfe6dd; border-radius: 12px; background: #fff; }
.comparison-card h3 { margin: 17px 0 10px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; line-height: 1.3; }
.comparison-card > p { margin: 0; color: #5b6c67; font-size: 13px; line-height: 1.55; }
.comparison-card .story-body { max-height: 430px; overflow: auto; margin-top: 15px; padding-top: 16px; font-size: 13px; line-height: 1.65; }
.comparison-card .story-body h3 { font-size: 17px; }
.choice-heading { margin: 28px 0 13px; font-size: 15px; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-grid .button { min-height: 41px; }
.saved-note { margin: 16px 0 0; color: var(--green); font-size: 12px; font-weight: 700; }
.reveal-surface { margin-top: 18px; }
.reveal-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.reveal-table th, .reveal-table td { padding: 13px 10px; border-bottom: 1px solid #e4ebe4; vertical-align: top; }
.reveal-table th { color: #65766d; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.reveal-table td:first-child { font-weight: 800; white-space: nowrap; }
.review-audit { margin-top: 35px; padding-top: 26px; border-top: 1px solid #dfe8df; }
.review-audit > h3 { margin: 0 0 9px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.review-audit-intro { max-width: 800px; margin: 0 0 18px; color: #65746b; font-size: 12px; line-height: 1.6; }
.review-pair-label { margin: 0 0 15px; color: var(--green-deep); font-size: 12px; font-weight: 750; }
.review-refresh { display: block; margin: 15px 0; }
.review-batch { margin-top: 24px; padding-top: 21px; border-top: 1px solid #e5ebe3; }
.review-batch > h4 { margin: 0 0 5px; font-size: 14px; }
.review-job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 15px; }
.review-job { min-width: 0; padding: 18px; border: 1px solid #dfe7de; border-radius: 11px; background: #fbfcf8; }
.review-job-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.review-job-heading h4 { margin: 0; font-size: 15px; }
.review-job-status { padding: 5px 8px; border-radius: 99px; background: #e9f0e9; color: #3e6653; font-size: 10px; font-weight: 750; }
.review-job-meta { margin: 9px 0 0; color: #6d7c71; font-size: 11px; line-height: 1.55; }
.review-job-note, .review-job-warning, .review-job-action { margin: 13px 0 0; padding: 11px 12px; border-radius: 8px; font-size: 11px; line-height: 1.55; }
.review-job-note { background: #edf5ee; color: #3e6653; }
.review-job-warning { background: var(--amber-soft); color: #83551d; }
.review-job-action { background: #f4f2e9; color: #625d44; }
.review-editorial { display: grid; gap: 12px; margin-top: 18px; }
.review-editorial h5 { margin: 0; font-size: 12px; }
.review-editorial-row { padding: 10px 0; border-top: 1px solid #e5ebe3; }
.review-editorial-row strong { font-size: 11px; }
.review-editorial-row p { margin: 6px 0 0; color: #53665a; font-size: 11px; line-height: 1.55; }
.review-editorial-row blockquote, .review-finding blockquote { margin: 8px 0 0; padding-left: 10px; border-left: 2px solid #cadccf; color: #64756a; font-size: 11px; line-height: 1.55; }
.review-findings { margin-top: 18px; }
.review-findings summary { color: var(--green-deep); font-size: 11px; font-weight: 750; cursor: pointer; }
.review-finding { margin-top: 15px; padding-top: 12px; border-top: 1px solid #e5ebe3; }
.review-finding strong { font-size: 11px; }
.review-finding p { margin: 7px 0 0; color: #53665a; font-size: 11px; line-height: 1.55; }
.review-finding .review-source { color: #5a7160; }
.review-finding .review-suggestion { color: #7e5a32; }
.empty-note { margin: 15px 0; color: #728179; font-size: 13px; line-height: 1.5; }

.history-surface, .diagnostics-surface { padding: clamp(23px, 3vw, 34px); }
.list-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 0; border-top: 1px solid #e7ebe4; }
.history-row:first-child { border-top: 0; }
.history-row h3 { margin: 0 0 5px; font-size: 15px; }
.history-row p { margin: 0; color: #738179; font-size: 12px; line-height: 1.5; }
.history-open { flex: none; }
.analytics-guidance { margin-bottom: 20px; padding: 20px 24px; background: #f9faf5; }
.analytics-guidance strong { display: block; margin-bottom: 6px; color: var(--green-deep); font-size: 13px; }
.analytics-guidance p { max-width: 800px; margin: 0; color: #697a70; font-size: 12px; line-height: 1.6; }
.analytics-list { display: grid; gap: 17px; }
.analytics-empty { padding: 26px; color: #69786f; font-size: 13px; line-height: 1.6; }
.analytics-card { padding: clamp(22px, 3vw, 32px); }
.analytics-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.analytics-card-top h2 { font-family: Georgia, serif; font-size: clamp(23px, 2.4vw, 30px); font-weight: 500; }
.analytics-status { flex: none; max-width: 250px; padding: 7px 10px; border-radius: 99px; background: var(--green-soft); color: var(--green-deep); font-size: 11px; font-weight: 750; text-align: center; }
.analytics-version { margin: 10px 0 18px; color: #87958d; font-size: 11px; }
.analytics-reason { max-width: 750px; margin: 0 0 22px; color: #52675e; font-size: 13px; line-height: 1.6; }
.analytics-candidate { max-width: 750px; margin: -6px 0 20px; padding: 12px 15px; border-radius: 9px; background: var(--amber-soft); color: #815325; font-size: 12px; line-height: 1.5; }
.analytics-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 610px; }
.analytics-metric { display: grid; align-content: center; gap: 3px; min-height: 78px; padding: 13px 16px; border: 1px solid #dfe9df; border-radius: 10px; background: #f6faf5; }
.analytics-metric strong { color: #1e6651; font-family: Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1; }
.analytics-metric span { color: #64766a; font-size: 11px; line-height: 1.4; }
.analytics-basis, .analytics-update { margin: 14px 0 0; color: #78867c; font-size: 11px; line-height: 1.5; }
.analytics-update { margin-top: 8px; }
.analytics-examples { display: grid; gap: 10px; margin-top: 21px; padding-top: 18px; border-top: 1px solid #e4ebe2; }
.analytics-examples strong { font-size: 12px; }
.analytics-example-links { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-example-links a { padding: 8px 10px; border: 1px solid #d5dfd7; border-radius: 8px; color: var(--green-deep); font-size: 11px; font-weight: 700; text-decoration: none; }
.analytics-example-links a:hover { background: #f1f8f2; }
.analytics-pairs { margin-top: 21px; padding-top: 17px; border-top: 1px solid #e4ebe2; }
.analytics-pairs summary { color: var(--green-deep); font-size: 12px; font-weight: 750; cursor: pointer; }
.analytics-pair-line { margin: 10px 0 0; color: #53645b; font-size: 11px; line-height: 1.55; }
.diagnostics-status { margin: 0; color: #5c6f66; font-size: 14px; line-height: 1.5; }
.diagnostics-surface hr { height: 1px; margin: 30px 0; border: 0; background: #e5ebe3; }
.diagnostics-surface h2 { margin-bottom: 10px; }
.diagnostics-surface > p:not(.diagnostics-status) { max-width: 650px; margin: 0 0 18px; color: #6d7b72; font-size: 13px; line-height: 1.55; }
.noscript { position: fixed; right: 12px; bottom: 12px; padding: 12px; border: 1px solid var(--red); border-radius: 8px; background: #fff; color: var(--red); }
.login-overlay { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(14, 32, 33, .72); }
.login-dialog { width: min(100%, 420px); padding: clamp(25px, 4vw, 38px); box-shadow: 0 30px 90px rgba(0, 0, 0, .22); }
.login-dialog h2 { margin-bottom: 11px; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.login-dialog > p { margin: 0 0 25px; color: #65766e; font-size: 13px; line-height: 1.55; }
.login-dialog form { display: grid; gap: 10px; }
.login-dialog label { font-size: 13px; font-weight: 750; }
.login-dialog input { min-height: 46px; padding: 10px 13px; }
.login-dialog button { margin-top: 7px; }
.login-dialog .form-message { margin-top: 0; }

@keyframes appear { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1020px) { .start-grid { grid-template-columns: 1fr; } .method-card { display: grid; grid-template-columns: 1fr; } .method-list { grid-template-columns: repeat(3, 1fr); gap: 15px; } .method-note { margin-top: 25px; } }
@media (max-width: 800px) { .app-shell { grid-template-columns: 1fr; background: #f3f5f1; } .sidebar { position: relative; height: auto; min-height: 0; padding: 15px 20px 13px; } .brand { margin: 0 0 14px; } .side-nav { display: flex; gap: 5px; overflow-x: auto; } .nav-link { width: auto; min-width: max-content; padding: 9px 11px; font-size: 12px; } .nav-symbol { font-size: 16px; width: 17px; } .sidebar-foot { display: none; } .topbar { min-height: 60px; } main { padding-top: 34px; } }
@media (max-width: 650px) { .topbar { padding: 12px 18px; } .topbar-title { font-size: 11px; } .connection-status { max-width: 150px; font-size: 10px; } main { padding: 30px 17px 55px; } .page-intro { margin-bottom: 25px; } .page-intro p { font-size: 14px; } .start-card, .method-card { padding: 22px; } .method-list { grid-template-columns: 1fr; gap: 16px; } .method-note { margin-top: 25px; } .review-topline { margin-bottom: 22px; } .reading-card { padding: 21px; } .story-lead { font-size: 15px; } .story-body { font-size: 15px; } .rating-group { display: block; } .rating-group legend { float: none; width: 100%; margin-bottom: 8px; } .finalist-controls, .pairwise-grid, .review-job-grid { grid-template-columns: 1fr; } .comparison-card .story-body { max-height: 300px; } .reveal-table { display: block; overflow-x: auto; } .history-row { align-items: flex-start; flex-direction: column; } .analytics-card-top { display: grid; } .analytics-status { max-width: none; justify-self: start; } .analytics-metrics { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .side-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; } .nav-link { min-width: 0; width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .view, .button, .nav-link, .progress-track span { animation: none; transition: none; } }
