/* =========================================================================
   VFD CMS
   Design system: turnout-gear charcoal, engine red, hi-vis reflective accent.
   ========================================================================= */

:root {
    --ink:        #14161a;
    --ink-soft:   #23262d;
    --engine:     #c1272d;
    --engine-dk:  #8f1a1f;
    --hivis:      #d6e23c;
    --surface:    #f4f3ef;
    --card:       #ffffff;
    --muted:      #6b6e76;
    --line:       #e3e1da;
    --line-ink:   #34383f;

    --wrap: 1120px;
    --radius: 4px;

    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: 'Barlow', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }
a { color: var(--engine); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 2px; }

/* ---- Header / nav ------------------------------------------------------- */
.site-header { background: var(--ink); color: #fff; border-bottom: 4px solid var(--engine); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 78px; position: relative; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.brand__cross { color: var(--engine); display: flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; }
.brand__logo { display:block; width:38px; height:38px; max-width:38px; max-height:38px; object-fit:contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; text-transform: uppercase; }
.brand__station { font-size: .74rem; color: #b9bcc4; letter-spacing: .04em; text-transform: uppercase; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.site-nav a { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.02rem; font-weight: 600; color: #d6d8dd; text-decoration: none; padding: .5rem .7rem; border-radius: var(--radius); }
.site-nav a:hover { color: #fff; background: var(--ink-soft); }
.site-nav a[aria-current="page"] { color: var(--hivis); }
.site-nav__donate { background: var(--engine); color: #fff !important; margin-left: .35rem; }
.site-nav__donate:hover { background: var(--engine-dk); }
.nav-toggle, .nav-toggle__btn { display: none; }

/* ---- Buttons ------------------------------------------------------------ */
.btn { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: 1.05rem; padding: .6rem 1.2rem; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn--hivis { background: var(--hivis); color: var(--ink); }
.btn--hivis:hover { background: #c6d235; }

/* ---- Page hero ---------------------------------------------------------- */
.page-hero { background: var(--ink); color: #fff; padding: 3.2rem 0 3rem; }
.page-hero__eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; color: var(--hivis); margin: 0 0 .5rem; display: inline-flex; align-items: center; gap: .6rem; }
.page-hero__eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--hivis); }
.page-hero h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4rem); line-height: .98; margin: 0; letter-spacing: .005em; }
.page-hero p { max-width: 60ch; color: #c3c6cd; margin: 1rem 0 0; font-size: 1.08rem; }

.stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--hivis) 0 16px, var(--ink) 16px 32px); }

/* ---- Roster sections ---------------------------------------------------- */
.roster { padding: 3rem 0 1rem; }

.section-head { display: flex; align-items: baseline; gap: 1rem; margin: 2.6rem 0 1.2rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; }
.section-head:first-of-type { margin-top: 0; }
.section-head h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-size: 1.9rem; font-weight: 700; margin: 0; line-height: 1; }
.section-head .count { font-family: var(--display); font-weight: 600; color: var(--muted); font-size: 1.05rem; margin-left: auto; }

.officers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; }
.officer { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--engine); border-radius: var(--radius); padding: .9rem 1rem; }
.officer__rank { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; color: var(--engine-dk); font-size: .92rem; }
.officer__name { font-size: 1.28rem; font-weight: 600; line-height: 1.15; margin-top: .1rem; }
.officer__tags { margin-top: .5rem; display: flex; gap: .35rem; flex-wrap: wrap; }

