/* ==========================================================================
   Science Catalogs — UI refresh (Oct 2026)
   Publisher-grade shell and reading experience, inspired by the clarity of
   ScienceDirect and IEEE Xplore. Loaded AFTER home.css; every new component
   is namespaced .scx-* so legacy pages keep working.
   Plain CSS (flexbox/grid), no frameworks.
   ========================================================================== */

:root {
    --sc-navy: #013a56;
    --sc-navy-900: #01273a;
    --sc-navy-700: #0b4a69;
    --sc-navy-50: #eef4f7;
    --sc-orange: #eb6500;
    --sc-orange-600: #b04b00;   /* text-safe orange: 5.3:1 on white */
    --sc-orange-btn: #b84f00;   /* button fill: 5:1 with white text */
    --sc-orange-btn-h: #9a4200;
    --sc-orange-50: #fff4eb;

    --sc-ink: #14212b;
    --sc-ink-2: #34434f;
    --sc-muted: #5f6d79;
    --sc-line: #dde3e8;
    --sc-line-2: #edf0f3;
    --sc-bg: #ffffff;
    --sc-bg-soft: #f5f7f9;
    --sc-link: #0a5c86;
    --sc-success: #1d7a4c;
    --sc-success-50: #e9f6ef;

    --sc-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --sc-serif: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;  /* site uses Montserrat throughout */

    --sc-radius: 8px;
    --sc-radius-lg: 12px;
    --sc-shadow-sm: 0 1px 2px rgba(20, 33, 43, .06);
    --sc-shadow: 0 8px 28px rgba(20, 33, 43, .10);
    --sc-header-h: 64px;
    --sc-wrap: 1320px;
    --sc-gutter: 24px;

    /* keep legacy tokens in step with the new palette */
    --primary: var(--sc-navy);
    --primary-dark: var(--sc-navy-900);
    --secondary: var(--sc-orange);
    --accent: var(--sc-orange);
    --bg2: var(--sc-navy-50);
    --color-border: var(--sc-line);
    --color-text: var(--sc-ink);
    --color-text-muted: var(--sc-muted);
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--sc-header-h) + 16px); }
html, body.scx {
    font-family: var(--sc-font);
    color: var(--sc-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.scx { background: var(--sc-bg); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
body.scx button, body.scx input, body.scx select, body.scx textarea { font-family: inherit; }
.scx :focus-visible { outline: 2px solid var(--sc-orange); outline-offset: 2px; }

.scx-wrap { width: 100%; max-width: var(--sc-wrap); margin: 0 auto; padding: 0 var(--sc-gutter); }
.scx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scx-skip { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--sc-navy); color: #fff; padding: 10px 14px; border-radius: var(--sc-radius); }
.scx-skip:focus { top: 12px; }

/* ---------- Buttons, chips, badges ---------- */
.scx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 18px; border-radius: var(--sc-radius);
    font: 600 14px/1 var(--sc-font); letter-spacing: .01em;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.scx-btn i { font-size: 14px; }
.scx-btn--primary { background: var(--sc-orange-btn); color: #fff; }
.scx-btn--primary:hover { background: var(--sc-orange-btn-h); color: #fff; }
.scx-btn--navy { background: var(--sc-navy); color: #fff; }
.scx-btn--navy:hover { background: var(--sc-navy-900); color: #fff; }
.scx-btn--ghost { background: #fff; color: var(--sc-navy); border-color: var(--sc-line); }
.scx-btn--ghost:hover { border-color: var(--sc-navy); background: var(--sc-navy-50); }
.scx-btn--text { background: none; color: var(--sc-link); padding: 0 8px; }
.scx-btn--text:hover { background: var(--sc-navy-50); }
.scx-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.scx-btn--block { width: 100%; }
.scx-btn[disabled], .scx-btn.is-disabled { opacity: .5; pointer-events: none; }

.scx-iconbtn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--sc-radius);
    background: transparent; border: 1px solid transparent; color: var(--sc-navy);
    font-size: 18px; cursor: pointer;
}
.scx-iconbtn:hover { background: var(--sc-navy-50); }

.scx-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
    background: var(--sc-bg-soft); color: var(--sc-ink-2); border: 1px solid var(--sc-line);
}
a.scx-chip:hover { border-color: var(--sc-navy); color: var(--sc-navy); }
.scx-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
    color: var(--sc-muted);
}
.scx-badge--oa { color: var(--sc-orange-600); }
.scx-badge--oa i { font-size: 12px; }
.scx-badge--type { color: var(--sc-navy); }
.scx-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; display: inline-block; }

.scx-card { background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); }
.scx-card__pad { padding: 20px; }
.scx-card h2, .scx-card h3 { margin: 0 0 12px; }
.scx-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); margin: 0 0 8px; }

/* ==========================================================================
   Utility bar
   ========================================================================== */
.scx-utility { background: var(--sc-navy-900); color: #c9d6de; font-size: 12.5px; }
.scx-utility__inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.scx-utility ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; }
.scx-utility a { color: #c9d6de; }
.scx-utility a:hover { color: #fff; }
.scx-utility__eco li + li { position: relative; }
.scx-utility__signin { color: #fff !important; font-weight: 600; }
.scx-utility i { margin-right: 4px; }

/* ==========================================================================
   Header
   ========================================================================== */
.scx-header {
    position: sticky; top: 0; z-index: 1500;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--sc-line);
}
.scx-header.is-scrolled { box-shadow: var(--sc-shadow-sm); }
.scx-header__inner { display: flex; align-items: center; gap: 20px; height: var(--sc-header-h); }
.scx-brand { display: flex; align-items: center; flex: 0 0 auto; }
.scx-brand img { height: 38px; width: auto; }
.scx-header__menu, .scx-header__searchbtn { display: none; }
.scx-header__cta { height: 36px; padding: 0 16px; }

/* Primary nav */
.scx-nav { flex: 1 1 auto; min-width: 0; }
.scx-nav__head, .scx-nav__foot { display: none; }
.scx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.scx-nav__item { position: relative; }
.scx-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 12px; border-radius: var(--sc-radius);
    background: none; border: 0; cursor: pointer;
    font: 500 14.5px/1 var(--sc-font); color: var(--sc-ink); white-space: nowrap;
}
.scx-nav__link i { font-size: 10px; color: var(--sc-muted); transition: transform .2s; }
.scx-nav__link:hover, .scx-nav__item.is-open > .scx-nav__link { background: var(--sc-navy-50); color: var(--sc-navy); }
.scx-nav__item.is-open > .scx-nav__link i { transform: rotate(180deg); }

/* Mega / dropdown */
.scx-mega {
    position: absolute; top: calc(100% + 10px); left: 0;
    display: none; gap: 8px; padding: 12px;
    background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg);
    box-shadow: var(--sc-shadow); min-width: 640px;
}
.scx-mega--narrow { min-width: 300px; }
.scx-mega--right { left: auto; right: 0; }
.scx-nav__item.is-open > .scx-mega { display: flex; }
.scx-mega__col { flex: 1 1 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scx-mega__promo { background: var(--sc-bg-soft); border-radius: var(--sc-radius); padding: 4px; }
.scx-mega__title { margin: 6px 10px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); }
.scx-mega a { display: block; padding: 9px 10px; border-radius: var(--sc-radius); color: var(--sc-ink); }
.scx-mega a strong { display: block; font-weight: 600; font-size: 14px; }
.scx-mega a span { display: block; font-size: 12.5px; color: var(--sc-muted); margin-top: 2px; }
.scx-mega a:hover { background: var(--sc-navy-50); }
.scx-mega a:hover strong { color: var(--sc-navy); }

