/* ═══════════════════════════════════════════════════════════════
   Intellecta Press — Professional Design System
   Modeled after Nature, The Lancet, IEEE, Elsevier
   ═══════════════════════════════════════════════════════════════ */

@import "dashboard-spa.css";

:root {
  /* ── Palette (Premium #db1a1a #fff6f6 #8cc7c4 #2c687b) ── */
  --paper:        #fff6f6;
  --paper-strong: #ffffff;
  --paper-muted:  #f0eaea;
  --ink:          #1a1a2e;
  --ink-soft:     #2c687b;  /* Deep Marine Teal */
  --ink-faint:    #5d8291;
  --accent:       #db1a1a;  /* Vibrant Striking Red */
  --accent-deep:  #b01212;
  --sage:         #8cc7c4;  /* Pastel Teal Highlights */
  --line:         rgba(44, 104, 123, 0.12);
  --line-strong:  rgba(44, 104, 123, 0.24);

  /* ── Shadows (Premium Lift) ── */
  --shadow-soft:  0 4px 16px rgba(44, 104, 123, 0.08);
  --shadow-card:  0 8px 32px rgba(44, 104, 123, 0.12);

  /* ── Radii (Modern Soft) ── */
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;

  /* ── Layout ── */
  --container: 1140px;

  /* ── Typography (Google Fonts) ── */
  --font-display: "Outfit", "Source Sans 3", sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ── Reset ── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { max-width: 100%; }

/* ── Accessibility primitives (WCAG 2.2 AA) ── */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--ink, #111);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: top 0.12s ease-out;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 3px solid var(--accent, #033C73);
  outline-offset: 2px;
}

a[aria-current="page"],
.is-active[aria-current="page"] {
  font-weight: 700;
}

/* Generic focus outline for interactive controls */
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent, #033C73);
  outline-offset: 2px;
}

/* ── Page Shell ── */
.page-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

/* ── Dashboard Layout Architecture ── */

.container-shell {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — Floating Glassmorphism Navbar
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: relative;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  width: 100%;
  transition: border-bottom-color 0.3s ease;
}