.tag { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; font-weight: 600; padding: .12rem .5rem; border-radius: 2px; background: var(--ink); color: var(--hivis); }
.tag--role { background: #ecebe4; color: var(--ink-soft); }
.tag--jr   { background: var(--engine); color: #fff; }

.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .55rem; }
.crew__member { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.crew__member .name { font-weight: 500; }
.crew__member .tags { display: flex; gap: .3rem; flex-shrink: 0; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem 2.5rem; }
.namelist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.namelist li { padding: .3rem 0; border-bottom: 1px dotted var(--line); break-inside: avoid; }

.memorial { background: var(--ink); color: #e7e8ea; border-radius: var(--radius); padding: 2.2rem clamp(1.2rem, 4vw, 3rem); margin: 1rem 0 2rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
.memorial h2 { color: #fff; }
.memorial .section-head { border-color: var(--line-ink); }
.prayer { font-style: italic; color: #c9cbd0; line-height: 1.75; }
.prayer p { margin: 0; }
.prayer .attr { font-style: normal; color: var(--muted); margin-top: .8rem; font-size: .9rem; }
.memorial .crew__member { background: var(--ink-soft); border-color: var(--line-ink); color: #e7e8ea; }

/* ---- Notice / empty / prose -------------------------------------------- */
.notice { border: 1px solid var(--engine); border-left: 5px solid var(--engine); background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.notice h2 { font-family: var(--display); text-transform: uppercase; margin: 0 0 .3rem; font-size: 1.3rem; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c8cad0; margin-top: 3rem; border-top: 4px solid var(--engine); }
.site-footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; padding: 2.5rem 0; }
.site-footer__heading { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--hivis); font-size: 1.15rem; margin: 0 0 .7rem; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--line-ink); font-size: .85rem; }

/* ---- Installer ---------------------------------------------------------- */
.install { max-width: 640px; margin: 3rem auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.install h1 { font-family: var(--display); text-transform: uppercase; }
.install code { background: #f0efe9; padding: .1rem .35rem; border-radius: 3px; }
.install .ok { color: #1d7a3a; } .install .err { color: var(--engine-dk); }
.install ul { line-height: 1.8; }

/* ---- Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .officer, .crew__member { animation: rise .4s ease both; }
    @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 760px) {
    .memorial { grid-template-columns: 1fr; }
    .namelist { columns: 1; }
    .nav-toggle__btn { display: flex; flex-direction: column; gap: 5px; margin-left: auto; width: 40px; height: 34px; justify-content: center; cursor: pointer; }
    .nav-toggle__btn span { height: 3px; background: #fff; border-radius: 2px; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-soft); padding: .5rem; margin: 0; z-index: 50; border-bottom: 4px solid var(--engine); }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .site-nav a { padding: .8rem; }
    .site-nav__donate { margin: .4rem 0 0; text-align: center; }
}

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-bar { background: var(--ink); color: #fff; border-bottom: 4px solid var(--engine); }
.admin-bar__inner { display: flex; align-items: center; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.admin-bar__brand { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: 1.2rem; color: #fff; text-decoration: none; }
.admin-bar__nav { margin-left: auto; display: flex; gap: .3rem; flex-wrap: wrap; align-items: center; }
.admin-bar__nav a { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; color: #d6d8dd; text-decoration: none; padding: .4rem .7rem; border-radius: var(--radius); }
.admin-bar__nav a:hover { color: #fff; background: var(--ink-soft); }
.admin-bar__user { color: var(--hivis) !important; }

.admin-main { padding: 2rem 0 3rem; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.admin-head h1, .admin-card h1 { font-family: var(--display); text-transform: uppercase; font-size: 2rem; margin: 0; }

.admin-section { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-size: 1.4rem; margin: 2rem 0 .6rem; border-bottom: 2px solid var(--ink); padding-bottom: .3rem; }
.admin-section span { color: var(--muted); font-size: 1rem; margin-left: .3rem; }
.admin-empty { color: var(--muted); }
.admin-note { color: var(--muted); font-size: .9rem; margin-top: 2rem; max-width: 70ch; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table tr { border-bottom: 1px solid var(--line); }
.admin-table td { padding: .55rem .5rem; vertical-align: middle; }
.admin-table__name { font-weight: 600; }
.admin-table__meta { color: var(--muted); font-size: .9rem; }
.admin-table__actions { text-align: right; white-space: nowrap; display: flex; gap: 1rem; justify-content: flex-end; align-items: center; }
.admin-table__actions form { display: inline; margin: 0; }
.link-danger { background: none; border: none; color: var(--engine); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; max-width: 640px; }
.admin-card--narrow { max-width: 380px; margin: 3rem auto; }
.admin-card label, .install label { display: block; margin: 0 0 1rem; font-weight: 600; }
.admin-card input[type=text], .admin-card input[type=password], .admin-card input[type=number],
.admin-card select, .install input { display: block; width: 100%; margin-top: .3rem; padding: .55rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.admin-card small, .install small { font-weight: 400; color: var(--muted); }
.admin-card .radio { font-weight: 400; display: flex; align-items: center; gap: .5rem; margin: .3rem 0; }
.admin-card .radio input { width: auto; margin: 0; }
.typeset { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; margin: 0 0 1rem; }
.typeset legend { font-weight: 600; padding: 0 .4rem; }
.depends { border-left: 3px solid var(--line); padding-left: 1rem; margin: 0 0 1rem; }
.form-actions { display: flex; align-items: center; gap: 1rem; }
.btn-link { color: var(--engine); text-decoration: underline; }

.form-error { background: #fff; border: 1px solid var(--engine); border-left: 5px solid var(--engine); color: var(--engine-dk); border-radius: var(--radius); padding: .8rem 1rem; margin: 0 0 1rem; }
.form-error p { margin: .2rem 0; }
.flash { background: #eef6e6; border: 1px solid #97c459; border-left: 5px solid #639922; color: #27500a; border-radius: var(--radius); padding: .7rem 1rem; margin: 0 0 1rem; }

.admin-foot { color: var(--muted); font-size: .85rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }

/* ---- Enhanced admin ----------------------------------------------------- */
.admin-shell { background: #f4f5f7; }
.admin-top { background: linear-gradient(135deg, var(--ink), #272b34); color:#fff; border-bottom:4px solid var(--engine); box-shadow:0 8px 22px rgba(0,0,0,.18); }
.admin-top__inner { min-height:68px; display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.admin-top__brand { color:#fff; text-decoration:none; font-family:var(--display); font-size:1.45rem; text-transform:uppercase; letter-spacing:.05em; }
.admin-top__view, .admin-top__logout { color:#fff; text-decoration:none; padding:.45rem .7rem; border:1px solid rgba(255,255,255,.18); border-radius:999px; }
.admin-top__view { margin-left:auto; }
.admin-top__logout { color:var(--hivis); }
.admin-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:1.5rem; padding-top:1.5rem; }
.admin-side { background:#fff; border:1px solid var(--line); border-radius:18px; padding:.7rem; align-self:start; position:sticky; top:1rem; box-shadow:0 10px 25px rgba(20,22,26,.06); }
.admin-side nav { display:grid; gap:.25rem; }
.admin-side a { color:var(--ink); text-decoration:none; font-weight:700; padding:.75rem .9rem; border-radius:12px; }
.admin-side a:hover { background:#f2f3f5; color:var(--engine); }
.admin-hero { background:linear-gradient(135deg,#fff,#f7f2ee); border:1px solid var(--line); border-left:7px solid var(--engine); border-radius:22px; padding:1.6rem; margin-bottom:1.2rem; box-shadow:0 12px 28px rgba(20,22,26,.07); }
.admin-hero p,.kicker { margin:0 0 .25rem; font-family:var(--display); text-transform:uppercase; color:var(--engine); font-weight:700; letter-spacing:.06em; }
.admin-hero h1 { margin:0; font-family:var(--display); text-transform:uppercase; font-size:2.6rem; }
.admin-hero span { color:var(--muted); }
.admin-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin:1rem 0 1.4rem; }
.stat-card,.admin-tile { background:#fff; border:1px solid var(--line); border-radius:18px; padding:1rem; text-decoration:none; color:var(--ink); box-shadow:0 10px 25px rgba(20,22,26,.06); }
.stat-card strong { display:block; font-family:var(--display); font-size:2.4rem; color:var(--engine); }
.stat-card span,.admin-tile span { color:var(--muted); }
.admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.admin-tile b { display:block; font-family:var(--display); text-transform:uppercase; font-size:1.35rem; margin-bottom:.25rem; }
.admin-card--wide { max-width: 920px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.form-grid label { margin:0; }
.span-2 { grid-column:1 / -1; }
.admin-card textarea { display:block; width:100%; margin-top:.3rem; padding:.55rem .6rem; border:1px solid var(--line); border-radius:var(--radius); font:inherit; background:#fff; }
.admin-table { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 10px 25px rgba(20,22,26,.05); }
.admin-section { margin-top:1.4rem; }
.apparatus-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.2rem; }
.apparatus-card,.news-card { background:var(--card); border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:0 8px 22px rgba(20,22,26,.06); }
.apparatus-card img { width:100%; height:190px; object-fit:cover; display:block; }
.apparatus-card div,.news-card { padding:1rem; }
.apparatus-card h3,.news-card h3 { font-family:var(--display); text-transform:uppercase; margin:.15rem 0 .35rem; font-size:1.45rem; }
.news-list { display:grid; gap:1rem; }
.news-card time { color:var(--engine); font-weight:700; font-family:var(--display); text-transform:uppercase; }
@media (max-width: 860px) { .admin-layout { grid-template-columns:1fr; } .admin-side { position:static; } .admin-stats,.admin-grid,.form-grid { grid-template-columns:1fr; } .admin-top__view { margin-left:0; } }

.footer-social { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:.8rem; }
.footer-social a { color:var(--hivis); font-weight:700; }
.btn:not(.btn--hivis) { border-color:rgba(255,255,255,.45); color:#fff; margin-left:.5rem; }
.prose p + p { margin-top:1rem; }

.call-totals-list{display:grid;gap:.35rem;margin:.35rem 0 1rem}.call-totals-list div{white-space:nowrap}.admin-subsection{border-top:1px solid rgba(255,255,255,.12);padding-top:1rem;margin-top:.5rem}.admin-subsection h2{margin:0 0 .25rem}.admin-subsection p{margin:.15rem 0 0;color:var(--muted)}

.admin-image-preview{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:.8rem}.admin-image-preview span{display:block;font-weight:800;margin-bottom:.5rem}.admin-image-preview img{max-width:340px;width:100%;height:auto;border-radius:12px;display:block}.apparatus-card__placeholder{height:190px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(127,29,29,.12),rgba(20,22,26,.08));font-family:var(--display);font-weight:900;color:var(--engine);text-transform:uppercase;letter-spacing:.04em}


/* === Homepage rebuild fix ================================================= */
.station-hero{position:relative;min-height:calc(100vh - 78px);display:flex;align-items:center;color:#fff;background:var(--ink);overflow:hidden;border-bottom:6px solid var(--engine)}
.station-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(20,22,26,.94) 0%,rgba(20,22,26,.72) 45%,rgba(20,22,26,.24) 100%),var(--hero-image);background-size:cover;background-position:center;transform:scale(1.02)}
.station-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:18px;background:repeating-linear-gradient(-45deg,var(--hivis) 0 22px,var(--ink) 22px 44px)}
.station-hero__grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.1fr) 380px;gap:3rem;align-items:center;padding:5rem 0 6rem}.eyebrow,.kicker{font-family:var(--display);text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:var(--hivis);font-size:.9rem}.eyebrow span{display:inline-block;width:48px;height:4px;background:var(--hivis);margin-right:.75rem;vertical-align:middle}.station-hero h1{font-family:var(--display);font-size:clamp(4rem,9vw,8rem);line-height:.86;text-transform:uppercase;margin:.35rem 0 1.2rem;max-width:780px;letter-spacing:-.02em}.station-hero__lead{font-size:1.25rem;max-width:620px;color:#e6e8ed;margin-bottom:1.5rem}.hero-actions{display:flex;gap:.9rem;flex-wrap:wrap}.btn--ghost{border-color:rgba(255,255,255,.55)!important;color:#fff!important;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.btn--ghost:hover{background:rgba(255,255,255,.16)}.hero-panel{background:rgba(20,22,26,.72);border:1px solid rgba(255,255,255,.16);box-shadow:0 24px 80px rgba(0,0,0,.35);backdrop-filter:blur(16px);border-radius:24px;padding:1.4rem;display:grid;gap:1rem}.hero-panel__station{font-family:var(--display);font-size:5rem;font-weight:800;line-height:.85;color:var(--hivis)}.hero-panel strong{display:block;font-size:1.25rem;text-transform:uppercase}.hero-panel span{color:#c7cad1}.hero-panel__line{height:1px;background:rgba(255,255,255,.18)}.hero-panel__stat{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:.65rem}.hero-panel__stat b{font-family:var(--display);font-size:2.25rem;color:#fff}.hero-panel__stat span{text-align:right;text-transform:uppercase;font-size:.85rem;letter-spacing:.08em;color:var(--hivis)}
.impact-strip{background:var(--engine);color:#fff}.impact-strip__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.18)}.impact-strip__grid>div{background:var(--engine);padding:1.2rem 1rem;text-align:center}.impact-strip strong{display:block;font-family:var(--display);font-size:2.4rem;line-height:1;color:var(--hivis)}.impact-strip span{font-family:var(--display);text-transform:uppercase;letter-spacing:.08em;font-weight:700}.home-section{padding:5rem 0}.split-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center}.split-grid--reverse{grid-template-columns:.95fr 1.05fr}.section-copy h2,.section-head h2,.join-band h2{font-family:var(--display);font-size:clamp(2.6rem,5vw,4.6rem);line-height:.9;text-transform:uppercase;margin:.25rem 0 1rem}.section-copy p{font-size:1.1rem}.feature-card{border-radius:28px;padding:2rem;background:var(--ink);color:#fff;box-shadow:0 24px 60px rgba(20,22,26,.18);position:relative;overflow:hidden}.feature-card:before{content:"VFD";position:absolute;right:-.2rem;bottom:-1.8rem;font-family:var(--display);font-size:10rem;font-weight:900;color:rgba(255,255,255,.05)}.feature-card h3{font-family:var(--display);font-size:2.2rem;text-transform:uppercase;margin:0 0 1rem;color:var(--hivis)}.feature-card p{font-size:1.2rem;margin:.45rem 0}.feature-card a{color:#fff;font-weight:800}.apparatus-showcase{background:var(--ink);color:#fff}.section-head{border-bottom:0}.section-head--light h2,.apparatus-showcase .kicker{color:#fff}.section-head a{font-family:var(--display);font-weight:800;text-transform:uppercase;margin-left:auto}.apparatus-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.apparatus-feature{background:#fff;color:var(--ink);border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.25)}.apparatus-feature img{width:100%;height:230px;object-fit:cover;display:block}.apparatus-feature__body{padding:1.1rem}.apparatus-feature__body span{font-family:var(--display);color:var(--engine);text-transform:uppercase;font-weight:800}.apparatus-feature__body h3{font-family:var(--display);font-size:2rem;text-transform:uppercase;margin:.1rem 0 .4rem}.terrain-card{display:flex;gap:.7rem;flex-wrap:wrap;background:linear-gradient(135deg,#1b1e24,#0f1115);padding:2rem;border-radius:28px;box-shadow:0 24px 60px rgba(20,22,26,.2)}.terrain-card span{background:rgba(214,226,60,.12);border:1px solid rgba(214,226,60,.35);color:#fff;border-radius:999px;padding:.55rem .8rem;font-weight:800}.news-dock{background:#fff}.news-dock__grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:1rem}.news-tile{border:1px solid var(--line);border-radius:20px;padding:1.15rem;background:var(--surface)}.news-tile--featured{grid-row:span 2;background:var(--ink);color:#fff}.news-tile time{font-family:var(--display);color:var(--engine);font-weight:800;text-transform:uppercase}.news-tile--featured time{color:var(--hivis)}.news-tile h3{font-family:var(--display);font-size:1.8rem;text-transform:uppercase;margin:.2rem 0}.join-band{background:linear-gradient(135deg,var(--engine),var(--engine-dk));color:#fff;padding:4rem 0}.join-band__inner{display:flex;align-items:center;justify-content:space-between;gap:2rem}.join-band p{max-width:680px;color:#fff}.join-band .kicker{color:var(--hivis)}
@media (max-width:900px){.station-hero__grid,.split-grid,.split-grid--reverse{grid-template-columns:1fr}.hero-panel{max-width:520px}.impact-strip__grid{grid-template-columns:repeat(2,1fr)}.news-dock__grid{grid-template-columns:1fr}.join-band__inner{display:block}.station-hero h1{font-size:4.2rem}.site-nav{display:none;position:absolute;left:4%;right:4%;top:78px;background:var(--ink);padding:1rem;border-radius:0 0 16px 16px}.nav-toggle__btn{display:grid;margin-left:auto;gap:5px}.nav-toggle__btn span{display:block;width:28px;height:3px;background:#fff}.nav-toggle:checked~.site-nav{display:grid}.site-nav a{display:block}.site-nav__donate{margin-left:0}}@media (max-width:560px){.impact-strip__grid{grid-template-columns:1fr}.station-hero{min-height:calc(100vh - 74px)}.station-hero__grid{padding:3.5rem 0 5rem}.station-hero h1{font-size:3.2rem}.hero-panel__stat{display:block}.hero-panel__stat span{text-align:left;display:block}.home-section{padding:3rem 0}.brand__name{font-size:1.2rem}.brand__station{font-size:.65rem}}
/* roster empty states */
.officers:empty::after,.crew:empty::after,.namelist:empty::after{content:"No members have been added yet.";color:var(--muted);font-style:italic}.memorial .crew:empty::after{color:#b7b9bf}


/* ==========================================================================
   VFD CMS product admin layout
   ========================================================================== */
.cms-shell{--cms-bg:#f3f4f6;--cms-sidebar:#11151b;--cms-panel:#fff;--cms-text:#101318;--cms-muted:#667085;--cms-line:#d9dee7;--cms-red:#c6202f;--cms-lime:#d9ef22;background:var(--cms-bg);}
.cms-topbar{height:66px;background:#0e1116;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:4px solid var(--cms-red);position:sticky;top:0;z-index:30;box-shadow:0 8px 24px rgba(0,0,0,.16)}
.cms-topbar__brand a{font-family:var(--display);font-size:1.6rem;text-transform:uppercase;letter-spacing:.04em;color:#fff;text-decoration:none}.cms-topbar__brand span{color:var(--cms-lime)}.cms-topbar__actions{display:flex;gap:10px;align-items:center}.cms-topbar__actions a{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 12px;font-weight:700}.cms-layout{display:grid;grid-template-columns:286px minmax(0,1fr);min-height:calc(100vh - 66px)}.cms-sidebar{background:var(--cms-sidebar);color:#fff;padding:22px 16px;position:sticky;top:66px;height:calc(100vh - 66px);overflow:auto}.cms-side-title{font-family:var(--display);text-transform:uppercase;letter-spacing:.12em;color:#98a2b3;font-size:.9rem;margin:0 10px 18px}.cms-nav{display:grid;gap:3px}.cms-nav a{color:#e8ecf3;text-decoration:none;font-weight:800;border-radius:12px;padding:10px 12px;display:block}.cms-nav a:hover,.cms-nav a.is-active{background:#252b35;color:#fff}.cms-nav a.is-active{box-shadow:inset 4px 0 0 var(--cms-lime)}.cms-nav__label{font-family:var(--display);text-transform:uppercase;letter-spacing:.12em;color:#98a2b3;font-size:.78rem;margin:18px 12px 6px}.cms-main{padding:28px;max-width:1260px;width:100%;}.cms-main--login{margin:0 auto}.cms-footer{padding:18px 28px;color:#667085;font-size:.9rem;border-top:1px solid var(--cms-line);margin-left:286px;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.cms-version{font-weight:800;color:#344054}.cms-page-head,.cms-dashboard-hero{background:linear-gradient(135deg,#fff,#fbfbfc);border:1px solid var(--cms-line);border-radius:24px;padding:28px 32px;margin-bottom:22px;box-shadow:0 14px 35px rgba(16,19,24,.06)}.cms-page-head p,.cms-dashboard-hero p{font-family:var(--display);text-transform:uppercase;letter-spacing:.12em;color:var(--cms-red);font-weight:800;margin:0 0 8px}.cms-page-head h1,.cms-dashboard-hero h1{font-family:var(--display);font-size:3rem;line-height:1;text-transform:uppercase;margin:0 0 10px}.cms-page-head span,.cms-dashboard-hero span{color:var(--cms-muted);font-size:1.05rem}.cms-dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:20px}.cms-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.cms-metrics a{background:#fff;border:1px solid var(--cms-line);border-radius:22px;padding:22px;text-decoration:none;color:var(--cms-text);box-shadow:0 12px 30px rgba(16,19,24,.05)}.cms-metrics strong{display:block;font-family:var(--display);font-size:3.2rem;color:var(--cms-red);line-height:.9}.cms-metrics span{font-weight:800;color:#344054}.cms-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cms-module-grid a{background:#fff;border:1px solid var(--cms-line);border-radius:22px;padding:24px;text-decoration:none;color:var(--cms-text);box-shadow:0 12px 30px rgba(16,19,24,.05)}.cms-module-grid b{display:block;font-family:var(--display);font-size:1.7rem;text-transform:uppercase;margin-bottom:7px}.cms-module-grid span{color:var(--cms-muted)}.cms-panel{background:#fff;border:1px solid var(--cms-line);border-radius:24px;padding:26px;margin-bottom:18px;box-shadow:0 12px 30px rgba(16,19,24,.05)}.cms-panel__head{border-bottom:1px solid var(--cms-line);padding-bottom:16px;margin-bottom:20px}.cms-panel__head h2{font-family:var(--display);font-size:2rem;text-transform:uppercase;margin:0 0 4px}.cms-panel__head p{color:var(--cms-muted);margin:0}.cms-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cms-panel label,.cms-builder label{font-weight:800;display:block;margin:0 0 16px}.cms-panel small{display:block;color:var(--cms-muted);font-weight:500;margin:3px 0}.cms-panel input[type=text],.cms-panel input[type=password],.cms-panel input[type=number],.cms-panel input[type=file],.cms-panel select,.cms-panel textarea,.cms-builder input[type=text],.cms-builder input[type=number],.cms-builder input[type=file],.cms-builder textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--cms-line);border-radius:12px;padding:12px 14px;background:#fff;font:inherit}.cms-panel textarea,.cms-builder textarea{min-height:120px}.span-2{grid-column:1/-1}.cms-sticky-save{position:sticky;bottom:0;background:rgba(243,244,246,.92);backdrop-filter:blur(10px);border-top:1px solid var(--cms-line);padding:16px 0;display:flex;justify-content:flex-end;gap:12px;z-index:10}.btn--ghost{background:#fff!important;color:#101318!important;border:1px solid var(--cms-line)!important}.cms-builder{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.cms-builder__nav{background:#fff;border:1px solid var(--cms-line);border-radius:20px;padding:10px;position:sticky;top:88px;display:grid;gap:5px}.cms-builder__nav a{text-decoration:none;color:#101318;font-weight:800;border-radius:12px;padding:11px 12px}.cms-builder__nav a:hover{background:#f2f4f7}.cms-builder__content{min-width:0}.cms-image-preview img{width:100%;max-height:300px;object-fit:cover;border-radius:18px;border:1px solid var(--cms-line)}.cms-stat-editor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.cms-stat-edit{border:1px solid var(--cms-line);border-radius:18px;padding:16px;background:#fbfbfc}.cms-stat-edit strong{font-family:var(--display);text-transform:uppercase;font-size:1.35rem}.cms-upload{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.cms-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.cms-media-grid figure{margin:0;border:1px solid var(--cms-line);border-radius:18px;overflow:hidden;background:#fbfbfc}.cms-media-grid img{width:100%;height:150px;object-fit:cover;display:block}.cms-media-grid figcaption{padding:10px}.cms-media-grid input{font-size:.78rem}.admin-side,.admin-top{display:none!important}.admin-layout{display:block!important;padding:0!important}.admin-main{padding:0!important}.admin-card{max-width:none}.form-grid{gap:18px}.form-grid label{margin-bottom:0}@media(max-width:1050px){.cms-layout{grid-template-columns:1fr}.cms-sidebar{position:static;height:auto}.cms-footer{margin-left:0}.cms-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-nav__label{grid-column:1/-1}.cms-builder{grid-template-columns:1fr}.cms-builder__nav{position:static;grid-template-columns:repeat(5,minmax(0,1fr))}.cms-metrics,.cms-stat-editor,.cms-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.cms-topbar{height:auto;min-height:66px;flex-wrap:wrap;padding:12px 16px}.cms-layout{min-height:auto}.cms-main{padding:18px}.cms-nav,.cms-builder__nav,.cms-metrics,.cms-stat-editor,.cms-module-grid,.cms-form-grid{grid-template-columns:1fr}.cms-page-head h1,.cms-dashboard-hero h1{font-size:2.3rem}.cms-dashboard-hero{display:block}.cms-footer{padding:18px}}


/* Branding module */
.brand-upload-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:24px;align-items:start}.cms-help-card{background:#f8fafc;border:1px solid var(--cms-line);border-radius:18px;padding:16px;color:#344054}.cms-help-card strong{display:block;margin-bottom:8px}.cms-help-card ul{margin:8px 0 0 20px;padding:0;color:#667085}.cms-help-card p{margin:.35rem 0 0;color:#667085}.brand-preview-box{background:#101318;color:#fff;border-radius:20px;padding:18px}.brand-preview-box>span{display:block;font-family:var(--display);letter-spacing:.12em;text-transform:uppercase;color:var(--cms-lime);margin-bottom:14px}.brand-preview-header{display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px;background:#151a22}.brand-preview-header img{width:48px;height:48px;max-width:48px;max-height:48px;object-fit:contain}.brand-preview-placeholder{width:48px;height:48px;border-radius:12px;background:var(--cms-red);display:grid;place-items:center;font-family:var(--display);font-weight:800}.brand-preview-header b{font-family:var(--display);font-size:1.35rem;text-transform:uppercase;display:block;line-height:1}.brand-preview-header small{display:block;color:#cbd5e1;text-transform:uppercase;letter-spacing:.04em}.brand-generated-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.brand-generated-grid figure{margin:0;border:1px solid var(--cms-line);border-radius:18px;overflow:hidden;background:#fbfbfc}.brand-generated-grid figure>div{height:170px;display:grid;place-items:center;background:#101318;background-image:linear-gradient(45deg,rgba(255,255,255,.06) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.06) 75%),linear-gradient(45deg,rgba(255,255,255,.06) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.06) 75%);background-position:0 0,12px 12px;background-size:24px 24px}.brand-generated-grid img{max-width:140px;max-height:140px;object-fit:contain}.brand-generated-grid figcaption{padding:12px;font-weight:800}.brand-generated-grid input{margin-top:8px;width:100%;border:1px solid var(--cms-line);border-radius:10px;padding:9px;font:inherit;font-size:.85rem}@media(max-width:900px){.brand-upload-layout,.brand-generated-grid{grid-template-columns:1fr}}

/* News & incidents content manager */
.cms-page-head--split{display:flex;align-items:center;justify-content:space-between;gap:22px}.content-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.content-stat{background:#fff;border:1px solid var(--cms-line);border-radius:20px;padding:18px 20px;color:var(--cms-text);text-decoration:none;box-shadow:0 12px 30px rgba(16,19,24,.05)}.content-stat strong{display:block;font-family:var(--display);font-size:2.5rem;line-height:.9;color:var(--cms-red)}.content-stat span{display:block;margin-top:6px;font-weight:900}.content-stat.is-active{box-shadow:inset 0 0 0 3px var(--cms-lime),0 12px 30px rgba(16,19,24,.05)}.content-toolbar{padding:18px 20px}.content-filter{display:grid;grid-template-columns:minmax(260px,1fr) 180px 180px auto auto;gap:14px;align-items:end}.content-filter label{margin:0}.content-list{display:grid;gap:14px}.content-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--cms-line);border-radius:22px;padding:16px;box-shadow:0 12px 30px rgba(16,19,24,.05)}.content-row__media{width:112px;height:86px;background:#11151b;border-radius:16px;overflow:hidden;display:grid;place-items:center;color:var(--cms-lime);font-family:var(--display);font-size:2.2rem}.content-row__media img{width:100%;height:100%;object-fit:cover;display:block}.content-row__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--cms-muted);font-size:.92rem}.content-row h2{font-family:var(--display);text-transform:uppercase;font-size:1.55rem;margin:7px 0 4px;line-height:1}.content-row p{color:#475467;margin:0;max-width:80ch}.content-row__actions{display:flex;align-items:center;gap:12px}.content-row__actions form{margin:0}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-weight:900;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;background:#eef2f6;color:#344054}.pill--incident{background:#fee4e2;color:#b42318}.pill--news{background:#e0f2fe;color:#026aa2}.pill--event{background:#ecfdf3;color:#027a48}.pill--announcement{background:#fef3c7;color:#92400e}.pill--featured{background:var(--cms-lime);color:#101318}.pill--draft{background:#f2f4f7;color:#667085}.empty-state h2{font-family:var(--display);text-transform:uppercase;font-size:2rem;margin:0 0 8px}.content-editor{max-width:1060px}.content-image-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px}.content-image-preview{border:1px dashed var(--cms-line);border-radius:18px;background:#f8fafc;min-height:220px;display:grid;place-items:center;color:var(--cms-muted);font-weight:800;overflow:hidden}.content-image-preview img{width:100%;height:100%;object-fit:cover;display:block}@media(max-width:900px){.cms-page-head--split{display:block}.content-stats,.content-filter,.content-row,.content-image-layout{grid-template-columns:1fr}.content-row__media{width:100%;height:170px}.content-row__actions{justify-content:flex-start}}
.news-list--enhanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}.news-card--enhanced{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:0 14px 35px rgba(16,19,24,.08)}.news-card__image{width:100%;height:220px;object-fit:cover;display:block}.news-card__content{padding:20px}.news-card--enhanced h3{font-family:var(--display);text-transform:uppercase;font-size:1.6rem;margin:.5rem 0}.news-card--enhanced p{margin:.6rem 0 0;line-height:1.65}

/* News & Incidents CMS polish */
.news-hero{overflow:hidden;position:relative}.news-hero:after{content:"";position:absolute;right:-70px;top:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(217,239,34,.28),rgba(217,239,34,0) 65%);pointer-events:none}.content-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.content-tabs a{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--cms-line);border-radius:999px;padding:10px 15px;color:#11151b;text-decoration:none;font-weight:900;box-shadow:0 10px 22px rgba(16,19,24,.04)}.content-tabs a strong{font-family:var(--display);font-size:1.25rem;color:var(--cms-red);line-height:1}.content-tabs a.is-active{background:#11151b;color:#fff;border-color:#11151b;box-shadow:inset 0 -4px 0 var(--cms-lime),0 10px 22px rgba(16,19,24,.08)}.content-toolbar--compact{padding:16px}.content-filter--compact{display:grid;grid-template-columns:minmax(260px,1.4fr) 160px 165px 155px auto auto;gap:12px;align-items:end}.content-filter__search input{min-width:0}.content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:18px;align-items:start}.content-card{background:#fff;border:1px solid var(--cms-line);border-radius:24px;box-shadow:0 12px 30px rgba(16,19,24,.06);overflow:hidden;display:flex;flex-direction:column;min-height:100%}.content-card__media{height:178px;background:#11151b;position:relative;display:grid;place-items:center;color:var(--cms-lime);font-family:var(--display);font-size:4rem;overflow:hidden}.content-card__media img{width:100%;height:100%;object-fit:cover;display:block}.content-card__badges{position:absolute;left:12px;right:12px;bottom:12px;display:flex;gap:6px;flex-wrap:wrap}.content-card__body{padding:18px 18px 14px;flex:1}.content-card__meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--cms-muted);font-size:.9rem;margin-bottom:8px}.content-card__meta span:before{content:"•";margin-right:8px;color:#98a2b3}.content-card h2{font-family:var(--display);font-size:1.8rem;line-height:1;text-transform:uppercase;margin:0 0 9px}.content-card p{color:#475467;line-height:1.55;margin:0}.content-card__actions{border-top:1px solid var(--cms-line);padding:12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#fbfcfd}.content-card__actions form{margin:0}.btn-mini{border:1px solid var(--cms-line);background:#fff;border-radius:10px;padding:9px 10px;font-weight:900;font:inherit;font-size:.9rem;cursor:pointer}.btn-mini:hover{border-color:#11151b}.pill--published{background:#dcfae6;color:#067647}.news-empty{text-align:center;padding:46px}.incident-fields{border-left:5px solid var(--cms-red)}.incident-check{display:flex!important;gap:10px;align-items:center;align-self:end;border:1px solid var(--cms-line);border-radius:14px;padding:13px 14px;margin:0 0 16px!important;background:#fbfcfd}.incident-check input{width:auto!important;margin:0!important}.content-editor .cms-panel{scroll-margin-top:90px}@media(max-width:1180px){.content-filter--compact{grid-template-columns:1fr 1fr 1fr}.content-filter__search{grid-column:1/-1}}@media(max-width:700px){.content-filter--compact,.content-grid{grid-template-columns:1fr}.content-card__actions .btn,.content-card__actions form,.content-card__actions button{width:100%}.content-tabs a{flex:1 1 45%;justify-content:center}}


/* News & Incidents layout hardening - prevents old generic admin styles from winning */
.cms-shell .content-tabs{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 18px!important}.cms-shell .content-tabs a{display:flex!important;align-items:center!important;gap:8px!important;background:#fff!important;border:1px solid var(--cms-line)!important;border-radius:999px!important;padding:10px 15px!important;color:#11151b!important;text-decoration:none!important;font-weight:900!important;box-shadow:0 10px 22px rgba(16,19,24,.04)!important}.cms-shell .content-tabs a strong{font-family:var(--display)!important;font-size:1.25rem!important;color:var(--cms-red)!important;line-height:1!important}.cms-shell .content-tabs a.is-active{background:#11151b!important;color:#fff!important;border-color:#11151b!important;box-shadow:inset 0 -4px 0 var(--cms-lime),0 10px 22px rgba(16,19,24,.08)!important}.cms-shell .content-filter--compact{display:grid!important;grid-template-columns:minmax(260px,1.4fr) 160px 165px 155px auto auto!important;gap:12px!important;align-items:end!important}.cms-shell .content-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(330px,1fr))!important;gap:18px!important;align-items:start!important}.cms-shell .content-card{background:#fff!important;border:1px solid var(--cms-line)!important;border-radius:24px!important;box-shadow:0 12px 30px rgba(16,19,24,.06)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;min-height:100%!important}.cms-shell .content-card__media{height:178px!important;background:#11151b!important;position:relative!important;display:grid!important;place-items:center!important;color:var(--cms-lime)!important;font-family:var(--display)!important;font-size:4rem!important;overflow:hidden!important}.cms-shell .content-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.cms-shell .content-card__badges{position:absolute!important;left:12px!important;right:12px!important;bottom:12px!important;display:flex!important;gap:6px!important;flex-wrap:wrap!important}.cms-shell .content-card__body{padding:18px 18px 14px!important;flex:1!important}.cms-shell .content-card__meta{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important;color:var(--cms-muted)!important;font-size:.9rem!important;margin-bottom:8px!important}.cms-shell .content-card h2{font-family:var(--display)!important;font-size:1.8rem!important;line-height:1!important;text-transform:uppercase!important;margin:0 0 9px!important}.cms-shell .content-card p{color:#475467!important;line-height:1.55!important;margin:0!important}.cms-shell .content-card__actions{border-top:1px solid var(--cms-line)!important;padding:12px!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;background:#fbfcfd!important}.cms-shell .content-card__actions form{margin:0!important}.cms-shell .btn-mini{border:1px solid var(--cms-line)!important;background:#fff!important;border-radius:10px!important;padding:9px 10px!important;font-weight:900!important;font:inherit!important;font-size:.9rem!important;cursor:pointer!important}.cms-shell .pill{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:4px 9px!important;font-weight:900!important;font-size:.76rem!important;text-transform:uppercase!important;letter-spacing:.04em!important}.cms-shell .pill--published{background:#dcfae6!important;color:#067647!important}.cms-shell .pill--draft{background:#f2f4f7!important;color:#667085!important}.cms-shell .pill--featured{background:var(--cms-lime)!important;color:#101318!important}@media(max-width:1180px){.cms-shell .content-filter--compact{grid-template-columns:1fr 1fr 1fr!important}.cms-shell .content-filter__search{grid-column:1/-1!important}}@media(max-width:700px){.cms-shell .content-filter--compact,.cms-shell .content-grid{grid-template-columns:1fr!important}.cms-shell .content-tabs a{flex:1 1 45%!important;justify-content:center!important}}

/* News & Incidents editor polish + managed categories */
.cms-shell .content-editor--polished{max-width:1160px!important;display:grid!important;gap:22px!important}.cms-shell .content-editor--polished .cms-panel{padding:30px!important;border-radius:26px!important}.cms-shell .content-editor--polished .cms-panel__head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;margin-bottom:24px!important}.cms-shell .content-editor--polished .cms-panel__head h2{font-size:2.1rem!important}.cms-shell .content-editor--polished .cms-form-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:18px 20px!important}.cms-shell .content-editor--polished .cms-form-grid>label{grid-column:span 6!important;margin:0!important}.cms-shell .content-editor--polished .cms-form-grid>label.span-2{grid-column:1/-1!important}.cms-shell .content-editor--polished input,.cms-shell .content-editor--polished select,.cms-shell .content-editor--polished textarea{min-height:48px!important;border-radius:14px!important;border:1px solid #d0d5dd!important;background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important}.cms-shell .content-editor--polished textarea{line-height:1.55!important}.cms-shell .content-editor--polished label{font-size:.96rem!important;color:#101318!important}.cms-shell .content-editor--polished small{font-size:.86rem!important;line-height:1.35!important;margin-top:6px!important}.cms-shell .incident-fields{border-left:0!important;position:relative!important}.cms-shell .incident-fields:before{content:""!important;position:absolute!important;left:0!important;top:28px!important;bottom:28px!important;width:5px!important;border-radius:8px!important;background:var(--cms-red)!important}.cms-shell .incident-check{grid-column:span 6!important;height:48px!important;margin:24px 0 0!important;display:flex!important}.cms-shell .content-image-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:24px!important;align-items:start!important}.cms-shell .content-image-preview{min-height:220px!important;border:1px dashed #cbd5e1!important;border-radius:20px!important;background:#f8fafc!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#667085!important;font-weight:800!important}.cms-shell .content-image-preview img{width:100%!important;height:100%!important;max-height:260px!important;object-fit:cover!important;display:block!important}.cms-shell .category-layout{display:grid!important;grid-template-columns:360px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}.cms-shell .category-editor-panel{position:sticky!important;top:92px!important}.cms-shell .category-form{display:grid!important;gap:16px!important}.cms-shell .category-two{display:grid!important;grid-template-columns:120px 1fr!important;gap:14px!important}.cms-shell .category-list{display:grid!important;gap:10px!important}.cms-shell .category-row{display:grid!important;grid-template-columns:18px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:14px!important;border:1px solid var(--cms-line)!important;border-radius:16px!important;background:#fbfcfd!important}.cms-shell .cat-dot{width:14px!important;height:14px!important;border-radius:999px!important;background:var(--cat)!important;box-shadow:0 0 0 4px rgba(16,24,40,.05)!important}.cms-shell .category-row strong{display:block!important;font-weight:900!important}.cms-shell .category-row small{display:block!important;color:var(--cms-muted)!important;margin-top:2px!important}.cms-shell .category-row__actions{display:flex!important;gap:8px!important;align-items:center!important}.cms-shell .category-row__actions form{margin:0!important}@media(max-width:900px){.cms-shell .content-editor--polished .cms-form-grid{grid-template-columns:1fr!important}.cms-shell .content-editor--polished .cms-form-grid>label,.cms-shell .incident-check{grid-column:1/-1!important}.cms-shell .content-image-layout,.cms-shell .category-layout{grid-template-columns:1fr!important}.cms-shell .category-editor-panel{position:static!important}}
.cms-shell .head-actions{display:flex!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important}

/* Admin Users module */
.cms-shell .user-page-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:24px!important;background:#fff!important;border:1px solid var(--cms-line,#d7dde6)!important;border-radius:26px!important;padding:30px 34px!important;margin-bottom:22px!important;box-shadow:0 14px 36px rgba(16,19,24,.06)!important}.cms-shell .user-page-head h1{font-family:var(--display)!important;text-transform:uppercase!important;font-size:3rem!important;line-height:.92!important;margin:0 0 10px!important}.cms-shell .user-page-head p:not(.kicker){color:#667085!important;margin:0!important;font-size:1.05rem!important}.cms-shell .btn--ghost-dark{background:#fff!important;border:1px solid var(--cms-line,#d7dde6)!important;color:#101318!important}.cms-shell .user-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 22px!important}.cms-shell .user-stats>div{background:#fff!important;border:1px solid var(--cms-line,#d7dde6)!important;border-radius:20px!important;padding:18px!important;box-shadow:0 10px 24px rgba(16,19,24,.05)!important}.cms-shell .user-stats strong{display:block!important;font-family:var(--display)!important;font-size:2.4rem!important;line-height:1!important;color:var(--cms-red,var(--engine))!important}.cms-shell .user-stats span{display:block!important;margin-top:4px!important;color:#667085!important;font-weight:800!important}.cms-shell .user-panel{padding:28px!important;border-radius:26px!important}.cms-shell .user-list{display:grid!important;gap:14px!important}.cms-shell .user-card{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;background:#fff!important;border:1px solid var(--cms-line,#d7dde6)!important;border-radius:20px!important;padding:16px!important;box-shadow:0 10px 24px rgba(16,19,24,.04)!important}.cms-shell .user-card.is-disabled{opacity:.72!important;background:#f8fafc!important}.cms-shell .user-card__avatar{width:58px!important;height:58px!important;border-radius:18px!important;background:#101318!important;color:var(--cms-lime,var(--hivis))!important;display:grid!important;place-items:center!important;font-family:var(--display)!important;font-size:1.45rem!important;font-weight:900!important;letter-spacing:.04em!important}.cms-shell .user-card__topline{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.cms-shell .user-card h3{font-family:var(--display)!important;text-transform:uppercase!important;font-size:1.65rem!important;margin:0!important;line-height:1!important}.cms-shell .user-card__meta,.cms-shell .user-card__dates{display:flex!important;gap:12px!important;flex-wrap:wrap!important;color:#667085!important;margin-top:6px!important}.cms-shell .user-card__meta span:not(:first-child):before,.cms-shell .user-card__dates span:not(:first-child):before{content:'•'!important;margin-right:12px!important;color:#98a2b3!important}.cms-shell .user-card__actions{display:flex!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important}.cms-shell .user-card__actions form{margin:0!important}.cms-shell .btn-mini--danger{color:var(--cms-red,var(--engine))!important}.cms-shell .user-edit-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:22px!important;align-items:start!important}.cms-shell .user-editor-main,.cms-shell .user-editor-side{padding:30px!important;border-radius:26px!important}.cms-shell .user-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important}.cms-shell .user-edit-layout label{display:block!important;font-weight:900!important;margin:0 0 18px!important}.cms-shell .user-edit-layout input,.cms-shell .user-edit-layout select{display:block!important;width:100%!important;min-height:50px!important;border:1px solid #d0d5dd!important;border-radius:14px!important;background:#fff!important;padding:10px 13px!important;font:inherit!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important;margin-top:7px!important}.cms-shell .user-edit-layout small{display:block!important;color:#667085!important;font-weight:500!important;margin-top:6px!important;line-height:1.35!important}.cms-shell .status-toggle{display:flex!important;gap:12px!important;align-items:center!important;border:1px solid var(--cms-line,#d7dde6)!important;border-radius:16px!important;background:#fbfcfd!important;padding:14px!important;margin-top:4px!important}.cms-shell .status-toggle input{width:auto!important;min-height:auto!important;margin:0!important}.cms-shell .status-toggle span{display:block!important}.cms-shell .status-toggle strong{display:block!important}.cms-shell .user-security-note{border-left:4px solid var(--cms-lime,var(--hivis))!important;background:#fbfcfd!important;border-radius:14px!important;padding:14px!important;color:#475467!important}.cms-shell .user-save-bar{grid-column:1/-1!important}.cms-shell .user-save-bar span{display:block!important;color:#667085!important;font-size:.92rem!important;margin-top:2px!important}.cms-shell .user-form-error{max-width:1160px!important}.cms-shell .sticky-save{position:sticky!important;bottom:18px!important;z-index:8!important;background:#101318!important;color:#fff!important;border-radius:20px!important;padding:14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;box-shadow:0 18px 50px rgba(16,19,24,.22)!important}.cms-shell .sticky-save .btn{margin-left:8px!important}@media(max-width:1000px){.cms-shell .user-stats,.cms-shell .user-edit-layout,.cms-shell .user-form-grid{grid-template-columns:1fr!important}.cms-shell .user-card{grid-template-columns:48px minmax(0,1fr)!important}.cms-shell .user-card__actions{grid-column:1/-1!important;justify-content:flex-start!important}.cms-shell .sticky-save{position:static!important;display:block!important}.cms-shell .sticky-save>div:last-child{margin-top:12px!important}.cms-shell .user-page-head{display:block!important}.cms-shell .user-page-head .btn{margin-top:16px!important}}

/* News & Incidents dynamic editor polish */
.cms-shell .content-editor--dynamic{max-width:1180px!important;display:grid!important;gap:22px!important}
.cms-shell .content-editor--dynamic .editor-section{padding:30px!important;border-radius:26px!important;overflow:hidden!important}
.cms-shell .content-editor--dynamic .cms-panel__head{display:block!important;margin-bottom:24px!important;padding-bottom:18px!important}
.cms-shell .content-editor--dynamic .cms-panel__head h2{font-size:2rem!important;margin:0 0 6px!important}
.cms-shell .content-editor--dynamic .cms-panel__head p{max-width:760px!important;line-height:1.55!important}
.cms-shell .content-editor--dynamic .editor-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 24px!important;align-items:start!important}
.cms-shell .content-editor--dynamic .field{margin:0!important;display:block!important;font-weight:900!important}
.cms-shell .content-editor--dynamic .field--wide{grid-column:1/-1!important}
.cms-shell .content-editor--dynamic input:not([type=checkbox]),
.cms-shell .content-editor--dynamic select,
.cms-shell .content-editor--dynamic textarea{width:100%!important;min-height:52px!important;border:1px solid #cbd5e1!important;border-radius:16px!important;padding:13px 15px!important;background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.05)!important;font:inherit!important;margin-top:8px!important}
.cms-shell .content-editor--dynamic textarea{min-height:130px!important;line-height:1.6!important}
.cms-shell .content-editor--dynamic select[multiple]{min-height:132px!important;padding:10px!important}
.cms-shell .content-editor--dynamic .field--checkbox{display:flex!important;align-items:center!important;gap:12px!important;min-height:52px!important;border:1px solid #d0d5dd!important;border-radius:16px!important;padding:14px 16px!important;margin-top:28px!important;background:#fbfcfd!important}
.cms-shell .content-editor--dynamic .field--checkbox input{width:auto!important;margin:0!important}
.cms-shell .type-section{border-left:0!important;position:relative!important;transition:opacity .15s ease,transform .15s ease!important}
.cms-shell .type-section:before{content:"";position:absolute;left:0;top:28px;bottom:28px;width:5px;border-radius:8px;background:var(--cms-red)}
.cms-shell .type-section--event:before{background:#027a48!important}
.cms-shell .type-section--announcement:before{background:#f59e0b!important}
.cms-shell .type-section[hidden]{display:none!important}
.cms-shell .content-editor--dynamic .content-image-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:24px!important;align-items:start!important}
.cms-shell .content-editor--dynamic .content-image-preview{min-height:230px!important;border-radius:20px!important}
.cms-shell .editor-hero span{max-width:780px;display:block}
@media(max-width:900px){.cms-shell .content-editor--dynamic .editor-grid,.cms-shell .content-editor--dynamic .content-image-layout{grid-template-columns:1fr!important}.cms-shell .content-editor--dynamic .field--checkbox{margin-top:0!important}}

/* SMTP settings */
.cms-toggle-row{display:flex!important;align-items:center!important;gap:12px!important;border:1px solid var(--cms-line)!important;border-radius:16px!important;background:#fbfcfd!important;padding:14px 16px!important;margin:0!important}.cms-toggle-row input[type=checkbox]{width:18px!important;height:18px!important;margin:0!important}.cms-toggle-row span{font-weight:900!important}.cms-toggle-row--danger{border-color:#fda29b!important;background:#fff5f5!important;color:#b42318!important}.smtp-editor .cms-panel__head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.smtp-editor input[type=password]{letter-spacing:.08em}

/* Audit and email logs */
.cms-filter-bar{display:grid!important;grid-template-columns:repeat(6,minmax(140px,1fr))!important;gap:14px!important;align-items:end!important;background:#fff!important;border:1px solid var(--cms-line,#d7dde6)!important;border-radius:22px!important;padding:18px!important;margin:0 0 22px!important;box-shadow:0 10px 24px rgba(16,19,24,.05)!important}.cms-filter-bar label{display:grid!important;gap:6px!important;font-weight:900!important}.cms-filter-bar input,.cms-filter-bar select{min-height:46px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:9px 12px!important;font:inherit!important;background:#fff!important}.admin-table-wrap{overflow:auto!important}.admin-table--modern{width:100%!important;border-collapse:separate!important;border-spacing:0 8px!important}.admin-table--modern th{text-align:left!important;color:#667085!important;font-size:.84rem!important;text-transform:uppercase!important;letter-spacing:.06em!important;padding:0 12px 8px!important}.admin-table--modern td{background:#fff!important;border-top:1px solid var(--cms-line,#d7dde6)!important;border-bottom:1px solid var(--cms-line,#d7dde6)!important;padding:12px!important;vertical-align:top!important}.admin-table--modern td:first-child{border-left:1px solid var(--cms-line,#d7dde6)!important;border-radius:14px 0 0 14px!important}.admin-table--modern td:last-child{border-right:1px solid var(--cms-line,#d7dde6)!important;border-radius:0 14px 14px 0!important}.badge{display:inline-flex!important;align-items:center!important;border-radius:999px!important;background:#eef2f6!important;color:#344054!important;font-weight:900!important;font-size:.78rem!important;padding:4px 9px!important;text-transform:uppercase!important;letter-spacing:.03em!important}.badge--success,.badge--sent{background:#dcfae6!important;color:#067647!important}.badge--failed{background:#fee4e2!important;color:#b42318!important}.badge--info,.badge--sending{background:#eef4ff!important;color:#3538cd!important}@media(max-width:1000px){.cms-filter-bar{grid-template-columns:1fr 1fr!important}}@media(max-width:620px){.cms-filter-bar{grid-template-columns:1fr!important}}


/* Security module */
.cms-security-wrap{display:grid;grid-template-columns:240px 1fr;gap:22px;align-items:start}
.settings-tabs{position:sticky;top:88px;background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:18px;padding:10px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.settings-tabs a{display:block;padding:12px 14px;border-radius:12px;color:#334155;text-decoration:none;font-weight:700;margin:2px 0}
.settings-tabs a.is-active,.settings-tabs a:hover{background:#111827;color:#fff}
.settings-content .cms-panel{padding:28px;margin-bottom:18px}
.field-grid{display:grid;gap:18px;margin:18px 0}.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.field-grid label{display:block}.field-grid input,.field-grid select{width:100%}.field-grid small{display:block;color:#64748b;margin-top:6px}.check-row{display:flex!important;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;font-weight:700}.check-row input{width:auto!important}.info-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:16px;margin-top:15px}.page-actions{display:flex;gap:10px;align-items:center}
@media (max-width:900px){.cms-security-wrap{grid-template-columns:1fr}.settings-tabs{position:relative;top:auto}.field-grid.two,.field-grid.three{grid-template-columns:1fr}}

/* Collapsible admin sidebar sections */
.cms-nav--accordion{gap:8px}.cms-nav__single{margin-bottom:4px}.cms-nav__group{border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(255,255,255,.025);overflow:hidden}.cms-nav__toggle{width:100%;border:0;background:transparent;color:#e8ecf3;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;font-family:var(--display);font-size:.95rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;cursor:pointer}.cms-nav__toggle:hover{background:#1c222c}.cms-nav__toggle span{transition:transform .18s ease;color:var(--cms-lime);font-size:1.1rem}.cms-nav__items{display:none;padding:0 8px 9px}.cms-nav__group.is-open .cms-nav__items{display:grid;gap:3px}.cms-nav__group.is-open .cms-nav__toggle{background:#1c222c}.cms-nav__group.is-open .cms-nav__toggle span{transform:rotate(180deg)}.cms-nav__items a{font-size:.94rem;padding:9px 12px 9px 16px}.cms-nav__label{display:none}
@media(max-width:1050px){.cms-nav__group{grid-column:1/-1}.cms-nav__items{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.cms-nav__single{grid-column:1/-1}}
@media(max-width:680px){.cms-nav__items{grid-template-columns:1fr}}

/* Navigation / Link Manager polish */
.nav-hero .muted,.muted{color:var(--cms-muted,#667085)!important;margin:.35rem 0 0!important;line-height:1.55!important}.nav-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 22px!important}.nav-stats>div{background:#fff!important;border:1px solid var(--cms-line,#d9dee7)!important;border-radius:20px!important;padding:18px 20px!important;box-shadow:0 12px 28px rgba(16,19,24,.05)!important}.nav-stats strong{display:block!important;font-family:var(--display)!important;font-size:2.6rem!important;line-height:.9!important;color:var(--cms-red,#c6202f)!important}.nav-stats span{display:block!important;font-weight:900!important;color:#344054!important;margin-top:7px!important}.nav-manager-layout{display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}.nav-manager-side{position:sticky!important;top:92px!important;padding:18px!important}.nav-manager-side h2,.nav-link-group h2,.link-picker h2{font-family:var(--display)!important;text-transform:uppercase!important;font-size:1.7rem!important;margin:0 0 12px!important}.nav-area-link{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;text-decoration:none!important;color:#11151b!important;border:1px solid var(--cms-line,#d9dee7)!important;background:#fff!important;border-radius:14px!important;padding:12px 13px!important;margin:0 0 8px!important;font-weight:900!important}.nav-area-link:hover,.nav-area-link.is-active{background:#11151b!important;color:#fff!important;border-color:#11151b!important;box-shadow:inset 4px 0 0 var(--cms-lime,#d9ef22)!important}.nav-area-link strong{font-family:var(--display)!important;color:var(--cms-red,#c6202f)!important}.nav-area-link.is-active strong{color:var(--cms-lime,#d9ef22)!important}.nav-help{margin-top:18px!important;border-top:1px solid var(--cms-line,#d9dee7)!important;padding-top:16px!important}.nav-help h3{font-family:var(--display)!important;text-transform:uppercase!important;margin:0 0 8px!important}.nav-help p{margin:.35rem 0!important;color:var(--cms-muted,#667085)!important;line-height:1.45!important}.nav-link-group{padding:22px!important}.nav-link-group__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;border-bottom:1px solid var(--cms-line,#d9dee7)!important;padding-bottom:15px!important;margin-bottom:16px!important}.nav-link-group__head .kicker{margin:0 0 4px!important;color:var(--cms-red,#c6202f)!important;font-family:var(--display)!important;text-transform:uppercase!important;letter-spacing:.12em!important;font-weight:900!important}.nav-link-list{display:grid!important;gap:12px!important}.nav-link-card{display:grid!important;grid-template-columns:56px 52px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;border:1px solid var(--cms-line,#d9dee7)!important;border-radius:18px!important;background:#fff!important;padding:14px!important;box-shadow:0 8px 20px rgba(16,19,24,.04)!important}.nav-link-card.is-muted{opacity:.72!important;background:#fbfcfd!important}.nav-link-card__sort{width:46px;height:46px;border-radius:14px;background:#f2f4f7;color:#475467;display:grid;place-items:center;font-family:var(--display);font-size:1.25rem;font-weight:900}.nav-link-card__icon{width:48px;height:48px;border-radius:14px;background:#11151b;color:var(--cms-lime,#d9ef22);display:grid;place-items:center;font-size:1.25rem;font-weight:900}.nav-link-card__titleline{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}.nav-link-card h3{font-family:var(--display)!important;text-transform:uppercase!important;font-size:1.55rem!important;line-height:1!important;margin:0 4px 0 0!important}.nav-link-card__url{font-weight:800!important;color:#475467!important;margin:5px 0 0!important;word-break:break-all!important}.nav-link-card__desc{color:#667085!important;margin:4px 0 0!important;line-height:1.45!important}.nav-link-card__actions{display:flex!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important}.nav-link-card__actions form{margin:0!important}.btn-mini--danger{color:#b42318!important}.nav-empty{text-align:center!important;padding:48px!important}.nav-edit-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:22px!important;align-items:start!important}.nav-edit-form{padding:26px!important}.nav-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}.nav-form-grid label{margin:0!important}.field-hint{font-weight:500!important;color:var(--cms-muted,#667085)!important;font-size:.85rem!important;margin-left:4px!important}.nav-switches{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:20px 0 4px!important}.switch-row{display:flex!important;align-items:center!important;gap:10px!important;border:1px solid var(--cms-line,#d9dee7)!important;border-radius:14px!important;background:#fbfcfd!important;padding:14px!important;margin:0!important}.switch-row input{width:auto!important;margin:0!important}.switch-row span{font-weight:900!important}.sticky-actions{position:sticky!important;bottom:0!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(10px)!important;border-top:1px solid var(--cms-line,#d9dee7)!important;margin:22px -26px -26px!important;padding:16px 26px!important;justify-content:flex-end!important}.link-picker{position:sticky!important;top:92px!important}.link-picker__list{display:grid!important;gap:9px!important;margin-top:14px!important}.link-preset{appearance:none!important;border:1px solid var(--cms-line,#d9dee7)!important;background:#fff!important;border-radius:14px!important;padding:12px!important;text-align:left!important;cursor:pointer!important;font:inherit!important}.link-preset:hover{border-color:#11151b!important;box-shadow:0 8px 18px rgba(16,19,24,.08)!important}.link-preset strong{display:block!important;font-weight:900!important}.link-preset span{display:block!important;color:var(--cms-muted,#667085)!important;font-size:.9rem!important;margin-top:3px!important;word-break:break-all!important}.btn--light{background:#fff!important;color:#101318!important;border:1px solid var(--cms-line,#d9dee7)!important}.badge--failed{background:#fee4e2!important;color:#b42318!important}.badge--info{background:#eef4ff!important;color:#3538cd!important}@media(max-width:1050px){.nav-manager-layout,.nav-edit-layout{grid-template-columns:1fr!important}.nav-manager-side,.link-picker{position:static!important}.nav-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nav-link-card{grid-template-columns:48px minmax(0,1fr)!important}.nav-link-card__sort{display:none!important}.nav-link-card__actions{grid-column:1/-1;justify-content:flex-start!important}}@media(max-width:700px){.nav-stats,.nav-form-grid,.nav-switches{grid-template-columns:1fr!important}.nav-link-group__head{display:block!important}.nav-link-group__head .btn{margin-top:12px!important}.nav-link-card{grid-template-columns:1fr!important}.nav-link-card__icon{display:none!important}.nav-link-card__actions .btn-mini,.nav-link-card__actions form,.nav-link-card__actions button{width:100%!important}}

/* Public navigation dropdowns and automatic overflow */
.site-nav__item{position:relative;display:inline-flex;align-items:center}.site-nav__item>a,.site-nav__morebtn{font-family:var(--display);text-transform:uppercase;letter-spacing:.03em;font-size:1.02rem;font-weight:600;color:#d6d8dd;text-decoration:none;padding:.5rem .7rem;border-radius:var(--radius);background:transparent;border:0;cursor:pointer}.site-nav__item>a:hover,.site-nav__morebtn:hover{color:#fff;background:var(--ink-soft)}.site-nav__dropdown{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:210px;background:var(--ink);border:1px solid rgba(255,255,255,.12);border-top:3px solid var(--hivis);border-radius:14px;box-shadow:0 22px 45px rgba(0,0,0,.35);padding:8px;z-index:90}.site-nav__dropdown--right{right:0;left:auto}.site-nav__item:hover>.site-nav__dropdown,.site-nav__item:focus-within>.site-nav__dropdown{display:grid}.site-nav__dropdown a{display:block!important;padding:.7rem .8rem!important;border-radius:10px!important;white-space:nowrap}.site-nav__suboverflow{padding-left:1.4rem!important;color:#aeb7c6!important}.site-nav__morebtn{color:#d6d8dd}.site-nav__morebtn span{color:var(--hivis)}
@media(max-width:900px){.site-nav__item{display:block}.site-nav__dropdown{position:static;display:grid;box-shadow:none;border:0;border-left:3px solid var(--hivis);border-radius:0;background:rgba(255,255,255,.04);margin:.15rem 0 .3rem .4rem}.site-nav__morebtn{width:100%;text-align:left}.site-nav__dropdown a{white-space:normal}}

/* Navigation manager drag/drop */
.nav-builder-panel{padding:22px!important}.nav-tree{display:grid!important;gap:12px!important}.nav-node{border:1px solid var(--cms-line,#d9dee7)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 20px rgba(16,19,24,.04)!important;overflow:hidden!important}.nav-node.is-muted{opacity:.72!important;background:#fbfcfd!important}.nav-node__main{display:grid!important;grid-template-columns:44px 52px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:14px!important}.drag-handle{width:36px;height:36px;border:1px solid var(--cms-line,#d9dee7);border-radius:12px;background:#f8fafc;cursor:grab;font-weight:900;color:#475467}.drag-handle:active{cursor:grabbing}.nav-children{min-height:18px;margin:0 14px 14px 74px;padding:10px;border:1px dashed #c8d0dc;border-radius:14px;background:#f8fafc;display:grid;gap:10px}.nav-children:empty:before{content:'Drop submenu items here';color:#98a2b3;font-weight:800;font-size:.9rem}.nav-node--child{box-shadow:none!important;border-radius:14px!important}.nav-node--child .nav-node__main{grid-template-columns:44px 44px minmax(0,1fr) auto!important;padding:10px!important}.nav-node--child h3{font-size:1.25rem!important}.sortable-ghost{opacity:.4!important}.sortable-chosen{outline:3px solid var(--cms-lime,#d9ef22)!important}@media(max-width:800px){.nav-node__main,.nav-node--child .nav-node__main{grid-template-columns:40px minmax(0,1fr)!important}.nav-node__main .nav-link-card__icon{display:none!important}.nav-node__main .nav-link-card__actions{grid-column:1/-1;justify-content:flex-start!important}.nav-children{margin-left:14px}}

/* VFD CMS theme presets, layout picker, and dark mode */
.mode-toggle,.site-nav__mode{border:1px solid rgba(255,255,255,.24);background:transparent;color:#fff;border-radius:999px;padding:.55rem .8rem;font-family:var(--display);font-weight:800;text-transform:uppercase;letter-spacing:.03em;cursor:pointer}.mode-toggle:hover,.site-nav__mode:hover{border-color:var(--cms-lime,var(--hivis));color:var(--cms-lime,var(--hivis))}.site-nav__mode{font-size:.92rem}.theme-presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:14px 0 20px}.theme-preset{display:flex!important;gap:12px!important;align-items:center!important;border:1px solid var(--cms-line,#d9dee7)!important;border-radius:16px!important;background:#fff!important;padding:14px!important;margin:0!important;cursor:pointer}.theme-preset:has(input:checked){border-color:var(--cms-red,#c6202f)!important;box-shadow:inset 4px 0 0 var(--cms-lime,#d9ef22),0 10px 24px rgba(16,19,24,.06)!important}.theme-preset input{width:auto!important;margin:0!important}.theme-preset b{display:block;font-family:var(--display);text-transform:uppercase;font-size:1.1rem}.theme-preset small{display:block;color:var(--cms-muted,#667085);font-weight:600;margin-top:2px}.theme-color-grid label{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:center}.theme-color-grid label>input[type=color]{width:64px!important;height:46px!important;padding:4px!important}.theme-color-grid label>input[type=text]{grid-column:2}.layout-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:16px}.layout-preview{border:1px solid var(--cms-line,#d9dee7);border-radius:16px;background:#fff;padding:16px}.layout-preview b{display:block;font-family:var(--display);text-transform:uppercase;font-size:1.3rem}.layout-preview span{display:block;color:var(--cms-muted,#667085);margin-top:5px}.public-site.layout-wide .wrap{max-width:1440px}.public-site.layout-compact section,.public-site.layout-compact .home-section{padding-top:42px!important;padding-bottom:42px!important}.public-site.layout-cards .home-section,.public-site.layout-cards .feature-card,.public-site.layout-cards .service-card{border-radius:28px;box-shadow:0 18px 44px rgba(16,19,24,.09)}
body.theme-dark.public-site{--paper:#11151b;--paper-2:#0b0f14;--text:#f5f7fb;--muted:#b8c1ce;background:#0b0f14;color:#f5f7fb}body.theme-dark.public-site .site-header,body.theme-dark.public-site .site-footer{background:var(--footer,#0b0f14)}body.theme-dark.public-site main{background:#0b0f14}body.theme-dark.public-site .feature-card,body.theme-dark.public-site .service-card,body.theme-dark.public-site .home-card,body.theme-dark.public-site .apparatus-card,body.theme-dark.public-site .news-card{background:#141a22!important;color:#f5f7fb!important;border-color:#263140!important}body.theme-dark.public-site p,body.theme-dark.public-site .muted{color:#c3cad6}body.theme-dark.public-site .coverage-card{background:#141a22;color:#f5f7fb}
body.theme-dark.admin-shell{background:#0b0f14!important;color:#f5f7fb!important}body.theme-dark.admin-shell .cms-main{background:#0b0f14!important}body.theme-dark.admin-shell .cms-page-head,body.theme-dark.admin-shell .cms-panel,body.theme-dark.admin-shell .admin-card,body.theme-dark.admin-shell .cms-stat,body.theme-dark.admin-shell .cms-card,body.theme-dark.admin-shell .layout-preview,body.theme-dark.admin-shell .theme-preset,body.theme-dark.admin-shell .nav-link-card,body.theme-dark.admin-shell .nav-node{background:#141a22!important;color:#f5f7fb!important;border-color:#283241!important}body.theme-dark.admin-shell input,body.theme-dark.admin-shell select,body.theme-dark.admin-shell textarea{background:#0d1219!important;color:#f5f7fb!important;border-color:#344054!important}body.theme-dark.admin-shell .cms-panel__head p,body.theme-dark.admin-shell .cms-page-head span,body.theme-dark.admin-shell .layout-preview span,body.theme-dark.admin-shell .theme-preset small{color:#b8c1ce!important}body.theme-dark.admin-shell .cms-sticky-save,body.theme-dark.admin-shell .sticky-actions{background:rgba(20,26,34,.92)!important;border-color:#283241!important}


/* Single-icon light/dark mode switcher - tiny inline icon, no circle */
.mode-icon-toggle,
.site-nav__mode.mode-icon-toggle{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0 2px!important;
  margin:0 0 0 10px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:12px!important;
  font-weight:400!important;
  color:currentColor!important;
  text-indent:0!important;
  overflow:visible!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  opacity:.9!important;
  transition:opacity .15s ease, color .15s ease!important;
}
.mode-icon-toggle span,
.site-nav__mode.mode-icon-toggle span{
  display:inline-block!important;
  width:auto!important;
  height:auto!important;
  font-size:12px!important;
  line-height:1!important;
  transform:none!important;
}
.mode-icon-toggle:hover,
.mode-icon-toggle:focus,
.site-nav__mode.mode-icon-toggle:hover,
.site-nav__mode.mode-icon-toggle:focus{
  opacity:.65!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  transform:none!important;
}
.site-nav__mode.mode-icon-toggle,
body.theme-light.public-site .site-nav__mode.mode-icon-toggle,
body.theme-dark.public-site .site-nav__mode.mode-icon-toggle,
.cms-topbar__actions .mode-toggle.mode-icon-toggle,
body.theme-dark.admin-shell .cms-topbar__actions .mode-toggle.mode-icon-toggle{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:inherit!important;
}
body.public-site, body.admin-shell{transition:background-color .2s ease,color .2s ease}


/* 2026-07-05: keep the public dark-mode icon inline with header navigation */
.site-header .site-nav{
  flex-wrap:nowrap!important;
  align-items:center!important;
}
.site-header .site-nav__mode.mode-icon-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  padding:0 0 0 .25rem!important;
  margin:0 0 0 .25rem!important;
  line-height:1!important;
  vertical-align:middle!important;
  flex:0 0 auto!important;
  position:relative!important;
  top:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.site-header .site-nav__mode.mode-icon-toggle span{
  display:block!important;
  font-size:12px!important;
  line-height:1!important;
}
@media(max-width:900px){
  .site-header .site-nav{flex-wrap:initial!important;align-items:stretch!important;}
  .site-header .site-nav__mode.mode-icon-toggle{display:inline-flex!important;margin:.65rem .8rem!important;padding:0!important;align-self:flex-start!important;}
}

/* 2026-07-05: Branding generated-file cards respect admin dark mode */
body.theme-dark.admin-shell .brand-generated-grid figure{
  background:#141a22!important;
  border-color:#344054!important;
  color:#f5f7fb!important;
}
body.theme-dark.admin-shell .brand-generated-grid figure>div{
  background-color:#0b0f14!important;
  background-image:
    linear-gradient(45deg,rgba(255,255,255,.055) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.055) 75%),
    linear-gradient(45deg,rgba(255,255,255,.055) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.055) 75%)!important;
  background-position:0 0,12px 12px!important;
  background-size:24px 24px!important;
}
body.theme-dark.admin-shell .brand-generated-grid figcaption{
  background:#141a22!important;
  color:#f5f7fb!important;
}
body.theme-dark.admin-shell .brand-generated-grid figcaption br{
  display:block!important;
}
body.theme-dark.admin-shell .brand-generated-grid input{
  background:#0d1219!important;
  border-color:#344054!important;
  color:#e6edf7!important;
}
body.theme-dark.admin-shell .brand-generated-grid input[readonly]{
  opacity:1!important;
  -webkit-text-fill-color:#e6edf7!important;
}
body.theme-dark.admin-shell .brand-preview-box,
body.theme-dark.admin-shell .brand-preview-header{
  border-color:#344054!important;
}
body.theme-dark.admin-shell .cms-help-card{
  background:#111827!important;
  border-color:#344054!important;
  color:#e6edf7!important;
}
body.theme-dark.admin-shell .cms-help-card ul,
body.theme-dark.admin-shell .cms-help-card p{
  color:#b8c1ce!important;
}

/* Branding asset manager cleanup */
.brand-assets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.brand-asset-card{border:1px solid var(--cms-line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 12px 35px rgba(16,24,40,.06)}
.brand-asset-preview{height:160px;display:grid;place-items:center;background:#101318;background-image:linear-gradient(45deg,rgba(255,255,255,.055) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.055) 75%),linear-gradient(45deg,rgba(255,255,255,.055) 25%,transparent 25%,transparent 75%,rgba(255,255,255,.055) 75%);background-position:0 0,12px 12px;background-size:24px 24px;color:#cbd5e1;font-family:var(--display);letter-spacing:.08em;text-transform:uppercase}
.brand-asset-preview img{max-width:130px;max-height:130px;object-fit:contain}
.brand-asset-preview--favicon img{max-width:48px;max-height:48px}
.brand-asset-preview--social img{max-width:170px;max-height:100px}
.brand-asset-body{padding:18px}
.brand-asset-body h3{margin:0 0 8px;font-family:var(--display);font-size:1.35rem;text-transform:uppercase}
.brand-asset-body p{margin:0 0 14px;color:#667085;line-height:1.55}
.brand-asset-body label{display:block;font-weight:800;color:#344054}
.brand-asset-body input{margin-top:8px;width:100%;border:1px solid var(--cms-line);border-radius:12px;padding:10px 12px;background:#f8fafc;color:#344054;font:inherit;font-size:.86rem}
.brand-status-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.brand-status-list span{border:1px solid #b7eb8f;background:#f6ffed;color:#237804;border-radius:999px;padding:6px 10px;font-weight:800;font-size:.82rem}
.brand-live-previews{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;margin-top:18px}
.brand-browser-preview,.brand-mini-note{border:1px solid var(--cms-line);border-radius:18px;background:#fff;padding:16px}
.brand-browser-preview>span{display:block;margin-bottom:10px;color:#667085;font-weight:800;text-transform:uppercase;font-size:.82rem;letter-spacing:.06em}
.brand-browser-preview>div{display:flex;align-items:center;gap:10px;border:1px solid var(--cms-line);border-radius:12px;background:#f8fafc;padding:10px 12px;max-width:360px}
.brand-browser-preview img{width:20px;height:20px;object-fit:contain}.brand-browser-preview b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-mini-note strong{display:block;margin-bottom:6px}.brand-mini-note p{margin:0;color:#667085;line-height:1.55}
body.theme-dark.admin-shell .brand-asset-card,body.theme-dark.admin-shell .brand-browser-preview,body.theme-dark.admin-shell .brand-mini-note{background:#151b24;border-color:#2b3440;color:#e6edf7}
body.theme-dark.admin-shell .brand-asset-body p,body.theme-dark.admin-shell .brand-mini-note p,body.theme-dark.admin-shell .brand-browser-preview>span{color:#aab6c5}
body.theme-dark.admin-shell .brand-asset-body label{color:#e6edf7}
body.theme-dark.admin-shell .brand-asset-body input,body.theme-dark.admin-shell .brand-browser-preview>div{background:#0f141c;border-color:#2b3440;color:#e6edf7}
@media(max-width:1050px){.brand-assets-grid{grid-template-columns:1fr}.brand-live-previews{grid-template-columns:1fr}}

/* 2026-07-05: Dashboard dark-mode cleanup */
body.theme-dark.admin-shell .cms-dashboard-hero,
body.theme-dark.admin-shell .cms-metrics a,
body.theme-dark.admin-shell .cms-module-grid a {
  background: #141a22 !important;
  color: #f5f7fb !important;
  border-color: #283241 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.22) !important;
}
body.theme-dark.admin-shell .cms-dashboard-hero {
  background: linear-gradient(135deg,#141a22,#101620) !important;
}
body.theme-dark.admin-shell .cms-dashboard-hero h1,
body.theme-dark.admin-shell .cms-module-grid b {
  color: #f5f7fb !important;
}
body.theme-dark.admin-shell .cms-dashboard-hero span,
body.theme-dark.admin-shell .cms-module-grid span,
body.theme-dark.admin-shell .cms-metrics span {
  color: #b8c1ce !important;
}
body.theme-dark.admin-shell .cms-metrics strong {
  color: var(--cms-red) !important;
}
body.theme-dark.admin-shell .cms-module-grid a:hover,
body.theme-dark.admin-shell .cms-metrics a:hover {
  border-color: var(--cms-lime) !important;
  transform: translateY(-1px);
}
body.theme-dark.admin-shell .cms-footer {
  background: #0b0f14 !important;
  border-color: #283241 !important;
  color: #b8c1ce !important;
}
body.theme-dark.admin-shell .cms-version {
  color: #e6edf7 !important;
}

/* 2026-07-05: Homepage Builder dark-mode cleanup */
body.theme-dark.admin-shell .cms-builder__nav,
body.theme-dark.admin-shell .cms-stat-edit {
    background:#141a22!important;
    color:#f5f7fb!important;
    border-color:#283241!important;
    box-shadow:0 12px 30px rgba(0,0,0,.16)!important;
}
body.theme-dark.admin-shell .cms-builder__nav a {
    color:#e6edf7!important;
    background:transparent!important;
}
body.theme-dark.admin-shell .cms-builder__nav a:hover,
body.theme-dark.admin-shell .cms-builder__nav a:focus {
    background:#1d2430!important;
    color:#fff!important;
}
body.theme-dark.admin-shell .cms-stat-edit strong,
body.theme-dark.admin-shell .cms-stat-edit label,
body.theme-dark.admin-shell .cms-panel label,
body.theme-dark.admin-shell .cms-builder label {
    color:#f5f7fb!important;
}
body.theme-dark.admin-shell .cms-stat-edit {
    background:#101720!important;
}
body.theme-dark.admin-shell .cms-stat-edit input,
body.theme-dark.admin-shell .cms-stat-edit textarea,
body.theme-dark.admin-shell .cms-stat-edit select {
    background:#0d1219!important;
    color:#f5f7fb!important;
    border-color:#344054!important;
}
body.theme-dark.admin-shell .cms-image-preview img {
    border-color:#283241!important;
    background:#0d1219!important;
}
body.theme-dark.admin-shell .btn--ghost {
    background:#141a22!important;
    color:#f5f7fb!important;
    border-color:#344054!important;
}
body.theme-dark.admin-shell .btn--ghost:hover {
    background:#1d2430!important;
}

/* 2026-07-05: Coverage Areas admin dark-mode cleanup */
body.theme-dark.admin-shell .table-card,
body.theme-dark.admin-shell .admin-table {
    background:#141a22!important;
    color:#f5f7fb!important;
    border-color:#283241!important;
    box-shadow:0 12px 30px rgba(0,0,0,.20)!important;
}
body.theme-dark.admin-shell .admin-table thead,
body.theme-dark.admin-shell .admin-table th {
    background:#101720!important;
    color:#b8c1ce!important;
    border-color:#283241!important;
}
body.theme-dark.admin-shell .admin-table tr {
    border-color:#283241!important;
}
body.theme-dark.admin-shell .admin-table td {
    background:#141a22!important;
    color:#e6edf7!important;
    border-color:#283241!important;
}
body.theme-dark.admin-shell .admin-table td strong {
    color:#f5f7fb!important;
}
body.theme-dark.admin-shell .admin-table small,
body.theme-dark.admin-shell .admin-table .muted {
    color:#aab6c5!important;
}
body.theme-dark.admin-shell .admin-table tbody tr:hover td {
    background:#18202b!important;
}
body.theme-dark.admin-shell .admin-table .btn,
body.theme-dark.admin-shell .admin-table .btn--small {
    background:#101720!important;
    color:#f5f7fb!important;
    border-color:#344054!important;
}
body.theme-dark.admin-shell .admin-table .btn:hover,
body.theme-dark.admin-shell .admin-table .btn--small:hover {
    border-color:var(--cms-lime)!important;
}
body.theme-dark.admin-shell .admin-actions .btn--ghost {
    background:#141a22!important;
    color:#f5f7fb!important;
    border-color:#344054!important;
}
body.theme-dark.admin-shell .admin-actions .btn--ghost:hover {
    background:#1d2430!important;
}

/* 2026-07-05: Navigation Link Manager dark-mode cleanup */
body.theme-dark.admin-shell .nav-stats > div,
body.theme-dark.admin-shell .nav-manager-side,
body.theme-dark.admin-shell .nav-builder-panel,
body.theme-dark.admin-shell .nav-link-group,
body.theme-dark.admin-shell .nav-link-card,
body.theme-dark.admin-shell .nav-node,
body.theme-dark.admin-shell .nav-empty {
  background:#141a22!important;
  color:#f5f7fb!important;
  border-color:#283241!important;
  box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
body.theme-dark.admin-shell .nav-stats span,
body.theme-dark.admin-shell .nav-hero .muted,
body.theme-dark.admin-shell .nav-help p,
body.theme-dark.admin-shell .nav-link-group__head .muted,
body.theme-dark.admin-shell .nav-link-card__url,
body.theme-dark.admin-shell .nav-link-card p,
body.theme-dark.admin-shell .nav-node p {
  color:#aab6c5!important;
}
body.theme-dark.admin-shell .nav-stats strong {
  color:var(--cms-red,#e03142)!important;
}
body.theme-dark.admin-shell .nav-manager-side h2,
body.theme-dark.admin-shell .nav-link-group h2,
body.theme-dark.admin-shell .nav-builder-panel h2,
body.theme-dark.admin-shell .nav-link-card h3,
body.theme-dark.admin-shell .nav-node h3 {
  color:#f5f7fb!important;
}
body.theme-dark.admin-shell .nav-area-link {
  background:#0d1219!important;
  color:#f5f7fb!important;
  border-color:#344054!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .nav-area-link:hover,
body.theme-dark.admin-shell .nav-area-link.is-active {
  background:#202734!important;
  color:#fff!important;
  border-color:#435167!important;
  box-shadow:inset 4px 0 0 var(--cms-lime,#d9ef22)!important;
}
body.theme-dark.admin-shell .nav-area-link strong {
  color:var(--cms-lime,#d9ef22)!important;
}
body.theme-dark.admin-shell .nav-help,
body.theme-dark.admin-shell .nav-link-group__head {
  border-color:#344054!important;
}
body.theme-dark.admin-shell .nav-link-card__sort,
body.theme-dark.admin-shell .drag-handle,
body.theme-dark.admin-shell .nav-link-card__icon {
  background:#0d1219!important;
  color:var(--cms-lime,#d9ef22)!important;
  border-color:#344054!important;
}
body.theme-dark.admin-shell .nav-children {
  background:#0d1219!important;
  border-color:#435167!important;
  color:#aab6c5!important;
}
body.theme-dark.admin-shell .nav-children:empty:before {
  color:#7f8da3!important;
}
body.theme-dark.admin-shell .btn-mini,
body.theme-dark.admin-shell .nav-link-card__actions .btn-mini,
body.theme-dark.admin-shell .nav-link-card__actions button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:36px!important;
  padding:8px 12px!important;
  border-radius:10px!important;
  background:#0d1219!important;
  color:#f5f7fb!important;
  border:1px solid #344054!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-weight:900!important;
  line-height:1!important;
}
body.theme-dark.admin-shell .btn-mini:hover,
body.theme-dark.admin-shell .nav-link-card__actions .btn-mini:hover,
body.theme-dark.admin-shell .nav-link-card__actions button:hover {
  background:#202734!important;
  color:var(--cms-lime,#d9ef22)!important;
  border-color:var(--cms-lime,#d9ef22)!important;
}
body.theme-dark.admin-shell .btn-mini--danger,
body.theme-dark.admin-shell .nav-link-card__actions .btn-mini--danger {
  color:#ff9aa5!important;
  border-color:#5d2831!important;
}
body.theme-dark.admin-shell .btn-mini--danger:hover,
body.theme-dark.admin-shell .nav-link-card__actions .btn-mini--danger:hover {
  color:#fff!important;
  background:#7a1d2a!important;
  border-color:#c6202f!important;
}
body.theme-dark.admin-shell .nav-node.is-muted,
body.theme-dark.admin-shell .nav-link-card.is-muted {
  background:#111720!important;
  opacity:.78!important;
}
body.theme-dark.admin-shell .sortable-chosen {
  outline-color:var(--cms-lime,#d9ef22)!important;
}

/* Cleaner action buttons for navigation items in both light and dark modes */
.nav-link-card__actions {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.nav-link-card__actions form {
  display:inline-flex!important;
  margin:0!important;
}
.nav-link-card__actions .btn-mini,
.nav-link-card__actions button.btn-mini {
  width:auto!important;
  min-width:58px!important;
  text-align:center!important;
  text-decoration:none!important;
}
.nav-node .nav-link-card__actions .btn-mini,
.nav-node .nav-link-card__actions button.btn-mini {
  border-radius:12px!important;
  padding:10px 12px!important;
}
@media(max-width:700px){
  .nav-link-card__actions{justify-content:flex-start!important}
  .nav-link-card__actions .btn-mini,
  .nav-link-card__actions form,
  .nav-link-card__actions button.btn-mini{width:auto!important}
}

/* 2026-07-05: News & Incidents admin dark-mode cleanup */
body.theme-dark.admin-shell .news-hero,
body.theme-dark.admin-shell .content-toolbar,
body.theme-dark.admin-shell .content-toolbar--compact,
body.theme-dark.admin-shell .content-card,
body.theme-dark.admin-shell .news-empty,
body.theme-dark.admin-shell .content-editor .cms-panel,
body.theme-dark.admin-shell .content-editor--polished .cms-panel,
body.theme-dark.admin-shell .category-manager,
body.theme-dark.admin-shell .category-row {
  background:#141a22!important;
  color:#f5f7fb!important;
  border-color:#283241!important;
  box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
body.theme-dark.admin-shell .content-tabs a,
body.theme-dark.admin-shell .cms-shell .content-tabs a {
  background:#141a22!important;
  color:#f5f7fb!important;
  border-color:#344054!important;
  box-shadow:0 10px 22px rgba(0,0,0,.18)!important;
}
body.theme-dark.admin-shell .content-tabs a:hover,
body.theme-dark.admin-shell .cms-shell .content-tabs a:hover {
  background:#202734!important;
  border-color:#435167!important;
}
body.theme-dark.admin-shell .content-tabs a.is-active,
body.theme-dark.admin-shell .cms-shell .content-tabs a.is-active {
  background:#0d1219!important;
  color:#fff!important;
  border-color:#435167!important;
  box-shadow:inset 0 -4px 0 var(--cms-lime,#d9ef22),0 10px 22px rgba(0,0,0,.22)!important;
}
body.theme-dark.admin-shell .content-tabs a strong,
body.theme-dark.admin-shell .cms-shell .content-tabs a strong {
  color:var(--cms-red,#e03142)!important;
}
body.theme-dark.admin-shell .content-card__body,
body.theme-dark.admin-shell .cms-shell .content-card__body {
  background:#141a22!important;
  color:#f5f7fb!important;
}
body.theme-dark.admin-shell .content-card__actions,
body.theme-dark.admin-shell .cms-shell .content-card__actions {
  background:#0f141c!important;
  border-color:#283241!important;
}
body.theme-dark.admin-shell .content-card h2,
body.theme-dark.admin-shell .content-card h3,
body.theme-dark.admin-shell .content-card__body h2,
body.theme-dark.admin-shell .cms-shell .content-card h2 {
  color:#f5f7fb!important;
}
body.theme-dark.admin-shell .content-card p,
body.theme-dark.admin-shell .cms-shell .content-card p,
body.theme-dark.admin-shell .content-card__meta,
body.theme-dark.admin-shell .cms-shell .content-card__meta,
body.theme-dark.admin-shell .content-toolbar label,
body.theme-dark.admin-shell .content-editor small,
body.theme-dark.admin-shell .content-editor .muted,
body.theme-dark.admin-shell .news-empty p {
  color:#aab6c5!important;
}
body.theme-dark.admin-shell .content-filter input,
body.theme-dark.admin-shell .content-filter select,
body.theme-dark.admin-shell .content-filter textarea,
body.theme-dark.admin-shell .content-editor input,
body.theme-dark.admin-shell .content-editor select,
body.theme-dark.admin-shell .content-editor textarea,
body.theme-dark.admin-shell .cms-shell .content-editor--polished input,
body.theme-dark.admin-shell .cms-shell .content-editor--polished select,
body.theme-dark.admin-shell .cms-shell .content-editor--polished textarea {
  background:#0d1219!important;
  color:#f5f7fb!important;
  border-color:#344054!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .content-filter input::placeholder,
body.theme-dark.admin-shell .content-editor input::placeholder,
body.theme-dark.admin-shell .content-editor textarea::placeholder {
  color:#7f8da3!important;
}
body.theme-dark.admin-shell .content-image-preview,
body.theme-dark.admin-shell .cms-shell .content-image-preview,
body.theme-dark.admin-shell .incident-check,
body.theme-dark.admin-shell .cms-shell .incident-check {
  background:#0d1219!important;
  color:#aab6c5!important;
  border-color:#344054!important;
}
body.theme-dark.admin-shell .btn-mini,
body.theme-dark.admin-shell .cms-shell .btn-mini,
body.theme-dark.admin-shell .content-card__actions .btn,
body.theme-dark.admin-shell .content-card__actions button {
  background:#0d1219!important;
  color:#f5f7fb!important;
  border-color:#344054!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
body.theme-dark.admin-shell .btn-mini:hover,
body.theme-dark.admin-shell .cms-shell .btn-mini:hover,
body.theme-dark.admin-shell .content-card__actions .btn:hover,
body.theme-dark.admin-shell .content-card__actions button:hover {
  background:#202734!important;
  color:var(--cms-lime,#d9ef22)!important;
  border-color:var(--cms-lime,#d9ef22)!important;
}
body.theme-dark.admin-shell .content-card__actions .link-danger,
body.theme-dark.admin-shell .content-card__actions a[href*="delete"],
body.theme-dark.admin-shell .link-danger {
  color:#ff9aa5!important;
}
body.theme-dark.admin-shell .content-card__actions .link-danger:hover,
body.theme-dark.admin-shell .content-card__actions a[href*="delete"]:hover,
body.theme-dark.admin-shell .link-danger:hover {
  color:#fff!important;
}
body.theme-dark.admin-shell .pill--draft { background:#293241!important;color:#cbd5e1!important; }
body.theme-dark.admin-shell .pill--published { background:#063f2a!important;color:#9ff0c0!important; }
body.theme-dark.admin-shell .pill--news { background:#082f49!important;color:#bae6fd!important; }
body.theme-dark.admin-shell .pill--incident { background:#4a1518!important;color:#fecaca!important; }
body.theme-dark.admin-shell .pill--event { background:#063f2a!important;color:#bbf7d0!important; }
body.theme-dark.admin-shell .pill--announcement { background:#442b07!important;color:#fde68a!important; }
body.theme-dark.admin-shell .pill--featured { background:var(--cms-lime,#d9ef22)!important;color:#101318!important; }

/* 2026-07-05: Global admin/owner dark-mode rules
   Covers system pages: Admin Users, SMTP, Security, Audit Log, Email Log,
   and any remaining CMS panels/cards/forms that were still using light surfaces. */
body.theme-dark.admin-shell {
  --cms-bg:#0b0f14;
  --cms-panel:#141a22;
  --cms-panel-2:#0f141c;
  --cms-card:#141a22;
  --cms-input:#0d1219;
  --cms-border:#283241;
  --cms-border-2:#344054;
  --cms-text:#f5f7fb;
  --cms-text-soft:#e6edf7;
  --cms-muted:#aab6c5;
}
body.theme-dark.admin-shell .cms-shell,
body.theme-dark.admin-shell .cms-main,
body.theme-dark.admin-shell .admin-main,
body.theme-dark.admin-shell .admin-layout {
  background:var(--cms-bg)!important;
  color:var(--cms-text)!important;
}
body.theme-dark.admin-shell .cms-page-head,
body.theme-dark.admin-shell .cms-page-head--split,
body.theme-dark.admin-shell .admin-hero,
body.theme-dark.admin-shell .admin-head,
body.theme-dark.admin-shell .cms-panel,
body.theme-dark.admin-shell .admin-card,
body.theme-dark.admin-shell .admin-card--wide,
body.theme-dark.admin-shell .admin-card--narrow,
body.theme-dark.admin-shell .admin-note,
body.theme-dark.admin-shell .empty-state,
body.theme-dark.admin-shell .admin-empty,
body.theme-dark.admin-shell .user-panel,
body.theme-dark.admin-shell .user-card,
body.theme-dark.admin-shell .user-security-note,
body.theme-dark.admin-shell .smtp-editor,
body.theme-dark.admin-shell .cms-security-wrap,
body.theme-dark.admin-shell .cms-toggle-row,
body.theme-dark.admin-shell .cms-upload,
body.theme-dark.admin-shell .cms-filter-bar,
body.theme-dark.admin-shell .admin-table-wrap,
body.theme-dark.admin-shell .table-card,
body.theme-dark.admin-shell .cms-media-grid > *,
body.theme-dark.admin-shell .brand-status-list,
body.theme-dark.admin-shell .category-form,
body.theme-dark.admin-shell .status-toggle,
body.theme-dark.admin-shell .user-editor-main,
body.theme-dark.admin-shell .user-editor-side {
  background:var(--cms-panel)!important;
  color:var(--cms-text)!important;
  border-color:var(--cms-border)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
body.theme-dark.admin-shell .cms-sticky-save,
body.theme-dark.admin-shell .user-save-bar,
body.theme-dark.admin-shell .form-actions.sticky-actions,
body.theme-dark.admin-shell .sticky-actions {
  background:rgba(20,26,34,.94)!important;
  color:var(--cms-text)!important;
  border-color:var(--cms-border)!important;
}
body.theme-dark.admin-shell .admin-stats .stat-card,
body.theme-dark.admin-shell .user-stats > *,
body.theme-dark.admin-shell .cms-stat,
body.theme-dark.admin-shell .stat-card,
body.theme-dark.admin-shell .admin-tile,
body.theme-dark.admin-shell .cms-card,
body.theme-dark.admin-shell .cms-grid-2 > *,
body.theme-dark.admin-shell .cms-metrics > *,
body.theme-dark.admin-shell .cms-module-grid > * {
  background:var(--cms-panel)!important;
  color:var(--cms-text)!important;
  border-color:var(--cms-border)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.20)!important;
}
body.theme-dark.admin-shell .admin-stats .stat-card strong,
body.theme-dark.admin-shell .user-stats strong,
body.theme-dark.admin-shell .cms-stat strong,
body.theme-dark.admin-shell .stat-card strong,
body.theme-dark.admin-shell .admin-tile b {
  color:var(--cms-red,var(--engine,#c1272d))!important;
}
body.theme-dark.admin-shell h1,
body.theme-dark.admin-shell h2,
body.theme-dark.admin-shell h3,
body.theme-dark.admin-shell h4,
body.theme-dark.admin-shell .admin-section,
body.theme-dark.admin-shell .admin-table__name,
body.theme-dark.admin-shell .user-card__topline,
body.theme-dark.admin-shell .user-card__body strong,
body.theme-dark.admin-shell label,
body.theme-dark.admin-shell legend,
body.theme-dark.admin-shell .cms-panel__head h2,
body.theme-dark.admin-shell .cms-toggle-row strong,
body.theme-dark.admin-shell .smtp-editor strong,
body.theme-dark.admin-shell .admin-card label,
body.theme-dark.admin-shell .install label {
  color:var(--cms-text)!important;
}
body.theme-dark.admin-shell p,
body.theme-dark.admin-shell small,
body.theme-dark.admin-shell .muted,
body.theme-dark.admin-shell .admin-table__meta,
body.theme-dark.admin-shell .cms-page-head p,
body.theme-dark.admin-shell .cms-page-head span,
body.theme-dark.admin-shell .cms-panel__head p,
body.theme-dark.admin-shell .user-card__meta,
body.theme-dark.admin-shell .user-card__dates,
body.theme-dark.admin-shell .admin-note p,
body.theme-dark.admin-shell .empty-state p,
body.theme-dark.admin-shell .admin-empty p,
body.theme-dark.admin-shell .cms-toggle-row span,
body.theme-dark.admin-shell .cms-toggle-row small,
body.theme-dark.admin-shell .form-hint,
body.theme-dark.admin-shell .help,
body.theme-dark.admin-shell .hint {
  color:var(--cms-muted)!important;
}
body.theme-dark.admin-shell hr,
body.theme-dark.admin-shell .admin-section,
body.theme-dark.admin-shell .cms-panel__head,
body.theme-dark.admin-shell .section-head,
body.theme-dark.admin-shell .user-card,
body.theme-dark.admin-shell .admin-table tr,
body.theme-dark.admin-shell .admin-table th,
body.theme-dark.admin-shell .admin-table td {
  border-color:var(--cms-border-2)!important;
}
body.theme-dark.admin-shell input,
body.theme-dark.admin-shell select,
body.theme-dark.admin-shell textarea,
body.theme-dark.admin-shell .admin-card input[type=text],
body.theme-dark.admin-shell .admin-card input[type=password],
body.theme-dark.admin-shell .admin-card input[type=email],
body.theme-dark.admin-shell .admin-card input[type=number],
body.theme-dark.admin-shell .admin-card input[type=date],
body.theme-dark.admin-shell .admin-card select,
body.theme-dark.admin-shell .admin-card textarea,
body.theme-dark.admin-shell .cms-panel input,
body.theme-dark.admin-shell .cms-panel select,
body.theme-dark.admin-shell .cms-panel textarea,
body.theme-dark.admin-shell .user-panel input,
body.theme-dark.admin-shell .user-panel select,
body.theme-dark.admin-shell .user-panel textarea,
body.theme-dark.admin-shell .smtp-editor input,
body.theme-dark.admin-shell .smtp-editor select,
body.theme-dark.admin-shell .smtp-editor textarea,
body.theme-dark.admin-shell .cms-filter-bar input,
body.theme-dark.admin-shell .cms-filter-bar select,
body.theme-dark.admin-shell .cms-filter-bar textarea {
  background:var(--cms-input)!important;
  color:var(--cms-text)!important;
  border-color:var(--cms-border-2)!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell input::placeholder,
body.theme-dark.admin-shell textarea::placeholder {
  color:#7f8da3!important;
  opacity:1!important;
}
body.theme-dark.admin-shell input[type="checkbox"],
body.theme-dark.admin-shell input[type="radio"] {
  accent-color:var(--cms-lime,var(--hivis,#d6e23c));
}
body.theme-dark.admin-shell .cms-toggle-row,
body.theme-dark.admin-shell .incident-check,
body.theme-dark.admin-shell .checkbox-row,
body.theme-dark.admin-shell label.checkbox,
body.theme-dark.admin-shell label.radio,
body.theme-dark.admin-shell .admin-card .radio {
  background:var(--cms-panel-2)!important;
  color:var(--cms-text)!important;
  border-color:var(--cms-border-2)!important;
}
body.theme-dark.admin-shell .admin-table,
body.theme-dark.admin-shell table {
  background:var(--cms-panel)!important;
  color:var(--cms-text)!important;
  border-color:var(--cms-border)!important;
}
body.theme-dark.admin-shell thead,
body.theme-dark.admin-shell th {
  background:var(--cms-panel-2)!important;
  color:var(--cms-muted)!important;
}
body.theme-dark.admin-shell tbody tr,
body.theme-dark.admin-shell td {
  background:var(--cms-panel)!important;
  color:var(--cms-text-soft)!important;
}
body.theme-dark.admin-shell tbody tr:hover td {
  background:#18202b!important;
}
body.theme-dark.admin-shell .user-card {
  background:var(--cms-panel)!important;
}
body.theme-dark.admin-shell .user-card__avatar {
  background:#0d1219!important;
  color:var(--cms-lime,var(--hivis,#d6e23c))!important;
  border-color:var(--cms-border-2)!important;
}
body.theme-dark.admin-shell .btn,
body.theme-dark.admin-shell button,
body.theme-dark.admin-shell .admin-table__actions a,
body.theme-dark.admin-shell .user-card__actions a,
body.theme-dark.admin-shell .user-card__actions button,
body.theme-dark.admin-shell .form-actions a,
body.theme-dark.admin-shell .btn--secondary,
body.theme-dark.admin-shell .btn--ghost {
  border-color:var(--cms-border-2)!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .btn:not(.btn--hivis):not(.btn--danger),
body.theme-dark.admin-shell .btn--secondary,
body.theme-dark.admin-shell .btn--ghost,
body.theme-dark.admin-shell .user-card__actions a,
body.theme-dark.admin-shell .user-card__actions button,
body.theme-dark.admin-shell .admin-table__actions a,
body.theme-dark.admin-shell .admin-table__actions button {
  background:#0d1219!important;
  color:var(--cms-text)!important;
}
body.theme-dark.admin-shell .btn:not(.btn--hivis):not(.btn--danger):hover,
body.theme-dark.admin-shell .btn--secondary:hover,
body.theme-dark.admin-shell .btn--ghost:hover,
body.theme-dark.admin-shell .user-card__actions a:hover,
body.theme-dark.admin-shell .user-card__actions button:hover,
body.theme-dark.admin-shell .admin-table__actions a:hover,
body.theme-dark.admin-shell .admin-table__actions button:hover {
  background:#202734!important;
  color:var(--cms-lime,var(--hivis,#d6e23c))!important;
  border-color:var(--cms-lime,var(--hivis,#d6e23c))!important;
}
body.theme-dark.admin-shell .btn--hivis {
  background:var(--cms-lime,var(--hivis,#d6e23c))!important;
  color:#101318!important;
  border-color:var(--cms-lime,var(--hivis,#d6e23c))!important;
}
body.theme-dark.admin-shell .btn--danger,
body.theme-dark.admin-shell .danger,
body.theme-dark.admin-shell a[href*="delete"] {
  color:#ff9aa5!important;
  border-color:#5d2831!important;
}
body.theme-dark.admin-shell .btn--danger:hover,
body.theme-dark.admin-shell a[href*="delete"]:hover {
  background:#7a1d2a!important;
  color:#fff!important;
  border-color:#c6202f!important;
}
body.theme-dark.admin-shell .form-error,
body.theme-dark.admin-shell .user-form-error {
  background:#2b1519!important;
  color:#fecaca!important;
  border-color:#7a1d2a!important;
}
body.theme-dark.admin-shell .form-success {
  background:#062d1f!important;
  color:#bbf7d0!important;
  border-color:#0f6b45!important;
}
body.theme-dark.admin-shell .pill,
body.theme-dark.admin-shell .badge,
body.theme-dark.admin-shell .tag {
  border-color:var(--cms-border-2)!important;
}
body.theme-dark.admin-shell .cms-tab-nav,
body.theme-dark.admin-shell .cms-section-nav,
body.theme-dark.admin-shell .security-tabs,
body.theme-dark.admin-shell .security-nav {
  background:var(--cms-panel)!important;
  color:var(--cms-text)!important;
  border-color:var(--cms-border)!important;
}
body.theme-dark.admin-shell .cms-tab-nav a,
body.theme-dark.admin-shell .cms-section-nav a,
body.theme-dark.admin-shell .security-tabs a,
body.theme-dark.admin-shell .security-nav a {
  color:var(--cms-text-soft)!important;
  background:transparent!important;
}
body.theme-dark.admin-shell .cms-tab-nav a:hover,
body.theme-dark.admin-shell .cms-section-nav a:hover,
body.theme-dark.admin-shell .security-tabs a:hover,
body.theme-dark.admin-shell .security-nav a:hover,
body.theme-dark.admin-shell .cms-tab-nav a.is-active,
body.theme-dark.admin-shell .cms-section-nav a.is-active,
body.theme-dark.admin-shell .security-tabs a.is-active,
body.theme-dark.admin-shell .security-nav a.is-active {
  background:#202734!important;
  color:#fff!important;
}

/* Navigation editor polish + dark-mode fixes */
.nav-edit-layout .cms-panel,
.nav-edit-form,
.link-picker {
  border-radius:22px!important;
}
.nav-edit-form .nav-form-grid label,
.nav-edit-form .icon-picker-field,
.nav-edit-form .span-2 {
  color:var(--cms-text,#101318)!important;
  font-weight:900!important;
}
.nav-edit-form input,
.nav-edit-form select,
.nav-edit-form textarea {
  width:100%!important;
  min-height:52px!important;
  border-radius:14px!important;
  border:1px solid var(--cms-line,#d9dee7)!important;
  background:#fff!important;
  color:#101318!important;
  padding:12px 14px!important;
  font:inherit!important;
  font-weight:800!important;
  box-shadow:none!important;
}
.nav-edit-form input:focus,
.nav-edit-form select:focus,
.nav-edit-form textarea:focus {
  outline:none!important;
  border-color:var(--cms-lime,#d9ef22)!important;
  box-shadow:0 0 0 3px rgba(217,239,34,.20)!important;
}
.icon-picker-field label {display:block!important;margin-bottom:8px!important;}
.icon-picker {
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  border:1px solid var(--cms-line,#d9dee7)!important;
  background:#fff!important;
  border-radius:16px!important;
  padding:10px!important;
}
.icon-choice {
  min-width:44px!important;
  height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid var(--cms-line,#d9dee7)!important;
  background:#f8fafc!important;
  color:#101318!important;
  border-radius:12px!important;
  cursor:pointer!important;
  font-weight:900!important;
  line-height:1!important;
  padding:0 10px!important;
}
.icon-choice:hover,
.icon-choice.is-selected {
  background:#101318!important;
  color:var(--cms-lime,#d9ef22)!important;
  border-color:#101318!important;
}
.link-picker .link-picker__list {max-height:640px!important;overflow:auto!important;padding-right:4px!important;}
.link-preset {color:#101318!important;}
.link-preset span {color:#667085!important;}
body.theme-dark.admin-shell .nav-edit-form,
body.theme-dark.admin-shell .link-picker,
body.theme-dark.admin-shell .nav-edit-layout .cms-panel {
  background:var(--cms-panel,#141b24)!important;
  border-color:var(--cms-border,#2b3443)!important;
  color:var(--cms-text,#f8fafc)!important;
}
body.theme-dark.admin-shell .nav-edit-form .nav-form-grid label,
body.theme-dark.admin-shell .nav-edit-form .icon-picker-field,
body.theme-dark.admin-shell .nav-edit-form .span-2,
body.theme-dark.admin-shell .link-picker h2,
body.theme-dark.admin-shell .switch-row span {
  color:var(--cms-text,#f8fafc)!important;
}
body.theme-dark.admin-shell .field-hint,
body.theme-dark.admin-shell .link-picker .muted {
  color:var(--cms-muted,#94a3b8)!important;
}
body.theme-dark.admin-shell .nav-edit-form input,
body.theme-dark.admin-shell .nav-edit-form select,
body.theme-dark.admin-shell .nav-edit-form textarea {
  background:var(--cms-input,#0b1017)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border-2,#334155)!important;
}
body.theme-dark.admin-shell .icon-picker,
body.theme-dark.admin-shell .switch-row,
body.theme-dark.admin-shell .link-preset,
body.theme-dark.admin-shell .sticky-actions {
  background:var(--cms-panel-2,#101720)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border-2,#334155)!important;
}
body.theme-dark.admin-shell .icon-choice {
  background:var(--cms-input,#0b1017)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border-2,#334155)!important;
}
body.theme-dark.admin-shell .icon-choice:hover,
body.theme-dark.admin-shell .icon-choice.is-selected {
  background:var(--cms-lime,#d9ef22)!important;
  color:#101318!important;
  border-color:var(--cms-lime,#d9ef22)!important;
}
body.theme-dark.admin-shell .link-preset:hover {
  background:#1b2430!important;
  border-color:var(--cms-lime,#d9ef22)!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .link-preset strong {color:var(--cms-text,#f8fafc)!important;}
body.theme-dark.admin-shell .link-preset span {color:var(--cms-muted,#94a3b8)!important;}
body.theme-dark.admin-shell .sticky-actions {
  background:rgba(20,27,36,.96)!important;
}
body.theme-dark.admin-shell .nav-edit-form input::placeholder,
body.theme-dark.admin-shell .nav-edit-form textarea::placeholder {color:#738197!important;opacity:1!important;}

/* Security settings dark mode polish */
body.theme-dark.admin-shell .cms-security-wrap,
body.theme-dark.admin-shell .settings-content {
  color:var(--cms-text,#f8fafc)!important;
}
body.theme-dark.admin-shell .settings-tabs {
  background:var(--cms-panel,#141a22)!important;
  border-color:var(--cms-border,#283241)!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .settings-tabs a {
  color:var(--cms-text-soft,#dbe4ef)!important;
  background:transparent!important;
}
body.theme-dark.admin-shell .settings-tabs a:hover,
body.theme-dark.admin-shell .settings-tabs a.is-active {
  background:#202734!important;
  color:#fff!important;
}
body.theme-dark.admin-shell .settings-content .cms-panel,
body.theme-dark.admin-shell .cms-security-wrap .cms-panel,
body.theme-dark.admin-shell .settings-content .info-card,
body.theme-dark.admin-shell .cms-security-wrap .info-card {
  background:var(--cms-panel,#141a22)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border,#283241)!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .settings-content .cms-panel__head,
body.theme-dark.admin-shell .cms-security-wrap .cms-panel__head {
  border-color:var(--cms-border,#283241)!important;
}
body.theme-dark.admin-shell .settings-content .cms-panel__head p,
body.theme-dark.admin-shell .cms-security-wrap .cms-panel__head p,
body.theme-dark.admin-shell .settings-content small,
body.theme-dark.admin-shell .cms-security-wrap small,
body.theme-dark.admin-shell .settings-content .info-card,
body.theme-dark.admin-shell .cms-security-wrap .info-card {
  color:var(--cms-muted,#94a3b8)!important;
}
body.theme-dark.admin-shell .settings-content label,
body.theme-dark.admin-shell .cms-security-wrap label,
body.theme-dark.admin-shell .settings-content h2,
body.theme-dark.admin-shell .cms-security-wrap h2,
body.theme-dark.admin-shell .settings-content h3,
body.theme-dark.admin-shell .cms-security-wrap h3 {
  color:var(--cms-text,#f8fafc)!important;
}
body.theme-dark.admin-shell .settings-content input,
body.theme-dark.admin-shell .settings-content select,
body.theme-dark.admin-shell .settings-content textarea,
body.theme-dark.admin-shell .cms-security-wrap input,
body.theme-dark.admin-shell .cms-security-wrap select,
body.theme-dark.admin-shell .cms-security-wrap textarea {
  background:var(--cms-input,#0b1017)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border-2,#344054)!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .settings-content input:focus,
body.theme-dark.admin-shell .settings-content select:focus,
body.theme-dark.admin-shell .settings-content textarea:focus,
body.theme-dark.admin-shell .cms-security-wrap input:focus,
body.theme-dark.admin-shell .cms-security-wrap select:focus,
body.theme-dark.admin-shell .cms-security-wrap textarea:focus {
  outline:none!important;
  border-color:var(--cms-lime,#d9ef22)!important;
  box-shadow:0 0 0 3px rgba(217,239,34,.16)!important;
}
body.theme-dark.admin-shell .settings-content .check-row,
body.theme-dark.admin-shell .cms-security-wrap .check-row {
  background:var(--cms-panel-2,#101720)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border-2,#344054)!important;
}
body.theme-dark.admin-shell .settings-content .check-row input,
body.theme-dark.admin-shell .cms-security-wrap .check-row input {
  width:auto!important;
  min-height:auto!important;
  accent-color:var(--cms-lime,#d9ef22)!important;
}
body.theme-dark.admin-shell .settings-content .sticky-actions,
body.theme-dark.admin-shell .cms-security-wrap .sticky-actions {
  background:rgba(20,26,34,.96)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border,#283241)!important;
}
body.theme-dark.admin-shell .settings-content .btn:not(.btn--hivis),
body.theme-dark.admin-shell .cms-security-wrap .btn:not(.btn--hivis) {
  background:#0d1219!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border-2,#344054)!important;
}
body.theme-dark.admin-shell .settings-content .btn:not(.btn--hivis):hover,
body.theme-dark.admin-shell .cms-security-wrap .btn:not(.btn--hivis):hover {
  border-color:var(--cms-lime,#d9ef22)!important;
  color:var(--cms-lime,#d9ef22)!important;
}


/* 2026-07-05: Coverage Area add/edit polish + icon picker */
.coverage-editor {
  padding:0!important;
  overflow:hidden!important;
}
.coverage-editor__grid {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr);
  gap:0;
}
.coverage-editor__main,
.coverage-editor__side {
  padding:28px;
}
.coverage-editor__side {
  border-left:1px solid var(--cms-line,#d9dee7);
  background:#fbfcfe;
}
.coverage-form-grid label,
.coverage-editor__side label,
.coverage-switch-row {
  color:var(--cms-text,#101318)!important;
  font-weight:900!important;
}
.coverage-form-grid input,
.coverage-form-grid select,
.coverage-form-grid textarea,
.coverage-editor__side input,
.coverage-editor__side select,
.coverage-editor__side textarea {
  width:100%!important;
  min-height:52px!important;
  border-radius:14px!important;
  border:1px solid var(--cms-line,#d9dee7)!important;
  background:#fff!important;
  color:#101318!important;
  padding:12px 14px!important;
  font:inherit!important;
  font-weight:800!important;
  box-shadow:none!important;
  margin-top:7px!important;
}
.coverage-form-grid textarea {
  min-height:150px!important;
  line-height:1.55!important;
}
.coverage-form-grid input:focus,
.coverage-form-grid textarea:focus,
.coverage-editor__side input:focus {
  outline:none!important;
  border-color:var(--cms-lime,#d9ef22)!important;
  box-shadow:0 0 0 3px rgba(217,239,34,.20)!important;
}
.coverage-switch-row {
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:52px!important;
  margin:0!important;
  padding:12px 14px!important;
  border:1px solid var(--cms-line,#d9dee7)!important;
  border-radius:14px!important;
  background:#fff!important;
}
.coverage-switch-row input {width:auto!important;min-height:auto!important;margin:0!important;accent-color:var(--cms-lime,#d9ef22)!important;}
.coverage-image-preview {margin-bottom:14px!important;border-radius:18px!important;overflow:hidden!important;background:#f2f4f7!important;border:1px solid var(--cms-line,#d9dee7)!important;}
.coverage-image-preview img {width:100%!important;max-height:220px!important;object-fit:cover!important;display:block!important;border:0!important;border-radius:0!important;}
.coverage-image-empty {
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  border-radius:18px;
  border:1px dashed var(--cms-line,#d9dee7);
  background:#fff;
  color:var(--cms-muted,#667085);
  font-weight:900;
}
.coverage-editor .cms-sticky-save {
  padding:16px 28px!important;
  margin:0!important;
}
body.theme-dark.admin-shell .coverage-editor,
body.theme-dark.admin-shell .coverage-editor__main {
  background:var(--cms-panel,#141a22)!important;
  color:var(--cms-text,#f8fafc)!important;
}
body.theme-dark.admin-shell .coverage-editor__side {
  background:var(--cms-panel-2,#101720)!important;
  border-color:var(--cms-border,#283241)!important;
  color:var(--cms-text,#f8fafc)!important;
}
body.theme-dark.admin-shell .coverage-form-grid label,
body.theme-dark.admin-shell .coverage-editor__side label,
body.theme-dark.admin-shell .coverage-switch-row,
body.theme-dark.admin-shell .coverage-editor .cms-panel__head h2 {
  color:var(--cms-text,#f8fafc)!important;
}
body.theme-dark.admin-shell .coverage-editor .cms-panel__head p,
body.theme-dark.admin-shell .coverage-editor small,
body.theme-dark.admin-shell .coverage-editor .field-hint {
  color:var(--cms-muted,#94a3b8)!important;
}
body.theme-dark.admin-shell .coverage-form-grid input,
body.theme-dark.admin-shell .coverage-form-grid select,
body.theme-dark.admin-shell .coverage-form-grid textarea,
body.theme-dark.admin-shell .coverage-editor__side input,
body.theme-dark.admin-shell .coverage-editor__side select,
body.theme-dark.admin-shell .coverage-editor__side textarea {
  background:var(--cms-input,#0b1017)!important;
  color:var(--cms-text,#f8fafc)!important;
  border-color:var(--cms-border-2,#344054)!important;
  box-shadow:none!important;
}
body.theme-dark.admin-shell .coverage-form-grid input::placeholder,
body.theme-dark.admin-shell .coverage-form-grid textarea::placeholder,
body.theme-dark.admin-shell .coverage-editor__side input::placeholder {
  color:#738197!important;
  opacity:1!important;
}
body.theme-dark.admin-shell .coverage-switch-row,
body.theme-dark.admin-shell .coverage-image-empty,
body.theme-dark.admin-shell .coverage-image-preview {
  background:var(--cms-input,#0b1017)!important;
  color:var(--cms-muted,#94a3b8)!important;
  border-color:var(--cms-border-2,#344054)!important;
}
body.theme-dark.admin-shell .coverage-editor .cms-sticky-save {
  background:rgba(20,27,36,.96)!important;
  border-color:var(--cms-border,#283241)!important;
}
@media(max-width:1000px){.coverage-editor__grid{grid-template-columns:1fr}.coverage-editor__side{border-left:0;border-top:1px solid var(--cms-line,#d9dee7)}}

/* Navigation drag/drop autosave polish */
.nav-save-status{font-size:.92rem;margin-top:8px!important;font-weight:800!important;letter-spacing:.02em!important}
.nav-save-status[data-state="saving"]{color:#b88900!important}
.nav-save-status[data-state="saved"]{color:#16803a!important}
.nav-save-status[data-state="error"]{color:#d92d20!important}
.nav-save-status[data-state="moving"]{color:var(--cms-lime,#d9ef22)!important}
.nav-node.is-dragging{opacity:.55!important;outline:2px dashed var(--cms-lime,#d9ef22)!important}
.nav-node.is-drop-target{outline:2px solid var(--cms-lime,#d9ef22)!important;box-shadow:0 0 0 4px rgba(217,239,34,.16)!important}
.nav-children{transition:border-color .15s ease, background .15s ease!important}
.nav-children:hover{border-color:var(--cms-lime,#d9ef22)!important}
body.theme-dark.admin-shell .nav-save-status[data-state="saving"]{color:#ffd166!important}
body.theme-dark.admin-shell .nav-save-status[data-state="saved"]{color:#7ee787!important}
body.theme-dark.admin-shell .nav-save-status[data-state="error"]{color:#ff8585!important}
body.theme-dark.admin-shell .drag-handle{background:#0d1219!important;color:#f5f7fb!important;border-color:#344054!important}
body.theme-dark.admin-shell .nav-children{background:#0d1219!important;border-color:#344054!important}
body.theme-dark.admin-shell .nav-children:empty:before{color:#8d99aa!important}

/* Footer link manager rendering */
.footer-link-list {
    list-style: none;
    padding: 0;
    margin: .25rem 0 0;
    display: grid;
    gap: .45rem;
}
.footer-link-list li { margin: 0; }
.footer-link-list a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    line-height: 1.35;
    text-decoration: none;
    color: #fff;
    opacity: .92;
}
.footer-link-list a:hover { opacity: 1; color: var(--hivis); }
.footer-link-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    font-size: .95rem;
}
.footer-link-list--children {
    margin: .35rem 0 .25rem 1.5rem;
    gap: .32rem;
    font-size: .92rem;
    opacity: .9;
}
.footer-link-list--children a::before {
    content: "↳";
    color: var(--hivis);
    margin-right: .1rem;
}
.footer-link-list--quick a {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: .045em;
    font-weight: 700;
}
.site-footer__col--support p { max-width: 22rem; }
body.theme-dark.public-site .footer-link-list a { color: #f5f7fb; }
body.theme-dark.public-site .footer-link-list a:hover { color: var(--hivis); }

/* Navigation builder drag/drop reliability update */
.nav-tree,
.nav-children {
    touch-action: none;
}
.nav-node {
    user-select: none;
}
.drag-handle {
    cursor: grab !important;
    user-select: none !important;
    touch-action: none !important;
}
.drag-handle:active {
    cursor: grabbing !important;
}
.nav-node.is-dragging {
    opacity: .55 !important;
    transform: scale(.995) !important;
}
.nav-node.is-drop-target > .nav-node__main {
    box-shadow: inset 4px 0 0 var(--cms-lime,#d9ef22) !important;
}
.nav-save-status[data-state="saving"] { color: #b7791f !important; }
.nav-save-status[data-state="saved"] { color: #16803c !important; }
.nav-save-status[data-state="error"] { color: #dc2626 !important; }
body.theme-dark.admin-shell .nav-save-status[data-state="saved"] { color: #4ade80 !important; }
body.theme-dark.admin-shell .nav-save-status[data-state="saving"] { color: #facc15 !important; }
body.theme-dark.admin-shell .nav-save-status[data-state="error"] { color: #fb7185 !important; }

/* WordPress Import module */
.cms-import-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.cms-import-options{display:grid;gap:10px;margin:18px 0}.check-row--danger{border-color:rgba(185,21,39,.35)!important;background:rgba(185,21,39,.06)!important}.cms-import-help{position:sticky;top:88px}.cms-import-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.cms-import-list li{border:1px solid var(--cms-line);border-radius:16px;padding:12px 14px;background:var(--cms-soft,#fbfbfc)}.cms-import-list strong{display:block;font-family:var(--display);font-size:1.2rem;text-transform:uppercase}.cms-import-list span,.cms-import-help .muted{color:var(--cms-muted)}.cms-metrics--compact{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:0 0 18px}.cms-mini-metric{background:var(--cms-card,#fff);border:1px solid var(--cms-line);border-radius:18px;padding:16px}.cms-mini-metric strong{display:block;font-family:var(--display);font-size:2.4rem;color:var(--cms-red);line-height:1}.cms-mini-metric span{font-weight:800;color:var(--cms-muted);font-size:.9rem}.cms-log-box{border:1px solid var(--cms-line);border-radius:18px;background:var(--cms-soft,#fbfbfc);padding:14px;display:grid;gap:8px;max-height:340px;overflow:auto}.flash--error{border-color:rgba(185,21,39,.35);background:rgba(185,21,39,.08);color:#b91527}body.theme-dark.admin-shell .cms-import-list li,body.theme-dark.admin-shell .cms-log-box,body.theme-dark.admin-shell .cms-mini-metric{background:#151922;border-color:#303846}body.theme-dark.admin-shell .check-row--danger{background:rgba(248,113,113,.08)!important;border-color:rgba(248,113,113,.25)!important}body.theme-dark.admin-shell .flash--error{background:rgba(248,113,113,.12);border-color:rgba(248,113,113,.3);color:#fca5a5}@media(max-width:1050px){.cms-import-layout{grid-template-columns:1fr}.cms-import-help{position:static}}

/* 2026-07-05: WordPress Import page polish + dark mode alignment */
.wp-import-page {
  display:grid;
  gap:18px;
}
.wp-import-hero {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.wp-import-hero__meta {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.wp-import-pill {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#f3f5f8;
  border:1px solid var(--cms-line,#d9dee7);
  color:#344054;
  font-weight:800;
  font-size:.9rem;
}
.wp-import-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:18px;
  align-items:start;
}
.wp-import-source {
  display:grid;
  gap:18px;
}
.wp-import-url-card,
.wp-import-options-card,
.wp-import-danger-card,
.wp-import-results-card,
.wp-import-help-card,
.wp-import-map-card {
  background:#fff;
  border:1px solid var(--cms-line,#d9dee7);
  border-radius:22px;
  padding:22px;
  box-shadow:0 12px 30px rgba(16,19,24,.05);
}
.wp-import-section-title {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding-bottom:14px;
  margin-bottom:16px;
  border-bottom:1px solid var(--cms-line,#d9dee7);
}
.wp-import-section-title h2 {
  font-family:var(--display);
  font-size:1.8rem;
  line-height:1;
  text-transform:uppercase;
  margin:0 0 4px;
}
.wp-import-section-title p {
  margin:0;
  color:var(--cms-muted,#667085);
}
.wp-import-step {
  width:34px;
  height:34px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--cms-lime,#d9ef22);
  color:#101318;
  font-family:var(--display);
  font-weight:900;
  font-size:1.25rem;
  flex:0 0 auto;
}
.wp-import-field label,
.wp-import-url-card label {
  margin:0!important;
}
.wp-import-url-card input[type=url],
.wp-import-url-card input[type=text],
.wp-import-url-card input[type=email],
.wp-import-url-card input[type=number],
.wp-import-url-card select,
.wp-import-url-card textarea {
  display:block;
  width:100%;
  margin-top:8px;
  padding:13px 14px;
  border:1px solid var(--cms-line,#d9dee7);
  border-radius:14px;
  background:#fff;
  color:#101318;
  font:inherit;
  font-weight:700;
}
.wp-import-option-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.wp-import-option {
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px!important;
  align-items:start!important;
  margin:0!important;
  padding:16px!important;
  background:#f8fafc!important;
  border:1px solid #d9dee7!important;
  border-radius:16px!important;
  color:#101318!important;
  font-weight:800!important;
}
.wp-import-option input {
  width:auto!important;
  margin:4px 0 0!important;
}
.wp-import-option strong {
  display:block;
  color:inherit;
  font-weight:900;
  line-height:1.2;
}
.wp-import-option span {
  display:block;
  color:var(--cms-muted,#667085);
  font-weight:600;
  font-size:.92rem;
  line-height:1.45;
  margin-top:4px;
}
.wp-import-danger-card {
  border-color:rgba(185,21,39,.25);
  background:rgba(185,21,39,.05);
}
.wp-import-danger-card label {
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px!important;
  margin:0!important;
  color:#7f1d1d!important;
}
.wp-import-danger-card input {
  width:auto!important;
  margin:3px 0 0!important;
}
.wp-import-danger-card strong {
  display:block;
}
.wp-import-danger-card span {
  display:block;
  color:#9f1239;
  font-weight:600;
  margin-top:3px;
}
.wp-import-actionbar {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  padding:16px;
  border:1px solid var(--cms-line,#d9dee7);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(16,19,24,.05);
}
.wp-import-help {
  position:sticky;
  top:88px;
  display:grid;
  gap:14px;
}
.wp-import-map-card h3,
.wp-import-help-card h2 {
  font-family:var(--display);
  text-transform:uppercase;
  font-size:1.65rem;
  line-height:1;
  margin:0 0 8px;
}
.wp-import-help-card p,
.wp-import-map-card p {
  color:var(--cms-muted,#667085);
  margin:0;
}
.wp-import-list {
  list-style:none;
  margin:16px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}
.wp-import-list li {
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  gap:12px;
  align-items:start;
  background:#f8fafc;
  border:1px solid var(--cms-line,#d9dee7);
  border-radius:16px;
  padding:14px;
}
.wp-import-list i {
  width:36px;
  height:36px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#101318;
  color:var(--cms-lime,#d9ef22);
  font-style:normal;
}
.wp-import-list strong {
  display:block;
  font-family:var(--display);
  font-size:1.18rem;
  line-height:1;
  text-transform:uppercase;
  color:#101318;
}
.wp-import-list span {
  display:block;
  color:var(--cms-muted,#667085);
  font-weight:600;
  margin-top:4px;
}
.wp-import-results-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:12px;
  margin-bottom:16px;
}
.wp-import-result-metric {
  background:#f8fafc;
  border:1px solid var(--cms-line,#d9dee7);
  border-radius:16px;
  padding:16px;
}
.wp-import-result-metric strong {
  display:block;
  font-family:var(--display);
  font-size:2.4rem;
  line-height:1;
  color:var(--cms-red,#c6202f);
}
.wp-import-result-metric span {
  display:block;
  color:var(--cms-muted,#667085);
  font-weight:800;
  margin-top:5px;
}
.wp-import-log {
  max-height:340px;
  overflow:auto;
  display:grid;
  gap:8px;
  background:#101318;
  color:#e6edf7;
  border-radius:16px;
  border:1px solid #293241;
  padding:14px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:.9rem;
}
.wp-import-log div {
  padding:7px 9px;
  border-radius:10px;
  background:rgba(255,255,255,.04);
}
body.theme-dark.admin-shell .wp-import-hero,
body.theme-dark.admin-shell .wp-import-url-card,
body.theme-dark.admin-shell .wp-import-options-card,
body.theme-dark.admin-shell .wp-import-danger-card,
body.theme-dark.admin-shell .wp-import-results-card,
body.theme-dark.admin-shell .wp-import-help-card,
body.theme-dark.admin-shell .wp-import-map-card,
body.theme-dark.admin-shell .wp-import-actionbar {
  background:#141a22!important;
  color:#f5f7fb!important;
  border-color:#283241!important;
  box-shadow:0 12px 30px rgba(0,0,0,.24)!important;
}
body.theme-dark.admin-shell .wp-import-pill,
body.theme-dark.admin-shell .wp-import-option,
body.theme-dark.admin-shell .wp-import-list li,
body.theme-dark.admin-shell .wp-import-result-metric {
  background:#0f141c!important;
  color:#f5f7fb!important;
  border-color:#344054!important;
}
body.theme-dark.admin-shell .wp-import-option strong,
body.theme-dark.admin-shell .wp-import-list strong,
body.theme-dark.admin-shell .wp-import-section-title h2,
body.theme-dark.admin-shell .wp-import-help-card h2,
body.theme-dark.admin-shell .wp-import-map-card h3 {
  color:#f5f7fb!important;
}
body.theme-dark.admin-shell .wp-import-option span,
body.theme-dark.admin-shell .wp-import-list span,
body.theme-dark.admin-shell .wp-import-section-title p,
body.theme-dark.admin-shell .wp-import-help-card p,
body.theme-dark.admin-shell .wp-import-map-card p,
body.theme-dark.admin-shell .wp-import-pill,
body.theme-dark.admin-shell .wp-import-result-metric span {
  color:#aab6c5!important;
}
body.theme-dark.admin-shell .wp-import-url-card input[type=url],
body.theme-dark.admin-shell .wp-import-url-card input[type=text],
body.theme-dark.admin-shell .wp-import-url-card input[type=email],
body.theme-dark.admin-shell .wp-import-url-card input[type=number],
body.theme-dark.admin-shell .wp-import-url-card select,
body.theme-dark.admin-shell .wp-import-url-card textarea {
  background:#0d1219!important;
  color:#f5f7fb!important;
  border-color:#344054!important;
}
body.theme-dark.admin-shell .wp-import-danger-card {
  background:rgba(248,113,113,.08)!important;
  border-color:rgba(248,113,113,.28)!important;
}
body.theme-dark.admin-shell .wp-import-danger-card label,
body.theme-dark.admin-shell .wp-import-danger-card strong {
  color:#fecaca!important;
}
body.theme-dark.admin-shell .wp-import-danger-card span {
  color:#fca5a5!important;
}
body.theme-dark.admin-shell .wp-import-section-title {
  border-color:#344054!important;
}
body.theme-dark.admin-shell .wp-import-log {
  background:#0b0f14!important;
  border-color:#344054!important;
  color:#d8e1ee!important;
}
@media(max-width:1100px){
  .wp-import-layout{grid-template-columns:1fr}
  .wp-import-help{position:static}
}
@media(max-width:720px){
  .wp-import-option-grid{grid-template-columns:1fr}
  .wp-import-hero{display:block}
  .wp-import-actionbar{justify-content:stretch}
  .wp-import-actionbar .btn{width:100%}
}

/* VFD CMS Media Library v0.9.2 */
.media-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.media-quick-upload{margin:0}.media-quick-upload .btn{cursor:pointer}.media-metrics a{cursor:default}.media-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 170px 220px auto auto;gap:14px;align-items:end}.media-toolbar label{margin:0!important}.media-library-panel .cms-panel__head code{padding:2px 6px;border-radius:7px;background:rgba(16,19,24,.06)}.media-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.media-asset-card{background:var(--cms-panel,#fff);border:1px solid var(--cms-line);border-radius:22px;overflow:hidden;box-shadow:0 12px 26px rgba(16,19,24,.05);display:flex;flex-direction:column;min-width:0}.media-preview{border:0;background:linear-gradient(135deg,#11151b,#252b35);height:178px;width:100%;display:grid;place-items:center;position:relative;cursor:pointer;padding:0;overflow:hidden}.media-preview:after{content:'Copy URL';position:absolute;right:10px;bottom:10px;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;background:rgba(0,0,0,.65);color:#fff;border-radius:999px;padding:6px 8px;opacity:0;transform:translateY(5px);transition:.18s}.media-preview:hover:after,.media-preview.copied:after{opacity:1;transform:none}.media-preview.copied:after{content:'Copied';background:#12b76a}.media-preview img{width:100%;height:100%;object-fit:cover;display:block}.media-file-icon{font-family:var(--display);font-size:2.5rem;color:var(--cms-lime)}.media-asset-body{padding:15px;display:grid;gap:9px;min-width:0}.media-asset-body strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--cms-text);font-weight:900}.media-asset-body p{margin:0;color:var(--cms-muted);font-size:.88rem;line-height:1.35}.media-asset-body input{font-size:.78rem!important;border-radius:10px!important;padding:9px 10px!important}.media-used{display:grid;gap:6px;border-top:1px solid var(--cms-line);padding-top:10px}.media-used b{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--cms-muted)}.media-used span{font-size:.82rem;background:rgba(217,239,34,.13);color:var(--cms-text);border:1px solid rgba(217,239,34,.35);border-radius:999px;padding:5px 8px;width:max-content;max-width:100%}.media-unused{font-size:.82rem;color:var(--cms-muted);border-top:1px solid var(--cms-line);padding-top:10px}.media-empty{text-align:center;padding:44px}.media-empty h3{font-family:var(--display);font-size:2rem;margin:0 0 8px;text-transform:uppercase}
body.theme-dark.admin-shell .media-toolbar-panel,body.theme-dark.admin-shell .media-library-panel,body.theme-dark.admin-shell .media-asset-card{background:#141a22!important;color:#f5f7fb!important;border-color:#283241!important}body.theme-dark.admin-shell .media-preview{background:linear-gradient(135deg,#0d1219,#1b2330)!important}body.theme-dark.admin-shell .media-asset-body strong,body.theme-dark.admin-shell .media-used span{color:#f5f7fb!important}body.theme-dark.admin-shell .media-library-panel .cms-panel__head code{background:#0d1219!important;color:#d8e2f0!important}body.theme-dark.admin-shell .media-asset-body input{background:#0d1219!important;color:#f5f7fb!important;border-color:#344054!important}body.theme-dark.admin-shell .media-toolbar label{color:#f5f7fb!important}body.theme-dark.admin-shell .media-unused,body.theme-dark.admin-shell .media-asset-body p,body.theme-dark.admin-shell .media-used b{color:#b8c1ce!important}
@media(max-width:900px){.media-head{display:block}.media-head .media-quick-upload{margin-top:18px}.media-toolbar{grid-template-columns:1fr 1fr}.media-toolbar label:first-child{grid-column:1/-1}}@media(max-width:600px){.media-toolbar{grid-template-columns:1fr}.media-asset-grid{grid-template-columns:1fr}}
