/* ===========================================================
   MineStarter — Design System
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700;1,800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --navy-950:#070d18;
  --navy-900:#0d1a2e;
  --navy-850:#102138;
  --navy-800:#132542;
  --navy-700:#1c3357;
  --navy-600:#294672;

  --gold-300:#f4d38c;
  --gold-400:#e8bd63;
  --gold-500:#d9a441;
  --gold-600:#c08a2c;
  --gold-700:#9c6f1f;

  --cream:#ffffff;
  --paper:#ffffff;
  --ink-900:#161b22;
  --ink-700:#3b4453;
  --ink-500:#6b7484;
  --line:#e6e0d2;
  --line-dark:#24344f;

  --success:#2f9e6b;
  --success-bg:#e7f5ee;
  --warn:#b8791f;
  --warn-bg:#fbf0dc;
  --danger:#c14848;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --shadow-card:0 10px 30px -12px rgba(13,26,46,0.18);
  --shadow-pop:0 20px 60px -15px rgba(7,13,24,0.35);

  --container:1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink-900);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:1rem; }

h1,h2,h3,h4{
  font-family:'Playfair Display',serif;
  font-weight:800;
  line-height:1.12;
  margin:0 0 .5em;
  color:var(--navy-900);
}
h1{ font-size:clamp(2.2rem,4.5vw,3.6rem); }
h2{ font-size:clamp(1.8rem,3vw,2.6rem); }
h3{ font-size:1.4rem; }
h4{ font-size:1.1rem; }
em, .accent{
  font-style:italic;
  color:var(--gold-600);
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold-600);
  margin-bottom:1em;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--gold-500);
  display:inline-block;
}
.lede{ font-size:1.15rem; color:var(--ink-700); max-width:60ch; }
.section{ padding:5.5rem 0; }
.section--tight{ padding:3.5rem 0; }
.section--dark{ background:var(--navy-900); color:#e9edf5; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4{ color:#fff; }
.section--dark .lede{ color:#b7c1d6; }
.section--cream{ background:var(--cream); }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 1.5rem; }
.grid{ display:grid; gap:2rem; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-5{ grid-template-columns:repeat(5,1fr); }
@media (max-width:980px){
  .grid-3, .grid-4, .grid-5{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .grid-2, .grid-3, .grid-4, .grid-5{ grid-template-columns:1fr; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding:.85em 1.7em;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-gold{
  background:linear-gradient(135deg,var(--gold-400),var(--gold-600));
  color:var(--navy-950);
  box-shadow:0 10px 24px -8px rgba(217,164,65,.55);
}
.btn-gold:hover{ box-shadow:0 14px 30px -8px rgba(217,164,65,.7); }
.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.5);
  color:#fff;
}
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,.08); }
.btn-outline-dark{
  background:transparent;
  border-color:var(--navy-800);
  color:var(--navy-900);
}
.btn-outline-dark:hover{ background:var(--navy-900); color:#fff; }
.btn-ghost{
  background:rgba(217,164,65,.12);
  color:var(--gold-700);
}
.btn-ghost:hover{ background:rgba(217,164,65,.22); }
.btn-sm{ padding:.6em 1.3em; font-size:.85rem; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none !important; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:200;
  background:var(--navy-900);
  border-bottom:1px solid var(--line-dark);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  height:88px;
}
.brand{
  display:flex; align-items:center; gap:.65rem;
  font-family:'Playfair Display',serif;
  font-weight:800;
  font-size:1.25rem;
  color:#fff;
  flex-shrink:0;
}
.brand img{ height:52px; width:52px; border-radius:11px; }
.brand span{ color:var(--gold-400); }
.main-nav{ display:flex; align-items:center; gap:1.5rem; flex-wrap:nowrap; }
.main-nav a{
  font-size:.9rem; font-weight:600; color:#c7d0e0;
  padding:.4rem 0; border-bottom:2px solid transparent;
  transition:color .15s, border-color .15s;
  white-space:nowrap;
}
.main-nav a:hover, .main-nav a.is-active{ color:#fff; border-color:var(--gold-500); }
.header-actions{ display:flex; align-items:center; gap:.7rem; flex-shrink:0; }
.nav-toggle{
  display:none; background:none; border:none; color:#fff; font-size:1.6rem;
  padding:.2rem .4rem;
}
@media (max-width:1080px){
  .main-nav{
    position:fixed; inset:88px 0 0 0; background:var(--navy-900);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:1rem 1.5rem 2rem; overflow-y:auto;
    transform:translateX(100%); transition:transform .25s ease;
  }
  .main-nav.is-open{ transform:translateX(0); }
  .main-nav a{ width:100%; padding:.9rem 0; border-bottom:1px solid var(--line-dark); }
  .header-actions .btn-outline{ display:none; }
  .nav-toggle{ display:block; }
}
@media (min-width:1081px){
  .nav-toggle{ display:none; }
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy-950);
  color:#aab4c8;
  padding:3.5rem 0 2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:2.5rem;
  padding-bottom:2.5rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:#fff; font-size:.95rem; font-family:'Inter'; font-weight:700; margin-bottom:1rem; }
.footer-grid ul li{ margin-bottom:.6rem; }
.footer-grid a{ color:#aab4c8; font-size:.92rem; }
.footer-grid a:hover{ color:var(--gold-400); }
.footer-brand{ display:flex; align-items:center; gap:.6rem; margin-bottom:1rem; }
.footer-brand img{ height:44px; width:44px; border-radius:10px; }
.footer-brand span{ font-family:'Playfair Display',serif; font-weight:800; color:#fff; font-size:1.15rem; }
.footer-brand em{ color:var(--gold-400); font-style:normal; }
.footer-social{ display:flex; gap:.7rem; margin-top:1.2rem; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; font-size:.85rem; color:#fff;
}
.footer-social a:hover{ background:var(--gold-500); border-color:var(--gold-500); color:var(--navy-950); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem;
  padding-top:1.5rem; font-size:.82rem;
}
.footer-bottom a{ margin-left:1.2rem; }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; }
.hero-banner-img{ width:100%; display:block; }
.hero-media{
  position:relative;
  min-height:480px;
  display:flex; align-items:center;
  background-size:cover; background-position:center;
}
.hero-media::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(7,13,24,.92) 10%, rgba(7,13,24,.6) 55%, rgba(7,13,24,.35) 100%);
}
.hero-media .container{ position:relative; z-index:2; padding-top:4rem; padding-bottom:4rem; }
.hero-media h1, .hero-media p{ color:#fff; }
.hero-media .lede{ color:#c9d1e2; }
.hero-badges{ display:flex; gap:1.6rem; flex-wrap:wrap; margin-top:2.2rem; }
.hero-badge{ display:flex; align-items:center; gap:.6rem; font-size:.85rem; font-weight:600; color:#e7ecf5; }
.hero-badge .dot{ width:34px;height:34px;border-radius:50%; background:rgba(217,164,65,.18); border:1px solid rgba(217,164,65,.5); display:flex; align-items:center; justify-content:center; color:var(--gold-400); font-size:1rem; }
.hero-ctas{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:2rem; }

.page-hero{
  background-size:cover; background-position:center;
  position:relative;
  min-height:420px;
  display:flex; align-items:center;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, rgba(7,13,24,.93), rgba(13,26,46,.72));
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:#fff; }
.page-hero .lede{ color:#c9d1e2; }
.page-hero .eyebrow{ color:var(--gold-400); }

/* ---------- Cards ---------- */
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.card-body{ padding:1.6rem; }
.icon-badge{
  width:52px; height:52px; border-radius:50%;
  background:rgba(217,164,65,.14);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-600); font-size:1.4rem;
  margin-bottom:1.1rem;
}
.icon-badge.dark{ background:rgba(217,164,65,.18); color:var(--gold-400); }

