/* USF College of Education Newsletter. Brand tokens + components on top of Bootstrap 5.3. */
:root {
    /* Sampled from the design screenshots */
    --green: #015534;        /* primary buttons */
    --green-dark: #033f2a;   /* header, headings */
    --green-deep: #022e20;   /* footer, sidebar bottom */
    --green-side: #043d2c;   /* sidebars */
    --green-text: #1f5a3a;   /* in-article headings */
    --green-50: #e2f3eb;
    --green-100: #cfe6d9;
    --gold: #dbb956;         /* gold buttons */
    --gold-line: #dfbe4d;    /* gold rules and borders */
    --gold-strong: #c9a43f;
    --gold-50: #efe4c0;      /* gold category pills */
    --ink: #1b2420;
    --ink-2: #44514b;
    --ink-3: #59655f;
    --line: #e3e7e5;
    --bg: #f2f4f6;
    --white: #fff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(16, 40, 30, .06), 0 1px 3px rgba(16, 40, 30, .05);
    --shadow: 0 6px 24px rgba(16, 40, 30, .08);
    --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --bs-body-font-family: var(--sans);
    --bs-body-color: var(--ink);
    --bs-link-color: var(--green);
    --bs-link-color-rgb: 0, 103, 71;
    --bs-link-hover-color: var(--green-dark);
    --bs-link-hover-color-rgb: 0, 71, 52;
    --bs-border-color: var(--line);
    --bs-focus-ring-color: rgba(0, 103, 71, .35);
}
body { font-family: var(--sans); font-size: 1.0625rem; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); }
a { text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.btn:focus-visible, .form-control:focus, .form-select:focus { box-shadow: 0 0 0 .25rem rgba(0, 103, 71, .3); border-color: var(--green); outline: none; }
main:focus { outline: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--white); color: var(--green-dark); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 12px; }
.text-muted-2 { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius-sm); }
.btn-lg { font-size: 1rem; padding: .7rem 1.4rem; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover, .btn-green:active { background: var(--green-dark) !important; border-color: var(--green-dark) !important; color: #fff !important; }
.btn-outline-green { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline-green:hover, .btn-outline-green:active { background: var(--green) !important; color: #fff !important; border-color: var(--green) !important; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep); font-weight: 700; }
.btn-gold:hover, .btn-gold:active { background: #e4c66b !important; border-color: #e4c66b !important; color: var(--green-deep) !important; }
.btn-gold:disabled { background: var(--gold); border-color: var(--gold); color: var(--green-deep); opacity: .55; }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover, .btn-outline-gold:active { background: var(--gold) !important; color: var(--green-deep) !important; border-color: var(--gold) !important; }
.btn-outline-light:hover { color: var(--green-dark); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.brand:hover { color: #fff; }
.brand { gap: 12px; }
.brand img { width: 52px; height: auto; flex: none; }
.brand-usf { font-family: var(--sans); font-weight: 700; font-size: 2.6rem; letter-spacing: -.01em; line-height: 1; }
.brand-rule { width: 2px; height: 46px; background: rgba(255, 255, 255, .85); flex: none; margin: 0 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-college { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; white-space: nowrap; }
.brand-sub { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .92); font-weight: 600; margin-top: 4px; }
.brand-compact img { width: 38px; }
.brand-compact .brand-usf { font-size: 1.7rem; }
.brand-compact .brand-rule { height: 32px; }
.brand-compact .brand-college { font-size: 1.15rem; }
.brand-compact .brand-sub { font-size: .64rem; color: var(--gold); }

/* ---------- Public header ---------- */
.site-header { background: var(--green-dark); border-bottom: 4px solid var(--gold-line); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding-top: .9rem; padding-bottom: .9rem; }
.site-header .nav-link { color: #fff; font-weight: 600; font-size: 1.08rem; padding: .5rem 1rem !important; position: relative; }
.site-header .nav-link:hover { color: #fff; }
.site-header .nav-link.active { color: #fff; }
.site-header .nav-link.active::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .05rem; height: 3px; background: var(--gold-line); border-radius: 2px; }
.site-header .nav-cta { margin-left: .75rem; }
.site-header .nav-cta .btn { font-size: 1.05rem; padding: .55rem 1.3rem; }
.site-header .nav-account { margin-left: .6rem; }
.site-header .nav-signin { font-size: .92rem; }
.navbar-toggler { border-color: rgba(255, 255, 255, .35); }
@media (max-width: 991.98px) {
    .site-header .navbar-nav { padding: .75rem 0 .25rem; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: .75rem; }
    .site-header .nav-link.active::after { display: none; }
    .site-header .nav-link.active { background: rgba(255, 255, 255, .08); border-radius: 6px; }
    .site-header .nav-cta, .site-header .nav-account { margin: .35rem 0 0; }
    .site-header .nav-cta .btn { width: 100%; }
}
@media (max-width: 1199.98px) { .site-header .brand-usf { font-size: 2rem; } .site-header .brand-college { font-size: 1.35rem; } .site-header .nav-link { padding: .5rem .7rem !important; } }
@media (max-width: 575.98px) {
    .brand img { width: 40px; }
    .brand-usf, .site-header .brand-usf { font-size: 1.6rem; }
    .brand-rule { height: 34px; }
    .brand-college, .site-header .brand-college { font-size: 1.1rem; }
    .brand-sub { font-size: .58rem; letter-spacing: .14em; }
}
@media (max-width: 400px) { .brand-usf, .brand-rule { display: none !important; } }

/* ---------- User menu (shared) ---------- */
.user-menu-btn { display: flex; align-items: center; gap: 10px; color: inherit; border: 0; padding: 4px 6px; }
.user-menu-btn:hover, .user-menu-btn:focus { color: inherit; }
.site-header .user-menu-btn, .app-topbar-dark .user-menu-btn { color: #fff; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex: none; }
.avatar-sm { width: 28px; height: 28px; font-size: .7rem; margin-right: 8px; background: var(--green-100); color: var(--green-dark); }
.user-menu-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.user-menu-name { font-weight: 600; font-size: .9rem; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-role { font-size: .74rem; opacity: .75; }
.dropdown-menu { border-radius: 10px; border-color: var(--line); box-shadow: var(--shadow); padding: .4rem; }
.dropdown-item { border-radius: 6px; padding: .5rem .75rem; font-size: .92rem; }
.dropdown-item:active { background: var(--green); }
@media (max-width: 575.98px) { .app-shell .user-menu-text { display: none; } }

/* ---------- Breadcrumbs / page band ---------- */
.crumb-bar { background: #f1f3f2; border-bottom: 1px solid var(--line); }
.crumb-bar .breadcrumb { margin: 0; padding: .6rem 0; font-size: .88rem; flex-wrap: nowrap; overflow: hidden; }
.crumb-bar .breadcrumb-item { white-space: nowrap; }
.crumb-bar .breadcrumb-item.active { overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.page-band { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.page-band h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--green-dark); margin-bottom: .5rem; }
.page-band p { font-size: 1.12rem; color: var(--ink-2); margin: 0; max-width: 46rem; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-tight { padding: 0 0 1.5rem; }
.section-soft { background: var(--bg); border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head-rule .section-title { display: flex; align-items: center; gap: 1rem; flex: 1; }
.section-head-rule .section-title::after { content: ""; flex: 1; height: 2px; background: var(--gold-line); opacity: .8; }
.section-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2rem); color: var(--green-dark); margin: 0; }
.section-link { font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: .75rem; }
.eyebrow-gold { color: #fff; opacity: .9; }
.eyebrow-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.eyebrow-rule::before, .eyebrow-rule::after { content: ""; height: 1px; width: 70px; background: var(--gold-strong); }

/* ---------- Home hero ---------- */
.home-hero { background: radial-gradient(900px 360px at 90% 0%, rgba(219, 185, 86, .16), transparent 60%), linear-gradient(120deg, var(--green-dark) 0%, #0a5a3e 100%); color: #fff; padding: 3.5rem 0 3.25rem; position: relative; overflow: hidden; }
.home-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.home-hero .container-xl { position: relative; z-index: 1; }
.hero-title { font-family: var(--sans); font-weight: 700; color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.3rem); max-width: 40rem; line-height: 1.08; margin-bottom: 1rem; }
.hero-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 38rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-panel { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 20px 50px rgba(0, 30, 20, .25); border-top: 4px solid var(--gold); }
.hero-panel-title { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--green-dark); margin-bottom: 1.1rem; }
.hero-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.hero-steps li { display: flex; gap: .9rem; }
.hero-steps span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--green); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .88rem; border: 1px solid var(--green-100); }
.hero-steps strong { display: block; font-size: .97rem; margin-bottom: 2px; }
.hero-steps div { font-size: .9rem; color: var(--ink-2); }

/* ---------- Article components ---------- */
.cat-pill { display: inline-block; background: var(--gold-50); color: #2b2a1c; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; }
.cat-pill-green { background: #dcebd9; color: var(--green-dark); font-weight: 700; font-size: .95rem; padding: .3rem .75rem; }
.cat-pill-green.cat-pill-sm { font-size: .68rem; }
.cat-pill-sm { font-size: .66rem; padding: .15rem .45rem; border-radius: 4px; }
.meta-sep { color: var(--ink-3); opacity: .6; }
.article-meta { display: flex; align-items: center; gap: .5rem 1.1rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-3); }
.article-meta i { margin-right: .35rem; }
.article-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-media-ph { width: 100%; height: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(207, 196, 147, .85); font-size: 2.6rem; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .08) 0 2px, transparent 3px) 0 0 / 18px 18px, linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center; }
.featured-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.featured-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: .9rem 0 .8rem; }
.featured-title a, .article-card-title a, .related-title { color: #0d2f24; text-decoration: none; }
.featured-title a { color: var(--green-dark); }
.featured-title a:hover, .article-card-title a:hover, .related-title:hover { text-decoration: underline; text-decoration-color: var(--gold-strong); }
.featured-dek { font-size: 1.08rem; color: var(--ink-2); margin-bottom: 1rem; }
.read-link { display: inline-flex; align-items: center; margin-top: 1.1rem; font-weight: 700; font-size: 1.15rem; color: var(--green-dark); text-decoration: none; border-bottom: 3px solid var(--gold-line); padding-bottom: 3px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.article-card-body { padding: 1.2rem 1.3rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.article-card-title { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.25; margin: .7rem 0 .5rem; }
.article-card-excerpt { color: var(--ink-2); font-size: .94rem; margin-bottom: 1rem; flex: 1; }
.article-card-arrow { color: var(--green-dark); font-size: 1.15rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 500; background: #fff; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Empty states ---------- */
.empty-state { text-align: center; border: 1.5px dashed #cfd8d3; border-radius: var(--radius); padding: 3rem 1.5rem; background: var(--bg); }
.empty-state-lg { padding: 3.5rem 1.5rem; }
.empty-state h2, .empty-state h3 { font-family: var(--serif); font-weight: 700; color: var(--green-dark); font-size: 1.6rem; margin-bottom: .6rem; }
.empty-state p { color: var(--ink-2); max-width: 34rem; margin: 0 auto 1.4rem; }
.empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 1rem; border: 1px solid var(--green-100); }
.empty-inline { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg); border: 1px dashed #cfd8d3; border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; color: var(--ink-2); font-size: .93rem; }
.empty-inline i { font-size: 1.4rem; color: var(--green); }
.empty-inline strong { color: var(--ink); }

/* ---------- CTA + value props ---------- */
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; border-radius: var(--radius); padding: 2rem 2.25rem; box-shadow: var(--shadow); }
.cta-card h2 { font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.7rem; margin-bottom: .35rem; }
.cta-card p { margin: 0; color: rgba(255, 255, 255, .85); }
.value-props { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }
.value-prop { display: flex; gap: 1rem; padding: .5rem 1.75rem; }
.value-prop + .value-prop { border-left: 1px solid var(--gold); }
.value-prop i { font-size: 2.1rem; color: var(--green); line-height: 1; }
.value-prop h3 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--green-dark); margin-bottom: .2rem; }
.value-prop p { color: var(--ink-2); margin: 0; font-size: .93rem; }

/* ---------- Subscribe page ---------- */
.subscribe-hero { padding: 4rem 0; background: radial-gradient(900px 380px at 15% 10%, rgba(207, 196, 147, .22), transparent 60%), radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(135deg, var(--green-dark), var(--green)); }
.subscribe-card { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 3rem 3.25rem 2.5rem; text-align: center; box-shadow: 0 24px 60px rgba(0, 30, 20, .3); }
.subscribe-title { font-family: var(--serif); font-weight: 700; color: var(--green-dark); font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.1; margin-bottom: .6rem; }
.gold-swash { display: block; width: 220px; height: 10px; margin: 0 auto 1.25rem; border-radius: 50%; border-top: 3px solid var(--gold-strong); }
.subscribe-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40rem; margin: 0 auto 1.75rem; }
.subscribe-form { display: flex; gap: .75rem; max-width: 600px; margin: 0 auto 1rem; }
.input-icon { position: relative; flex: 1; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 1.15rem; }
.input-icon .form-control { padding-left: 2.6rem; }
.notice-soon { display: flex; gap: .6rem; align-items: flex-start; text-align: left; max-width: 600px; margin: 0 auto 1rem; background: var(--gold-50); border: 1px solid #e6dfbf; color: #4c4318; border-radius: var(--radius-sm); padding: .75rem 1rem; font-size: .9rem; }
.privacy-note { font-size: .88rem; color: var(--ink-3); margin: 0; }
.privacy-note i { margin-right: .4rem; }

/* ---------- Article detail ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 1px 470px; gap: 2rem; padding-top: 2rem; padding-bottom: 4rem; }
.article-main { min-width: 0; }
.article-layout::before { content: ""; grid-column: 2; grid-row: 1; background: var(--line); }
.article-main { grid-column: 1; grid-row: 1; }
.article-side { grid-column: 3; grid-row: 1; }
.article-title { font-family: var(--serif); font-weight: 700; color: #0f241d; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin: 1rem 0 .9rem; }
.article-dek { font-size: 1.22rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .92rem; color: var(--ink-2); padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.article-byline i { margin-right: .4rem; color: var(--ink-3); }
.article-figure { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 0 0 1.75rem; }
.takeaways { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 1.75rem; }
.takeaways h2 { font-size: 1.15rem; font-weight: 700; color: var(--green-dark); margin-bottom: .75rem; }
.takeaways h2 i { margin-right: .5rem; color: var(--green); }
.takeaways ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.takeaways li { padding-left: 1.6rem; position: relative; }
.takeaways li::before { content: "\F26E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body h2 { font-family: var(--serif); font-weight: 700; color: var(--green-text); font-size: 1.55rem; margin: 2rem 0 .75rem; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li { position: relative; padding-left: 1.6rem; }
.article-body ul li::before { content: ""; position: absolute; left: .3rem; top: .62em; width: 9px; height: 9px; background: var(--gold-line); border-radius: 1px; }
.source-box { margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--gold); background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.source-box h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.source-box p { margin: 0; color: var(--ink-2); }
.article-side { display: flex; flex-direction: column; gap: 1.25rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.side-card + .side-card { margin-top: 0; }
.col-lg-5 > .side-card + .side-card, .col-lg-4 > .side-card + .side-card { margin-top: 1.25rem; }
.side-card h2 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--green-dark); margin-bottom: .75rem; }
.side-card p:last-child { margin-bottom: 0; }
.side-card-green { background: linear-gradient(160deg, #0a5a3e, var(--green-dark)); color: #fff; border: 0; }
.side-card-green h2 { color: #fff; }
.side-card-green p { color: rgba(255, 255, 255, .88); }
.share-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.share { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; text-decoration: none; border: 0; }
.share:hover { color: #fff; filter: brightness(1.1); }
.share-li { background: #0a66c2; } .share-fb { background: #1877f2; } .share-x { background: #111; } .share-mail, .share-link { background: #5f6b66; }
.copy-status { font-size: .85rem; color: var(--green); margin: .5rem 0 0; min-height: 1.2em; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.related-list li:first-child { border-top: 0; padding-top: .25rem; }
.related-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.related-media .article-media-ph { font-size: 1.5rem; }
.related-title { display: block; font-family: var(--serif); font-weight: 700; line-height: 1.25; margin: .35rem 0 .3rem; }
.related-date { font-size: .8rem; color: var(--ink-3); }
.related-date i { margin-right: .3rem; }

/* ---------- Prose / lists ---------- */
.prose h2 { font-family: var(--serif); font-weight: 700; color: var(--green-dark); font-size: 1.6rem; margin: 0 0 .75rem; }
.prose h2:not(:first-child) { margin-top: 2rem; }
.prose p { font-size: 1.05rem; line-height: 1.7; color: var(--ink-2); }
.process { padding-left: 1.2rem; display: grid; gap: .65rem; color: var(--ink-2); font-size: 1.02rem; }
.process li::marker { color: var(--green); font-weight: 700; }
.process strong { color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.check-list li { padding-left: 1.7rem; position: relative; color: var(--ink-2); }
.check-list li::before { content: "\F26E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.cat-tile { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--green-dark); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.cat-tile:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.archive-tools { display: flex; gap: .75rem; margin-bottom: 1.5rem; max-width: 640px; }
.search-box { position: relative; flex: 1; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search-box .form-control { padding-left: 2.5rem; height: 44px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, .8); padding: 3.5rem 0 1.5rem; border-top: 3px solid var(--gold); }
.footer-about { margin-top: 1rem; font-size: .93rem; max-width: 24rem; }
.footer-heading { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-weight: 700; margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .93rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-address { font-style: normal; font-size: .93rem; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .84rem; color: rgba(255, 255, 255, .65); }

/* ---------- Preview banner ---------- */
.preview-banner { background: var(--gold); color: var(--green-deep); text-align: center; padding: .5rem 1rem; font-size: .9rem; }
.preview-banner i { margin-right: .35rem; }
.preview-banner a { color: var(--green-deep); font-weight: 700; margin-left: .5rem; }

/* ---------- Auth pages ---------- */
.auth-page { background: var(--bg); min-height: 100vh; }
.auth-header { background: var(--green-dark); border-bottom: 4px solid var(--gold-line); padding: .8rem 0; }
.auth-back { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.auth-back:hover { color: #fff; }
.auth-main { padding: 3rem 0 4rem; }
.auth-main .flash { max-width: 960px; margin: 0 auto 1rem; }
.auth-card { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-aside { background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(160deg, var(--green), var(--green-deep)); color: #fff; padding: 2.75rem 2.25rem; }
.auth-aside-icon { width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .5); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--gold); }
.auth-aside h2 { font-family: var(--sans); font-weight: 700; color: #fff; font-size: 2rem; line-height: 1.15; margin-bottom: .9rem; }
.auth-aside p { color: rgba(255, 255, 255, .85); }
.auth-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .7rem; font-size: .94rem; }
.auth-points i { color: var(--gold); margin-right: .5rem; }
.auth-form { padding: 2.75rem 2.75rem 2.25rem; }
.auth-form h1 { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 1.9rem; margin-bottom: .35rem; }
.auth-lead { color: var(--ink-2); margin-bottom: 1.75rem; }
.auth-switch { text-align: center; margin: 1.5rem 0 0; color: var(--ink-2); }
.auth-switch a { font-weight: 600; }
.auth-help { text-align: center; font-size: .84rem; color: var(--ink-3); margin: .75rem 0 0; }
.form-label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form-control { border-radius: var(--radius-sm); border-color: #cfd8d3; padding: .6rem .85rem; }
.form-control[readonly] { background: var(--bg); }
.req { color: #b42318; }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 2.75rem; }
.pw-wrap .form-control.is-invalid { background-image: none; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--ink-3); width: 38px; height: 38px; border-radius: 6px; }
.pw-toggle:hover { color: var(--green); }

/* ---------- App shell (contributor + admin) ---------- */
.app-shell { background: var(--bg); min-height: 100vh; }
.app-topbar { display: flex; align-items: center; gap: .75rem; padding: .65rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1020; min-height: 64px; }
.app-topbar-dark { background: #01472f; border-bottom: 0; min-height: 84px; }
.app-menu-btn { font-size: 1.5rem; line-height: 1; padding: .25rem .5rem; color: inherit; }
.app-topbar-dark .app-menu-btn { color: #fff; }
.topbar-title { font-weight: 600; color: var(--ink-2); }
.app-body { display: flex; min-height: calc(100vh - 64px); }
.admin-shell .app-body { min-height: 100vh; }
.app-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-sidebar { background: var(--green-side); color: #fff; width: 260px; flex: none; display: flex; flex-direction: column; }
@media (min-width: 992px) {
    .app-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
    .account-shell .app-sidebar { top: 84px; height: calc(100vh - 84px); }
}
.app-sidebar.offcanvas-lg { --bs-offcanvas-bg: var(--green-dark); --bs-offcanvas-color: #fff; --bs-offcanvas-width: 270px; }
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sidebar-brand .brand-usf { font-size: 1.3rem; }
.sidebar-brand .brand-college { font-size: 1rem; }
.sidebar-brand .brand img { width: 36px; }
.sidebar-title { font-weight: 700; }
.sidebar-nav { padding: 1rem .75rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.sidebar-link { display: flex; align-items: center; gap: .9rem; padding: .75rem 1rem; border-radius: var(--radius-sm); color: #fff; text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.sidebar-link i { font-size: 1.1rem; width: 1.2rem; text-align: center; }
.sidebar-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sidebar-link.active { background: #d3b97b; color: #0d2a1f; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.admin-shell .sidebar-link { font-size: .97rem; padding: .62rem .9rem; }
.admin-shell .sidebar-link.active { background: #0d6b48; color: #fff; box-shadow: none; }
.admin-shell .page-title { font-family: var(--sans); font-weight: 700; padding-bottom: 0; }
.admin-shell .page-title::after { display: none; }
.sidebar-sep { height: 1px; background: rgba(255, 255, 255, .12); margin: .75rem .5rem; }
.sidebar-foot { padding: 1rem 1.2rem; font-size: .78rem; color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .1); }
.app-main { flex: 1; min-width: 0; padding: 2rem 2.25rem 3rem; }
@media (max-width: 767.98px) { .app-main { padding: 1.25rem 1rem 2.5rem; } .app-topbar { padding: .5rem 1rem; } }
.app-crumb { font-size: .86rem; margin-bottom: .75rem; }
.page-head { margin-bottom: 1.75rem; }
.page-title { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .4rem; position: relative; padding-bottom: .6rem; }
.page-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 90px; height: 5px; border-radius: 3px; background: #ceb16e; }
.page-lead { color: var(--ink-2); max-width: 46rem; margin: .5rem 0 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 1.25rem; }
.panel-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .9rem; }
.panel-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pct-number { font-family: var(--serif); font-weight: 700; font-size: 2rem; color: var(--green); line-height: 1; }
.progress { height: 10px; background: var(--green-50); border-radius: 99px; }
.progress-bar { background: var(--green); border-radius: 99px; }
.pct-0 { width: 0; } .pct-20 { width: 20%; } .pct-40 { width: 40%; } .pct-60 { width: 60%; } .pct-80 { width: 80%; } .pct-100 { width: 100%; }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.action-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.action-card:hover { border-color: var(--green); box-shadow: var(--shadow); color: var(--ink); }
.action-card > i { font-size: 1.6rem; color: var(--green); }
.action-card h2 { font-size: 1.05rem; font-weight: 700; margin: .75rem 0 .35rem; }
.action-card p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.badge-soon { position: absolute; top: 1rem; right: 1rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--gold-50); color: #5a4f1d; border: 1px solid #e6dfbf; border-radius: 5px; padding: .2rem .45rem; }
.status-guide { list-style: none; padding: 0; margin: 0; position: relative; }
.status-guide li { position: relative; padding: 0 0 1.1rem 2.1rem; font-size: .88rem; color: var(--ink-2); }
.status-guide li strong { display: block; color: var(--ink); font-size: .95rem; }
.status-guide li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b7c4bd; background: #fff; }
.status-guide li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: #dfe6e2; }
.status-guide li:last-child { padding-bottom: 0; }
.status-guide li:last-child::after { display: none; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; font-size: .92rem; }
.kv dt { color: var(--ink-3); font-weight: 500; }
.kv dd { margin: 0; text-align: right; word-break: break-all; }
.kv-num dd { font-weight: 700; font-size: 1.05rem; }
.form-actions { display: flex; gap: .5rem; align-items: center; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.placeholder-panel { text-align: center; padding: 3rem 1.5rem; }
.placeholder-panel h2 { font-family: var(--serif); font-weight: 700; color: var(--green-dark); font-size: 1.5rem; }
.placeholder-panel p { color: var(--ink-2); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
.stat-card i { grid-row: span 2; font-size: 1.35rem; color: var(--green); background: transparent; border: 1.5px solid var(--green-100); width: 46px; height: 46px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.stat-hint { grid-column: 1 / -1; font-size: .78rem; color: var(--ink-3); margin-top: .7rem; }
.admin-table { font-size: .92rem; }
.admin-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; background: var(--bg); padding: .8rem 1rem; white-space: nowrap; }
.admin-table td { padding: .8rem 1rem; vertical-align: middle; white-space: nowrap; }
.role-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 5px; margin-right: .3rem; background: var(--green-50); color: var(--green-dark); }
.role-publisher { background: var(--gold-50); color: #5a4f1d; }
.role-editor { background: #e8f0fb; color: #1d4f91; }
.flash { border-radius: var(--radius-sm); }

/* ---------- Error pages ---------- */
.error-page { text-align: center; padding: 5rem 0; }
.error-code { font-family: var(--serif); font-weight: 700; font-size: 6rem; line-height: 1; color: #8a6d1d; margin-bottom: .5rem; }
.error-page h1 { font-family: var(--serif); font-weight: 700; color: var(--green-dark); }
.error-lead { color: var(--ink-2); max-width: 32rem; margin: .5rem auto 1.75rem; }
.error-debug { text-align: left; max-width: 960px; margin: 2rem auto 0; background: #1b1b1b; color: #f3f3f3; padding: 1rem; border-radius: 8px; font-size: .8rem; white-space: pre-wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 1px 320px; gap: 1.5rem; }
}
@media (max-width: 991.98px) {
    .featured { grid-template-columns: 1fr; gap: 1.5rem; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: 1fr; }
    .article-layout::before { display: none; }
    .article-main, .article-side { grid-column: 1; grid-row: auto; }
    .auth-card { grid-template-columns: 1fr; }
    .auth-aside { padding: 2rem; }
    .auth-aside h2 { font-size: 1.6rem; }
    .auth-points { display: none; }
    .action-grid { grid-template-columns: 1fr; }
    .value-props { grid-template-columns: 1fr; gap: 1.25rem; }
    .value-prop { padding: 0; }
    .value-prop + .value-prop { border-left: 0; border-top: 1px solid var(--gold); padding-top: 1.25rem; }
}
@media (max-width: 767.98px) {
    .section { padding: 2.5rem 0; }
    .home-hero { padding: 2.75rem 0; }
    .card-grid { grid-template-columns: 1fr; }
    .subscribe-card { padding: 2rem 1.25rem 1.75rem; }
    .subscribe-form { flex-direction: column; }
    .auth-form { padding: 2rem 1.25rem; }
    .auth-main { padding: 1.5rem 0 3rem; }
    .auth-back span, .auth-back { font-size: .82rem; }
    .cta-card { padding: 1.5rem; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .stat-card { padding: 1rem; }
    .stat-hint { display: none; }
    .archive-tools { flex-direction: column; }
    .page-band { padding: 1.75rem 0 1.5rem; }
    .eyebrow-rule::before, .eyebrow-rule::after { width: 28px; }
}
@media (max-width: 480px) { .auth-back { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.role-actions { display: flex; flex-wrap: wrap; gap: .4rem; max-width: 22rem; }
.role-cell { min-width: 15rem; }
.role-actions form { margin: 0; }

/* Fixes after browser review */
@media (min-width: 992px) { .app-sidebar.offcanvas-lg { background: var(--green-side) !important; } }
.sidebar-brand .brand-usf, .sidebar-brand .brand-rule { display: none; }
.sidebar-brand .brand { gap: 10px; }
.sidebar-brand .brand-college { font-size: 1.05rem; }
.article-card-body .cat-pill, .featured-body .cat-pill { align-self: flex-start; }
.meta-sep { margin: 0 .5rem; }
.breadcrumb { --bs-breadcrumb-divider: '›'; }
.breadcrumb-item + .breadcrumb-item::before { font-size: 1.1em; line-height: 1; }
.article-figure-wrap { margin: 0 0 1.75rem; }
.article-figure-wrap .article-figure { margin: 0; }
.image-credit { font-size: .78rem; color: var(--ink-3); margin-top: .45rem; }
.chip-count { font-size: .75em; opacity: .7; margin-left: .15rem; }
.cat-tile { gap: .9rem; font-size: 1.1rem; }
.cat-tile-icon { font-size: 1.4rem; color: var(--green); }
.cat-tile small { display: block; font-family: var(--sans); font-weight: 400; font-size: .82rem; color: var(--ink-3); }

/* ========== Step 2: app header (screens 6/7), submissions, review ========== */
.app-header { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: 1.25rem; min-height: 92px; padding: .75rem 1.75rem .75rem 2rem; background: radial-gradient(120% 140% at 100% 0%, #0c5a40 0%, transparent 55%), #033f2a; color: #fff; overflow: hidden; }
.app-header::before { content: ""; position: absolute; left: -120px; top: -150px; width: 300px; height: 240px; border-radius: 50%; border-bottom: 8px solid var(--gold-line); transform: rotate(-12deg); opacity: .9; pointer-events: none; }
.app-header .app-menu-btn { color: #fff; position: relative; }
.brand-news { position: relative; display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff; line-height: 1; }
.brand-news:hover { color: #fff; }
.brand-news-title { font-family: var(--serif); font-weight: 600; font-size: 2rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-news-sub { display: flex; align-items: center; gap: .6rem; width: 100%; margin-top: .3rem; }
.brand-news-sub span { flex: 1; height: 1.5px; background: var(--gold-line); }
.brand-news-sub em { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.55rem; color: var(--gold-line); }
.app-header-nav { gap: 2rem; margin-left: auto; }
.app-header-nav a { color: #fff; text-decoration: none; font-size: 1.05rem; font-weight: 500; padding: .3rem 0; border-bottom: 3px solid transparent; }
.app-header-nav a:hover { border-bottom-color: var(--gold-line); }
.app-header-cta { margin-left: auto; align-items: center; font-size: 1.05rem; padding: .65rem 1.3rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.app-header-nav + .app-header-cta { margin-left: .5rem; }
.app-header-user { position: relative; }
.app-header .user-menu-btn { color: #fff; }
.app-header .user-menu-text { display: none; }
@media (max-width: 1199.98px) { .app-header-cta { margin-left: auto; } }
@media (max-width: 767.98px) {
    .app-header { min-height: 72px; padding: .6rem 1rem; gap: .5rem; }
    .brand-news-title { font-size: 1.25rem; }
    .brand-news-sub em { font-size: 1rem; }
    .app-header::before { width: 180px; height: 150px; left: -90px; top: -100px; border-bottom-width: 5px; }
    .app-header-user { margin-left: auto; }
}
.account-shell .app-body, .admin-shell .app-body { min-height: calc(100vh - 92px); }
@media (min-width: 992px) {
    .account-shell .app-sidebar, .admin-shell .app-sidebar { top: 92px; height: calc(100vh - 92px); }
}
.app-sidebar { background: linear-gradient(180deg, #0a5a3e 0%, var(--green-side) 45%, #032c1f 100%); }
@media (min-width: 992px) { .app-sidebar.offcanvas-lg { background: linear-gradient(180deg, #0a5a3e 0%, var(--green-side) 45%, #032c1f 100%) !important; } }
.admin-shell .sidebar-link.active { background: #d3b97b; color: #0d2a1f; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.admin-shell .sidebar-link { font-size: 1.05rem; padding: .72rem 1rem; }
.sidebar-area { padding: 1.5rem 1.4rem 1.25rem; margin: 0 .75rem; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.sidebar-area-icon { width: 46px; height: 46px; border-radius: 50%; background: #d3b97b; color: #0d2a1f; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: .75rem; }
.sidebar-area-title { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.sidebar-area-sub { display: block; font-size: .9rem; opacity: .9; margin-top: .15rem; }
.app-sidebar { width: 230px; }
.page-title-plain { padding-bottom: 0; }
.page-title-plain::after { display: none; }
.page-title-serif { font-family: var(--serif) !important; }
.admin-shell .page-title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.caps-crumb { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .5rem; }
.caps-crumb a, .caps-crumb .breadcrumb-item.active { color: #8a6d1d; }
.caps-crumb .breadcrumb-item + .breadcrumb-item::before { content: '/'; color: #8a6d1d; }
.panel-title-serif { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: #0f241d; }
.panel-subtitle { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .75rem; }

/* status badges */
.status-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 7px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.st-submitted { background: #e3edfb; color: #1d4f91; }
.st-review { background: #fbf0d3; color: #7a5a06; }
.st-accepted { background: #dff1e6; color: #145c32; }
.st-rejected { background: #fbe4e4; color: #a12626; }
.st-published { background: #dff1e6; color: #145c32; }
.st-muted { background: #eceeed; color: #5d6662; }

/* contributor list (screen 6) */
.list-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab-pills { display: flex; gap: .6rem; flex-wrap: wrap; }
.tab-pill { padding: .5rem 1.25rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; box-shadow: var(--shadow-sm); }
.tab-pill:hover { border-color: var(--gold-line); color: var(--ink); }
.tab-pill.active { background: #f1e3b8; border-color: #e2cd8b; font-weight: 700; box-shadow: inset 0 -3px 0 #d3b97b; }
.table-panel { overflow: hidden; }
.sub-table th, .review-table th { font-size: .95rem; font-weight: 700; color: var(--ink); background: #fff; padding: .9rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sub-table td { padding: .85rem 1rem; vertical-align: middle; }
.sub-title-cell { display: flex; align-items: center; gap: .9rem; min-width: 240px; }
.doc-thumb { flex: none; width: 64px; height: 54px; border-radius: 8px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: #e8f0eb; color: var(--green); font-size: 1.4rem; line-height: 1; }
.doc-thumb small { font-size: .6rem; font-weight: 700; letter-spacing: .05em; margin-top: 3px; }
.doc-pdf { background: #fbe9e7; color: #b3261e; }
.doc-docx, .doc-doc { background: #e5eefb; color: #1f5cb8; }
.sub-title { font-family: var(--serif); font-weight: 700; color: #0f241d; text-decoration: none; line-height: 1.25; }
.sub-title:hover { text-decoration: underline; text-decoration-color: var(--gold-line); }
.btn-icon { border: 0; background: transparent; font-size: 1.3rem; line-height: 1; padding: .2rem .5rem; color: var(--ink); }
.empty-panel { text-align: center; padding: 3rem 1.5rem; }
.empty-panel h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--green-dark); }
.empty-panel p { color: var(--ink-2); max-width: 30rem; margin: 0 auto 1.25rem; }
.guide-cta { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; flex-wrap: wrap; }
.guide-cta-icon { width: 60px; height: 60px; border-radius: 50%; background: #e2f3eb; color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; flex: none; }
.guide-cta h2 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin-bottom: .25rem; color: #0f241d; }
.guide-cta p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.guide-cta > div:nth-child(2) { flex: 1; min-width: 220px; }
.guide-cta-actions { display: flex; flex-direction: column; gap: .5rem; }
.overview { list-style: none; padding: 0; margin: 0; }
.overview li { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.overview li:first-child { border-top: 0; padding-top: 0; }
.ov-num { flex: none; width: 58px; height: 46px; border-radius: 8px; background: #f4ecd4; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center; color: #0f241d; }
.overview small { display: block; color: var(--ink-2); font-size: .82rem; }
.process-steps { list-style: none; padding: 0; margin: 0; }
.process-steps li { display: flex; gap: 1rem; position: relative; padding-bottom: 1.1rem; }
.process-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: #e6d6a4; }
.process-steps span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #f4ecd4; border: 2px solid #e6d6a4; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.process-steps strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: #0f241d; }
.process-steps div { font-size: .9rem; color: var(--ink-2); }

/* submit form (screen 5) */
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; padding: 2rem 1rem; border: 2px dashed #b9c5bf; border-radius: 10px; background: #fafbfa; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--green); background: #f1f8f4; }
.dropzone.is-invalid { border-color: #b42318; }
.dropzone.has-file { border-style: solid; border-color: var(--green); background: #f1f8f4; }
.dropzone i { font-size: 2.6rem; color: var(--green); line-height: 1; }
.dropzone strong { font-size: 1.05rem; }
.dropzone span { font-size: .9rem; color: var(--ink-2); }
.dropzone-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.form-select { border-radius: var(--radius-sm); border-color: #cfd8d3; padding-top: .6rem; padding-bottom: .6rem; }
.form-check-input:checked { background-color: var(--green); border-color: var(--green); }
.status-guide li.is-current::before { background: #1b8a4c; border-color: #1b8a4c; }
.status-guide li.is-current { background: #e2f3eb; border-radius: 8px; padding-top: .5rem; padding-bottom: .5rem; margin-bottom: .6rem; }
.status-guide li.is-current::before { left: 8px; top: 12px; }
.status-guide li.is-current { padding-left: 2.4rem; }
.status-guide li.is-current::after { display: none; }
.help-link { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.help-link:first-of-type { border-top: 0; }
.help-link > i:first-child { font-size: 1.5rem; color: #0f241d; }
.help-link span { flex: 1; font-size: .88rem; color: var(--ink-2); }
.help-link strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: #0f241d; }

/* detail pages */
.detail-list { display: grid; grid-template-columns: 180px 1fr; gap: .8rem 1.25rem; margin: 0; }
.detail-list dt { color: var(--ink-3); font-weight: 600; font-size: .92rem; }
.detail-list dd { margin: 0; word-break: break-word; }
@media (max-width: 575.98px) { .detail-list { grid-template-columns: 1fr; gap: .2rem; } .detail-list dd { margin-bottom: .6rem; } }
.file-card { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex-wrap: wrap; }
.file-icon { width: 44px; height: 44px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; background: #e5eefb; color: #1f5cb8; flex: none; }
.file-icon.file-pdf { background: #fbe9e7; color: #b3261e; }
.file-meta { min-width: 0; flex: 1; }
.file-meta strong { display: block; word-break: break-all; }
.file-meta span { font-size: .85rem; color: var(--ink-3); }
.history { list-style: none; padding: 0; margin: 0; }
.history li { position: relative; padding: 0 0 1rem 1.6rem; }
.history li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #9db1a7; }
.history li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 2px; width: 2px; background: #e1e7e4; }
.history-accepted::before { background: #1b8a4c !important; }
.history-rejected::before { background: #c0392b !important; }
.history-in_review::before { background: #d39e00 !important; }
.history strong { display: block; }
.history-meta { display: block; font-size: .82rem; color: var(--ink-3); }
.history-note { display: block; margin-top: .3rem; padding: .5rem .7rem; background: var(--bg); border-radius: 6px; font-size: .9rem; }
.alert-reject { background: #fdf1f0; border: 1px solid #f3c9c5; color: #5f1a14; border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.alert-reject h2 { font-size: 1.05rem; font-weight: 700; }

/* admin review (screen 7) */
.stat-grid-review { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-stat { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); }
.review-stat:hover { border-color: var(--gold-line); color: var(--ink); }
.review-stat-icon { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; flex: none; }
.ic-green { background: #dcefe3; color: #1d6b43; }
.ic-gold { background: #f7e9c4; color: #9a6b00; }
.ic-red { background: #fbe1e0; color: #c0392b; }
.review-stat-num { display: block; font-family: var(--serif); font-weight: 700; font-size: 2rem; line-height: 1; }
.review-stat-label { display: inline-block; font-size: 1.15rem; padding-bottom: .3rem; border-bottom: 3px solid #e2c77a; margin-top: .2rem; }
@media (max-width: 991.98px) { .stat-grid-review { grid-template-columns: 1fr 1fr; } }
.filters { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: .6rem; margin-bottom: 1rem; }
.filters-search { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .filters { grid-template-columns: 1fr; } }
.review-table td { padding: .75rem .6rem; vertical-align: middle; font-size: .92rem; }
.review-table th { padding: .7rem .6rem; font-size: .88rem; background: #f6f8f7; }
.review-table tr.is-selected td { background: #e9f4ee; }
.rt-title { min-width: 180px; }
.rt-title a { color: #0f241d; font-weight: 600; text-decoration: none; }
.rt-title a:hover { text-decoration: underline; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.pager-info { font-size: .88rem; color: var(--ink-2); }
.pagination { --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--green); --bs-pagination-active-border-color: var(--green); --bs-pagination-hover-color: var(--green); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(1, 85, 52, .3); }
.preview-panel { position: sticky; top: 108px; }
.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.preview-title { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.15; margin-bottom: .75rem; }
.preview-title a { color: #0f241d; text-decoration: none; }
.preview-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .9rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.preview-meta i { margin-right: .35rem; }
.preview-box { background: #f2f4f6; border-radius: 10px; padding: 1rem; margin-bottom: 1.1rem; }
.preview-box h3, .preview-h { font-size: 1.05rem; font-weight: 700; margin-bottom: .7rem; }
.notes-quote { background: #faf5e6; border-radius: 8px; padding: .9rem 1.1rem; font-style: italic; color: var(--ink-2); margin-bottom: 1.1rem; }
.decision-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.btn-reject { background: #fdeceb; border: 1.5px solid #e8a39d; color: #b3261e; }
.btn-reject:hover, .btn-reject[aria-expanded="true"] { background: #f9d9d6; color: #8e1d17; border-color: #d9827a; }
.decision-form { margin-top: .9rem; padding: 1rem; background: #f6f8f7; border-radius: 10px; }
.decision-done { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: 10px; background: #f2f4f6; font-size: .93rem; }
.decision-done i { font-size: 1.4rem; color: var(--green); }
.row-muted td { opacity: .6; }
.admin-table td.wrap { white-space: normal; min-width: 200px; }
.edit-row td { background: #f6f8f7; }
.count-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.count-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink-2); font-size: .88rem; box-shadow: var(--shadow-sm); }
.count-card:hover { border-color: var(--gold-line); color: var(--ink-2); }
.count-num { display: block; font-family: var(--serif); font-weight: 700; font-size: 2rem; color: #0f241d; line-height: 1.1; }
@media (max-width: 767.98px) { .count-grid { grid-template-columns: 1fr 1fr; } .decision-row { grid-template-columns: 1fr; } }
/* layout fixes after browser review */
@media (min-width: 992px) {
    .account-shell .app-body, .admin-shell .app-body { background: linear-gradient(90deg, #032c1f 0, #032c1f 230px, transparent 230px); }
    .app-header { padding-left: 7rem; }
    .app-header::before { left: -170px; top: -215px; width: 330px; height: 300px; border-bottom-width: 9px; transform: rotate(-24deg); }
}
.sidebar-area-title { font-size: 1.22rem; white-space: nowrap; }
.split-main { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1280px) {
    .split-main { grid-template-columns: minmax(0, 1fr) 330px; }
    .split-review { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); }
}
.split-main > * { min-width: 0; }
.sub-table th, .sub-table td { padding: .75rem .7rem; }
.doc-thumb { width: 50px; height: 50px; font-size: 1.2rem; }
.sub-title-cell { min-width: 220px; }
.sub-table .cat-pill-sm, .review-table .cat-pill-sm { white-space: normal; line-height: 1.25; max-width: 120px; }
.review-table td { padding: .6rem .45rem; font-size: .88rem; }
.review-table th { padding: .65rem .45rem; font-size: .84rem; }
.review-table .status-badge, .sub-table .status-badge { font-size: .8rem; padding: .22rem .5rem; }
.review-table td:first-child, .review-table th:first-child { padding-left: .75rem; }
.review-table td:last-child, .review-table th:last-child { padding-right: .75rem; }
.file-card .btn { flex: none; }
.table-responsive { position: relative; } /* keeps visually-hidden headers inside the scroll box */
.review-stat { min-width: 0; }
@media (max-width: 575.98px) {
    .stat-grid-review { gap: .6rem; }
    .review-stat { padding: .8rem; gap: .6rem; }
    .review-stat-icon { width: 38px; height: 38px; font-size: 1.15rem; }
    .review-stat-num { font-size: 1.5rem; }
    .review-stat-label { font-size: .9rem; }
}
@media (min-width: 992px) {
    .app-header { padding-left: 8.75rem; }
    .app-header::before { left: -150px; top: -205px; width: 320px; height: 290px; }
}
.rt-title { min-width: 150px; }
.review-table .btn-sm { padding: .25rem .6rem; }
.review-table td:last-child { padding-right: .9rem; }
/* Phones: table rows become stacked cards */
@media (max-width: 767.98px) {
    .stack-sm thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .stack-sm, .stack-sm tbody, .stack-sm tr, .stack-sm td { display: block; width: 100%; }
    .stack-sm tr { position: relative; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
    .stack-sm td { border: 0; padding: .2rem 0 !important; }
    .stack-sm td[data-label] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; }
    .stack-sm td[data-label]::before { content: attr(data-label); color: var(--ink-3); font-size: .82rem; font-weight: 600; }
    .stack-sm .td-actions { position: absolute; top: .7rem; right: .6rem; width: auto; }
    .stack-sm .sub-title-cell, .stack-sm .rt-title { min-width: 0; padding-right: 3rem !important; margin-bottom: .35rem; }
    .stack-sm.review-table .td-actions { position: static; padding-top: .5rem !important; }
    .stack-sm.review-table .rt-title { padding-right: 0 !important; }
    .stack-sm .cat-pill-sm { max-width: none; }
    .app-header::before { left: -120px; }
}

/* ========== Step 3: editor, media library, articles ========== */
.editor-top { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 1rem; }
.editor-heading { font-family: var(--sans); font-weight: 700; font-size: 1.6rem; margin: 0; }
.save-state { margin-left: auto; font-size: .88rem; color: var(--ink-3); }
.save-state.is-dirty { color: #8a6d1d; }
.save-state.is-saving { color: var(--ink-2); }
.save-state.is-saved { color: #145c32; }
.save-state.is-error { color: #b3261e; font-weight: 600; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 1200px) { .editor-grid { grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr); } }
.editor-main, .editor-side { min-width: 0; }
.editor-doc { padding: 1.5rem; }
.headline-input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .65rem .9rem; font-family: var(--serif); font-weight: 700; font-size: 1.65rem; color: #0f241d; line-height: 1.25; }
.headline-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(1, 85, 52, .2); }
.intro-input { font-size: 1.05rem; }
.tox-tinymce { border-radius: 8px !important; border-color: var(--line) !important; }
.readonly-body { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; background: #fafbfa; }
.editor-side .panel + .panel { margin-top: 1rem; }
.side-block { padding: 1.1rem 1.2rem; }
.side-title { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.side-title i { color: var(--green); }
.side-note { font-size: .84rem; color: var(--ink-3); }
.confirm-box { margin-top: .6rem; padding: .75rem; border-radius: 8px; background: #fbf0d3; font-size: .86rem; color: #5c4705; }
.ai-busy { margin-top: .75rem; font-size: .88rem; color: var(--ink-2); display: flex; align-items: center; }
.ai-notes { margin-top: .75rem; padding: .7rem .85rem; border-radius: 8px; background: #e3edfb; color: #1d3f6e; font-size: .86rem; }
.ai-tools { display: flex; flex-wrap: wrap; gap: .4rem; }
.suggestion { margin-top: .8rem; padding: .8rem; border: 1px solid #cfe6d9; background: #f4faf6; border-radius: 8px; font-size: .92rem; }
.suggestion-text { margin-top: .4rem; max-height: 260px; overflow: auto; }
.featured-box { border: 1px dashed #b9c5bf; border-radius: 8px; min-height: 120px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fafbfa; }
.featured-box img { width: 100%; height: auto; display: block; }
.featured-empty { font-size: .86rem; color: var(--ink-3); padding: 1rem; text-align: center; }
.revisions { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow: auto; }
.revisions li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem 0; border-top: 1px solid var(--line); font-size: .86rem; }
.revisions li:first-child { border-top: 0; }
.revisions span { display: block; color: var(--ink-3); font-size: .8rem; }
.editor-actions { grid-column: 1 / -1; position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; box-shadow: 0 -4px 16px rgba(16, 40, 30, .08); }
.ready-note { font-size: .9rem; color: #145c32; font-weight: 600; }
.takeaways-edit legend { font-size: .92rem; }
.picker-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.picker-search { flex: 1; min-width: 220px; }
.picker-add { background: #f6f8f7; border-radius: 10px; padding: 1rem; margin-bottom: 1rem; }
.picker-grid, .media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.picker-item { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.picker-item:hover, .picker-item:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(1, 85, 52, .2); }
.picker-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.picker-name { padding: .45rem .6rem 0; font-weight: 600; font-size: .88rem; }
.picker-credit { padding: 0 .6rem .5rem; font-size: .75rem; color: var(--ink-3); }
.picker-list { list-style: none; padding: 0; margin: 0; }
.picker-row { width: 100%; display: flex; gap: .8rem; align-items: center; text-align: left; padding: .7rem .8rem; border: 0; border-bottom: 1px solid var(--line); background: #fff; }
.picker-row:hover, .picker-row:focus { background: #f1f8f4; }
.picker-row i { font-size: 1.3rem; color: var(--green); }
.picker-row small { display: block; color: var(--ink-3); word-break: break-all; }
.media-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.media-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.media-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.media-body { padding: .8rem .9rem .9rem; }
.media-title { font-size: .98rem; font-weight: 700; margin: 0 0 .2rem; }
.media-credit { font-size: .78rem; color: var(--ink-2); margin: 0 0 .2rem; }
.media-meta { font-size: .78rem; color: var(--ink-3); margin: 0; }
.media-meta .used { color: #145c32; font-weight: 600; }
.media-edit { margin-top: .5rem; font-size: .88rem; }
.media-edit summary { cursor: pointer; color: var(--green); font-weight: 600; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
.doc-list li:first-child { border-top: 0; }
.list-search { flex: 1; max-width: 360px; min-width: 220px; }
.art-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.article-body figure { margin: 1.5rem 0; }
.article-body figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.article-body figcaption { font-size: .82rem; color: var(--ink-3); margin-top: .45rem; }
.article-body blockquote { margin: 1.25rem 0; padding: .75rem 1.1rem; border-left: 4px solid var(--gold-line); background: var(--bg); color: var(--ink-2); }
.article-body ol { padding-left: 1.4rem; }
@media (max-width: 767.98px) {
    .editor-doc { padding: 1rem; }
    .headline-input { font-size: 1.3rem; }
    .editor-actions .btn { flex: 1 1 calc(50% - .6rem); }
    .save-state { margin-left: 0; width: 100%; }
}
.headline-input { resize: none; overflow: hidden; display: block; }

/* ========== Step 4 ========== */
.subscribe-note { font-size: .9rem; color: var(--ink-2); margin: 0 0 .75rem; }
.side-subscribe { display: flex; gap: .5rem; flex-wrap: wrap; }
.side-subscribe .form-control { flex: 1 1 180px; }
.stat-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .stat-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .stat-grid-5 { grid-template-columns: 1fr 1fr; } }
.pub-summary { display: grid; grid-template-columns: 200px 1fr; gap: 1.25rem; }
.pub-summary img, .pub-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.pub-noimg { background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: .85rem; }
@media (max-width: 575.98px) { .pub-summary { grid-template-columns: 1fr; } }
.panel-publish { border: 2px solid var(--green); }
.panel-sched { background: #fbf6e6; border-color: #e6d6a4; }
.deliv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.deliv-grid > div { background: var(--bg); border-radius: 8px; padding: .75rem; font-size: .84rem; color: var(--ink-2); }
.deliv-num { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--ink); }
.pub-summary .detail-list { grid-template-columns: 100px 1fr; }

/* ==================================================
   Public masthead (all public pages) + homepage editorial typography.
   Literata / Inter here only; admin, contributor, editor and email styles keep their own fonts.
   ================================================== */
:root {
    --newsletter-serif: "Literata", Georgia, "Times New Roman", serif;   /* measured match for the target design */
    --newsletter-sans: "Inter", Arial, Helvetica, sans-serif;
    --newsletter-heading: #073f32;
    --newsletter-text: #36434a;
    --newsletter-gold: #d8b75a;
    --newsletter-gold-light: #f0e1b3;
}

/* ----- Masthead ----- */
.news-header { position: sticky; top: 0; z-index: 1030; clip-path: inset(0 0 -400px 0); /* clip the swoosh at the top, keep dropdowns */
    background: radial-gradient(90% 160% at 100% 0%, #0c5a40 0%, transparent 60%), #004734; }
.news-header::before { content: ""; position: absolute; left: -178px; top: -226px; width: 330px; height: 310px; border-radius: 50%;
    border-bottom: 9px solid var(--gold-line); transform: rotate(-24deg); pointer-events: none; }
.news-nav { min-height: 106px; padding: .85rem clamp(24px, 11vw, 174px) .85rem clamp(40px, 8.8vw, 140px); flex-wrap: wrap; font-family: var(--newsletter-sans); }
.news-nav .brand-news { position: relative; z-index: 1; }
.news-nav .brand-news-title { font-family: var(--newsletter-serif); font-size: 35px; font-weight: 650; line-height: 1.12; letter-spacing: -.015em; }
.news-nav .brand-news-sub { gap: .7rem; margin-top: .2rem; }
.news-nav .brand-news-sub span { height: 1.5px; background: var(--newsletter-gold); }
.news-nav .brand-news-sub em { font-family: var(--newsletter-serif); font-size: 27px; font-style: italic; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; color: var(--newsletter-gold); }
.news-nav .navbar-nav { gap: .15rem; }
.news-nav .nav-link { color: #fff !important; font-size: 17px; font-weight: 500; line-height: 1.3; padding: .45rem .95rem !important; position: relative; }
.news-nav .nav-link:hover { text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 6px; }
.news-nav .nav-link.active::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: -2px; height: 3px; background: var(--gold-line); border-radius: 2px; }
.news-nav .nav-link.dropdown-toggle.active::after { right: 1.9rem; }
.news-nav .dropdown-menu { margin-top: .5rem; font-family: var(--newsletter-sans); }
.news-submit { font-family: var(--newsletter-sans); font-size: 17px; font-weight: 700; padding: .75rem 1.5rem; margin-left: 1.1rem;
    background: var(--newsletter-gold); border-color: var(--newsletter-gold); color: var(--newsletter-heading); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.news-nav .nav-signin { font-size: 1.35rem; padding: .3rem .6rem !important; }
.news-nav .nav-account { margin-left: .4rem; }
.news-nav .navbar-toggler { border-color: rgba(255, 255, 255, .4); margin-left: auto; }
@media (max-width: 1499.98px) {   /* keep brand and navigation apart at intermediate widths */
    .news-nav { padding-left: 64px; padding-right: 28px; }
    .news-nav .brand-news-title { font-size: 31px; }
    .news-nav .brand-news-sub em { font-size: 24px; }
    .news-nav .nav-link { padding: .45rem .65rem !important; }
    .news-nav .nav-link.active::after { left: .65rem; right: .65rem; }
    .news-submit { margin-left: .5rem; padding: .7rem 1.15rem; }
}
@media (max-width: 1199.98px) {
    .news-nav { min-height: 86px; }
    .news-nav .navbar-collapse { flex-basis: 100%; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: .75rem; padding-top: .5rem; }
    .news-nav .nav-link.active::after { display: none; }
    .news-nav .nav-link.active { background: rgba(255, 255, 255, .08); border-radius: 6px; }
    .news-submit { margin: .5rem 0 0; width: 100%; justify-content: center; }
    .news-nav .nav-account { margin: .25rem 0; }
}
@media (max-width: 767.98px) {
    .news-nav .brand-news-title { font-size: 25px; letter-spacing: -.3px; }
    .news-nav .brand-news-sub em { font-size: 20px; }
}
@media (max-width: 575.98px) {
    .news-header::before { width: 150px; height: 140px; left: -104px; top: -106px; border-bottom-width: 5px; }
    .news-nav { min-height: 70px; padding-left: 40px; padding-right: 12px; }
    .news-nav .brand-news-title { font-size: 20px; }
    .news-nav .brand-news-sub em { font-size: 16px; }
    .news-nav .brand-news-sub { gap: .4rem; margin-top: .15rem; }
}

/* ----- Homepage ----- */
.newsletter-container { width: calc(100% - 112px); max-width: 1480px; margin-inline: auto; }
.newsletter-home { background: #fff; color: var(--newsletter-text); font-family: var(--newsletter-sans); }
.newsletter-home h2, .newsletter-home h3 { font-family: var(--newsletter-serif); }
.newsletter-home .cat-pill { font-family: var(--newsletter-sans); font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase;
    background: var(--newsletter-gold-light); color: var(--newsletter-heading); border: 0; border-radius: 6px; padding: 6px 10px; width: fit-content; max-width: 100%; }
.newsletter-home .article-meta { font-family: var(--newsletter-sans); font-size: 14px; line-height: 1.4; color: var(--newsletter-text); gap: .4rem .85rem; }

.newsletter-home .featured-article { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-top: 30px; }
.newsletter-home .featured-media { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.newsletter-home .featured-media .article-media-img, .newsletter-home .featured-media .article-media-ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.newsletter-home .featured-content { min-width: 0; }
.newsletter-home .featured-title { font-size: 43px; font-weight: 750; line-height: 1.13; letter-spacing: -.012em; margin: 16px 0 14px; }
.newsletter-home .featured-title a { color: var(--newsletter-heading); text-decoration: none; }
.newsletter-home .featured-title a:hover { text-decoration: underline; text-decoration-color: var(--gold-line); text-decoration-thickness: 2px; }
.newsletter-home .featured-excerpt { font-size: 19.5px; font-weight: 400; line-height: 1.5; color: var(--newsletter-text); margin: 0 0 20px; }
.newsletter-home .read-link { display: inline-flex; align-items: center; font-family: var(--newsletter-sans); font-size: 19px; font-weight: 600; line-height: 1.3;
    color: var(--newsletter-heading); margin-top: 22px; padding-bottom: 7px; border-bottom: 3px solid var(--newsletter-gold); }

.newsletter-home .previous-articles { margin-top: 40px; }
.newsletter-home .section-head { margin-bottom: 24px; }
.newsletter-home .section-title { font-size: 34px; font-weight: 750; line-height: 1.2; letter-spacing: -.012em; color: var(--newsletter-heading); }
.newsletter-home .section-head-rule .section-title::after { height: 2px; background: var(--gold-line); opacity: 1; margin-left: 10px; }
.newsletter-home .section-link { font-family: var(--newsletter-sans); font-size: 15px; font-weight: 600; color: var(--newsletter-heading); }

.newsletter-home .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.newsletter-home .article-card { border-radius: 11px; border: 1px solid #e5e8e6; box-shadow: 0 2px 8px rgba(0, 0, 0, .10); min-width: 0; }
.newsletter-home .article-card:hover { transform: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }
.newsletter-home .article-card:focus-within { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.newsletter-home .article-card-media { aspect-ratio: 16 / 9; }
.newsletter-home .article-card-media .article-media-img { object-position: 50% 30%; }
.newsletter-home .article-card-media .article-media-ph { font-size: 2rem; }
.newsletter-home .article-card-body { padding: 20px 26px 22px; }
.newsletter-home .article-card-title { font-size: 24px; font-weight: 750; line-height: 1.16; letter-spacing: -.012em; margin: 12px 0 10px; }
.newsletter-home .article-card-title a { color: var(--newsletter-heading); }
.newsletter-home .article-card-excerpt { font-size: 16px; line-height: 1.45; color: var(--newsletter-text); margin-bottom: 0; }
.newsletter-home .article-card .article-meta { margin-top: auto; padding-top: 18px; }
.newsletter-home .article-card-arrow { font-size: 1.35rem; transition: transform .15s; }
.newsletter-home .article-card:hover .article-card-arrow { transform: translateX(3px); }
.newsletter-home .home-empty { margin-top: 30px; }

.newsletter-home .home-subscribe { margin-top: 54px; padding: 40px 0 44px; background: var(--bg); border-top: 1px solid var(--line); }
.newsletter-home .cta-card { padding: 1.6rem 2rem; background: #004734; }
.newsletter-home .cta-card h2 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.newsletter-home .cta-card p { font-size: 16px; line-height: 1.5; }
.newsletter-home .cta-card .btn, .newsletter-home .section-link { font-family: var(--newsletter-sans); }
.newsletter-home .value-props { margin-top: 1.75rem; }
.newsletter-home .value-prop h3 { font-size: 18px; font-weight: 700; }
.newsletter-home .value-prop p { font-size: 15px; }
.is-home .site-footer { font-family: var(--newsletter-sans); font-size: 14px; line-height: 1.5; }
.is-home .site-footer .brand-college { font-family: var(--newsletter-serif); }

@media (max-width: 1199.98px) {
    .newsletter-home .featured-title { font-size: 38px; }
    .newsletter-home .featured-excerpt { font-size: 18px; }
    .newsletter-home .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .newsletter-home .article-card-title { font-size: 22px; }
}
@media (max-width: 991.98px) {
    .newsletter-container { width: calc(100% - 48px); }
    .newsletter-home .featured-article { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
}
@media (max-width: 767.98px) {
    .newsletter-container { width: calc(100% - 36px); }
    .newsletter-home .featured-title { font-size: 32px; line-height: 1.16; }
    .newsletter-home .featured-excerpt { font-size: 17px; }
    .newsletter-home .section-head { flex-wrap: wrap; }
    .newsletter-home .section-title { font-size: 28px; }
    .newsletter-home .article-grid { grid-template-columns: 1fr; }
    .newsletter-home .article-card-title { font-size: 23px; }
    .newsletter-home .article-card-body { padding: 16px 18px 18px; }
    .newsletter-home .cat-pill { font-size: 12px; }
    .newsletter-home .home-subscribe { margin-top: 44px; padding: 28px 0 32px; }
}

/* ----- All Articles page (shares the homepage card styles) ----- */
.archive-page { padding-bottom: 64px; }
.archive-head { margin: 36px 0 22px; }
.archive-title { font-family: var(--newsletter-serif); font-size: clamp(32px, 3vw, 44px); font-weight: 750; letter-spacing: -.012em; color: var(--newsletter-heading); margin: 0 0 8px; }
.archive-lead { font-size: 18px; line-height: 1.5; color: var(--newsletter-text); margin: 0; max-width: 46rem; }
.archive-filters { display: grid; grid-template-columns: minmax(0, 1fr) 260px 170px auto; gap: 10px; margin-bottom: 14px; }
.archive-filters .form-control, .archive-filters .form-select { height: 48px; font-family: var(--newsletter-sans); font-size: 16px; }
.archive-filters .btn { height: 48px; padding-inline: 1.5rem; font-family: var(--newsletter-sans); }
.archive-search .form-control { padding-left: 2.6rem; }
.archive-chips { margin-bottom: 18px; }
.archive-chips .chip { font-family: var(--newsletter-sans); font-size: 14px; }
.archive-count { font-size: 15px; color: var(--newsletter-text); margin: 0 0 18px; }
.archive-pager { margin-top: 28px; }
@media (max-width: 991.98px) { .archive-filters { grid-template-columns: 1fr 1fr; } .archive-search { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .archive-filters { grid-template-columns: 1fr; } }

/* ----- Account menu ----- */
.news-nav .user-menu-text { display: none; }
.news-nav .user-menu-btn { color: #fff; padding: 4px; gap: 6px; }
.news-nav .user-menu-btn::after { border-top-color: #fff; }
.news-nav .user-menu-btn .avatar { width: 40px; height: 40px; font-size: .9rem; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.user-menu-list { min-width: 260px; }
.user-menu-head { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem .4rem; }
.user-menu-head strong { display: block; font-size: .95rem; color: var(--ink); }
.user-menu-head small { display: block; font-size: .8rem; color: var(--ink-3); word-break: break-all; }
@media (max-width: 1199.98px) { .news-nav .user-menu-text { display: flex; } .news-nav .user-menu-text * { color: #fff; } }
.meta-reads i { margin-right: .3rem; }

/* Subscribe pages: continue the masthead (same deep green, highlight from the upper right, no seam) */
.subscribe-hero {
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(12, 90, 64, .95) 0%, rgba(12, 90, 64, 0) 65%),
        radial-gradient(60% 80% at 0% 100%, rgba(216, 183, 90, .10) 0%, rgba(216, 183, 90, 0) 60%),
        radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(180deg, #004734 0%, #014a37 55%, #03553f 100%);
    border-bottom: 4px solid var(--newsletter-gold);
}
.subscribe-hero .subscribe-card { box-shadow: 0 24px 60px rgba(0, 25, 18, .35); }
.subscribe-hero .subscribe-title { font-family: var(--newsletter-serif); font-weight: 750; letter-spacing: -.012em; color: var(--newsletter-heading); }
.subscribe-hero .gold-swash { border-top-color: var(--newsletter-gold); }
.subscribe-hero .eyebrow-rule::before, .subscribe-hero .eyebrow-rule::after { background: var(--newsletter-gold); }
@media (max-width: 575.98px) {
    .newsletter-home .article-card .article-meta { gap: .3rem .45rem; font-size: 13px; flex-wrap: nowrap; white-space: nowrap; }
    .newsletter-home .article-card .meta-sep { margin: 0 .1rem; }
}

/* ----- Profile photos + author box ----- */
.avatar-img { object-fit: cover; padding: 0; background: #e9eeeb; }
.profile-avatar { width: 128px; height: 128px; border-radius: 14px; font-size: 2.4rem; }
.photo-current { margin-bottom: .75rem; }
.photo-stage { height: min(60vh, 440px); background: #1b2420; border-radius: 8px; overflow: hidden; }
.photo-stage img { display: block; max-width: 100%; }
.photo-controls { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; }
.photo-controls .form-range { flex: 1; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line);
    border-top: 4px solid var(--gold-line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.author-avatar { width: 104px; height: 104px; border-radius: 12px; font-size: 2rem; flex: none; }
.author-info { min-width: 0; }
.author-eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a6d1d; margin-bottom: .2rem; }
.author-name { font-family: var(--newsletter-serif); font-weight: 750; font-size: 1.45rem; color: var(--newsletter-heading); margin: 0 0 .15rem; }
.author-role { color: var(--ink-2); font-weight: 600; margin: 0 0 .5rem; }
.author-bio { color: var(--ink-2); margin: 0 0 .5rem; line-height: 1.6; }
.author-link { font-weight: 600; font-size: .92rem; }
@media (max-width: 575.98px) { .author-box { flex-direction: column; } .author-avatar { width: 88px; height: 88px; } }
.app-header-nav { margin-left: auto; margin-right: 1rem; }
.row-actions { display: inline-flex; gap: .4rem; white-space: nowrap; }
@media (max-width: 767.98px) { .stack-sm .td-actions .row-actions .btn { padding: .2rem .5rem; } }
@media (max-width: 767.98px) {
    .sub-table.stack-sm .td-actions { position: static; width: 100%; text-align: left !important; padding-top: .6rem !important; }
    .sub-table.stack-sm .sub-title-cell { padding-right: 0 !important; }
}

/* ----- My Profile (redesign) ----- */
.profile-page .panel + .panel { margin-top: 1.25rem; }
.profile-card { padding: 1.5rem 1.6rem; }
.card-head { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.25rem; }
.card-icon { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--gold-50); color: var(--newsletter-heading); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.card-title { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: #0f241d; margin: 0; line-height: 1.2; }
.card-sub { margin: .15rem 0 0; color: var(--ink-2); font-size: .95rem; }
.input-icon-left, .input-icon-right { position: relative; }
.input-icon-left > i, .input-icon-right > i { position: absolute; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 1.05rem; pointer-events: none; }
.input-icon-left > i { left: .85rem; }
.input-icon-left .form-control { padding-left: 2.4rem; }
.input-icon-right > i { right: .9rem; }
.input-icon-right .form-control { padding-right: 2.4rem; }
.photo-row { display: flex; gap: 1.25rem; align-items: center; }
.photo-row .photo-current { margin: 0; }
.profile-avatar { width: 160px; height: 160px; border-radius: 14px; font-size: 2.8rem; box-shadow: var(--shadow-sm); }
.photo-actions { flex: 1; display: grid; gap: .55rem; min-width: 0; }
.photo-actions form { margin: 0; }
.btn-outline-gold-dark { border: 1.5px solid var(--gold-line); color: #6b5415; background: #fff; font-weight: 600; }
.btn-outline-gold-dark:hover { background: var(--gold-50); color: #4c3c0d; border-color: var(--gold-line); }
.pct-label { font-weight: 700; font-size: 1.15rem; color: #0f241d; }
.profile-page .progress { height: 12px; }
.public-preview { display: flex; align-items: center; gap: 1rem; background: var(--green-50); border-radius: 10px; padding: 1rem 1.1rem; }
.preview-avatar { width: 72px; height: 72px; border-radius: 50%; font-size: 1.4rem; flex: none; }
.preview-text { border-left: 1.5px solid #bcd6c7; padding-left: 1rem; display: flex; flex-direction: column; min-width: 0; }
.preview-text strong { font-family: var(--serif); font-size: 1.2rem; color: #0f241d; }
.preview-text span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1399.98px) and (min-width: 1200px) { .profile-avatar { width: 120px; height: 120px; } }
@media (max-width: 420px) { .photo-row { flex-direction: column; align-items: stretch; } .profile-avatar { width: 140px; height: 140px; } }
.profile-avatar { width: 172px; height: 172px; }
.photo-actions .btn { white-space: nowrap; }
.app-main .alert-success.flash { font-weight: 600; font-size: 1.05rem; padding: 1rem 3rem 1rem 1.25rem; border: 1px solid #b7dbc5; background: #e2f3eb; color: #0f3d2a; border-radius: 10px; }
.app-main .alert-success.flash > .bi { font-size: 1.35rem; vertical-align: -3px; color: #1b6b43; }
@media (max-width: 1399.98px) and (min-width: 1200px) { .profile-avatar { width: 140px; height: 140px; } }

/* ----- My Submissions (redesign) ----- */
.subs-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 1200px) { .subs-page { grid-template-columns: minmax(0, 1fr) 360px; } .subs-side { padding-top: .25rem; } }
.subs-main, .subs-side { min-width: 0; }
.subs-side .panel + .panel { margin-top: 1.25rem; }
.subs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1.6rem; }
.subs-stat { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.subs-stat.stat-tint { background: #eaf5ef; border-color: #d3e9dc; }
.subs-stat-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(255, 255, 255, .7); color: var(--newsletter-heading); }
.stat-ok .subs-stat-icon { background: #e4f3ea; color: #1b6b43; }
.stat-no .subs-stat-icon { background: #fbe4e4; color: #c0392b; }
.subs-stat-num { display: block; font-family: var(--serif); font-weight: 700; font-size: 2.1rem; line-height: 1; color: #0f241d; }
.subs-stat-label { display: block; font-size: 1rem; color: var(--ink); margin-top: .2rem; }
.subs-stat small { display: block; font-size: .72rem; color: var(--ink-2); }
.subs-page .list-tools .tab-pill.active { background: var(--newsletter-heading); border-color: var(--newsletter-heading); color: #fff; box-shadow: none; }
.subs-submit { font-size: 1.02rem; padding: .6rem 1.3rem; }
.subs-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .9rem; }
.subs-item { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.subs-item .doc-thumb { width: 68px; height: 72px; font-size: 1.5rem; }
.subs-item-body { flex: 1; min-width: 0; }
.subs-item-title { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.25; margin: 0 0 .5rem; }
.subs-item-title a { color: #0f241d; text-decoration: none; }
.subs-item-title a:hover { text-decoration: underline; text-decoration-color: var(--gold-line); }
.subs-item .cat-pill { font-size: .78rem; padding: .3rem .7rem; }
.subs-item-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .75rem; color: var(--ink); }
.subs-item-meta i { margin-right: .4rem; }
.subs-item .row-actions .btn { padding: .45rem .9rem; }
@media (max-width: 991.98px) { .subs-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
    .subs-item { flex-wrap: wrap; }
    .subs-item .doc-thumb { width: 52px; height: 56px; font-size: 1.2rem; }
    .subs-item-body { flex-basis: calc(100% - 70px); }
    .subs-item .row-actions { width: 100%; }
    .subs-stat { padding: .85rem; gap: .6rem; }
    .subs-stat-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .subs-stat-num { font-size: 1.7rem; }
}
@media (max-width: 575.98px) {
    .subs-item-body { flex-basis: 100%; }
    .subs-item-meta .meta-sep { display: none; }
    .subs-submit { width: 100%; justify-content: center; }
}

/* ----- Submit an Article (redesign) ----- */
.submit-page .submit-form { padding: 1.6rem 1.6rem 1.8rem; }
.submit-page .dropzone { background: #eef6f1; border: 2px dashed #6aa884; padding: 2rem 1rem 1.6rem; gap: .4rem; }
.submit-page .dropzone:hover, .submit-page .dropzone.is-drag { background: #e3f1e9; border-color: var(--green); }
.submit-page .dropzone > i { font-size: 3rem; color: var(--newsletter-heading); }
.submit-page .dropzone strong { font-family: var(--serif); font-size: 1.25rem; color: #0f241d; }
.submit-page .dz-btn { margin-top: .6rem; background: #fff; pointer-events: none; font-weight: 700; padding: .5rem 1.2rem; }
.submit-page .submit-review { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; padding: .75rem 1.9rem; box-shadow: 0 4px 12px rgba(0, 60, 40, .25); }
.submit-page .panel-title-serif { font-size: 1.6rem; margin-bottom: 1.1rem; }
.status-guide-icons li { padding-left: 2.6rem; }
.status-guide-icons li::before { left: 4px; top: 3px; width: 22px; height: 22px; border: 2px solid #8fa89b; background: #fff; }
.status-guide-icons li::after { left: 14px; top: 27px; background: #b8c8bf; }
.status-guide-icons li strong { font-family: var(--serif); font-size: 1.08rem; }
.status-guide-icons li.is-current { background: #dcefe3; border-radius: 10px; padding: .7rem .8rem .7rem 3rem; margin-bottom: .7rem; }
.status-guide-icons li.is-current::before { content: "\F26E"; font-family: 'bootstrap-icons'; left: 12px; top: 12px; width: 26px; height: 26px; border: 0; background: #1b8a4c;
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 700; }
.help-link { padding: 1rem 0; }
.help-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--gold-50); color: #0f241d; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; }
.help-link strong { font-size: 1.12rem; }
.submit-page .dz-btn i { font-size: 1rem; color: inherit; line-height: 1; }
.submit-page .dz-btn { display: inline-flex; align-items: center; }
.help-link .help-icon { flex: 0 0 50px; color: #0f241d; font-size: 1.45rem; }
.help-link .help-icon i { font-size: 1.45rem; color: #0f241d; }

/* ----- Contributor dashboard (redesign) ----- */
.dash-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 1200px) { .dash-page { grid-template-columns: minmax(0, 1fr) 440px; } .dash-side { margin-top: -6.2rem; } }
.dash-main, .dash-side { min-width: 0; }
.dash-side .panel + .panel { margin-top: 1.25rem; }
.dash-profile { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 1fr); align-items: center; gap: 1.25rem; background: #eef6f1; border-color: #d3e9dc; margin-bottom: 1.25rem; }
.dash-profile:not(.is-complete) { background: #fdf8ea; border-color: #eadfb8; }
.dash-profile-icon { width: 64px; height: 64px; border-radius: 50%; background: #dcefe3; color: var(--newsletter-heading); display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.dash-profile:not(.is-complete) .dash-profile-icon { background: var(--gold-50); }
.dash-profile-text { border-left: 2px solid var(--gold-line); padding-left: 1.25rem; }
.dash-profile-text h2 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin: 0 0 .2rem; color: #0f241d; }
.dash-profile-text p { margin: 0; color: var(--ink-2); }
.dash-profile-bar { display: grid; gap: .8rem; justify-items: end; }
.dash-profile-bar .d-flex { width: 100%; }
.dash-profile .progress { height: 14px; background: #fff; }
.dash-pct { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: #0f241d; line-height: 1; }
.dash-profile .btn { background: #fff; }
.dash-stats { margin-bottom: 1.25rem; }
.dash-stats .subs-stat { text-decoration: none; color: inherit; }
.dash-stats .subs-stat:hover { border-color: var(--gold-line); }
.subs-stat.stat-gold { background: #fdf8ea; border-color: #eee3bf; }
.subs-stat.stat-gold .subs-stat-icon { background: var(--gold-50); }
.subs-stat.stat-plain .subs-stat-icon { background: #edf3ef; }
.dash-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dash-action { display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem 1.5rem; }
.dash-action-icon { width: 58px; height: 58px; border-radius: 50%; background: #e2f3eb; color: var(--newsletter-heading); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 1rem; }
.dash-action h2 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: #0f241d; margin: 0 0 .4rem; }
.dash-action p { color: var(--ink-2); margin: 0 0 1.1rem; flex: 1; }
.dash-action .btn { font-weight: 700; }
.status-guide-gold li::before { border-color: var(--gold-line); }
.status-guide-gold li::after { background: var(--gold-line); }
.dash-kv { font-size: 1rem; gap: .7rem 1rem; }
.dash-kv dt { color: var(--ink); }
@media (max-width: 991.98px) {
    .dash-profile { grid-template-columns: auto minmax(0, 1fr); }
    .dash-profile-bar { grid-column: 1 / -1; justify-items: start; }
    .dash-actions { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) { .dash-profile-text { border-left: 0; padding-left: 0; } .dash-profile-icon { width: 50px; height: 50px; font-size: 1.4rem; } }
.dash-actions .panel + .panel, .dash-main > .panel + .panel { margin-top: 0; }
.submit-col { max-width: 1080px; }
@media (min-width: 1200px) { .dash-page { grid-template-columns: minmax(0, 1fr); } }
.dash-main { max-width: 1280px; }
.dash-section-title { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: #0f241d; margin: .4rem 0 1rem; }
.dash-main .list-tools .tab-pill.active { background: var(--newsletter-heading); border-color: var(--newsletter-heading); color: #fff; box-shadow: none; }
/* My Profile: single column, photo inside the information card */
.profile-single { max-width: 1080px; }
.profile-single .panel + .panel { margin-top: 1.25rem; }
.profile-photo-block { display: flex; gap: 1.5rem; align-items: center; padding: 1.25rem; margin-bottom: 1.5rem; background: #f6f9f7; border: 1px solid #e1ebe5; border-radius: 12px; }
.profile-photo-block .photo-current { margin: 0; flex: none; }
.profile-photo-block .profile-avatar { width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold-line); font-size: 2.6rem; }
.photo-info { min-width: 0; }
.photo-name { display: block; font-family: var(--serif); font-size: 1.45rem; color: #0f241d; line-height: 1.2; }
.photo-role { display: block; color: var(--ink-2); font-weight: 600; margin-top: .15rem; }
.photo-help { color: var(--ink-3); font-size: .9rem; margin: .6rem 0 .85rem; max-width: 38rem; }
.photo-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.photo-buttons form { margin: 0; }
@media (max-width: 575.98px) { .profile-photo-block { flex-direction: column; text-align: center; } .photo-buttons { justify-content: center; } .profile-photo-block .profile-avatar { width: 128px; height: 128px; } }

/* ================= Contributor area: public masthead + green band with tabs + shared container ================= */
.contributor-shell { background: #f3f5f4; }
.contrib-hero { position: relative; color: #fff; overflow: hidden;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(12, 90, 64, .9) 0%, rgba(12, 90, 64, 0) 65%),
        radial-gradient(40% 90% at 0% 100%, rgba(216, 183, 90, .12) 0%, rgba(216, 183, 90, 0) 60%),
        radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(180deg, #004734 0%, #024d39 100%);
    border-bottom: 4px solid var(--newsletter-gold); }
.contrib-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 2.4rem 0 1.6rem; }
.contrib-hero-text { min-width: 0; }
.contrib-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--newsletter-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--newsletter-gold); }
.contrib-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--newsletter-gold); }
.contrib-title { font-family: var(--newsletter-serif); font-weight: 750; letter-spacing: -.012em; font-size: clamp(30px, 3.2vw, 44px); color: #fff; margin: .45rem 0 .35rem; line-height: 1.1; }
.contrib-lead { font-family: var(--newsletter-sans); font-size: 17px; color: rgba(255, 255, 255, .85); margin: 0; max-width: 44rem; line-height: 1.5; }
.contrib-id { display: flex; align-items: center; gap: .85rem; flex: none; padding: .65rem 1.1rem .65rem .65rem; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(2px); }
.contrib-id strong { display: block; font-family: var(--newsletter-sans); font-size: .98rem; color: #fff; }
.contrib-id span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .75); }
.contrib-avatar { width: 48px; height: 48px; border-radius: 50%; font-size: 1rem; box-shadow: 0 0 0 2px var(--newsletter-gold); }
.contrib-tabs { display: flex; gap: .25rem; border-top: 1px solid rgba(255, 255, 255, .14); overflow-x: auto; scrollbar-width: none; }
.contrib-tabs::-webkit-scrollbar { display: none; }
.contrib-tab { position: relative; display: inline-flex; align-items: center; gap: .55rem; padding: 1rem 1.15rem 1.05rem; color: rgba(255, 255, 255, .82); text-decoration: none;
    font-family: var(--newsletter-sans); font-weight: 600; font-size: 16px; white-space: nowrap; transition: color .15s, background .15s; }
.contrib-tab i { font-size: 1.05rem; opacity: .9; }
.contrib-tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.contrib-tab.active { color: #fff; }
.contrib-tab.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--newsletter-gold); }
.contrib-tab-admin { margin-left: auto; color: var(--newsletter-gold); }
.contrib-main { padding: 2.25rem 0 4rem; }
.contrib-main .flash { margin-bottom: 1.5rem; }
.contributor-shell .panel { border-radius: 14px; border-color: #e4e9e6; box-shadow: 0 1px 2px rgba(16, 40, 30, .04), 0 6px 20px rgba(16, 40, 30, .05); }
.contributor-shell .dash-main, .contributor-shell .profile-single, .contributor-shell .submit-col { max-width: none; }
.contributor-shell .submit-page { margin: 0; }
.contributor-shell .submit-page > .submit-col { padding: 0; }
.contributor-shell .dash-section-title { margin-top: 1.75rem; }
.contributor-shell .site-footer { margin-top: 0; }
.back-link { display: inline-block; font-weight: 600; font-size: .92rem; margin-bottom: .6rem; text-decoration: none; }
.detail-title { font-family: var(--newsletter-serif); font-weight: 750; font-size: clamp(24px, 2.4vw, 32px); color: #0f241d; letter-spacing: -.01em; margin: .3rem 0 0; }
@media (max-width: 767.98px) {
    .contrib-hero-row { flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.6rem 0 1.1rem; }
    .contrib-id { padding: .45rem .9rem .45rem .45rem; }
    .contrib-avatar { width: 38px; height: 38px; }
    .contrib-tab { padding: .85rem .8rem .9rem; font-size: 15px; }
    .contrib-tab-admin { margin-left: 0; }
    .contrib-main { padding: 1.5rem 0 3rem; }
}
.contributor-shell { --serif: var(--newsletter-serif); --sans: var(--newsletter-sans); font-family: var(--newsletter-sans); }
.contributor-shell .card-title, .contributor-shell .dash-profile-text h2, .contributor-shell .subs-item-title, .contributor-shell .subs-stat-num,
.contributor-shell .dash-section-title, .contributor-shell .panel-title-serif, .contributor-shell .photo-name, .contributor-shell .dash-pct { font-weight: 750; letter-spacing: -.01em; }
.contributor-shell .dash-section-title { font-size: 1.75rem; }

/* ----- Contributor band v2: light band, gold accent bar, pill tabs ----- */
.contrib-hero { color: var(--ink); background: linear-gradient(180deg, #eaf4ee 0%, #e3efe8 100%); border-bottom: 4px solid var(--newsletter-gold); }
.contrib-hero-row { align-items: center; padding: 1.6rem 0 1.1rem; }
.contrib-hero-text { border-left: 4px solid var(--newsletter-gold); padding-left: 1.25rem; }
.contrib-eyebrow { color: var(--newsletter-heading); }
.contrib-eyebrow::before { background: var(--newsletter-heading); }
.contrib-title { color: #0f241d; font-size: clamp(28px, 2.6vw, 38px); margin: .35rem 0 .3rem; }
.contrib-lead { color: var(--ink-2); font-size: 16px; }
.contrib-id { position: relative; background: #fff; border: 1px solid #dfe8e3; box-shadow: 0 2px 10px rgba(16, 40, 30, .08); margin-left: 2.25rem; padding: .55rem 1.4rem .55rem .55rem; }
.contrib-id::before { content: ""; position: absolute; left: -2.25rem; top: -10px; bottom: -10px; width: 1px; background: #c9d9d0; }
.contrib-id strong { color: #0f241d; }
.contrib-id span { color: var(--ink-2); }
.contrib-avatar { width: 52px; height: 52px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--newsletter-gold); }
.contrib-tabs { border-top: 0; gap: .65rem; padding: 0 0 1.4rem; overflow-x: auto; }
.contrib-tab { padding: .62rem 1.25rem; border-radius: 10px; background: #fff; color: #0f241d; border: 1px solid #dfe8e3;
    box-shadow: 0 1px 3px rgba(16, 40, 30, .06); font-size: 16px; }
.contrib-tab i { font-size: 1.15rem; }
.contrib-tab:hover { background: #f6faf8; color: #0f241d; border-color: #c9d9d0; }
.contrib-tab.active { background: var(--newsletter-heading); color: #fff; border-color: var(--newsletter-heading); box-shadow: 0 3px 0 var(--newsletter-gold), 0 4px 12px rgba(7, 63, 50, .25); }
.contrib-tab.active::after { display: none; }
.contrib-tab-admin { margin-left: auto; color: #6b5415; border-color: #eadfb8; background: #fdf8ea; }
@media (max-width: 767.98px) {
    .contrib-id { margin-left: 0; }
    .contrib-id::before { display: none; }
    .contrib-hero-text { padding-left: .9rem; }
    .contrib-tabs { padding-bottom: 1rem; }
    .contrib-tab { padding: .5rem .9rem; font-size: 15px; }
}
@media (max-width: 767.98px) { .contrib-hero-row { align-items: flex-start; } }
.contrib-hero-text { flex: 1; } .contrib-lead { max-width: none; }
.dash-section-first { margin-top: 0 !important; } .profile-single > .dash-profile { margin-bottom: 1.25rem; }
/* Guidelines page */
.guide-page { display: grid; gap: 1.25rem; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.guide-card { margin: 0 !important; }
.guide-card .check-list li { margin-bottom: .2rem; line-height: 1.5; }
.guide-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.guide-steps li { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1rem; border-radius: 12px; background: #f6f9f7; border: 1px solid #e1ebe5; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.guide-steps span { width: 36px; height: 36px; border-radius: 50%; background: var(--newsletter-heading); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--gold-50); }
.guide-steps strong { display: block; font-family: var(--newsletter-serif); font-size: 1.1rem; font-weight: 750; color: #0f241d; margin-bottom: .2rem; }
.guide-cta-card { background: #fdf8ea; border-color: #eee3bf !important; }
@media (max-width: 1199.98px) { .guide-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) { .guide-grid, .guide-steps { grid-template-columns: 1fr; } }
/* Author box: photo + name/title on top, biography full width below */
.author-box { display: block; }
.author-top { display: flex; align-items: center; gap: 1.25rem; }
.author-top .author-role { margin: 0; }
.author-box .author-bio { margin: 1.1rem 0 .4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
@media (max-width: 575.98px) { .author-box { flex-direction: initial; } .author-top { gap: .9rem; } }
/* "You are subscribed" note (replaces subscribe forms for subscribed, signed-in users) */
.subscribed-note { display: flex; gap: .8rem; align-items: flex-start; text-align: left; border-radius: 10px; padding: .9rem 1.1rem; font-size: .95rem; line-height: 1.45; }
.subscribed-note > i { font-size: 1.5rem; line-height: 1; margin-top: .1rem; }
.subscribed-note strong { display: block; font-size: 1.05rem; margin-bottom: .1rem; }
.subscribed-note.on-dark { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.subscribed-note.on-dark > i { color: var(--newsletter-gold); }
.subscribed-note.on-dark span { color: rgba(255, 255, 255, .88); }
.subscribed-note.on-light { max-width: 600px; margin: 0 auto 1rem; background: #e2f3eb; border: 1px solid #bfe0cd; color: #0f3d2a; }
.subscribed-note.on-light > i { color: #1b8a4c; }
.cta-card .subscribed-note { max-width: 420px; }
/* Admin area (same shell as the contributor area) */
.admin-area .admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-bottom: 1rem; }
.admin-area .stat-grid { margin-bottom: 1.5rem; }
.admin-area .editor-top { margin-bottom: 1rem; }
.admin-area .editor-actions { bottom: 0; }
.admin-area .preview-panel { top: 120px; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.art-cell-text { min-width: 0; } .art-cell-cat { margin-top: .35rem; }
.art-cell-cat .cat-pill { white-space: nowrap; max-width: none; }
.people-switch { margin-bottom: 1.5rem; } .people-switch .tab-pill.active { background: var(--newsletter-heading); border-color: var(--newsletter-heading); color: #fff; box-shadow: none; }
.tab-count { font-weight: 600; opacity: .85; }
/* Admin tabs: compact */
.contrib-tabs { gap: .4rem; padding-bottom: 1.1rem; }
.contrib-tab { padding: .42rem .85rem; font-size: 14.5px; gap: .4rem; border-radius: 8px; }
.contrib-tab i { font-size: .98rem; }
.contrib-tab.active { box-shadow: 0 2px 0 var(--newsletter-gold), 0 3px 8px rgba(7, 63, 50, .2); }
@media (max-width: 767.98px) { .contrib-tab { padding: .4rem .75rem; font-size: 14px; } }
.modal-footer:has(> [data-bs-dismiss="modal"]) { justify-content: space-between; }
/* Keep the page from shifting sideways when moving between short and long pages (scrollbar space is always reserved) */
html { scrollbar-gutter: stable; }
/* Admin filter pills (article statuses, media types): compact, same style as the admin tabs */
.admin-area .tab-pills { gap: .35rem; }
.admin-area .tab-pill { padding: .3rem .7rem; font-size: 13.5px; font-weight: 600; border-radius: 7px; background: #fff; border: 1px solid #dfe8e3;
    box-shadow: 0 1px 2px rgba(16, 40, 30, .05); color: #0f241d; }
.admin-area .tab-pill:hover { border-color: #c9d9d0; background: #f6faf8; }
.admin-area .tab-pill.active { background: var(--newsletter-heading); border-color: var(--newsletter-heading); color: #fff; box-shadow: 0 2px 0 var(--newsletter-gold); }
.admin-area .list-tools { align-items: center; }
.admin-area .list-search .form-control { height: 36px; font-size: 14px; }

/* View Submission: the original Word document as a readable page */
.doc-view { margin: 0; padding: 2.25rem 2.5rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; color: var(--ink); }
.doc-view h2, .doc-view h3, .doc-view h4 { font-family: var(--serif); font-weight: 700; margin: 1.6rem 0 .6rem; line-height: 1.25; }
.doc-view h2 { font-size: 1.6rem; } .doc-view h3 { font-size: 1.3rem; } .doc-view h4 { font-size: 1.1rem; }
.doc-view > :first-child { margin-top: 0; }
.doc-view p { margin: 0 0 1rem; }
.doc-view table { font-family: var(--sans, inherit); font-size: .92rem; }
.doc-view-note { font-family: var(--sans, inherit); font-size: .9rem; color: var(--muted, #6b7280); border-top: 1px solid var(--line); padding-top: .8rem; margin-top: 1.5rem; }
@media (max-width: 576px) { .doc-view { padding: 1.25rem 1.1rem; } }
.contrib-main.doc-only { padding-block: 1.5rem; }
.stage-trail { margin-bottom: 1.1rem; }

/* Contributor and admin areas: small centred footer, always at the bottom of the window */
body.contributor-shell { min-height: 100vh; display: flex; flex-direction: column; }
body.contributor-shell > main { flex: 1 0 auto; }
.mini-footer { background: var(--green-deep); border-top: 3px solid var(--gold); padding: .9rem 1rem; text-align: center; }
.mini-footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: var(--newsletter-serif, var(--serif)); font-weight: 600; font-size: 1rem; }
.mini-footer-brand:hover { color: #fff; }
.mini-footer-brand img { width: 30px; height: auto; }

/* Article editor as numbered steps, one column */
.editor-grid { grid-template-columns: minmax(0, 1fr) !important; }
.editor-steps { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.step-card { padding: 1.4rem 1.6rem; margin: 0; }
.step-title { display: flex; align-items: center; gap: .7rem; font-size: 1.2rem; font-weight: 750; margin: 0 0 .35rem; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--newsletter-sans, var(--sans)); font-size: .95rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.step-lead { color: var(--muted, #5d6b64); font-size: .95rem; margin: 0 0 1rem 2.45rem; }
.step-card .side-note { margin-left: 0; }
.step-card #aiInstruction { max-width: 640px; }
.step-card [data-ai-generate], .step-card [data-bs-target="#regenConfirm"] { width: auto !important; padding-inline: 1.4rem; }
.step-card .confirm-box { max-width: 640px; }
.step-card #category_id { max-width: 420px; }
.step-card .featured-box { max-width: 520px; }
.ai-select-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .6rem; }
.ai-select-row .suggestion { flex-basis: 100%; }
.editor-steps > .side-block { margin: 0; }
.editor-refs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
@media (min-width: 992px) { .editor-refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.editor-refs .panel { margin: 0; }
@media (max-width: 576px) { .step-card { padding: 1.1rem; } .step-lead { margin-left: 0; } }
.step-card .editor-doc { padding: 0; border: 0; box-shadow: none; background: none; }

/* Step accordion in the article editor */
.step-card { padding: 0; overflow: visible; }
.step-card .step-title { margin: 0; font-size: inherit; }
.step-head { width: 100%; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.4rem; background: none; border: 0; text-align: left; color: var(--ink); border-radius: 14px; }
.step-head:hover { background: #f7faf8; }
.step-head:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.step-name { font-family: var(--newsletter-sans, var(--sans)); font-size: 1.12rem; font-weight: 700; flex: 1; }
.step-state { font-size: .85rem; font-weight: 600; color: var(--green); }
.step-chev { transition: transform .2s; color: #7a8a82; }
.step-card.is-open .step-chev { transform: rotate(180deg); }
.step-card .step-num { width: 32px; height: 32px; background: #e8efeb; color: var(--green); }
.step-card .step-num .bi { display: none; font-size: 1.15rem; }
.step-card.is-open .step-num { background: var(--green); color: #fff; }
.step-card.is-done .step-num { background: var(--green); color: #fff; }
.step-card.is-done .step-num .step-n { display: none; }
.step-card.is-done .step-num .bi { display: inline; }
.step-card.is-done:not(.is-open) .step-head { color: #44524b; }
.step-body { padding: 0 1.4rem 1.4rem; }
.step-body .step-lead { margin-left: 0; }
.step-foot { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.step-foot .step-error { margin-right: auto; }
.author-preview .author-box { margin-top: 0; }
.rev-panel summary { cursor: pointer; list-style: none; }
.rev-panel summary::-webkit-details-marker { display: none; }
.rev-panel summary::after { content: '\F282'; font-family: bootstrap-icons; margin-left: auto; color: #7a8a82; }
.rev-panel[open] summary::after { transform: rotate(180deg); }
.editor-actions .btn:disabled { opacity: .55; }
@media (max-width: 576px) { .step-head { padding: .9rem 1rem; } .step-body { padding: 0 1rem 1rem; } }

/* Step 1: the article on the left, the AI summary tools on the right */
.text-step.has-ai { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 1100px) { .text-step.has-ai { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.ai-panel { background: #f6f9f7; border: 1px solid #e1e9e4; border-radius: 12px; padding: 1.1rem; position: sticky; top: 1rem; }
.ai-panel-title { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; }
.ai-panel-title i { color: var(--green); }
.ai-panel .ai-tools { display: flex; flex-wrap: wrap; gap: .4rem; }
.ai-panel .suggestion { margin-top: .8rem; }
.ai-panel [data-ai-generate], .ai-panel [data-bs-target="#regenConfirm"] { width: 100% !important; }
.cat-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.cat-row .form-select { max-width: 320px; }

/* ---- Article editor: the article as it will be published, edited in place ---------------------------- */
.wys-form { display: block; }
.wys-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (min-width: 1100px) { .wys-layout.has-ai { grid-template-columns: minmax(0, 1fr) 320px; } }
.wys-layout:not(.has-ai) .wys-article { max-width: 880px; margin-inline: auto; width: 100%; }
.wys-article { background: #fff; border: 1px solid #e4e9e6; border-radius: 14px; padding: 2rem 2.5rem 2.5rem; box-shadow: 0 1px 2px rgba(16, 40, 30, .04), 0 6px 20px rgba(16, 40, 30, .05); }
.wys-hint { font-size: .88rem; color: #5d6b64; background: #f6f9f7; border: 1px dashed #cfdcd5; border-radius: 10px; padding: .55rem .8rem; margin: 0 0 1.25rem; display: flex; gap: .5rem; align-items: center; }
.wys-hint i { color: var(--green); }
/* text you type into directly */
textarea.wys-text { display: block; width: 100%; border: 0; background: transparent; resize: none; overflow: hidden; padding: .1rem .35rem; margin-left: -.35rem; margin-right: -.35rem;
    width: calc(100% + .7rem); font: inherit; color: inherit; border-radius: 6px; outline: 1px dashed transparent; transition: outline-color .15s, background .15s; }
textarea.article-title.wys-text { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; color: #0f241d; margin-top: 1rem; margin-bottom: .9rem; }
textarea.article-dek.wys-text { font-size: 1.22rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.wys-article:not(.is-readonly) textarea.wys-text:hover { outline-color: #b9cfc3; background: #fbfdfc; }
.wys-article:not(.is-readonly) textarea.wys-text:focus { outline: 2px solid var(--gold); background: #fffdf5; }
textarea.wys-text::placeholder { color: #9aa8a1; font-style: italic; }
.takeaways li textarea.wys-li { padding-top: 0; padding-bottom: 0; line-height: 1.5; }
/* boxes that open a pop-up */
.wys-article:not(.is-readonly) .wys-click { cursor: pointer; position: relative; outline: 2px dashed transparent; outline-offset: 4px; transition: outline-color .15s; }
.wys-article:not(.is-readonly) .wys-click:hover, .wys-article:not(.is-readonly) .wys-click:focus-visible { outline-color: var(--gold); }
span.cat-pill.wys-click { border: 0; }
.wys-author .author-box { margin-top: 2.5rem; }
.wys-figure { position: relative; background: #f3f6f4; }
.wys-img-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #6b7a72; font-weight: 600; border: 2px dashed #c3d2ca; border-radius: inherit; }
.wys-img-empty i { font-size: 2.2rem; color: var(--green); }
.wys-img-change { position: absolute; right: .8rem; bottom: .8rem; background: rgba(15, 36, 29, .85); color: #fff; font-size: .85rem; font-weight: 600; padding: .35rem .7rem; border-radius: 8px; opacity: 0; transition: opacity .15s; }
.wys-figure:hover .wys-img-change, .wys-figure:focus-visible .wys-img-change { opacity: 1; }
.wys-figure img[hidden] + .wys-img-empty ~ .wys-img-change { display: none; }
.wys-src-link { display: block; font-size: .85rem; color: #4d5a53; margin-top: .3rem; word-break: break-all; }
/* the summary, edited in place */
.wys-body { min-height: 12rem; border-radius: 6px; outline: 1px dashed transparent; outline-offset: 6px; }
.wys-article:not(.is-readonly) .wys-body:hover { outline-color: #b9cfc3; }
.wys-body.mce-edit-focus { outline: 2px solid var(--gold); }
.wys-body figure.image img { max-width: 100%; height: auto; border-radius: 8px; }
.wys-layout .ai-panel { position: sticky; top: 1rem; }
.wys-form .editor-actions { margin-top: 1.5rem; }
@media (max-width: 767.98px) { .wys-article { padding: 1.25rem 1rem 1.5rem; } }

/* Right side of the article editor: two bold AI cards */
.ai-col { display: flex; flex-direction: column; gap: 1.1rem; position: sticky; top: 1rem; }
.ai-card { background: #fff; border: 1px solid #d5e2db; border-top: 4px solid var(--green); border-radius: 14px; padding: 1.2rem 1.25rem 1.3rem;
    box-shadow: 0 2px 4px rgba(16, 40, 30, .06), 0 10px 28px rgba(16, 40, 30, .10); }
.ai-card-title { display: flex; align-items: center; gap: .65rem; font-family: var(--newsletter-sans, var(--sans)); font-size: 1.15rem; font-weight: 800; color: #0f241d; margin: 0 0 .6rem; }
.ai-card-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: none; }
.ai-card-text { font-size: .9rem; color: #4b5a53; margin: 0 0 1rem; line-height: 1.5; }
.ai-card .btn-green { font-weight: 700; padding-block: .6rem; }
.ai-card-sub { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #e4ece7; }
.ai-card-sub .side-note { font-weight: 600; color: #3d4b44; }
.ai-card .ai-tools { display: flex; flex-wrap: wrap; gap: .4rem; }
.ai-card .ai-busy, .ai-card .ai-notes { margin-top: .8rem; }
.ai-card .suggestion { margin-top: .8rem; }
.ai-card [data-ai-generate], .ai-card [data-bs-target="#regenConfirm"] { width: 100% !important; }
.ai-card { border: 0; }

/* ---- "The AI is working" full-screen panel ---------------------------------------------------------- */
body.ai-screen-open { overflow: hidden; }
.ai-screen { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1.25rem;
    background: radial-gradient(1200px 700px at 50% 30%, rgba(0, 103, 71, .55), rgba(4, 32, 24, .92)), rgba(4, 32, 24, .9);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: aiFade .35s ease-out both; }
.ai-screen::before, .ai-screen::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.ai-screen::before { background: #cfc493; top: -140px; left: -120px; animation: aiDrift 14s ease-in-out infinite alternate; }
.ai-screen::after { background: #29a37a; bottom: -160px; right: -140px; animation: aiDrift 17s ease-in-out infinite alternate-reverse; }
.ai-screen-card { position: relative; width: min(520px, 100%); background: rgba(255, 255, 255, .97); border-radius: 22px; padding: 2.2rem 2rem 1.6rem; text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35); outline: none; animation: aiRise .45s cubic-bezier(.2, .8, .2, 1) both; }
.ai-orb { position: relative; width: 96px; height: 96px; margin: 0 auto 1.1rem; }
.ai-orb-core { position: absolute; inset: 18px; border-radius: 50%; background: linear-gradient(135deg, #006747, #0b8a60 55%, #cfc493);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 24px rgba(0, 103, 71, .45); animation: aiPulse 2.2s ease-in-out infinite; }
.ai-orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: #006747; border-right-color: rgba(0, 103, 71, .25); animation: aiSpin 1.4s linear infinite; }
.ai-orb-ring.r2 { inset: 8px; border-top-color: #cfc493; border-right-color: rgba(207, 196, 147, .3); animation-duration: 2.3s; animation-direction: reverse; }
.ai-spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #cfc493; box-shadow: 0 0 10px #cfc493; animation: aiTwinkle 2.4s ease-in-out infinite; }
.ai-spark.s1 { top: 4px; right: 2px; } .ai-spark.s2 { bottom: 10px; left: -4px; animation-delay: .8s; background: #29a37a; box-shadow: 0 0 10px #29a37a; } .ai-spark.s3 { top: 40px; right: -10px; animation-delay: 1.6s; }
.ai-screen-title { font-family: var(--newsletter-serif, var(--serif)); font-weight: 750; font-size: 1.55rem; color: #0f241d; margin: 0 0 1.2rem; }
.ai-steps { list-style: none; padding: 0; margin: 0 auto 1.2rem; text-align: left; display: grid; gap: .55rem; max-width: 360px; }
.ai-steps li { display: flex; align-items: center; gap: .7rem; color: #8a978f; font-weight: 600; transition: color .3s; }
.ai-step-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfd9d3; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: .85rem; color: transparent; transition: all .3s; }
.ai-steps li.is-now { color: #0f241d; }
.ai-steps li.is-now .ai-step-dot { border-color: #006747; border-top-color: transparent; animation: aiSpin .9s linear infinite; }
.ai-steps li.is-done { color: #3d4b44; }
.ai-steps li.is-done .ai-step-dot { background: #006747; border-color: #006747; color: #fff; animation: aiPop .3s ease-out; }
.ai-bar { height: 6px; border-radius: 99px; background: #e6eee9; overflow: hidden; margin: 0 auto .5rem; max-width: 360px; }
.ai-bar span { display: block; height: 100%; width: 40%; border-radius: 99px; background: linear-gradient(90deg, #006747, #cfc493); animation: aiSlide 1.6s ease-in-out infinite; }
.ai-time { font-variant-numeric: tabular-nums; color: #6b7a72; font-size: .9rem; margin: 0 0 1.1rem; }
.ai-keep { display: flex; gap: .6rem; align-items: flex-start; text-align: left; background: #fff7e0; border: 1px solid #f0d98a; color: #5c4a12; border-radius: 12px; padding: .75rem .9rem; font-size: .9rem; margin: 0; }
.ai-keep i { color: #c79100; margin-top: .1rem; }
.ai-screen.is-finished .ai-bar span { width: 100%; animation: none; }
.ai-screen.is-finished .ai-orb-ring { animation: none; border-color: #006747; }
.ai-screen.is-finished .ai-orb-core i::before { content: "\F26E"; }
.ai-screen.is-finished .ai-keep { visibility: hidden; }
@keyframes aiFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes aiRise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes aiSpin { to { transform: rotate(360deg); } }
@keyframes aiPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes aiTwinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes aiSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes aiDrift { to { transform: translate(80px, 60px); } }
@keyframes aiPop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ai-screen *, .ai-screen::before, .ai-screen::after { animation: none !important; } .ai-bar span { width: 100%; } }
@media (max-width: 480px) { .ai-screen-card { padding: 1.6rem 1.2rem 1.2rem; } .ai-screen-title { font-size: 1.3rem; } }
.editor-top .wys-hint { background: none; border: 0; padding: 0; margin: 0; font-size: .88rem; color: #5d6b64; display: inline-flex; gap: .45rem; align-items: center; flex: 1 1 auto; min-width: 0; }
@media (max-width: 767.98px) { .editor-top .wys-hint { flex-basis: 100%; order: 5; } }
.editor-top .wys-hint { flex: 1 1 0; } .editor-top .save-state { flex: none; margin-left: auto; }

/* Newsletter tips inside the "AI is working" panel */
.ai-screen-card { max-height: calc(100vh - 2.5rem); overflow-y: auto; width: min(560px, 100%); padding-top: 1.6rem; }
.ai-screen .ai-orb { width: 72px; height: 72px; margin-bottom: .8rem; }
.ai-screen .ai-orb-core { inset: 13px; font-size: 1.25rem; }
.ai-screen .ai-orb-ring.r2 { inset: 6px; }
.ai-screen-title { font-size: 1.4rem; margin-bottom: 1rem; }
.ai-tip { text-align: left; background: linear-gradient(180deg, #f2f8f4, #fff); border: 1px solid #dbe8e0; border-radius: 16px; padding: 1rem 1.1rem .85rem; margin: 0 0 1rem; }
.ai-tip-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a6d00; }
.ai-tip-eyebrow i { color: #c79100; font-size: .95rem; }
.ai-tip-body { min-height: 6.2rem; }
.ai-tip-body.is-in { animation: aiTipIn .45s ease-out both; }
.ai-tip-title { font-family: var(--newsletter-serif, var(--serif)); font-weight: 750; font-size: 1.12rem; color: #0f241d; margin: .4rem 0 .3rem; line-height: 1.3; }
.ai-tip-text { color: #3d4b44; font-size: .95rem; line-height: 1.55; margin: 0; }
.ai-tip-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .7rem; padding-top: .6rem; border-top: 1px solid #e4ece7; }
.ai-tip-count { font-size: .8rem; color: #6b7a72; }
@keyframes aiTipIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ai-screen.is-finished .ai-tip { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .ai-tip-body.is-in { animation: none; } }
.au-photo-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.au-photo-row .author-avatar { width: 84px; height: 84px; border-radius: 12px; }

/* Contributor dashboard: the person's photo in the Welcome banner */
.contrib-hero-row:has(.hero-avatar) { justify-content: flex-start; gap: 1.4rem; }
.hero-avatar { position: relative; flex: none; display: block; text-decoration: none; border-radius: 50%; }
.hero-avatar .hero-avatar-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(16, 40, 30, .18); }
.hero-avatar.no-photo .hero-avatar-img { background: var(--newsletter-gold, #cfc493); color: #0f241d; }
.hero-avatar-add { position: absolute; right: 0; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; border: 3px solid #fff;
    display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.hero-avatar:hover .hero-avatar-img, .hero-avatar:focus-visible .hero-avatar-img { box-shadow: 0 0 0 3px var(--gold), 0 4px 14px rgba(16, 40, 30, .18); }
@media (max-width: 767.98px) { .contrib-hero-row:has(.hero-avatar) { flex-direction: row; align-items: center; } .hero-avatar .hero-avatar-img { width: 64px; height: 64px; font-size: 1.4rem; } .hero-avatar-add { width: 24px; height: 24px; font-size: .65rem; } }

/* Profile photos are always rounded-rectangle thumbnails (never circles), like the author box */
.avatar { border-radius: 8px; }
.preview-avatar { border-radius: 10px; }
.profile-photo-block .profile-avatar { border-radius: 14px; }
.contrib-avatar { border-radius: 8px; }
.hero-avatar, .hero-avatar .hero-avatar-img { border-radius: 14px; }
.hero-avatar-add { right: -6px; bottom: -6px; }
/* Editing a published article */
textarea.article-title.wys-text.is-locked { cursor: not-allowed; }
.wys-article:not(.is-readonly) textarea.wys-text.is-locked:hover, .wys-article:not(.is-readonly) textarea.wys-text.is-locked:focus { outline-color: transparent; background: transparent; }
.title-lock { font-size: .85rem; color: #7a6a2a; margin: -.5rem 0 1rem; display: flex; align-items: center; gap: .4rem; }
.published-edit-note { font-size: .95rem; }

/* "This article has been removed" page (old address of a removed article) */
.removed-page { padding: 3rem 0 4rem; background: linear-gradient(180deg, #eef5f1 0, #fff 340px); }
.removed-card { max-width: 720px; margin: 0 auto 3rem; text-align: center; background: #fff; border-radius: 18px; padding: 2.5rem 2rem 2.2rem;
    box-shadow: 0 2px 4px rgba(16, 40, 30, .05), 0 14px 40px rgba(16, 40, 30, .10); border-top: 4px solid var(--newsletter-gold, #cfc493); }
.removed-icon { width: 72px; height: 72px; border-radius: 18px; background: #e8f1ec; color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; }
.removed-title { font-family: var(--newsletter-serif, var(--serif)); font-weight: 750; font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: #0f241d; margin-bottom: .75rem; }
.removed-text { color: #4b5a53; font-size: 1.08rem; max-width: 560px; margin: 0 auto 1.6rem; }
.removed-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.btn-icon-danger { color: #b42318; background: transparent; border: 1px solid transparent; padding: .25rem .5rem; }
.btn-icon-danger:hover, .btn-icon-danger:focus-visible { color: #fff; background: #b42318; border-color: #b42318; }

/* About page: Contact Us */
.contact-section { background: linear-gradient(180deg, #f3f8f5, #fff); border-top: 1px solid var(--line); }
.contact-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8a6d00; }
.contact-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); color: #0f241d; margin: .4rem 0 .8rem; }
.contact-lead { color: var(--ink-2); font-size: 1.05rem; }
.contact-points { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.contact-points li { display: flex; gap: .65rem; align-items: center; color: #2f3d36; }
.contact-points i { width: 34px; height: 34px; border-radius: 10px; background: #e3efe8; color: var(--green); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-direct { font-size: .95rem; color: #5d6b64; }
.contact-card { background: #fff; border-radius: 16px; padding: 1.8rem; box-shadow: 0 2px 4px rgba(16, 40, 30, .05), 0 14px 40px rgba(16, 40, 30, .09); border-top: 4px solid var(--green); }
.contact-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.contact-sent { display: flex; gap: .7rem; align-items: flex-start; background: #e7f4ec; border: 1px solid #b9dcc6; color: #14532d; border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1.2rem; }
.contact-sent i { color: #16803c; font-size: 1.2rem; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 576px) { .contact-card { padding: 1.2rem; } }
.contact-card { border: 0; }

/* Footer always at the bottom of the window (every layout: public, error pages, sign-in, contributor, admin) */
body.site { min-height: 100vh; display: flex; flex-direction: column; }
body.site > main { flex: 1 0 auto; width: 100%; }
body.site > footer, body.site > .site-footer, body.site > .mini-footer { flex-shrink: 0; }
body.auth-page { min-height: 100vh; display: flex; flex-direction: column; } body.auth-page > main { flex: 1 0 auto; width: 100%; }

/* ---- Phones and tablets ----------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Area tabs (contributor + admin) wrap instead of running off the screen */
    .contrib-tabs { flex-wrap: wrap; overflow-x: visible; gap: .4rem; }
    .contrib-tab { padding: .4rem .7rem; font-size: .85rem; }
    /* Editor buttons: in the page flow at the end, not a pinned bar covering a third of the screen */
    .editor-actions { position: static; }
    .wys-form .editor-actions .btn { flex: 1 1 calc(50% - .6rem); }
    /* Stacked admin tables: row actions on their own line */
    .stack-sm .role-actions, .stack-sm td.text-end { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-start; padding-top: .5rem !important; }
    .stack-sm .role-actions form { margin: 0; }
}
@media (max-width: 575.98px) {
    /* File card (review page): name on its own lines, buttons below, never a thin column of letters */
    .file-card { align-items: flex-start; }
    .file-card .file-meta { flex: 1 1 calc(100% - 4rem); }
    .file-card .file-meta strong { word-break: normal; overflow-wrap: anywhere; }
    .file-card > .btn { margin-left: 0 !important; }
}
/* Tabs wrap on every screen (iPad portrait included); on wide screens they still fit on one line */
.contrib-tabs { flex-wrap: wrap; overflow-x: visible; }
/* Tablets and phones: AI cards above the article (side by side when there is room), compact pinned editor bar */
@media (max-width: 1099.98px) {
    .wys-layout .ai-col { order: -1; position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
    .wys-form .editor-actions .btn { padding: .38rem .75rem; font-size: .88rem; }
}
.wys-layout .wys-article { grid-row: auto; grid-column: auto; }   /* the public .article-main pins itself to row 1; in the editor the grid decides */

/* Accessibility: visible focus on the skip link; respect "reduce motion" for every page */
.skip-link:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Audio & Podcast (editor card) ---- */
.ai-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.opt-pill { font-size: .75rem; font-weight: 600; color: #4b5a53; background: #eef2ef; border-radius: 99px; padding: .2rem .6rem; white-space: nowrap; }
.audio-row { border-top: 1px solid #e4ece7; padding: .85rem 0 .7rem; }
.audio-row-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.audio-row-head strong { font-size: .95rem; }
.audio-row-text { font-size: .84rem; color: #5d6b64; margin: .3rem 0 .6rem; }
.audio-progress { font-size: .84rem; color: #7a6a2a; margin: 0 0 .5rem; }
.audio-player { width: 100%; height: 40px; margin: .2rem 0 .3rem; }
.audio-meta { font-size: .8rem; color: #6b7a72; margin: 0 0 .5rem; }
.audio-outdated { color: #8a5a00; background: #fff7e0; border-radius: 8px; padding: .4rem .6rem; }
.audio-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.audio-foot { font-size: .78rem; color: #6b7a72; margin: .6rem 0 0; border-top: 1px solid #e4ece7; padding-top: .6rem; }
.audio-script { font-family: var(--newsletter-sans, var(--sans)); font-size: .95rem; line-height: 1.55; }

/* ---- Listen box on the public article page ---- */
.listen-box { border: 1px solid var(--green-100, #cfe5d8); background: #f5faf7; border-radius: var(--radius, 12px); padding: 1rem 1.2rem; margin: 0 0 1.5rem; }
.listen-box h2 { font-size: 1.05rem; font-weight: 700; color: var(--green-dark, #033f2a); margin: 0 0 .6rem; display: flex; gap: .5rem; align-items: center; }
.listen-item { margin-bottom: .7rem; }
.listen-item:last-of-type { margin-bottom: .4rem; }
.listen-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .25rem; }
.listen-label span { font-weight: 400; color: #5d6b64; }
.listen-item audio { width: 100%; height: 40px; }
.listen-note { font-size: .82rem; color: #5d6b64; margin: 0; }
.listen-transcript summary { cursor: pointer; font-size: .86rem; color: var(--green); font-weight: 600; margin-top: .3rem; }
.listen-transcript div { font-size: .92rem; line-height: 1.6; margin-top: .5rem; max-height: 22rem; overflow: auto; padding-right: .5rem; }
.listen-transcript p { margin: 0 0 .6rem; }

/* Listen card (right column of the article page) */
.listen-card { padding: 0; overflow: hidden; border-top: 4px solid var(--green); }
.listen-card-head { display: flex; gap: .85rem; align-items: center; padding: 1.15rem 1.25rem .9rem; background: linear-gradient(135deg, #f1f8f4, #fff); border-bottom: 1px solid var(--line); }
.listen-card-head h2 { margin: 0; font-size: 1.25rem; }
.listen-card-head p { margin: .1rem 0 0; font-size: .88rem; color: #5d6b64; }
.listen-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: none; box-shadow: 0 4px 12px rgba(0, 103, 71, .25); }
.listen-card .listen-item { padding: .95rem 1.25rem; border-bottom: 1px solid var(--line); margin: 0; }
.listen-item-head { display: flex; gap: .65rem; align-items: center; margin-bottom: .55rem; }
.listen-item-head strong { display: block; font-size: .98rem; color: #0f241d; line-height: 1.25; }
.listen-item-head small { display: block; font-size: .8rem; color: #6b7a72; }
.listen-item-icon { width: 32px; height: 32px; border-radius: 9px; background: #e3efe8; color: var(--green); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.listen-card audio { width: 100%; height: 40px; display: block; }
.listen-card .listen-transcript summary { font-size: .84rem; margin-top: .55rem; }
.listen-card .listen-transcript div { font-size: .88rem; max-height: 18rem; }
.listen-card .listen-note { display: flex; gap: .45rem; padding: .8rem 1.25rem 1rem; font-size: .8rem; color: #5d6b64; margin: 0; }
.byline-listen { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--green); text-decoration: none; border: 1px solid #cfe5d8; border-radius: 99px; padding: .1rem .65rem; }
.byline-listen:hover { background: #eef6f1; color: var(--green-dark, #033f2a); }
/* No coloured accent edges on cards (user preference): plain cards with a soft border/shadow only */
.listen-card { border-top: 1px solid var(--line); }
.removed-card { border-top: 0; }

/* ==== "Listen to This Research" card (article page, right column) ==== */
.listen-card { background: #fff; border: 1px solid #e3e9e6; border-radius: 18px; overflow: hidden; margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(16, 40, 30, .05), 0 12px 34px rgba(16, 40, 30, .10); padding: 0; }
.lc-hero { position: relative; aspect-ratio: 960 / 470; overflow: hidden; background: #00402c; }
.lc-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.lc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 64, 44, .92) 0%, rgba(0, 64, 44, .55) 42%, rgba(0, 64, 44, 0) 72%); }
.lc-hero::after { content: ""; position: absolute; right: -18%; top: -62%; width: 95%; height: 120%; border-radius: 50%; border-bottom: 3px solid rgba(207, 196, 147, .9); pointer-events: none; }
.lc-hero-text { position: absolute; left: 1.15rem; right: 4.5rem; top: 1rem; display: flex; gap: .7rem; align-items: flex-start; color: #fff; z-index: 1; }
.lc-hero-text > i { font-size: 1.7rem; color: #e9d48b; line-height: 1; margin-top: .15rem; }
.lc-hero-text h2 { font-family: var(--newsletter-serif, var(--serif)); font-weight: 750; font-size: 1.45rem; margin: 0; color: #fff; line-height: 1.15; }
.lc-hero-text p { margin: .25rem 0 0; font-size: .9rem; color: rgba(255, 255, 255, .9); }
.lc-bull { position: absolute; right: .9rem; bottom: .8rem; width: 46px; height: auto; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.lc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .9rem 1rem .3rem; }
.lc-tab { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid #dfe7e2; background: #fff; color: #173a2c; font-weight: 700; font-size: .9rem;
    border-radius: 14px; padding: .6rem .5rem; box-shadow: 0 1px 3px rgba(16, 40, 30, .06); transition: background .15s, color .15s; }
.lc-tab i { font-size: 1.05rem; }
.lc-tab[aria-selected="true"] { background: #00553b; color: #fff; border-color: #00553b; }
.lc-tab:hover:not([aria-selected="true"]) { background: #f2f7f4; }
.lc-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lc-panel { padding: .7rem 1rem 1.1rem; }
.lc-panel:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.lc-panel-img { width: 100%; aspect-ratio: 960 / 500; object-fit: cover; border-radius: 12px; display: block; }
.lc-title { font-family: var(--newsletter-serif, var(--serif)); font-weight: 750; font-size: 1.3rem; color: #0f3a2a; margin: .9rem 0 .3rem; }
.lc-desc { font-size: .92rem; color: #3d4b44; margin: 0 0 .75rem; line-height: 1.5; }
.lc-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.lc-chip { display: inline-flex; align-items: center; gap: .35rem; background: #f1f4f2; color: #2f3d36; border-radius: 10px; padding: .3rem .6rem; font-size: .82rem; font-weight: 600; }
.lc-chip i { color: #00553b; }
.lp audio { width: 100%; }
.lp-main { display: flex; align-items: center; gap: .85rem; }
.lp-play { width: 54px; height: 54px; border-radius: 50%; border: 0; background: #00553b; color: #fff; font-size: 1.7rem; display: inline-flex; align-items: center; justify-content: center; flex: none;
    box-shadow: 0 4px 12px rgba(0, 85, 59, .3); transition: transform .1s, background .15s; }
.lp-play:hover { background: #033f2a; }
.lp-play:active { transform: scale(.96); }
.lp-play:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lp-play .bi-play-fill { margin-left: 3px; }
.lp-track { flex: 1; min-width: 0; }
.lp-seek, .lp-vol { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: none; cursor: pointer;
    background: linear-gradient(90deg, #00553b var(--p, 0%), #dde5e0 var(--p, 0%)); }
.lp-seek::-webkit-slider-thumb, .lp-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #00553b; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.lp-seek::-moz-range-thumb, .lp-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #00553b; border: 2px solid #fff; }
.lp-seek:focus-visible, .lp-vol:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lp-times { display: flex; justify-content: space-between; font-size: .82rem; color: #4b5a53; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.lp-tools { display: flex; align-items: center; gap: .55rem; margin-top: .85rem; flex-wrap: wrap; }
.lp-tools > i { color: #00553b; font-size: 1.1rem; }
.lp-vol { width: 84px; flex: none; }
.lp-sep { width: 1px; height: 26px; background: #dfe7e2; }
.lp-speed { border: 1px solid #dfe7e2; border-radius: 10px; padding: .3rem .5rem; font-weight: 700; font-size: .85rem; background: #fff; color: #173a2c; }
.lp-btn { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #dfe7e2; border-radius: 10px; padding: .32rem .6rem; font-weight: 700; font-size: .85rem; color: #173a2c; background: #fff; text-decoration: none; }
.lp-btn:hover, .lp-btn[aria-expanded="true"] { background: #f2f7f4; color: #0f3a2a; }
.lc-transcript { margin-top: .8rem; max-height: 20rem; overflow: auto; font-size: .9rem; line-height: 1.6; background: #f8faf9; border: 1px solid #e6ece8; border-radius: 12px; padding: .8rem .9rem; }
.lc-transcript p { margin: 0 0 .55rem; }
.lc-download { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .95rem auto 0; width: max-content; border: 1px solid #dfe7e2; border-radius: 12px;
    padding: .5rem 1rem; font-weight: 700; font-size: .9rem; color: #173a2c; text-decoration: none; background: #fff; }
.lc-download:hover { background: #f2f7f4; color: #0f3a2a; }
@media (prefers-reduced-motion: reduce) { .lp-play { transition: none; } }
.lc-panel-img { height: auto; }
.lc-hero::after { display: none; }
.lc-panel-img { aspect-ratio: auto; } .lc-panel-img + .visually-hidden + .lc-desc { margin-top: .85rem; }

/* Read Along: highlight the paragraph being read */
.ra-now { background: #fff4c8; box-shadow: 0 0 0 .45rem #fff4c8; border-radius: 4px; transition: background .25s, box-shadow .25s; }
.takeaways.ra-now { box-shadow: 0 0 0 3px #e9c84a; background: #fffbea; }
.lp-btn[aria-pressed="true"] { background: #00553b; color: #fff; border-color: #00553b; }
.ra-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 1050; display: flex; align-items: center; gap: .6rem;
    background: #0f3a2a; color: #fff; border-radius: 99px; padding: .45rem .5rem .45rem 1rem; box-shadow: 0 8px 28px rgba(0, 0, 0, .28); font-size: .9rem; max-width: calc(100% - 2rem); }
.ra-bar button { border: 0; border-radius: 99px; padding: .35rem .8rem; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: .3rem; }
.ra-play { background: #e9d48b; color: #0f241d; }
.ra-stop { background: rgba(255, 255, 255, .14); color: #fff; }
.ra-bar button:focus-visible { outline: 3px solid #e9d48b; outline-offset: 2px; }
.ra-dot { width: 9px; height: 9px; border-radius: 50%; background: #7fe0b0; animation: raPulse 1.4s ease-in-out infinite; }
@keyframes raPulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .ra-dot { animation: none; } .ra-now { transition: none; } }
/* Listen card: plain title header (no photo banner) */
.lc-head { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.15rem .2rem; }
.lc-head h2 { font-family: var(--newsletter-serif, var(--serif)); font-weight: 750; font-size: 1.4rem; color: #0f3a2a; margin: 0; line-height: 1.15; }
.lc-head p { margin: .15rem 0 0; font-size: .88rem; color: #5d6b64; }
.lc-head-icon { width: 44px; height: 44px; border-radius: 12px; background: #00553b; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: none; }
.audio-langs { display: flex; gap: .3rem; margin: 0 0 .6rem; flex-wrap: wrap; }
.audio-lang { border: 1px solid #dfe7e2; background: #fff; color: #173a2c; border-radius: 8px; padding: .2rem .55rem; font-weight: 700; font-size: .8rem; }
.audio-lang.is-on { background: #00553b; border-color: #00553b; color: #fff; }
/* Translations card */
.tr-row { border-top: 1px solid #e4ece7; padding: .7rem 0; }
.tr-row-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tr-code { font-size: .72rem; font-weight: 800; background: #eef2ef; color: #2f3d36; border-radius: 6px; padding: .1rem .35rem; }
.tr-row-head .status-badge { margin-left: auto; }
.tr-actions { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin-top: .45rem; }
.tr-en { color: #6b7a72; font-style: italic; }
/* Language selector above the headline */
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 .9rem; }
.lang-switch > i { color: #00553b; font-size: 1.1rem; margin-right: .15rem; }
.lang-opt { border: 1px solid #dfe7e2; border-radius: 99px; padding: .22rem .75rem; font-size: .88rem; font-weight: 600; color: #173a2c; text-decoration: none; background: #fff; }
.lang-opt:hover { background: #f2f7f4; color: #0f3a2a; }
.lang-opt.is-on { background: #00553b; border-color: #00553b; color: #fff; }
.lang-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tr-note { font-size: .86rem; color: #5d6b64; margin: -.3rem 0 .9rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.tr-note i { color: #00553b; }
.tr-note a { font-weight: 600; }
/* Language selector above the headline */
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 .9rem; }
.lang-switch > i { color: #00553b; font-size: 1.1rem; margin-right: .15rem; }
.lang-opt { border: 1px solid #dfe7e2; border-radius: 99px; padding: .22rem .75rem; font-size: .88rem; font-weight: 600; color: #173a2c; text-decoration: none; background: #fff; }
.lang-opt:hover { background: #f2f7f4; color: #0f3a2a; }
.lang-opt.is-on { background: #00553b; border-color: #00553b; color: #fff; }
.lang-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tr-note { font-size: .86rem; color: #5d6b64; margin: -.3rem 0 .9rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.tr-note i { color: #00553b; }
.tr-note a { font-weight: 600; }
.sub-lang { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-basis: 100%; margin-top: .6rem; font-size: .9rem; }
.sub-lang .form-select { width: auto; }
.sub-lang-change { display: flex; align-items: center; gap: .45rem; margin-top: .45rem; font-size: .85rem; flex-wrap: wrap; }
.sub-lang-change .form-select { width: auto; padding-top: .15rem; padding-bottom: .15rem; }
.tr-note { display: block; line-height: 1.5; }
.tr-note i { margin-right: .3rem; }
.tr-note a { margin-left: .25rem; white-space: nowrap; }

/* Subscribe page: email box takes the full row; language picker on its own line below. */
.subscribe-form { flex-wrap: wrap; }
.subscribe-form > .input-icon { flex: 1 1 280px; min-width: 0; }
.subscribe-form > .input-icon .form-control { width: 100%; }
@media (max-width: 575.98px) { .subscribe-form > .input-icon { flex-basis: auto; } }

/* Flags on the article language switch */
.lang-opt { display: inline-flex; align-items: center; gap: .45rem; padding: .28rem .8rem .28rem .5rem; }
.lang-opt .flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.14); flex: none; }
.lang-opt.is-on .flag { box-shadow: 0 0 0 1px rgba(255,255,255,.7); }

/* Public Submission Guidelines page (2026-11-23) */
.guide-section { background: #f3f5f4; }
.guide-section .panel { border-radius: 14px; border-color: #e4e9e6; box-shadow: 0 1px 2px rgba(16, 40, 30, .04), 0 6px 20px rgba(16, 40, 30, .05); }
.guide-sub { font-family: var(--newsletter-serif); font-size: 1.15rem; font-weight: 750; color: #0f241d; margin: .5rem 0 .75rem; }
.guide-no-list li::before { content: "\F659"; color: #a23b2a; font-size: .9em; top: .1em; }
.guide-steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767.98px) { .guide-steps-6 { grid-template-columns: 1fr; } }

/* Submit form: requirements checklist (2026-11-23) */
.req-box { border: 1px solid #e1ebe5; background: #f6f9f7; border-radius: 12px; padding: 1.25rem 1.25rem .75rem; margin: 0 0 1.5rem; }
.req-box.is-invalid { border-color: #c0392b; }
.req-title { float: left; width: 100%; font-family: var(--newsletter-serif); font-size: 1.25rem; font-weight: 750; color: #0f241d; margin: 0 0 .35rem; padding: 0; }
.req-intro { clear: left; color: var(--ink-2); margin-bottom: 1rem; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.req-list li { display: flex; gap: .75rem; align-items: flex-start; background: #fff; border: 1px solid #e4e9e6; border-radius: 10px; padding: .75rem .9rem; }
.req-list .form-check-input { flex: none; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; cursor: pointer; }
.req-list label { cursor: pointer; color: var(--ink-2); line-height: 1.45; }
.req-list label strong { display: block; color: #0f241d; }
.req-list li:has(input:checked) { border-color: #9fd0b3; background: #f1f9f4; }
.req-submit-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.req-count { color: var(--ink-2); font-size: .95rem; }
.req-count.is-done { color: #1b7a43; font-weight: 600; }
.btn-green:disabled, .btn-green.disabled { background: var(--green); border-color: var(--green); color: #fff; opacity: .45; cursor: not-allowed; }

/* Admin review page: screening checklist + result (2026-11-23) */
.screen-panel .req-list { grid-template-columns: 1fr 1fr; }
.screen-list li label { flex: 1 1 0; min-width: 0; }
.screen-list li label > span:not(.screen-chip) { display: block; }
.screen-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }
.screen-list .screen-chip { margin-top: .45rem; }
.screen-chip-yes { background: #e3f3ea; color: #17633a; }
.screen-chip-no { background: #fdecea; color: #a12a1c; }
.screen-chip-none { background: #eef1f0; color: #4f5d56; }
.screen-panel .decision-row { max-width: 640px; }
.screen-result { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.screen-result li { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 10px; border: 1px solid #e4e9e6; background: #fff; }
.screen-result li i { font-size: 1.1rem; }
.screen-result li.is-met i { color: #1b7a43; }
.screen-result li.is-not-met { background: #fdf5f4; border-color: #f0cdc8; }
.screen-result li.is-not-met i { color: #b3261e; }
.screen-result li > span:not(.screen-chip) { flex: 1 1 auto; min-width: 0; }
.screen-result .screen-chip { margin-left: auto; flex: none; }
@media (max-width: 991.98px) { .screen-panel .req-list, .screen-result { grid-template-columns: 1fr; } }
.role-final { background: #efe7f8; color: #4f2a7a; }

/* Content Standards card (editor) + Final approval panel (Publish page), 2026-11-23 */
.cc-list { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .5rem; }
.cc-row { border: 1px solid #e4e9e6; border-radius: 10px; padding: .6rem .75rem; background: #fff; }
.cc-row.cc-fail { border-color: #f0c4c4; background: #fff8f8; }
.cc-row.cc-review, .cc-row.cc-outdated { border-color: #f0dfb0; }
.cc-row-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.cc-row-head strong { flex: 1 1 auto; font-size: .95rem; }
.cc-meta, .cc-summary { margin: .35rem 0 0; font-size: .85rem; color: var(--ink-2); }
.cc-summary { color: #24302b; }
.cc-details { margin-top: .4rem; font-size: .88rem; }
.cc-details summary { cursor: pointer; font-weight: 600; color: #24302b; }
.cc-terms { margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.cc-term { background: #fbf0d3; color: #6b4e05; border-radius: 6px; padding: .05rem .45rem; font-size: .82rem; }
.cc-term.is-high { background: #fbe4e4; color: #8e1d1d; }
.cc-issue { border-top: 1px solid #eef1ef; padding-top: .5rem; margin-top: .5rem; }
.cc-issue-head { margin: 0 0 .3rem; font-size: .82rem; color: var(--ink-2); }
.cc-quote { margin: 0 0 .3rem; padding: .35rem .6rem; background: #f6f8f7; border-radius: 6px; font-style: italic; color: #24302b; }
.cc-expl, .cc-sugg { margin: 0 0 .3rem; }
.cc-sugg { color: #145c32; }
.cc-note { font-size: .85rem; color: var(--ink-2); margin: .6rem 0 .4rem; }
.approval-panel.is-approved { background: #f3faf6; }
.approval-panel .panel-title i { color: #b07d06; }
.approval-panel.is-approved .panel-title i { color: #1b7a43; }
.approval-parts { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .35rem; }
.approval-parts li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .92rem; }
.approval-note { background: #fff; border: 1px solid #e4e9e6; border-radius: 8px; padding: .5rem .7rem; font-size: .9rem; }
.approval-form { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #e4e9e6; }
.role-initial { background: #e8f0fb; color: #1d4f91; }
.role-siteadmin { background: #efe7f8; color: #4f2a7a; }
.role-submitter { background: #eef1f0; color: #4f5d56; }

/* Media: Upload Many (2026-11-23) */
.bulk-pick { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.bulk-pick input:focus-visible + .btn, .bulk-pick label:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.bulk-progress { height: .5rem; background: #e6ece9; border-radius: 99px; overflow: hidden; margin-top: 1rem; }
.bulk-bar { height: 100%; width: 0; background: var(--green); transition: width .2s; }
.bulk-list { list-style: none; padding: 0; margin: .75rem 0 0; max-height: 18rem; overflow-y: auto; font-size: .875rem; }
.bulk-list li { display: flex; gap: .5rem; align-items: baseline; padding: .3rem 0; border-bottom: 1px solid #eef1ef; overflow-wrap: anywhere; }
.bulk-list .b-state { flex: 0 0 auto; min-width: 7.5rem; font-weight: 600; }
.bulk-list .b-ok { color: #1d6b3e; } .bulk-list .b-skip { color: #6b6f6d; } .bulk-list .b-err { color: #a11d2b; } .bulk-list .b-wait { color: #6b6f6d; font-weight: 400; }
.alt-note { background: #fbf0d3; color: #5d4505; border-radius: .5rem; padding: .6rem .9rem; font-size: .9rem; }
.alt-note a { color: inherit; font-weight: 600; }
.media-card .status-badge { display: inline-block; margin-bottom: .25rem; }

/* Listed authors (2026-11-23): one or more authors in the "About the author(s)" box */
.author-box > .author-eyebrow { margin-bottom: .75rem; }
.author-item + .author-item { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }

/* Submit form: Authors (2026-11-23) */
.authors-box { border: 1px solid var(--line); border-radius: .75rem; padding: 1rem 1.1rem; margin: 0; }
.authors-box.is-invalid { border-color: #dc3545; }
.authors-legend { float: left; width: 100%; font-weight: 600; margin-bottom: .25rem; }
.authors-legend + * { clear: both; }
.au-search { position: relative; margin-top: .5rem; }
.au-search > .bi-search { position: absolute; left: .8rem; top: .65rem; color: #6b6f6d; }
.au-search input { padding-left: 2.2rem; }
.au-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .25rem); list-style: none; margin: 0; padding: .3rem; background: #fff;
    border: 1px solid var(--line); border-radius: .6rem; box-shadow: 0 8px 24px rgba(0,0,0,.08); max-height: 18rem; overflow-y: auto; }
.au-result { display: flex; gap: .6rem; align-items: center; width: 100%; border: 0; background: none; text-align: left; padding: .45rem .5rem; border-radius: .4rem; }
.au-result:hover, .au-result:focus { background: #eef5f1; outline: none; }
.au-result small { display: block; color: #5f6663; overflow-wrap: anywhere; }
.au-none { padding: .5rem; color: #5f6663; font-size: .9rem; }
.au-add { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.au-list { list-style: none; padding: 0; margin: 0; }
.au-row { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem 0; border-top: 1px solid var(--line); }
.au-avatar { width: 48px; height: 48px; font-size: .95rem; flex: 0 0 48px; object-fit: cover; }
.au-fields { flex: 1 1 auto; min-width: 0; }
.au-name { display: block; }
.au-email { display: block; color: #5f6663; font-size: .9rem; overflow-wrap: anywhere; }
.au-photo-btn { display: inline-block; margin-top: .4rem; font-size: .85rem; color: var(--green); font-weight: 600; cursor: pointer; }
.au-photo-btn:focus-within { outline: 2px solid var(--green); outline-offset: 2px; border-radius: .25rem; }
.au-tools { display: flex; gap: .25rem; flex: 0 0 auto; }
@media (max-width: 575.98px) { .au-row { flex-wrap: wrap; } .au-tools { width: 100%; justify-content: flex-end; } }
.au-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.au-mini li { display: flex; gap: .6rem; align-items: center; }
.au-mini small { display: block; color: #5f6663; overflow-wrap: anywhere; }
.au-avatar-sm { width: 36px; height: 36px; font-size: .8rem; flex: 0 0 36px; object-fit: cover; }
/* Editor: Authors pop-up */
.au-manage { list-style: none; padding: 0; margin: 0; }
.au-mrow { padding: .75rem 0; border-top: 1px solid var(--line); }
.au-mrow:first-child { border-top: 0; padding-top: 0; }
.au-mhead { display: flex; gap: .8rem; align-items: center; }
.au-medit { margin-top: .5rem; margin-left: 3.6rem; }
.au-medit summary { color: var(--green); font-weight: 600; font-size: .875rem; cursor: pointer; }
@media (max-width: 575.98px) { .au-mhead { flex-wrap: wrap; } .au-medit { margin-left: 0; } }