/* Header search */
.scx-search {
    display: flex; align-items: center; flex: 0 1 360px; min-width: 240px; margin-left: auto;
    height: 40px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
    background: var(--sc-bg-soft); transition: border-color .15s, background .15s, box-shadow .15s;
}
.scx-search:focus-within { background: #fff; border-color: var(--sc-navy); box-shadow: 0 0 0 3px rgba(1, 58, 86, .12); }
.scx-search__scope {
    height: 100%; border: 0; border-right: 1px solid var(--sc-line); background: transparent;
    padding: 0 8px 0 12px; font-size: 13px; color: var(--sc-ink-2); cursor: pointer; border-radius: var(--sc-radius) 0 0 var(--sc-radius);
}
.scx-search input {
    flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent;
    padding: 0 10px; font-size: 14px; color: var(--sc-ink); outline: none;
}
.scx-search__go { width: 40px; height: 100%; border: 0; background: transparent; color: var(--sc-navy); cursor: pointer; font-size: 15px; }

.scx-scrim { position: fixed; inset: 0; background: rgba(1, 25, 38, .45); z-index: 1490; }

/* ==========================================================================
   Footer
   ========================================================================== */
.scx-footer { background: var(--sc-navy-900); color: #b9c8d1; margin-top: 72px; font-size: 14px; }
.scx-footer__top { display: flex; gap: 48px; padding: 56px 0 40px; }
.scx-footer__brand { flex: 0 0 320px; }
.scx-footer__brand img { height: 40px; width: auto; margin-bottom: 16px; }
.scx-footer__brand p { margin: 0 0 10px; line-height: 1.6; }
.scx-footer__addr { font-size: 13px; color: #8ea3af; }
.scx-footer__social { display: flex; gap: 8px; margin-top: 16px; }
.scx-footer__social a {
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #dbe5ea;
}
.scx-footer__social a:hover { background: var(--sc-orange); border-color: var(--sc-orange); color: #fff; }
.scx-footer__cols { flex: 1 1 auto; display: flex; gap: 32px; justify-content: space-between; }
.scx-footer__cols > div { flex: 1 1 0; }
.scx-footer h2 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 4px 0 14px; font-weight: 600; }
.scx-footer ul { list-style: none; margin: 0; padding: 0; }
.scx-footer li { margin: 0 0 9px; }
.scx-footer a { color: #b9c8d1; }
.scx-footer a:hover { color: #fff; text-decoration: underline; }
.scx-footer__bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 24px; font-size: 13px; color: #8ea3af;
}
.scx-footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.scx-footer__bottom li { margin: 0; }
.scx-totop { background: var(--sc-navy) !important; width: 44px !important; height: 44px !important; box-shadow: var(--sc-shadow); }
.scx-totop:hover { background: var(--sc-orange) !important; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.scx-crumbs { border-bottom: 1px solid var(--sc-line-2); background: #fff; }
.scx-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 12px 0; font-size: 13px; color: var(--sc-muted); }
.scx-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.scx-crumbs li + li::before { content: "/"; color: #b4bec7; }
.scx-crumbs a { color: var(--sc-link); }
.scx-crumbs a:hover { text-decoration: underline; }
.scx-crumbs [aria-current] { color: var(--sc-ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   Article page
   ========================================================================== */
.scx-article-top { background: #fff; padding: 28px 0 0; }
.scx-source { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--sc-muted); margin-bottom: 14px; }
.scx-source a.scx-source__journal { color: var(--sc-link); font-weight: 600; font-size: 15px; }
.scx-source a:hover { text-decoration: underline; }

.scx-article-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.scx-article-head__main { min-width: 0; }
.scx-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.scx-article-title {
    font-family: var(--sc-serif); font-weight: 600; color: var(--sc-ink);
    font-size: clamp(26px, 2.6vw, 34px); line-height: 1.22; letter-spacing: -.005em; margin: 0 0 18px; max-width: 30em;
}
.scx-authors { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15.5px; }
.scx-authors li { display: inline-flex; align-items: center; gap: 4px; }
.scx-authors li:not(:last-child)::after { content: ","; margin-right: 8px; color: var(--sc-muted); }
.scx-author { background: none; border: 0; padding: 0; color: var(--sc-link); font: 500 15.5px/1.5 var(--sc-font); cursor: pointer; }
.scx-author:hover { text-decoration: underline; }
.scx-authors sup { font-size: 11px; color: var(--sc-muted); }
.scx-authors .scx-orcid { color: #a6ce39; font-size: 14px; }
.scx-authors .scx-corr { color: var(--sc-muted); font-size: 12px; }
.scx-affils { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--sc-muted); }
.scx-affils li { margin-bottom: 4px; }
.scx-affils sup { margin-right: 4px; }
.scx-toggle { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--sc-link); font: 500 13.5px var(--sc-font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.scx-toggle i { font-size: 11px; transition: transform .2s; }
.scx-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.scx-doi { margin: 14px 0 0; font-size: 14px; }
.scx-doi a { color: var(--sc-link); word-break: break-all; }
.scx-doi a:hover { text-decoration: underline; }
.scx-history { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--sc-muted); }
.scx-history strong { color: var(--sc-ink-2); font-weight: 500; }
.scx-license { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--sc-ink-2); }
.scx-license a { color: var(--sc-link); }

/* Head side: compact journal card */
.scx-journal-mini { display: flex; gap: 14px; padding: 16px; }
.scx-journal-mini__cover { flex: 0 0 64px; }
.scx-journal-mini__title { font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--sc-ink); }
.scx-journal-mini__title:hover { color: var(--sc-link); text-decoration: underline; }
.scx-journal-mini p { margin: 4px 0 0; font-size: 12.5px; color: var(--sc-muted); }

/* Generated journal cover (no broken images) */
.scx-cover {
    position: relative; aspect-ratio: 3 / 4; width: 100%; border-radius: 6px; overflow: hidden;
    background: linear-gradient(160deg, var(--sc-navy-700) 0%, var(--sc-navy) 55%, var(--sc-navy-900) 100%);
    color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 10%;
    box-shadow: 0 2px 6px rgba(1, 39, 58, .25);
}
.scx-cover::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sc-orange); }
.scx-cover__abbr { font-weight: 700; letter-spacing: .02em; font-size: 1em; line-height: 1.1; word-break: break-word; }
.scx-cover__pub { font-size: .42em; opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.scx-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scx-journal-mini .scx-cover { font-size: 13px; padding: 8px; }

/* Action toolbar */
.scx-toolbar-wrap { position: sticky; top: var(--sc-header-h); z-index: 1200; background: #fff; border-bottom: 1px solid var(--sc-line); margin-top: 22px; }
.scx-toolbar-wrap.is-stuck { box-shadow: var(--sc-shadow-sm); }
.scx-toolbar { display: flex; align-items: center; gap: 8px; padding: 10px 0; }
.scx-toolbar__title { display: none; flex: 1 1 auto; min-width: 0; font-family: var(--sc-serif); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--sc-ink); margin-right: 8px; }
.scx-toolbar-wrap.is-stuck .scx-toolbar__title { display: block; }
.scx-toolbar__spacer { flex: 1 1 auto; }
.scx-toolbar-wrap.is-stuck .scx-toolbar__spacer { display: none; }
.scx-toolbar .scx-contents-btn { display: none; }

.scx-menu { position: relative; }
.scx-menu__panel {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 220px;
    background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); box-shadow: var(--sc-shadow);
    padding: 6px; display: none;
}
.scx-menu.is-open .scx-menu__panel { display: block; }
.scx-menu__panel button, .scx-menu__panel a {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    padding: 9px 10px; border: 0; background: none; border-radius: 6px; font-size: 14px; color: var(--sc-ink); cursor: pointer;
}
.scx-menu__panel button:hover, .scx-menu__panel a:hover { background: var(--sc-navy-50); }
.scx-menu__panel i { width: 16px; color: var(--sc-muted); }

/* Three-column reading layout */
.scx-reader { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 48px; padding-top: 32px; align-items: start; }
.scx-outline { position: sticky; top: calc(var(--sc-header-h) + 72px); max-height: calc(100vh - var(--sc-header-h) - 96px); overflow: auto; font-size: 13.5px; }
.scx-outline h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); margin: 0 0 10px; font-weight: 600; }
.scx-outline ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sc-line-2); }
.scx-outline a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--sc-ink-2); line-height: 1.35; }
.scx-outline a:hover { color: var(--sc-link); }
.scx-outline a.is-active { border-left-color: var(--sc-orange); color: var(--sc-navy); font-weight: 600; }

.scx-body { min-width: 0; max-width: 760px; }
.scx-sec { padding-bottom: 8px; margin-bottom: 36px; }
.scx-sec > h2 {
    font-family: var(--sc-font); font-size: 21px; font-weight: 700; color: var(--sc-ink);
    margin: 0 0 14px; padding-top: 4px; letter-spacing: -.005em;
}
.scx-prose { font-family: var(--sc-serif); font-size: 16.5px; line-height: 1.8; color: var(--sc-ink); }
.scx-prose p { margin: 0 0 1.05em; }
.scx-prose h3 { font-family: var(--sc-font); font-size: 16.5px; font-weight: 600; margin: 1.4em 0 .5em; }
.scx-prose a { color: var(--sc-link); text-decoration: underline; text-underline-offset: 2px; }
.scx-prose img { max-width: 100%; height: auto; }
.scx-prose table { width: 100%; border-collapse: collapse; font-family: var(--sc-font); font-size: 14px; margin: 1em 0; display: block; overflow-x: auto; }
.scx-prose th, .scx-prose td { border-bottom: 1px solid var(--sc-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.scx-prose th { background: var(--sc-bg-soft); font-weight: 600; }
.scx-abs-part h3 { font-family: var(--sc-font); font-size: 15px; font-weight: 700; margin: 0 0 4px; color: var(--sc-navy); }
.scx-abs-part p { margin: 0 0 16px; }

.scx-highlights { background: var(--sc-bg-soft); border-radius: var(--sc-radius-lg); padding: 18px 22px; }
.scx-highlights ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.6; }
.scx-highlights li { margin-bottom: 6px; }
.scx-highlights li::marker { color: var(--sc-orange); }

.scx-graphical { border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); padding: 12px; }
.scx-graphical img { width: 100%; height: auto; border-radius: 6px; }

.scx-pls { border-left: 3px solid var(--sc-orange); background: var(--sc-orange-50); padding: 16px 20px; border-radius: 0 var(--sc-radius) var(--sc-radius) 0; font-size: 16px; }

.scx-keywords { display: flex; flex-wrap: wrap; gap: 8px; }

.scx-note {
    display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
    border: 1px dashed var(--sc-line); border-radius: var(--sc-radius-lg); background: var(--sc-bg-soft);
}
.scx-note i { font-size: 20px; color: var(--sc-navy); margin-top: 2px; }
.scx-note h3 { margin: 0 0 4px; font-size: 15.5px; }
.scx-note p { margin: 0; color: var(--sc-muted); font-size: 14px; }
.scx-note .scx-btn { margin-top: 12px; }

.scx-figures { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.scx-figure { margin: 0; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; background: #fff; }
.scx-figure button { display: block; width: 100%; padding: 0; border: 0; background: var(--sc-bg-soft); cursor: zoom-in; }
.scx-figure img { width: 100%; height: 180px; object-fit: contain; }
.scx-figure figcaption { padding: 10px 12px; font-size: 13px; color: var(--sc-ink-2); }
.scx-figure figcaption strong { color: var(--sc-ink); }

.scx-refs { list-style: none; margin: 0; padding: 0; counter-reset: ref; font-size: 14.5px; }
.scx-refs li { counter-increment: ref; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--sc-line-2); line-height: 1.55; }
.scx-refs li::before { content: "[" counter(ref) "]"; position: absolute; left: 0; top: 12px; color: var(--sc-muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.scx-refs__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: 13px; }
.scx-refs__links a { color: var(--sc-link); font-weight: 500; }
.scx-refs__links a:hover { text-decoration: underline; }

.scx-decl dt { font-weight: 600; font-size: 15px; margin: 18px 0 4px; font-family: var(--sc-font); }
.scx-decl dt:first-child { margin-top: 0; }
.scx-decl dd { margin: 0; }

.scx-info { width: 100%; border-collapse: collapse; font-size: 14px; }
.scx-info th { text-align: left; width: 38%; padding: 10px 12px 10px 0; color: var(--sc-muted); font-weight: 500; border-bottom: 1px solid var(--sc-line-2); vertical-align: top; }
.scx-info td { padding: 10px 0; border-bottom: 1px solid var(--sc-line-2); color: var(--sc-ink); word-break: break-word; }
.scx-info a { color: var(--sc-link); }

.scx-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.scx-pager a { display: block; padding: 14px 16px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); color: var(--sc-ink); font-size: 14px; line-height: 1.4; }
.scx-pager a:hover { border-color: var(--sc-navy); background: var(--sc-navy-50); }
.scx-pager span { display: block; font-size: 12px; color: var(--sc-muted); margin-bottom: 4px; }
.scx-pager .is-next { text-align: right; grid-column: 2; }

/* Right rail */
.scx-rail { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--sc-header-h) + 72px); }
.scx-rail .scx-card { padding: 18px; }
.scx-rail h2 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-muted); font-weight: 600; margin: 0 0 12px; }
.scx-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.scx-metrics div { padding: 8px 4px; border-radius: var(--sc-radius); background: var(--sc-bg-soft); }
.scx-metrics strong { display: block; font-size: 20px; font-weight: 700; color: var(--sc-navy); font-variant-numeric: tabular-nums; }
.scx-metrics span { font-size: 12px; color: var(--sc-muted); }
.scx-related { list-style: none; margin: 0; padding: 0; }
.scx-related li { padding: 12px 0; border-top: 1px solid var(--sc-line-2); }
.scx-related li:first-child { border-top: 0; padding-top: 0; }
.scx-related a { color: var(--sc-ink); font-weight: 500; font-size: 14px; line-height: 1.4; display: block; }
.scx-related a:hover { color: var(--sc-link); text-decoration: underline; }
.scx-related span { display: block; font-size: 12px; color: var(--sc-muted); margin-top: 4px; }
.scx-rail__cta p { margin: 0 0 12px; font-size: 14px; color: var(--sc-ink-2); }