/* Thumbnails (project cards, news cards, step cards) */
.thumb{ position:relative; overflow:hidden; }
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.project-card:hover .thumb img{ transform:scale(1.06); }

/* Project card */
.project-card{ display:flex; flex-direction:column; }
.project-card .thumb{ height:200px; }
.status-pill{
  position:absolute; top:.9rem; right:.9rem;
  padding:.3em .8em; border-radius:999px; font-size:.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em;
  background:#fff; box-shadow:0 4px 10px rgba(0,0,0,.15);
}
.status-open{ color:var(--success); }
.status-closing{ color:var(--warn); }
.status-funded{ color:var(--navy-700); }
.badge-row{ display:flex; gap:.4rem; flex-wrap:wrap; margin:.6rem 0 .9rem; }
.esg-badge{
  font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  padding:.28em .7em; border-radius:6px;
  background:var(--success-bg); color:var(--success);
}
.esg-badge.trace{ background:#e7edf9; color:var(--navy-700); }
.meta-row{ display:flex; justify-content:space-between; font-size:.82rem; color:var(--ink-500); margin-bottom:.3rem; }
.progress-track{ height:8px; border-radius:99px; background:#eee2c8; overflow:hidden; margin:.4rem 0 1rem; }
.progress-fill{ height:100%; background:linear-gradient(90deg,var(--gold-500),var(--gold-400)); border-radius:99px; }
.stat-line{ display:flex; justify-content:space-between; font-size:.85rem; padding:.35rem 0; border-top:1px dashed var(--line); }
.stat-line strong{ color:var(--navy-900); }

/* ---------- Stats strip ---------- */
.stats-strip{ background:var(--navy-950); padding:3rem 0; }
.stats-strip .grid{ text-align:center; }
.stat-num{ font-family:'Playfair Display',serif; font-weight:800; font-size:2.2rem; color:#fff; }
.stat-label{ font-size:.82rem; color:#9aa6bc; margin-top:.3rem; }
.stat-icon{ color:var(--gold-400); font-size:1.4rem; margin-bottom:.5rem; }

/* ---------- Steps / How it works ---------- */
.step-card{ text-align:left; position:relative; }
.step-num{
  position:absolute; top:1.2rem; right:1.4rem;
  font-family:'Playfair Display',serif; font-weight:800; font-size:2rem; color:var(--line);
}

/* ---------- Tables ---------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-md); }
table{ width:100%; border-collapse:collapse; font-size:.9rem; min-width:560px; }
thead th{
  text-align:left; padding:.9rem 1.1rem; background:var(--cream); color:var(--ink-700);
  font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; font-weight:700;
  border-bottom:1px solid var(--line);
}
tbody td{ padding:.9rem 1.1rem; border-bottom:1px solid var(--line); color:var(--ink-900); }
tbody tr:last-child td{ border-bottom:none; }
.pill{ padding:.25em .7em; border-radius:999px; font-size:.72rem; font-weight:700; }
.pill-active{ background:var(--success-bg); color:var(--success); }
.pill-mature{ background:#e7edf9; color:var(--navy-700); }
.pill-pending{ background:var(--warn-bg); color:var(--warn); }

/* ---------- Forms ---------- */
.field{ margin-bottom:1.3rem; }
.field label{ display:block; font-size:.85rem; font-weight:700; margin-bottom:.45rem; color:var(--navy-900); }
.field input, .field select, .field textarea{
  width:100%; padding:.8em 1em; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  background:#fff; color:var(--ink-900); transition:border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--gold-500); }
.field-hint{ font-size:.78rem; color:var(--ink-500); margin-top:.35rem; }
.checkbox-row{ display:flex; align-items:flex-start; gap:.6rem; font-size:.85rem; color:var(--ink-700); }
.checkbox-row input{ width:auto; margin-top:.25rem; }
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-card); padding:2.4rem; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item{ border-bottom:1px solid var(--line); }
.accordion-trigger{
  width:100%; text-align:left; background:none; border:none; padding:1.3rem 0;
  display:flex; justify-content:space-between; align-items:center;
  font-weight:700; font-size:1.02rem; color:var(--navy-900);
}
.accordion-trigger .plus{ color:var(--gold-600); font-size:1.3rem; transition:transform .2s; }
.accordion-item.is-open .plus{ transform:rotate(45deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.accordion-panel p{ padding-bottom:1.3rem; color:var(--ink-700); margin:0; }

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(7,13,24,.65); z-index:500;
  display:none; align-items:center; justify-content:center; padding:1.5rem;
}
.modal-overlay.is-open{ display:flex; }
.modal{
  background:#fff; border-radius:var(--radius-lg); max-width:480px; width:100%;
  box-shadow:var(--shadow-pop); padding:2.2rem; max-height:90vh; overflow-y:auto; position:relative;
}
.modal-close{ position:absolute; top:1.1rem; right:1.1rem; background:none; border:none; font-size:1.4rem; color:var(--ink-500); }
.tx-record{ background:var(--cream); border:1px dashed var(--gold-500); border-radius:var(--radius-sm); padding:1rem 1.2rem; font-size:.85rem; margin:1rem 0; }
.tx-record div{ display:flex; justify-content:space-between; padding:.25rem 0; }
.tx-record span:first-child{ color:var(--ink-500); }
.tx-record span:last-child{ font-weight:700; color:var(--navy-900); font-family:monospace; }

/* ---------- Dashboard layout ---------- */
.dash-layout{ display:grid; grid-template-columns:260px 1fr; gap:2.5rem; }
@media (max-width:900px){ .dash-layout{ grid-template-columns:1fr; } }
.dash-sidebar{
  background:var(--navy-900); border-radius:var(--radius-lg); padding:1.6rem 1.2rem; height:fit-content;
  position:sticky; top:106px;
}
.dash-sidebar a{
  display:flex; align-items:center; gap:.7rem; padding:.75rem 1rem; border-radius:var(--radius-sm);
  color:#c7d0e0; font-weight:600; font-size:.9rem; margin-bottom:.3rem;
}
.dash-sidebar a:hover{ background:rgba(255,255,255,.06); color:#fff; }
.dash-sidebar a.is-active{ background:var(--gold-500); color:var(--navy-950); }
.dash-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:1.8rem; box-shadow:var(--shadow-card); margin-bottom:2rem; }
.dash-card h3{ margin-bottom:1.2rem; }
.summary-tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; margin-bottom:2rem; }
@media (max-width:640px){ .summary-tiles{ grid-template-columns:1fr; } }
.tile{ background:linear-gradient(135deg,var(--navy-900),var(--navy-700)); color:#fff; border-radius:var(--radius-md); padding:1.4rem 1.5rem; }
.tile .tile-label{ font-size:.78rem; color:#a9b4c9; text-transform:uppercase; letter-spacing:.04em; }
.tile .tile-value{ font-family:'Playfair Display',serif; font-size:1.7rem; font-weight:800; margin-top:.3rem; color:var(--gold-400); }

/* ---------- Testimonials / press ---------- */
.quote-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:1.8rem; box-shadow:var(--shadow-card); }
.quote-mark{ font-family:'Playfair Display',serif; font-size:2.6rem; color:var(--gold-400); line-height:1; }
.quote-person{ display:flex; align-items:center; gap:.7rem; margin-top:1.2rem; }
.quote-avatar{
  width:40px; height:40px; border-radius:50%; background:var(--navy-800); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem;
}

/* ---------- Team ---------- */
.team-card{ text-align:center; }
.team-card .photo{ height:220px; overflow:hidden; }
.team-card .photo img{ width:100%; height:100%; object-fit:cover; }
.team-card .card-body h4{ margin-bottom:.15rem; }
.team-role{ color:var(--gold-600); font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.03em; margin-bottom:.7rem; }

/* ---------- Logos strip ---------- */
.logo-strip{ display:flex; flex-wrap:wrap; gap:2.5rem; align-items:center; justify-content:center; opacity:.75; }
.logo-strip span{ font-weight:700; color:var(--ink-500); font-size:.95rem; letter-spacing:.02em; }

/* ---------- Filter bar ---------- */
.filter-bar{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:1.4rem; display:flex; gap:1rem; flex-wrap:wrap; align-items:end; box-shadow:var(--shadow-card);
  margin-bottom:2.5rem;
}
.filter-field{ flex:1; min-width:150px; }
.filter-field label{ display:block; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--ink-500); margin-bottom:.4rem; }
.filter-field input, .filter-field select{ width:100%; padding:.65em .8em; border:1.5px solid var(--line); border-radius:var(--radius-sm); }
.chip-group{ display:flex; gap:.6rem; flex-wrap:wrap; }
.chip{ display:flex; align-items:center; gap:.4rem; font-size:.82rem; padding:.4em .8em; border:1.5px solid var(--line); border-radius:999px; cursor:pointer; }
.chip input{ width:auto; }

/* ---------- Pagination ---------- */
.pagination{ display:flex; justify-content:center; gap:.5rem; margin-top:2.5rem; }
.pagination button{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:#fff; font-weight:700;
}
.pagination button.is-active{ background:var(--navy-900); color:#fff; border-color:var(--navy-900); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--navy-950),var(--navy-800));
  border-radius:var(--radius-lg);
  padding:3.5rem 3rem;
  display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap;
  color:#fff;
}
.cta-banner h2{ color:#fff; margin-bottom:.4rem; }
.cta-banner p{ color:#c2cbdd; margin:0; }
.cta-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }
.flex{ display:flex; }
.items-center{ align-items:center; }
.gap-1{ gap:1rem; }
.section-head{ max-width:680px; margin-bottom:3rem; }
.section-head.text-center{ margin-left:auto; margin-right:auto; }
.divider{ height:1px; background:var(--line); border:none; margin:2.5rem 0; }
.mock-note{
  font-size:.78rem; color:var(--ink-500); background:var(--cream);
  border-left:3px solid var(--gold-500); padding:.7rem 1rem; border-radius:6px; margin-top:1rem;
}
.toast{
  position:fixed; bottom:1.5rem; right:1.5rem; background:var(--navy-950); color:#fff;
  padding:1rem 1.4rem; border-radius:var(--radius-sm); box-shadow:var(--shadow-pop);
  z-index:600; display:flex; align-items:center; gap:.6rem; font-size:.9rem; font-weight:600;
  transform:translateY(20px); opacity:0; pointer-events:none; transition:all .25s ease;
}
.toast.is-visible{ transform:translateY(0); opacity:1; }

/* ===========================================================
   Ops Console — Investor / Admin dashboards (dark data-console theme)
   =========================================================== */
.ops-shell{
  --ops-bg:#ffffff;
  --ops-panel:#ffffff;
  --ops-panel-2:#ffffff;
  --ops-border:#e4e4e4;
  --ops-text:#111111;
  --ops-text-secondary:#52514e;
  --ops-muted:#7a7a7a;
  --ops-good:#0ca30c;
  --ops-good-bg:rgba(12,163,12,.12);
  --ops-warning:#c98500;
  --ops-warning-bg:rgba(250,178,25,.16);
  --ops-serious:#ec835a;
  --ops-serious-bg:rgba(236,131,90,.14);
  --ops-critical:#d03b3b;
  --ops-critical-bg:rgba(208,59,59,.12);
  --ops-blue:#2a78d6;
  --ops-blue-bg:rgba(42,120,214,.12);
  --ops-orange:#c9531f;
  --ops-orange-bg:rgba(235,104,52,.13);
  --ops-aqua:#128a5e;
  --ops-aqua-bg:rgba(27,175,122,.13);
  background:var(--ops-bg);
  color:var(--ops-text);
}
.ops-shell .ops-stat, .ops-shell .ops-panel{ box-shadow:0 4px 16px -8px rgba(0,0,0,.08); }
.ops-shell .ops-donut::after{ border:1px solid var(--ops-border); }
.ops-topbar{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; padding:1.4rem 2rem; border-bottom:1px solid var(--ops-border); }
.ops-topbar h1{ font-family:'Playfair Display',serif; font-size:1.5rem; color:#111; margin:0; }
.ops-breadcrumb{ font-size:.8rem; color:var(--ops-muted); margin-top:.25rem; }
.ops-topbar-right{ display:flex; align-items:center; gap:.9rem; flex-wrap:wrap; }
.ops-ticker{ font-size:.85rem; color:var(--ops-text-secondary); }
.ops-ticker strong{ color:var(--gold-700); font-family:'Playfair Display',serif; }
.ops-ticker .up{ color:var(--ops-good); font-weight:700; }
.ops-tag{ font-size:.66rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:.4em .8em; border-radius:6px; display:inline-flex; align-items:center; gap:.4em; white-space:nowrap; }
.ops-tag.good{ background:var(--ops-good-bg); color:var(--ops-good); }
.ops-tag.warning{ background:var(--ops-warning-bg); color:var(--ops-warning); }
.ops-bell{ width:38px;height:38px;border-radius:50%; border:1px solid var(--ops-border); display:flex;align-items:center;justify-content:center; position:relative; color:var(--ops-text-secondary); flex-shrink:0; }
.ops-bell .dot{ position:absolute; top:6px; right:7px; width:7px;height:7px;border-radius:50%; background:var(--ops-critical); }

.ops-body{ padding:1.6rem 2rem 4rem; display:grid; grid-template-columns:230px 1fr; gap:2rem; align-items:start; max-width:1400px; margin:0 auto; }
.ops-sidebar{ position:sticky; top:1.6rem; }
.ops-group-label{ font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ops-muted); margin:1.3rem 0 .6rem .7rem; }
.ops-group-label:first-child{ margin-top:0; }
.ops-sidebar a{ display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.65rem .75rem; border-radius:8px; color:var(--ops-text-secondary); font-size:.87rem; font-weight:600; margin-bottom:.15rem; }
.ops-sidebar a:hover{ background:#f2f2f2; color:#111; }
.ops-sidebar a.is-active{ background:rgba(217,164,65,.16); color:var(--gold-700); }
.ops-count{ background:var(--ops-critical); color:#fff; font-size:.64rem; font-weight:700; padding:.1em .5em; border-radius:99px; }

.ops-alert{ border:1px solid rgba(217,164,65,.4); background:rgba(217,164,65,.08); border-left:3px solid var(--gold-500); border-radius:8px; padding:.9rem 1.2rem; font-size:.86rem; color:var(--ops-text-secondary); margin-bottom:1.6rem; display:flex; gap:.6rem; flex-wrap:wrap; }
.ops-alert a{ color:var(--gold-700); font-weight:700; }
.ops-alert strong{ color:#111; }

.ops-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-bottom:1.6rem; }
.ops-stats.cols-5{ grid-template-columns:repeat(5,1fr); }
@media (max-width:1100px){ .ops-stats, .ops-stats.cols-5{ grid-template-columns:repeat(2,1fr); } }
.ops-stat{ background:var(--ops-panel); border:1px solid var(--ops-border); border-radius:10px; padding:1.1rem 1.3rem; }
.ops-stat .label{ font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ops-muted); }
.ops-stat .value{ font-family:'Playfair Display',serif; font-size:1.55rem; color:#111; margin-top:.35rem; }
.ops-stat .delta{ font-size:.78rem; margin-top:.35rem; color:var(--ops-good); }

.ops-grid{ display:grid; grid-template-columns:1.6fr 1fr; gap:1.4rem; margin-bottom:1.6rem; align-items:start; }
@media (max-width:1000px){ .ops-grid{ grid-template-columns:1fr; } }
.ops-panel{ background:var(--ops-panel); border:1px solid var(--ops-border); border-radius:10px; padding:1.4rem; margin-bottom:1.6rem; }
.ops-panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:1.1rem; gap:1rem; flex-wrap:wrap; }
.ops-panel-head h3{ font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ops-muted); font-family:'Inter'; font-weight:700; margin:0; }
.ops-panel-head a, .ops-panel-head button.ops-link{ font-size:.78rem; color:var(--gold-700); font-weight:700; background:none; border:none; }

.ops-table{ width:100%; border-collapse:collapse; font-size:.85rem; }
.ops-table th{ text-align:left; padding:.6rem .5rem; color:var(--ops-muted); font-size:.64rem; text-transform:uppercase; letter-spacing:.05em; border-bottom:1px solid var(--ops-border); font-weight:700; }
.ops-table td{ padding:.8rem .5rem; border-bottom:1px solid var(--ops-border); color:var(--ops-text-secondary); }
.ops-table tr:last-child td{ border-bottom:none; }
.ops-table strong{ color:#111; }

.ops-pill{ font-size:.64rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em; padding:.28em .65em; border-radius:5px; display:inline-block; white-space:nowrap; }
.ops-pill.good{ background:var(--ops-good-bg); color:var(--ops-good); }
.ops-pill.warning{ background:var(--ops-warning-bg); color:var(--ops-warning); }
.ops-pill.critical{ background:var(--ops-critical-bg); color:var(--ops-critical); }
.ops-pill.blue{ background:var(--ops-blue-bg); color:var(--ops-blue); }
.ops-pill.orange{ background:var(--ops-orange-bg); color:var(--ops-orange); }
.ops-pill.aqua{ background:var(--ops-aqua-bg); color:var(--ops-aqua); }
.ops-pill.muted{ background:#232323; color:var(--ops-muted); }

.ops-btn{ background:transparent; border:1px solid var(--ops-border); color:var(--ops-text-secondary); font-size:.78rem; font-weight:700; padding:.4em 1em; border-radius:6px; cursor:pointer; }
.ops-btn:hover{ border-color:var(--gold-500); color:var(--gold-700); }

.ops-activity{ display:flex; gap:.7rem; padding:.85rem 0; border-bottom:1px solid var(--ops-border); }
.ops-activity:last-child{ border-bottom:none; }
.ops-activity-dot{ width:30px;height:30px;border-radius:50%; display:flex;align-items:center;justify-content:center; font-size:.85rem; flex-shrink:0; }
.ops-activity-time{ font-size:.74rem; color:var(--ops-muted); margin-top:.15rem; }

.ops-stage-track{ display:flex; align-items:center; gap:.3rem; margin:.5rem 0; }
.ops-stage-dot{ width:8px;height:8px;border-radius:50%; background:var(--ops-border); }
.ops-stage-dot.done{ background:var(--ops-good); }
.ops-stage-dot.current{ background:var(--gold-500); width:10px;height:10px; }
.ops-stage-label{ font-size:.72rem; color:var(--ops-muted); }
.ops-stage-label.current{ color:var(--gold-700); font-weight:700; }

.ops-donut{ width:150px; height:150px; border-radius:50%; margin:0 auto; position:relative; }
.ops-donut::after{ content:""; position:absolute; inset:18px; border-radius:50%; background:var(--ops-panel); }
.ops-legend{ display:grid; gap:.5rem; margin-top:1.2rem; font-size:.82rem; color:var(--ops-text-secondary); }
.ops-legend .dot{ width:10px;height:10px;border-radius:50%; display:inline-block; margin-right:.5rem; }
.ops-legend strong{ color:#111; }

.ops-bars{ display:flex; align-items:flex-end; gap:.6rem; height:140px; padding-top:1.5rem; }
.ops-bar{ flex:1; background:var(--gold-700); border-radius:4px 4px 0 0; position:relative; opacity:.6; min-height:4px; }
.ops-bar.is-current{ background:var(--gold-600); opacity:1; }
.ops-bar .bar-label{ position:absolute; top:-22px; left:50%; transform:translateX(-50%); font-size:.72rem; color:var(--gold-700); font-weight:700; white-space:nowrap; }
.ops-bars-months{ display:flex; gap:.6rem; margin-top:.5rem; }
.ops-bars-months span{ flex:1; text-align:center; font-size:.66rem; color:var(--ops-muted); }

@media (max-width:900px){
  .ops-body{ grid-template-columns:1fr; }
  .ops-sidebar{ position:static; display:flex; flex-wrap:wrap; gap:.4rem; }
  .ops-group-label{ display:none; }
}
