:root{--navy:#07152f;--navy2:#0d2349;--red:#c4162a;--red2:#e11d2f;--gold:#f5c21a;--cream:#fff7e6;--ink:#101827;--muted:#667085;--line:#e5e7eb;--bg:#f8fafc;--card:#fff;--shadow:0 24px 70px rgba(7,21,47,.16);--r:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}.container{max-width:1180px;margin:auto;padding:0 20px}a{color:inherit}.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;z-index:99;background:#fff;padding:.6rem}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid rgba(7,21,47,.1)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 20px}.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none}.brand img{width:54px;height:54px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--gold)}.brand strong{display:block;font-weight:900;letter-spacing:.02em}.brand small{display:block;color:var(--muted);font-size:.82rem}.main-nav{display:flex;align-items:center;gap:.35rem}.main-nav a{text-decoration:none;padding:.65rem .8rem;border-radius:999px;color:#344054;font-weight:700;font-size:.94rem}.main-nav a:hover,.main-nav a.active{background:#eef2ff;color:var(--navy)}.main-nav .nav-pill{background:linear-gradient(135deg,var(--red),#8b0d19);color:#fff;box-shadow:0 10px 24px rgba(196,22,42,.25)}.menu-btn{display:none;border:1px solid var(--line);background:#fff;padding:.65rem .9rem;border-radius:999px;font-weight:800}
.hero{position:relative;isolation:isolate;background:var(--navy);color:#fff;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,21,47,.92),rgba(7,21,47,.68),rgba(7,21,47,.28)),url('../img/hero.jpg') center/cover no-repeat;z-index:-2}.hero:after{content:"";position:absolute;inset:auto -10% -22% -10%;height:45%;background:linear-gradient(90deg,var(--red),var(--gold),#fff,var(--gold),var(--red));opacity:.96;clip-path:polygon(0 55%,100% 15%,100% 100%,0 100%);z-index:-1}.hero-inner{min-height:72vh;display:grid;align-items:center;padding:5.5rem 20px 7rem}.hero-card{max-width:780px}.eyebrow{display:inline-flex;align-items:center;gap:.5rem;text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:900;color:var(--gold);background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:.45rem .75rem}.hero h1{font-family:"Libre Baskerville",Georgia,serif;font-size:clamp(2.5rem,6vw,5.4rem);line-height:.98;margin:.9rem 0}.hero p{font-size:clamp(1.05rem,2vw,1.28rem);max-width:720px;color:rgba(255,255,255,.9)}.actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}.button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.82rem 1.05rem;border-radius:999px;text-decoration:none;border:0;font-weight:900;cursor:pointer}.button.primary,.btn-primary{background:var(--red);color:#fff;box-shadow:0 14px 30px rgba(196,22,42,.22)}.button.secondary,.btn-outline{background:#fff;color:var(--navy);border:1px solid rgba(7,21,47,.12)}.button.gold{background:var(--gold);color:var(--navy)}
.section{padding:4.5rem 0}.section.alt{background:#fff}.section-title{max-width:760px;margin-bottom:1.6rem}.section-title h1,.section-title h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;margin:.25rem 0}.lead{font-size:1.15rem;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1.25rem}.panel{background:var(--card);border:1px solid rgba(7,21,47,.08);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}.panel.pad{padding:1.5rem}.feature{grid-column:span 4}.feature h3{margin:.2rem 0;font-size:1.25rem}.feature-icon{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--navy),var(--red));display:grid;place-items:center;color:#fff;font-weight:900}.split{grid-column:span 6}.banner{background:linear-gradient(135deg,var(--navy),#0f356d);color:#fff}.banner p{color:rgba(255,255,255,.82)}.ribbon{height:8px;background:linear-gradient(90deg,var(--red),var(--gold),#fff,var(--gold),var(--red))}.page-hero{background:linear-gradient(135deg,var(--navy),#102b59);color:#fff;padding:4rem 0;position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;right:-10rem;top:-10rem;width:28rem;height:28rem;border-radius:50%;background:rgba(245,194,26,.12)}.page-hero h1{font-size:clamp(2.1rem,5vw,4rem);margin:.3rem 0}.legal-page .panel{padding:2rem}.legal-page h2{margin-top:1.7rem}.media-strip{display:grid;grid-template-columns:1fr 1.4fr;gap:1.25rem}.media-strip img{width:100%;height:100%;object-fit:cover;border-radius:var(--r);min-height:320px}
.site-footer{background:#07152f;color:#fff;padding:3.5rem 0 1.5rem}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}.footer-mark{width:72px;height:72px;border-radius:50%;object-fit:cover}.site-footer a{color:#fff}.footer-links{display:flex;flex-direction:column;gap:.4rem}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:2rem;padding-top:1rem;color:rgba(255,255,255,.68)}
.admin-body{background:#eef2f7}.admin-shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.admin-side{background:#07152f;color:#fff;padding:1.2rem;position:sticky;top:0;height:100vh}.admin-side a{display:block;color:#dbe7ff;text-decoration:none;padding:.72rem .8rem;border-radius:12px;margin:.15rem 0;font-weight:700}.admin-side a.active,.admin-side a:hover{background:rgba(255,255,255,.12);color:#fff}.admin-main{padding:1.5rem}.admin-top{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}.admin-card{background:#fff;border:1px solid #dde3ee;border-radius:18px;padding:1.2rem;box-shadow:0 12px 30px rgba(16,24,40,.06);margin-bottom:1rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}label{font-weight:800;color:#344054}input,textarea,select{width:100%;border:1px solid #cfd6e3;border-radius:12px;padding:.75rem;margin-top:.35rem;font:inherit}textarea{min-height:110px}.notice{padding:.8rem 1rem;border-radius:14px;background:#ecfdf3;color:#027a48;margin-bottom:1rem}.error{background:#fff1f3;color:#b42318}.module-grid,.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem}.status{display:inline-block;border-radius:999px;padding:.25rem .55rem;font-size:.78rem;font-weight:900;background:#eef2ff}.status.ok{background:#ecfdf3;color:#027a48}.status.warning{background:#fffaeb;color:#b54708}.status.error{background:#fff1f3;color:#b42318}.thumb{aspect-ratio:4/3;object-fit:cover;width:100%;border-radius:14px;border:1px solid #e4e7ec}
@media(max-width:860px){.menu-btn{display:block}.main-nav{display:none;position:absolute;top:76px;left:20px;right:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:.8rem;flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.hero-inner{min-height:62vh}.feature,.split{grid-column:span 12}.footer-grid,.media-strip,.admin-shell{grid-template-columns:1fr}.admin-side{position:relative;height:auto}.form-grid{grid-template-columns:1fr}}

/* Pell-style editor + admin modals */
.pell-source{display:none}
.pell-editor{border:1px solid #cfd6e3;border-radius:16px;overflow:hidden;background:#fff;margin:.5rem 0 1.25rem}
.pell-toolbar{display:flex;gap:.25rem;flex-wrap:wrap;background:#f8fafc;border-bottom:1px solid #e4e7ec;padding:.45rem}
.pell-toolbar button{border:1px solid #d0d5dd;background:#fff;border-radius:10px;padding:.45rem .6rem;font-weight:800;cursor:pointer}
.pell-toolbar button:hover{background:#eef2ff}
.pell-content{min-height:190px;padding:1rem;outline:none}
.pell-content:focus{box-shadow:inset 0 0 0 2px rgba(37,99,235,.25)}
.gc-modal{position:fixed;inset:0;z-index:999;display:none}
.gc-modal.open{display:block}
.gc-modal-backdrop{position:absolute;inset:0;background:rgba(7,21,47,.7);backdrop-filter:blur(4px)}
.gc-modal-panel{position:relative;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.35);width:min(1040px,calc(100vw - 32px));max-height:calc(100vh - 48px);margin:24px auto;overflow:auto}
.gc-modal-panel.small{width:min(560px,calc(100vw - 32px))}
.gc-modal-head{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.2rem;border-bottom:1px solid #e4e7ec;position:sticky;top:0;background:#fff;z-index:2}
.gc-modal-head h2{margin:0}
.gc-modal-head button{border:0;background:#f2f4f7;border-radius:999px;width:38px;height:38px;font-size:1.4rem;cursor:pointer}
.gc-modal-body{padding:1.2rem}
.modal-media-grid{margin-top:1rem}
.media-choice{border:1px solid #e4e7ec;background:#fff;border-radius:16px;padding:.5rem;cursor:pointer;text-align:left}
.media-choice:hover{border-color:#c4162a;box-shadow:0 10px 26px rgba(16,24,40,.1)}
.media-choice img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}
.media-choice span{display:block;font-size:.8rem;padding:.4rem 0 0;color:#475467;word-break:break-word}
.media-preview-button{border:0;background:transparent;padding:0;width:100%;cursor:pointer}
.editable-copy img,.pell-content img{max-width:100%;height:auto;border-radius:14px}


/* Modern polish pass: stronger patriotic identity and cleaner admin UI */
body:not(.admin-body) .panel{
  border:1px solid rgba(12,35,73,.10);
  box-shadow:0 22px 70px rgba(12,35,73,.13);
}
body:not(.admin-body) .section-title .eyebrow,
body:not(.admin-body) .page-hero .eyebrow{
  background:rgba(245,194,26,.14);
  color:#f5c21a;
  border-color:rgba(245,194,26,.32);
}
body:not(.admin-body) .page-hero{
  background:
    radial-gradient(circle at 82% 18%, rgba(245,194,26,.18), transparent 30%),
    linear-gradient(135deg,#061329 0%,#0b2c61 55%,#71111c 100%);
}
body:not(.admin-body) .section.alt{
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}
body:not(.admin-body) .feature{
  position:relative;
}
body:not(.admin-body) .feature:after{
  content:"";
  position:absolute;
  left:1.25rem;
  right:1.25rem;
  bottom:0;
  height:4px;
  border-radius:999px 999px 0 0;
  background:linear-gradient(90deg,#c4162a,#f5c21a,#0d2349);
}
.admin-body{
  background:
    radial-gradient(circle at top left, rgba(196,22,42,.10), transparent 28%),
    radial-gradient(circle at top right, rgba(245,194,26,.12), transparent 30%),
    #eef2f7;
}
.admin-side{
  background:linear-gradient(180deg,#061329 0%,#0d2349 62%,#420a12 100%);
  box-shadow:8px 0 36px rgba(7,21,47,.18);
}
.admin-side h2{
  letter-spacing:-.03em;
}
.admin-card{
  border:1px solid rgba(7,21,47,.08);
  box-shadow:0 18px 50px rgba(7,21,47,.08);
}
.admin-card h2,
.admin-card h3{
  letter-spacing:-.02em;
}
.admin-top{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(7,21,47,.08);
  border-radius:22px;
  padding:1rem 1.2rem;
  box-shadow:0 18px 45px rgba(7,21,47,.07);
  backdrop-filter:blur(12px);
}
.admin-main{
  max-width:1400px;
}
.admin-side a{
  transition:background .18s ease, transform .18s ease;
}
.admin-side a:hover{
  transform:translateX(2px);
}


/* Clean page editor list */
.page-list-grid{
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}
.page-list-card{
  display:flex;
  flex-direction:column;
  min-height:210px;
}
.page-list-card p:last-child{
  margin-top:auto;
}
.page-editor-head a{
  color:#0b2c61;
  font-weight:800;
}


/* Footer credit and Safe Update UI */
.footer-credit{
  display:inline-block;
  margin-left:.5rem;
  color:rgba(255,255,255,.82);
}
.footer-credit a{
  color:#fff;
  font-weight:800;
}
.update-list{
  display:grid;
  gap:.85rem;
}
.update-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  border:1px solid #e4e7ec;
  background:#f8fafc;
  border-radius:16px;
  padding:1rem;
}
.update-actions{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media(max-width:760px){
  .update-row{display:block}
  .update-actions{justify-content:flex-start;margin-top:.75rem}
}


/* Preston-inspired clean admin shell v1.1.1 */
.admin-body{
  background:#090909 !important;
  color:#f8fafc;
}
.admin-shell{
  display:grid;
  grid-template-columns:228px 1fr;
  min-height:100vh;
}
.admin-side{
  background:#000 !important;
  color:#fff;
  border-right:1px solid rgba(255,255,255,.12);
  box-shadow:none !important;
  padding:1.15rem 1.15rem 1.4rem;
}
.admin-brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  margin-bottom:1.1rem;
}
.admin-brand img{
  width:32px;
  height:32px;
  border-radius:8px;
  object-fit:cover;
}
.admin-brand strong{
  font-size:1.05rem;
  font-weight:900;
}
.admin-user{
  color:#fff;
  margin:.2rem 0 1.25rem;
  font-size:.95rem;
}
.admin-user small{
  color:#d1d5db;
}
.admin-side a{
  color:#fff !important;
  padding:.5rem 0 !important;
  border-radius:0 !important;
  background:transparent !important;
  font-weight:500 !important;
  transform:none !important;
  margin:.35rem 0 !important;
}
.admin-side a:hover,
.admin-side a.active{
  color:#f5c21a !important;
  background:transparent !important;
}
.admin-side hr{
  border:0;
  border-top:2px solid rgba(255,255,255,.82);
  margin:1.2rem 0 .9rem;
}
.admin-version-card{
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  padding:.8rem;
  margin:1.4rem 0 1rem;
  background:rgba(255,255,255,.055);
}
.admin-version-card strong{
  display:block;
  font-size:.82rem;
  line-height:1.25;
}
.admin-version-card span{
  display:block;
  color:#d1d5db;
  font-size:.78rem;
  margin-top:.25rem;
}
.admin-version-card em{
  display:inline-block;
  margin-top:.5rem;
  font-style:normal;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.05em;
  color:#111;
  background:#f8fafc;
  border-radius:999px;
  padding:.18rem .45rem;
}
.admin-main{
  background:#090909;
  color:#fff;
  max-width:none !important;
  padding:2rem 1.75rem !important;
}
.admin-top{
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 0 1.25rem !important;
}
.admin-top h1{
  font-size:2.05rem;
  line-height:1.05;
  margin:0;
  color:#fff;
}
.admin-top p{
  display:none;
}
.admin-card,
.admin-table-card{
  background:#151515 !important;
  border:1px solid rgba(255,255,255,.15) !important;
  border-radius:18px !important;
  color:#fff !important;
  box-shadow:none !important;
}
.admin-table-card{
  padding:1.35rem;
  margin-bottom:1.25rem;
}
.admin-card p,
.admin-table-card p,
.admin-card label{
  color:#f3f4f6;
}
.admin-card input,
.admin-card textarea,
.admin-card select{
  background:#0d0d0d;
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
}
.admin-pages-table{
  width:100%;
  border-collapse:collapse;
}
.admin-pages-table th{
  text-align:left;
  font-weight:800;
  color:#fff;
  padding:.75rem .65rem;
  border-bottom:1px solid rgba(255,255,255,.16);
}
.admin-pages-table td{
  padding:.9rem .65rem;
  border-bottom:1px solid rgba(255,255,255,.12);
  color:#fff;
}
.admin-pages-table tbody tr:hover{
  background:rgba(255,255,255,.035);
}
.table-actions{
  text-align:right;
  width:120px;
}
.edit-pill{
  display:inline-flex !important;
  color:#111 !important;
  background:#f3f4f6 !important;
  border-radius:999px !important;
  padding:.42rem .85rem !important;
  text-decoration:none;
  font-weight:900 !important;
}
.edit-pill:hover{
  background:#f5c21a !important;
  color:#111 !important;
}
.button.primary,
.btn-primary{
  background:#d1122a !important;
  color:#fff !important;
}
.button.secondary{
  background:#f3f4f6 !important;
  color:#111 !important;
}
.notice{
  background:#11251a;
  color:#b7f7ce;
  border:1px solid rgba(183,247,206,.25);
}
.notice.error{
  background:#2b1010;
  color:#ffd0d0;
  border-color:rgba(255,208,208,.25);
}
.status{
  background:#222;
  color:#fff;
}
.status.ok{
  background:#123d26;
  color:#c8fadd;
}
.status.warning{
  background:#3d2f12;
  color:#ffe4a3;
}
.back-link{
  color:#f5c21a !important;
  font-weight:800;
}
.pell-editor{
  background:#0f0f0f;
  border-color:rgba(255,255,255,.18);
}
.pell-toolbar{
  background:#191919;
  border-bottom-color:rgba(255,255,255,.16);
}
.pell-toolbar button{
  background:#f3f4f6;
  color:#111;
  border:0;
}
.pell-content{
  background:#0d0d0d;
  color:#fff;
}
.gc-modal-panel{
  background:#151515;
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
}
.gc-modal-head{
  background:#151515;
  border-bottom-color:rgba(255,255,255,.16);
}
.gc-modal-head button{
  background:#2a2a2a;
  color:#fff;
}
.media-choice,
.update-row{
  background:#0f0f0f;
  border-color:rgba(255,255,255,.16);
  color:#fff;
}
@media(max-width:860px){
  .admin-shell{grid-template-columns:1fr}
  .admin-side{position:relative;height:auto}
  .admin-pages-table{font-size:.9rem}
  .admin-pages-table th:nth-child(2),
  .admin-pages-table td:nth-child(2){display:none}
}


/* Motown Admin emergency cleanup v1.1.2 */
body.admin-body{
  margin:0 !important;
  background:#090909 !important;
  color:#fff !important;
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif !important;
}
body.admin-body .admin-shell{
  display:grid !important;
  grid-template-columns:228px 1fr !important;
  min-height:100vh !important;
}
body.admin-body .admin-side{
  position:sticky !important;
  top:0 !important;
  height:100vh !important;
  overflow:auto !important;
  background:#000 !important;
  color:#fff !important;
  border-right:1px solid rgba(255,255,255,.14) !important;
  box-shadow:none !important;
  padding:1rem 1.15rem !important;
  z-index:10 !important;
}
body.admin-body .admin-brand{
  display:flex !important;
  align-items:center !important;
  gap:.7rem !important;
  margin-bottom:1rem !important;
}
body.admin-body .admin-brand-mark{
  display:grid !important;
  place-items:center !important;
  width:34px !important;
  height:34px !important;
  border-radius:9px !important;
  background:linear-gradient(135deg,#c4162a,#0d2349) !important;
  color:#fff !important;
  font-weight:900 !important;
  font-size:.72rem !important;
  letter-spacing:.04em !important;
}
body.admin-body .admin-brand img{display:none !important;width:0 !important;height:0 !important}
body.admin-body .admin-brand strong{font-weight:900 !important;color:#fff !important}
body.admin-body .admin-user{color:#fff !important;font-size:.95rem !important;margin:.4rem 0 1.1rem !important}
body.admin-body .admin-user small{color:#cbd5e1 !important}
body.admin-body .admin-side a{
  display:block !important;
  color:#fff !important;
  text-decoration:none !important;
  padding:.45rem 0 !important;
  margin:.42rem 0 !important;
  border-radius:0 !important;
  background:transparent !important;
  font-weight:500 !important;
}
body.admin-body .admin-side a:hover,
body.admin-body .admin-side a.active{color:#f5c21a !important;background:transparent !important}
body.admin-body .admin-side hr{border:0 !important;border-top:2px solid rgba(255,255,255,.75) !important;margin:1rem 0 !important}
body.admin-body .admin-version-card{
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:14px !important;
  padding:.8rem !important;
  margin:1.25rem 0 1rem !important;
  background:rgba(255,255,255,.055) !important;
}
body.admin-body .admin-version-card strong{display:block !important;font-size:.82rem !important;line-height:1.25 !important}
body.admin-body .admin-version-card span{display:block !important;color:#d1d5db !important;font-size:.78rem !important;margin-top:.25rem !important}
body.admin-body .admin-version-card em{display:inline-block !important;margin-top:.5rem !important;font-style:normal !important;font-size:.68rem !important;font-weight:900 !important;background:#f8fafc !important;color:#111 !important;border-radius:999px !important;padding:.18rem .45rem !important}
body.admin-body .admin-main{
  background:#090909 !important;
  color:#fff !important;
  padding:2rem 1.75rem !important;
  max-width:none !important;
}
body.admin-body .admin-top{background:transparent !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;padding:0 0 1.25rem !important}
body.admin-body .admin-top h1{color:#fff !important;font-size:2.1rem !important;line-height:1.05 !important;margin:0 !important}
body.admin-body .admin-top p{display:none !important}
body.admin-body .admin-card,
body.admin-body .admin-table-card{
  background:#151515 !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:18px !important;
  box-shadow:none !important;
  padding:1.35rem !important;
  margin-bottom:1.25rem !important;
}
body.admin-body .admin-card p,
body.admin-body .admin-table-card p,
body.admin-body .admin-card label{color:#f3f4f6 !important}
body.admin-body .admin-pages-table{width:100% !important;border-collapse:collapse !important}
body.admin-body .admin-pages-table th,
body.admin-body .admin-pages-table td{
  color:#fff !important;
  text-align:left !important;
  padding:.9rem .65rem !important;
  border-bottom:1px solid rgba(255,255,255,.14) !important;
}
body.admin-body .admin-pages-table th{font-weight:800 !important}
body.admin-body .table-actions{text-align:right !important;width:120px !important}
body.admin-body .edit-pill{
  display:inline-flex !important;
  color:#111 !important;
  background:#f3f4f6 !important;
  border-radius:999px !important;
  padding:.42rem .85rem !important;
  text-decoration:none !important;
  font-weight:900 !important;
}
body.admin-body .edit-pill:hover{background:#f5c21a !important;color:#111 !important}
body.admin-body input,
body.admin-body textarea,
body.admin-body select{
  background:#0d0d0d !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.22) !important;
}
body.admin-body .button.primary,
body.admin-body .btn-primary{background:#d1122a !important;color:#fff !important}
body.admin-body .button.secondary{background:#f3f4f6 !important;color:#111 !important}
body.admin-body .notice{background:#11251a !important;color:#b7f7ce !important;border:1px solid rgba(183,247,206,.25) !important}
body.admin-body .notice.error{background:#2b1010 !important;color:#ffd0d0 !important;border-color:rgba(255,208,208,.25) !important}
body.admin-body .back-link{color:#f5c21a !important;font-weight:800 !important}
@media(max-width:860px){
  body.admin-body .admin-shell{grid-template-columns:1fr !important}
  body.admin-body .admin-side{position:relative !important;height:auto !important}
  body.admin-body .admin-pages-table th:nth-child(2),
  body.admin-body .admin-pages-table td:nth-child(2){display:none !important}
}


/* Matomo analytics polish v1.1.7 */
body.admin-body .analytics-card .kicker{
  color:#cbd5e1 !important;
  font-size:.82rem !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  margin:0 0 .15rem !important;
}
body.admin-body .analytics-pulse-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:.75rem !important;
  margin:1rem 0 !important;
}
body.admin-body .analytics-pulse-grid > div{
  background:#0d0d0d !important;
  border:1px solid rgba(255,255,255,.14) !important;
  border-radius:14px !important;
  padding:.85rem !important;
}
body.admin-body .health-list{
  display:grid !important;
  grid-template-columns:220px 1fr !important;
  gap:.35rem .85rem !important;
}
body.admin-body .health-list dt{
  font-weight:900 !important;
  color:#fff !important;
}
body.admin-body .health-list dd{
  margin:0 !important;
  color:#cbd5e1 !important;
}
body.admin-body .analytics-checkbox-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:.85rem 1.25rem !important;
  margin:1.1rem 0 !important;
}
@media(max-width:760px){
  body.admin-body .analytics-pulse-grid,
  body.admin-body .analytics-checkbox-grid,
  body.admin-body .health-list{
    grid-template-columns:1fr !important;
  }
}


/* Safe Update wording v1.1.8 */
body.admin-body .admin-table-card code{
  color:#e5e7eb !important;
}


/* Backup delete UI v1.1.9 */
body.admin-body .backup-list{
  display:grid !important;
  gap:.85rem !important;
}
body.admin-body .backup-row{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:1rem !important;
  background:#0f0f0f !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:16px !important;
  padding:1rem !important;
}
body.admin-body .backup-row small{
  color:#cbd5e1 !important;
}
body.admin-body .backup-actions{
  display:flex !important;
  gap:.5rem !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
}
@media(max-width:760px){
  body.admin-body .backup-row{display:block !important}
  body.admin-body .backup-actions{justify-content:flex-start !important;margin-top:.75rem !important}
}


/* Analytics form cleanup v1.2.1 */
body.admin-body .analytics-card{
  max-width:1180px !important;
}
body.admin-body .analytics-card .form-grid{
  align-items:start !important;
  gap:1.1rem 1.25rem !important;
}
body.admin-body .analytics-card label small{
  display:block !important;
  color:#94a3b8 !important;
  font-size:.78rem !important;
  font-weight:500 !important;
  margin-top:.35rem !important;
}
body.admin-body .analytics-checkbox-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(280px,1fr)) !important;
  gap:.7rem 1.35rem !important;
  margin:1.15rem 0 !important;
  padding:1rem !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:16px !important;
  background:#0d0d0d !important;
}
body.admin-body .analytics-checkbox-grid label{
  display:flex !important;
  align-items:center !important;
  gap:.6rem !important;
  margin:0 !important;
  min-height:28px !important;
  color:#f8fafc !important;
  font-weight:800 !important;
  line-height:1.25 !important;
}
body.admin-body .analytics-checkbox-grid input[type="checkbox"],
body.admin-body input[type="checkbox"]{
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  flex:0 0 16px !important;
  margin:0 !important;
  padding:0 !important;
  accent-color:#d1122a !important;
}
body.admin-body .analytics-card input[type="text"],
body.admin-body .analytics-card input[type="password"],
body.admin-body .analytics-card input:not([type]){
  min-height:46px !important;
}
body.admin-body .analytics-card .module-note{
  margin:.6rem 0 0 !important;
}
body.admin-body .analytics-card p .button,
body.admin-body .analytics-card form[style*="display:inline"] .button{
  margin:.2rem .2rem .2rem 0 !important;
}
@media(max-width:820px){
  body.admin-body .analytics-checkbox-grid{
    grid-template-columns:1fr !important;
  }
}
