/* ─── Shared shell styles for all Drill Down pages ───────────────────────── */
:root {
  --md-blue: #1c4584;
  --md-blue-hover: #163a70;
  --md-charcoal: #3c4648;
  --md-warm-grey: #dbd7d3;
  --md-red: #c60c30;
  --md-red-hover: #a80a28;
  --md-sky: #a7bad2;
  --md-olive: #a5a983;
  --md-navy: #0a1930;
  --ink: #1a1f24;
  --ink-muted: #5c6670;
  --ink-subtle: #8a939b;
  --surface: #ffffff;
  --surface-alt: #f6f5f3;
  --border: #e7e4e0;
  --border-strong: #d4d0ca;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.04);
  --shadow-md: 0 2px 6px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --radius: 6px;
  --radius-lg: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px; line-height: 1.45; color: var(--ink);
  background: #fafaf8; -webkit-font-smoothing: antialiased;
}

/* Topbar */
.topbar {
  height: 100px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 32px; gap: 28px;
  position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.md-logo {
  display: flex; align-items: center; padding-right: 22px;
  border-right: 1px solid var(--border); height: 76px;
}
.md-logo img { height: 70px; width: auto; }
.brand-wordmark .name {
  font-weight: 700; color: var(--ink); font-size: 26px;
  letter-spacing: 3px; text-transform: uppercase;
}
.topbar-spacer { flex: 1; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--radius);
  border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); position: relative;
}
.icon-btn:hover { background: var(--surface-alt); color: var(--ink); }
.avatar-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 10px 5px 5px; border-radius: 24px;
  border: 1px solid var(--border); background: #fff; cursor: pointer;
}
.avatar-btn:hover { background: var(--surface-alt); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #2d5ca3, var(--md-blue));
  color: #fff; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.avatar-btn .who { font-size: 14px; color: var(--ink); font-weight: 600; }
.avatar-btn .who-role {
  font-size: 11px; color: var(--ink-subtle);
  text-transform: uppercase; letter-spacing: 0.6px;
}
.avatar-btn .who-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.avatar-btn .caret { color: var(--ink-subtle); margin-right: 4px; }

/* Safety banner */
.safety {
  height: 50px; background: var(--md-navy); color: #fff;
  display: flex; align-items: center; padding: 0 32px; gap: 28px;
  position: sticky; top: 100px; z-index: 49;
}
.safety-metrics { display: flex; align-items: center; gap: 24px; flex: 1; }
.safety-metric { display: flex; align-items: baseline; gap: 7px; }
.safety-metric .label {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 600;
}
.safety-metric .value { font-size: 14px; font-weight: 700; }
.safety-metric .value em { font-style: normal; color: var(--md-sky); }
.safety-sep { width: 1px; height: 18px; background: rgba(255,255,255,.15); }
.report-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 14px; background: var(--md-red);
  color: #fff; border: none; border-radius: 4px;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase; cursor: pointer;
}
.report-btn:hover { background: var(--md-red-hover); }

/* Page head */
.pagehead { background: #fff; border-bottom: 1px solid var(--border); padding: 22px 32px; }
.pagehead-inner { max-width: 1280px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-muted); margin-bottom: 12px;
}
.bc-link { color: var(--ink-muted); transition: color .12s; }
.bc-link:hover { color: var(--md-blue); }
.bc-link--module {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; background: rgba(28,69,132,.06); border-radius: 4px;
  color: var(--md-blue); font-weight: 600;
}
.bc-sep { color: var(--ink-subtle); }
.bc-current { color: var(--ink); font-weight: 600; }
.ph-h1 { font-size: 24px; font-weight: 700; margin: 0; color: var(--ink); }
.ph-sub { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }

/* Stub */
.main { max-width: 1280px; margin: 0 auto; padding: 36px 32px 60px; }
.stub-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 60px 40px; text-align: center;
}
.stub-icon {
  width: 64px; height: 64px; border-radius: 12px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,69,132,.08); color: var(--md-blue);
}
.stub-title { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.stub-desc { font-size: 14px; color: var(--ink-muted); max-width: 540px; margin: 0 auto 24px; line-height: 1.55; }
.stub-tag {
  display: inline-block; padding: 4px 12px; background: #fff4e5; color: #a15d00;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 16px; border: none; border-radius: 6px;
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--md-blue); color: #fff; }
.btn-primary:hover { background: var(--md-blue-hover); }
.btn-ghost { background: transparent; color: var(--ink-muted); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-alt); color: var(--ink); }