/* Modal (cite, figure viewer) */
.scx-modal { position: fixed; inset: 0; z-index: 2500; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(1, 25, 38, .55); }
.scx-modal.is-open { display: flex; }
.scx-modal__box { width: 100%; max-width: 680px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--sc-radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.scx-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--sc-line); }
.scx-modal__head h2 { margin: 0; font-size: 17px; }
.scx-modal__body { padding: 20px; }
.scx-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.scx-tabs button { border: 1px solid var(--sc-line); background: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; cursor: pointer; color: var(--sc-ink-2); }
.scx-tabs button[aria-selected="true"] { background: var(--sc-navy); border-color: var(--sc-navy); color: #fff; }
.scx-cite-out { width: 100%; min-height: 120px; padding: 14px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: var(--sc-bg-soft); font: 14px/1.6 var(--sc-serif); color: var(--sc-ink); white-space: pre-wrap; word-break: break-word; }
.scx-cite-out.is-code { font: 12.5px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.scx-modal__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.scx-figview img { width: 100%; height: auto; }
.scx-figview .scx-modal__box { max-width: 1000px; }

/* Contents drawer (mobile/tablet outline) */
.scx-drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); background: #fff; z-index: 2400; transform: translateX(-100%); transition: transform .25s ease; padding: 20px; overflow: auto; box-shadow: var(--sc-shadow); }
.scx-drawer.is-open { transform: none; }
.scx-drawer .scx-outline { position: static; max-height: none; }

/* ==========================================================================
   Journal page
   ========================================================================== */
.scx-jhero { background: linear-gradient(180deg, var(--sc-navy-50) 0%, #fff 100%); border-bottom: 1px solid var(--sc-line); }
.scx-jhero__inner { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 32px 0; }
.scx-jhero .scx-cover { font-size: 22px; }
.scx-jhero h1 { font-family: var(--sc-serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; margin: 6px 0 10px; color: var(--sc-ink); }
.scx-jhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--sc-ink-2); }
.scx-jhero__desc { margin: 12px 0 0; max-width: 62ch; color: var(--sc-ink-2); font-size: 15px; }
.scx-jhero__actions { display: flex; flex-direction: column; gap: 10px; min-width: 210px; }

.scx-jstats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--sc-line); }
.scx-jstats > div { flex: 1 1 160px; padding: 16px 20px 18px 0; }
.scx-jstats > div + div { padding-left: 20px; border-left: 1px solid var(--sc-line); }
.scx-jstats strong { display: block; font-size: 22px; font-weight: 700; color: var(--sc-navy); font-variant-numeric: tabular-nums; }
.scx-jstats span { font-size: 13px; color: var(--sc-muted); }

.scx-jnav { position: sticky; top: var(--sc-header-h); z-index: 1200; background: #fff; border-bottom: 1px solid var(--sc-line); }
.scx-jnav__inner { display: flex; align-items: center; gap: 16px; }
.scx-jnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
.scx-jnav ul::-webkit-scrollbar { display: none; }
.scx-jnav a { display: block; padding: 14px 12px; font-size: 14px; font-weight: 500; color: var(--sc-ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.scx-jnav a:hover { color: var(--sc-navy); }
.scx-jnav a.is-active { color: var(--sc-navy); border-bottom-color: var(--sc-orange); font-weight: 600; }
.scx-jsearch { display: flex; align-items: center; height: 36px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 0 4px 0 10px; flex: 0 0 280px; }
.scx-jsearch input { border: 0; outline: 0; flex: 1 1 auto; min-width: 0; font-size: 13.5px; background: transparent; }
.scx-jsearch button { border: 0; background: none; color: var(--sc-navy); width: 30px; height: 30px; cursor: pointer; }
.scx-jsearch:focus-within { border-color: var(--sc-navy); }

.scx-jlayout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 36px; align-items: start; }
.scx-jsec { margin-bottom: 44px; }
.scx-jsec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--sc-line); padding-bottom: 10px; margin-bottom: 4px; }
.scx-jsec__head h2 { margin: 0; font-size: 21px; font-weight: 700; }
.scx-jsec__head a { font-size: 14px; font-weight: 600; color: var(--sc-link); }
.scx-jsec__head a:hover { text-decoration: underline; }

/* Article list item (ScienceDirect-style result row) */
.scx-alist { list-style: none; margin: 0; padding: 0; }
.scx-aitem { padding: 18px 0; border-bottom: 1px solid var(--sc-line-2); }
.scx-aitem__flags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 6px; }
.scx-aitem__title { margin: 0 0 6px; font-family: var(--sc-serif); font-weight: 600; font-size: 18.5px; line-height: 1.35; }
.scx-aitem__title a { color: var(--sc-ink); }
.scx-aitem__title a:hover { color: var(--sc-link); text-decoration: underline; }
.scx-aitem__authors { font-size: 14px; color: var(--sc-ink-2); margin: 0 0 4px; }
.scx-aitem__src { font-size: 13px; color: var(--sc-muted); margin: 0; }
.scx-aitem__actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.scx-aitem__actions a, .scx-aitem__actions button { background: none; border: 0; padding: 0; font: 600 13px var(--sc-font); color: var(--sc-link); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.scx-aitem__actions a:hover, .scx-aitem__actions button:hover { text-decoration: underline; }
.scx-aitem__abs { display: none; margin-top: 10px; padding: 14px 16px; background: var(--sc-bg-soft); border-radius: var(--sc-radius); font-family: var(--sc-serif); font-size: 15.5px; line-height: 1.65; color: var(--sc-ink-2); }
.scx-aitem.is-open .scx-aitem__abs { display: block; }
.scx-aitem mark { background: #fff1c2; color: inherit; padding: 0 1px; }

.scx-issue-card { display: flex; gap: 18px; padding: 18px; align-items: center; }
.scx-issue-card .scx-cover { flex: 0 0 72px; font-size: 13px; padding: 8px; }
.scx-issue-card h3 { margin: 0 0 4px; font-size: 16px; }
.scx-issue-card p { margin: 0; font-size: 13.5px; color: var(--sc-muted); }

.scx-editors { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.scx-editor { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); }
.scx-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--sc-navy-50); color: var(--sc-navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; overflow: hidden; }
.scx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.scx-editor strong { display: block; font-size: 14.5px; }
.scx-editor span { display: block; font-size: 12.5px; color: var(--sc-muted); line-height: 1.4; }
.scx-editor em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--sc-orange-600); text-transform: uppercase; letter-spacing: .04em; }

.scx-facts { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.scx-facts th { text-align: left; color: var(--sc-muted); font-weight: 500; padding: 8px 10px 8px 0; vertical-align: top; width: 46%; border-bottom: 1px solid var(--sc-line-2); }
.scx-facts td { padding: 8px 0; border-bottom: 1px solid var(--sc-line-2); font-weight: 500; color: var(--sc-ink); }
.scx-facts tr:last-child th, .scx-facts tr:last-child td { border-bottom: 0; }
.scx-muted { color: var(--sc-muted); }

.scx-cfp { background: var(--sc-navy); color: #dbe6ec; border: 0; }
.scx-cfp h2 { color: #fff !important; }
.scx-cfp p { font-size: 14px; margin: 0 0 14px; }

.scx-empty { padding: 28px; text-align: center; color: var(--sc-muted); border: 1px dashed var(--sc-line); border-radius: var(--sc-radius-lg); margin-top: 16px; }
.scx-empty i { font-size: 26px; color: var(--sc-navy); margin-bottom: 10px; display: block; }
.scx-empty h3 { margin: 0 0 6px; color: var(--sc-ink); font-size: 16px; }
.scx-empty p { margin: 0 auto; max-width: 46ch; font-size: 14px; }

/* ==========================================================================
   Search results page
   ========================================================================== */
.scx-sresults { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-top: 28px; align-items: start; }
.scx-sbar { padding: 28px 0; background: var(--sc-navy-50); border-bottom: 1px solid var(--sc-line); }
.scx-sbar form { display: flex; gap: 8px; max-width: 860px; }
.scx-sbar input[type="search"] { flex: 1 1 auto; height: 48px; padding: 0 16px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); font-size: 16px; }
.scx-sbar input[type="search"]:focus { outline: 0; border-color: var(--sc-navy); box-shadow: 0 0 0 3px rgba(1, 58, 86, .12); }
.scx-sbar .scx-btn { height: 48px; padding: 0 24px; }
.scx-sbar h1 { margin: 0 0 14px; font-size: 22px; }
.scx-facets h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sc-muted); margin: 0 0 10px; }
.scx-facets ul { list-style: none; padding: 0; margin: 0 0 24px; }
.scx-facets a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--sc-ink-2); }
.scx-facets a:hover { background: var(--sc-bg-soft); }
.scx-facets a.is-active { background: var(--sc-navy-50); color: var(--sc-navy); font-weight: 600; }
.scx-facets em { font-style: normal; color: var(--sc-muted); font-variant-numeric: tabular-nums; }
.scx-rcount { font-size: 14px; color: var(--sc-muted); margin: 0 0 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
    .scx-search { flex-basis: 300px; min-width: 220px; }
    .scx-search__scope { display: none; }
    .scx-nav__link { padding: 0 9px; font-size: 14px; }
}

