/* ==========================================================================
   Gundelik.az — Dövri nəşrlər (journals) module
   Per-journal accent comes from Journal::cssVars() on .j-scope:
   --j-accent (text-safe ink), --j-deep, --j-fill (button fill), --j-rule (bright accent),
   --j-soft (tinted background), --j-light (dark-mode ink), --j-cover (cover gradient)
   ========================================================================== */

.j-scope { --j-top: 118px; }
[data-theme="dark"] .j-scope {
  --j-accent: var(--j-light) !important;
  --j-deep: var(--j-light) !important;
  --j-soft: color-mix(in srgb, var(--j-rule) 16%, transparent) !important;
}
.j-main { padding: 34px var(--gutter) 0; }
.j-main [hidden], .j-viewer [hidden], .j-scope [hidden] { display: none !important; }
.j-section { margin-top: 52px; }
.j-block { margin-top: 32px; }
.mono-num { font-variant-numeric: tabular-nums; }
.j-note { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ type */
.j-h1 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; }
.j-h1.lg { font-size: clamp(29px, 3.3vw, 44px); letter-spacing: -.032em; }
.j-h2 { font-family: var(--font-serif); font-size: clamp(23px, 2.5vw, 33px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.j-h2.sm { font-size: clamp(22px, 2.3vw, 31px); letter-spacing: -.028em; }
.j-h2.xs { font-size: clamp(19px, 2vw, 25px); letter-spacing: -.024em; }
.j-h2.mb { margin-bottom: 18px; }
.j-h3 { font-size: 16px; font-weight: 700; letter-spacing: -.022em; margin-bottom: 15px; }
.j-h3.lg { font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 6px; }
.j-h3.serif { font-family: var(--font-serif); font-size: clamp(19px, 2vw, 25px); letter-spacing: -.024em; margin-bottom: 14px; }
.j-display { font-family: var(--font-serif); font-size: clamp(29px, 3.4vw, 46px); font-weight: 700; line-height: 1.04; letter-spacing: -.032em; text-wrap: balance; }
.j-display.md { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.04; }
.j-title { font-family: var(--font-serif); font-size: clamp(27px, 3.4vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.j-lead { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 60ch; }
.j-kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--j-deep); margin-bottom: 14px; }
.j-label { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; }
.j-label.deep { color: var(--j-deep); margin-bottom: 12px; }
.j-label.accent { color: var(--j-accent); letter-spacing: .08em; margin-bottom: 0; }
.j-label.flat { margin-bottom: 0; letter-spacing: .08em; }
.j-sub { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; margin-bottom: 20px; }
.j-sub.lg { font-size: 16px; line-height: 1.68; margin: 15px 0 0; max-width: none; }
.j-intro { max-width: 70ch; margin-bottom: 30px; }
.j-intro p { margin-top: 14px; font-size: 15.5px; line-height: 1.66; color: var(--muted); }
.j-intro.row { max-width: none; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; margin-bottom: 28px; }
.j-intro.row > div:first-child { flex: 1 1 380px; }
.j-intro.row p { max-width: 62ch; }
.j-intro.tight { margin-bottom: 22px; }
.j-serif-sm { font-family: var(--font-serif); font-size: 14.5px; line-height: 1.68; color: var(--ink); }
.j-serif-sm.lg { font-size: 15px; line-height: 1.72; }
.j-link { font-size: 13.5px; font-weight: 700; color: var(--j-accent); white-space: nowrap; }
.j-link:hover { color: var(--j-accent); text-decoration: underline; text-underline-offset: 3px; }
.j-link.sm { font-size: 13px; display: inline-block; margin-top: 14px; }
.j-head .j-link.sm { margin-top: 0; }

.j-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.j-head.tight { margin-bottom: 14px; gap: 12px; }
.j-head .rule { flex: 1; height: 1px; background: var(--line); min-width: 20px; }

/* ------------------------------------------------------------------ buttons, pills, chips */
.j-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; background: var(--j-fill, var(--brand-700)); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: border-color .18s, color .18s, background .18s, transform .18s; cursor: pointer; font-family: var(--font-ui); }
.j-btn:hover { color: #fff; filter: brightness(1.08); }
.j-btn.ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.j-btn.ghost:hover { border-color: var(--j-accent); color: var(--j-accent); filter: none; }
.j-btn.ghost.accent { color: var(--j-accent); }
.j-btn.ghost.danger-hover:hover { border-color: var(--danger); color: var(--danger-ink); }
.j-btn.ghost.brand:hover { border-color: var(--brand-500); color: var(--brand-700); }
.j-btn.lg { height: 48px; padding: 0 22px; border-radius: 13px; font-size: 14.5px; }
.j-btn.lg.ghost { padding: 0 20px; }
.j-btn.xl { height: 52px; border-radius: 13px; font-size: 15px; }
.j-btn.sm { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 12.5px; }
.j-btn.block { display: flex; width: 100%; }
.j-btn.mt { margin-top: 10px; }
.j-btn.glow { box-shadow: 0 10px 24px color-mix(in srgb, var(--j-fill) 30%, transparent); }
.j-btn.self-start { align-self: flex-start; margin-top: 18px; }
.j-btn .dot, .dot.rule { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot.rule { background: var(--j-rule); }
.j-btn[disabled] { opacity: .6; cursor: default; }
.j-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

.j-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .07em; white-space: nowrap; }
.j-pill.fill { background: var(--j-fill); color: #fff; }
.j-pill.outline { border: 1px solid var(--line); color: var(--muted); letter-spacing: .04em; }
.j-pill.soft { background: var(--j-soft); color: var(--j-accent); }
.j-pill.muted { background: var(--surface-2); color: var(--muted); }
.j-pill.tb { display: none; }
.j-tags { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 12px; }
.j-tags.lg { gap: 8px; margin-bottom: 18px; }
.j-tags .j-pill { text-transform: uppercase; }

.j-chip-sm { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); font-size: 10.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.j-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.j-chip { padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.j-chips.sm { gap: 7px; }
.j-chip.soft { padding: 6px 12px; background: var(--surface-2); border: 0; font-size: 12.5px; }
a.j-chip.soft:hover { color: var(--brand-700); }
.j-tags-sq { display: flex; flex-wrap: wrap; gap: 7px; }
.j-tags-sq span { padding: 6px 12px; border-radius: 9px; background: var(--surface-2); font-size: 12.5px; font-weight: 600; }

.j-icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; background: var(--surface); transition: border-color .18s, background .18s; }
.j-icon-btn.sm { width: 36px; height: 36px; border-radius: 9px; }
.j-icon-btn.pdf { color: var(--danger-ink); }
.j-icon-btn.pdf:hover { border-color: var(--danger); background: rgba(229,72,77,.06); color: var(--danger-ink); }
.j-icon-btn.read { color: var(--j-accent); }
.j-icon-btn.read:hover { border-color: var(--j-rule); background: var(--j-soft); color: var(--j-accent); }

.j-seg { display: flex; gap: 6px; padding: 5px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; }
.j-seg button { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 13px var(--font-ui); white-space: nowrap; transition: background .18s, color .18s; }
.j-seg button.is-active { background: var(--surface); color: var(--j-accent, var(--brand-700)); box-shadow: var(--shadow-sm); }
.j-seg button.brand.is-active { color: var(--brand-700); }
.j-seg.sm { gap: 4px; padding: 4px; border-radius: 11px; margin-inline-start: auto; }
.j-seg.sm button { height: 32px; padding: 0 13px; border-radius: 8px; font-size: 12.5px; }

/* ------------------------------------------------------------------ cards, grids, lists */
.j-card { padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.j-card.flush { padding: 0; overflow: hidden; }
.j-soft-card { padding: 20px; border-radius: var(--r-card); background: var(--j-soft); border: 1px solid var(--line); }
.j-soft-links { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.j-soft-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 8px 15px; border-radius: 11px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; word-break: break-word; }
.j-soft-links a span { color: var(--j-accent); display: flex; flex-shrink: 0; }
.j-soft-links a:hover { color: var(--j-accent); }
.j-deadline { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.j-deadline b { font-variant-numeric: tabular-nums; }

.j-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 22px; }
.j-meta.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.j-meta.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.j-meta.n-1 { grid-template-columns: minmax(0, 1fr); }
.j-meta > div { background: var(--surface); padding: 13px 15px; min-width: 0; }
.j-meta .l { font-size: 10px; font-weight: 700; letter-spacing: .07em; color: var(--muted); }
.j-meta .v { font: 700 14.5px var(--font-mono); margin-top: 6px; font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; }

.j-kv { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.j-kv.mt-lg { margin-top: 18px; }
.j-kv > div { display: flex; gap: 12px; align-items: baseline; padding: 11px 14px; background: var(--surface); }
.j-kv .l { flex: 0 0 104px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; color: var(--muted); text-transform: uppercase; }
.j-kv .l.narrow { flex-basis: 92px; }
.j-kv .v { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.j-copy-sq { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line); background: transparent; color: var(--muted); display: grid; place-items: center; flex-shrink: 0; align-self: center; }
.j-copy-sq:hover { color: var(--j-accent); border-color: var(--j-rule); }
.j-copy-sq.ok { color: var(--green-ink); border-color: var(--green); }

.j-stats { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 220px; }
.j-stats.n-1 { grid-template-columns: minmax(0, 1fr); }
.j-stats.n-3 > div:last-child { grid-column: 1 / -1; }
.j-stats > div { background: var(--surface); padding: 14px 18px; }
.j-stats b { display: block; font-size: clamp(19px, 2vw, 22px); font-weight: 700; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.j-stats span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }

.j-list { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.j-row { display: flex; flex-wrap: wrap; gap: 14px 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); transition: background .16s; color: var(--ink); }
.j-list > .j-row:last-child, .j-list > :last-child > .j-row, .j-toc-item:last-child, .j-list > .j-row:last-of-type { border-bottom: 0; }
.j-row:hover { background: var(--paper); }
.j-row.flat { border-bottom: 0; padding: 17px 18px; }
.j-row.flat:hover { background: transparent; }
.j-row.has-bar { align-items: center; }
.j-row .bar { width: 4px; align-self: stretch; min-height: 44px; border-radius: 4px; background: var(--j-rule); flex-shrink: 0; }
.j-row .pg { flex: 0 0 58px; font-size: 13px; font-weight: 500; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.j-row .body { flex: 1 1 320px; min-width: 0; }
.j-row .top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; }
.j-row .top .jn { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--j-accent); text-transform: uppercase; }
.j-row .top .mono { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.j-row h3, .j-row h4 { font-family: var(--font-serif); font-size: 17.5px; font-weight: 600; line-height: 1.38; margin: 0; }
.j-row h4 { font-size: 17px; }
.j-row h3 a, .j-row h4 a { color: var(--ink); }
.j-row h3 a:hover, .j-row h4 a:hover { color: var(--j-accent); }
.j-row .au { margin-top: 8px; font-size: 13px; color: var(--muted); }
.j-row .side { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
.j-row .side .date { font-size: 11.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; margin-inline-end: 4px; }
.j-row.link { align-items: center; padding: 15px 18px; }
.j-row.link .t { display: block; font-family: var(--font-serif); font-size: 16px; font-weight: 600; line-height: 1.38; }
.j-row.link .au { display: block; font-size: 12.5px; margin-top: 6px; }
.j-row.link .body { flex-basis: 280px; }
.j-row.link .arr { flex-shrink: 0; margin-inline-start: auto; color: var(--j-accent); }
.j-row.link:hover .t { color: var(--j-accent); }
.j-row-empty { color: var(--muted); font-size: 14px; }
.j-list-foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 20px; align-items: center; border-top: 1px solid var(--line); }
.j-foot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }

/* two columns: content + sidebar */
.j-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 2.8vw, 42px); align-items: start; }
.j-cols.wide-side { grid-template-columns: minmax(0, 1fr) 380px; }
.j-col-main { min-width: 0; }
.j-col-side { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.j-sticky { position: sticky; top: calc(var(--j-top) + 20px); }

/* prose (admin HTML) */
.j-prose { font-family: var(--font-serif); font-size: 17px; line-height: 1.76; color: var(--ink); max-width: 70ch; }
.j-prose > * { margin: 0 0 18px; }
.j-prose > :last-child { margin-bottom: 0; }
.j-prose ul, .j-prose ol { padding-inline-start: 24px; }
.j-prose li { margin-bottom: 9px; }
.j-prose a { color: var(--j-accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--j-accent) 35%, transparent); text-underline-offset: 3px; }
.j-prose h2, .j-prose h3, .j-prose h4 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.02em; margin: 26px 0 12px; line-height: 1.25; }
.j-prose h2 { font-size: 23px; } .j-prose h3 { font-size: 20px; } .j-prose h4 { font-size: 17px; }
.j-prose img { border-radius: var(--r-img); height: auto; }
.j-about { margin-top: 22px; }
.j-about > p:first-child { font-size: 19px; font-weight: 600; line-height: 1.62; }

/* ==================================================================== JOURNAL BAND */
.j-band { position: sticky; top: 60px; z-index: 55; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); font-family: var(--font-ui); }
.j-band-in { display: flex; align-items: stretch; gap: clamp(12px, 1.6vw, 22px); height: 58px; padding: 0 var(--gutter); }
.j-band-id { display: flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--ink); min-width: 0; }
.j-band-id:hover { color: var(--ink); }
.j-band .mini { width: 24px; height: 33px; border-radius: 2px 5px 5px 2px; background: var(--j-cover); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; flex-shrink: 0; }
.j-band .mini::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(90deg, rgba(0,0,0,.32), rgba(255,255,255,.14) 62%, rgba(0,0,0,.04)); }
.j-band .nm { display: flex; flex-direction: column; min-width: 0; max-width: 250px; }
.j-band .nm b { font-family: var(--font-serif); font-size: 15px; font-weight: 700; line-height: 1.14; letter-spacing: -.018em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-band .nm span { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--j-accent); margin-top: 2px; white-space: nowrap; }
.j-band .nm span i { width: 5px; height: 5px; border-radius: 50%; background: var(--j-rule); }
.j-band .vsep { width: 1px; background: var(--line); flex-shrink: 0; margin: 14px 0; }
.j-navwrap { flex: 1; min-width: 0; display: flex; align-items: stretch; }
.j-tabs { flex: 0 1 auto; min-width: 0; display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
.j-tabs::-webkit-scrollbar { display: none; }
.j-tab { flex: 0 0 auto; position: relative; display: flex; align-items: center; padding: 0 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .18s; }
.j-tab:hover { color: var(--j-accent); }
.j-tab.is-active { color: var(--ink); }
.j-tab.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--j-rule); }
.j-more { display: none; position: relative; flex: 0 0 auto; align-items: stretch; }
.j-more summary { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; color: var(--muted); font: 600 13.5px var(--font-ui); cursor: pointer; white-space: nowrap; list-style: none; }
.j-more summary::-webkit-details-marker { display: none; }
.j-more summary:hover { color: var(--j-accent); }
.j-more summary svg { transition: transform .18s; }
.j-more[open] summary svg { transform: rotate(180deg); }
.j-more-menu { position: absolute; top: 100%; right: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; animation: gzDrop .16s ease-out; z-index: 5; }
.j-more-menu a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.j-more-menu a:hover { background: var(--paper); color: var(--j-accent); }
.j-more-menu a.is-active { color: var(--j-accent); background: var(--j-soft); }
.j-band-ctx { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.j-crumb { display: none; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: var(--surface-2); font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.j-crumb svg { flex-shrink: 0; opacity: .6; }
.j-cta { display: none; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--j-fill); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.j-cta:hover { color: #fff; filter: brightness(1.08); }
@media (min-width: 1000px) { .j-crumb { display: inline-flex; } }
@media (min-width: 1240px) { .j-cta { display: inline-flex; } }
@media (max-width: 619.98px) { .j-band .nm { display: none; } .j-band-in { gap: 10px; } }
@media (min-width: 900px) and (max-width: 1099.98px) {
  .j-band.more-900 .j-more { display: flex; }
  .j-band.more-900 .j-tab:nth-child(n+5) { display: none; }
  .j-band.more-900 .j-more-menu a:nth-child(-n+4) { display: none; }
}
@media (min-width: 1100px) and (max-width: 1299.98px) {
  .j-band.more-1100 .j-more { display: flex; }
  .j-band.more-1100 .j-tab:nth-child(n+6) { display: none; }
  .j-band.more-1100 .j-more-menu a:nth-child(-n+5) { display: none; }
}
@media (min-width: 1300px) and (max-width: 1499.98px) {
  .j-band.more-1300 .j-more { display: flex; }
  .j-band.more-1300 .j-tab:nth-child(n+7) { display: none; }
  .j-band.more-1300 .j-more-menu a:nth-child(-n+6) { display: none; }
}
@media (min-width: 1500px) {
  .j-band.more-1500 .j-more { display: flex; }
  .j-band.more-1500 .j-tab:nth-child(n+9) { display: none; }
  .j-band.more-1500 .j-more-menu a:nth-child(-n+8) { display: none; }
}
@media (min-width: 900px) { .j-band:not([class*="more-"]) .j-tabs, .j-band .j-tabs { -webkit-mask-image: none; mask-image: none; } }

/* ==================================================================== COVERS */
.jcover.j-cv-lg .issn { font-size: 8px; letter-spacing: .14em; }
.jcover.j-cv-lg .name { font-size: clamp(15px, 1.5vw, 19px); line-height: 1.14; }
.jcover.j-cv-lg .no { font-size: 10px; margin-top: 10px; }
.jcover.j-cv-lg .in { padding: clamp(15px, 1.6vw, 20px) clamp(14px, 1.5vw, 18px) clamp(15px, 1.6vw, 20px) clamp(20px, 2.2vw, 26px); }
.jcover.j-cv-xl { border-radius: 4px 12px 12px 4px; box-shadow: 0 20px 40px -18px rgba(12,33,38,.34); }
.jcover.j-cv-xl .in { padding: clamp(18px, 2vw, 26px) clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px) clamp(26px, 2.8vw, 34px); }
.jcover.j-cv-xl .issn { font-size: 9px; letter-spacing: .15em; color: rgba(255,255,255,.8); }
.jcover.j-cv-xl .bar { width: 30px; margin-top: 13px; }
.jcover.j-cv-xl .name { font-size: clamp(19px, 2vw, 25px); line-height: 1.1; }
.jcover.j-cv-xl .no { font-size: 11.5px; margin-top: 12px; }
.jcover.j-cv-xl::before { width: 14px; max-width: none; }

.j-icover { display: block; }
.j-icover .in { padding: 14px 12px 14px 19px; }
.j-ic-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.j-ic-no { font: 700 clamp(20px, 2vw, 26px) var(--font-mono); color: #fff; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.j-ic-glass { padding: 4px 9px; border-radius: 7px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); font: 700 11px var(--font-mono); color: #fff; }
.j-ic-badge { padding: 3px 8px; border-radius: 6px; font: 700 9.5px var(--font-ui); letter-spacing: .05em; white-space: nowrap; }
.j-ic-badge.cur { background: #fff; color: var(--j-fill); }
.j-ic-badge.pend { background: rgba(255,255,255,.22); color: #fff; }
.j-ic-bot { display: block; }
.j-ic-name { display: block; font-family: var(--font-serif); font-size: 12.5px; font-weight: 700; color: #fff; line-height: 1.16; }
.j-ic-lbl { display: block; margin-top: 6px; font: 500 10px var(--font-mono); color: rgba(255,255,255,.82); font-variant-numeric: tabular-nums; }
.j-icover.v-shelf .j-ic-name { font-size: 13px; }
.j-icover.v-shelf .j-ic-lbl { font-weight: 700; font-size: 10.5px; }
.j-icover.is-pending { box-shadow: none; }

/* ==================================================================== INDEX (Dövri nəşrlər) */
.j-idx-hero { position: relative; overflow: hidden; background: var(--journal-band); border-bottom: 1px solid var(--journal-line); }
.j-idx-hero-in { position: relative; padding-top: 26px; padding-bottom: 44px; }
.j-warm-crumbs { color: var(--journal-muted); margin-bottom: 26px; }
.j-warm-crumbs a { color: var(--journal-muted); }
.j-warm-crumbs a:hover { color: var(--gold-ink); }
.j-warm-crumbs .cur { color: var(--journal-ink); }
.j-idx-head { display: flex; flex-wrap: wrap; gap: 34px; align-items: flex-end; }
.j-idx-head .txt { flex: 1 1 440px; min-width: 0; }
.j-idx-head .kick { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: var(--gold); }
.j-idx-head .kick span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--journal-gold); }
.j-idx-head h1 { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 68px); font-weight: 600; line-height: .96; letter-spacing: -.04em; color: var(--journal-ink); }
.j-idx-head p { margin-top: 18px; font-size: 16.5px; line-height: 1.68; color: var(--journal-muted); max-width: 62ch; }
.j-idx-stats { display: flex; flex-wrap: wrap; gap: 30px; }
.j-idx-stats b { display: block; font: 700 clamp(26px, 3vw, 40px) var(--font-serif); color: var(--journal-ink); line-height: 1; }
.j-idx-stats span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--journal-gold); margin-top: 8px; }

.j-idx-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.j-search { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; max-width: 340px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.j-search:focus-within { border-color: var(--gold); }
.j-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 14px var(--font-ui); color: var(--ink); }
.j-search input::-webkit-search-cancel-button { cursor: pointer; }
.j-fields { display: flex; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
.j-fchip { padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 13.5px var(--font-ui); transition: border-color .18s, color .18s, background .18s; }
.j-fchip:hover { color: var(--ink); }
.j-fchip.is-active { background: var(--surface); border-color: var(--gold); color: var(--ink); }

.j-jlist { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.j-jcard { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.6vw, 38px); padding: clamp(20px, 2.4vw, 30px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
.j-jcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.j-jcard-cover { flex: 0 0 clamp(150px, 15vw, 196px); display: block; }
.j-jcard-body { flex: 1 1 420px; min-width: min(260px, 100%); display: flex; flex-direction: column; }
.j-jcard-body h2 { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.08; letter-spacing: -.028em; }
.j-jcard-body h2 a { color: var(--ink); }
.j-jcard-body h2 a:hover { color: var(--j-accent); }
.j-jcard-body > p { margin-top: 12px; font-size: 15px; line-height: 1.66; color: var(--muted); max-width: 66ch; }
.j-jcard .j-meta { margin-top: 20px; border-radius: 12px; }
.j-jcard .j-meta > div { padding: 12px 14px; }

/* ==================================================================== JOURNAL HOME */
.j-hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.j-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 44px solid var(--j-soft); pointer-events: none; }
.j-hero-in { position: relative; z-index: 1; padding-top: clamp(30px, 3.4vw, 52px); padding-bottom: clamp(30px, 3.4vw, 52px); display: flex; flex-wrap: wrap; gap: clamp(28px, 3.4vw, 54px); align-items: center; }
.j-hero.slim .j-hero-in { padding-top: clamp(26px, 3vw, 44px); padding-bottom: clamp(26px, 3vw, 44px); gap: clamp(24px, 3vw, 48px); }
.j-hero-cover { flex: 0 0 clamp(190px, 20vw, 260px); }
.j-hero-cover.sm { flex-basis: clamp(146px, 15vw, 196px); }
.j-hero-body { flex: 1 1 440px; min-width: min(280px, 100%); }
.j-hero.slim .j-hero-body { flex-basis: 400px; }
.j-hero .j-actions { margin-top: 22px; gap: 10px; }
.j-issue-theme { margin: -6px 0 16px; font-size: 14.5px; color: var(--muted); }
.j-issue-theme b { color: var(--ink); }
.j-issue-theme.lg { margin: 10px 0 0; font-family: var(--font-serif); font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; color: var(--j-accent); }
.j-facts-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.j-person-line { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.j-person-line .nm { font-size: 15px; font-weight: 700; }
.j-person-line .rl { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.j-ring { position: relative; width: 62px; height: 62px; flex-shrink: 0; display: grid; place-items: center; color: var(--j-accent); }
.j-ring > svg { position: absolute; inset: 0; }
.j-ring .avatar { position: relative; color: var(--j-accent); }
.j-ring.big { width: 104px; height: 104px; color: var(--j-rule); }
.j-quote { font-family: var(--font-serif); font-size: 15.5px; line-height: 1.66; color: var(--ink); }

.j-shelf { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.j-shelf-item { flex: 0 0 clamp(140px, 16vw, 180px); scroll-snap-align: start; color: var(--ink); display: block; }
.j-shelf-item:hover { color: var(--j-accent); }
.j-shelf-item .t { display: block; margin-top: 11px; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.j-shelf-item .s { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ==================================================================== ABOUT */
.j-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.j-steps li { display: flex; gap: 18px; align-items: flex-start; position: relative; }
.j-steps li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--line); }
.j-steps .no { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 2px solid var(--j-rule); color: var(--j-accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; position: relative; z-index: 1; }
.j-steps .tx { flex: 1; min-width: 0; padding-bottom: 22px; }
.j-steps .hd { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding-top: 4px; }
.j-steps .hd b { font-size: 15.5px; }
.j-steps .hd .mono { font-size: 12px; color: var(--j-accent); font-variant-numeric: tabular-nums; }
.j-steps p { margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 60ch; }

/* ==================================================================== FOUNDERS */
.j-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.j-founders.n-1 { grid-template-columns: minmax(0, 760px); }
.j-founder { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; }
.j-founder .hd { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.j-founder .mark { width: 62px; height: 62px; border-radius: 15px; background: var(--surface-2); display: grid; place-items: center; font-size: 17px; font-weight: 700; color: var(--j-accent); flex-shrink: 0; object-fit: contain; }
.j-founder .hd > div { min-width: 0; }
.j-founder h2 { margin-top: 7px; font-family: var(--font-serif); font-size: clamp(18px, 1.9vw, 23px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.j-founder .desc { font-size: 14.5px; line-height: 1.68; color: var(--muted); flex: 1; margin-bottom: 20px; }
.j-docs { margin-top: 34px; padding: clamp(20px, 2.4vw, 30px); }
.j-docs .j-h3 { margin-bottom: 18px; }
.j-docs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.j-doc { display: flex; gap: 13px; align-items: center; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); transition: border-color .18s; }
.j-doc:hover { border-color: var(--j-rule); color: var(--ink); }
.j-doc svg { color: var(--danger-ink); flex-shrink: 0; }
.j-doc b { display: block; font-size: 14px; line-height: 1.3; }
.j-doc small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 5px; }

/* ==================================================================== BOARD */
.j-chief { display: flex; flex-wrap: wrap; gap: clamp(22px, 2.6vw, 38px); padding: clamp(22px, 2.6vw, 34px); border-radius: 22px; position: relative; overflow: hidden; }
.j-chief .ph { flex: 0 0 clamp(150px, 16vw, 200px); aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--j-cover); box-shadow: var(--shadow-md); display: grid; place-items: center; }
.j-chief .ph img { width: 100%; height: 100%; object-fit: cover; }
.j-chief .ph .ini, .j-lead .ph .ini, .j-sch-head .ph .ini { font-family: var(--font-serif); font-weight: 700; color: rgba(255,255,255,.92); font-size: clamp(44px, 5vw, 64px); letter-spacing: -.02em; }
.j-chief .tx { flex: 1 1 420px; min-width: min(270px, 100%); }
.j-chief h2 { font-family: var(--font-serif); font-size: clamp(25px, 2.6vw, 34px); font-weight: 700; line-height: 1.08; letter-spacing: -.028em; }
.j-chief .deg { margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--j-accent); }
.j-chief .org { margin-top: 5px; font-size: 14px; color: var(--ink); }
.j-chief p { margin-top: 16px; font-size: 15px; line-height: 1.68; max-width: 66ch; }
.j-chief .j-actions { margin-top: 18px; }
.j-country { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cc { padding: 3px 7px; border-radius: 6px; background: var(--surface-2); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink); flex-shrink: 0; }
.j-leads { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.j-leads.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.j-leads.n-1 { grid-template-columns: minmax(0, 560px); }
.j-lead { display: flex; gap: 18px; border-radius: 18px; transition: transform .25s, box-shadow .25s; }
.j-lead:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.j-lead .ph { flex: 0 0 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--j-cover); display: grid; place-items: center; }
.j-lead .ph img { width: 100%; height: 100%; object-fit: cover; }
.j-lead .ph .ini { font-size: 28px; }
.j-lead .tx { flex: 1; min-width: 0; }
.j-lead h3 { margin-top: 8px; font-family: var(--font-serif); font-size: 18px; font-weight: 700; line-height: 1.24; }
.j-lead h3 a { color: var(--ink); }
.j-lead h3 a:hover { color: var(--j-accent); }
.j-lead .sm, .j-member .sm { margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.5; display: block; }
.j-lead .ft { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
.ctry { font-size: 12px; color: var(--muted); font-weight: 600; }
.orc { margin-inline-start: auto; font-size: 11px; font-weight: 600; color: var(--j-accent); }
.j-members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.j-member { text-align: start; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; font-family: var(--font-ui); color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.j-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--j-rule); }
.j-member .avatar { margin-bottom: 13px; color: var(--j-accent); }
.j-member .nm { font-size: 15px; font-weight: 700; line-height: 1.28; }
.j-member .sm { font-size: 12.5px; margin-top: 4px; line-height: 1.45; }
.j-member .ft { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); width: 100%; min-width: 0; }
.j-member .sm + .ft, .j-member .nm + .ft { margin-top: 11px; }
.j-member .fld { flex: 1 1 100%; min-width: 0; font-size: 10.5px; font-weight: 600; color: var(--j-accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.j-council { margin-top: 46px; padding: clamp(20px, 2.4vw, 30px); border-radius: 20px; box-shadow: none; }
.j-council .j-head { margin-bottom: 20px; }
.j-council-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.j-council-grid .it { background: var(--surface); display: flex; align-items: center; gap: 13px; padding: 14px 16px; }
.j-council-grid .tx { flex: 1; min-width: 0; }
.j-council-grid .nm { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.j-council-grid .nm:hover { color: var(--j-accent); }
.j-council-grid .org { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.j-council-grid .orc { margin: 0; flex-shrink: 0; font-size: 10.5px; }
.j-member-modal .modal-card { max-width: 620px; border-radius: 22px; padding: clamp(22px, 3vw, 34px); position: relative; }
.j-modal-x { position: absolute; top: 16px; right: 16px; border-radius: 11px; color: var(--muted); }
.j-mm-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding-inline-end: 40px; }
.j-mm-head .tx { flex: 1 1 260px; min-width: 0; }
.j-mm-head h3 { margin-top: 9px; font-family: var(--font-serif); font-size: 24px; font-weight: 700; line-height: 1.2; }
.j-mm-head .sm { margin-top: 5px; font-size: 14px; color: var(--muted); }
.j-mm-head .avatar { position: relative; color: var(--j-accent); }
.j-mm-bio { margin-top: 20px; font-family: var(--font-serif); font-size: 16px; line-height: 1.7; }
.j-mm-bio:empty { display: none; }
.j-member-modal .j-meta:empty { display: none; }

/* ==================================================================== ISSUES ARCHIVE */
.j-archive { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(22px, 2.6vw, 40px); align-items: start; }
.j-rail { position: sticky; top: calc(var(--j-top) + 20px); }
.j-rail .j-label { margin-bottom: 12px; }
.j-rail-list { display: flex; flex-direction: column; gap: 4px; max-height: 62vh; overflow: auto; padding-bottom: 4px; }
.j-rail-list a { display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 10px; color: var(--ink); font: 700 14px var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; transition: background .16s, color .16s; }
.j-rail-list a span { font-size: 11px; font-weight: 500; color: var(--muted); }
.j-rail-list a:hover { background: var(--surface-2); }
.j-rail-list a.is-active { background: var(--j-soft); color: var(--j-accent); }
.j-years { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.j-year { scroll-margin-top: calc(var(--j-top) + 24px); }
.j-year-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.j-year-head h2 { font-family: var(--font-serif); font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.j-igrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.j-icard { display: flex; flex-direction: column; min-width: 0; color: var(--ink); }
.j-icard .cv { display: block; }
.j-icard a.cv:hover .jcover { transform: translateY(-5px); box-shadow: 0 18px 32px -14px rgba(12,33,38,.34); }
.j-icard .tx { display: flex; flex-direction: column; margin-top: 12px; }
.j-icard .t { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.j-icard a.t:hover { color: var(--j-accent); }
.j-icard .s { margin-top: 4px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.j-icard .s:empty { display: none; }
.j-icard .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.j-icard .acts a { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.j-icard .acts .read { color: var(--j-accent); }
.j-icard .acts .read:hover { border-color: var(--j-rule); background: var(--j-soft); }
.j-icard .acts .pdf { color: var(--danger-ink); }
.j-icard .acts .pdf:hover { border-color: var(--danger); }
.j-icard.is-pending { opacity: .45; }
.j-older { display: flex; justify-content: center; padding-top: 8px; }

/* table view */
.j-years.is-table .j-igrid { display: block; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.j-years.is-table .j-icard { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); transition: background .16s; }
.j-years.is-table .j-icard:last-child { border-bottom: 0; }
.j-years.is-table .j-icard:hover { background: var(--paper); }
.j-years.is-table .j-icard .cv { flex: 0 0 42px; }
.j-years.is-table .j-icover { border-radius: 2px 6px 6px 2px; box-shadow: none; }
.j-years.is-table .j-icover .in { padding: 0; justify-content: center; align-items: center; }
.j-years.is-table .j-icover::after, .j-years.is-table .j-ic-bot, .j-years.is-table .j-ic-badge { display: none; }
.j-years.is-table .j-ic-no { font-size: 13px; text-shadow: none; }
.j-years.is-table .j-icard .tx { flex: 1 1 180px; margin-top: 0; min-width: 0; }
.j-years.is-table .j-icard .t { font-size: 15px; }
.j-years.is-table .j-icard .s { display: inline; margin-top: 5px; font-size: 12.5px; }
.j-years.is-table .j-icard .tx { display: block; }
.j-years.is-table .j-icard .tx .t { display: block; }
.j-years.is-table .j-icard .tx .s + .s:not(:empty)::before { content: " · "; }
.j-years.is-table .j-pill.tb { display: inline-flex; font-size: 10.5px; padding: 4px 10px; letter-spacing: .05em; }
.j-years.is-table .j-icard .acts { margin: 0 0 0 auto; }

/* ==================================================================== ISSUE */
.j-front { margin-bottom: 26px; }
.j-front-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--muted); background: var(--surface-2); transition: color .16s; }
.j-front-row:last-child { border-bottom: 0; }
.j-front-row:hover { color: var(--j-accent); }
.j-front-row .pg { width: 58px; flex-shrink: 0; font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.j-front-row .t { flex: 1; font-size: 14px; font-weight: 700; }
.j-secs { display: flex; flex-direction: column; gap: 30px; }
.j-sec { scroll-margin-top: calc(var(--j-top) + 20px); }
.j-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.j-sec-head .ln { width: 26px; height: 3px; border-radius: 3px; background: var(--j-rule); flex-shrink: 0; }
.j-sec-head h3 { font-family: var(--font-serif); font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; letter-spacing: -.02em; }
.j-toc-item { border-bottom: 1px solid var(--line); }
.j-toc-item:last-child { border-bottom: 0; }
.j-toc-item .j-row { flex-wrap: nowrap; }
.j-toc-tools { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 12px; }
.j-abs-btn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--j-accent); font: 700 12px var(--font-ui); }
.j-abs-btn:hover { border-color: var(--j-rule); }
.j-abs-btn svg { transition: transform .2s; }
.j-toc-item.is-open .j-abs-btn svg { transform: rotate(180deg); }
.j-doi { font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.j-mini-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--j-accent); }
.j-mini-link:hover { color: var(--j-accent); text-decoration: underline; }
.j-abs { padding: 0 18px 18px 90px; animation: gzDrop .18s ease-out; }
.j-abs .in { padding: 16px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.j-abs p { font-family: var(--font-serif); font-size: 14.5px; line-height: 1.68; }
.j-abs .kw { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.j-abs .kw span { padding: 4px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.j-issue-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.j-issue-nav a { flex: 1 1 240px; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .2s; }
.j-issue-nav a:hover { border-color: var(--j-rule); color: var(--ink); }
.j-issue-nav a.end { text-align: end; }
.j-issue-nav a.end > span:first-child { flex: 1; }
.j-issue-nav .mini, .j-issue-mini .mini { width: 34px; height: 46px; border-radius: 2px 5px 5px 2px; background: var(--j-cover); flex-shrink: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.j-issue-nav .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.j-issue-nav .t { display: block; font-size: 14.5px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.j-issue-nav .arr { color: var(--j-accent); flex-shrink: 0; }
.j-side-nav { display: flex; flex-direction: column; gap: 2px; }
.j-side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink); font-size: 13.5px; font-weight: 600; transition: background .16s; }
.j-side-nav a:hover { background: var(--paper); color: var(--j-accent); }
.j-side-nav i { width: 7px; height: 7px; border-radius: 50%; background: var(--j-rule); flex-shrink: 0; }
.j-side-nav .mono { margin-inline-start: auto; font-size: 12px; font-weight: 500; color: var(--muted); }
.j-read-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-bottom: 14px; }
.j-soft-card .j-btn.block.sm { margin-top: 14px; }
.j-pick { display: block; color: var(--ink); }
.j-pick h4 { font-family: var(--font-serif); font-size: 15.5px; font-weight: 600; line-height: 1.42; }
.j-pick:hover h4 { color: var(--j-accent); }
.j-pick .au { margin-top: 9px; font-size: 12.5px; color: var(--muted); }

/* ==================================================================== ARTICLE */
.j-authors { margin-top: 22px; box-shadow: none; }
.j-authors .names { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; }
.j-authors .au { display: inline-flex; align-items: baseline; gap: 6px; font-size: 15.5px; font-weight: 700; }
.j-authors .au > a:first-child { color: var(--ink); }
.j-authors .au > a:first-child:hover { color: var(--j-accent); }
.j-authors sup { font-size: 11px; font-weight: 500; color: var(--j-accent); }
.j-authors .orcid, .j-authors .mail { display: inline-flex; align-self: center; color: var(--j-accent); }
.j-authors .affs { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.j-authors .affs div { display: flex; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.j-authors .affs .mono { font-size: 11.5px; font-weight: 500; color: var(--j-accent); flex-shrink: 0; padding-top: 2px; }
.j-mobile-actions { display: none; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.j-abstract { padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--j-rule); }
.j-abstract p { font-family: var(--font-serif); font-size: 16.5px; line-height: 1.74; }
.j-abstract .kw { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.j-abstract p + .kw { margin-top: 20px; }
.j-abstract .kw:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.j-abstract .kw .j-label { margin-bottom: 11px; }
.j-abstract .list { display: flex; flex-wrap: wrap; gap: 8px; }
.j-abstract .list a { padding: 6px 13px; border-radius: 99px; background: var(--surface-2); color: var(--ink); font-size: 13px; font-weight: 600; }
.j-abstract .list a:hover { background: var(--j-soft); color: var(--j-accent); }
.j-refs { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; animation: gzDrop .18s ease-out; }
.j-refs li { display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.j-refs li:last-child { border-bottom: 0; }
.j-refs .mono { font-size: 12.5px; font-weight: 500; color: var(--j-accent); flex-shrink: 0; padding-top: 2px; min-width: 22px; }
.j-refs li > span:last-child { font-family: var(--font-serif); font-size: 14.5px; line-height: 1.62; overflow-wrap: anywhere; }
.j-au-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.j-au-cards.n-1 { grid-template-columns: minmax(0, 1fr); }
.j-au-card { display: flex; gap: 16px; padding: 18px; }
.j-au-card .j-ring { width: 76px; height: 76px; color: var(--j-rule); }
.j-au-card .j-ring > svg { opacity: .7; }
.j-au-card .tx { flex: 1; min-width: 0; }
.j-au-card .nm { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.26; color: var(--ink); }
.j-au-card .nm:hover { color: var(--j-accent); }
.j-au-card .sm { margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.j-au-card .ft { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.j-au-card .ft .mono { font-size: 11px; font-weight: 500; color: var(--j-accent); }
.j-au-card .ft .more { font-size: 12px; font-weight: 700; color: var(--j-accent); margin-inline-start: auto; white-space: nowrap; }
.j-license { display: flex; align-items: center; gap: 12px; }
.j-license .cc { width: 44px; height: 44px; border-radius: 11px; background: var(--surface); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--j-accent); padding: 0; letter-spacing: 0; }
.j-license p { font-size: 13px; line-height: 1.6; }
.j-issue-mini { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.j-issue-mini .mini { width: 48px; height: 64px; border-radius: 2px 6px 6px 2px; font-size: 13px; }
.j-issue-mini .t { display: block; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.j-issue-mini .s { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.j-issue-mini:hover .t { color: var(--j-accent); }
.j-cite { max-width: 580px; }
.j-cite .mh h3 { font-family: var(--font-serif); font-size: 20px; letter-spacing: -.022em; }
.j-cite-tabs { display: flex; gap: 4px; padding: 14px 22px 0; }
.j-cite-tabs button { height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 13px var(--font-ui); }
.j-cite-tabs button.is-active { background: var(--j-soft); color: var(--j-accent); }
.j-cite .mb { padding-top: 16px; }
.j-cite-box { padding: 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.j-cite-box p { font-family: var(--font-serif); font-size: 14.5px; line-height: 1.7; overflow-wrap: anywhere; user-select: all; }
.j-btn.ok { background: var(--green); }

/* ==================================================================== RULES / ETHICS */
.j-doc-layout { display: grid; grid-template-columns: 250px minmax(0, 78ch); gap: clamp(24px, 3vw, 44px); align-items: start; }
.j-doc-layout.no-toc { grid-template-columns: minmax(0, 78ch); }
.j-doc-toc { position: sticky; top: calc(var(--j-top) + 12px); display: flex; flex-direction: column; }
.j-doc-toc .j-label { margin-bottom: 12px; }
.j-doc-toc .list { display: flex; flex-direction: column; gap: 2px; }
.j-doc-toc .list a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.35; transition: background .16s, color .16s; }
.j-doc-toc .list a i { width: 3px; align-self: stretch; border-radius: 3px; background: transparent; flex-shrink: 0; min-height: 16px; }
.j-doc-toc .list a:hover { background: var(--surface-2); color: var(--ink); }
.j-doc-toc .list a.is-active { background: var(--j-soft); color: var(--j-accent); }
.j-doc-toc .list a.is-active i { background: var(--j-rule); }
.j-doc-toc .j-btn { margin-top: 16px; align-self: flex-start; }
.j-doc-toc .j-link.sm { margin-top: 14px; }
.j-doc { min-width: 0; }
.j-rsec { scroll-margin-top: calc(var(--j-top) + 22px); margin-top: 32px; }
.j-doc > .j-prose { margin-top: 26px; }
.j-rules { font-size: 16.5px; }
.j-rules table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; display: table; }
.j-rules thead th { text-align: start; padding: 11px 18px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); text-transform: uppercase; }
.j-rules td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.55; color: var(--muted); font-size: 13.5px; }
.j-rules td strong { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; }
.j-rules td:first-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--j-accent); width: 56px; font-variant-numeric: tabular-nums; }
.j-rules td:last-child:not(:nth-child(2)) { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; text-align: end; font-variant-numeric: tabular-nums; }
.j-rules blockquote { margin: 0 0 18px; padding: 16px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.j-rules blockquote > * { margin: 0; }
.j-rules blockquote > * + * { margin-top: 8px; }
.j-rules blockquote > p:first-child > strong:only-child { display: block; font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.j-rules blockquote.warning { display: flex; flex-direction: column; position: relative; padding: 18px 18px 18px 52px; background: rgba(229,72,77,.07); font-size: 15.5px; line-height: 1.68; }
.j-rules blockquote.warning::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; background: var(--danger-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 9v5M12 17h.01'/%3E%3Cpath d='M10.3 3.9L2.6 17.3A2 2 0 004.3 20h15.4a2 2 0 001.7-2.7L13.7 3.9a2 2 0 00-3.4 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 9v5M12 17h.01'/%3E%3Cpath d='M10.3 3.9L2.6 17.3A2 2 0 004.3 20h15.4a2 2 0 001.7-2.7L13.7 3.9a2 2 0 00-3.4 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.j-rules ul.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-family: var(--font-ui); }
.j-rules ul.cards li { margin: 0; padding: 17px 18px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.j-rules ul.cards li strong { display: block; font-size: 14px; color: var(--ink); letter-spacing: -.018em; margin-bottom: 8px; }
/* interactive checklist (built by journal.js from ul.checklist) */
.j-checklist { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); padding: 6px; font-family: var(--font-ui); margin-bottom: 0 !important; }
.j-check { width: 100%; display: flex; gap: 13px; align-items: flex-start; padding: 12px 13px; border: 0; border-radius: 11px; background: transparent; text-align: start; transition: background .16s; color: var(--ink); }
.j-check:hover { background: var(--paper); }
.j-check .bx { width: 21px; height: 21px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; transition: background .18s, border-color .18s; color: #fff; }
.j-check .bx svg { opacity: 0; }
.j-check .lb { flex: 1; font-size: 14.5px; font-weight: 600; line-height: 1.55; }
.j-check[aria-checked="true"] .bx { background: var(--j-rule); border-color: var(--j-rule); }
.j-check[aria-checked="true"] .bx svg { opacity: 1; }
.j-check[aria-checked="true"] .lb { color: var(--muted); }
.j-progress { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.j-progress .tr { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.j-progress .tr span { display: block; height: 100%; width: 0; background: var(--j-rule); border-radius: 6px; transition: width .3s; }
.j-progress .mono { font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.j-submit { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px; border-radius: var(--r-card); background: var(--j-soft); border: 1px solid var(--line); align-items: center; }
.j-submit p { flex: 1 1 260px; font-size: 15px; line-height: 1.62; }
.j-submit p a { color: var(--ink); overflow-wrap: anywhere; }
.narrow-only { display: none !important; }

/* ==================================================================== CONTACT */
.j-form-card { padding: clamp(22px, 2.6vw, 34px); }
.j-form-card .j-sub { margin: 10px 0 22px; }
.j-form .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.j-form .field { margin-bottom: 16px; }
.j-form .field.span { grid-column: 1 / -1; }
.j-form .field label, .j-form .field .lbl { font-size: 12px; font-weight: 700; color: var(--ink); }
.j-form .input { background: var(--paper); font-weight: 600; font-size: 14.5px; }
.j-form .input:focus { border-color: var(--j-rule); }
.j-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.j-topic { position: relative; cursor: pointer; }
.j-topic input { position: absolute; opacity: 0; pointer-events: none; }
.j-topic span { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 700 13px var(--font-ui); transition: border-color .18s, color .18s, background .18s; }
.j-topic:hover span { color: var(--ink); }
.j-topic input:checked + span { border-color: var(--j-rule); background: var(--j-soft); color: var(--j-accent); }
.j-topic input:focus-visible + span { outline: 2px solid var(--j-rule); outline-offset: 2px; }
.j-form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.j-form-foot .j-note { max-width: 32ch; line-height: 1.5; }
.j-form .form-note.ok { color: var(--green-ink); }
.j-form .form-note.err { color: var(--danger-ink); }
.j-map { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
.j-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-map .bg { fill: color-mix(in srgb, var(--surface-2) 70%, var(--j-rule) 6%); }
.j-map .st { stroke: var(--line); stroke-width: 7; fill: none; }
.j-map .st2 { stroke: color-mix(in srgb, var(--line) 70%, var(--muted) 18%); stroke-width: 12; fill: none; }
.j-map .bl { fill: color-mix(in srgb, var(--line) 80%, var(--surface)); }
.j-map .halo { fill: color-mix(in srgb, var(--j-rule) 22%, transparent); }
.j-map .dot { fill: var(--j-fill); }
.j-map .tag { position: absolute; left: 14px; bottom: 14px; padding: 8px 13px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 700; }
.j-contacts .row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 18px; border-top: 1px solid var(--line); color: var(--ink); transition: background .16s; }
.j-contacts .row:hover { background: var(--paper); color: var(--ink); }
.j-contacts .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--j-accent); flex-shrink: 0; }
.j-contacts .tx { flex: 1; min-width: 0; }
.j-contacts .l { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.j-contacts .v { display: block; font-size: 14.5px; font-weight: 600; margin-top: 5px; line-height: 1.5; overflow-wrap: anywhere; }
.j-people { display: flex; flex-direction: column; gap: 2px; }
.j-people .row { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--ink); transition: background .16s; }
.j-people .row:hover { background: var(--paper); color: var(--ink); }
.j-people .tx { flex: 1; min-width: 0; }
.j-people .tx b { display: block; font-size: 13.5px; line-height: 1.3; }
.j-people .tx small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.j-people .cnt { font-size: 12px; font-weight: 500; color: var(--muted); }
.j-people .mini-cv { width: 26px; height: 36px; border-radius: 2px 5px 5px 2px; background: var(--j-cover); flex-shrink: 0; box-shadow: var(--shadow-sm); }

/* ==================================================================== SCHOLAR */
.j-sch-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.j-sch-hero > .wrap { padding-top: clamp(24px, 2.8vw, 40px); padding-bottom: clamp(24px, 2.8vw, 40px); }
.j-sch-hero .crumbs { margin-bottom: 24px; }
.j-sch-head { display: flex; flex-wrap: wrap; gap: clamp(22px, 2.8vw, 42px); align-items: center; }
.j-sch-head .ph { width: clamp(110px, 12vw, 148px); height: clamp(110px, 12vw, 148px); border-radius: 24px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); background: linear-gradient(160deg, var(--brand-500), var(--brand-900)); display: grid; place-items: center; }
.j-sch-head .ph img { width: 100%; height: 100%; object-fit: cover; }
.j-sch-head .ph .ini { font-size: clamp(38px, 4vw, 52px); }
.j-sch-head .tx { flex: 1 1 360px; min-width: min(270px, 100%); }
.j-sch-head .j-label { margin-bottom: 12px; }
.j-sch-head h1 { font-family: var(--font-serif); font-size: clamp(27px, 3.2vw, 42px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; }
.j-sch-head .deg { margin-top: 11px; font-size: 15px; font-weight: 600; }
.j-sch-head .org { margin-top: 5px; font-size: 14.5px; color: var(--muted); }
.j-sch-head .j-actions { margin-top: 18px; }
.j-sch-head .j-stats { min-width: 230px; }

/* ==================================================================== ONLINE READER (PDF.js) */
.j-rhead { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; padding-top: 24px; padding-bottom: 20px; }
.j-rhead .tx { flex: 1 1 420px; min-width: 0; }
.j-rhead .j-label { margin-bottom: 10px; }
.j-rhead h1 { font-family: var(--font-serif); font-size: clamp(21px, 2.4vw, 31px); font-weight: 700; line-height: 1.16; letter-spacing: -.026em; text-wrap: balance; }
.j-rhead .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.j-rhead .acts { display: flex; gap: 8px; flex-wrap: wrap; }

.j-viewer { position: relative; background: var(--surface); }
.j-viewer.full { border-top: 1px solid var(--line); }
.j-viewer.embed { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.j-vbar { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 10px var(--gutter); background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line); }
.j-viewer.full .j-vbar { position: sticky; top: var(--j-top); z-index: 40; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.j-viewer.embed .j-vbar { padding: 12px 16px; background: var(--surface-2); }
.j-vbar .grp { display: flex; align-items: center; gap: 6px; }
.j-vbar .grp.end { margin-inline-start: auto; gap: 8px; }
.j-vbar .vsep { width: 1px; height: 22px; background: var(--line); }
.j-vbar .vb { min-width: 34px; height: 34px; padding: 0; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: 700 12.5px var(--font-ui); white-space: nowrap; transition: border-color .16s, color .16s, background .16s; }
.j-vbar .vb:hover:not(:disabled) { border-color: var(--j-rule); color: var(--j-accent); }
.j-vbar .vb:disabled { opacity: .4; cursor: default; }
.j-vbar .vb.txt { padding: 0 12px; }
.j-vbar .vb.fill { background: var(--j-fill); border-color: transparent; color: #fff; }
.j-vbar .vb.fill:hover { color: #fff; filter: brightness(1.08); }
.j-vbar .vb.is-on { background: var(--j-soft); border-color: var(--j-rule); color: var(--j-accent); }
.j-vcount { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.j-vcount input { width: 46px; height: 34px; padding: 0 4px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: center; font: 600 13px var(--font-mono); outline: 0; }
.j-vcount input:focus { border-color: var(--j-rule); }
.j-vcount .sl { padding: 0 2px; }
.j-vzoom { min-width: 50px; text-align: center; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.j-stage { position: relative; background: var(--surface-2); padding: clamp(16px, 2.4vw, 34px) var(--gutter) 40px; overflow-x: auto; outline: 0; }
[data-theme="dark"] .j-stage { background: #0E1626; }
.j-viewer.embed .j-stage { height: min(78vh, 860px); overflow: auto; padding: clamp(14px, 2vw, 26px); overscroll-behavior: contain; }
.j-pages { position: relative; min-height: 120px; }
.j-page { position: relative; margin: 0 auto 26px; background: #fff; box-shadow: 0 2px 6px rgba(24,33,47,.08), 0 14px 32px -14px rgba(24,33,47,.25); border-radius: 2px; }
.j-page::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid #E3E8F0; border-top-color: #9AA6B6; animation: gzSpin .9s linear infinite; }
.j-page.is-rendered::before { display: none; }
.j-page canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 2px; }
.j-page::after { content: attr(data-n); position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font: 500 11px var(--font-mono); color: var(--muted); }
.j-page:last-child { margin-bottom: 18px; }
.j-vstatus { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; flex-wrap: wrap; }
.j-vstatus .spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--j-rule); animation: gzSpin .9s linear infinite; }
.j-vstatus.is-error { color: var(--danger-ink); }
.j-vstatus.is-error .spin { display: none; }
.j-vstatus[hidden] { display: none; }
.j-viewer:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--surface-2); }
.j-viewer:-webkit-full-screen { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--surface-2); }
.j-viewer:fullscreen .j-vbar, .j-viewer:-webkit-full-screen .j-vbar { position: static; }
.j-viewer:fullscreen .j-stage, .j-viewer:-webkit-full-screen .j-stage { flex: 1; min-height: 0; overflow: auto; height: auto; }
body.j-reading .site-footer { margin-top: 0; }

/* ==================================================================== RESPONSIVE */
@media (max-width: 1239px) {
  .j-members { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1179px) {
  .j-igrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1079px) {
  .j-cols, .j-cols.wide-side { grid-template-columns: minmax(0, 1fr); }
  .j-sticky { position: static; }
  .j-meta:not(.n-1):not(.n-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-leads, .j-leads.n-2 { grid-template-columns: minmax(0, 1fr); }
  .j-council-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-mobile-actions { display: flex; }
  .j-hero::after { display: none; }
}
@media (max-width: 999px) {
  .j-doc-layout, .j-doc-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
  .j-doc-toc { position: sticky; top: var(--j-top); z-index: 20; margin: -34px calc(-1 * var(--gutter)) 0; padding: 10px var(--gutter); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .j-doc-toc .j-label, .j-doc-toc .wide-only { display: none !important; }
  .j-doc-toc .list { flex-direction: row; overflow-x: auto; gap: 4px; }
  .j-doc-toc .list a { white-space: nowrap; padding: 8px 12px; }
  .j-doc-toc .list a i { display: none; }
  .narrow-only { display: inline-flex !important; }
  .j-doc { padding-top: 10px; }
}
@media (max-width: 899px) {
  .j-archive { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .j-rail { top: var(--j-top); z-index: 20; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .j-rail .j-label { display: none; }
  .j-rail-list { flex-direction: row; max-height: none; overflow-x: auto; }
  .j-rail-list a { padding: 7px 12px; }
  .j-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-founders { grid-template-columns: minmax(0, 1fr); }
  .j-stats { min-width: 0; flex: 1 1 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .j-stats.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .j-stats.n-3 > div:last-child { grid-column: auto; }
  .j-stats.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-sch-head .j-stats { min-width: 0; }
  .j-vbar .lb { display: none; }
  .j-vbar .vb.txt { padding: 0; width: 34px; }
}
@media (max-width: 759px) {
  .j-abs { padding: 0 14px 14px; }
  .j-row.flat { padding: 15px 14px; }
  .j-toc-item .j-row { flex-wrap: wrap; }
  .j-rules ul.cards { grid-template-columns: minmax(0, 1fr); }
  .j-rules table, .j-rules tbody, .j-rules tr, .j-rules td { display: block; width: 100%; }
  .j-rules thead { display: none; }
  .j-rules tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 12px 14px; border-top: 1px solid var(--line); }
  .j-rules tr:first-child { border-top: 0; }
  .j-rules td { padding: 0; border: 0; }
  .j-rules td:first-child { width: auto; padding-top: 2px; }
  .j-rules td:last-child:not(:nth-child(2)) { grid-column: 2; text-align: start; margin-top: 6px; }
  .hide-sm { display: none; }
}
@media (max-width: 599px) {
  .j-main { padding-top: 24px; }
  .j-meta, .j-meta.n-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-meta.n-1 { grid-template-columns: minmax(0, 1fr); }
  .j-meta.n-3 > div:last-child { grid-column: 1 / -1; }
  .j-igrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-form .grid { grid-template-columns: minmax(0, 1fr); }
  .j-council-grid, .j-docs-grid { grid-template-columns: minmax(0, 1fr); }
  .j-au-cards { grid-template-columns: minmax(0, 1fr); }
  .j-hero-cover { flex-basis: 150px; }
  .j-hero-cover.sm { flex-basis: 130px; }
  .j-jcard-cover { flex-basis: 132px; }
  .j-row { padding: 15px 14px; gap: 10px 12px; }
  .j-row .pg { flex-basis: 100%; padding-top: 0; font-size: 12px; }
  .j-toc-item .j-row .pg { flex-basis: auto; }
  .j-row .side { margin-inline-start: 0; }
  .j-row.has-bar .side { margin-inline-start: 16px; }
  .j-list-foot { padding: 14px; }
  .j-foot-actions { margin-inline-start: 0; }
  .j-idx-stats { gap: 20px 26px; }
  .j-fields { margin-inline-start: 0; }
  .j-search { max-width: none; }
  .j-chief .ph { flex-basis: 120px; }
  .j-lead { padding: 16px; gap: 14px; }
  .j-lead .ph { flex-basis: 64px; height: 64px; }
  .j-issue-nav a { flex-basis: 100%; }
  .j-vbar { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .j-vbar .vsep { display: none; }
  .j-vbar .vb { min-width: 32px; height: 32px; }
  .j-vbar .vb.txt { width: 32px; }
  .j-vcount input { width: 40px; height: 32px; }
  .j-vzoom { display: none; }
  .j-viewer.embed .j-vbar { padding: 10px; }
  .j-viewer.embed .j-stage { height: min(70vh, 620px); padding: 10px; }
  .j-stage { padding-left: 10px; padding-right: 10px; }
  .j-page { margin-bottom: 24px; }
  .j-doc-toc { margin-top: -24px; }
}
@media (max-width: 380px) {
  .j-members { grid-template-columns: minmax(0, 1fr); }
  .j-igrid { gap: 14px; }
  .j-icard .acts a { padding: 0 8px; }
}
@media print {
  .j-band, .j-vbar, .j-col-side, .j-issue-nav, .j-mobile-actions { display: none !important; }
  .j-cols { display: block; }
}
