:root {
  --canvas: #eef3f1;
  --paper: #fbfcfb;
  --ink: #0f172a;
  --muted: #475569;
  --forest: #08735f;
  --forest-dark: #064c40;
  --mint: #d9f1e8;
  --ochre: #b9783c;
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --indigo-soft: #eef2ff;
  --sky: #0369a1;
  --sky-soft: #e0f2fe;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --rose: #be123c;
  --rose-soft: #fff1f2;
  --rule: #c9d8d3;
  --soft-rule: #e5edeb;
  --page-gutter: 64px;
  --header-height: 66px;
  --sans: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: "Space Grotesk", Roboto, sans-serif;
  --brand-font: Sora, "Space Grotesk", sans-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(--sans); font-weight: 650; 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; display: flex; align-items: center; gap: 30px; width: 100%; height: var(--header-height); padding: 0 var(--page-gutter); background: #222b3b; border-bottom: 1px solid #3a465a; box-shadow: 0 5px 18px #0f172a1c; color: #f8fafc; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: #f8fafc; white-space: nowrap; font: 700 23px/1 var(--brand-font); letter-spacing: -.065em; }
.wordmark:hover { color: #a1e6d0; }
.wordmark img { display: block; width: 27px; height: 27px; }
.wordmark-name { font: inherit; }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.desktop-nav a, .auth-links { font-size: 14px; font-weight: 600; }
.desktop-nav a { padding: 12px 0; color: #dbe2ec; }
.desktop-nav a:hover { color: white; }
.desktop-nav .admin-nav-link { border: 1px solid #5b677a; border-radius: 6px; padding: 7px 11px; color: #dbe2ec; }
.desktop-nav .admin-nav-link:hover { border-color: #8290a6; background: #354157; color: white; }
.auth-links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.auth-links form { margin: 0; }
.auth-links, .auth-links a { color: #dbe2ec; }
.auth-links a:hover, .auth-links button:hover { color: white; }
.auth-links button { border: 0; background: none; color: #dbe2ec; padding: 0; cursor: pointer; font-weight: 600; }
.register-link { display: inline-flex; align-items: center; min-height: 38px; border: 1px solid #5b677a; padding: 5px 14px; color: #dbe2ec !important; }
.register-link:hover { background: #354157; border-color: #8290a6; color: white !important; }
.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, #fbfcfb 0%, #f4f8f6 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: #94a3b8; }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, #0f172ab8 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: center; }
.review-thumbnail { display: block; height: 108px; overflow: hidden; background: #e2e8f0; 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 h2 .ui-icon, .review-copy h3 .ui-icon { width: 17px; height: 17px; color: var(--forest); vertical-align: -1px; }
.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; color: var(--forest); font-size: 30px; font-weight: 700; letter-spacing: -.18em; padding-right: 6px; }
.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: #e2e8f0; }
.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: #0f172a; color: white; }
.support-callout .kicker { color: #86efac; }
.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) 178px; align-items: center; }
.directory-note { display: flex; align-items: center; gap: 18px; margin-top: 52px; padding: 25px; background: #e2e8f0; }
.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: #e2e8f0; box-shadow: 0 18px 38px #0f172a1a; }
.article-hero-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #0f172a80 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: #e2e8f0; }
.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; }
.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); }
.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); }

/* 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%, #246e60 0, transparent 36%), linear-gradient(145deg, #123e38, #0b2728 72%); color: #f3f8f4; }
.auth-aside-content { max-width: 460px; }
.auth-aside-mark { display: inline-block; margin-bottom: clamp(75px, 15vh, 150px); color: #dbefe7; font: 700 55px/1 var(--brand-font); letter-spacing: -.1em; }
.auth-aside-mark span { color: #d5aa75; }
.auth-aside .kicker { color: #b8dec9; }
.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: #c4ddd4; line-height: 1.7; }
.auth-aside-rule { width: 100%; height: 1px; margin: 65px 0 19px; background: #ffffff44; }
.auth-aside-content > span:last-child { color: #b8dec9; 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; }
.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 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-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-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: 21px; height: 21px; }
.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: 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: 420px; }
  .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; }
  .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; }
  .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-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 15px minmax(0, 1fr); gap: 13px; }
  .admin-list-row .admin-public-link { grid-column: 3; }
  .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) {
  .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; }
  .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; }
}
