/* AI for Science Research Observer — original visual system */
:root {
  --navy: #003157;
  --navy-2: #1b4567;
  --navy-3: #0a2740;
  --mint: #13be9b;
  --teal: #42be9c;
  --mint-light: #7dd7c1;
  --mint-pale: #e8f8f3;
  --ice: #f0faf8;
  --surface: #ffffff;
  --canvas: #f7faf9;
  --ink: #102f45;
  --text: #395468;
  --muted: #718593;
  --line: #dfe9e7;
  --danger: #b54747;
  --warning: #a36b16;
  --shadow: 0 18px 55px rgba(0, 49, 87, .08);
  --shadow-small: 0 8px 24px rgba(0, 49, 87, .07);
  --radius: 18px;
  --font: Montserrat, "Avenir Next", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: "Open Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text); background: var(--surface); font-family: var(--body); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--body); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font); line-height: 1.28; letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint); }
button, input, select, textarea { font-size: inherit; }
button, select { cursor: pointer; }
img, svg { max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(19, 190, 155, .35); outline-offset: 3px; }
input, select, textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid #d8e4e3; border-radius: 11px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19,190,155,.08); outline: none; }
textarea { resize: vertical; }
label { display: block; margin: 16px 0 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
label span { color: var(--muted); font-weight: 400; }
form { margin: 0; }
.container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(920px, calc(100% - 48px)); }
.section { padding: 88px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: white; background: var(--navy); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; vertical-align: -4px; }
.icon.large { width: 30px; height: 30px; }
.eyebrow { margin-bottom: 12px; color: #168a74; font-family: var(--font); font-size: 11px; font-weight: 800; letter-spacing: .18em; line-height: 1.5; }
.eyebrow.light { color: var(--mint-light); }
.quiet { color: var(--muted); font-size: 13px; }
.text-link { color: var(--mint); font-size: 13px; font-weight: 700; }
.text-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 14px; font-weight: 700; }
.text-arrow:hover { gap: 15px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 12px 23px; color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { color: #fff; background: #07517c; box-shadow: 0 8px 20px rgba(0,49,87,.15); transform: translateY(-1px); }
.button .icon { width: 18px; height: 18px; }
.button-small { min-height: 38px; padding: 8px 17px; font-size: 12px; }
.button-mint { color: var(--navy); background: var(--mint-light); border-color: var(--mint-light); }
.button-mint:hover { color: var(--navy); background: #a2ead7; }
.button-outline { color: var(--navy); background: transparent; border-color: #b9cecf; }
.button-outline:hover { color: var(--navy); background: var(--mint-pale); box-shadow: none; }
.button-ghost { color: var(--text); background: transparent; border-color: var(--line); }
.button-ghost:hover { color: var(--danger); background: #fff5f5; }
.full { width: 100%; }
.icon-button { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0; color: var(--navy); background: transparent; border: 0; border-radius: 50%; }
.icon-button:hover { color: var(--mint); background: var(--mint-pale); }
.icon-button.danger:hover { color: var(--danger); background: #fff0f0; }
.alert { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; padding: 13px 15px; border-radius: 10px; font-size: 13px; line-height: 1.6; }
.alert .icon { margin-top: 1px; }
.alert-error { color: #873b3b; background: #fff1f1; border: 1px solid #f4d2d2; }
.alert-success { color: #116e5b; background: #eaf9f4; border: 1px solid #c9ede1; }
.count-badge { display: inline-flex; min-width: 30px; height: 30px; align-items: center; justify-content: center; padding: 0 9px; color: #187c68; background: var(--mint-pale); border-radius: 999px; font-size: 12px; vertical-align: 4px; }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(218,231,229,.8); backdrop-filter: blur(16px); }
.header-inner { display: flex; height: 82px; align-items: center; gap: 26px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { display: inline-flex; width: 42px; height: 42px; }
.brand-mark svg { width: 100%; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-family: var(--font); font-size: 21px; font-weight: 850; letter-spacing: .12em; line-height: 1.05; }
.brand small { margin-top: 4px; font-size: 7px; font-weight: 700; letter-spacing: .075em; white-space: nowrap; }
.main-nav { display: flex; height: 100%; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { position: relative; display: flex; height: 100%; align-items: center; color: #3e5668; font-size: 13px; font-weight: 600; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--mint); border-radius: 3px 3px 0 0; content: ''; transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-search { border: 1px solid var(--line); }
.login-link { padding: 8px; color: var(--navy); font-size: 13px; font-weight: 700; }
.nav-toggle { display: none; }
.user-menu { display: flex; align-items: center; gap: 8px; }
.user-avatar { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--navy); background: #d8f4ec; border-radius: 50%; font-size: 13px; font-weight: 800; }
.user-name { max-width: 80px; overflow: hidden; color: var(--navy); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.user-menu form { display: flex; }

/* Homepage */
.hero { position: relative; overflow: hidden; background: linear-gradient(118deg, #f3fbf9 0%, #edf9f7 50%, #e7f5f5 100%); }
.hero::before { position: absolute; top: -180px; left: -140px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(125,215,193,.2), transparent 68%); content: ''; }
.hero-grid { display: grid; min-height: 610px; align-items: center; grid-template-columns: 1.02fr .98fr; gap: 42px; }
.hero-copy { position: relative; z-index: 2; padding: 58px 0 48px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #427468; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.hero-kicker span { width: 26px; height: 2px; background: var(--mint); }
.hero h1 { margin-bottom: 24px; color: var(--navy); font-size: clamp(40px, 4.3vw, 63px); font-weight: 800; letter-spacing: -.06em; line-height: 1.19; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-description { max-width: 570px; margin-bottom: 30px; color: #4c6979; font-size: 16px; line-height: 1.9; }
.hero-search { display: flex; max-width: 610px; min-height: 62px; align-items: center; gap: 10px; padding: 6px 6px 6px 20px; background: #fff; border: 1px solid #dce9e6; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,49,87,.08); }
.hero-search > .icon { color: #6f8a91; }
.hero-search input { min-width: 0; flex: 1; padding: 10px 2px; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-size: 14px; }
.hero-search input:focus { box-shadow: none; }
.hero-search button { display: inline-flex; min-height: 48px; align-items: center; gap: 9px; padding: 10px 22px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--mint)); border: 0; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hero-search button:hover { box-shadow: 0 5px 15px rgba(19,190,155,.25); }
.hero-search button .icon { width: 17px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 21px; color: #617d85; font-size: 11px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 15px; height: 15px; color: #23977e; }
.hero-visual { position: relative; align-self: stretch; min-height: 540px; }
.hero-science { position: absolute; top: 50%; left: 50%; width: 112%; max-width: none; transform: translate(-50%,-50%); }
.visual-note { position: absolute; right: 15px; bottom: 58px; display: flex; align-items: center; gap: 11px; padding: 13px 18px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.8); border-radius: 13px; box-shadow: var(--shadow-small); backdrop-filter: blur(10px); }
.visual-note strong, .visual-note small { display: block; }
.visual-note strong { color: var(--navy); font-size: 11px; }
.visual-note small { margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .05em; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(19,190,155,.12); }
.hero-stats { position: relative; display: grid; min-height: 105px; align-items: center; background: #fff; border: 1px solid #e2eeeb; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(0,49,87,.04); grid-template-columns: repeat(3, 1fr) 1.4fr; }
.hero-stats > div { display: flex; align-items: center; gap: 13px; padding: 10px 30px; border-right: 1px solid var(--line); }
.hero-stats > div:last-child { border: 0; }
.hero-stats strong { color: var(--navy); font-family: var(--font); font-size: 30px; line-height: 1.1; }
.hero-stats span { color: var(--muted); font-size: 11px; line-height: 1.6; }
.hero-stats .verification strong { font-family: var(--body); font-size: 11px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(28px, 3vw, 38px); }
.section-heading > p { max-width: 420px; margin-bottom: 2px; color: var(--muted); font-size: 14px; }
.section-heading.compact { align-items: center; }
.section-heading.compact h2 { font-size: 26px; }
.domains { background: #fff; }
.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.domain-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 26px 25px 22px; overflow: hidden; background: #fbfdfc; border: 1px solid #e1ebe9; border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.domain-card:hover { border-color: #b9ded5; box-shadow: var(--shadow); transform: translateY(-5px); }
.domain-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; }
.domain-icon { display: inline-flex; width: 51px; height: 51px; align-items: center; justify-content: center; color: var(--navy); background: #e5f6f1; border-radius: 14px; }
.domain-icon .icon { width: 27px; height: 27px; }
.domain-number { color: #e0eae8; font-family: var(--font); font-size: 30px; font-weight: 800; }
.domain-card h3 { margin-bottom: 12px; font-size: 21px; }
.domain-card > p:not(.eyebrow) { min-height: 77px; margin-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.domain-latest { min-height: 112px; padding-top: 3px; border-top: 1px solid var(--line); }
.domain-latest a { display: -webkit-box; margin-top: 13px; overflow: hidden; color: #496475; font-size: 11px; font-weight: 600; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.domain-latest a .icon { display: none; }
.domain-latest .quiet { display: block; margin-top: 17px; }
.domain-link { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; color: var(--navy); border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.domain-link span { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 400; }
.domain-link .icon { width: 17px; }
.latest-section { background: var(--canvas); }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.report-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e2ebe9; border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.report-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.report-card-art { position: relative; display: flex; height: 135px; align-items: center; justify-content: center; overflow: hidden; background: #e9f7f4; }
.report-card-art > span { position: relative; z-index: 2; display: flex; width: 61px; height: 61px; align-items: center; justify-content: center; color: var(--navy); background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.8); border-radius: 50%; }
.report-card-art > small { position: absolute; z-index: 2; right: 15px; bottom: 11px; color: #3e6d68; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.art-rings, .art-rings::before, .art-rings::after { position: absolute; width: 230px; height: 230px; border: 1px solid rgba(19,190,155,.18); border-radius: 50%; }
.art-rings { top: -110px; right: -45px; }
.art-rings::before, .art-rings::after { content: ''; }
.art-rings::before { top: 50px; right: 110px; width: 150px; height: 150px; }
.art-rings::after { top: 140px; right: 30px; width: 70px; height: 70px; background: rgba(125,215,193,.12); }
.art-chemical { background: #eaf4f8; }
.art-ai4s { background: #edf1fa; }
.art-aidd { background: #e8f6f0; }
.report-card-body { padding: 23px 24px 19px; }
.report-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 10px; }
.report-meta span { color: #18826c; font-weight: 700; }
.report-card h3 { min-height: 55px; margin-bottom: 12px; font-size: 18px; line-height: 1.55; }
.report-card h3 a { color: var(--ink); }
.report-card h3 a:hover { color: #12836d; }
.report-card-body > p { display: -webkit-box; min-height: 66px; margin-bottom: 19px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.report-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; color: var(--navy); border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.report-card-footer a { display: flex; width: 31px; height: 31px; align-items: center; justify-content: center; background: var(--mint-pale); border-radius: 50%; }
.report-card-footer .icon { width: 16px; }
.method-section { position: relative; padding: 83px 0; overflow: hidden; color: #c1d4dd; background: var(--navy); }
.method-section::after { position: absolute; right: -100px; bottom: -300px; width: 600px; height: 600px; border: 1px solid rgba(125,215,193,.1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(125,215,193,.025), 0 0 0 120px rgba(125,215,193,.02); content: ''; }
.method-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.method-grid h2 { margin-bottom: 22px; color: white; font-size: 39px; }
.method-grid > div > p:last-child { max-width: 420px; color: #a9c0cd; font-size: 14px; }
.method-steps { display: grid; margin: 0; padding: 0; list-style: none; gap: 0; }
.method-steps li { display: flex; gap: 23px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.method-steps li:first-child { padding-top: 5px; }
.method-steps li > span { color: var(--mint-light); font-family: var(--font); font-size: 12px; font-weight: 700; }
.method-steps h3 { margin-bottom: 6px; color: #fff; font-size: 17px; }
.method-steps p { margin-bottom: 0; color: #a9c0cd; font-size: 12px; }
.repository-promo { background: #fff; }
.promo-card { position: relative; display: flex; min-height: 270px; align-items: center; justify-content: space-between; gap: 45px; padding: 48px 56px; overflow: hidden; color: #b6cbd5; background: linear-gradient(120deg, #0b3a59, #064c62); border-radius: 23px; }
.promo-card > div:not(.promo-orbit), .promo-card > a { position: relative; z-index: 2; }
.promo-card h2 { margin-bottom: 15px; color: #fff; font-size: 32px; }
.promo-card p:not(.eyebrow) { max-width: 690px; margin-bottom: 20px; font-size: 13px; }
.promo-card > a { flex: 0 0 auto; }
.promo-tags { display: flex; flex-wrap: wrap; gap: 20px; }
.promo-tags span { display: inline-flex; align-items: center; gap: 7px; color: #d4e5e9; font-size: 11px; }
.promo-tags .icon { width: 16px; color: var(--mint-light); }
.promo-orbit { position: absolute; top: -260px; right: -80px; width: 650px; height: 650px; border: 1px solid rgba(125,215,193,.15); border-radius: 50%; box-shadow: 0 0 0 60px rgba(125,215,193,.035), 0 0 0 120px rgba(125,215,193,.025); }

/* Listing, search, report */
.page-hero { padding: 45px 0 54px; background: linear-gradient(120deg, #eff9f6, #edf6f8); border-bottom: 1px solid #e0ece9; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; color: var(--muted); font-size: 11px; }
.breadcrumb a { color: #53717d; }
.page-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.page-hero h1 { margin-bottom: 14px; font-size: 45px; }
.page-hero-grid > div:first-child > p:last-child { max-width: 650px; margin-bottom: 0; color: #5c7582; font-size: 14px; }
.page-hero-icon { display: flex; width: 118px; height: 118px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--navy); background: rgba(255,255,255,.65); border: 1px solid white; border-radius: 32px; transform: rotate(5deg); }
.page-hero-icon .icon { width: 58px; height: 58px; }
.coverage-note { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: #658079; font-size: 11px; }
.coverage-note .icon { width: 15px; }
.inline-search { display: flex; min-width: 290px; align-items: center; }
.inline-search input { padding: 9px 13px; border-radius: 999px 0 0 999px; font-size: 12px; }
.inline-search button { display: flex; width: 43px; height: 43px; align-items: center; justify-content: center; color: #fff; background: var(--navy); border: 0; border-radius: 0 999px 999px 0; }
.policy-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 32px; padding: 18px 21px; color: #607681; background: #f5f9f8; border: 1px solid #e1ebe8; border-radius: 12px; font-size: 12px; }
.policy-note .icon { margin-top: 2px; color: #4c897c; }
.policy-note p { margin: 0; }
.policy-note strong { color: var(--ink); }
.empty-state { padding: 70px 25px; color: var(--muted); background: #fbfdfc; border: 1px dashed #cfdeda; border-radius: var(--radius); text-align: center; }
.empty-state > .icon { margin-bottom: 14px; color: #83a89e; }
.empty-state h3 { margin-bottom: 8px; font-size: 19px; }
.empty-state p { max-width: 620px; margin: 0 auto; font-size: 13px; }
.search-hero { padding: 65px 0 45px; text-align: center; }
.search-hero > .container > p:not(.eyebrow) { margin-bottom: 28px; }
.archive-search { margin-inline: auto; text-align: left; }
.search-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }
.search-filters a { padding: 6px 15px; color: #5c767d; background: rgba(255,255,255,.5); border: 1px solid #d6e6e1; border-radius: 999px; font-size: 11px; }
.search-filters a.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.report-header { padding: 45px 0 55px; background: linear-gradient(120deg,#f0f9f7,#eef6f8); }
.report-header .narrow { width: min(1000px, calc(100% - 48px)); }
.report-label { display: flex; gap: 10px; margin-bottom: 18px; }
.report-label span { padding: 5px 11px; color: #247763; background: #ddf3eb; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.report-label span:last-child { color: #476a7c; background: #e2edf2; letter-spacing: 0; }
.report-header h1 { max-width: 900px; margin-bottom: 15px; font-size: clamp(32px,4.5vw,48px); line-height: 1.35; }
.original-title { max-width: 860px; margin-bottom: 25px; color: #637d8b; font-size: 14px; font-style: italic; line-height: 1.6; }
.report-byline { display: flex; flex-wrap: wrap; gap: 20px; color: #68808b; font-size: 10px; }
.report-byline span { display: inline-flex; align-items: center; gap: 5px; }
.report-byline .icon { width: 14px; }
.report-layout { display: grid; padding-top: 55px; padding-bottom: 90px; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; }
.report-main { min-width: 0; }
.executive-summary { position: relative; margin-bottom: 35px; padding: 27px 30px 25px; background: #eef9f5; border-left: 4px solid var(--mint); border-radius: 0 14px 14px 0; }
.summary-label { display: block; margin-bottom: 7px; color: #18826d; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.executive-summary p { margin: 0; color: #214c5a; font-size: 17px; font-weight: 600; line-height: 1.85; }
.report-figure { margin: 0 0 45px; }
.report-figure img { display: block; width: 100%; background: #f4faf8; border: 1px solid #e0ebe8; border-radius: 15px; }
.report-figure figcaption { padding: 12px 4px 0; color: #516c79; font-size: 11px; line-height: 1.7; }
.report-figure figcaption span { display: block; color: #8a9aa2; font-size: 9px; }
.analysis-section { display: grid; margin-bottom: 42px; grid-template-columns: 42px minmax(0,1fr); gap: 20px; }
.analysis-number { padding-top: 5px; color: #8cbcaf; font-family: var(--font); font-size: 12px; font-weight: 800; }
.analysis-section h2 { margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 24px; }
.analysis-section p { margin-bottom: 16px; color: #395566; font-size: 15px; line-height: 2; }
.analysis-section ul { margin: 12px 0 0; padding: 18px 20px 18px 40px; background: #f7faf9; border-radius: 12px; }
.analysis-section li { margin: 8px 0; padding-left: 5px; color: #415e6d; font-size: 14px; line-height: 1.85; }
.analysis-section li::marker { color: var(--mint); }
.source-section { margin-top: 55px; padding-top: 35px; border-top: 1px solid var(--line); }
.source-section h2 { margin-bottom: 24px; font-size: 25px; }
.source-list { margin: 0; padding: 0; list-style: none; }
.source-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #edf2f1; }
.source-list li > span { color: #91aaa9; font-family: var(--font); font-size: 10px; }
.source-list a { display: inline; color: var(--navy); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.source-list a .icon { width: 13px; height: 13px; }
.source-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.license-box { display: flex; gap: 13px; margin-top: 25px; padding: 18px; color: #607580; background: #f6f9f9; border-radius: 11px; font-size: 11px; }
.license-box p { margin: 0; }
.license-box strong { color: var(--ink); }
.report-aside { align-self: start; }
.aside-card { margin-bottom: 19px; padding: 22px; background: #f8fbfa; border: 1px solid #e2ebe9; border-radius: 13px; }
.aside-card h2 { margin-bottom: 17px; font-size: 14px; }
.aside-card dl { margin: 0; }
.aside-card dt { margin-top: 13px; color: #8a9ba3; font-size: 9px; }
.aside-card dd { margin: 2px 0 0; color: #365466; font-size: 12px; }
.toc a { display: flex; gap: 10px; padding: 9px 0; color: #526e7c; border-bottom: 1px solid #e6eeec; font-size: 11px; line-height: 1.5; }
.toc a:last-child { border: 0; }
.toc a span { color: #75a396; font-size: 9px; }

/* Authentication */
.auth-body .site-header { position: relative; }
.auth-page { display: grid; min-height: 690px; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: 60px max(45px, calc((100vw - 1220px)/2)); padding-right: 40px; overflow: hidden; color: #b8cdd6; background: linear-gradient(135deg,#003157,#07556a); }
.auth-visual h1 { margin-bottom: 20px; color: white; font-size: clamp(36px,4vw,52px); }
.auth-visual p:not(.eyebrow) { max-width: 450px; font-size: 14px; }
.auth-visual-art { position: absolute; right: -30px; bottom: 15px; width: 75%; opacity: .65; }
.auth-visual-art .data-card, .auth-visual-art .visual-note { display: none; }
.auth-visual-art .protein-ribbon { opacity: .8; }
.auth-visual > small { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; color: #b6d1d5; font-size: 10px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 55px 40px; background: #fbfdfc; }
.auth-form { width: min(430px,100%); }
.auth-form h2 { margin-bottom: 10px; font-size: 32px; }
.auth-form > p:not(.eyebrow) { margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.auth-form .button { margin-top: 25px; }
.auth-switch { margin: 24px 0 0 !important; text-align: center; }
.auth-switch a { color: #14836c; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; align-items: flex-start; gap: 9px; margin-top: 20px; color: #637984; font-size: 10px; font-weight: 400; line-height: 1.7; }
.checkbox input { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--mint); }
.success-panel { text-align: center; }
.success-icon { display: flex; width: 70px; height: 70px; align-items: center; justify-content: center; margin: 0 auto 25px; color: #fff; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 12px var(--mint-pale); }
.success-icon .icon { width: 32px; height: 32px; }
.success-panel strong { color: var(--ink); }
.success-panel .text-link { display: block; margin-top: 20px; }

/* Dashboard */
.dashboard-body { background: #f5f8f8; }
.dashboard-hero { padding: 45px 0 48px; color: #bfd0d9; background: linear-gradient(115deg,var(--navy),#07566b); }
.dashboard-hero .container { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.dashboard-hero h1 { margin-bottom: 10px; color: white; font-size: 37px; }
.dashboard-hero p:not(.eyebrow) { margin: 0; font-size: 13px; }
.account-chip { display: flex; min-width: 210px; align-items: center; gap: 12px; padding: 13px 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 13px; }
.account-chip .user-avatar { color: var(--navy); background: var(--mint-light); }
.account-chip strong, .account-chip small { display: block; }
.account-chip strong { color: white; font-size: 13px; }
.account-chip small { color: #b8ced6; font-size: 10px; }
.dashboard-section { padding: 35px 0 75px; }
.stats-row { display: grid; margin-bottom: 25px; grid-template-columns: repeat(4,1fr); gap: 15px; }
.stat-card { display: flex; align-items: center; gap: 15px; padding: 20px; background: #fff; border: 1px solid #e0e9e7; border-radius: 13px; }
.stat-card > span { display: flex; width: 42px; height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; color: #187e69; background: var(--mint-pale); border-radius: 11px; }
.stat-card strong, .stat-card small { display: block; }
.stat-card strong { color: var(--navy); font-family: var(--font); font-size: 21px; line-height: 1.3; }
.stat-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.repository-grid { display: grid; align-items: start; grid-template-columns: 305px minmax(0,1fr); gap: 22px; }
.upload-panel, .files-panel, .admin-panel { padding: 24px; background: #fff; border: 1px solid #e0e9e7; border-radius: 15px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-heading .eyebrow { margin-bottom: 5px; }
.panel-heading h2 { margin: 0; font-size: 20px; }
.panel-heading > .icon { color: #80a99d; }
.drop-zone { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; margin: 0 0 17px; padding: 22px; color: #6c848c; background: #f8fbfa; border: 1px dashed #b8d2ca; border-radius: 12px; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop-zone:hover, .drop-zone.is-dragging { background: #eff9f5; border-color: var(--mint); }
.drop-zone > .icon { margin-bottom: 10px; color: #389b83; }
.drop-zone strong { color: var(--ink); font-size: 12px; }
.drop-zone > span { margin-top: 3px; font-size: 10px; }
.drop-zone > small { margin-top: 10px; color: #91a29f; font-size: 8px; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-panel .button { margin-top: 20px; }
.security-caption { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 13px 0 0; color: #8a9a9e; font-size: 9px; line-height: 1.5; }
.security-caption .icon { width: 13px; }
.upload-progress { margin-top: 16px; }
.upload-progress > div { height: 6px; overflow: hidden; background: #e7efed; border-radius: 999px; }
.upload-progress > div > span { display: block; width: 0; height: 100%; background: var(--mint); border-radius: inherit; transition: width .2s; }
.upload-progress small { color: var(--muted); font-size: 10px; }
.file-filters { display: grid; margin-bottom: 19px; grid-template-columns: minmax(150px,1fr) 115px 125px auto; gap: 8px; }
.file-filters input, .file-filters select { min-width: 0; padding: 8px 10px; font-size: 10px; }
.filter-search { position: relative; }
.filter-search .icon { position: absolute; top: 10px; left: 10px; width: 15px; color: #7f959a; }
.filter-search input { padding-left: 31px; }
.file-filters .button { min-height: 37px; padding: 8px 13px; font-size: 10px; }
.file-filters .button .icon { width: 14px; }
.file-table-wrap { width: 100%; overflow-x: auto; }
.file-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.file-table th { padding: 11px 10px; color: #8a9b9f; background: #f7faf9; border-bottom: 1px solid #e2eae8; font-size: 9px; font-weight: 700; text-align: left; white-space: nowrap; }
.file-table td { padding: 14px 10px; color: #516c78; border-bottom: 1px solid #edf2f1; vertical-align: middle; }
.file-table tr:last-child td { border-bottom: 0; }
.file-table td > small, .file-table td > span + small { display: block; margin-top: 3px; color: #8a9a9f; font-size: 9px; }
.file-name { display: flex; min-width: 170px; max-width: 290px; align-items: center; gap: 10px; }
.file-name > div { min-width: 0; }
.file-name strong { display: block; overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.file-name small { display: block; max-width: 220px; overflow: hidden; margin-top: 3px; color: #8a9a9f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.file-type { display: flex; width: 35px; height: 39px; flex: 0 0 auto; align-items: center; justify-content: center; color: #2a7a68; background: #e8f6f1; border-radius: 7px; font-size: 8px; font-weight: 800; }
.file-actions { display: flex; gap: 3px; }
.file-actions .icon { width: 16px; }
.file-actions .icon-button { width: 31px; height: 31px; }
.admin-shield { display: flex; width: 90px; height: 90px; align-items: center; justify-content: center; color: var(--mint-light); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 25px; }
.admin-shield .icon { width: 45px; height: 45px; }
.admin-summary { display: grid; margin-bottom: 25px; grid-template-columns: repeat(3,1fr); gap: 15px; }
.admin-summary > div { display: flex; align-items: baseline; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.admin-summary strong { color: var(--navy); font-family: var(--font); font-size: 28px; }
.admin-summary span { color: var(--muted); font-size: 11px; }
.member-cell { display: flex; min-width: 145px; align-items: center; gap: 10px; }
.member-cell strong, .member-cell small { display: block; }
.member-cell strong { color: var(--ink); }
.member-cell small { color: var(--muted); font-size: 9px; }
.status { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-pending { color: #8a601f; background: #fff5dd; }
.status-approved { color: #187560; background: #e6f7f0; }
.status-disabled, .status-rejected { color: #8a4a4a; background: #fbecec; }
.admin-actions { display: flex; gap: 5px; }
.admin-actions .button { min-height: 30px; padding: 5px 11px; font-size: 9px; }
.admin-panel .security-caption { margin: 0; }

/* Editorial workflow */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.admin-tabs a { padding: 8px 18px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-tabs a.active { color: #fff; background: var(--navy); }
.admin-summary { grid-template-columns: repeat(5,1fr); }
.admin-summary > a { display: flex; align-items: baseline; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.admin-summary > a:hover { border-color: var(--mint); }
.admin-workflow-grid { display: grid; margin-bottom: 22px; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.admin-entry { transition: border-color .2s, transform .2s; }
.admin-entry:hover { border-color: var(--mint); transform: translateY(-2px); }
.admin-entry p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.workflow-guide ol { margin: 0 0 18px; padding: 0; list-style: none; }
.workflow-guide li { display: flex; gap: 10px; margin: 10px 0; color: var(--text); font-size: 12px; }
.workflow-guide li span { color: var(--mint); font-weight: 800; }
.retrieval-form .button:disabled { cursor: wait; opacity: .55; }
.admin-filters { grid-template-columns: minmax(180px,1fr) 110px 125px 130px auto; }
.table-title { display: block; max-width: 440px; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.5; }
.status-new, .status-draft, .status-running, .status-partial, .status-interrupted { color: #8a601f; background: #fff5dd; }
.status-accepted, .status-published, .status-succeeded { color: #187560; background: #e6f7f0; }
.status-failed { color: #8a4a4a; background: #fbecec; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; font-size: 12px; }
.pagination a { color: var(--navy); font-weight: 700; }
.candidate-detail h2 { max-width: 920px; font-size: 25px; line-height: 1.5; }
.metadata-grid { display: grid; margin: 25px 0; grid-template-columns: repeat(3,1fr); gap: 15px; }
.metadata-grid div { padding: 14px; background: var(--canvas); border-radius: 10px; }
.metadata-grid dt { color: var(--muted); font-size: 10px; }
.metadata-grid dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; }
.payload-details { margin: 25px 0; }
.payload-details summary { cursor: pointer; color: var(--navy); font-size: 12px; font-weight: 700; }
.payload-details pre { max-height: 430px; overflow: auto; padding: 18px; background: #f4f7f7; border-radius: 10px; font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; }
.candidate-actions, .candidate-actions form, .editor-toolbar, .editor-toolbar form, .editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.editor-toolbar { justify-content: flex-end; margin-bottom: 18px; }
.audit-list { margin: 0; padding: 0; list-style: none; }
.audit-list li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.audit-list span { color: var(--muted); }
.editor-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.editor-fields:disabled { opacity: .82; }
.editor-block { min-width: 0; margin: 18px 0; padding: 20px; background: #fbfdfc; border: 1px solid var(--line); border-radius: 13px; }
.editor-block legend { display: flex; width: 100%; align-items: center; gap: 7px; color: var(--navy); font-size: 13px; font-weight: 800; }
.editor-block legend .icon-button { margin-left: auto; }
.figure-thumbnail { display: block; max-width: 440px; max-height: 280px; margin: 10px 0 20px; object-fit: contain; background: #edf4f2; border-radius: 10px; }
.image-upload-panel form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.image-upload-panel form label { width: 100%; }
.image-upload-panel input[type="file"] { max-width: 450px; }
.image-upload-panel [data-image-status] { width: 100%; margin: 5px 0; }
.image-library { display: grid; margin-top: 20px; grid-template-columns: repeat(4,1fr); gap: 12px; }
.image-library-item { padding: 8px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; text-align: left; }
.image-library-item:hover { border-color: var(--mint); }
.image-library-item img { width: 100%; height: 100px; object-fit: cover; background: var(--canvas); border-radius: 7px; }
.image-library-item span, .image-library-item small { display: block; overflow: hidden; margin-top: 5px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.image-library-item small { color: var(--muted); font-size: 9px; }
.preview-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 16px 20px; color: var(--navy); background: #fff6dc; border: 1px solid #ebd9a4; border-radius: 12px; }
.preview-banner strong, .preview-banner span { display: block; }
.preview-banner span { color: var(--muted); font-size: 11px; }
.ai-queue-note { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: #216b5c; background: var(--mint-pale); border: 1px solid #cde9df; border-radius: 10px; }
.ai-queue-note span { font-size: 11px; }
.ai-review-panel { display: grid; margin-bottom: 20px; padding: 22px; background: #eff9f5; border: 1px solid #c9e7dd; border-radius: 14px; grid-template-columns: 1.2fr 1fr; gap: 18px 28px; }
.ai-review-panel.is-pending { background: #fff9e9; border-color: #eadcae; }
.ai-review-panel h2 { margin-bottom: 8px; font-size: 20px; }
.ai-review-panel p, .ai-review-panel li { font-size: 12px; }
.ai-review-panel ul { margin: 8px 0 0; padding-left: 20px; }
.ai-review-panel .figure-plan { padding: 13px; background: rgba(255,255,255,.7); border-radius: 9px; }
.ai-review-panel .alert { grid-column: 1/-1; margin: 0; }

.comments-section { margin-top: 58px; padding-top: 34px; border-top: 1px solid var(--line); }
.comments-section h2 { margin-bottom: 22px; font-size: 25px; }
.comment-list { display: grid; gap: 13px; }
.comment { padding: 18px 20px; background: #f8fbfa; border: 1px solid var(--line); border-radius: 13px; }
.comment-meta { display: flex; align-items: center; gap: 10px; }
.comment-meta strong, .comment-meta small { display: block; }
.comment-meta strong { color: var(--ink); font-size: 12px; }
.comment-meta small { color: var(--muted); font-size: 10px; }
.comment > p { margin: 14px 0 0; color: #365464; font-size: 14px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment form { margin-top: 8px; text-align: right; }
.comment form .text-link { border: 0; background: transparent; }
.comment-form { margin-top: 22px; padding: 20px; background: #eff8f5; border-radius: 13px; }
.comment-form .button { margin-top: 12px; }
.recommendation-panel { margin-bottom: 22px; }
.recommendation-panel .panel-heading p:last-child { margin: 6px 0 0; }
.recommendation-panel .button { margin-top: 18px; }
.recommendation-panel [data-recommendation-pdf] small { display: block; margin-top: 7px; }

/* Footer and errors */
.site-footer { padding: 60px 0 0; color: #9cb3bf; background: #062b45; }
.footer-grid { display: grid; padding-bottom: 45px; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 50px; }
.brand-light { color: white; }
.footer-brand > p { max-width: 330px; margin: 20px 0; font-size: 12px; }
.footer-regions { display: flex; align-items: center; gap: 8px; color: #bdd0d7; font-size: 10px; }
.footer-regions .icon { width: 16px; color: var(--mint-light); }
.footer-grid h2 { margin-bottom: 18px; color: white; font-size: 12px; letter-spacing: 0; }
.footer-grid > div:not(.footer-brand) > a { display: block; margin: 9px 0; color: #a8bdc7; font-size: 11px; }
.footer-grid > div:not(.footer-brand) > p { font-size: 11px; line-height: 2.1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; }
.error-page { padding-top: 100px; padding-bottom: 110px; text-align: center; }
.error-code { color: #e2eeeb; font-family: var(--font); font-size: 100px; font-weight: 850; line-height: 1; }
.error-icon { display: flex; width: 65px; height: 65px; align-items: center; justify-content: center; margin: -20px auto 25px; color: var(--mint); background: var(--mint-pale); border-radius: 50%; }
.error-page h1 { font-size: 30px; }
.error-page p { margin-bottom: 28px; color: var(--muted); }
.error-page .button { margin: 5px; }

@media (max-width: 1160px) {
  .header-inner { gap: 15px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 11px; }
  .header-actions .button { display: none; }
  .domain-grid { grid-template-columns: repeat(2,1fr); }
  .domain-card > p:not(.eyebrow) { min-height: auto; }
  .domain-latest { min-height: 95px; }
  .file-filters { grid-template-columns: 1fr 100px; }
  .file-filters .filter-search { grid-column: 1/-1; }
  .file-filters .button { grid-column: 2; }
  .repository-grid { grid-template-columns: 280px minmax(0,1fr); }
  .file-table th:nth-child(3), .file-table td:nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 36px,1220px); }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav { position: absolute; top: 82px; right: 0; left: 0; display: none; height: auto; margin: 0; padding: 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-small); }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(2,1fr); gap: 5px; }
  .main-nav a { height: auto; padding: 10px 13px; border-radius: 8px; font-size: 13px; }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--mint-pale); }
  .header-actions { margin-left: 0; }
  .user-name { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-description { max-width: 680px; }
  .hero-visual { min-height: 470px; }
  .hero-science { width: min(680px,100%); }
  .visual-note { right: 7%; bottom: 40px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hero-stats > div { border-bottom: 1px solid var(--line); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(3), .hero-stats > div:nth-child(4) { border-bottom: 0; }
  .report-grid { grid-template-columns: repeat(2,1fr); }
  .method-grid { gap: 45px; }
  .promo-card { padding: 40px; }
  .promo-card { align-items: flex-start; flex-direction: column; }
  .report-layout { grid-template-columns: 1fr; gap: 30px; }
  .report-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .report-aside .button { align-self: start; grid-column: 1/-1; }
  .auth-page { grid-template-columns: .85fr 1.15fr; }
  .auth-visual { padding: 45px 30px; }
  .auth-visual-art { width: 100%; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .repository-grid { grid-template-columns: 1fr; }
  .upload-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .upload-panel .panel-heading, .upload-panel form { grid-column: 1; }
  .upload-panel .security-caption { grid-column: 1; }
  .files-panel { min-width: 0; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .narrow { width: calc(100% - 28px); }
  .section { padding: 58px 0; }
  .header-inner { height: 70px; gap: 6px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 6px; }
  .main-nav { top: 70px; }
  .header-search, .login-link { display: none; }
  .header-actions { gap: 2px; }
  .header-actions .text-link { display: none; }
  .hero-copy { padding-top: 42px; }
  .hero h1 { font-size: 38px; }
  .hero-description { font-size: 14px; }
  .hero-search { min-height: 56px; padding-left: 14px; }
  .hero-search button { min-height: 43px; padding: 9px 15px; font-size: 11px; }
  .hero-search button .icon { display: none; }
  .hero-meta { gap: 13px; }
  .hero-visual { min-height: 350px; }
  .visual-note { right: 0; bottom: 20px; }
  .hero-stats > div { padding: 15px; }
  .hero-stats strong { font-size: 25px; }
  .hero-stats span { font-size: 9px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading h2 { font-size: 28px; }
  .domain-grid, .report-grid { grid-template-columns: 1fr; }
  .domain-latest { min-height: auto; padding-bottom: 18px; }
  .report-card h3, .report-card-body > p { min-height: auto; }
  .method-grid { grid-template-columns: 1fr; gap: 20px; }
  .method-grid h2 { font-size: 31px; }
  .promo-card { padding: 30px 25px; gap: 20px; }
  .promo-card h2 { font-size: 27px; }
  .page-hero { padding: 30px 0 40px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero-icon { display: none; }
  .breadcrumb { margin-bottom: 25px; }
  .inline-search { min-width: 100%; }
  .search-hero { padding-top: 45px; }
  .search-hero .hero-search button { padding-inline: 17px; }
  .report-header { padding-top: 30px; }
  .report-header .narrow { width: calc(100% - 28px); }
  .report-header h1 { font-size: 30px; }
  .report-layout { padding-top: 35px; padding-bottom: 60px; }
  .executive-summary { padding: 22px; }
  .executive-summary p { font-size: 15px; }
  .analysis-section { grid-template-columns: 1fr; gap: 3px; }
  .analysis-section h2 { font-size: 21px; }
  .analysis-section p { font-size: 14px; }
  .report-aside { grid-template-columns: 1fr; }
  .toc { display: none; }
  .auth-page { display: block; min-height: auto; }
  .auth-visual { min-height: 240px; padding: 35px 25px; }
  .auth-visual h1 { font-size: 31px; }
  .auth-visual p:not(.eyebrow) { font-size: 12px; }
  .auth-visual-art { right: -70px; bottom: -100px; width: 75%; }
  .auth-visual > small { display: none; }
  .auth-form-wrap { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .dashboard-hero { padding: 35px 0; }
  .dashboard-hero .container { align-items: flex-start; flex-direction: column; }
  .dashboard-hero h1 { font-size: 31px; }
  .account-chip { min-width: 0; }
  .stats-row { gap: 9px; }
  .stat-card { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px; }
  .stat-card strong { font-size: 18px; }
  .upload-panel { display: block; padding: 19px; }
  .files-panel, .admin-panel { padding: 17px; }
  .file-filters { grid-template-columns: 1fr 1fr; }
  .file-filters .button { grid-column: 1/-1; }
  .file-table thead { display: none; }
  .file-table, .file-table tbody, .file-table tr, .file-table td { display: block; }
  .file-table tr { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .file-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 2px; border: 0; text-align: right; }
  .file-table td::before { color: #91a29f; content: attr(data-label); font-size: 9px; }
  .file-table td:first-child { display: block; text-align: left; }
  .file-table td:first-child::before { display: none; }
  .file-table td:nth-child(3) { display: flex; }
  .file-name { max-width: 100%; }
  .file-name strong, .file-name small { max-width: 230px; }
  .admin-summary { gap: 8px; grid-template-columns: repeat(2,1fr); }
  .admin-summary > div, .admin-summary > a { align-items: flex-start; flex-direction: column; gap: 2px; padding: 15px; }
  .admin-workflow-grid, .metadata-grid { grid-template-columns: 1fr; }
  .admin-filters { grid-template-columns: 1fr 1fr; }
  .admin-tabs { border-radius: 14px; }
  .admin-tabs a { padding: 7px 11px; }
  .image-library { grid-template-columns: repeat(2,1fr); }
  .preview-banner { align-items: flex-start; flex-direction: column; }
  .ai-review-panel { grid-template-columns: 1fr; }
  .audit-list li { flex-direction: column; gap: 2px; }
  .admin-table td { flex-wrap: wrap; }
  .admin-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .report-aside, .breadcrumb { display: none; }
  .report-header { padding: 20px 0; background: white; }
  .report-layout { display: block; padding: 20px 0; }
  .analysis-section { break-inside: avoid; }
  body { color: black; }
}