@media (max-width: 1199px) {
    .scx-reader { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
    .scx-reader > .scx-outline { display: none; }
    .scx-toolbar .scx-contents-btn { display: inline-flex; }
    .scx-article-head { grid-template-columns: minmax(0, 1fr); }
    .scx-article-head__side { display: none; }
}

@media (max-width: 1100px) {
    /* backdrop-filter would make the header the containing block of the fixed drawer */
    .scx-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .scx-header__menu, .scx-header__searchbtn { display: inline-flex; }
    .scx-header__inner { gap: 8px; }
    .scx-brand { margin-right: auto; }
    .scx-brand img { height: 34px; }

    .scx-nav {
        position: fixed; top: 0; bottom: 0; left: 0; width: min(360px, 90vw); z-index: 1600;
        background: #fff; transform: translateX(-100%); transition: transform .25s ease;
        display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--sc-shadow);
    }
    .scx-nav.is-open { transform: none; }
    .scx-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--sc-line); }
    .scx-nav__head img { height: 32px; width: auto; }
    .scx-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px; }
    .scx-nav__link { width: 100%; justify-content: space-between; height: 48px; font-size: 15.5px; }
    .scx-mega { position: static; box-shadow: none; border: 0; min-width: 0; flex-direction: column; padding: 0 0 8px 8px; }
    .scx-mega__promo { background: none; padding: 0; }
    .scx-nav__foot { display: flex; flex-direction: column; gap: 10px; padding: 16px; margin-top: auto; border-top: 1px solid var(--sc-line); }

    .scx-search {
        position: absolute; left: 0; right: 0; top: 100%; margin: 0; border-radius: 0;
        height: 56px; padding: 8px var(--sc-gutter); background: #fff; border: 0; border-bottom: 1px solid var(--sc-line);
        display: none; box-shadow: var(--sc-shadow-sm);
    }
    .scx-search.is-open { display: flex; }
    .scx-search input { border: 1px solid var(--sc-line); border-radius: var(--sc-radius); height: 40px; background: var(--sc-bg-soft); }
    .scx-search:focus-within { box-shadow: var(--sc-shadow-sm); }
    .scx-header__cta { display: none; }

    .scx-utility__eco { display: none !important; }
    .scx-utility__inner { justify-content: flex-end; }

    .scx-footer__top { flex-direction: column; gap: 32px; }
    .scx-footer__brand { flex-basis: auto; }
    .scx-footer__cols { flex-wrap: wrap; }
    .scx-footer__cols > div { flex: 1 1 40%; }

    .scx-jlayout { grid-template-columns: minmax(0, 1fr); }
    .scx-jhero__inner { grid-template-columns: 110px minmax(0, 1fr); }
    .scx-jhero__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .scx-jsearch { display: none; }
}

@media (max-width: 899px) {
    .scx-reader { grid-template-columns: minmax(0, 1fr); }
    .scx-rail { position: static; }
    .scx-sresults { grid-template-columns: minmax(0, 1fr); }
    .scx-facets ul { display: flex; flex-wrap: wrap; gap: 6px; }
    .scx-facets a { border: 1px solid var(--sc-line); }
}

@media (max-width: 640px) {
    :root { --sc-gutter: 16px; --sc-header-h: 58px; }
    body.scx { font-size: 15px; }
    .scx-utility { display: none; }
    .scx-prose { font-size: 16px; }
    .scx-toolbar { overflow-x: auto; scrollbar-width: none; gap: 6px; }
    .scx-toolbar .scx-btn--sm { padding: 0 10px; }
    .scx-toolbar .scx-btn span.scx-hide-sm { display: none; }
    .scx-toolbar__title { display: none !important; }
    .scx-jhero__inner { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
    .scx-jhero .scx-cover { font-size: 13px; padding: 8px; }
    .scx-jhero__desc { grid-column: 1 / -1; }
    .scx-jhero__actions .scx-btn { flex: 1 1 auto; }
    .scx-jstats > div { flex-basis: 45%; padding: 12px 0; }
    .scx-jstats > div + div { padding-left: 0; border-left: 0; }
    .scx-footer__cols > div { flex-basis: 45%; }
    .scx-footer__bottom { flex-direction: column; align-items: flex-start; }
    .scx-pager { grid-template-columns: 1fr; }
    .scx-pager .is-next { grid-column: 1; }
    .scx-refs li { padding-left: 36px; }
    .scx-sbar form { flex-direction: column; }
}

@media print {
    .scx-utility, .scx-header, .scx-toolbar-wrap, .scx-outline, .scx-rail, .scx-footer, .scx-totop, .scx-crumbs { display: none !important; }
    .scx-reader { display: block; }
    .scx-prose { font-size: 12pt; }
}

/* ==========================================================================
   Shared page components (v2)
   ========================================================================== */

/* Compact journal band (journal sub-pages) */
.scx-jband { background: var(--sc-navy-50); border-bottom: 1px solid var(--sc-line); }
.scx-jband__inner { display: flex; align-items: center; gap: 18px; padding: 16px 0; }
.scx-jband__cover { flex: 0 0 52px; }
.scx-jband__cover .scx-cover { font-size: 11px; padding: 6px; }
.scx-jband__cover .scx-cover__pub { display: none; }
.scx-jband__main { flex: 1 1 auto; min-width: 0; }
.scx-jband__title { display: block; font-family: var(--sc-serif); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--sc-ink); margin-bottom: 4px; }
.scx-jband__title:hover { color: var(--sc-link); }
.scx-jband__actions { flex: 0 0 auto; }

/* Page heads */
.scx-phead { padding: 40px 0 32px; border-bottom: 1px solid var(--sc-line); background: linear-gradient(180deg, var(--sc-navy-50), #fff); }
.scx-phead h1 { font-family: var(--sc-serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 0 0 12px; color: var(--sc-ink); letter-spacing: -.01em; }
.scx-phead p.scx-lead { font-size: 17px; color: var(--sc-ink-2); max-width: 66ch; margin: 0; line-height: 1.6; }
.scx-phead .scx-actions { margin-top: 22px; }
.scx-phead--dark { background: radial-gradient(1200px 400px at 85% -10%, rgba(235, 101, 0, .22), transparent 60%), linear-gradient(135deg, var(--sc-navy-900), var(--sc-navy) 70%); color: #d7e3ea; border-bottom: 0; }
.scx-phead--dark h1 { color: #fff; }
.scx-phead--dark p.scx-lead { color: #cfdde5; }
.scx-phead--dark .scx-eyebrow { color: #f5a36a; }
.scx-phead--dark .scx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.scx-phead--dark .scx-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.scx-phead__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.scx-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.scx-section { padding: 56px 0; }
.scx-section--soft { background: var(--sc-bg-soft); }
.scx-section--tight { padding: 36px 0; }
.scx-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.scx-shead h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.01em; }
.scx-shead p { margin: 6px 0 0; color: var(--sc-muted); max-width: 62ch; }
.scx-shead a.scx-more { font-weight: 600; font-size: 14px; color: var(--sc-link); white-space: nowrap; }
.scx-shead a.scx-more:hover { text-decoration: underline; }

/* Grids and tiles */
.scx-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.scx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scx-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); color: var(--sc-ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.scx-tile:hover { border-color: var(--sc-navy); box-shadow: var(--sc-shadow); transform: translateY(-1px); }
.scx-tile__icon { width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--sc-navy-50); color: var(--sc-navy); font-size: 18px; margin-bottom: 4px; }
.scx-tile__icon--orange { background: var(--sc-orange-50); color: var(--sc-orange-600); }
.scx-tile h3 { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.3; }
.scx-tile p { margin: 0; color: var(--sc-ink-2); font-size: 14.5px; line-height: 1.55; }
.scx-tile__more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14px; color: var(--sc-link); }
.scx-tile__meta { font-size: 12.5px; color: var(--sc-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }

/* Document layout: sticky TOC + prose (policies, guides, legal, help) */
.scx-doclayout { display: grid; grid-template-columns: 230px minmax(0, 760px) minmax(0, 1fr); gap: 48px; padding-top: 36px; align-items: start; }
.scx-doclayout > .scx-outline { grid-column: 1; }
.scx-doclayout > .scx-docbody { grid-column: 2; min-width: 0; }
.scx-doclayout > .scx-rail { grid-column: 3; max-width: 300px; }
.scx-docbody h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; letter-spacing: -.005em; scroll-margin-top: 90px; }
.scx-docbody h2:first-child { margin-top: 0; }
.scx-docbody h3 { font-size: 17px; font-weight: 650; margin: 24px 0 8px; }
.scx-docbody p, .scx-docbody li { font-size: 16px; line-height: 1.7; color: var(--sc-ink-2); }
.scx-docbody ul, .scx-docbody ol { padding-left: 22px; }
.scx-docbody li { margin-bottom: 6px; }
.scx-docbody a { color: var(--sc-link); text-decoration: underline; text-underline-offset: 2px; }
.scx-docbody table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14.5px; }
.scx-docbody th, .scx-docbody td { border-bottom: 1px solid var(--sc-line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.scx-docbody th { font-weight: 600; color: var(--sc-ink); background: none; }
.scx-docbody .scx-tablewrap { overflow-x: auto; }
.scx-check { list-style: none; padding: 0 !important; }
.scx-check li { position: relative; padding-left: 30px; }
.scx-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--sc-success-50); color: var(--sc-success); font-size: 10px; display: flex; align-items: center; justify-content: center; }
.scx-callout { border-left: 3px solid var(--sc-navy); background: var(--sc-navy-50); padding: 14px 18px; border-radius: 0 var(--sc-radius) var(--sc-radius) 0; margin: 16px 0; }
.scx-callout p { margin: 0; }
.scx-callout--orange { border-left-color: var(--sc-orange); background: var(--sc-orange-50); }
.scx-updated { font-size: 13px; color: var(--sc-muted); margin: 0 0 24px; }

/* Issue / archive */
.scx-issuehead { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--sc-line); }
.scx-issuehead .scx-cover { flex: 0 0 110px; font-size: 15px; }
.scx-issuehead h1 { font-family: var(--sc-serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); margin: 4px 0 6px; }
.scx-issuehead p { margin: 0 0 4px; color: var(--sc-ink-2); }
.scx-issuehead .scx-actions { margin-top: 14px; }
.scx-toc-group { margin-top: 28px; }
.scx-toc-group > h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); font-weight: 600; margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--sc-ink); }
.scx-volume { margin-bottom: 36px; }
.scx-volume > h2 { font-size: 18px; margin: 0 0 14px; display: flex; align-items: baseline; gap: 10px; }
.scx-volume > h2 span { font-size: 13px; color: var(--sc-muted); font-weight: 500; }
.scx-issues { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.scx-issue { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); background: #fff; color: var(--sc-ink); align-items: center; }
.scx-issue:hover { border-color: var(--sc-navy); background: var(--sc-navy-50); }
.scx-issue .scx-cover { flex: 0 0 56px; font-size: 10px; padding: 6px; }
.scx-issue .scx-cover__pub { font-size: 8px; }
.scx-issue strong { display: block; font-size: 15px; }
.scx-issue span { display: block; font-size: 13px; color: var(--sc-muted); }
.scx-issue em { font-style: normal; display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--sc-orange-600); letter-spacing: .05em; text-transform: uppercase; }
.scx-yearbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.scx-yearbar a { padding: 6px 12px; border: 1px solid var(--sc-line); border-radius: 999px; font-size: 13.5px; color: var(--sc-ink-2); }
.scx-yearbar a.is-active, .scx-yearbar a:hover { background: var(--sc-navy); border-color: var(--sc-navy); color: #fff; }

/* Board */
.scx-board-group { margin-bottom: 36px; }
.scx-board-group > h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); margin: 0 0 14px; font-weight: 600; }
.scx-person { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); background: #fff; }
.scx-person .scx-avatar { flex-basis: 64px; width: 64px; height: 64px; font-size: 20px; }
.scx-person h3 { margin: 0 0 2px; font-size: 16px; }
.scx-person p { margin: 0; font-size: 13.5px; color: var(--sc-muted); line-height: 1.5; }
.scx-person .scx-person__links { display: flex; gap: 12px; margin-top: 8px; font-size: 13px; }
.scx-person .scx-person__links a { color: var(--sc-link); font-weight: 600; }

