:root{--bg:#f6f5ef;--panel:#fff;--ink:#111613;--muted:#66706a;--line:#dfe4df;--green:#0e7a48;--green2:#e4f3ea;--red:#a42b2b;--amber:#9a6812;--shadow:0 8px 28px rgba(21,39,29,.07)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}a{color:inherit;text-decoration:none}.shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#10251b;color:#eef7f1;padding:22px 16px;position:sticky;top:0;height:100vh;overflow:auto}.brandmark{font-weight:850;font-size:18px;letter-spacing:-.02em;padding:5px 10px 20px}.brandmark small{display:block;color:#92aa9c;font-size:10px;text-transform:uppercase;letter-spacing:.15em;margin-top:5px}.nav-group{margin:12px 0}.nav-label{color:#7f9b8b;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.13em;padding:8px 10px}.nav a{display:block;padding:9px 10px;border-radius:8px;color:#dbe9df;margin:2px 0}.nav a:hover,.nav a.active{background:#1c3b2b;color:white}.main{min-width:0}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);background:rgba(246,245,239,.94);position:sticky;top:0;z-index:10;backdrop-filter:blur(8px)}.topbar strong{font-size:16px}.user{color:var(--muted)}.content{padding:28px;max-width:1550px}.page-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.page-title h1{font-size:28px;letter-spacing:-.04em;margin:0}.page-title p{margin:5px 0 0;color:var(--muted)}.grid{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:18px}.kpi-label{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.kpi-value{font-size:29px;font-weight:850;letter-spacing:-.04em;margin-top:8px}.kpi-sub{color:var(--muted);font-size:12px;margin-top:5px}.health{display:flex;align-items:center;gap:18px}.health-ring{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--green) calc(var(--score)*1%),#e6ebe7 0);position:relative}.health-ring:after{content:"";position:absolute;inset:9px;border-radius:50%;background:white}.health-ring b{z-index:1;font-size:24px}.brief{margin:0;padding-left:20px}.brief li{margin:8px 0;line-height:1.45}.priority{border-left:4px solid var(--green)}.priority.fix_now{border-left-color:var(--red)}.priority.watch{border-left-color:var(--amber)}.tag{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--green2);color:var(--green);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.tag.red{background:#f7e6e6;color:var(--red)}.tag.amber{background:#f8eedb;color:var(--amber)}.btn{appearance:none;border:0;border-radius:8px;background:#153f2b;color:white;padding:9px 13px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;gap:7px}.btn:hover{filter:brightness(1.05)}.btn.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.btn.danger{background:#8f2b2b}.btn.small{padding:6px 9px;font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-weight:700;font-size:12px}.input,select,textarea,input[type=file]{width:100%;border:1px solid #cfd7d1;border-radius:8px;background:white;padding:9px 10px;color:var(--ink);font:inherit}.input:focus,select:focus,textarea:focus{outline:2px solid #b9dcc8;border-color:#55936f}textarea{min-height:110px;resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid .wide{grid-column:1/-1}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}.table{width:100%;border-collapse:collapse;min-width:760px}.table th,.table td{padding:11px 12px;text-align:left;border-bottom:1px solid #e9ecea;vertical-align:top}.table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:#fafbf9}.table tr:last-child td{border-bottom:0}.muted{color:var(--muted)}.flash{border-radius:10px;padding:11px 13px;margin-bottom:16px;background:#e6f5ec;color:#145a36;border:1px solid #b9e1ca}.errors{background:#fae9e9;color:#812626;border-color:#edc1c1}.empty{text-align:center;padding:38px;color:var(--muted)}.login-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,#d9eee1,transparent 38%),var(--bg)}.login-card{width:min(430px,92vw);background:white;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:var(--shadow)}.login-card h1{margin:0 0 8px;font-size:27px}.login-card p{color:var(--muted);margin:0 0 24px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}.asset-preview{height:150px;background:#edf0ed;border-radius:9px;overflow:hidden;display:grid;place-items:center}.asset-preview img,.asset-preview video{width:100%;height:100%;object-fit:cover}.asset-meta{padding-top:10px}.bar-row{display:grid;grid-template-columns:110px 1fr 70px;align-items:center;gap:10px;margin:11px 0}.bar{height:9px;background:#e8ece9;border-radius:999px;overflow:hidden}.bar span{display:block;height:100%;background:#257650;border-radius:999px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.secret-note{font-size:11px;color:var(--muted)}details{border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px}summary{cursor:pointer;font-weight:750}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#aaa}.status-dot.ok{background:#20945b}.status-dot.failed{background:#c43d3d}.metric-row{display:flex;justify-content:space-between;border-bottom:1px solid #edf0ed;padding:8px 0}.metric-row:last-child{border:0}@media(max-width:1100px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:1fr 1fr}.shell{grid-template-columns:210px 1fr}}@media(max-width:760px){.shell{display:block}.sidebar{position:relative;height:auto}.nav{display:grid;grid-template-columns:1fr 1fr}.main{width:100%}.content{padding:18px}.topbar{padding:0 18px}.grid-4,.grid-3,.grid-2,.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.page-title{align-items:start;flex-direction:column}.kpi-value{font-size:25px}}

.brandmark-name{font-weight:850;font-size:18px;letter-spacing:-.02em}.brandmark-logo{display:block;max-width:185px;max-height:64px;width:auto;height:auto;object-fit:contain;margin:0 0 9px}.login-brand{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:8px}.login-brand img{max-width:210px;max-height:82px;width:auto;height:auto;object-fit:contain}.login-brand h1{margin:0}.settings-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.8fr);gap:18px;align-items:start}.settings-stack{display:grid;gap:18px}.settings-section h2{font-size:18px;margin:0 0 5px}.settings-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.settings-heading p{margin:0;color:var(--muted);line-height:1.45}.settings-logo-panel{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;border:1px dashed #cbd6ce;border-radius:12px;padding:14px;margin-bottom:18px;background:#fbfcfa}.settings-logo-preview{height:92px;border-radius:10px;background:white;border:1px solid var(--line);display:grid;place-items:center;padding:10px;overflow:hidden}.settings-logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.settings-logo-placeholder{font-size:22px;font-weight:900;letter-spacing:.04em;color:#153f2b}.field-help{font-size:11px;color:var(--muted);line-height:1.4}.settings-actions{margin-top:18px;display:flex;gap:8px;flex-wrap:wrap}@media(max-width:980px){.settings-grid{grid-template-columns:1fr}}@media(max-width:560px){.settings-logo-panel{grid-template-columns:1fr}.settings-logo-preview{height:110px}}

/* BTMICC_GLOBAL_PAGINATION_ARROW_FIX_V1
   Laravel's default Tailwind paginator renders SVGs with w-5/h-5 utility classes.
   BT-MICC does not load Tailwind utility CSS, so those SVGs otherwise expand to huge arrows.
   Scope this only to Laravel pagination navigation icons. */
nav[role="navigation"][aria-label="Pagination Navigation"] svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: inline-block !important;
    vertical-align: middle;
    flex: 0 0 20px !important;
}