/* Dynamic Accent Borders based on Role */
.site-header.role-admin { border-bottom: 2px solid #8b1a1a; }
.site-header.role-editor { border-bottom: 2px solid #0d3b66; }
.site-header.role-desk_editor { border-bottom: 2px solid #004d40; }
.site-header.role-production { border-bottom: 2px solid #bf360c; }
.site-header.role-author { border-bottom: 2px solid #2e7d32; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}



/* ── Brand Lockup ── */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--accent);
  background: transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-lockup strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-lockup span {
  display: block;
  color: var(--ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ── Secondary Nav Tier (Desktop) ── */
.site-header__nav-tier {
  border-top: 1px solid var(--line);
  background: #fafafc;
}

.site-header__nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  padding: 0.85rem 1.25rem;
  overflow-x: auto;
  max-width: var(--container);
  margin: 0 auto;
}

.site-header__nav-inner a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 200ms ease;
  white-space: nowrap;
}

.site-header__nav-inner a svg {
  color: var(--ink-faint);
  transition: color 200ms ease;
}

.site-header__nav-inner a:hover,
.site-header__nav-inner a:focus-visible {
  color: var(--ink);
}

.site-header__nav-inner a:hover svg,
.site-header__nav-inner a:focus-visible svg {
  color: var(--accent);
}

/* ── Header Actions ── */
.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.desktop-only {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — Sharp, institutional
   ═══════════════════════════════════════════════════════════════ */
.button-ghost,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.button-secondary {
  color: var(--ink);
  background: var(--paper-strong);
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--paper-muted);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--paper-strong);
  border-color: var(--line-strong);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.section-pad {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.hero-grid,
.dashboard-grid,
.feature-grid,
.cards-grid,
.stats-grid,
.steps-grid,
.field-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════
   CARDS & PANELS — Solid, clean, no glass
   ═══════════════════════════════════════════════════════════════ */
.hero-card,
.glass-panel,
.metric-card,
.timeline-card,
.table-card,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.hero-card,
.glass-panel,
.metric-card,
.timeline-card,
.table-card,
.form-panel {
  padding: clamp(1.25rem, 2.2vw, 2rem);
}

.hero-card {
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY — Journal-grade hierarchy
   ═══════════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display-title {
  margin: 0.75rem 0 0.85rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.lede,
.section-copy {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.8;
}

.surface-label {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── Metric Cards ── */
.metric-card strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.metric-card p,
.glass-panel p,
.timeline-card p,
.table-card p,
.form-panel p {
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   STATUS PILLS & CHIPS
   ═══════════════════════════════════════════════════════════════ */
.status-pill,
.role-pill,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.role-pill,
.chip {
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.status-pill--submitted,
.status-pill--reviewer_invitation,
.status-pill--under_review,
.status-pill--decision_pending {
  color: #6f4a1d;
  background: rgba(211, 169, 89, 0.14);
  border: 1px solid rgba(211, 169, 89, 0.24);
}

.status-pill--accepted,
.status-pill--published {
  color: #1b5e3b;
  background: rgba(45, 106, 79, 0.12);
  border: 1px solid rgba(45, 106, 79, 0.22);
}

.status-pill--rejected,
.status-pill--desk_rejected {
  color: #6d1212;
  background: rgba(139, 26, 26, 0.1);
  border: 1px solid rgba(139, 26, 26, 0.18);
}

.status-pill--major_revision,
.status-pill--minor_revision,
.status-pill--author_corrections_required,
.status-pill--technical_check {
  color: #72582f;
  background: rgba(206, 177, 122, 0.14);
  border: 1px solid rgba(206, 177, 122, 0.22);
}

/* ═══════════════════════════════════════════════════════════════
   TABLE
   ═══════════════════════════════════════════════════════════════ */
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper-strong);
}

tbody tr:hover {
  background: var(--paper-strong);
}

/* ═══════════════════════════════════════════════════════════════
   FORM FIELDS
   ═══════════════════════════════════════════════════════════════ */
.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.08);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

/* ═══════════════════════════════════════════════════════════════
   INLINE ACTIONS & FOOTER LINKS
   ═══════════════════════════════════════════════════════════════ */
.inline-actions,
.chip-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

/* ── Empty State ── */
.empty-state {
  padding: 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  background: var(--paper-strong);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: 2.5rem 0 3rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}

/* ═══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════ */
.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: grid;
  gap: 0.65rem;
}

.toast {
  min-width: min(90vw, 340px);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.toast strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

/* ═══════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-panel {
  width: min(100%, 560px);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  box-shadow: 0 28px 80px rgba(26, 26, 46, 0.24);
}

.modal-panel h3 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.timeline-list {
  display: grid;
  gap: 0.85rem;
}

.timeline-item {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.timeline-item strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   SUBMISSION DETAIL OVERHAUL (SPRINGER STYLE)
   ═══════════════════════════════════════════════════════════════ */

.submission-hero-banner {
  background: #006b8f; /* Classic deep teal/blue */
  color: #ffffff;
  padding: 3rem 1.25rem;
  box-shadow: inset 0 -4px 12px rgba(0,0,0,0.1);
}

.submission-hero-banner .hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}

.submission-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .submission-detail-grid {
    grid-template-columns: 2.2fr 1fr;
  }
}

.feedback-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.feedback-btn:hover {
  opacity: 1;
}

/* Progress Stepper */
.progress-stepper {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 0.5rem;
}

/* The structural connecting line */
.progress-stepper::before {
  content: "";
  position: absolute;
  left: 1.15rem; /* center of the circles */
  top: 1rem;
  bottom: 2rem;
  width: 2px;
  background: var(--line-strong);
  z-index: 1;
}

/* Individual node container */
.stepper-node {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2.5rem;
  z-index: 2;
  font-size: 0.9rem;
  color: var(--ink-faint);
  line-height: 1.4;
}

.stepper-node:last-child {
  padding-bottom: 0;
}

.stepper-node strong {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

/* Replaces the standard node with active styling */
.stepper-node.is-active {
  color: var(--ink);
}

.stepper-node.is-active strong {
  color: var(--ink);
  font-weight: 700;
}

/* The actual circles */
.stepper-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--line-strong);
  z-index: 3;
}

/* Successfully completed node */
.stepper-node.is-completed::before {
  background: #10b981;
  border-color: #10b981;
}

/* The currently active pulsating node */
.stepper-node.is-active::before {
  background: var(--paper);
  border-color: #10b981;
  border-width: 3px;
}
.stepper-node.is-active::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #10b981;
  z-index: 4;
}

/* Sidebar Meta Stack */
.meta-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-item label {
  font-size: 0.75rem;
  color: var(--ink-faint);
  text-transform: capitalize;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.meta-item span {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */
.mobile-menu {
  display: none;
  padding-bottom: 1rem;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 0.5rem;
}

.mobile-menu nav a,
.mobile-menu nav button {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.mobile-menu nav a:hover,
.mobile-menu nav button:hover {
  background: var(--paper-strong);
}

/* ── Submission Link ── */
.submission-link {
  color: var(--ink);
  text-decoration: none;
}

.submission-link:hover,
.submission-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(139, 26, 26, 0.35);
}

/* ── Auth Card ── */
.auth-card {
  width: min(100%, 580px);
  margin: 0 auto;
}

/* ── Dashboard Hero ── */
.dashboard-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

/* ── Decorative (disabled) ── */
.floating-orb,
.hero-canvas {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATION — Subtle, professional
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   PUBLIC MASTHEAD & ISSUE SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.public-masthead {
  display: grid;
  gap: 1.5rem;
}

.public-masthead__meta {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.issue-strip {
  display: grid;
  gap: 1rem;
}

.issue-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.issue-panel--cover {
  padding: 1.75rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 4px solid var(--accent);
  background: var(--paper);
}

.issue-panel--cover .cover-volume {
  color: var(--ink-faint);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.issue-panel--cover h2 {
  margin: 0.6rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.issue-panel--cover p {
  max-width: 32ch;
  color: var(--ink-soft);
  line-height: 1.75;
}

.issue-panel--toc {
  padding: 1.5rem;
}

/* ── Table of Contents ── */
.toc-list {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
}

.toc-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.toc-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.toc-item h3,
.paper-card h3,
.board-card h3,
.archive-row h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.toc-item p,
.paper-card p,
.board-card p,
.archive-row p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ── Article Grid ── */
.article-grid,
.board-grid,
.archive-list {
  display: grid;
  gap: 1rem;
}

.paper-card,
.board-card,
.archive-row {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: border-color 160ms ease;
}

.paper-card:hover,
.board-card:hover,
.archive-row:hover {
  border-color: var(--line-strong);
}

/* ── Paper Meta ── */
.paper-meta,
.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ── Editorial Note ── */
.editorial-note {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--paper-strong);
}

.editorial-note p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ── Public Two Column ── */
.public-two-column {
  display: grid;
  gap: 1.2rem;
}

/* ── Masthead Rule ── */
.mast-rule {
  height: 1px;
  margin: 1.25rem 0 0;
  background: var(--line);
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY — Reduced Motion
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Desktop (≥820px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 820px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  .desktop-only {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  }

  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid,
  .field-grid,
  .public-two-column,
  .footer-grid,
  .issue-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .board-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-masthead {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    align-items: end;
  }

  .public-masthead__meta {
    align-self: stretch;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Multi-Journal Components
   ═══════════════════════════════════════════════════════════════ */

/* Dashboard Hero — title + action button side by side */
.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.dashboard-hero .inline-actions {
  flex-shrink: 0;
}

/* Journal Portal Hero — content + cover image */
.journal-hero-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.journal-hero-content {
  flex: 1;
  min-width: 280px;
}
.journal-hero-cover {
  flex-shrink: 0;
  width: 200px;
}
.journal-hero-cover img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

/* Form panel — used for journal creation, submission forms */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

/* Checkbox chip labels in indexing selector */
.chip-row label.chip {
  display: inline-flex;
  align-items: center;
  user-select: none;
}
.chip-row label.chip input[type="checkbox"] {
  accent-color: var(--accent);
}

@media (max-width: 767px) {
  .journal-hero-cover {
    width: 100%;
    max-width: 200px;
  }
  .dashboard-hero {
    flex-direction: column;
  }
}

/* Palette preset swatches */
.palette-swatch {
  display: inline-flex;
  gap: 3px;
  padding: 6px 8px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.palette-swatch:hover {
  border-color: var(--ink-soft);
}
.palette-swatch.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(139, 26, 26, 0.2);
}
.palette-swatch span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   ACADEMIC JOURNAL HERO (SPRINGER STYLE)
   ═══════════════════════════════════════════════════════════════ */
.journal-hero-academic {
  background: var(--primary, #092c4c); /* Deep authoritative blue default */
  padding: 4rem 0 3rem;
  color: #ffffff;
}

.journal-hero-academic__inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.journal-hero-academic__cover {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
}

.journal-hero-academic__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-sticky-nav {
  position: sticky;
  top: 70px; /* Below main site header */
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  z-index: 40;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.cfp-scroll-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.cfp-scroll-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.metric-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
}

/* ═══════════════════════════════════════════════════════════════
   ACADEMIC FOOTER (SPRINGER STYLE)
   ═══════════════════════════════════════════════════════════════ */
.footer-academic {
  background: #0a1c3a; /* Proper authoritative dark color */
  color: #ffffff;
  padding: 0;
  margin-top: 4rem;
}

.footer-top-tier {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-academic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom-tier {
  background: #07152b; /* Slightly darker bottom strip */
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.bottom-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 0.75rem;
}

.bottom-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.bottom-links a:hover {
  color: #ffffff;
}

.copyright small {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   7. HOMEPAGE PREMIUM EXTENSIONS
   -------------------------------------------------------------------------- */
.platform-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  background: linear-gradient(135deg, #011E41 0%, #033C73 100%);
  overflow: hidden;
}

.platform-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.action-link {
  transition: opacity 0.2s, color 0.2s;
}
.action-link:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .split-left, .split-right {
    min-width: 100% !important;
    box-sizing: border-box;
    padding: 4rem 5% !important;
    justify-content: flex-start !important;
  }
  .split-left > div, .split-right > div {
    padding: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   8. AUTHENTICATION SPLIT LAYOUT
   -------------------------------------------------------------------------- */
.auth-split-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.auth-brand-side {
  flex: 1.2;
  background: linear-gradient(135deg, #011E41 0%, #033C73 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.auth-brand-side::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.auth-form-side {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

.auth-form-container {
  width: 100%;
  max-width: 440px;
}

.auth-form-container .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

body.auth-orcid-complete-mode {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(22, 163, 74, 0.1), transparent 32%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f3 100%);
}

body.auth-orcid-complete-mode .auth-split-layout {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.5rem;
}

body.auth-orcid-complete-mode .auth-brand-side {
  display: none;
}

body.auth-orcid-complete-mode .auth-form-side {
  width: 100%;
  max-width: 620px;
  padding: 0;
  background: transparent;
}

body.auth-orcid-complete-mode .auth-form-container {
  max-width: 560px;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid rgba(3, 60, 115, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(3, 60, 115, 0.12);
}

body.auth-orcid-complete-mode [data-signup-eyebrow] {
  margin-bottom: 0.25rem;
}

body.auth-orcid-complete-mode [data-signup-heading] {
  margin-bottom: 1.1rem !important;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.08;
}

body.auth-orcid-complete-mode [data-orcid-complete-form] {
  gap: 0.95rem;
}

body.auth-orcid-complete-mode [data-orcid-complete-form] .field {
  gap: 0.3rem;
}

body.auth-orcid-complete-mode [data-orcid-complete-form] .field input {
  padding: 0.82rem 0.9rem;
  border-radius: 18px;
  background: #fff;
}

body.auth-orcid-complete-mode [data-sign-up-notice] {
  margin-top: 0.8rem !important;
}

.orcid-complete-card {
  grid-column: 1 / -1;
  padding: 0.95rem 1rem 0.9rem;
  border: 1px solid rgba(3, 60, 115, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.06), rgba(3, 60, 115, 0.03));
}

.orcid-complete-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.orcid-complete-card__copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.orcid-complete-card__meta {
  margin: 0.5rem 0 0;
  color: var(--ink-faint);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .auth-split-layout {
    flex-direction: column;
  }
  .auth-brand-side {
    min-height: 30vh;
    flex: none;
    padding: 3rem 2rem;
    text-align: center;
  }
  .auth-form-side {
    flex: 1;
    padding: 3rem 2rem;
    justify-content: flex-start;
  }

  body.auth-orcid-complete-mode {
    overflow-y: auto;
  }

  body.auth-orcid-complete-mode .auth-split-layout {
    display: block;
    min-height: auto;
    padding: 1rem;
  }

  body.auth-orcid-complete-mode .auth-form-side {
    max-width: none;
  }

  body.auth-orcid-complete-mode .auth-form-container {
    max-width: none;
    padding: 1.1rem 1rem;
    border-radius: 22px;
  }

  body.auth-orcid-complete-mode [data-orcid-complete-form] {
    gap: 0.85rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .journal-hero-academic__inner {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }
  
  .journal-hero-academic__cover {
    margin: 0 auto;
    width: 200px;
  }
  
  .section-pad {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }
  
  .hero-card,
  .metric-card,
  .table-card,
  .premium-card {
    padding: 1.25rem !important;
  }
  
  .metric-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-header__actions {
    flex-wrap: wrap;
  }

  /* Reduce inline banner padding dynamically */
  [style*="padding: 3rem 2rem"] {
    padding: 2rem 1.25rem !important;
  }
  
  /* Ensure inline headers shrink correctly */
  [style*="font-size: 2.25rem"] {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 600px) {
  .bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ────────────────────────────────────────────────────────────── */
/* Shared layout utilities (April 2026 layout pass)               */
/* ────────────────────────────────────────────────────────────── */

/* Breadcrumb — use on every editorial / dashboard / detail page */
.page-breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.page-breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.page-breadcrumb a:hover { border-bottom-color: var(--ink-faint); }
.page-breadcrumb .sep { color: var(--line-strong); }
.page-breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Compact dashboard hero with side-by-side title + stats */
.dashboard-hero--compact {
  background: linear-gradient(135deg, var(--ink) 0%, rgba(3,60,115,0.92) 100%);
  color: #fff;
  padding: 2rem 2.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}
.dashboard-hero--compact h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.dashboard-hero--compact p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  max-width: 620px;
}
.dashboard-hero--compact .hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}
.dashboard-hero--compact .hero-stat {
  text-align: right;
}
.dashboard-hero--compact .hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.dashboard-hero--compact .hero-stat .lab {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-top: 0.25rem;
  display: block;
}
@media (max-width: 780px) {
  .dashboard-hero--compact {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }
  .dashboard-hero--compact .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .dashboard-hero--compact .hero-stat { text-align: left; }
}

/* Two-column doc page (privacy / ToC-style content) */
.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.doc-layout aside.doc-toc {
  position: sticky;
  top: 1rem;
  align-self: start;
  font-size: 0.9rem;
}
.doc-layout .doc-toc h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.doc-layout .doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--line);
}
.doc-layout .doc-toc li { padding: 0; }
.doc-layout .doc-toc a {
  display: block;
  padding: 0.35rem 0 0.35rem 0.85rem;
  color: var(--ink-faint);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.doc-layout .doc-toc a:hover { color: var(--ink); }
.doc-layout .doc-toc a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}
.doc-layout .doc-body h2 {
  scroll-margin-top: 100px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.doc-layout .doc-body h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .doc-layout aside.doc-toc { position: static; }
}

/* Issue TOC (numbered ordered list of articles) */
.issue-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: issue-toc;
}
.issue-toc > li {
  counter-increment: issue-toc;
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.issue-toc > li:first-child { border-top: none; padding-top: 0.5rem; }
.issue-toc > li::before {
  content: counter(issue-toc);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.15;
}
.issue-toc .article-title {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
}
.issue-toc .article-title:hover { text-decoration: underline; }
.issue-toc .article-meta {
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.issue-toc .pages {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.82rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* Skeleton loader blocks */
.skeleton {
  background: linear-gradient(90deg, var(--paper-strong) 25%, var(--line) 50%, var(--paper-strong) 75%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm, 6px);
}
@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.skeleton-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.skeleton-line {
  height: 0.75rem;
  margin-bottom: 0.5rem;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.med { width: 70%; }
.skeleton-line.long { width: 95%; }

/* Role badges (editorial board, special issues, admin tables) */
.role-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink-faint);
  border: 1px solid var(--line);
}
.role-badge.role-eic { background: rgba(3,60,115,0.1); color: var(--accent); border-color: rgba(3,60,115,0.2); }
.role-badge.role-associate { background: rgba(124,156,124,0.15); color: #4a7a4a; border-color: rgba(124,156,124,0.25); }
.role-badge.role-managing { background: rgba(245,158,11,0.12); color: #b45309; border-color: rgba(245,158,11,0.25); }
.role-badge.role-guest { background: rgba(168,85,247,0.1); color: #7e22ce; border-color: rgba(168,85,247,0.2); }

/* Two-column preferences / my-account layout */
.settings-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.settings-layout aside.settings-sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
}
@media (max-width: 900px) {
  .settings-layout { grid-template-columns: 1fr; gap: 1rem; }
  .settings-layout aside.settings-sidebar { position: static; }
}

/* APC block on journal homepage */
.apc-block {
  display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem;
  align-items: start;
  background: linear-gradient(180deg, #fff, #fafaf7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 2.25rem;
}
.apc-block__headline { margin: 0 0 0.85rem; font-size: 1.05rem; color: var(--ink); line-height: 1.55; }
.apc-block__notes p { margin: 0 0 0.6rem; color: var(--ink-soft); line-height: 1.6; }
.apc-block__waiver-card {
  margin-top: 1.25rem;
  padding: 0.95rem 1.1rem;
  background: rgba(3,60,115,0.06);
  border: 1px dashed rgba(3,60,115,0.3);
  border-radius: 10px;
}
.apc-block__waiver-card strong { display: block; margin-bottom: 0.25rem; color: var(--accent, #033c73); }
.apc-block__waiver-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }
.apc-block__cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  padding: 1.5rem 1.6rem;
  background: var(--accent, #033c73); color: #fff;
  border-radius: 14px;
}
.apc-block__amount { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.apc-block__amount-caption { font-size: 0.82rem; opacity: 0.85; margin-bottom: 0.75rem; }
.apc-block__cta a { color: #fff; text-decoration: underline; font-weight: 600; font-size: 0.92rem; }
@media (max-width: 760px) { .apc-block { grid-template-columns: 1fr; } }

/* Journal settings form */
.journal-settings-form { display: flex; flex-direction: column; gap: 1.1rem; }
.journal-settings-form .field { display: flex; flex-direction: column; gap: 0.3rem; }
.journal-settings-form label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.journal-settings-form input[type=text],
.journal-settings-form input[type=number],
.journal-settings-form select,
.journal-settings-form textarea {
  padding: 0.65rem 0.85rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.95rem;
  color: var(--ink); background: #fff; outline: none; font-family: inherit;
}
.journal-settings-form input:focus,
.journal-settings-form select:focus,
.journal-settings-form textarea:focus { border-color: var(--accent, #033c73); }
.journal-settings-form .field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.journal-settings-form .field-apc-row { display: grid; grid-template-columns: 100px 1fr; gap: 0.4rem; }
.journal-settings-form small { color: var(--ink-soft); font-size: 0.78rem; }
.journal-settings-form .toggle { display: inline-flex; align-items: center; gap: 0.5rem; text-transform: none; font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.journal-settings-form .toggle input { accent-color: var(--accent, #033c73); }

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL SEARCH
   ═══════════════════════════════════════════════════════════════ */
.universal-search {
  display: flex; align-items: center; gap: 0;
  background: #fff; border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  max-width: 720px;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.25);
}
.universal-search svg { color: var(--ink-soft); flex-shrink: 0; }
.universal-search input {
  flex: 1; border: 0; background: transparent; outline: none;
  padding: 0.75rem 0.85rem; font-size: 1rem; color: var(--ink);
}
.universal-search button {
  background: var(--accent, #033c73); color: #fff;
  border: 0; padding: 0.7rem 1.5rem; border-radius: 999px;
  font-weight: 700; cursor: pointer;
  transition: background 0.15s ease;
}
.universal-search button:hover { background: #022a52; }

.search-results { display: flex; flex-direction: column; gap: 1.25rem; }
.search-tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--line); padding-bottom: 0.1rem; overflow-x: auto; }
.search-tabs button {
  background: transparent; border: 0; padding: 0.65rem 1rem;
  color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.search-tabs button:hover { color: var(--ink); }
.search-tabs button.is-active { color: var(--accent, #033c73); border-bottom-color: var(--accent, #033c73); }
.search-tabs button span {
  background: rgba(3,60,115,0.08); color: var(--accent, #033c73);
  padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.78rem;
}

.search-block__title {
  margin: 1.25rem 0 0.5rem; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); font-weight: 700;
}
.result-row {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 1rem; padding: 1rem 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: inherit;
  margin-bottom: 0.6rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.result-row:hover { border-color: rgba(3,60,115,0.3); transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(0,0,0,0.08); }
.result-row__type { padding-top: 0.15rem; }
.result-row h3 { margin: 0 0 0.35rem; font-size: 1.05rem; line-height: 1.35; color: var(--ink); }
.result-row__authors { margin: 0 0 0.25rem; font-size: 0.85rem; color: var(--ink-soft); }
.result-row__desc { margin: 0 0 0.45rem; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-row__meta { display: flex; gap: 0.9rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--ink-soft); }
@media (max-width: 600px) {
  .result-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL CFP HUB
   ═══════════════════════════════════════════════════════════════ */
.cfp-hub {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.cfp-hub__filters {
  position: sticky; top: 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.cfp-hub__filters h2 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.cfp-hub__filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; border-top: 1px solid var(--line); padding-top: 0.85rem; }
.cfp-hub__filters legend { padding: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); font-weight: 700; }
.filter-label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.filter-label input, .filter-label select { padding: 0.5rem 0.65rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.9rem; color: var(--ink); background: #fff; outline: none; }
.filter-label input:focus, .filter-label select:focus { border-color: var(--accent, #033c73); }
.cfp-hub__filters select {
  padding: 0.5rem 0.65rem; border: 1px solid var(--line); border-radius: 8px;
  font-size: 0.9rem; color: var(--ink); background: #fff;
}
.filter-chip-group { display: flex; flex-direction: column; gap: 0.3rem; max-height: 260px; overflow-y: auto; }
.filter-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.45rem; border-radius: 6px;
  font-size: 0.88rem; color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}
.filter-chip:hover { background: rgba(3,60,115,0.06); }
.filter-chip input { accent-color: var(--accent, #033c73); }
.radio { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: var(--ink); }
.radio input { accent-color: var(--accent, #033c73); }

.cfp-hub__main { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.cfp-hub__header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.cfp-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.cfp-hub__card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.65rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cfp-hub__card:hover { border-color: rgba(3,60,115,0.3); transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(0,0,0,0.1); }
.cfp-hub__card-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.cfp-hub__journal {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.82rem; font-weight: 600;
}
.cfp-hub__journal:hover { color: var(--accent); }
.cfp-hub__journal-mark {
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 5px; background: var(--accent, #033c73); color: #fff;
  font-size: 0.68rem; font-weight: 700;
}
.cfp-hub__card h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.cfp-hub__card h3 a { color: var(--ink); text-decoration: none; }
.cfp-hub__card h3 a:hover { color: var(--accent); }
.cfp-hub__desc { margin: 0; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cfp-hub__card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 0.6rem; border-top: 1px dashed var(--line); font-size: 0.82rem; color: var(--ink-soft); }
.cfp-hub__link { color: var(--accent); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) {
  .cfp-hub { grid-template-columns: 1fr; }
  .cfp-hub__filters { position: static; }
}

/* ═══════════════════════════════════════════════════════════════
   A–Z JOURNALS DIRECTORY
   ═══════════════════════════════════════════════════════════════ */
.journals-az { display: flex; flex-direction: column; gap: 1.5rem; }
.journals-az__toolbar {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1rem;
}
.journals-az__search {
  flex: 1; min-width: 260px;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: var(--paper, #f7f7f5);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
}
.journals-az__search input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 0.95rem; color: var(--ink);
}
.journals-az__view { display: flex; gap: 0.25rem; }
.journals-az__view button {
  padding: 0.55rem 1rem; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-weight: 600; font-size: 0.9rem; cursor: pointer;
  border-radius: 8px; transition: all 0.15s ease;
}
.journals-az__view button.is-active {
  background: var(--accent, #033c73); color: #fff; border-color: var(--accent, #033c73);
}
.journals-az__letters {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.journals-az__letter-link {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 6px; font-weight: 700; font-size: 0.88rem;
  color: var(--accent, #033c73); text-decoration: none;
  transition: background 0.15s ease;
}
.journals-az__letter-link:hover { background: rgba(3,60,115,0.08); }
.journals-az__letter-link.is-muted { color: var(--ink-faint, #999); cursor: default; }

.journals-az__section { scroll-margin-top: 80px; }
.journals-az__letter {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--accent, #033c73);
  border-bottom: 2px solid var(--accent, #033c73);
  padding-bottom: 0.35rem; margin-bottom: 1.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.journals-az__cat-head {
  display: flex; align-items: baseline; gap: 0.85rem;
  border-bottom: 1px solid var(--line); padding-bottom: 0.65rem; margin-bottom: 1.25rem;
}
.journals-az__cat-head h2 { margin: 0; font-size: 1.5rem; color: var(--ink); }
.journals-az__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem;
}
.journal-az__card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1.2rem; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.journal-az__card:hover { border-color: rgba(3,60,115,0.35); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.08); }
.journal-az__cover {
  width: 100%;
  aspect-ratio: 5 / 7;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}
.journal-az__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.journal-az__cover--fallback {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  padding: 1rem;
}
.journal-az__card-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.journal-az__card h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.journal-az__card h3 a { color: var(--ink); text-decoration: none; }
.journal-az__card h3 a:hover { color: var(--accent); }
.journal-az__card-tag { margin: 0; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.journal-az__card-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}
.journal-az__card-meta div { display: flex; gap: 0.3rem; }
.journal-az__card-meta dt { color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; margin: 0; }
.journal-az__card-meta dd { margin: 0; font-weight: 600; color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.pill-ok { background: rgba(34,197,94,0.1); color: #15803d; border-color: rgba(34,197,94,0.22); }
.pill-muted { background: rgba(100,116,139,0.1); color: #475569; border-color: rgba(100,116,139,0.2); }
.pill-warn { background: rgba(245,158,11,0.12); color: #b45309; border-color: rgba(245,158,11,0.25); }
.pill-danger { background: rgba(239,68,68,0.1); color: #b91c1c; border-color: rgba(239,68,68,0.22); }
.pill-info { background: rgba(59,130,246,0.1); color: #1d4ed8; border-color: rgba(59,130,246,0.2); }

/* ═══════════════════════════════════════════════════════════════
   PUBLISHER-STYLE NAVBAR (home page, above Portfolio)
   ═══════════════════════════════════════════════════════════════ */
.publisher-nav-wrap { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.publisher-nav-top {
  background: #f7f7f5;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.publisher-nav-top__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.publisher-nav-top__brand { display: flex; align-items: center; gap: 0.9rem; }
.publisher-nav-top__brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--accent, #033c73); border-radius: 6px; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
}
.publisher-nav-top__brand-name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ink);
  line-height: 1.1;
}
.publisher-nav-top__brand-tag { font-size: 0.78rem; color: var(--ink-soft); font-style: italic; }
.publisher-nav-top__meta { display: flex; align-items: center; gap: 1.25rem; }
.publisher-nav-top__oa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(213, 122, 31, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(213, 122, 31, 0.12) 0%, rgba(213, 122, 31, 0.05) 100%);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  line-height: 1;
  color: #7a4310;
  white-space: nowrap;
}
.publisher-nav-top__oa svg {
  color: #d57a1f;
  flex: 0 0 auto;
}
.publisher-nav-top__oa span {
  display: inline-block;
  transform: translateY(0.02em);
}
.publisher-nav-top__login {
  padding: 0.45rem 1rem; border: 1px solid var(--ink);
  border-radius: 4px; font-weight: 600; font-size: 0.92rem;
  text-decoration: none; color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.publisher-nav-top__login:hover { background: var(--ink); color: #fff; }

/* Clean tab-style main nav (matches journal-nav-v2 aesthetic) */
.publisher-nav-main {
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.site-header .publisher-nav-top {
  padding: 0.75rem 0;
}
.publisher-nav-main__inner {
  display: flex; align-items: center; gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.publisher-nav-main__inner::-webkit-scrollbar { display: none; }
.publisher-nav-main__link {
  flex-shrink: 0;
  padding: 1rem 1.1rem;
  font-weight: 600; font-size: 0.95rem;
  color: var(--ink-soft, #555);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.publisher-nav-main__link:hover { color: var(--ink, #111); }
.publisher-nav-main__link.is-active,
.publisher-nav-main__link[aria-current="page"] {
  color: var(--accent, #8b1a1a);
  border-bottom-color: var(--accent, #8b1a1a);
}
.publisher-nav-main__search-trigger {
  margin-left: auto;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(44, 104, 123, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.publisher-nav-main__search-trigger:hover,
.publisher-nav-main__search-trigger:focus-visible {
  color: var(--accent);
  border-color: rgba(219, 26, 26, 0.35);
  box-shadow: 0 12px 28px rgba(219, 26, 26, 0.12);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 720px) {
  .publisher-nav-top__meta { gap: 0.7rem; }
  .publisher-nav-top__oa {
    padding: 0.34rem 0.5rem;
    font-size: 0.74rem;
  }
  .publisher-nav-top__oa span {
    display: none;
  }
}

.has-search-modal { overflow: hidden; }
.search-modal[hidden] { display: none; }
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: start center;
  padding: clamp(4.5rem, 12vh, 8rem) 1rem 1rem;
}
.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.48);
  backdrop-filter: blur(8px);
}
.search-modal__panel {
  position: relative;
  width: min(680px, 100%);
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(26, 26, 46, 0.24);
  padding: clamp(1.1rem, 3vw, 1.5rem);
  animation: searchModalIn 0.18s ease both;
}
.search-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.search-modal__eyebrow {
  margin: 0 0 0.15rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.search-modal__header h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.15;
}
.search-modal__close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}
.search-modal__close:hover,
.search-modal__close:focus-visible {
  color: var(--accent);
  border-color: rgba(219, 26, 26, 0.35);
  outline: none;
}
.search-modal__form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.4rem 0.45rem 0.4rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}
.search-modal__form svg {
  color: var(--ink-faint);
}
.search-modal__form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.search-modal__form input::placeholder {
  color: var(--ink-faint);
}
.search-modal__form button {
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  padding: 0 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.search-modal__form:focus-within {
  border-color: rgba(219, 26, 26, 0.42);
  box-shadow: 0 0 0 3px rgba(219, 26, 26, 0.12);
}
.search-modal__form button:hover,
.search-modal__form button:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  outline: none;
}

.journal-select-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 246, 0.88)),
    radial-gradient(circle at 88% 12%, rgba(140, 199, 196, 0.22), transparent 36%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.35rem, 3vw, 2rem);
}
.journal-select-panel .section-title {
  margin: 0.45rem 0 0.5rem;
}
.journal-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.journal-select-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 132px;
  padding: 1rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.journal-select-card span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.journal-select-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}
.journal-select-card small {
  color: var(--ink-faint);
  font-size: 0.88rem;
  line-height: 1.45;
}
.journal-select-card:hover,
.journal-select-card:focus-visible {
  border-color: rgba(219, 26, 26, 0.32);
  box-shadow: 0 14px 34px rgba(44, 104, 123, 0.12);
  transform: translateY(-2px);
  outline: none;
}

@keyframes searchModalIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 520px) {
  .search-modal {
    padding-top: 5rem;
  }
  .search-modal__form {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .search-modal__form button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-modal__panel {
    animation: none;
  }
}

@media (max-width: 720px) {
  .publisher-nav-top__inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .publisher-nav-main__link { padding: 0.85rem 0.75rem; font-size: 0.88rem; }
}

/* ═══════════════════════════════════════════════════════════════
   JOURNAL HOMEPAGE — MODERNIZED (v2)
   ═══════════════════════════════════════════════════════════════ */
.journal-hero-v2 {
  position: relative;
  background:
    radial-gradient(1200px 400px at 85% 10%, rgba(255,255,255,0.08), transparent 70%),
    linear-gradient(135deg, var(--primary, #033c73) 0%, var(--accent, #0d47a1) 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
}
.journal-hero-v2::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 120%, rgba(255,255,255,0.06) 0, transparent 40%),
    radial-gradient(circle at 95% -10%, rgba(255,255,255,0.05) 0, transparent 35%);
  pointer-events: none;
}
.journal-hero-v2__inner {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
}
.journal-hero-v2__cover {
  width: 220px;
  aspect-ratio: 3/4;
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.55);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journal-hero-v2__cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.journal-hero-v2__cover-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  background: linear-gradient(150deg, rgba(255,255,255,0.06), rgba(0,0,0,0.15));
}
.journal-hero-v2__trail {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.85rem;
}
.journal-hero-v2__trail a { color: inherit; text-decoration: none; }
.journal-hero-v2__trail a:hover { color: #fff; }
.journal-hero-v2__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.1;
  margin: 0 0 0.65rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.journal-hero-v2__tagline {
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 700px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 1.35rem;
}
.journal-hero-v2__chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.journal-hero-v2__chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}
.journal-hero-v2__chip svg { width: 14px; height: 14px; opacity: 0.85; }
.journal-hero-v2__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
}
.journal-hero-v2__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: #fff;
  color: var(--ink, #111);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.3);
}
.journal-hero-v2__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(0,0,0,0.38); }
.journal-hero-v2__cta-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.9rem 1.25rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.journal-hero-v2__cta-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.55); }

/* Sticky section nav */
.journal-nav-v2 {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.journal-nav-v2__inner {
  display: flex; gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.journal-nav-v2__inner::-webkit-scrollbar { display: none; }
.journal-nav-v2__link {
  flex-shrink: 0;
  padding: 1rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft, #555);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.journal-nav-v2__link:hover { color: var(--ink, #111); }
.journal-nav-v2__link.is-active {
  color: var(--accent, #033c73);
  border-bottom-color: var(--accent, #033c73);
}

/* Two-col layout */
.journal-layout-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
  padding-top: 2.5rem;
  scroll-margin-top: 120px;
}
.journal-layout-v2__main { min-width: 0; }
.journal-layout-v2__aside { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 1.25rem; }

/* Metrics cards */
.metrics-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.metrics-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.metrics-card__row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  padding: 0.7rem 0;
  align-items: flex-start;
}
.metrics-card__row + .metrics-card__row { border-top: 1px dashed var(--line); }
.metrics-card__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(3,60,115,0.08);
  color: var(--accent, #033c73);
}
.metrics-card__icon svg { width: 18px; height: 18px; }
.metrics-card__lab {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}
.metrics-card__val { font-weight: 600; color: var(--ink); font-size: 0.98rem; margin: 0; }

.eic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}
.eic-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 0.65rem;
}
.eic-card__name { font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 0 0 0.35rem; }
.eic-card__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.eic-card__link:hover { text-decoration: underline; }

/* Article rows */
.article-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.article-row:last-child { border-bottom: none; }
.article-row__date {
  text-align: center;
  padding: 0.4rem 0.25rem;
  background: rgba(3,60,115,0.06);
  border-radius: 8px;
  min-width: 64px;
}
.article-row__date .vol { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.article-row__date .num { display: block; font-size: 1rem; font-weight: 700; color: var(--accent); line-height: 1; margin-top: 0.15rem; }
.article-row__body { min-width: 0; }
.article-row__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.article-row__title a { color: var(--ink); text-decoration: none; }
.article-row__title a:hover { color: var(--accent); }
.article-row__authors { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.article-row__abstract {
  font-size: 0.92rem; color: var(--ink-soft); margin: 0;
  line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-row__meta {
  text-align: right;
  font-size: 0.75rem; color: var(--ink-soft);
}
.article-row__meta .doi { font-family: var(--font-mono, ui-monospace, monospace); margin-top: 0.3rem; display: block; }

/* CFP cards */
.cfp-card-v2 {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cfp-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(0,0,0,0.1);
  border-color: rgba(3,60,115,0.3);
}
.cfp-card-v2__tag {
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  background: rgba(245,158,11,0.12);
  color: #b45309;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}
.cfp-card-v2__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--ink); line-height: 1.35; }
.cfp-card-v2__desc { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 1rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cfp-card-v2__foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.cfp-card-v2__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
}

/* Editorial board grid v2 */
.board-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.board-card-v2 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.board-card-v2:hover { border-color: rgba(3,60,115,0.3); box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.board-card-v2 .role-badge { margin-bottom: 0.65rem; }
.board-card-v2__name { font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0 0 0.25rem; }
.board-card-v2__affil { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 0.2rem; line-height: 1.4; }
.board-card-v2__country {
  font-size: 0.78rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 0.15rem;
}

/* Info footer panel */
.journal-info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.journal-info-panel__cell strong.lab {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.journal-info-panel__cell .val {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0;
  font-feature-settings: "tnum";
}

/* Responsive */
@media (max-width: 980px) {
  .journal-hero-v2__inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
  .journal-hero-v2__cover { width: 160px; margin: 0 auto 0.5rem; }
  .journal-layout-v2 { grid-template-columns: 1fr; gap: 2rem; }
  .journal-layout-v2__aside { position: static; }
  .journal-nav-v2 { top: 0; }
}
@media (max-width: 620px) {
  .article-row { grid-template-columns: 1fr; }
  .article-row__date { display: inline-flex; gap: 0.4rem; justify-content: center; max-width: 160px; }
  .article-row__meta { text-align: left; }
}

/* ---------- Submit wizard radio chips + misc ---------- */
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 0.6rem);
  background: #fff;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.radio-chip input[type="radio"] {
  margin: 0;
  accent-color: var(--accent, #2c687b);
}
.radio-chip:hover {
  border-color: var(--accent, #2c687b);
  background: rgba(44, 104, 123, 0.04);
}
.radio-chip:has(input:checked) {
  border-color: var(--accent, #2c687b);
  background: rgba(44, 104, 123, 0.09);
  box-shadow: 0 0 0 1px var(--accent, #2c687b) inset;
  font-weight: 600;
}

/* ---------- Post-acceptance panels (copyright / payment / final PDF) ---------- */
.sd-panel--accent {
  border-left: 3px solid var(--accent, #2c687b);
  background: linear-gradient(180deg, rgba(44, 104, 123, 0.04), #fff);
}
.copyright-agreement {
  padding: 1rem 1.2rem;
  background: rgba(44, 104, 123, 0.05);
  border-left: 2px solid var(--accent, #2c687b);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-wrap;
  max-height: 220px;
  overflow-y: auto;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.45;
  cursor: pointer;
}
/* Reset the generic `.field input` rule (width:100%, padding, border) for
   checkboxes/radios so they render as native controls, not giant text boxes. */
.checkbox-row input[type="checkbox"],
.checkbox-row input[type="radio"],
.field input[type="checkbox"],
.field input[type="radio"] {
  width: auto;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  margin: 0.2rem 0 0 0;
  border: none;
  background: transparent;
  box-shadow: none;
  accent-color: var(--accent);
  cursor: pointer;
}
.checkbox-row > span {
  flex: 1 1 auto;
  min-width: 0;
}
.info-box {
  padding: 0.75rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: 0.4rem;
  font-size: 0.88rem;
  color: var(--ink);
}
.payment-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.payment-tab {
  padding: 0.6rem 1rem;
  border: none;
  background: transparent;
  color: var(--ink-faint);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.payment-tab:hover { color: var(--ink); }
.payment-tab.is-active {
  color: var(--accent, #2c687b);
  border-bottom-color: var(--accent, #2c687b);
}
.payment-review-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  margin-top: 0.75rem;
  background: #fff;
}
.payment-review-card__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

/* ---------- Coauthor row ---------- */
.coauthor-row-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: #fff;
  margin-bottom: 1rem;
}
.coauthor-row-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.coauthor-number {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.coauthor-corresp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.coauthor-lookup { margin-bottom: 0.8rem; }
.coauthor-lookup__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

/* ---------- Profile completeness modal ---------- */
.profile-completeness-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.profile-completeness-modal__card {
  background: #fff;
  border-radius: 0.8rem;
  max-width: 560px;
  width: 100%;
  padding: 1.75rem 1.8rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.25);
}
.profile-completeness-modal__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.profile-completeness-modal__card p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

/* ── Finance review panel ──────────────────────────────────────────────── */
.fin-panel { padding-bottom: 1.25rem; }

.fin-apc-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(var(--accent-rgb, 20, 83, 45), 0.06), rgba(var(--accent-rgb, 20, 83, 45), 0.02));
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin: 0.6rem 0 1rem;
}
.fin-apc-banner__label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.fin-apc-banner__amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.fin-apc-banner__journal {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: right;
  font-weight: 500;
}

.fin-journal-bank {
  background: var(--paper-strong);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 1rem;
}
.fin-journal-bank > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
}
.fin-journal-bank > summary::-webkit-details-marker { display: none; }
.fin-journal-bank > summary::before {
  content: "▸";
  font-size: 0.7rem;
  color: var(--ink-faint);
  transition: transform 0.15s;
}
.fin-journal-bank[open] > summary::before { transform: rotate(90deg); display: inline-block; }
.fin-journal-bank__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem 1.25rem;
  margin-top: 0.75rem;
}
.fin-journal-bank__grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.fin-journal-bank__grid span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.fin-journal-bank__grid code {
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 0.82rem;
  color: var(--ink);
  background: transparent;
  padding: 0;
  word-break: break-all;
}

.fin-section-head {
  margin: 1.25rem 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.fin-section-head--muted { color: var(--ink-faint); }

.fin-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  margin-bottom: 0.8rem;
  background: var(--paper);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.fin-card:hover { border-color: var(--line-strong); box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05); }

.fin-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.fin-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.fin-card__amount {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 0.1rem;
}
.fin-card__meta {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.25rem;
}

.fin-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
}
.fin-kv { min-width: 0; }
.fin-kv__label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.fin-kv__value {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
  line-height: 1.35;
}

.fin-proof {
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}
.fin-proof__head {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.fin-proof--ok {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #047857;
}
.fin-proof--warn {
  background: rgba(220, 38, 38, 0.07);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  font-weight: 500;
}
.fin-proof--muted {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  color: var(--ink-faint);
}

.fin-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

/* =========================================================================
   OPS DASHBOARD SYSTEM (Linear / Notion-style)
   Used by: author, reviewer, desk, editor, eic, production, admin,
   journal-admin dashboards. Dense tables, sidebar navigation, filter pills.
   ========================================================================= */

:root {
  --ops-sidebar-w: 248px;
  --ops-row-h: 44px;
  --ops-surface: #ffffff;
  --ops-surface-2: #f7f8fa;
  --ops-hover: rgba(11, 46, 82, 0.04);
  --ops-selected: rgba(11, 46, 82, 0.07);
  --ops-divider: rgba(11, 46, 82, 0.08);
  --ops-text: #0b2e52;
  --ops-muted: #6a7a8a;
  --ops-accent: var(--accent, #0b2e52);
}

.ops-shell {
  display: grid;
  grid-template-columns: var(--ops-sidebar-w) 1fr;
  min-height: calc(100vh - 80px);
  background: var(--ops-surface-2);
}
@media (max-width: 900px) {
  .ops-shell { grid-template-columns: 1fr; }
}

/* ── Sidebar ───────────────────────────────────────────────────────── */
.ops-sidebar {
  background: var(--ops-surface);
  border-right: 1px solid var(--ops-divider);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0.75rem 1rem;
  gap: 0.25rem;
  position: sticky;
  top: 80px;
  align-self: start;
  height: calc(100vh - 80px);
  overflow-y: auto;
}
@media (max-width: 900px) {
  .ops-sidebar { position: relative; top: 0; height: auto; border-right: 0; border-bottom: 1px solid var(--ops-divider); flex-direction: row; overflow-x: auto; padding: 0.5rem; }
}

.ops-sidebar__role {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ops-muted);
  padding: 0.35rem 0.75rem 0.5rem;
}
.ops-sidebar__section {
  padding: 0.75rem 0.5rem 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ops-muted);
}
.ops-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ops-text);
  text-decoration: none;
  transition: background 0.12s ease;
  white-space: nowrap;
}
.ops-sidebar__link:hover { background: var(--ops-hover); }
.ops-sidebar__link.is-active { background: var(--ops-selected); color: var(--ops-accent); font-weight: 600; }
.ops-sidebar__link svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.ops-sidebar__link.is-active svg { opacity: 1; }
.ops-sidebar__count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(11, 46, 82, 0.08);
  color: var(--ops-text);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}

/* ── Main canvas ──────────────────────────────────────────────────── */
.ops-main {
  padding: 1.5rem 2rem 3rem;
  min-width: 0;
}
@media (max-width: 700px) {
  .ops-main { padding: 1rem 1rem 2rem; }
}

.ops-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--ops-divider);
  flex-wrap: wrap;
}
.ops-header__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ops-text);
  margin: 0;
}
.ops-header__sub {
  font-size: 0.9rem;
  color: var(--ops-muted);
  margin-top: 0.2rem;
}
.ops-header__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── KPI stat strip ───────────────────────────────────────────────── */
.ops-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ops-stat {
  background: var(--ops-surface);
  border: 1px solid var(--ops-divider);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.15s ease;
}
.ops-stat:hover { border-color: rgba(11, 46, 82, 0.2); }
.ops-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ops-muted);
}
.ops-stat__value {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ops-text);
  font-family: var(--font-display);
  line-height: 1;
}
.ops-stat__delta {
  font-size: 0.78rem;
  color: var(--ops-muted);
}
.ops-stat--accent { border-color: var(--ops-accent); background: rgba(11, 46, 82, 0.03); }

/* ── Filter bar ───────────────────────────────────────────────────── */
.ops-filterbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.ops-pill {
  background: var(--ops-surface);
  border: 1px solid var(--ops-divider);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ops-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.12s ease;
  text-decoration: none;
}
.ops-pill:hover { background: var(--ops-hover); border-color: rgba(11, 46, 82, 0.2); }
.ops-pill.is-active { background: var(--ops-text); color: #fff; border-color: var(--ops-text); }
.ops-pill__count {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(11, 46, 82, 0.08);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  color: var(--ops-text);
}
.ops-pill.is-active .ops-pill__count { background: rgba(255,255,255,0.2); color: #fff; }
.ops-search {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  position: relative;
}
.ops-search input {
  width: 100%;
  padding: 0.5rem 0.85rem 0.5rem 2.1rem;
  border: 1px solid var(--ops-divider);
  border-radius: 6px;
  background: var(--ops-surface);
  font-size: 0.9rem;
  color: var(--ops-text);
}
.ops-search input:focus { outline: 2px solid var(--ops-accent); outline-offset: -1px; border-color: transparent; }
.ops-search::before {
  content: "";
  position: absolute;
  left: 0.65rem; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236a7a8a' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

/* ── Data table (dense) ───────────────────────────────────────────── */
.ops-table-wrap {
  background: var(--ops-surface);
  border: 1px solid var(--ops-divider);
  border-radius: 8px;
  overflow: hidden;
}
.ops-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: var(--ops-text);
}
.ops-table thead {
  background: var(--ops-surface-2);
  border-bottom: 1px solid var(--ops-divider);
}
.ops-table th {
  text-align: left;
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--ops-muted);
  white-space: nowrap;
}
.ops-table td {
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--ops-divider);
  vertical-align: middle;
}
.ops-table tbody tr { transition: background 0.1s ease; }
.ops-table tbody tr:hover { background: var(--ops-hover); }
.ops-table tbody tr.is-selected { background: var(--ops-selected); }
.ops-table__primary {
  font-weight: 600;
  color: var(--ops-text);
}
.ops-table__primary a { color: inherit; text-decoration: none; }
.ops-table__primary a:hover { text-decoration: underline; text-decoration-color: var(--ops-accent); }
.ops-table__sub {
  font-size: 0.78rem;
  color: var(--ops-muted);
  margin-top: 0.15rem;
}
.ops-table__nowrap { white-space: nowrap; }
.ops-table__actions { text-align: right; white-space: nowrap; }
.ops-table__empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ops-muted);
  font-size: 0.92rem;
}

/* ── Status chips (reuse across dashboards) ───────────────────────── */
.ops-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: rgba(11, 46, 82, 0.07);
  color: var(--ops-text);
}
.ops-chip--ok      { background: rgba(40, 120, 80, 0.12);  color: #1f6a48; }
.ops-chip--warn    { background: rgba(200, 130, 30, 0.14); color: #8a571d; }
.ops-chip--bad     { background: rgba(180, 50, 60, 0.12);  color: #8c1f2a; }
.ops-chip--info    { background: rgba(45, 100, 175, 0.12); color: #1c4a8a; }
.ops-chip--muted   { background: rgba(100, 110, 120, 0.1); color: var(--ops-muted); }
.ops-chip--accent  { background: rgba(11, 46, 82, 0.12);  color: var(--ops-accent); }

/* ── Buttons (ops-flavored) ───────────────────────────────────────── */
.ops-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--ops-divider);
  background: var(--ops-surface);
  color: var(--ops-text);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.12s ease;
  white-space: nowrap;
}
.ops-btn:hover { border-color: var(--ops-accent); }
.ops-btn--primary { background: var(--ops-accent); color: #fff; border-color: var(--ops-accent); }
.ops-btn--primary:hover { background: rgba(11, 46, 82, 0.9); }
.ops-btn--ghost { background: transparent; border-color: transparent; }
.ops-btn--ghost:hover { background: var(--ops-hover); border-color: var(--ops-divider); }
.ops-btn--danger { color: #8c1f2a; border-color: rgba(180, 50, 60, 0.3); }
.ops-btn--danger:hover { background: rgba(180, 50, 60, 0.08); border-color: #8c1f2a; }
.ops-btn--xs { padding: 0.25rem 0.6rem; font-size: 0.78rem; }
.ops-btn svg { width: 14px; height: 14px; }

/* ── Action bar (shown when rows selected) ────────────────────────── */
.ops-actionbar {
  background: var(--ops-text);
  color: #fff;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}
.ops-actionbar__count { font-weight: 700; }
.ops-actionbar__spacer { flex: 1; }
.ops-actionbar .ops-btn { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: #fff; }
.ops-actionbar .ops-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.35); }

/* ── Tab row (for dashboards with multiple tabs) ──────────────────── */
.ops-tabs {
  display: flex;
  gap: 0.15rem;
  border-bottom: 1px solid var(--ops-divider);
  margin-bottom: 1.25rem;
  overflow-x: auto;
}
.ops-tab {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ops-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.12s ease;
  white-space: nowrap;
}
.ops-tab:hover { color: var(--ops-text); }
.ops-tab.is-active {
  color: var(--ops-accent);
  border-bottom-color: var(--ops-accent);
  font-weight: 600;
}
.ops-tab__count {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  background: rgba(11, 46, 82, 0.08);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  color: var(--ops-muted);
}
.ops-tab.is-active .ops-tab__count { background: rgba(11, 46, 82, 0.15); color: var(--ops-accent); }

/* ── Split detail layout (table left, detail panel right) ─────────── */
.ops-split {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 1.25rem;
}
@media (max-width: 1200px) { .ops-split { grid-template-columns: 1fr; } }
.ops-detail {
  background: var(--ops-surface);
  border: 1px solid var(--ops-divider);
  border-radius: 8px;
  padding: 1.25rem;
  align-self: start;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* ── Inbox-style list (author, reviewer) ──────────────────────────── */
.ops-inbox {
  background: var(--ops-surface);
  border: 1px solid var(--ops-divider);
  border-radius: 8px;
  overflow: hidden;
}
.ops-inbox__item {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--ops-divider);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s ease;
}
.ops-inbox__item:first-child { border-top: 0; }
.ops-inbox__item:hover { background: var(--ops-hover); }
.ops-inbox__item.is-unread { background: rgba(11, 46, 82, 0.025); }
.ops-inbox__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ops-accent);
  opacity: 0;
}
.ops-inbox__item.is-unread .ops-inbox__dot { opacity: 1; }
.ops-inbox__title {
  font-weight: 600;
  color: var(--ops-text);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.ops-inbox__meta {
  font-size: 0.8rem;
  color: var(--ops-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.ops-inbox__right { text-align: right; display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-end; }
.ops-inbox__date { font-size: 0.78rem; color: var(--ops-muted); }

/* ── Skeleton loading rows ────────────────────────────────────────── */
.ops-skel-row {
  height: 48px;
  background: linear-gradient(90deg, var(--ops-surface-2) 0%, rgba(240,241,243,0.6) 50%, var(--ops-surface-2) 100%);
  background-size: 200% 100%;
  animation: opsShimmer 1.4s linear infinite;
  border-top: 1px solid var(--ops-divider);
}
@keyframes opsShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =========================================================================
   SITEWIDE RESPONSIVE HARDENING
   A final override layer for mixed legacy pages, dashboard pages, and
   content generated by JS. Keep this scoped to layout behavior, not branding.
   ========================================================================= */

html,
body {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

main,
section,
article,
aside,
header,
footer,
.container-shell,
.page-shell,
.hero-card,
.glass-panel,
.form-panel,
.table-card,
.metric-card,
.timeline-card,
.ops-main,
.ops-detail,
.journal-layout-v2__main,
.submission-detail-grid > *,
.auth-form-container {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

pre,
code,
kbd,
samp {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

p,
li,
dd,
td,
th,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
strong,
small {
  overflow-wrap: anywhere;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

.inline-actions > *,
.chip-row > *,
.journal-hero-v2__actions > *,
.ops-header__actions > *,
.ops-actionbar > * {
  min-width: 0;
}

.table-wrap,
.ops-table-wrap,
[class*="table-wrap"],
[style*="overflow:auto"],
[style*="overflow: auto"] {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table,
.ops-table,
.glass-panel table,
.hero-card table,
.table-card table {
  min-width: 680px;
}

.table-wrap th,
.table-wrap td,
.ops-table th,
.ops-table td,
.glass-panel table th,
.glass-panel table td,
.hero-card table th,
.hero-card table td,
.table-card table th,
.table-card table td {
  white-space: normal;
  vertical-align: top;
}

.ops-table__nowrap,
.ops-table__actions,
.ops-chip,
.status-pill,
.role-pill,
.chip {
  white-space: nowrap;
}

.modal-backdrop,
.profile-completeness-modal,
.search-modal {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.modal-panel,
.profile-completeness-modal__card,
.search-modal__panel {
  width: min(100%, 680px);
  max-height: min(86vh, 760px);
  overflow-y: auto;
}

@media (max-width: 1100px) {
  .container-shell {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .hero-grid,
  .dashboard-grid,
  .submission-detail-grid,
  .doc-layout,
  .special-issue-detail-layout,
  .journal-layout-v2,
  .ops-split {
    grid-template-columns: 1fr !important;
  }

  .journal-layout-v2__aside,
  .doc-layout aside.doc-toc,
  .ops-detail {
    position: static;
    top: auto;
    max-height: none;
  }

  .dashboard-hero,
  .dashboard-hero--compact,
  .ops-header,
  .public-masthead,
  .journal-hero-academic__inner,
  .platform-hero {
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  .section-pad {
    padding: clamp(1.75rem, 5vw, 3rem) 0;
  }

  .site-header__inner,
  .publisher-nav-top__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .publisher-nav-main__inner,
  .journal-nav-v2__inner,
  .site-header__nav-inner,
  .ops-tabs,
  .unified-tabs,
  .search-tabs {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .publisher-nav-main__link,
  .journal-nav-v2__link,
  .site-header__nav-inner a,
  .ops-tab,
  .unified-tab {
    scroll-snap-align: start;
  }

  .ops-sidebar {
    position: relative;
    top: 0;
    height: auto;
    max-width: 100vw;
  }

  .ops-inbox__item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ops-inbox__right {
    grid-column: 2;
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .container-shell {
    width: min(calc(100% - 1rem), var(--container));
  }

  .hero-card,
  .glass-panel,
  .metric-card,
  .timeline-card,
  .table-card,
  .form-panel,
  .metrics-card,
  .eic-card,
  .journal-info-panel,
  .cfp-card-v2,
  .board-card-v2 {
    border-radius: 12px;
    padding: 1rem;
  }

  .display-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .dashboard-hero--compact {
    padding: 1.25rem;
    gap: 1rem;
  }

  .dashboard-hero--compact .hero-stats,
  .hero-stats,
  .stats-grid,
  .ops-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .field-grid,
  .journal-settings-form .field-grid,
  .journal-settings-form .field-apc-row,
  .finance-grid,
  .apc-block,
  .journal-info-panel {
    grid-template-columns: 1fr !important;
  }

  /* Common page-local grids declared inline in older HTML pages. */
  [data-journal-directory],
  [data-cfps-preview],
  [data-cfps-list],
  [data-si-list],
  [data-my-si-list],
  .si-grid,
  [style*="grid-template-columns: repeat(auto-fill, minmax(300px"],
  [style*="grid-template-columns: repeat(auto-fill, minmax(320px"],
  [style*="grid-template-columns: repeat(auto-fill, minmax(340px"] {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
    gap: 1rem !important;
  }

  .split-features-layout {
    display: block !important;
  }

  .split-block {
    width: 100% !important;
    min-width: 0 !important;
    padding: 3rem 1rem !important;
  }

  .split-block > div {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .inline-actions,
  .ops-header__actions,
  .journal-hero-v2__actions,
  .cfp-card-v2__foot,
  .ops-actionbar {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-actions > a,
  .inline-actions > button,
  .ops-header__actions > a,
  .ops-header__actions > button,
  .journal-hero-v2__actions > a,
  .ops-btn,
  .button-primary,
  .button-secondary,
  .button-ghost {
    justify-content: center;
  }

  .publisher-nav-top__brand-name {
    font-size: 1.15rem;
  }

  .publisher-nav-top__brand-tag {
    display: none;
  }

  .publisher-nav-top__meta {
    width: 100%;
    justify-content: space-between;
  }

  .publisher-nav-main__search-trigger {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    margin-right: 0.25rem;
  }

  .journal-hero-v2 {
    padding: 2rem 0;
  }

  .journal-hero-v2__inner {
    gap: 1rem;
  }

  .journal-hero-v2__cover {
    width: min(150px, 52vw);
  }

  .article-row {
    gap: 0.75rem;
  }

  .toast-stack {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .toast {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .section-pad {
    padding: 1.5rem 0;
  }

  .publisher-nav-top {
    padding: 0.65rem 0;
  }

  .publisher-nav-top__inner {
    gap: 0.6rem;
  }

  .publisher-nav-top__brand-mark {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .publisher-nav-top__login {
    padding: 0.42rem 0.75rem;
    font-size: 0.84rem;
  }

  .publisher-nav-main__link,
  .journal-nav-v2__link {
    padding: 0.78rem 0.72rem;
    font-size: 0.84rem;
  }

  .dashboard-hero--compact .hero-stats,
  .hero-stats,
  .stats-grid,
  .ops-stats,
  .cards-grid,
  .feature-grid,
  .steps-grid,
  .journal-select-grid,
  .cfp-hub__grid,
  .journals-grid,
  .board-grid-v2 {
    grid-template-columns: 1fr !important;
  }

  .ops-main {
    padding: 0.85rem 0.75rem 1.5rem;
  }

  .ops-sidebar {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    border-radius: 0;
  }

  .ops-filterbar,
  .ops-actionbar {
    align-items: stretch;
  }

  .ops-search {
    min-width: 100%;
    max-width: none;
  }

  .ops-table-wrap {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    border-radius: 6px;
  }

  .ops-table th,
  .ops-table td,
  th,
  td {
    padding: 0.65rem 0.7rem;
  }

  .auth-split-layout {
    display: block !important;
    min-height: auto !important;
  }

  .auth-brand-side {
    min-height: auto !important;
    padding: 2rem 1rem !important;
  }

  .auth-form-side {
    padding: 1.25rem 1rem 2rem !important;
  }

  .auth-form-container {
    width: 100% !important;
    max-width: none !important;
  }

  .auth-form-container .field-grid,
  .auth-form-side .field-grid {
    grid-template-columns: 1fr !important;
  }

  .auth-form-container .field,
  .auth-form-side .field,
  .auth-form-container [style*="grid-column"],
  .auth-form-side [style*="grid-column"] {
    grid-column: 1 / -1 !important;
  }

  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns: 1fr 320px"] {
    grid-template-columns: 1fr !important;
  }

  [style*="font-size: 3.5rem"],
  [style*="font-size: clamp(3.5rem"] {
    font-size: clamp(2.25rem, 13vw, 3rem) !important;
  }

  [style*="font-size: 2.5rem"] {
    font-size: clamp(1.65rem, 9vw, 2.15rem) !important;
  }

  [style*="padding: 6rem 0"],
  [style*="padding: 5rem 0"] {
    padding: 2.5rem 0 !important;
  }

  [style*="margin-bottom: 3rem"] {
    margin-bottom: 1.5rem !important;
  }

  .modal-backdrop {
    align-items: flex-start !important;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .modal-panel,
  .profile-completeness-modal__card,
  .search-modal__panel {
    border-radius: 12px;
    max-height: calc(100vh - 1.5rem);
  }

  .search-modal {
    place-items: start stretch;
    padding-top: 1rem;
  }

  .search-modal__header {
    align-items: center;
  }

  .search-modal__form {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }

  .search-modal__form svg {
    display: none;
  }

  .search-modal__form button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .container-shell {
    width: min(calc(100% - 0.75rem), var(--container));
  }

  .hero-card,
  .glass-panel,
  .metric-card,
  .timeline-card,
  .table-card,
  .form-panel,
  .metrics-card,
  .eic-card,
  .journal-info-panel,
  .cfp-card-v2,
  .board-card-v2 {
    padding: 0.85rem;
  }

  .publisher-nav-main__link,
  .journal-nav-v2__link {
    padding-left: 0.58rem;
    padding-right: 0.58rem;
  }

  .status-pill,
  .role-pill,
  .chip,
  .ops-chip {
    font-size: 0.68rem;
  }
}