/* Listing pages */
.scx-listlayout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 28px; align-items: start; }
.scx-filterbox { position: sticky; top: calc(var(--sc-header-h) + 16px); }
.scx-filterbox h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sc-muted); margin: 0 0 10px; font-weight: 600; }
.scx-filterbox ul { list-style: none; margin: 0 0 24px; padding: 0; }
.scx-filterbox a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--sc-ink-2); }
.scx-filterbox a:hover { background: var(--sc-bg-soft); }
.scx-filterbox a.is-active { background: var(--sc-navy-50); color: var(--sc-navy); font-weight: 600; }
.scx-filterbox em { font-style: normal; color: var(--sc-muted); font-variant-numeric: tabular-nums; }
.scx-listbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--sc-line); }
.scx-listbar form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 520px; }
.scx-listbar input[type=search] { flex: 1 1 auto; height: 40px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 0 12px; font-size: 14px; }
.scx-listbar input[type=search]:focus { outline: 0; border-color: var(--sc-navy); }
.scx-alpha { display: flex; flex-wrap: wrap; gap: 2px; margin: 14px 0 0; }
.scx-alpha a, .scx-alpha span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--sc-link); }
.scx-alpha span { color: #c3ccd3; }
.scx-alpha a:hover, .scx-alpha a.is-active { background: var(--sc-navy); color: #fff; }

.scx-jrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--sc-line-2); align-items: start; }
.scx-jrow .scx-cover { font-size: 11px; padding: 6px; }
.scx-jrow .scx-cover__pub { display: none; }
.scx-jrow h3 { margin: 0 0 4px; font-family: var(--sc-serif); font-weight: 600; font-size: 19px; line-height: 1.3; }
.scx-jrow h3 a { color: var(--sc-ink); }
.scx-jrow h3 a:hover { color: var(--sc-link); text-decoration: underline; }
.scx-jrow p { margin: 4px 0 0; font-size: 14.5px; color: var(--sc-ink-2); }
.scx-jrow__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; }
.scx-jrow__links a { color: var(--sc-link); font-weight: 600; }

/* Event cards */
.scx-event { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); color: var(--sc-ink); }
a.scx-event:hover { border-color: var(--sc-navy); box-shadow: var(--sc-shadow); }
.scx-date { text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--sc-line); align-self: start; }
.scx-date b { display: block; background: var(--sc-orange); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 0; }
.scx-date strong { display: block; font-size: 26px; line-height: 1.1; padding: 6px 0 0; color: var(--sc-ink); }
.scx-date span { display: block; font-size: 12px; color: var(--sc-muted); padding-bottom: 6px; }
.scx-event h3 { margin: 0 0 4px; font-size: 18px; }
.scx-event p { margin: 0 0 8px; color: var(--sc-ink-2); font-size: 14.5px; }

/* Insight cards */
.scx-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); overflow: hidden; color: var(--sc-ink); }
a.scx-post:hover { border-color: var(--sc-navy); box-shadow: var(--sc-shadow); }
.scx-post__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sc-navy-50), #e3ecf1); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--sc-navy); font-size: 28px; }
.scx-post__img img { width: 100%; height: 100%; object-fit: cover; }
.scx-post__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.scx-post__body h3 { margin: 0; font-family: var(--sc-serif); font-weight: 600; font-size: 19px; line-height: 1.3; }
.scx-post__body p { margin: 0; color: var(--sc-ink-2); font-size: 14.5px; line-height: 1.55; }