/* ==============================================================
   BTMICC_EXECUTIVE_UI_V1
   Presentation-layer consolidation only. No provider/data logic.
   ============================================================== */
:root{
  --bt-shell:#0d1f17;
  --bt-shell-2:#123024;
  --bt-accent:#0f7a4b;
  --bt-accent-soft:#e7f4ec;
  --bt-canvas:#f5f7f6;
  --bt-panel:#ffffff;
  --bt-text:#16211b;
  --bt-muted:#66736c;
  --bt-line:#dfe6e1;
  --bt-soft:#eef3f0;
  --bt-shadow:0 10px 30px rgba(20,42,30,.07);
  --bt-radius:16px;
}
html{background:var(--bt-canvas)}
body{background:var(--bt-canvas);color:var(--bt-text)}
.shell{grid-template-columns:272px minmax(0,1fr);background:var(--bt-canvas)}
.sidebar{background:linear-gradient(180deg,var(--bt-shell),var(--bt-shell-2));padding:18px 14px 14px;display:flex;flex-direction:column;overflow-x:hidden}
.brandmark{display:block;padding:7px 10px 18px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:10px}
.brandmark:hover{opacity:.98}
.brandmark small{max-width:210px;line-height:1.45;color:#a9bdb1}
.brandmark-logo{max-width:190px;max-height:58px}
.nav{display:block;min-height:0;overflow-y:auto;padding-right:2px;scrollbar-width:thin;scrollbar-color:#315240 transparent}
.nav-home{display:block;margin:6px 0 12px;padding:12px 13px;border:1px solid rgba(255,255,255,.08);border-radius:12px;color:#f2f8f4;background:rgba(255,255,255,.035)}
.nav-home:hover,.nav-home.active{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.16)}
.nav-home-title{display:block;font-weight:800;font-size:14px}
.nav-home-subtitle{display:block;margin-top:3px;color:#9fb4a8;font-size:10px;letter-spacing:.03em;text-transform:uppercase}
.sidebar details.nav-section,.sidebar details.nav-subsection{border:0;background:transparent;padding:0;border-radius:0}
.sidebar details.nav-section{margin:3px 0}
.sidebar details.nav-section>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:#cad8d0;border-radius:9px;cursor:pointer;font-size:12px;font-weight:800;letter-spacing:.035em}
.sidebar details.nav-section>summary::-webkit-details-marker,.sidebar details.nav-subsection>summary::-webkit-details-marker{display:none}
.sidebar details.nav-section>summary:hover,.sidebar details.nav-section.active>summary{background:rgba(255,255,255,.055);color:#fff}
.nav-chevron{font-size:13px;color:#87a395;transition:transform .16s ease}
.sidebar details.nav-section[open]>summary .nav-chevron{transform:rotate(180deg)}
.nav-section-links{padding:3px 0 7px 8px;border-left:1px solid rgba(255,255,255,.08);margin-left:12px}
.nav-section-links>a,.sidebar details.nav-subsection>a{display:block;padding:8px 10px;border-radius:8px;color:#b9cbc0;font-size:12px;margin:1px 0}
.nav-section-links>a:hover,.nav-section-links>a.active,.sidebar details.nav-subsection>a:hover,.sidebar details.nav-subsection>a.active{background:rgba(255,255,255,.08);color:#fff}
.sidebar details.nav-subsection{margin:4px 0 2px}
.sidebar details.nav-subsection>summary{list-style:none;cursor:pointer;padding:7px 10px;color:#819b8d;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.sidebar details.nav-subsection>summary:hover{color:#c8d7cf}
.sidebar details.nav-subsection>a{padding-left:18px}
.sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:12px 10px 4px;display:flex;flex-direction:column;gap:3px}
.sidebar-role{font-size:11px;color:#dfeae4;font-weight:750}
.sidebar-caption{font-size:9px;color:#789285;line-height:1.4}
.main{min-width:0;background:var(--bt-canvas)}
.topbar{height:72px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--bt-line);padding:0 28px;box-shadow:0 1px 0 rgba(16,38,26,.015)}
.topbar-start,.topbar-actions{display:flex;align-items:center;gap:12px}
.topbar-location{display:flex;flex-direction:column;gap:1px;min-width:0}
.topbar-kicker{font-size:9px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:#85938b;font-weight:850}
.topbar-location strong{font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-identity{display:flex;flex-direction:column;text-align:right;line-height:1.2}
.user-identity strong{font-size:12px}.user-identity small{font-size:10px;color:var(--bt-muted);margin-top:2px}
.nav-toggle{display:none;width:38px;height:38px;border:1px solid var(--bt-line);border-radius:10px;background:#fff;color:var(--bt-text);cursor:pointer;font-size:18px}
.sidebar-scrim{display:none}
.content{padding:30px;max-width:1680px;margin:0 auto;width:100%}
.page-title{align-items:flex-start;margin-bottom:20px}
.page-title h1{font-size:30px;line-height:1.1;letter-spacing:-.035em}
.page-title p{max-width:820px;line-height:1.55}
.card{border-color:var(--bt-line);border-radius:var(--bt-radius);box-shadow:var(--bt-shadow);padding:20px}
.table-wrap{border-color:var(--bt-line);border-radius:14px;box-shadow:0 5px 18px rgba(20,42,30,.035)}
.table th{background:#f8faf9;color:#738078;font-size:10px;padding:12px 13px}
.table td{padding:12px 13px}
.table tbody tr:hover td{background:#fbfcfb}
.btn{border-radius:9px;min-height:36px}
.btn.small{min-height:30px}
.filters{padding:13px;background:#fff;border:1px solid var(--bt-line);border-radius:13px;box-shadow:0 4px 16px rgba(20,42,30,.035)}
.input,select,textarea,input[type=file]{border-radius:9px;min-height:38px}
.flash{border-radius:12px;box-shadow:0 3px 12px rgba(20,42,30,.025)}
.empty{padding:46px 24px;line-height:1.55;background:linear-gradient(180deg,#fff,#fbfcfb)}
details{box-shadow:none}

/* Executive dashboard */
.executive-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,.9fr);gap:22px;align-items:end;margin-bottom:20px}
.executive-eyebrow{font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--bt-accent);margin-bottom:7px}
.executive-hero h1{margin:0;font-size:34px;letter-spacing:-.045em;line-height:1.03}
.executive-hero p{margin:9px 0 0;max-width:760px;color:var(--bt-muted);font-size:14px;line-height:1.55}
.executive-filterbar{display:flex;gap:9px;align-items:end;justify-content:flex-end;flex-wrap:wrap;background:#fff;border:1px solid var(--bt-line);border-radius:14px;padding:12px;box-shadow:var(--bt-shadow)}
.executive-filterbar .field{min-width:120px}.executive-filterbar .field:first-child{min-width:160px}
.executive-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.executive-kpi{position:relative;overflow:hidden;min-height:126px}
.executive-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#bfd5c7}
.executive-kpi.primary:before{background:var(--bt-accent)}
.executive-kpi .kpi-value{font-size:27px}
.executive-kpi .kpi-sub{line-height:1.45}
.executive-section{margin-top:18px}
.executive-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.executive-section-head h2{margin:0;font-size:19px;letter-spacing:-.02em}
.executive-section-head p{margin:3px 0 0;color:var(--bt-muted);font-size:12px}
.executive-intelligence{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:14px}
.executive-brief{list-style:none;margin:0;padding:0;display:grid;gap:0}
.executive-brief li{display:grid;grid-template-columns:26px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid #edf1ee;line-height:1.45}
.executive-brief li:last-child{border-bottom:0}
.executive-brief-index{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--bt-accent-soft);color:var(--bt-accent);font-size:10px;font-weight:850}
.executive-detail{margin-top:14px;border:1px solid var(--bt-line);border-radius:14px;background:#fff;padding:0;overflow:hidden}
.executive-detail>summary{list-style:none;padding:13px 16px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:800;color:#3b4941}
.executive-detail>summary::-webkit-details-marker{display:none}.executive-detail>summary:after{content:"Show details";font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#7b8981}.executive-detail[open]>summary:after{content:"Hide details"}
.executive-detail-body{border-top:1px solid var(--bt-line);padding:14px}
.executive-secondary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.executive-mini{padding:13px;border:1px solid #e7ece9;border-radius:11px;background:#fbfcfb}.executive-mini span{display:block;color:var(--bt-muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.executive-mini strong{display:block;margin-top:6px;font-size:17px}

/* Governance summary-first layout */
.governance-summary{margin-bottom:16px}
.governance-findings{display:grid;gap:9px}
.finding-group{padding:0;border:1px solid var(--bt-line);border-radius:13px;background:#fff;overflow:hidden}
.finding-group>summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 15px;cursor:pointer}
.finding-group>summary::-webkit-details-marker{display:none}.finding-group:hover{border-color:#c9d8cf}.finding-count{display:inline-grid;place-items:center;min-width:34px;height:28px;padding:0 8px;border-radius:9px;background:#f0f4f1;font-weight:850;font-size:12px}.finding-title{min-width:0}.finding-title strong{display:block}.finding-title small{display:block;color:var(--bt-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.finding-body{border-top:1px solid var(--bt-line);padding:0 12px 12px}.finding-body .table-wrap{box-shadow:none;border-radius:10px;margin-top:12px}
.governance-guide{margin:14px 0;padding:0;border:1px solid var(--bt-line);border-radius:13px;background:#fff}.governance-guide>summary{padding:13px 15px;list-style:none;cursor:pointer;font-weight:800}.governance-guide>summary::-webkit-details-marker{display:none}.governance-guide-body{padding:0 15px 15px;border-top:1px solid var(--bt-line)}

/* Commercial command */
.commercial-headline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.commercial-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.commercial-strip>div{background:#fff;border:1px solid var(--bt-line);border-radius:11px;padding:12px 14px}.commercial-strip span{display:block;color:var(--bt-muted);font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.06em}.commercial-strip strong{display:block;margin-top:5px;font-size:18px}
.workspace-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-link{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--bt-line);border-radius:10px;padding:11px 12px;background:#fff;font-weight:750}.workspace-link:hover{border-color:#a8c8b6;background:#fbfdfb}.workspace-link:after{content:"→";color:#7c9487}

@media(max-width:1280px){
  .executive-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .executive-secondary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1050px){
  .shell{grid-template-columns:235px minmax(0,1fr)}
  .executive-hero{grid-template-columns:1fr}
  .executive-filterbar{justify-content:flex-start}
  .executive-intelligence{grid-template-columns:1fr}
  .commercial-headline{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .shell{display:block}
  .sidebar{position:fixed;left:0;top:0;bottom:0;width:min(310px,86vw);height:100vh;z-index:40;transform:translateX(-104%);transition:transform .2s ease;box-shadow:16px 0 40px rgba(0,0,0,.18)}
  body.sidebar-open .sidebar{transform:translateX(0)}
  .sidebar-scrim{position:fixed;inset:0;z-index:35;background:rgba(7,18,12,.48);border:0;padding:0;cursor:pointer}
  body.sidebar-open .sidebar-scrim{display:block}
  .nav-toggle{display:grid;place-items:center}
  .topbar{height:66px;padding:0 16px}.content{padding:20px 16px}.user-identity{display:none}
  .executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .executive-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .finding-group>summary{grid-template-columns:auto minmax(0,1fr)}.finding-group>summary>.tag{grid-column:2}
}
@media(max-width:560px){
  .executive-hero h1{font-size:29px}.executive-filterbar{display:grid;grid-template-columns:1fr 1fr}.executive-filterbar .field,.executive-filterbar .field:first-child{min-width:0}.executive-filterbar .btn{grid-column:1/-1;justify-content:center}
  .executive-kpis,.executive-secondary-grid,.commercial-headline,.commercial-strip,.workspace-links{grid-template-columns:1fr}
  .topbar-location strong{max-width:190px}.topbar-kicker{display:none}.content{padding:16px 12px}
}

/* ==============================================================
   BTMICC_MONOCHROME_EXECUTIVE_UI_V1
   Production presentation layer only.
   Cream-white glossy canvas, white navigation, black typography,
   restrained green success/active accents, red/amber warnings.
   ============================================================== */
:root{
  --bg:#f7f5f0;
  --panel:#ffffff;
  --ink:#101110;
  --muted:#696b68;
  --line:#e7e2d9;
  --green:#147a4f;
  --green2:#edf7f1;
  --red:#b42318;
  --amber:#9a6700;
  --shadow:0 14px 36px rgba(24,24,18,.055),0 2px 8px rgba(24,24,18,.025);
  --bt-shell:#ffffff;
  --bt-shell-2:#ffffff;
  --bt-accent:#147a4f;
  --bt-accent-soft:#eef7f2;
  --bt-canvas:#f7f5f0;
  --bt-panel:#ffffff;
  --bt-text:#101110;
  --bt-muted:#696b68;
  --bt-line:#e7e2d9;
  --bt-soft:#f3f1ec;
  --bt-shadow:0 14px 36px rgba(24,24,18,.055),0 2px 8px rgba(24,24,18,.025);
  --bt-radius:17px;
  --bt-black:#111210;
  --bt-white:#ffffff;
  --bt-cream:#f7f5f0;
  --bt-cream-2:#fbfaf6;
  --bt-green:#147a4f;
  --bt-green-soft:#eef7f2;
  --bt-red:#b42318;
  --bt-red-soft:#fff1ef;
  --bt-amber:#9a6700;
  --bt-amber-soft:#fff7e7;
}
html{background:var(--bt-canvas)!important;color-scheme:light}
body{
  background:
    radial-gradient(circle at 88% 3%,rgba(255,255,255,.95) 0,rgba(255,255,255,0) 28%),
    linear-gradient(135deg,#faf9f5 0%,#f5f2ec 54%,#faf9f6 100%)!important;
  color:var(--bt-black)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.shell{background:transparent!important;grid-template-columns:278px minmax(0,1fr)!important}
.main{background:transparent!important}
.content{padding:32px!important;max-width:1720px!important}

/* White executive navigation */
.sidebar{
  background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(252,251,248,.98))!important;
  color:var(--bt-black)!important;
  border-right:1px solid var(--bt-line)!important;
  box-shadow:18px 0 45px rgba(32,30,24,.045)!important;
  padding:18px 14px 14px!important;
}
.brandmark{border-bottom:1px solid var(--bt-line)!important;margin-bottom:10px!important;color:var(--bt-black)!important}
.brandmark-name{color:var(--bt-black)!important}
.brandmark small{color:#72746f!important;font-weight:750!important;letter-spacing:.12em!important}
.brandmark-logo{filter:none!important}
.nav-home{
  color:var(--bt-black)!important;
  background:linear-gradient(180deg,#fff,#faf9f5)!important;
  border:1px solid var(--bt-line)!important;
  box-shadow:0 6px 18px rgba(24,24,18,.035)!important;
}
.nav-home:hover{background:#f6f4ef!important;border-color:#d7d2c8!important}
.nav-home.active{background:#111210!important;border-color:#111210!important;color:#fff!important;box-shadow:0 10px 26px rgba(17,18,16,.16)!important}
.nav-home.active .nav-home-subtitle{color:#79d0a7!important}
.nav-home-title{color:inherit!important}
.nav-home-subtitle{color:#73756f!important;font-weight:750!important}
.sidebar details.nav-section>summary{
  color:#1c1d1a!important;
  font-weight:820!important;
  letter-spacing:.02em!important;
}
.sidebar details.nav-section>summary:hover{background:#f4f2ed!important;color:#111210!important}
.sidebar details.nav-section.active>summary{background:#f0f7f3!important;color:var(--bt-green)!important}
.nav-chevron{color:#8a8c87!important}
.nav-section-links{border-left:1px solid #e3dfd5!important}
.nav-section-links>a,.sidebar details.nav-subsection>a{color:#4c4e49!important}
.nav-section-links>a:hover,.sidebar details.nav-subsection>a:hover{background:#f5f3ee!important;color:#111210!important}
.nav-section-links>a.active,.sidebar details.nav-subsection>a.active{
  background:#eef7f2!important;
  color:#0e6b43!important;
  box-shadow:inset 3px 0 0 var(--bt-green)!important;
  font-weight:820!important;
}
.sidebar details.nav-subsection>summary{color:#85877f!important}
.sidebar details.nav-subsection>summary:hover{color:#111210!important}
.sidebar-footer{border-top:1px solid var(--bt-line)!important}
.sidebar-role{color:#111210!important}
.sidebar-caption{color:#85877f!important}

/* Glossy white top bar */
.topbar{
  background:rgba(255,255,255,.84)!important;
  border-bottom:1px solid rgba(225,221,211,.92)!important;
  box-shadow:0 8px 24px rgba(24,24,18,.028)!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
}
.topbar-kicker{color:#85877f!important}
.topbar-location strong,.user-identity strong{color:#111210!important}
.user-identity small{color:#777974!important}
.nav-toggle{background:#fff!important;color:#111210!important;border-color:var(--bt-line)!important}

/* Core glossy surfaces */
.card,
details,
.table-wrap,
.filters,
.executive-filterbar,
.login-card,
.settings-logo-panel,
.executive-detail,
.finding-group,
.governance-guide,
.commercial-strip>div,
.workspace-link{
  background:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(252,251,247,.985) 100%)!important;
  border-color:var(--bt-line)!important;
  box-shadow:0 14px 36px rgba(24,24,18,.05),inset 0 1px 0 rgba(255,255,255,.95)!important;
}
.card{border-radius:17px!important}
.card:hover{border-color:#ddd8ce!important}
.page-title h1,.executive-hero h1,.executive-section-head h2,h1,h2,h3{color:#111210}
.page-title p,.executive-hero p,.executive-section-head p,.muted{color:#70726d!important}
.kpi-label{color:#777974!important;letter-spacing:.08em!important}
.kpi-value{color:#111210!important}
.kpi-sub{color:#73756f!important}
.executive-kpi:before{background:#c7c2b8!important}
.executive-kpi.primary:before{background:#111210!important}
.executive-brief-index{background:#111210!important;color:#fff!important}
.executive-brief li{border-bottom-color:#ece8df!important}

/* Controls */
.input,select,textarea,input[type=file],
.pa-shell input:not([type=hidden]):not([type=checkbox]),.pa-shell select,.pa-shell textarea,
.nh input:not([type=hidden]),.nh select,.nh textarea,
.mb-inline input,.mb-inline select,.mb-field input,.mb-field select,.mb-field textarea,
.mi-form input,.mi-form select{
  background:#fff!important;
  color:#111210!important;
  border:1px solid #d7d3ca!important;
  border-radius:10px!important;
  box-shadow:inset 0 1px 2px rgba(24,24,18,.018)!important;
}
.input:focus,select:focus,textarea:focus,input[type=file]:focus,
.pa-shell input:focus,.pa-shell select:focus,.pa-shell textarea:focus,
.nh input:focus,.nh select:focus,.nh textarea:focus{
  outline:3px solid rgba(20,122,79,.13)!important;
  outline-offset:1px!important;
  border-color:#5b9578!important;
}
.field label,.pa-shell label,.nh label,.mb-field label{color:#22231f!important;font-weight:780!important}
.field-help,.secret-note{color:#777974!important}

.btn,
.nh button,.nh .link,
.mb-btn.primary,.mi-btn.primary{
  background:#111210!important;
  color:#fff!important;
  border:1px solid #111210!important;
  box-shadow:0 7px 18px rgba(17,18,16,.12)!important;
}
.btn:hover,.nh button:hover,.nh .link:hover,.mb-btn:hover,.mi-btn:hover{transform:translateY(-1px);filter:none!important}
.btn.secondary,.pa-btn.subtle,.nh button.secondary,.mb-btn:not(.primary),.mi-btn:not(.primary){
  background:#fff!important;
  color:#111210!important;
  border:1px solid #d7d3ca!important;
  box-shadow:0 4px 12px rgba(24,24,18,.035)!important;
}
.btn.secondary:hover,.pa-btn.subtle:hover,.nh button.secondary:hover,.mb-btn:not(.primary):hover,.mi-btn:not(.primary):hover{background:#f6f4ef!important;border-color:#c9c4ba!important}
.btn.danger,.pa-btn.danger-lite{background:var(--bt-red)!important;color:#fff!important;border-color:var(--bt-red)!important}

/* Tables and pagination */
.table-wrap,.pa-table-wrap,.rt-table,.mb-table,.nh .tablewrap{overflow:auto}
.table th,.pa-table th,.rt-table th,.mb-table th{
  background:#f6f4ef!important;
  color:#5d5f5a!important;
  border-bottom-color:#e5e1d8!important;
}
.table td,.pa-table td,.rt-table td,.mb-table td,.nh th,.nh td{border-bottom-color:#ece8df!important;color:#1d1e1b!important}
.table tbody tr:hover td,.pa-table tbody tr:hover,.rt-table tbody tr:hover td,.mb-table tr:hover td{background:#faf9f5!important}
nav[role="navigation"] a,nav[role="navigation"] span{
  border-color:#ddd8ce!important;
  color:#33342f!important;
}
nav[role="navigation"] a:hover{background:#f5f3ee!important}

/* Status language: black/white core, semantic color only */
.tag{background:#f0efeb!important;color:#22231f!important;border:1px solid #dfdcd4!important}
.tag.red,.pill.bad,.mb-pill.bad,.meta-pill.bad,.mi-pill.bad,.urgent{background:var(--bt-red-soft)!important;color:var(--bt-red)!important;border-color:#f1c9c3!important}
.tag.amber,.pill.wait,.mb-pill.warn,.meta-pill.warn{background:var(--bt-amber-soft)!important;color:var(--bt-amber)!important;border-color:#ecd9ad!important}
.pill.ok,.mb-pill.ok,.meta-pill.ok,.mi-pill.ok,.brand-status,.pa-chip.live{background:var(--bt-green-soft)!important;color:#0e6b43!important;border-color:#cee5d8!important}
.flash,.mb-success{background:#eef8f2!important;color:#0d633e!important;border-color:#cce5d7!important}
.flash.errors,.mb-alert{background:#fff0ee!important;color:#92251d!important;border-color:#efc4bf!important}
.status-dot.ok{background:var(--bt-green)!important}.status-dot.failed{background:var(--bt-red)!important}

/* Premium dashboard account health */
.executive-health-card{padding:22px!important;background:linear-gradient(180deg,#fff 0%,#faf9f5 100%)!important;overflow:hidden}
.executive-health-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.executive-health-head h3{margin:5px 0 0;font-size:21px;letter-spacing:-.03em}
.health-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:10px;font-weight:880;letter-spacing:.09em;text-transform:uppercase;border:1px solid transparent;white-space:nowrap}
.health-badge.healthy{background:#eef8f2;color:#0d6c43;border-color:#cce5d7}
.health-badge.attention{background:#fff7e7;color:#936100;border-color:#ead7aa}
.health-badge.risk{background:#fff1ef;color:#aa2a20;border-color:#efc7c1}
.health-badge.neutral{background:#f1f0ec;color:#696b66;border-color:#dfdcd4}
.executive-health-panel{display:grid;grid-template-columns:154px minmax(0,1fr);gap:20px;align-items:center;margin-top:15px}
.health-ring.premium{--health-accent:#147a4f;width:132px!important;height:132px!important;background:conic-gradient(var(--health-accent) 0 calc(var(--score)*1%),#e8e5de calc(var(--score)*1%) 100%)!important;box-shadow:0 18px 36px rgba(20,20,16,.09),inset 0 0 0 1px rgba(17,18,16,.04)!important;position:relative}
.health-ring.premium.attention{--health-accent:#a66f00}.health-ring.premium.risk{--health-accent:#b42318}.health-ring.premium.neutral{--health-accent:#9a9b97}
.health-ring.premium:before{content:"";position:absolute;inset:-9px;border-radius:50%;background:radial-gradient(circle,rgba(20,122,79,.10),rgba(20,122,79,0) 67%);z-index:0}
.health-ring.premium:after{content:"";position:absolute;inset:11px!important;border-radius:50%;background:linear-gradient(180deg,#fff,#f6f4ef)!important;box-shadow:inset 0 1px 0 #fff!important}
.health-ring.premium .health-ring-core{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.health-ring.premium .health-ring-core small{font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#7a7c76;margin-bottom:2px}
.health-ring.premium .health-ring-core b{font-size:35px!important;line-height:1;font-weight:900;letter-spacing:-.055em;color:#111210}
.health-ring.premium .health-ring-core span{margin-top:4px;font-size:11px;font-weight:800;color:#858781}
.executive-health-title{font-size:20px;font-weight:870;letter-spacing:-.03em;line-height:1.15;margin-bottom:7px;color:#111210}
.executive-health-copy p{margin:0;line-height:1.6}
.executive-health-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.executive-health-pills span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#f5f3ee;border:1px solid #e3dfd6;color:#363832;font-size:10px;font-weight:790}
.executive-health-pills span:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--bt-green);flex:0 0 6px}
.executive-health-meter{margin-top:18px}
.executive-health-meter-bar{height:9px;border-radius:999px;background:#e9e6df;overflow:hidden;box-shadow:inset 0 1px 2px rgba(20,20,16,.05)}
.executive-health-meter-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#b42318 0%,#a56d00 52%,#147a4f 100%)}
.executive-health-scale{display:flex;justify-content:space-between;gap:10px;font-size:10px;font-weight:740;color:#81837d;margin-top:8px}

/* Premium recommendation cards */
.priority{border-left:4px solid #111210!important;display:flex;flex-direction:column;gap:13px;min-height:252px;background:linear-gradient(180deg,#fff,#faf9f5)!important}
.priority-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.priority-severity{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;background:#f1f0ec;border:1px solid #dfdcd4;color:#646661;font-size:9px;font-weight:870;letter-spacing:.09em;text-transform:uppercase}
.priority h3{margin:0;font-size:18px;line-height:1.28;letter-spacing:-.02em;color:#111210}
.priority p{margin:0;line-height:1.6}
.priority-guidance{margin-top:auto;padding:12px 13px;border-radius:12px;border:1px solid #e5e1d8;background:#f8f7f3}
.priority-guidance small{display:block;font-size:9px;font-weight:870;letter-spacing:.09em;text-transform:uppercase;color:#7d7f79;margin-bottom:6px}
.priority-guidance strong{display:block;font-size:12px;line-height:1.55;font-weight:760;color:#252621}
.priority.fix_now{border-left-color:var(--bt-red)!important}.priority.watch{border-left-color:var(--bt-amber)!important}.priority.opportunity{border-left-color:var(--bt-green)!important}
.priority.fix_now .priority-severity{background:var(--bt-red-soft);border-color:#efc8c2;color:var(--bt-red)}
.priority.watch .priority-severity{background:var(--bt-amber-soft);border-color:#ead8ad;color:var(--bt-amber)}
.priority.opportunity .priority-severity{background:var(--bt-green-soft);border-color:#cee5d8;color:#0e6b43}
.priority.fix_now .priority-guidance{background:#fff8f7;border-color:#efd9d5}.priority.watch .priority-guidance{background:#fffcf5;border-color:#eadfca}.priority.opportunity .priority-guidance{background:#f7fbf8;border-color:#dce9e1}
.priority .btn{align-self:flex-start}

/* Brand workspace: keep structure, replace palette */
.brand-shell{--bw-bg:#f7f5f0!important;--bw-card:#fff!important;--bw-ink:#111210!important;--bw-muted:#6e706b!important;--bw-line:#e5e1d8!important;--bw-green:#147a4f!important;--bw-green-dark:#0d673f!important;--bw-green-soft:#eef7f2!important;--bw-soft:#f3f1ec!important;--bw-shadow:0 14px 34px rgba(24,24,18,.05)!important}
.brand-hero{background:linear-gradient(135deg,#fff 0%,#faf9f5 68%,#f1f7f3 100%)!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}
.brand-avatar{background:#111210!important;color:#fff!important;box-shadow:0 10px 24px rgba(17,18,16,.14)!important}
.brand-tabs a{background:#fff!important;color:#292a26!important;border-color:#e2ded5!important}.brand-tabs a:hover{background:#f6f4ef!important;border-color:#d0cbc1!important}.brand-tabs a.active{background:#eef7f2!important;color:#0e6b43!important;border-color:#cce3d6!important}

/* Product Assistant / Nia */
.pa-shell{--pa-accent:#111210!important;--pa-soft:#f5f3ee!important;--pa-line:#e5e1d8!important;--pa-muted:#6e706b!important;--pa-warn:#946100!important;--pa-danger:#b42318!important}
.pa-eyebrow{color:#777974!important}.pa-chip{background:#f3f1ec!important;border-color:#e2ded5!important;color:#343630!important}.pa-chip.live{background:#eef7f2!important;color:#0e6b43!important}.pa-guidance,.pa-note,.pa-message-copy{background:#f8f7f3!important;border-color:#e4e0d7!important;color:#33342f!important}.pa-panel-head,.pa-fold[open]>summary,.pa-toolbar{border-color:#ece8df!important}.pa-history{color:#0e6b43!important}.pa-status{background:#f1f0ec!important;color:#4a4c47!important}.pa-status.urgent{background:var(--bt-red-soft)!important;color:var(--bt-red)!important}.pa-status.warning{background:var(--bt-amber-soft)!important;color:var(--bt-amber)!important}
.nia-wa-shell{background:#fff!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}
.nia-wa-list,.nia-wa-list-head{background:#fff!important;border-color:#e7e3da!important}.nia-wa-person{background:#fff!important;border-color:#eeeae2!important}.nia-wa-person:hover,.nia-wa-person.active{background:#f3f8f5!important}.nia-wa-avatar{background:#111210!important;color:#fff!important}.nia-wa-state{background:#eef7f2!important;color:#0e6b43!important}.nia-wa-chat{background:#f4f1eb!important}.nia-wa-chat-head{background:#111210!important;color:#fff!important}.nia-wa-chat-head p{color:#d5d5d2!important}.nia-wa-chat-head .btn{background:#fff!important;color:#111210!important;border-color:#fff!important}.nia-wa-thread{background-color:#f3f0e9!important;background-image:radial-gradient(rgba(17,18,16,.035) 1px,transparent 1px)!important}.nia-wa-bubble.in{background:#fff!important}.nia-wa-bubble.out{background:#eef7f2!important}.nia-wa-bubble.out .nia-wa-who{color:#0e6b43!important}.nia-wa-footer{background:#faf9f5!important;border-color:#e5e1d8!important}
.nia-message,.nia-draft,.nia-status-item{background:#fff!important;border-color:#e5e1d8!important}.nia-message.out{background:#f3f8f5!important}.nia-speaker{color:#0e6b43!important}
.nh{color:#111210!important}.nh p{color:#6d6f6a!important}.nh .panel{background:linear-gradient(180deg,#fff,#faf9f5)!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}.nh pre,.nh .muted{background:#f6f4ef!important;color:#3a3b36!important}

/* Data governance / real-time sync */
.dg-crumb{color:#747670!important}.dg-crumb a{color:#0e6b43!important}.dg-hero{background:linear-gradient(135deg,#fff,#faf9f5 70%,#f1f7f3)!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}.dg-kpi,.dg-panel{background:linear-gradient(180deg,#fff,#fbfaf6)!important;border-color:#e5e1d8!important;box-shadow:0 8px 24px rgba(24,24,18,.04)!important}.dg-kpi-label,.dg-check p{color:#71736e!important}.dg-ok{background:#eef7f2!important;color:#0e6b43!important}.dg-attention{background:#fff7e7!important;color:#946100!important}
.rt-card,.rt-table{background:linear-gradient(180deg,#fff,#fbfaf6)!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}.rt-card b,.rt-head p{color:#70726d!important}.rt-note{background:#f7f6f2!important;border-color:#e1ddd4!important;color:#3b3d37!important}

/* Campaign/resource cards */
.campaign-brand-card{background:linear-gradient(180deg,#fff,#faf9f5)!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}.campaign-brand-card:hover{border-color:#cfc9bf!important;box-shadow:0 16px 38px rgba(24,24,18,.075)!important}.campaign-brand-name{color:#111210!important}.campaign-brand-count{color:#70726d!important}.campaign-brand-open{background:#111210!important;color:#fff!important}

/* Meta workspace inside main application */
.mb-shell{--mb-blue:#147a4f!important;--mb-blue-soft:#eef7f2!important;--mb-text:#111210!important;--mb-muted:#6d6f6a!important;--mb-line:#e4e0d7!important;--mb-bg:#f7f5f0!important;--mb-panel:#fff!important;--mb-green:#147a4f!important;--mb-red:#b42318!important;--mb-amber:#9a6700!important;background:#f7f5f0!important;border-color:#e4e0d7!important;box-shadow:var(--bt-shadow)!important}
.mb-rail,.mb-top,.mb-card,.mb-table,.mb-ad-list,.mb-tabsbar,.mb-preview-box,.mb-wa-bubble{background:#fff!important;border-color:#e5e1d8!important}.mb-link{color:#30312d!important}.mb-link:hover{background:#f5f3ee!important}.mb-link.active{background:#111210!important;color:#fff!important}.mb-link.active .mb-icon{color:#70d1a4!important}.mb-icon{color:#6c6e69!important}.mb-group-title{color:#898b85!important}.mb-chip{background:#fff!important;color:#30312d!important;border-color:#d9d5cc!important}.mb-stat{border-color:#e5e1d8!important}.mb-spark polyline{stroke:#147a4f!important}.mb-note{background:#f7f6f2!important;border-color:#e1ddd4!important;color:#3b3d37!important}.mb-tabsbar a{color:#4b4c47!important}.mb-tabsbar a.active{color:#0e6b43!important;border-color:#147a4f!important}.mb-content-card img,.mb-thumb,.mb-preview-media{background:#f3f1ec!important}.mb-wa-preview{background:#f0ede6!important}.mb-wa-button{color:#0e6b43!important}

/* Meta Portfolio alternate layout and pages */
.meta-app,.meta-page{background:#f7f5f0!important;color:#111210!important}.meta-rail,.meta-top,.meta-toolbar,.meta-list,.meta-detail{background:#fff!important;border-color:#e5e1d8!important}.meta-rail{box-shadow:8px 0 24px rgba(24,24,18,.035)!important}.meta-rail-logo{color:#111210!important}.meta-rail-link{color:#3f413c!important}.meta-rail-link:hover,.meta-rail-link.active,.meta-rail-logo.active{background:#111210!important;color:#fff!important}.meta-portfolio-badge{background:#111210!important;color:#fff!important}.meta-back{color:#0e6b43!important}.meta-main{background:transparent!important}.meta-shell{background:#f7f5f0!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}.meta-nav{background:#f6f4ef!important;border-color:#e5e1d8!important}.meta-nav a{color:#2c2d29!important}.meta-nav a:hover,.meta-nav a.active{background:#111210!important;color:#fff!important}.meta-nav .group,.meta-small,.meta-kv dt,.meta-empty{color:#72746f!important}.meta-asset{color:#22231f!important}.meta-asset:hover,.meta-asset.active{background:#eef7f2!important}.meta-avatar{background:#f0eee9!important}.meta-card,.meta-cap{background:linear-gradient(180deg,#fff,#fbfaf6)!important;border-color:#e5e1d8!important}.meta-tabs a{background:#fff!important;color:#30312d!important;border-color:#ddd8ce!important}.meta-tabs a.active{background:#111210!important;color:#fff!important;border-color:#111210!important}.meta-flash{background:#eef8f2!important;color:#0d633e!important;border-color:#cce5d7!important}.meta-flash.errors{background:#fff0ee!important;color:#92251d!important;border-color:#efc4bf!important}

/* Meta detail pages */
.mi-card,.mi-stat{background:linear-gradient(180deg,#fff,#fbfaf6)!important;border-color:#e5e1d8!important;box-shadow:var(--bt-shadow)!important}.mi-title{color:#111210!important}.mi-muted,.mi-ref,.mi-row span{color:#70726d!important}.mi-row{border-color:#ece8df!important}.mi-thumb,.mi-photo{background:#f3f1ec!important}.mi-note{background:#f7f6f2!important;border-color:#e1ddd4!important;color:#3b3d37!important}

/* Login */
.login-wrap{background:radial-gradient(circle at 78% 12%,#fff 0,transparent 32%),linear-gradient(135deg,#f8f6f1,#efede7)!important}.login-card{border:1px solid #e1ddd4!important;box-shadow:0 24px 70px rgba(24,24,18,.11)!important}.login-card h1{color:#111210!important}.login-card p{color:#6e706b!important}

/* Useful inline-style neutralization without changing data/logic */
[style*="background:rgba(0,0,0,.015)"]{background:#faf9f5!important}
[style*="border-left:4px solid #a15c00"]{border-left-color:var(--bt-amber)!important}

@media(max-width:1050px){.shell{grid-template-columns:238px minmax(0,1fr)!important}}
@media(max-width:820px){
  .sidebar{box-shadow:18px 0 48px rgba(17,18,16,.16)!important}
  .content{padding:20px 16px!important}
  .executive-health-panel{grid-template-columns:1fr!important;justify-items:start}
}
@media(max-width:560px){.content{padding:16px 12px!important}.executive-health-head{flex-direction:column}.health-badge{align-self:flex-start}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* BT-MICC optional workspace switches */
.feature-visibility-card{overflow:hidden}
.feature-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:16px;border:1px solid #e5e1d8;border-radius:14px;background:linear-gradient(180deg,#fff,#faf9f5)}
.feature-toggle-copy{min-width:0;max-width:680px}.feature-toggle-copy p{margin:7px 0 0;color:#6e706b;line-height:1.55;font-size:12px}
.feature-toggle-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.feature-toggle-title strong{font-size:15px;color:#111210}
.feature-switch{position:relative;display:inline-flex;align-items:center;cursor:pointer;flex:0 0 auto}.feature-switch input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}
.feature-switch-track{width:58px;height:32px;border-radius:999px;background:#d9d6cf;border:1px solid #cbc7be;display:block;position:relative;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;box-shadow:inset 0 1px 2px rgba(17,18,16,.08)}
.feature-switch-knob{position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 3px 9px rgba(17,18,16,.18);transition:transform .18s ease}
.feature-switch input[type="checkbox"]:checked + .feature-switch-track{background:#111210;border-color:#111210;box-shadow:0 0 0 3px rgba(20,122,79,.10)}
.feature-switch input[type="checkbox"]:checked + .feature-switch-track .feature-switch-knob{transform:translateX(26px);background:#f5fff9}
.feature-switch input[type="checkbox"]:focus-visible + .feature-switch-track{outline:3px solid rgba(20,122,79,.22);outline-offset:3px}
@media(max-width:560px){.feature-toggle-row{align-items:flex-start}.feature-toggle-copy p{font-size:11px}}
