:root {
  /* Compass: a dark reddish-brown editorial palette with copper highlights. */
  --canvas: #f8fafc;
  --paper: #ffffff;
  --ink: #2f2b29;
  --muted: #6b6561;
  --forest: #62534c;
  --forest-dark: #3f3733;
  --mint: #f1f5f9;
  --ochre: #a88969;
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --indigo-soft: #eef2ff;
  --sky: #0369a1;
  --sky-soft: #e0f2fe;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --rose: #be123c;
  --rose-soft: #fff1f2;
  --rule: #e2e8f0;
  --soft-rule: #f1f5f9;
  --night: #2f2b29;
  --night-deep: #201e1d;
  --night-soft: #47413e;
  --on-night: #fafafa;
  --accent-soft: #eee8e4;
  --surface-soft: #f8fafc;
  --page-gutter: 64px;
  --header-height: 141px;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --brand-font: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.55 var(--sans); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--forest); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
img { max-width: 100%; }
p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--forest); font-style: normal; font-weight: 650; }
.site-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 100dvh; }
.site-shell > main { min-width: 0; }
.site-header { position: sticky; top: 0; z-index: 10; width: 100%; background: var(--paper); box-shadow: 0 4px 16px #2f2b2912; color: var(--ink); }
.utility-bar { display: flex; align-items: center; min-height: 44px; padding: 0 var(--page-gutter); background: var(--night); color: var(--on-night); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.utility-links { display: flex; gap: 23px; margin-left: auto; }
.utility-links a, .auth-links, .auth-links a { color: var(--on-night); }
.utility-links a:hover, .auth-links a:hover, .auth-links button:hover { color: #c2aa93; }
.primary-bar { display: flex; align-items: center; min-height: 97px; padding: 0 var(--page-gutter); border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); white-space: nowrap; }
.wordmark:hover { color: var(--forest); }
.wordmark img { display: block; width: 56px; height: 56px; }
.wordmark > span { display: grid; gap: 3px; }
.wordmark-name { font: 700 31px/.8 var(--brand-font); letter-spacing: -.045em; }
.wordmark small { color: var(--ochre); font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin: 0 auto; }
.desktop-nav a, .auth-links { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.desktop-nav a { padding: 12px 0; color: var(--ink); }
.desktop-nav a:hover { color: var(--ochre); }
.desktop-nav .admin-nav-link { border: 1px solid var(--rule); padding: 7px 11px; color: var(--forest); }
.desktop-nav .admin-nav-link:hover { border-color: var(--ochre); background: var(--surface-soft); color: var(--forest-dark); }
.nav-dropdown { position: relative; align-self: center; }
.nav-dropdown summary { display: inline-flex; align-items: center; gap: 9px; list-style: none; padding: 12px 0; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.nav-dropdown summary::-webkit-details-marker, .mobile-nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after, .mobile-nav-dropdown summary::after { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; transform: translateY(-2px) rotate(45deg); }
.nav-dropdown[open] summary::after, .mobile-nav-dropdown[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-dropdown summary:hover, .nav-dropdown[open] summary { color: var(--ochre); }
.nav-dropdown-panel { position: absolute; top: 100%; left: -14px; z-index: 20; display: grid; width: 235px; border: 1px solid var(--rule); background: var(--paper); padding: 8px; box-shadow: 0 18px 38px #2f2b2924; }
.nav-dropdown-panel a { display: block; border-radius: 0; padding: 9px 10px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: none; }
.nav-dropdown-panel a:hover { background: var(--surface-soft); color: var(--forest-dark); }
.auth-links { display: flex; align-items: center; gap: 18px; margin-left: 25px; }
.auth-links form { margin: 0; }
.auth-links button { border: 0; background: none; color: var(--on-night); padding: 0; cursor: pointer; font: inherit; }
.register-link { display: inline-flex; align-items: center; min-height: 27px; border-left: 1px solid #657086; padding-left: 18px; }
.header-contact { border: 1px solid var(--ochre); padding: 11px 14px; color: var(--forest-dark); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.header-contact:hover { background: var(--forest); border-color: var(--forest); color: white; }
.menu-toggle, .mobile-drawer { display: none; }
.page { width: 100%; min-height: calc(100vh - var(--header-height)); padding: 68px var(--page-gutter) 100px; background: var(--paper); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--forest); font-size: 11px; font-weight: 750; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.kicker-line { display: inline-block; width: 23px; height: 1px; background: var(--ochre); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 11px 19px; font-size: 14px; font-weight: 700; }
.button .ui-icon { width: 17px; height: 17px; }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-dark); color: white; }
.button-light { background: var(--paper); color: var(--forest-dark); }
.button-light:hover { background: var(--mint); }
.arrow-link, .text-action, .icon-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-size: 14px; font-weight: 700; }
.arrow-link:hover, .text-action:hover { color: var(--ochre); }
.arrow-link .ui-icon, .text-action .ui-icon, .icon-link .ui-icon { width: 16px; height: 16px; }
.notice { padding: 14px 18px; border-left: 3px solid var(--forest); background: var(--mint); color: var(--ink); }

/* Landing page */
.landing-main { padding: 0 0 100px; }
.landing-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); min-height: 580px; border-bottom: 1px solid var(--rule); background: linear-gradient(90deg, #ffffff 0%, #f8fafc 49.9%, transparent 50%); }
.landing-hero .intro { align-self: center; padding: 60px 38px 65px var(--page-gutter); }
.landing-hero h1 { max-width: 600px; margin: 0 0 28px; font-family: var(--display); font-size: clamp(49px, 5.2vw, 68px); font-weight: 600; letter-spacing: -.052em; line-height: 1.06; }
.landing-hero .intro > p:not(.kicker):not(.hero-footnote) { max-width: 440px; color: var(--muted); font-size: 18px; line-height: 1.66; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.hero-footnote { margin: 57px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.hero-visual { position: relative; min-height: 580px; overflow: hidden; background: #9b7b91; }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, #2f2b29b8 100%); content: ""; }
.hero-visual img { display: block; width: 100%; height: 100%; min-height: 580px; object-fit: cover; object-position: 56% center; filter: saturate(.76); }
.hero-visual-caption { position: absolute; right: 36px; bottom: 34px; left: 36px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: white; }
.hero-visual-caption span { font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.hero-visual-caption strong { font-size: 24px; line-height: 1.12; letter-spacing: -.035em; }
.principles-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.principles-band > div { padding: 28px 30px; }
.principles-band > div:first-child { padding-left: var(--page-gutter); }
.principles-band > div:last-child { padding-right: var(--page-gutter); }
.principles-band > div + div { border-left: 1px solid var(--rule); padding-left: 30px; }
.principle-number { display: block; margin-bottom: 8px; color: var(--ochre); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.principles-band strong { display: block; font-size: 16px; }
.principles-band p { max-width: 260px; margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.home-reviews { padding: 88px var(--page-gutter) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading .kicker { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: clamp(37px, 4vw, 53px); }
.section-heading > a { margin-bottom: 9px; }
.review-list { margin-top: 30px; border-top: 1px solid var(--ink); }
.sample-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.sample-note + .review-list { margin-top: 15px; }
.review-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 27px 0 29px; border-bottom: 1px solid var(--rule); }
.landing-review-row { grid-template-columns: 164px minmax(0, 1fr); align-items: start; }
.review-thumbnail { display: block; height: 108px; overflow: hidden; background: var(--surface-soft); border-radius: 8px; }
.review-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .25s ease; }
.review-thumbnail:hover img { transform: scale(1.04); }
.review-meta { margin-bottom: 8px; color: var(--forest); font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.review-meta span { margin: 0 8px; color: var(--ochre); }
.review-copy h2, .review-copy h3 { margin: 0 0 8px; font: 700 clamp(23px, 2.6vw, 31px)/1.18 var(--sans); letter-spacing: -.035em; }
.review-copy > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 14px; }
.status { display: inline-flex; align-items: center; min-height: 25px; border: 1px solid #b7c9c1; border-radius: 30px; background: #ecf4ef; color: var(--forest-dark); padding: 3px 10px; font-size: 11px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.cpanel .status { border-color: #c7d2fe; background: var(--indigo-soft); color: var(--indigo-dark); }
.cpanel .status-queued { border-color: #fed7aa; background: #fff7ed; color: var(--amber); }
.cpanel .status-running { border-color: #bae6fd; background: var(--sky-soft); color: var(--sky); }
.cpanel .status-completed { border-color: #c7d2fe; background: var(--indigo-soft); color: var(--indigo-dark); }
.cpanel .status-failed { border-color: #fecdd3; background: var(--rose-soft); color: var(--rose); }
.method-feature { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 38px; margin-top: 92px; padding: 48px var(--page-gutter); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.method-mark { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 1px solid var(--forest); border-radius: 24px; }
.method-mark img { display: block; width: 80%; height: 80%; }
.method-feature h2 { margin: 0; font-size: clamp(37px, 4vw, 52px); }
.method-copy p { margin-bottom: 20px; color: var(--muted); font-size: 16px; line-height: 1.66; }
.landing-guides { padding: 92px var(--page-gutter) 0; }
.guide-teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.guide-teasers article { border-top: 1px solid var(--rule); padding-top: 14px; }
.guide-image { display: block; aspect-ratio: 1.46; margin-bottom: 24px; overflow: hidden; background: var(--surface-soft); }
.guide-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); transition: transform .3s ease; }
.guide-image:hover img { transform: scale(1.04); }
.guide-teasers h3 { min-height: 80px; margin: 0 0 16px; font: 700 22px/1.25 var(--sans); letter-spacing: -.025em; }
.guide-teasers .kicker { margin-bottom: 9px; }
.support-callout { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-top: 100px; padding: 42px var(--page-gutter); background: var(--night); color: white; }
.support-callout .kicker { color: #c2aa93; }
.support-callout h2 { max-width: 590px; margin: 0; font-size: clamp(32px, 4vw, 48px); }
.support-callout .button { flex: 0 0 auto; }

/* Directory and review detail */
.directory-intro { padding: 4px 0 56px; border-bottom: 1px solid var(--rule); }
.directory-intro > div { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 50px; }
.directory-intro h1, .detail-hero h1, .guide-header h1 { margin: 0; font-size: clamp(46px, 5.4vw, 66px); }
.directory-intro > div > p { margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.directory-toolbar { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; font-size: 13px; font-weight: 700; }
.directory-toolbar span:last-child { color: var(--muted); font-weight: 500; }
.directory-page .review-list { margin-top: 13px; }
.directory-page .review-row { grid-template-columns: 164px minmax(0, 1fr); align-items: start; }
.review-thumbnail { align-self: start; }
.directory-note { display: flex; align-items: center; gap: 18px; margin-top: 52px; padding: 25px; background: var(--surface-soft); }
.note-symbol { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid var(--forest); border-radius: 50%; color: var(--forest); font-size: 17px; font-weight: 700; }
.directory-note p { flex: 1; margin: 0; color: var(--muted); font-size: 14px; }
.directory-note strong { color: var(--ink); }
.directory-note a { flex: 0 0 auto; }
.detail-page { padding-top: 34px; }
.review-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; column-gap: 60px; row-gap: 0; max-width: 1680px; margin: 0 auto; }
.review-main-column { min-width: 0; }
.crumb { display: flex; gap: 10px; margin-bottom: 40px; color: var(--muted); font-size: 13px; }
.crumb a { color: var(--forest); font-weight: 700; }
.detail-hero { max-width: 900px; padding-bottom: 28px; }
.detail-hero h1 { margin-bottom: 18px; }
.lead { max-width: 760px; margin-bottom: 25px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.article-hero-image { position: relative; height: clamp(440px, 38vw, 600px); margin: 0; overflow: hidden; border-radius: 8px; background: var(--surface-soft); box-shadow: 0 18px 38px #2f2b291a; }
.article-hero-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #2f2b2980 100%); content: ""; }
.article-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); }
.article-hero-image figcaption { position: absolute; right: 18px; bottom: 15px; left: 18px; z-index: 1; overflow: hidden; color: white; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.article-hero-image.is-placeholder::after { display: none; }
.article-hero-image.is-placeholder figcaption { color: var(--muted); }
.review-admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.review-admin-actions form { margin: 0; }
.review-admin-actions a, .review-admin-actions button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; border: 1px solid var(--rule); border-radius: 5px; background: var(--paper); padding: 7px 10px; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; }
.review-admin-actions a:hover, .review-admin-actions button:hover { border-color: var(--forest); background: var(--mint); color: var(--forest); }
.review-admin-actions .ui-icon { width: 15px; height: 15px; color: var(--forest); }
.review-admin-actions .admin-action-delete { border-color: #e5c5be; color: #9a3727; }
.review-admin-actions .admin-action-delete .ui-icon { color: #9a3727; }
.review-admin-actions .admin-action-delete:hover { border-color: #9a3727; background: #fff1ed; color: #9a3727; }
.review-layout { grid-column: 1; max-width: 860px; padding-top: 34px; }
.review-article { min-width: 0; }
.related-articles { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 151px; border-top: 2px solid var(--ink); padding-top: 14px; }
.related-articles .kicker { margin-bottom: 14px; }
.related-articles article { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 13px; padding: 15px 0; border-top: 1px solid var(--rule); }
.related-articles article:first-of-type { border-top: 0; }
.related-thumbnail { display: block; height: 78px; overflow: hidden; border-radius: 5px; background: var(--surface-soft); }
.related-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .25s ease; }
.related-thumbnail:hover img { transform: scale(1.04); }
.related-articles h2 { margin: 5px 0 6px; font-size: 16px; }
.related-articles p:not(.kicker) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.related-read-more { display: inline-flex; margin-top: 8px; color: var(--forest); font-size: 12px; font-weight: 700; }
.related-read-more:hover { color: var(--ochre); }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 36px 0 12px; padding-top: 33px; border-top: 1px solid var(--rule); font-size: 26px; }
.article-body blockquote + h2 { margin-top: 33px; }
.article-body p, .article-body li { color: var(--muted); line-height: 1.7; }
.article-body { overflow-wrap: anywhere; }
.article-body blockquote { margin: 0; padding: 15px 17px; border: 0; border-radius: 6px; background: #e2e8f0; }
.article-body blockquote p { margin: 0; color: var(--ink); font-size: 13px; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 20px; }
.guide-callout { display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; align-items: center; margin-top: 25px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 6px; }
.guide-callout span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.guide-callout strong { font-size: 14px; }
.guide-callout .ui-icon { grid-column: 2; grid-row: 1 / 3; width: 18px; height: 18px; color: var(--forest); }
.contact-form { display: grid; gap: 14px; }
.article-contact { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ink); }
.contact-form h2 { margin: 0; font-size: 26px; }
.contact-form > p:not(.kicker) { margin: 0; color: var(--muted); font-size: 14px; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { display: block; width: 100%; min-height: 45px; margin-top: 7px; border: 1px solid #aab9b0; border-radius: 2px; background: white; padding: 10px 12px; color: var(--ink); font-weight: 400; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 46px; border: 0; background: var(--forest); color: white; padding: 10px 18px; cursor: pointer; font-size: 14px; font-weight: 700; }
.contact-form button .ui-icon { width: 16px; height: 16px; }
.contact-form button:hover { background: var(--forest-dark); }
.contact-form strong a { color: var(--forest-dark); text-decoration: underline; text-underline-offset: 3px; }
.review-dateline { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.review-dateline a { color: var(--forest-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.review-external-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; border: 0; background: none; padding: 0; color: var(--forest); cursor: pointer; font-size: 13px; font-weight: 700; }
.review-external-link:hover { color: var(--ochre); }
.review-external-link .ui-icon { width: 16px; height: 16px; }

/* Legal-style case record */
.legal-detail-page { min-height: auto; padding: 0; background: var(--paper); }
.case-hero { position: relative; min-height: 470px; overflow: hidden; background: var(--night-deep) url('/static/images/review-hero-firm.jpg') 60% 52% / cover no-repeat; color: white; }
.case-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, #201e1df5 0%, #2f2b29ea 42%, #47413ed0 67%, #47413ea4 100%); content: ""; }
.case-hero::after { position: absolute; inset: 0; background: linear-gradient(180deg, #201e1d4f 0%, #201e1d12 40%, #201e1da3 100%); content: ""; }
.case-hero-inner { position: relative; z-index: 1; width: min(1680px, 100%); margin: 0 auto; padding: 46px var(--page-gutter) 50px; }
.case-hero .crumb { gap: 11px; margin-bottom: 43px; color: #d8dce4; font-size: 10px; font-weight: 700; }
.case-hero .crumb a { color: #c2aa93; font-weight: 800; }
.case-hero .detail-hero { max-width: 850px; padding: 0; }
.case-hero .kicker { margin-bottom: 17px; color: #c2aa93; font-size: 10px; }
.case-hero .detail-hero h1 { max-width: 800px; margin: 0 0 16px; color: white; font-family: var(--display); font-size: clamp(52px, 5.2vw, 78px); font-weight: 600; letter-spacing: -.055em; line-height: .89; }
.case-hero .lead { max-width: 640px; margin: 0; color: #f1f1ef; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.65; }
.case-hero .review-dateline { margin-top: 16px; color: #d0d4dc; font-size: 11px; }
.case-hero .review-dateline a { color: #ffc5c4; }
.case-hero .review-external-link { border: 1px solid #c2aa93; padding: 10px 14px; color: var(--on-night); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.case-hero .review-external-link:hover { border-color: white; background: white; color: var(--forest-dark); }
.case-hero .review-admin-actions a, .case-hero .review-admin-actions button { border-color: #ffffff66; background: #2f2b2999; color: white; }
.case-hero .review-admin-actions a:hover, .case-hero .review-admin-actions button:hover { border-color: #c2aa93; background: #ffffff18; color: white; }
.case-hero .review-admin-actions .ui-icon { color: #c2aa93; }
.review-content-shell { display: grid; grid-template-columns: minmax(0, 820px) 370px; align-items: start; justify-content: space-between; gap: clamp(48px, 7vw, 128px); width: min(1680px, 100%); margin: 0 auto; padding: 78px var(--page-gutter) 100px; }
.legal-detail-page .review-layout { max-width: none; padding: 0; }
.record-thumbnail { position: relative; height: clamp(280px, 30vw, 430px); margin: 0 0 52px; overflow: hidden; border: 1px solid var(--rule); border-radius: 4px; background: var(--surface-soft); box-shadow: 0 16px 34px #2f2b2924; }
.record-thumbnail::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, #2f2b29a6 100%); content: ""; }
.record-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.72); }
.record-thumbnail figcaption { position: absolute; right: 17px; bottom: 13px; left: 17px; z-index: 1; overflow: hidden; color: white; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.legal-detail-page .article-body h2 { margin: 48px 0 17px; padding-top: 40px; border-top-color: var(--rule); color: var(--ink); font-size: clamp(31px, 3vw, 42px); line-height: 1; }
.legal-detail-page .article-body p, .legal-detail-page .article-body li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.legal-detail-page .article-body blockquote { border-left: 3px solid var(--ochre); border-radius: 0; background: var(--surface-soft); padding: 20px 23px; }
.legal-detail-page .article-body blockquote p { color: var(--ink); font: 600 19px/1.55 var(--display); }
.legal-detail-page .guide-callout { margin-top: 40px; border-color: var(--rule); border-radius: 0; background: var(--surface-soft); padding: 20px 22px; }
.legal-detail-page .guide-callout strong { font-family: var(--display); font-size: 21px; }
.review-sidebar { position: sticky; top: calc(var(--header-height) + 28px); display: grid; gap: 55px; min-width: 0; }
.case-intake { gap: 13px; border-top: 4px solid var(--ochre); background: #ffffff; padding: 27px 26px 29px; box-shadow: 0 16px 38px #2f2b2913; }
.case-intake .kicker { margin-bottom: 3px; color: var(--ochre); }
.case-intake h2 { margin: 0; color: var(--ink); font-size: 35px; line-height: .95; }
.case-intake > p:not(.kicker) { color: var(--muted); font-size: 13px; line-height: 1.65; }
.case-intake label { color: var(--ink); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.case-intake input, .case-intake textarea { border-color: #cfc6b8; border-radius: 0; background: white; font-size: 16px; line-height: 1.5; }
.case-intake textarea { min-height: 112px; }
.case-intake button { width: 100%; justify-content: center; background: var(--forest-dark); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.case-intake button:hover { background: var(--ochre); }
.case-intake small { color: var(--muted); font-size: 11px; text-align: center; }
.case-intake small a { color: var(--forest-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.case-intake .notice { font-size: 12px; }
.legal-detail-page .related-articles { display: block; grid-column: auto; grid-row: auto; align-self: auto; max-width: none; margin: 0; border-top: 1px solid var(--ink); padding-top: 18px; }
.legal-detail-page .related-articles .kicker { margin-bottom: 17px; color: var(--forest); }
.legal-detail-page .related-articles article { grid-template-columns: 100px minmax(0, 1fr); border-color: var(--rule); padding: 17px 0; }
.legal-detail-page .related-thumbnail { height: 75px; border-radius: 0; }
.legal-detail-page .related-articles h2 { font-family: var(--display); font-size: 22px; line-height: 1; }
.legal-detail-page .related-read-more { color: var(--ochre); text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }

/* Victim support */
.victim-page { background: var(--paper); }
.victim-hero { position: relative; min-height: 440px; overflow: hidden; background: var(--night) url('/static/images/victim-hero.jpg') center 52% / cover no-repeat; color: white; }
.victim-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, #2f2b29f5 0%, #2f2b29e2 44%, #2f2b2994 73%, #2f2b2958 100%); content: ""; }
.victim-hero-inner { position: relative; z-index: 1; width: min(1680px, 100%); margin: 0 auto; padding: 82px var(--page-gutter); }
.victim-hero .kicker { color: #c2aa93; }
.victim-hero h1 { max-width: 670px; margin: 0 0 20px; font-size: clamp(52px, 5.6vw, 78px); line-height: .92; }
.victim-hero-inner > p:not(.kicker) { max-width: 560px; margin: 0; color: #f0f1f3; font-size: 17px; line-height: 1.65; }
.victim-hero-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 27px; border: 1px solid #c2aa93; padding: 11px 14px; color: white; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.victim-hero-link:hover { border-color: white; background: white; color: var(--forest-dark); }
.victim-hero-link .ui-icon { width: 16px; height: 16px; }
.victim-advice { width: min(1680px, 100%); margin: 0 auto; padding: 88px var(--page-gutter); }
.victim-advice > header { display: grid; grid-template-columns: minmax(230px, .55fr) minmax(0, 1fr); align-items: end; gap: 30px 90px; padding-bottom: 37px; border-bottom: 1px solid var(--rule); }
.victim-advice header .kicker { grid-column: 1 / -1; margin-bottom: -12px; }
.victim-advice h2, .victim-note h2, .victim-contact h2 { margin: 0; font-size: clamp(41px, 4vw, 58px); line-height: .98; }
.victim-advice > header > p:last-child { max-width: 530px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.victim-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.victim-step-grid article { min-height: 240px; padding: 28px 26px 25px 0; }
.victim-step-grid article + article { border-left: 1px solid var(--rule); padding-left: 26px; }
.victim-step-grid span { color: var(--ochre); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.victim-step-grid h3 { margin: 42px 0 11px; color: var(--ink); font-family: var(--display); font-size: 26px; line-height: 1; }
.victim-step-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.victim-note { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: clamp(35px, 9vw, 160px); align-items: end; padding: 56px max(var(--page-gutter), calc((100vw - 1680px) / 2 + var(--page-gutter))); background: #eee7db; }
.victim-note .kicker { color: var(--ochre); }
.victim-note p:last-child { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.victim-contact { width: min(1680px, 100%); margin: 0 auto; padding: 90px var(--page-gutter) 108px; scroll-margin-top: calc(var(--header-height) + 30px); }
.victim-contact-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr); column-gap: clamp(45px, 10vw, 175px); margin-bottom: 42px; }
.victim-contact-intro > .kicker, .victim-contact-intro > h2, .victim-contact-intro > p:not(.kicker) { grid-column: 1; }
.victim-contact-intro > .kicker { color: var(--ochre); }
.victim-contact-intro > p:not(.kicker) { max-width: 510px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.contact-details { display: grid; gap: 15px; margin: 0; border-top: 1px solid var(--rule); }
.victim-contact-intro .contact-details { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.victim-contact-intro .contact-details > div { grid-template-columns: 1fr; gap: 5px; }
.contact-details > div { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 14px; padding-top: 15px; }
.contact-details dt { color: var(--ochre); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: var(--muted); font-size: 13px; }
.contact-details a { color: var(--forest-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.victim-intake { min-height: 100%; padding: 32px; }
.victim-intake textarea { min-height: 170px; }


/* Review methodology */
.methodology-page { background: var(--paper); }
.methodology-header { max-width: 1100px; padding: 8px 0 48px; }
.methodology-header h1 { max-width: 900px; margin: 0 0 26px; font-size: clamp(46px, 6.4vw, 82px); line-height: 1.05; }
.methodology-header .lead { max-width: 780px; margin-bottom: 28px; font-size: clamp(18px, 2vw, 22px); }
.methodology-principles { display: flex; flex-wrap: wrap; gap: 10px; }
.methodology-principles span { border: 1px solid var(--rule); border-radius: 99px; padding: 7px 12px; color: var(--forest-dark); font-size: 12px; font-weight: 700; }
.methodology-section-nav { position: sticky; top: var(--header-height); z-index: 5; display: flex; gap: 6px; max-width: 1180px; overflow-x: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); background: var(--paper); padding: 12px 0; scrollbar-width: thin; }
.methodology-section-nav a { flex: 0 0 auto; border-radius: 4px; padding: 8px 11px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.methodology-section-nav a:hover, .methodology-section-nav a:focus-visible { background: var(--mint); color: var(--forest-dark); }
.methodology-copy { max-width: 1180px; }
.methodology-section { display: grid; grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); padding: 58px 0 64px; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-height) + 75px); }
.methodology-section-heading h2 { max-width: 360px; margin: 0; font-size: clamp(31px, 3.2vw, 42px); }
.methodology-section-body { min-width: 0; }
.methodology-section-body p { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.methodology-section-body p + p { margin-top: 16px; }
.methodology-section-body strong a { color: var(--forest-dark); text-decoration: underline; text-underline-offset: 3px; }
.methodology-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.methodology-steps > div { border-top: 2px solid var(--forest); padding-top: 14px; }
.methodology-steps span { color: var(--forest); font-size: 12px; font-weight: 750; letter-spacing: .1em; }
.methodology-steps h3 { margin: 15px 0 8px; font-size: 18px; }
.methodology-steps p { margin: 0; font-size: 14px; line-height: 1.6; }

/* Guides and simple content */
.guide-header { max-width: 810px; padding-bottom: 52px; border-bottom: 1px solid var(--ink); }
.guide-header h1 { margin-bottom: 22px; }
.guide-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 74px; padding-top: 48px; }
.guide-nav { position: sticky; top: 25px; align-self: start; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.guide-nav .kicker { margin: 20px 0 14px; }
.guide-nav a { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; font-weight: 700; }
.guide-nav a span { color: var(--ochre); }
.guide-copy { min-width: 0; }
.guide-section { scroll-margin-top: 35px; padding-bottom: 70px; }
.guide-section + .guide-section { padding-top: 55px; border-top: 1px solid var(--ink); }
.guide-section h2 { margin: 0 0 17px; font-size: clamp(36px, 4vw, 48px); }
.section-lead { max-width: 600px; color: var(--muted); font-size: 17px; }
.guide-step { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid var(--rule); }
.guide-step:first-of-type { margin-top: 35px; }
.guide-step > span { color: var(--ochre); font-size: 18px; font-weight: 700; }
.guide-step h3 { margin: 0 0 7px; font-size: 17px; }
.guide-step p { max-width: 630px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.support-section { padding-bottom: 0; }
.content-page { max-width: 1280px; }
.content-page > h1 { margin: 0 0 20px; font-size: clamp(45px, 5vw, 65px); }
.content-page .lead { max-width: 660px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .79fr); min-height: calc(100dvh - var(--header-height)); background: var(--paper); }
.auth-main { padding: 32px clamp(28px, 5.5vw, 100px) 80px; }
.auth-back { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.auth-back:hover { color: var(--forest); }
.auth-back .ui-icon { width: 14px; height: 14px; transform: rotate(225deg); }
.auth-main-inner { max-width: 510px; margin: clamp(48px, 8vh, 110px) auto 0; }
.auth-main h1 { max-width: 520px; margin: 0 0 15px; font: 600 clamp(44px, 5vw, 67px)/1.05 var(--display); letter-spacing: -.055em; }
.auth-intro { max-width: 450px; margin: 0 0 34px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.auth-alert { margin: 0 0 20px; padding: 13px 16px; border-left: 3px solid var(--rose); background: var(--rose-soft); color: #8b1d38; font-size: 13px; font-weight: 600; }
.auth-card { display: grid; padding: 31px; border: 1px solid var(--rule); border-radius: 10px; background: white; box-shadow: 0 18px 50px #0f172a0d; }
.auth-card label { margin: 0 0 7px; color: var(--ink); font-size: 13px; font-weight: 750; }
.auth-card input:not([type="hidden"]) { width: 100%; height: 48px; margin: 0 0 20px; padding: 11px 13px; border: 1px solid #b5c8c1; border-radius: 5px; background: #fff; color: var(--ink); font-size: 14px; }
.auth-card input::placeholder { color: #7b8a85; }
.auth-card input:focus { border-color: var(--forest); }
.auth-card .auth-field-note { margin: -15px 0 19px; color: var(--muted); font-size: 11px; }
.auth-card button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 5px; padding: 10px 17px; border: 0; border-radius: 5px; background: var(--forest); color: white; cursor: pointer; font-size: 14px; font-weight: 750; }
.auth-card button:hover { background: var(--forest-dark); }
.auth-card button .ui-icon { width: 17px; height: 17px; }
.auth-switch { margin: 22px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.auth-switch a { color: var(--forest); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.auth-aside { display: flex; align-items: center; min-height: 670px; padding: 70px clamp(35px, 6vw, 110px); background: radial-gradient(circle at 80% 18%, #746159 0, transparent 36%), linear-gradient(145deg, #47413e, #201e1d 72%); color: var(--on-night); }
.auth-aside-content { max-width: 460px; }
.auth-aside-mark { display: block; width: 80px; height: 80px; margin-bottom: clamp(75px, 15vh, 150px); border: 1px solid #ffffff55; border-radius: 18px; background: #ffffff; padding: 7px; object-fit: contain; }
.auth-aside .kicker { color: #c2aa93; }
.auth-aside h2 { max-width: 440px; margin: 0 0 22px; font: 600 clamp(44px, 4.2vw, 65px)/1.08 var(--display); letter-spacing: -.055em; }
.auth-aside p:not(.kicker) { max-width: 370px; color: #e6e1de; line-height: 1.7; }
.auth-aside-rule { width: 100%; height: 1px; margin: 65px 0 19px; background: #ffffff44; }
.auth-aside-content > span:last-child { color: #c2aa93; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.admin-edit-page { max-width: 1420px; }
.admin-edit-header { max-width: 680px; margin: 28px 0 40px; }
.admin-edit-header h1 { margin: 0 0 12px; font-size: clamp(38px, 5vw, 56px); }
.admin-edit-header > p:last-child { margin: 0; color: var(--muted); }
.admin-edit-top-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: -18px 0 34px; }
.admin-edit-top-actions form { margin: 0; }
.admin-edit-top-actions .button { border: 1px solid var(--forest); cursor: pointer; }
.admin-edit-top-actions .button .ui-icon, .admin-bulk-toolbar .button .ui-icon { width: 16px; height: 16px; }
.button.button-capture { border-color: #7dd3fc; background: var(--sky-soft); color: var(--sky); }
.button.button-capture:hover { border-color: var(--sky); background: #e0f2fe; color: #075985; }
.button.button-danger { border: 1px solid #fecdd3; background: var(--rose-soft); color: var(--rose); cursor: pointer; }
.button.button-danger:hover { border-color: var(--rose); background: #ffe4e6; color: #9f1239; }
.admin-edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; align-items: start; }
.admin-edit-form { display: grid; min-width: 0; gap: 18px; }
.admin-edit-form label, .admin-edit-form textarea, .admin-image-panel { min-width: 0; }
.admin-edit-form label { color: var(--ink); font-size: 13px; font-weight: 700; }
.admin-edit-form input, .admin-edit-form textarea, .admin-edit-form select { display: block; width: 100%; min-height: 45px; margin-top: 7px; border: 1px solid #aab9b0; border-radius: 4px; background: white; padding: 10px 12px; color: var(--ink); font: 400 15px/1.5 var(--sans); }
.admin-edit-form textarea { min-height: 130px; resize: vertical; }
.admin-mdx-editor, .admin-bulk-editor { min-height: 430px !important; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 1.6; tab-size: 2; }
.admin-bulk-editor { min-height: 280px !important; }
.mdx-workbench { display: block; grid-column: 1 / -1; margin-top: 6px; }
.mdx-source-pane { min-width: 0; }
.mdx-source-pane .admin-mdx-editor { min-height: 540px !important; }
.mdx-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 42px; margin-top: 8px; border: 1px solid var(--rule); border-radius: 5px; background: #f8fafc; padding: 5px; }
.mdx-toolbar button { min-height: 30px; border: 1px solid transparent; border-radius: 3px; background: transparent; padding: 4px 8px; color: var(--muted); cursor: pointer; font: 700 12px/1 var(--sans); }
.mdx-toolbar button:hover, .mdx-toolbar button:focus-visible { border-color: #a5b4fc; background: var(--indigo-soft); color: var(--indigo-dark); outline: 0; }
.mdx-toolbar-spacer { flex: 1; }
.mdx-toolbar .mdx-preview-toggle { border-color: #7dd3fc; background: var(--sky-soft); color: var(--sky); }
.mdx-toolbar .mdx-preview-toggle:hover, .mdx-toolbar .mdx-preview-toggle:focus-visible { border-color: var(--sky); background: #e0f2fe; color: #075985; }
.mdx-preview-modal { width: min(920px, calc(100vw - 42px)); max-height: min(780px, calc(100vh - 42px)); border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); padding: 0; color: var(--ink); box-shadow: 0 28px 70px #0f172a66; }
.mdx-preview-modal::backdrop { background: #0f172a9c; }
.mdx-preview-modal-shell { display: flex; max-height: inherit; flex-direction: column; }
.mdx-preview-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--soft-rule); background: #f8fafc; padding: 14px 16px; }
.mdx-preview-header .kicker { margin-bottom: 4px; color: var(--sky); }
.mdx-preview-header p:not(.kicker) { margin: 0; color: var(--muted); font-size: 11px; }
.mdx-preview-header > div:last-child { display: flex; gap: 7px; }
.mdx-preview-header button { min-height: 32px; border: 1px solid #7dd3fc; border-radius: 4px; background: var(--sky-soft); padding: 6px 9px; color: var(--sky); cursor: pointer; font: 700 12px var(--sans); }
.mdx-preview-header button:hover { border-color: var(--sky); background: #e0f2fe; color: #075985; }
.mdx-preview-header .mdx-preview-close { border-color: var(--rule); background: white; color: var(--muted); }
.mdx-preview-header .mdx-preview-close:hover { border-color: #94a3b8; background: #f8fafc; color: var(--ink); }
.mdx-preview { min-height: 0; margin: 0; overflow: auto; padding: 28px; }
.mdx-preview > :first-child { margin-top: 0; }
.admin-json-example { overflow: auto; margin: 12px 0; padding: 12px; border: 1px solid var(--soft-rule); background: white; color: var(--ink); font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre; }
.admin-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-edit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 5px; }
.admin-edit-actions button, .admin-image-panel button { display: inline-flex; align-items: center; gap: 8px; min-height: 45px; border: 0; background: var(--forest); padding: 10px 16px; color: white; cursor: pointer; font-size: 14px; font-weight: 700; }
.admin-edit-actions button:hover, .admin-image-panel button:hover { background: var(--forest-dark); }
.cpanel .button-primary, .cpanel .admin-edit-actions button { background: var(--indigo); }
.cpanel .button-primary:hover, .cpanel .admin-edit-actions button:hover { background: var(--indigo-dark); }
.cpanel .admin-image-panel button { background: var(--sky); }
.cpanel .admin-image-panel button:hover { background: #075985; }
.cpanel .admin-action-delete { background: var(--rose) !important; }
.cpanel .admin-action-delete:hover { background: #9f1239 !important; }
.admin-edit-actions .ui-icon, .admin-image-panel button .ui-icon { width: 16px; height: 16px; }
.admin-image-panel { padding: 16px; border: 1px solid var(--rule); border-radius: 8px; background: #f8fafc; }
.admin-image-panel img { display: block; width: 100%; height: 165px; margin-bottom: 18px; border-radius: 5px; object-fit: cover; }
.admin-image-panel .kicker { margin-bottom: 7px; }
.admin-image-panel p:not(.kicker) { color: var(--muted); font-size: 13px; }
.admin-image-panel form { margin-top: 18px; }
.admin-edit-form label small { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 500; }
.admin-source-note { margin-top: 14px !important; color: var(--muted); font-size: 12px; }
.admin-source-note code { color: var(--ink); }
.admin-list-page { max-width: 1060px; }
.admin-list-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.admin-list-header h1 { margin: 0; font-size: clamp(42px, 5vw, 60px); }
.admin-list-header p:not(.kicker) { max-width: 580px; margin: 12px 0 0; color: var(--muted); }
.admin-bulk-notice { margin: 0 0 20px; border-left: 3px solid var(--indigo); background: var(--indigo-soft); padding: 12px 14px; color: var(--indigo-dark); font-size: 13px; font-weight: 600; }
.admin-list-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-review-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-review-sort select { min-height: 38px; border: 1px solid var(--rule); border-radius: 4px; background: white; padding: 7px 29px 7px 10px; color: var(--ink); font: 600 13px/1.2 var(--sans); text-transform: none; }
.admin-review-search { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; border: 1px solid var(--rule); background: #f8fafc; padding: 10px 14px; }
.admin-review-search label { color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.admin-review-search input { flex: 1 1 260px; min-width: 0; min-height: 38px; border: 1px solid #aab9b0; border-radius: 4px; background: white; padding: 7px 10px; color: var(--ink); font: 400 14px/1.3 var(--sans); }
.admin-review-search .button { min-height: 38px; padding: 7px 13px; font-size: 12px; }
.admin-review-search > a { color: var(--forest-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
.admin-review-search.is-loading { opacity: .72; }
[data-admin-review-results][aria-busy="true"] { opacity: .55; transition: opacity .15s ease; }
.button.button-secondary { border: 1px solid var(--forest); background: transparent; color: var(--forest); }
.button.button-secondary:hover { background: #e7f3eb; }
.admin-list-card { border: 1px solid var(--rule); background: white; }
.admin-bulk-actions { margin: 0; }
.admin-bulk-toolbar { display: flex; align-items: center; gap: 16px; min-height: 58px; margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--rule); background: #f8fafc; }
.admin-bulk-toolbar > label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.admin-bulk-toolbar input, .admin-row-select input { width: 16px; height: 16px; accent-color: var(--indigo); }
.admin-bulk-toolbar > span { color: var(--muted); font-size: 12px; }
.admin-bulk-toolbar > div { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.admin-bulk-toolbar .button { min-height: 36px; gap: 8px; padding: 7px 11px; font-size: 12px; }
.admin-list-row { display: grid; grid-template-columns: 16px 76px minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 20px; border-bottom: 1px solid var(--soft-rule); }
.admin-row-select { padding-top: 4px; }
.admin-list-row:last-child { border-bottom: 0; }
.admin-row-select { display: grid; place-items: center; width: 15px; }
.admin-review-thumbnail { display: block; width: 76px; height: 56px; overflow: hidden; border-radius: 5px; background: var(--soft-rule); }
.admin-review-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.76); transition: transform .2s ease; }
.admin-review-thumbnail:hover img { transform: scale(1.04); }
.admin-list-row .kicker { margin-bottom: 5px; }
.admin-list-row h2 { margin: 0; font-size: 17px; }
.admin-list-row h2 a:hover { color: var(--indigo); }
.admin-list-row p:not(.kicker) { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.admin-list-row .admin-row-meta { margin-top: 7px; color: #75827d; font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.admin-list-row .arrow-link { white-space: nowrap; }
.admin-public-link { display: inline-flex; align-items: center; gap: 6px; color: var(--indigo); font-size: 12px; font-weight: 700; white-space: nowrap; }
.admin-public-link:hover { color: var(--indigo-dark); }
.admin-public-link .ui-icon { width: 15px; height: 15px; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; color: var(--muted); font-size: 12px; font-weight: 600; }
.admin-pagination > div { display: flex; align-items: center; gap: 5px; }
.admin-pagination a { min-width: 32px; padding: 6px 8px; border: 1px solid var(--rule); color: var(--ink); text-align: center; }
.admin-pagination a:hover { border-color: var(--forest); color: var(--forest); }
.admin-pagination a[aria-current="page"] { border-color: var(--indigo); background: var(--indigo); color: white; }
.admin-pagination .pagination-gap { min-width: 18px; color: var(--muted); text-align: center; }
.directory-pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 46px; padding-top: 17px; border-top: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.directory-pagination .pagination-pages { display: flex; align-items: center; gap: 5px; }
.directory-pagination .pagination-pages a, .directory-pagination .pagination-pages .is-current { display: grid; place-items: center; min-width: 32px; height: 32px; border: 1px solid var(--rule); color: var(--forest); }
.directory-pagination .pagination-pages a:hover { border-color: var(--forest); color: var(--ochre); }
.directory-pagination .pagination-pages .is-current { border-color: var(--forest); background: var(--forest); color: white; }
.directory-pagination .pagination-gap { min-width: 18px; color: var(--muted); text-align: center; }
.directory-pagination .pagination-control { color: var(--forest); }
.directory-pagination .pagination-control:hover { color: var(--ochre); }
.directory-pagination .pagination-control.is-disabled { color: #94a3b8; font-weight: 500; }
.admin-retry-form { margin: 0; }
.admin-retry-form button { min-height: 32px; border: 1px solid #fecdd3; border-radius: 4px; background: var(--rose-soft); color: var(--rose); padding: 5px 9px; cursor: pointer; font: 700 12px var(--sans); }
.admin-retry-form button:hover { background: #ffe4e6; }
.admin-log-row { padding: 18px 20px; border-bottom: 1px solid var(--soft-rule); }
.admin-log-row:last-child { border-bottom: 0; }
.admin-log-row .kicker { margin-bottom: 5px; }
.admin-log-row h2 { margin: 0; font-size: 16px; }
.admin-log-row h2 a { color: var(--ink); }
.admin-log-row p:not(.kicker) { margin: 5px 0 0; color: var(--muted); white-space: pre-wrap; }
.admin-log-row { overflow-wrap: anywhere; }
.admin-log-row.log-success { border-left: 3px solid var(--indigo); }
.admin-log-row.log-info { border-left: 3px solid var(--sky); }
.admin-log-row.log-error { border-left: 3px solid var(--rose); background: var(--rose-soft); }
.admin-list-icon { display: grid; place-items: center; width: 15px; color: var(--forest); }
.admin-list-icon .ui-icon { width: 17px; height: 17px; }
.admin-message-row { grid-template-columns: 15px minmax(0, 1fr) auto; align-items: start; }
.admin-message-copy { max-width: 670px; color: var(--ink) !important; white-space: pre-wrap; }
.admin-empty { margin: 0; padding: 28px; color: var(--muted); }
.admin-user-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; border: 1px solid var(--rule); background: white; }
.admin-user-summary > div { display: grid; gap: 6px; padding: 18px 20px; }
.admin-user-summary > div + div { border-left: 1px solid var(--rule); }
.admin-user-summary span { color: var(--muted); font-size: 12px; font-weight: 600; }
.admin-user-summary strong { color: var(--ink); font-size: 25px; line-height: 1; }
.admin-users-table-wrap { width: 100%; overflow-x: auto; }
.admin-users-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.admin-users-table th, .admin-users-table td { padding: 15px 20px; border-bottom: 1px solid var(--soft-rule); font-size: 13px; vertical-align: middle; }
.admin-users-table tbody tr:last-child th, .admin-users-table tbody tr:last-child td { border-bottom: 0; }
.admin-users-table thead th { background: #f8fafc; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.admin-users-table tbody th { font-weight: 400; }
.admin-users-table tbody th strong, .admin-users-table tbody th small { display: block; }
.admin-users-table tbody th strong { font-size: 14px; }
.admin-users-table tbody th small { color: var(--muted); font-size: 11px; }
.admin-users-table tbody td:nth-child(2) { overflow-wrap: anywhere; }
.admin-users-table tbody td:last-child { white-space: nowrap; }
.admin-user-role { display: inline-block; border: 1px solid var(--rule); background: #f8fafc; padding: 3px 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: capitalize; }
.admin-user-role.is-admin { border-color: #c7d2fe; background: var(--indigo-soft); color: var(--indigo-dark); }
.admin-api-page { max-width: 1080px; }
.api-panel { margin: 24px 0; border: 1px solid var(--rule); background: white; padding: 24px; }
.api-panel .section-bar { margin-bottom: 16px; }
.api-panel .section-bar h2 { margin: 0; }
.api-key-form { display: grid; gap: 9px; }
.api-key-form label { font-size: 13px; font-weight: 700; }
.api-key-form label small { display: block; color: var(--muted); font-weight: 400; }
.api-key-form > div { display: flex; gap: 10px; }
.api-key-form input { flex: 1; min-width: 0; min-height: 43px; border: 1px solid var(--rule); padding: 9px 12px; }
.api-key-form button { border: 0; background: var(--indigo); color: white; padding: 9px 18px; cursor: pointer; font-size: 13px; font-weight: 700; }
.api-key-form button:hover { background: var(--indigo-dark); }
.api-reveal { display: grid; gap: 7px; margin: 20px 0; padding: 19px; border: 1px solid #7cbca5; background: #ecf9f2; }
.api-reveal p { margin: 0; color: var(--muted); font-size: 13px; }
.api-reveal code { display: block; overflow-wrap: anywhere; padding: 12px; background: white; border: 1px solid var(--rule); font-size: 13px; }
.api-key-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--soft-rule); }
.api-key-row > div { display: grid; gap: 2px; }
.api-key-row strong { font-size: 14px; }
.api-key-row code { color: var(--indigo); font-size: 12px; }
.api-key-row small, .api-log-row small { color: var(--muted); font-size: 11px; }
.api-key-row form { margin: 0; }
.api-revoke { border: 1px solid #e9a7b5; background: var(--rose-soft); color: #9f1239; padding: 8px 13px; cursor: pointer; font-size: 12px; font-weight: 700; }
.api-revoke:hover { background: #ffe4e6; }
.api-help { max-width: 760px; color: var(--muted); font-size: 13px; }
.api-example { overflow: auto; padding: 18px; background: #152030; color: #e2e8f0; font-size: 12px; line-height: 1.6; }
.api-log-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 13px 0; border-top: 1px solid var(--soft-rule); font-size: 12px; }
.api-log-row > div { display: grid; }
.api-log-row > span { color: var(--indigo); font-weight: 700; }
.api-log-row > p { grid-column: 1 / -1; margin: 3px 0 0; color: var(--muted); }
.content-page .article-section { max-width: 760px; display: block; }
.content-page .article-section h2 { font-size: 28px; }

/* Admin workspace */
.ui-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.cpanel { display: grid; grid-template-columns: 236px minmax(0, 1fr); width: 100%; min-height: calc(100vh - 66px); border-right: 1px solid var(--rule); border-left: 1px solid var(--rule); background: #f1f5f9; }
.cpanel-sidebar, .cpanel-main, .admin-utilities, .cpanel-panel, .utility-grid a { min-width: 0; }
.cpanel-sidebar { display: flex; flex-direction: column; border-right: 1px solid var(--rule); background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); padding: 30px 14px; }
.cpanel-title { display: flex; align-items: center; gap: 10px; margin: 0 9px 30px; color: var(--indigo-dark); font-size: 17px; font-weight: 750; }
.cpanel-title .ui-icon { color: var(--indigo); }
.cpanel-sidebar nav { display: grid; gap: 4px; }
.cpanel-sidebar nav a { display: flex; align-items: center; gap: 12px; border-left: 3px solid transparent; border-radius: 4px; padding: 11px 12px; color: #64748b; font-size: 13px; font-weight: 650; }
.cpanel-sidebar nav a .ui-icon { width: 17px; height: 17px; color: #94a3b8; }
.cpanel-sidebar nav a:hover { background: #e8eefc; color: var(--indigo-dark); }
.cpanel-sidebar nav a.active { border-left-color: var(--indigo); background: var(--indigo-soft); color: var(--indigo-dark); }
.cpanel-sidebar nav a:hover .ui-icon, .cpanel-sidebar nav a.active .ui-icon { color: var(--indigo); }
.cpanel-sidebar nav .nav-media:hover { background: var(--sky-soft); color: var(--sky); }
.cpanel-sidebar nav .nav-media.active { border-left-color: var(--sky); background: var(--sky-soft); color: var(--sky); }
.cpanel-sidebar nav .nav-media:hover .ui-icon, .cpanel-sidebar nav .nav-media.active .ui-icon { color: var(--sky); }
.cpanel-sidebar nav .nav-logs:hover { background: var(--rose-soft); color: var(--rose); }
.cpanel-sidebar nav .nav-logs.active { border-left-color: var(--rose); background: var(--rose-soft); color: var(--rose); }
.cpanel-sidebar nav .nav-logs:hover .ui-icon, .cpanel-sidebar nav .nav-logs.active .ui-icon { color: var(--rose); }
.cpanel-sidebar nav .nav-messages:hover { background: var(--amber-soft); color: var(--amber); }
.cpanel-sidebar nav .nav-messages.active { border-left-color: var(--amber); background: var(--amber-soft); color: var(--amber); }
.cpanel-sidebar nav .nav-messages:hover .ui-icon, .cpanel-sidebar nav .nav-messages.active .ui-icon { color: var(--amber); }
.cpanel-view-site { display: inline-flex; align-items: center; gap: 7px; margin: auto 10px 2px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--indigo); font-size: 12px; font-weight: 700; }
.cpanel-view-site .ui-icon { width: 15px; height: 15px; }
.cpanel-main { min-width: 0; padding: 38px; }
.admin-capture-progress { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(110px, 260px) auto auto; align-items: center; gap: 14px; margin-bottom: 24px; padding: 13px 16px; border: 1px solid #b9d8ea; background: var(--sky-soft); }
.admin-capture-progress[hidden] { display: none; }
.admin-capture-progress .kicker { margin-bottom: 2px; }
.admin-capture-progress strong { font-size: 13px; }
.admin-capture-progress a { color: var(--sky); font-size: 12px; font-weight: 700; white-space: nowrap; }
.admin-progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #bae6fd; }
.admin-progress-track span { display: block; width: 0; height: 100%; background: var(--sky); transition: width .25s ease; }
.admin-capture-progress.is-queued { border-color: #fcd34d; background: #fffbeb; }
.admin-capture-progress.is-queued .kicker, .admin-capture-progress.is-queued a { color: var(--amber); }
.admin-capture-progress.is-queued .admin-progress-track { background: #fde68a; }
.admin-capture-progress.is-queued .admin-progress-track span { background: var(--amber); }
.cpanel-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.cpanel-header h1 { margin: 0; font-size: 42px; }
.status-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; border: 1px solid var(--rule); background: white; }
.status-strip div { display: grid; grid-template-columns: 11px 1fr; gap: 3px 9px; align-items: center; padding: 16px; }
.status-strip div + div { border-left: 1px solid var(--rule); }
.status-strip b { font-size: 13px; }
.status-strip small { grid-column: 2; color: var(--muted); font-size: 11px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.good { background: var(--indigo); }
.status-dot.warn { background: var(--sky); }
.status-dot.neutral { background: var(--amber); }
.status-online { background: #f5f3ff; }
.status-queue { background: #f0f9ff; }
.status-messages { background: #fffbeb; }
.admin-utilities, .cpanel-panel { border: 1px solid var(--rule); background: white; padding: 20px; }
.section-bar { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--rule); }
.section-bar h2 { margin: 0; font: 700 17px var(--sans); letter-spacing: -.02em; }
.section-bar span, .section-bar a { color: var(--muted); font-size: 12px; }
.utility-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.utility-grid a { display: grid; gap: 4px; min-height: 124px; padding: 18px; border-right: 1px solid var(--soft-rule); border-bottom: 1px solid var(--soft-rule); color: var(--ink); }
.utility-grid a:nth-child(3n) { border-right: 0; }
.utility-grid a:nth-last-child(-n+3) { border-bottom: 0; }
.utility-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.utility-grid-four a:nth-child(3n) { border-right: 1px solid var(--soft-rule); }
.utility-grid-four a:nth-last-child(-n+3) { border-bottom: 1px solid var(--soft-rule); }
.utility-grid-four a:nth-child(4n) { border-right: 0; }
.utility-grid-four a:nth-last-child(-n+4) { border-bottom: 0; }
.utility-grid a:hover { background: #f8fafc; }
.utility-grid .ui-icon { margin-bottom: 5px; color: var(--indigo); }
.utility-grid .utility-indigo { box-shadow: inset 0 3px 0 var(--indigo); }
.utility-grid .utility-indigo .ui-icon { color: var(--indigo); }
.utility-grid .utility-violet { box-shadow: inset 0 3px 0 #7c3aed; }
.utility-grid .utility-violet .ui-icon { color: #7c3aed; }
.utility-grid .utility-sky { box-shadow: inset 0 3px 0 var(--sky); }
.utility-grid .utility-sky .ui-icon { color: var(--sky); }
.utility-grid .utility-amber { box-shadow: inset 0 3px 0 var(--amber); }
.utility-grid .utility-amber .ui-icon { color: var(--amber); }
.utility-grid span { font-size: 13px; font-weight: 700; }
.utility-grid small { color: var(--muted); font-size: 11px; }
.cpanel-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr); gap: 20px; margin-top: 20px; }
.admin-review-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--soft-rule); }
.admin-review-row:last-child { border-bottom: 0; }
.admin-review-row b { display: block; font-size: 13px; }
.admin-review-row small, .admin-review-row > span:not(.status) { color: var(--muted); font-size: 11px; }
.admin-review-row > a, .cpanel-panel .section-bar a { color: var(--indigo); font-size: 12px; font-weight: 700; }
.activity p { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--soft-rule); }
.activity p:last-child { border-bottom: 0; }
.activity .ui-icon { color: var(--forest); }
.activity b, .activity small { display: block; }
.activity b { font-size: 12px; }
.activity small, .activity em { color: var(--muted); font-size: 11px; font-style: normal; }
.lower-utilities { margin-top: 20px; }
.utility-grid.small a { min-height: 100px; }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; width: 100%; padding: 28px var(--page-gutter); border-top: 1px solid var(--rule); background: var(--paper); color: var(--muted); font-size: 12px; }
footer span:first-child { color: var(--ink); font-size: 15px; font-weight: 750; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 750; }
.footer-brand img { display: block; width: 27px; height: 27px; }
.footer-brand span { color: var(--ink); }
footer a { margin-left: auto; color: var(--forest); font-weight: 700; }

@media (max-width: 1050px) {
  :root { --page-gutter: 38px; }
  .site-header { padding: 0 var(--page-gutter); gap: 22px; }
  .page { padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
  .landing-main { padding-right: 0; padding-left: 0; }
  .landing-hero { min-height: 530px; }
  .landing-hero .intro { padding-right: 25px; padding-left: var(--page-gutter); }
  .landing-hero h1 { font-size: clamp(50px, 6vw, 67px); }
  .hero-visual, .hero-visual img { min-height: 530px; }
  .method-feature { grid-template-columns: 100px 1fr 1fr; gap: 25px; }
  .method-mark { width: 95px; height: 95px; font-size: 37px; }
  .review-detail-grid { column-gap: 42px; }
  .guide-layout { gap: 45px; }
  footer { padding-right: var(--page-gutter); padding-left: var(--page-gutter); }
}
@media (max-width: 900px) {
  .methodology-section { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .methodology-section-heading h2 { max-width: none; }
}
@media (max-width: 980px) {
  .cpanel { grid-template-columns: minmax(0, 1fr); grid-template-rows: max-content minmax(0, 1fr); }
  .cpanel-sidebar { border-right: 0; border-bottom: 1px solid var(--rule); padding: 18px var(--page-gutter); }
  .cpanel-title { margin: 0 0 12px; }
  .cpanel-sidebar nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .cpanel-sidebar nav a { min-width: 0; padding: 10px 8px; font-size: 12px; }
  .cpanel-view-site { display: none; }
  .cpanel-main { padding: 24px var(--page-gutter); }
  .cpanel-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --page-gutter: 22px; }
  :root { --header-height: 62px; }
  .site-header { padding: 0 var(--page-gutter); }
  .desktop-nav, .desktop-auth { display: none; }
  .menu-toggle { position: relative; display: flex; align-items: center; gap: 8px; width: 80px; min-height: 44px; margin-left: auto; border: 0; background: none; color: #d9e2ea; cursor: pointer; font-size: 13px; font-weight: 700; }
  .menu-toggle span { position: absolute; left: 0; width: 18px; height: 2px; background: #9fe0c4; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle span:nth-child(1) { transform: translateY(-6px); }
  .menu-toggle span:nth-child(3) { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
  .menu-toggle i { margin-left: 27px; font-style: normal; }
  .mobile-drawer { position: absolute; top: 62px; right: 0; left: 0; display: block; max-height: 0; overflow: hidden; background: #1f2937; box-shadow: 0 20px 25px #0f172a55; transition: max-height .25s ease; }
  .mobile-drawer.is-open { max-height: min(75dvh, 650px); overflow-y: auto; }
  .mobile-drawer nav { display: grid; padding: 12px 20px 22px; }
  .mobile-drawer a, .mobile-drawer button { display: block; width: 100%; padding: 11px 0; border: 0; background: none; color: #d9e2ea; text-align: left; font-size: 16px; font-weight: 600; }
  .mobile-drawer a:hover, .mobile-drawer button:hover { color: #9fe0c4; }
  .mobile-drawer form { margin: 0; }
  .mobile-nav-dropdown summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; color: #d9e2ea; cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; }
  .mobile-nav-dropdown > div { border-left: 1px solid #5b677a; margin: 2px 0 8px 7px; padding-left: 16px; }
  .mobile-nav-dropdown > div a { padding: 8px 0; font-size: 14px; }
  .page { min-height: calc(100vh - var(--header-height)); padding: 42px var(--page-gutter) 70px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-main { padding: 27px var(--page-gutter) 70px; }
  .auth-main-inner { margin-top: 52px; }
  .auth-aside { min-height: 360px; padding: 55px var(--page-gutter); }
  .auth-aside-mark { margin-bottom: 35px; }
  .auth-aside h2 { font-size: 43px; }
  .auth-aside-rule { margin-top: 30px; }
  .landing-main { padding: 0 0 70px; }
  .methodology-header { padding-bottom: 30px; }
  .methodology-header h1 { font-size: clamp(40px, 9vw, 62px); }
  .methodology-section { padding: 40px 0 46px; }
  .methodology-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .landing-hero { grid-template-columns: 1fr; min-height: 0; }
  .landing-hero .intro { padding: 56px var(--page-gutter) 38px; }
  .landing-hero h1 { font-size: clamp(52px, 10vw, 72px); }
  .hero-footnote { margin-top: 34px; }
  .hero-visual, .hero-visual img { min-height: 340px; max-height: 440px; }
  .hero-visual-caption { right: 22px; bottom: 22px; left: 22px; }
  .principles-band { grid-template-columns: 1fr; }
  .principles-band > div, .principles-band > div + div { display: grid; grid-template-columns: 65px 1fr; gap: 2px 12px; padding: 18px var(--page-gutter); border-left: 0; }
  .principles-band > div + div { border-top: 1px solid var(--rule); }
  .principles-band .principle-number { grid-row: 1 / 3; }
  .principles-band p { max-width: none; }
  .home-reviews, .landing-guides { padding: 65px var(--page-gutter) 0; }
  .review-row { grid-template-columns: 42px 1fr; gap: 12px; padding: 23px 0; }
  .method-feature { grid-template-columns: 90px 1fr; gap: 15px; margin-top: 65px; padding: 36px var(--page-gutter); }
  .method-mark { width: 75px; height: 75px; font-size: 30px; }
  .method-copy { grid-column: 1 / -1; }
  .guide-teasers { grid-template-columns: 1fr; gap: 30px; }
  .guide-teasers article { display: grid; grid-template-columns: 35% 1fr; align-content: start; column-gap: 18px; }
  .guide-image { grid-row: 1 / 4; height: 170px; margin: 0; aspect-ratio: auto; }
  .guide-teasers h3 { min-height: 0; font-size: 23px; }
  .support-callout { align-items: start; flex-direction: column; margin-top: 68px; padding: 30px var(--page-gutter); }
  .directory-intro > div, .guide-layout { grid-template-columns: 1fr; }
  .directory-intro > div { gap: 20px; }
  .directory-intro h1, .detail-hero h1, .guide-header h1 { font-size: clamp(38px, 8vw, 60px); overflow-wrap: anywhere; }
  .detail-hero .lead { font-size: 16px; line-height: 1.55; }
  .article-hero-image { height: clamp(230px, 58vw, 340px); }
  .review-detail-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .review-layout { grid-column: 1; padding-top: 0; }
  .related-articles { grid-column: 1; grid-row: auto; max-width: 440px; margin-top: 0; }
  .guide-layout { gap: 35px; }
  .guide-nav { position: static; grid-row: 1; }
  .directory-note { align-items: start; flex-wrap: wrap; }
  .directory-note a { margin-left: 52px; }
  .directory-page .review-row { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; }
  .directory-page .review-thumbnail { height: 82px; }
  .admin-edit-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mdx-source-pane .admin-mdx-editor { min-height: 360px !important; }
  .admin-image-panel { max-width: 430px; }
  .admin-list-header { align-items: start; flex-direction: column; }
  .admin-review-search { align-items: stretch; flex-wrap: wrap; }
  .admin-review-search label { flex-basis: 100%; }
  .admin-review-search .button { flex: 1; justify-content: center; }
  .admin-bulk-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .admin-bulk-toolbar > div { width: 100%; margin-left: 0; }
  .admin-list-row { grid-template-columns: 20px 72px minmax(0, 1fr); gap: 8px 13px; }
  .admin-list-row > div { min-width: 0; grid-column: 3; }
  .admin-list-row .admin-row-select { grid-column: 1; grid-row: 1 / span 2; }
  .admin-list-row .admin-review-thumbnail { grid-column: 2; grid-row: 1; width: 72px; height: 54px; }
  .admin-list-row .admin-public-link { grid-column: 2 / -1; grid-row: 2; justify-self: start; }
  .admin-edit-top-actions { margin-top: -24px; }
  .utility-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-grid-four a:nth-child(3n), .utility-grid-four a:nth-child(4n) { border-right: 1px solid var(--soft-rule); }
  .utility-grid-four a:nth-child(2n) { border-right: 0; }
  .utility-grid-four a:nth-last-child(-n+3) { border-bottom: 1px solid var(--soft-rule); }
  .utility-grid-four a:nth-last-child(-n+2) { border-bottom: 0; }
  .cpanel { grid-template-columns: minmax(0, 1fr); }
  .cpanel-sidebar { padding: 15px var(--page-gutter) 12px; }
  .cpanel-title { margin: 0 0 12px; }
  .cpanel-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .cpanel-sidebar nav a { gap: 8px; white-space: normal; }
  .cpanel-view-site { display: none; }
  .cpanel-main { padding: 22px var(--page-gutter); }
  .cpanel-header h1 { font-size: clamp(32px, 7vw, 42px); }
  .admin-list-header h1 { font-size: clamp(36px, 8vw, 52px); }
  .status-strip { grid-template-columns: 1fr; }
  .status-strip div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .admin-capture-progress { grid-template-columns: 1fr auto; }
  .admin-progress-track { grid-column: 1 / -1; }
  .cpanel-columns { grid-template-columns: 1fr; }
  footer { padding: 28px var(--page-gutter); }
}
@media (max-width: 600px) {
  .wordmark { font-size: clamp(17px, 5vw, 23px); }
  .methodology-header .lead { font-size: 17px; }
  .methodology-section-nav { margin-right: calc(-1 * var(--page-gutter)); padding-right: var(--page-gutter); }
  .api-key-form > div { flex-direction: column; }
  .api-key-row, .api-log-row { align-items: flex-start; flex-direction: column; }
  .api-log-row { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 19px; }
  .auth-main h1 { font-size: 45px; }
  .landing-hero h1 { font-size: 51px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading > a { margin: 0; }
  .hero-visual, .hero-visual img { min-height: 280px; max-height: 350px; }
  .hero-visual-caption strong { font-size: 25px; }
  .hero-visual-caption span { max-width: 100px; }
  .guide-teasers article { grid-template-columns: 1fr; }
  .guide-image { grid-row: auto; height: 210px; margin-bottom: 18px; }
  .guide-teasers h3 { margin-bottom: 12px; }
  .editorial-note { grid-template-columns: 1fr; gap: 7px; }
  .article-section { grid-template-columns: 1fr; gap: 5px; }
  .directory-toolbar span:last-child { display: none; }
  .status-strip { grid-template-columns: 1fr; }
  .status-strip div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .utility-grid, .utility-grid-four { grid-template-columns: minmax(0, 1fr); }
  .utility-grid a, .utility-grid-four a:nth-child(n) { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--soft-rule); }
  .utility-grid a:last-child, .utility-grid-four a:last-child { border-bottom: 0; }
  .cpanel-sidebar nav a { font-size: 11px; }
  .cpanel-sidebar nav .ui-icon { width: 16px; height: 16px; }
  .admin-utilities, .cpanel-panel, .api-panel { padding: 16px; }
  .admin-edit-header h1 { font-size: 38px; }
  .review-admin-actions > a, .review-admin-actions > form { flex: 1 1 125px; }
  .review-admin-actions button, .review-admin-actions a { width: 100%; justify-content: center; }
  .admin-review-row { grid-template-columns: 1fr auto; }
  .admin-pagination { align-items: start; flex-direction: column; gap: 11px; }
  .admin-user-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-user-summary > div:nth-child(3) { border-left: 0; }
  .admin-user-summary > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .directory-pagination { margin-top: 34px; }
  footer a { width: 100%; margin-left: 0; }
  .admin-edit-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Editorial legal landing and directory refresh */
.legal-landing-hero { width:min(1600px,calc(100% - 2 * var(--page-gutter))); min-height:650px; margin:44px auto 0; gap:12px; border:0; background:none; }
.legal-landing-hero .intro { display:flex; flex-direction:column; justify-content:center; padding:58px; background:var(--night-deep); color:white; }
.legal-landing-hero .intro .kicker { color:#c2aa93; }.legal-landing-hero h1 { color:white; font:600 clamp(52px,5.4vw,80px)/.96 var(--sans); letter-spacing:-.06em; }.legal-landing-hero .intro>p:not(.kicker) { color:#e7e2df; font-size:16px; }.legal-landing-hero .hero-visual,.legal-landing-hero .hero-visual img { min-height:650px; }.legal-landing-hero .hero-visual::after { background:linear-gradient(180deg,transparent,#2f2b2955); }.legal-landing-hero .hero-visual img { object-position:center; filter:saturate(.72); }.legal-landing-hero .button-light { color:var(--night-deep); }.hero-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:auto; padding-top:48px; color:#ddd8d5; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }.hero-metrics b { display:block; margin-bottom:6px; color:white; font-size:22px; letter-spacing:-.04em; text-transform:none; }
.cases-section { padding:95px var(--page-gutter) 0; }.cases-heading { display:flex; align-items:end; justify-content:space-between; gap:45px; max-width:1600px; margin:auto; padding-bottom:25px; border-bottom:1px solid var(--rule); }.cases-heading h2 { margin:0; font-size:clamp(38px,4vw,57px); }.cases-heading>p { max-width:420px; margin:0; color:var(--muted); font-size:14px; }.case-grid { display:grid; grid-template-columns:repeat(3,1fr); max-width:1600px; margin:auto; }.case-grid article { min-height:270px; padding:28px 30px 25px 0; }.case-grid article+article { border-left:1px solid var(--rule); padding-left:30px; }.case-grid span,.directory-method span { color:var(--ochre); font-size:11px; font-weight:800; letter-spacing:.12em; }.case-grid h3 { margin:68px 0 10px; font:600 29px/1 var(--display); }.case-grid p { max-width:320px; margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.directory-page { padding:0 0 100px; }.directory-hero { position:relative; min-height:410px; background:linear-gradient(90deg,#201e1dfb 0%,#2f2b29ee 49%,#47413eb8 100%),url('/static/images/directory-hero.jpg') center/cover; color:white; }.directory-hero>div { width:min(1680px,100%); margin:auto; padding:82px var(--page-gutter); }.directory-hero .kicker { color:#c2aa93; }.directory-hero h1 { margin:0 0 14px; color:white; font-size:clamp(48px,5vw,72px); line-height:.9; }.directory-hero p:not(.kicker) { max-width:540px; color:#e7e2df; font-size:15px; line-height:1.65; }.directory-method { max-width:1680px; margin:0 auto; padding:62px var(--page-gutter) 35px; }.directory-method>div { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }.directory-method article { padding:22px 27px 25px 0; }.directory-method article+article { border-left:1px solid var(--rule); padding-left:27px; }.directory-method h2 { margin:34px 0 8px; font-size:29px; }.directory-method p { max-width:310px; margin:0; color:var(--muted); font-size:13px; }.legal-directory-page .directory-toolbar,.legal-directory-page .review-list,.legal-directory-page .directory-note,.legal-directory-page .directory-pagination { width:min(1680px,100%); margin-left:auto; margin-right:auto; padding-left:var(--page-gutter); padding-right:var(--page-gutter); }
.intake-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }

/* Flush landing panels and bounded concern tiles */
.legal-landing-hero { width:100%; min-height:680px; margin:0; gap:0; }
.legal-landing-hero .intro { min-height:680px; padding-right:max(var(--page-gutter), calc((100vw - 1600px) / 2)); padding-left:max(var(--page-gutter), calc((100vw - 1600px) / 2)); }
.legal-landing-hero .hero-visual, .legal-landing-hero .hero-visual img { min-height:680px; }
.cases-section { padding-top:88px; }
.case-grid { border-bottom:1px solid var(--rule); }
.case-grid article { min-height:255px; padding:29px 30px 30px; border-left:1px solid var(--rule); }
.case-grid article + article { padding-left:30px; }
.case-grid article:last-child { border-right:1px solid var(--rule); }
.case-grid h3 { margin-top:52px; }
.legal-landing-hero .intro { background:linear-gradient(105deg,#201e1def 0%,#2f2b29eb 65%,#47413ed9 100%),url('/static/images/landing-dark-panel.jpg') center/cover; }

@media (max-width: 900px) {
  .review-content-shell { grid-template-columns: minmax(0, 1fr); max-width: 820px; gap: 56px; }
  .review-sidebar { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 32px; }
  .victim-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .victim-step-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .victim-step-grid article:nth-child(4) { border-top: 1px solid var(--rule); }
  .victim-contact-intro { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .victim-contact-intro .contact-details { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  :root { --header-height: 113px; }
  .legal-detail-page { padding: 0; }
  .site-header { padding: 0; }
  .utility-bar { min-height: 36px; padding: 0 var(--page-gutter); font-size: 8px; }
  .utility-links { display: none; }
  .primary-bar { min-height: 77px; padding: 0 var(--page-gutter); }
  .wordmark { gap: 9px; }
  .wordmark img { width: 39px; height: 39px; }
  .wordmark-name { font-size: 27px; }
  .wordmark small { font-size: 7px; }
  .menu-toggle { position: absolute; top: 52px; right: var(--page-gutter); width: 60px; color: var(--ink); }
  .menu-toggle span { background: var(--forest); }
  .menu-toggle i { display: none; }
  .mobile-drawer { position: absolute; top: var(--header-height); background: var(--night); }
  .mobile-drawer a, .mobile-drawer button { color: var(--on-night); }
  .mobile-drawer a:hover, .mobile-drawer button:hover { color: #c2aa93; }
  .mobile-nav-dropdown summary { color: var(--on-night); }
  .case-hero { min-height: 455px; background-position: 56% center; }
  .case-hero::before { background: linear-gradient(90deg, #08111ff5 0%, #0b1426e7 65%, #0d172abb 100%); }
  .case-hero-inner { padding-top: 36px; padding-bottom: 38px; }
  .case-hero .crumb { margin-bottom: 33px; font-size: 9px; }
  .case-hero .detail-hero h1 { font-size: clamp(45px, 14vw, 62px); }
  .case-hero .lead { font-size: 14px; line-height: 1.55; }
  .case-hero .review-dateline { margin-top: 16px; }
  .review-content-shell { padding-top: 49px; padding-bottom: 68px; }
  .record-thumbnail { height: clamp(225px, 64vw, 330px); margin-bottom: 40px; }
  .legal-detail-page .article-body h2 { margin-top: 40px; padding-top: 32px; font-size: 33px; }
  .legal-detail-page .article-body p, .legal-detail-page .article-body li { font-size: 15px; line-height: 1.75; }
  .review-sidebar { grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .case-intake { padding: 25px 20px; }
  .victim-hero { min-height: 400px; background-position: 60% center; }
  .victim-hero-inner { padding-top: 58px; padding-bottom: 56px; }
  .victim-hero h1 { font-size: clamp(47px, 14vw, 62px); }
  .victim-hero-inner > p:not(.kicker) { font-size: 15px; }
  .victim-advice { padding-top: 60px; padding-bottom: 60px; }
  .victim-advice > header { grid-template-columns: 1fr; gap: 17px; padding-bottom: 26px; }
  .victim-advice header .kicker { margin-bottom: 0; }
  .victim-step-grid { grid-template-columns: 1fr; }
  .victim-step-grid article, .victim-step-grid article + article, .victim-step-grid article:nth-child(3), .victim-step-grid article:nth-child(4) { min-height: 0; border-top: 1px solid var(--rule); border-left: 0; padding: 23px 0; }
  .victim-step-grid article:first-child { border-top: 0; }
  .victim-step-grid h3 { margin-top: 20px; }
  .victim-note { grid-template-columns: 1fr; gap: 22px; padding-top: 42px; padding-bottom: 43px; }
  .victim-contact { padding-top: 62px; padding-bottom: 70px; }
  .victim-contact-intro { display: block; margin-bottom: 32px; }
  .victim-contact-intro .contact-details { margin-top: 28px; }
  .victim-intake { padding: 25px 20px; }
}

@media (max-width: 900px) {
  .directory-method { padding-top: 48px; }
  .directory-method > div { grid-template-columns: minmax(0, 1fr); }
  .directory-method article { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 20px; padding: 22px 0; }
  .directory-method article + article { border-top: 1px solid var(--rule); border-left: 0; padding-left: 0; }
  .directory-method article span { grid-row: 1 / span 2; padding-top: 4px; }
  .directory-method h2 { margin: 0 0 6px; font-size: clamp(27px, 4vw, 32px); }
  .directory-method p { grid-column: 2; max-width: 580px; font-size: 14px; line-height: 1.6; }
  .directory-note { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 0 18px; }
  .directory-note .note-symbol { grid-column: 1; grid-row: 1 / span 2; }
  .directory-note p, .directory-note a { grid-column: 2; }
  .directory-note a { justify-self: start; margin: 14px 0 0; }
}