/* Big search hero */
.scx-bigsearch { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.18); max-width: 760px; }
.scx-bigsearch select { border: 0; background: var(--sc-bg-soft); height: 48px; border-radius: 8px; padding: 0 12px; font-size: 14px; color: var(--sc-ink-2); }
.scx-bigsearch input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; height: 48px; padding: 0 14px; font-size: 16.5px; color: var(--sc-ink); }
.scx-bigsearch .scx-btn { height: 48px; padding: 0 22px; font-size: 15px; }
.scx-quicklinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13.5px; }
.scx-quicklinks span { color: #a9bcc7; }
.scx-quicklinks a { color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 4px 12px; border-radius: 999px; }
.scx-quicklinks a:hover { background: rgba(255,255,255,.1); }

.scx-statband { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); background: #fff; }
.scx-statband > div { padding: 22px 24px; }
.scx-statband > div + div { border-left: 1px solid var(--sc-line); }
.scx-statband strong { display: block; font-size: 30px; font-weight: 700; color: var(--sc-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.scx-statband span { font-size: 13.5px; color: var(--sc-muted); }

.scx-subjects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.scx-subject { padding: 20px; border-radius: var(--sc-radius-lg); color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.scx-subject::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 130px; height: 130px; border-radius: 50%; border: 18px solid rgba(255,255,255,.08); }
.scx-subject h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.scx-subject p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.5; }
.scx-subject i { font-size: 22px; opacity: .9; }
.scx-subject--1 { background: linear-gradient(135deg, #0b5f6b, #0a4652); }
.scx-subject--2 { background: linear-gradient(135deg, #2f6b3a, #1f4d29); }
.scx-subject--3 { background: linear-gradient(135deg, #0b4a69, #01273a); }
.scx-subject--4 { background: linear-gradient(135deg, #7a3e12, #4f260a); }
a.scx-subject:hover { filter: brightness(1.08); }

/* Split feature */
.scx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.scx-split h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 12px; letter-spacing: -.01em; }
.scx-split p { color: var(--sc-ink-2); font-size: 16px; line-height: 1.65; }
.scx-featlist { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.scx-featlist li { display: flex; gap: 12px; font-size: 15px; color: var(--sc-ink-2); }
.scx-featlist i { color: var(--sc-orange); margin-top: 4px; }
.scx-visual { border-radius: 16px; background: linear-gradient(160deg, var(--sc-navy-50), #fff); border: 1px solid var(--sc-line); padding: 28px; }
.scx-visual svg { width: 100%; height: auto; display: block; }

/* Forms */
.scx-form { display: grid; gap: 16px; }
.scx-form .scx-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scx-field { position: relative; }
.scx-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--sc-ink); margin-bottom: 6px; }
.scx-field input, .scx-field select, .scx-field textarea { width: 100%; height: 48px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 0 14px; font: inherit; font-size: 15px; background: #fff; color: var(--sc-ink); transition: border-color .15s, box-shadow .15s; }
.scx-field textarea { height: auto; min-height: 140px; padding: 14px; resize: vertical; line-height: 1.5; }
.scx-field input:hover, .scx-field select:hover, .scx-field textarea:hover { border-color: #c3ccd3; }
.scx-field input:focus, .scx-field select:focus, .scx-field textarea:focus { outline: 0; border-color: var(--sc-navy); box-shadow: 0 0 0 3px rgba(1, 58, 86, .12); }
.scx-field small[hidden], .scx-modal [hidden] { display: none !important; }
.scx-field small { display: block; color: var(--sc-muted); margin-top: 5px; font-size: 12.5px; padding-left: 2px; }

/* Floating labels: the label sits inside the box until the field has focus
   or a value, then moves onto the top border. Only for browsers with :has();
   others keep the label above the field. Fields sitting on a tinted
   background can set --scx-float-bg to match. */
@supports selector(:has(*)) {
    .scx-field:has(> :where(input:not([type=checkbox], [type=radio], [type=hidden]), select, textarea)) > label {
        position: absolute; left: 10px; top: 13px; z-index: 1; margin: 0; padding: 0 5px; max-width: calc(100% - 24px);
        font-size: 15px; font-weight: 500; line-height: 22px; color: var(--sc-muted); background: transparent;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
        transition: top .15s ease, font-size .15s ease, line-height .15s ease, color .15s ease, background-color .15s ease;
    }
    .scx-field:has(> :is(input, select, textarea)) > label > span[aria-hidden] { color: var(--sc-orange-600); }
    .scx-field:has(> :is(input:not([type=checkbox], [type=radio], [type=hidden]), textarea):focus) > label,
    .scx-field:has(> :is(input:not([type=checkbox], [type=radio], [type=hidden]), textarea):not(:placeholder-shown)) > label,
    .scx-field:has(> input:autofill) > label,
    .scx-field:has(> input:-webkit-autofill) > label,
    .scx-field:has(> select) > label,
    .scx-field:has(> input:is([type=date], [type=time], [type=datetime-local], [type=month], [type=week], [type=file], [type=color])) > label {
        top: -9px; font-size: 12px; font-weight: 600; line-height: 18px; color: var(--sc-ink-2); background: var(--scx-float-bg, #fff);
    }
    .scx-field:has(> :is(input, select, textarea):focus) > label { color: var(--sc-navy); }
    .scx-field.is-invalid > label { color: #a3261d !important; }
    .scx-field > :is(input, textarea):not(:focus)::placeholder { color: transparent; }
    .scx-field > :is(input, textarea)::placeholder { color: #9aa6b0; }
}

.scx-alert { padding: 12px 16px; border-radius: var(--sc-radius); font-size: 14.5px; }
.scx-alert--ok { background: var(--sc-success-50); color: var(--sc-success); }
.scx-alert--err { background: #fdecec; color: #a3261d; }

/* FAQ */
.scx-faq details { border-bottom: 1px solid var(--sc-line); }
.scx-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 16px; position: relative; color: var(--sc-ink); }
.scx-faq summary::-webkit-details-marker { display: none; }
.scx-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--sc-muted); font-weight: 400; }
.scx-faq details[open] summary::after { content: "–"; }
.scx-faq details > div { padding: 0 0 18px; color: var(--sc-ink-2); line-height: 1.7; font-size: 15.5px; }

.scx-cta { border-radius: 16px; padding: 40px; background: radial-gradient(800px 300px at 90% 0%, rgba(235, 101, 0, .25), transparent 60%), var(--sc-navy); color: #d7e3ea; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.scx-cta h2 { color: #fff; margin: 0 0 6px; font-size: 26px; }
.scx-cta p { margin: 0; max-width: 60ch; }

@media (max-width: 1199px) {
    .scx-doclayout { grid-template-columns: 210px minmax(0, 1fr); }
    .scx-doclayout > .scx-rail { grid-column: 1 / -1; max-width: none; position: static; }
}
@media (max-width: 1100px) {
    .scx-grid--4, .scx-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scx-statband { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scx-statband > div:nth-child(3) { border-left: 0; }
    .scx-statband > div:nth-child(n+3) { border-top: 1px solid var(--sc-line); }
    .scx-phead__grid, .scx-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 899px) {
    .scx-doclayout { grid-template-columns: minmax(0, 1fr); }
    .scx-doclayout > .scx-outline { display: none; }
    .scx-doclayout > .scx-docbody { grid-column: 1; }
    .scx-listlayout { grid-template-columns: minmax(0, 1fr); }
    .scx-filterbox { position: static; }
    .scx-filterbox ul { display: flex; flex-wrap: wrap; gap: 6px; }
    .scx-filterbox a { border: 1px solid var(--sc-line); }
    .scx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .scx-grid--3, .scx-grid--2, .scx-grid--4, .scx-subjects { grid-template-columns: minmax(0, 1fr); }
    .scx-jband__actions { display: none; }
    .scx-jband__title { font-size: 18px; }
    .scx-jrow { grid-template-columns: 48px minmax(0, 1fr); }
    .scx-jrow > :last-child:not(:nth-child(2)) { grid-column: 2; }
    .scx-issuehead .scx-cover { flex-basis: 76px; font-size: 12px; }
    .scx-form .scx-row2 { grid-template-columns: 1fr; }
    .scx-bigsearch { flex-wrap: wrap; }
    .scx-bigsearch select { display: none; }
    .scx-bigsearch .scx-btn { width: 100%; }
    .scx-cta { padding: 28px 22px; }
    .scx-section { padding: 40px 0; }
}

/* Homepage */
.scx-home-hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.scx-home-hero h1 { font-size: clamp(32px, 4.2vw, 52px); max-width: 17ch; }
.scx-home-hero__art { position: absolute; right: -40px; top: 0; height: 100%; width: auto; max-width: 60%; opacity: .9; pointer-events: none; }
@media (max-width: 1100px) { .scx-home-hero__art { opacity: .35; } }
@media (max-width: 640px) { .scx-home-hero { padding: 48px 0 64px; } .scx-home-hero__art { display: none; } }
@media (max-width: 899px) { a.scx-post[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; } }
.scx-post__img { position: relative; }
.scx-post__img img { position: absolute; inset: 0; }

/* ==========================================================================
   Legacy bridge — aligns pages still using home.css components
   (about, team, help, contact, product pages, conference page)
   ========================================================================== */
body.scx .container { max-width: var(--sc-wrap); padding: 0 var(--sc-gutter); }
body.scx .btn { height: 40px; padding: 0 18px; border-radius: var(--sc-radius); font: 600 14px/1 var(--sc-font); letter-spacing: .01em; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
body.scx .btn-primary { background: var(--sc-navy); color: #fff; }
body.scx .btn-primary:hover { background: var(--sc-navy-900); color: #fff; }
body.scx .btn-secondary { background: var(--sc-orange-btn); color: #fff; }
body.scx .btn-secondary:hover { background: var(--sc-orange-btn-h); color: #fff; }
body.scx .btn-outline { background: #fff; color: var(--sc-navy); border-color: var(--sc-line); }
body.scx .btn-outline:hover { border-color: var(--sc-navy); background: var(--sc-navy-50); }
body.scx .section { padding: 56px 0; }
body.scx .breadcrumb { border-bottom: 1px solid var(--sc-line-2); padding: 0; }
body.scx .breadcrumb ol { padding: 12px 0; font-size: 13px; color: var(--sc-muted); margin: 0; }
body.scx .breadcrumb a { color: var(--sc-link); }
body.scx main h1 { letter-spacing: -.015em; }
body.scx main h2 { letter-spacing: -.01em; }
body.scx .form-control, body.scx .form-select { font-family: var(--sc-font); border-radius: var(--sc-radius); border-color: var(--sc-line); }
body.scx .form-control:focus, body.scx .form-select:focus { border-color: var(--sc-navy); box-shadow: 0 0 0 3px rgba(1, 58, 86, .12); outline: 0; }
body.scx [class$="-eyebrow"], body.scx .eyebrow { letter-spacing: .08em; font-weight: 600; }
body.scx .card, body.scx [class$="-card"] { border-radius: var(--sc-radius-lg); }
@media (max-width: 899px) {
    .scx-filterbox .scx-card { display: none; }
    .scx-filterbox ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
    .scx-filterbox ul::-webkit-scrollbar { display: none; }
    .scx-filterbox a { white-space: nowrap; }
    .scx-filterbox h2 { margin-bottom: 6px; }
}
@media (max-width: 640px) { .scx-subject { min-height: 0; flex-direction: row; align-items: center; gap: 16px; justify-content: flex-start; } }

/* Board application modal — wizard */
.scx-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; font-size: 13px; color: var(--sc-muted); }
.scx-steps li { display: flex; align-items: center; gap: 8px; flex: 1 1 0; padding-bottom: 8px; border-bottom: 3px solid var(--sc-line-2); }
.scx-steps li span { width: 22px; height: 22px; border-radius: 50%; background: var(--sc-line-2); color: var(--sc-ink-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11.5px; }
.scx-steps li.is-current { color: var(--sc-navy); font-weight: 600; border-bottom-color: var(--sc-orange); }
.scx-steps li.is-current span { background: var(--sc-orange); color: #fff; }
.scx-steps li.is-done { border-bottom-color: var(--sc-success); }
.scx-steps li.is-done span { background: var(--sc-success); color: #fff; }

.scx-wizardbox { max-width: 760px; display: flex; flex-direction: column; overflow: hidden; }
.scx-wizardbox .scx-modal__head { flex: 0 0 auto; }
.scx-wizardbox__form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: 0; }
.scx-wizardbox .scx-modal__body { flex: 1 1 auto; overflow-y: auto; padding: 24px; }
.scx-modal__foot { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--sc-line); background: var(--sc-bg-soft); }
.scx-modal__foot[hidden], .scx-modal__foot [hidden] { display: none !important; }
.scx-modal__foothint { margin-left: auto; font-size: 13px; color: var(--sc-muted); }
.scx-modal__foot [data-apply-back] + .scx-modal__foothint { margin-left: auto; }

.scx-wizard { list-style: none; display: flex; margin: 0; padding: 18px 24px 16px; border-bottom: 1px solid var(--sc-line); background: linear-gradient(180deg, var(--sc-navy-50), #fff); flex: 0 0 auto; }
.scx-wizard li { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--sc-muted); }
.scx-wizard li + li::before { content: ""; position: absolute; top: 17px; right: calc(50% + 24px); left: calc(-50% + 24px); height: 2px; border-radius: 2px; background: var(--sc-line); transition: background-color .25s; }
.scx-wizard li.is-done + li::before, .scx-wizard li.is-done + li.is-current::before { background: var(--sc-success); }
.scx-wizard__dot { position: relative; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--sc-line); color: var(--sc-muted); font-size: 14px; font-weight: 700; transition: all .2s; }
.scx-wizard__dot i { display: none; font-size: 14px; }
.scx-wizard li.is-current .scx-wizard__dot { border-color: var(--sc-orange); background: var(--sc-orange-btn); color: #fff; box-shadow: 0 0 0 5px rgba(235, 101, 0, .16); }
.scx-wizard li.is-done .scx-wizard__dot { border-color: var(--sc-success); background: var(--sc-success); color: #fff; }
.scx-wizard li.is-done .scx-wizard__dot b { display: none; }
.scx-wizard li.is-done .scx-wizard__dot i { display: inline; }
.scx-wizard__text { font-size: 13px; font-weight: 600; line-height: 1.25; }
.scx-wizard__text small { display: block; font-size: 11.5px; font-weight: 500; color: var(--sc-muted); margin-top: 2px; }
.scx-wizard li.is-current .scx-wizard__text { color: var(--sc-navy); }
.scx-wizard li.is-done .scx-wizard__text { color: var(--sc-ink-2); }

.scx-wizard__panel { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.scx-wizard__panel[hidden] { display: none; }
.scx-wizard__title { float: left; width: 100%; padding: 0; font-size: 18px; font-weight: 700; color: var(--sc-ink); margin: 0 0 -8px; }
.scx-wizard__lead { margin: 0 0 4px; font-size: 14.5px; line-height: 1.6; color: var(--sc-ink-2); }
.scx-wizard__label { display: block; font-size: 13.5px; font-weight: 600; color: var(--sc-ink); margin-bottom: 8px; }
.scx-wizard__label span { color: var(--sc-orange-600); }
.scx-wizard__note { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--sc-radius); background: var(--sc-orange-50); border: 1px solid #fadcc3; font-size: 13.5px; color: var(--sc-ink-2); line-height: 1.5; }
.scx-wizard__note > i { color: var(--sc-orange-600); font-size: 18px; flex: 0 0 auto; }
.scx-wizard__note > span { flex: 1 1 auto; }
.scx-wizard__note .scx-btn { flex: 0 0 auto; white-space: nowrap; }

.scx-rolecards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.scx-rolecard { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1.5px solid var(--sc-line); border-radius: var(--sc-radius-lg); background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.scx-rolecard:hover { border-color: #c3ccd3; }
.scx-rolecard input { position: absolute; opacity: 0; pointer-events: none; }
.scx-rolecard > i { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--sc-navy-50); color: var(--sc-navy); font-size: 15px; }
.scx-rolecard strong { display: block; font-size: 14px; color: var(--sc-ink); }
.scx-rolecard small { display: block; font-size: 12.5px; color: var(--sc-muted); margin-top: 2px; line-height: 1.4; padding: 0; }
.scx-rolecard:has(input:checked) { border-color: var(--sc-orange); background: var(--sc-orange-50); box-shadow: 0 0 0 1px var(--sc-orange) inset; }
.scx-rolecard:has(input:checked) > i { background: var(--sc-orange-btn); color: #fff; }
.scx-rolecard:has(input:focus-visible) { outline: 2px solid var(--sc-navy); outline-offset: 2px; }

.scx-review { display: grid; gap: 12px; }
.scx-review section { border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); overflow: hidden; }
.scx-review header { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; background: var(--sc-bg-soft); border-bottom: 1px solid var(--sc-line); }
.scx-review h4 { margin: 0; font-size: 13.5px; color: var(--sc-navy); }
.scx-review dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 14px; margin: 0; padding: 12px 14px; font-size: 14px; }
.scx-review dt { color: var(--sc-muted); }
.scx-review dd { margin: 0; color: var(--sc-ink); overflow-wrap: anywhere; white-space: pre-line; }

/* Searchable dropdown (select[data-scx-combo]) */
.scx-combo { position: relative; }
.scx-combo__input { padding-right: 38px !important; }
.scx-combo__caret { position: absolute; right: 14px; top: 17px; font-size: 12px; color: var(--sc-muted); cursor: pointer; }
.scx-combo__native { position: absolute !important; inset: auto 0 0 0; width: 100% !important; height: 1px !important; opacity: 0; pointer-events: none; border: 0 !important; padding: 0 !important; }
.scx-combo__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 240px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); }
.scx-combo__list[hidden] { display: none; }
.scx-combo.is-up .scx-combo__list { top: auto; bottom: calc(100% + 4px); }
.scx-combo__list li { padding: 8px 10px; border-radius: 6px; font-size: 14.5px; cursor: pointer; color: var(--sc-ink); }
.scx-combo__list li.is-active { background: var(--sc-navy-50); color: var(--sc-navy); }
.scx-combo__list li[aria-selected="true"] { font-weight: 600; }
.scx-combo__list .scx-combo__empty { color: var(--sc-muted); cursor: default; }

/* Reviewer wizard: verification */
.scx-wizard__stage { display: grid; gap: 16px; }
.scx-wizard__stage[hidden] { display: none; }
.scx-idchip, .scx-verified { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); background: var(--sc-bg-soft); }
.scx-idchip > i { font-size: 20px; color: var(--sc-navy); }
.scx-idchip > span, .scx-verified > span { flex: 1 1 auto; min-width: 0; }
.scx-idchip small, .scx-verified small { display: block; font-size: 12px; color: var(--sc-muted); }
.scx-idchip strong { font-size: 15px; letter-spacing: .02em; }
.scx-verified { background: var(--sc-success-50); border-color: #bfe3cf; }
.scx-verified > i { font-size: 22px; color: var(--sc-success); }
.scx-seg { display: flex; gap: 4px; padding: 4px; background: var(--sc-bg-soft); border: 1px solid var(--sc-line); border-radius: 10px; }
.scx-seg[hidden] { display: none; }
.scx-seg__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 7px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--sc-ink-2); cursor: pointer; }
.scx-seg__btn.is-on { background: #fff; color: var(--sc-navy); box-shadow: 0 1px 3px rgba(20, 33, 43, .14); }
.scx-seg__btn:focus-visible { outline: 2px solid var(--sc-navy); outline-offset: 1px; }
.scx-wizard__sendrow[hidden] { display: none; }
.scx-field--code { max-width: 260px; }
.scx-field--code[hidden] { display: none; }
.scx-field--code input { font-size: 22px; font-weight: 700; letter-spacing: .35em; font-variant-numeric: tabular-nums; text-align: center; height: 54px; }
.scx-field--code label { left: 50% !important; transform: translateX(-50%); }
.scx-linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--sc-link); text-decoration: underline; cursor: pointer; }
.scx-linkbtn:disabled { color: var(--sc-muted); text-decoration: none; cursor: default; }

/* Reviewer wizard: profile preview */
.scx-profilecard { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 16px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); background: linear-gradient(180deg, var(--sc-navy-50), #fff 70%); }
.scx-profilecard__avatar { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sc-navy); color: #fff; font-weight: 700; font-size: 16px; }
.scx-profilecard__main strong { display: block; font-size: 16px; color: var(--sc-ink); }
.scx-profilecard__meta { font-size: 13px; color: var(--sc-muted); overflow-wrap: anywhere; }
.scx-profilecard__meta .scx-pill { margin-left: 4px; }
.scx-profilecard__dl { grid-column: 2; margin: 8px 0 0; display: grid; gap: 6px; font-size: 14px; }
.scx-profilecard__dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; }
.scx-profilecard__dl > div[hidden] { display: none; }
.scx-profilecard__dl dt { color: var(--sc-muted); }
.scx-profilecard__dl dd { margin: 0; color: var(--sc-ink); overflow-wrap: anywhere; }
.scx-profilecard__edit { grid-column: 2; margin-top: 8px; font-size: 13px; color: var(--sc-link); }
.scx-field[hidden] { display: none; }

/* Reviewer wizard: terms */
.scx-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 16px; border-radius: var(--sc-radius); background: var(--sc-navy-50); border: 1px solid #d5e3eb; font-size: 14px; color: var(--sc-ink-2); }
.scx-terms p { margin: 0; flex: 1 1 320px; line-height: 1.55; }
.scx-terms p i { color: var(--sc-navy); margin-right: 4px; }
.scx-terms a { color: var(--sc-link); font-weight: 600; font-size: 13.5px; white-space: nowrap; }

/* Reviewer wizard: authenticator setup on the done screen */
.scx-appsetup { width: 100%; max-width: 560px; margin: 6px auto 8px; text-align: left; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); padding: 14px 16px; background: #fff; }
.scx-appsetup[hidden] { display: none; }
.scx-appsetup__intro { display: flex; align-items: center; gap: 12px; }
.scx-appsetup__intro[hidden] { display: none; }
.scx-appsetup__intro > i { font-size: 22px; color: var(--sc-navy); }
.scx-appsetup__intro > span { flex: 1 1 auto; font-size: 13.5px; color: var(--sc-ink-2); line-height: 1.5; }
.scx-appsetup__intro strong { display: block; color: var(--sc-ink); font-size: 14.5px; }
.scx-appsetup__steps { display: flex; gap: 18px; align-items: flex-start; }
.scx-appsetup__steps[hidden] { display: none; }
.scx-appsetup__qr { flex: 0 0 152px; width: 152px; height: 152px; border: 1px solid var(--sc-line); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 4px; background: #fff; }
.scx-appsetup__qr svg { width: 100%; height: 100%; }
.scx-appsetup__how { flex: 1 1 auto; min-width: 0; }
.scx-appsetup__how ol { margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; color: var(--sc-ink-2); line-height: 1.6; }
.scx-appsetup__how code { font-size: 12.5px; word-break: break-all; }
.scx-appsetup__confirm { display: flex; gap: 10px; align-items: flex-start; }
.scx-appsetup__confirm .scx-field--code { flex: 1 1 auto; }
.scx-appsetup__confirm .scx-btn { height: 54px; }
.scx-appsetup__ok { margin: 0; color: var(--sc-success); font-weight: 600; font-size: 14px; }
.scx-appsetup__ok[hidden] { display: none; }
@media (max-width: 640px) {
    .scx-appsetup__steps { flex-direction: column; align-items: center; }
    .scx-seg__btn { font-size: 12.5px; padding: 8px; }
    .scx-profilecard__dl > div { grid-template-columns: 1fr; gap: 0; }
    .scx-profilecard__dl, .scx-profilecard__edit { grid-column: 1 / -1; }
}

.scx-wizard__done { text-align: center; padding: 20px 8px 8px; justify-items: center; gap: 10px; }
.scx-wizard__doneicon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; background: var(--sc-success-50); color: var(--sc-success); }
.scx-wizard__done h3 { margin: 6px 0 0; font-size: 20px; }
.scx-wizard__done p { margin: 0 auto 8px; max-width: 50ch; color: var(--sc-ink-2); }
.scx-wizardbox [data-apply-error] { margin-top: 16px; }

@media (max-width: 640px) {
    .scx-wizard { padding: 14px 12px 12px; }
    .scx-wizard__text small { display: none; }
    .scx-wizard__text { font-size: 11.5px; }
    .scx-wizard li + li::before { right: calc(50% + 20px); left: calc(-50% + 20px); }
    .scx-rolecards { grid-template-columns: 1fr; }
    .scx-wizard__note { flex-wrap: wrap; }
    .scx-wizardbox .scx-modal__body { padding: 18px 16px; }
    .scx-modal__foot { padding: 12px 16px; }
    .scx-review dl { grid-template-columns: 1fr; gap: 2px; }
    .scx-review dd { margin-bottom: 8px; }
}

.scx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--sc-ink-2); line-height: 1.5; cursor: pointer; flex-wrap: wrap; }
.scx-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--sc-navy); flex: 0 0 auto; }
.scx-consent span { flex: 1 1 0; }
.scx-field.is-invalid input, .scx-field.is-invalid select, .scx-field.is-invalid textarea { border-color: #c0392b; }
.scx-field__err { display: block; color: #a3261d !important; font-size: 12.5px; margin-top: 4px; flex-basis: 100%; }
.scx-form code, .scx-modal code { background: var(--sc-bg-soft); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.scx-join { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px dashed var(--sc-line); border-radius: var(--sc-radius-lg); background: var(--sc-bg-soft); margin-top: 16px; }
.scx-join i.scx-join__icon { font-size: 26px; color: var(--sc-navy); }
.scx-join h3 { margin: 0 0 4px; font-size: 16.5px; }
.scx-join p { margin: 0; color: var(--sc-ink-2); font-size: 14px; }
.scx-join .scx-actions { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 640px) { .scx-join { flex-direction: column; align-items: flex-start; } .scx-join .scx-actions { margin-left: 0; } .scx-steps li { font-size: 0; gap: 0; justify-content: center; } }

/* VIRAT chat preview + flow */
.scx-chatmock { background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; color: var(--sc-ink); font-size: 13.5px; }
.scx-chatmock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--sc-bg-soft); border-bottom: 1px solid var(--sc-line); }
.scx-chatmock__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d3dae0; }
.scx-chatmock__bar b { margin-left: 8px; font-size: 12.5px; color: var(--sc-navy); letter-spacing: .04em; }
.scx-chatmock__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.scx-chatmock__msg { padding: 12px 14px; border-radius: 12px; background: var(--sc-bg-soft); line-height: 1.5; }
.scx-chatmock__msg p { margin: 4px 0 0; }
.scx-chatmock__msg sup { color: var(--sc-orange-600); font-weight: 700; }
.scx-chatmock__msg--me { align-self: flex-end; max-width: 85%; background: var(--sc-navy); color: #fff; border-bottom-right-radius: 4px; }
.scx-chatmock__refs { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--sc-link); }
.scx-chatmock__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.scx-chatmock__chips span { font-size: 11.5px; padding: 3px 9px; border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; color: var(--sc-ink-2); }
.scx-chatmock__input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--sc-line); border-radius: 12px; color: var(--sc-muted); }
.scx-chatmock__send { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--sc-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.scx-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.scx-flow li { position: relative; padding: 22px; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); }
.scx-flow li span { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--sc-navy); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.scx-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--sc-muted); font-size: 18px; }
.scx-flow h3 { margin: 0 0 4px; font-size: 17px; }
.scx-flow p { margin: 0; color: var(--sc-ink-2); font-size: 14.5px; }
@media (max-width: 899px) { .scx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scx-flow li::after { display: none; } }
@media (max-width: 640px) { .scx-flow { grid-template-columns: minmax(0, 1fr); } .scx-chatmock { font-size: 12.5px; } }

/* Subject landing hero */
.scx-subject-hero { border-bottom: 0; color: rgba(255,255,255,.88); position: relative; overflow: hidden; padding: 56px 0 48px; }
.scx-subject-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; border: 48px solid rgba(255,255,255,.07); pointer-events: none; }
.scx-subject-hero h1 { color: #fff; }
.scx-subject-hero .scx-lead { color: rgba(255,255,255,.85); }
.scx-subject-hero .scx-eyebrow { color: rgba(255,255,255,.75); }
.scx-subject-hero .scx-eyebrow i { margin-right: 6px; }

/* Hero mock-ups */
.scx-mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; color: var(--sc-ink); font-size: 13px; }
.scx-mock__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.scx-mock__body h4 { margin: 0; font-size: 15px; }
.scx-mock__body small { color: var(--sc-muted); }
.scx-mock__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scx-mock__stats div { background: var(--sc-bg-soft); border-radius: 10px; padding: 10px 12px; }
.scx-mock__stats b { display: block; font-size: 20px; color: var(--sc-navy); }
.scx-mock__stats span { font-size: 11.5px; color: var(--sc-muted); }
.scx-mock__rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--sc-line); border-radius: 10px; }
.scx-mock__rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; }
.scx-mock__rows li + li { border-top: 1px solid var(--sc-line-2); }
.scx-mock__rows li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scx-pill { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.scx-pill--new { background: var(--sc-navy-50); color: var(--sc-navy); }
.scx-pill--review { background: var(--sc-orange-50); color: var(--sc-orange-600); }
.scx-pill--rev { background: #fdf3d8; color: #8a6100; }
.scx-pill--ok { background: var(--sc-success-50); color: var(--sc-success); }
.scx-mock__bar { height: 8px; border-radius: 4px; background: var(--sc-line-2); overflow: hidden; }
.scx-mock__bar i { display: block; height: 100%; background: var(--sc-orange); }
.scx-mock__profile { display: flex; gap: 12px; align-items: center; }
.scx-mock__profile .scx-avatar { flex-basis: 52px; width: 52px; height: 52px; font-size: 17px; background: var(--sc-navy); color: #fff; }
.scx-mock__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.scx-mock__chips span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--sc-bg-soft); border: 1px solid var(--sc-line); }
.scx-mock__search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--sc-navy); border-radius: 10px; color: var(--sc-muted); }
.scx-mock__post { border: 1px solid var(--sc-line); border-radius: 10px; padding: 12px; }
.scx-mock__post p { margin: 6px 0 8px; line-height: 1.5; }
.scx-books { display: flex; gap: 10px; align-items: flex-end; justify-content: center; padding: 10px 0; }
.scx-book { width: 90px; aspect-ratio: 2 / 3; border-radius: 4px 8px 8px 4px; padding: 10px 8px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 6px 10px 20px rgba(0,0,0,.35); font-size: 10px; line-height: 1.25; position: relative; }
.scx-book::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.2); }
.scx-book b { font-size: 11.5px; }
.scx-book:nth-child(2) { width: 110px; }

/* Conference page alignment (layout and payment logic live in conference.php) */
body.scx .event-nav { top: var(--sc-header-h) !important; z-index: 1200; background: #fff; backdrop-filter: none; }
body.scx .event-nav__links a { font-family: var(--sc-font); font-weight: 500; font-size: 14px; color: var(--sc-ink-2); border-bottom: 2px solid transparent; border-radius: 0; }
body.scx .event-nav__links a:hover, body.scx .event-nav__links a.is-active { color: var(--sc-navy); border-bottom-color: var(--sc-orange); background: none; }
body.scx .event-hero h1 { font-family: var(--sc-serif); font-weight: 600; letter-spacing: -.01em; }
body.scx .conf-reg-tab { font-family: var(--sc-font); font-weight: 600; }
body.scx .conf-form-col input, body.scx .conf-form-col select, body.scx .conf-form-col textarea { font-family: var(--sc-font); border-radius: var(--sc-radius); }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.scx-date b { background: var(--sc-orange-btn); }
.scx-steps li.is-current span, .scx-chatmock__send { background: var(--sc-orange-btn); }
.scx-totop:hover { background: var(--sc-orange-btn) !important; }
.scx-footer__social a:hover { background: var(--sc-orange-btn); border-color: var(--sc-orange-btn); }
.scx-phead.scx-subject-hero p.scx-lead { color: rgba(255,255,255,.9); }

/* Montserrat runs wide: slightly tighter sizes for long titles and body text */
body.scx { font-size: 14.5px; }
.scx-article-title { font-size: clamp(24px, 2.4vw, 31px); font-weight: 700; letter-spacing: -.015em; }
.scx-phead h1, .scx-jhero h1, .scx-issuehead h1 { font-weight: 700; letter-spacing: -.02em; }
.scx-aitem__title, .scx-jrow h3, .scx-post__body h3 { font-size: 17px; font-weight: 600; }
.scx-nav__link { font-size: 14px; }
.scx-aitem__abs { font-size: 14.5px; }

/* Team profile cards */
.scx-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.scx-member { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.scx-member:hover { box-shadow: var(--sc-shadow); transform: translateY(-2px); }
.scx-member__photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--sc-navy-700), var(--sc-navy-900)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.scx-member__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sc-orange); }
.scx-member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.scx-member__initials { font-size: 44px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .02em; }
.scx-member__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.scx-member__body h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--sc-ink); }
.scx-member__role { margin: 0; font-size: 14px; font-weight: 600; color: var(--sc-orange-600); }
.scx-member__qual { margin: 4px 0 0; font-size: 13px; color: var(--sc-muted); line-height: 1.45; }
.scx-member__qual i { color: var(--sc-navy); margin-right: 4px; }
.scx-member__bio { margin: 8px 0 0; font-size: 13.5px; color: var(--sc-ink-2); line-height: 1.55; }
.scx-member__links { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; }
.scx-member__sx { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--sc-navy-50); color: var(--sc-navy); font-size: 12.5px; font-weight: 600; }
.scx-member__sx:hover { background: var(--sc-navy); color: #fff; }
.scx-member__links .scx-iconbtn { width: 34px; height: 34px; font-size: 14px; border: 1px solid var(--sc-line); border-radius: 50%; }
@media (max-width: 640px) { .scx-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .scx-member__body { padding: 12px; } .scx-member__body h3 { font-size: 15px; } .scx-member__sx { font-size: 11.5px; padding: 0 10px; } }

/* ---------- Insights: cover, gallery, photo count ---------- */
.scx-post__count { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(1, 26, 40, .72); color: #fff; font-size: 12px; font-weight: 600; }
.scx-blog-cover { max-width: 1060px; margin: 28px auto 8px; }
.scx-blog-cover__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--sc-navy-50); border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.scx-blog-cover__btn img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.scx-blog-gallery { margin: 36px 0 0; }
.scx-blog-gallery__title { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0 0 12px; }
.scx-blog-gallery__grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scx-blog-gallery__grid--1 { grid-template-columns: minmax(0, 1fr); }
.scx-blog-gallery__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scx-blog-gallery__item { padding: 0; border: 1px solid var(--sc-line); border-radius: 10px; overflow: hidden; background: var(--sc-navy-50); cursor: zoom-in; aspect-ratio: 4 / 3; }
.scx-blog-gallery__grid--1 .scx-blog-gallery__item { aspect-ratio: 16 / 9; }
.scx-blog-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.scx-blog-gallery__item:hover img, .scx-blog-gallery__item:focus-visible img { transform: scale(1.03); }
@media (max-width: 600px) { .scx-blog-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scx-blog-gallery__grid--1 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .scx-blog-gallery__item img { transition: none; } }

/* Blog image slider (posts with 2–4 images). The frame always has the
   standard blog image shape (1200 × 370), so every slide is the same height
   and moving between images never changes the page height; each image is
   shown whole (contain) over a blurred copy of itself. */
.scx-slider { max-width: 1060px; margin: 28px auto 8px; }
.scx-slider__frame { position: relative; aspect-ratio: 1200 / 370; width: 100%; border-radius: 14px; overflow: hidden; background: var(--sc-navy-900); }
.scx-slider__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; outline: 0; }
.scx-slider__track::-webkit-scrollbar { display: none; }
.scx-slider__track:focus-visible { box-shadow: inset 0 0 0 3px var(--sc-orange); }
.scx-slider__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; }
.scx-slider__bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(22px) brightness(.7) saturate(1.1); }
.scx-slider__btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.scx-slider__btn img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.scx-slider__slide.is-broken .scx-slider__btn, .scx-slider__slide.is-broken .scx-slider__bg { visibility: hidden; }
.scx-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); color: var(--sc-navy); font-size: 15px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); transition: opacity .2s, background-color .15s; z-index: 2; }
.scx-slider__nav:hover { background: #fff; }
.scx-slider__nav:focus-visible { outline: 3px solid var(--sc-orange); outline-offset: 2px; }
.scx-slider__nav--prev { left: 14px; }
.scx-slider__nav--next { right: 14px; }
.scx-slider__nav[disabled] { opacity: 0; pointer-events: none; }
.scx-slider__count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(1, 25, 38, .72); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.scx-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.scx-slider__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--sc-line); cursor: pointer; transition: width .2s, background-color .2s; }
.scx-slider__dot.is-on { width: 26px; background: var(--sc-orange); }
.scx-slider__dot:focus-visible { outline: 2px solid var(--sc-navy); outline-offset: 3px; }
@media (max-width: 640px) {
    .scx-slider { margin-top: 18px; }
    .scx-slider__frame { border-radius: 10px; }
    .scx-slider__nav { width: 36px; height: 36px; font-size: 13px; }
    .scx-slider__nav--prev { left: 8px; } .scx-slider__nav--next { right: 8px; }
}
@media (hover: none) { .scx-slider__nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .scx-slider__track { scroll-behavior: auto; } .scx-slider__dot { transition: none; } }
.scx-post__img--featured { aspect-ratio: auto; min-height: 280px; }
@media (max-width: 900px) { .scx-post__img--featured { aspect-ratio: 1200 / 370; min-height: 0; } }

/* Blog post byline: author photo (from the staff hub), name and role */
.scx-byline { display: flex; align-items: center; gap: 12px; margin: 6px 0 2px; }
.scx-byline__avatar { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--sc-navy); color: #fff; font-weight: 700; font-size: 18px; }
.scx-byline__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scx-byline__text { display: flex; flex-direction: column; min-width: 0; }
.scx-byline__text strong { font-size: 15px; color: var(--sc-ink); }
.scx-byline__text small { font-size: 13px; color: var(--sc-muted); }
