
:root {
  --bg: #edf2f7;
  --bg-2: #f7f9fc;
  --panel: #ffffff;
  --panel-2: #f3f6fa;
  --card: #ffffff;
  --card-border: rgba(17, 40, 71, 0.10);
  --text: #13243b;
  --muted: #5c6f83;
  --heading: #0f2138;
  --accent: #1f5f9e;
  --accent-2: #173862;
  --accent-3: #d6aa46;
  --accent-4: #8b2a28;
  --shadow: 0 18px 42px rgba(10, 23, 43, 0.10);
  --shadow-sm: 0 10px 24px rgba(10, 23, 43, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1280px;
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(31,95,158,.05), transparent 20%),
    radial-gradient(circle at 90% 0%, rgba(139,42,40,.04), transparent 22%),
    linear-gradient(180deg, #f7f9fc, #edf2f7 52%, #f7f9fc);
}
a { color: inherit; text-decoration: none; }
.page { min-height: 100vh; display:flex; flex-direction:column; }
.wrap { width:min(calc(100% - 40px), var(--max)); margin:0 auto; }
.site-header {
  position:sticky; top:0; z-index:100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(17,40,71,.08);
  box-shadow: 0 10px 24px rgba(10,23,43,.05);
}
.header-top {
  min-height: 94px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0 10px;
}
.brand { display:flex; align-items:center; gap:18px; min-width:0; }
.brand-logo { width:186px; max-width:38vw; height:auto; display:block; filter: drop-shadow(0 3px 8px rgba(10,23,43,.12)); }
.brand-copy { min-width:0; }
.brand-copy strong {
  display:block; color:var(--heading); font-size:1.05rem; line-height:1.05; font-weight:900; letter-spacing:.08em; text-transform:uppercase;
}
.brand-copy span {
  display:block; color:var(--muted); font-size:.95rem; line-height:1.35;
}
.brand-copy .skin-note { font-size:.82rem; color:#6d7f92; margin-top:3px; }
.header-utility { display:flex; align-items:center; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
.utility-link {
  color:#2f4f73; font-weight:700; font-size:.92rem; white-space:nowrap;
}
.utility-button {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border-radius:999px;
  border:1px solid rgba(17,40,71,.10); background:#fff; color:#163b66; font-weight:800; box-shadow: var(--shadow-sm);
}
.utility-button--solid { background: linear-gradient(180deg, #1f5f9e, #173862); color:#fff; }
.nav-row { padding:0 0 10px; }
.nav {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.nav a {
  color:#18365a; font-weight:800; font-size:.95rem; padding:10px 14px; border-radius:999px; border:1px solid transparent;
}
.nav a:hover { background:#f0f4f8; border-color:rgba(17,40,71,.08); }
.nav a.active { background:rgba(31,95,158,.10); color:var(--accent); border-color:rgba(31,95,158,.14); }
.hero { padding: 50px 0 36px; }
.hero-grid { display:grid; grid-template-columns: 1.04fr .96fr; gap:34px; align-items:start; }
.eyebrow {
  color: var(--accent); text-transform:uppercase; letter-spacing:.18em; font-weight:900; font-size:.88rem;
}
.hero h1, .section h2 {
  color:var(--heading); margin:.45rem 0 1rem; line-height:.95; letter-spacing:-.045em;
}
.hero h1 { font-size: clamp(2.8rem, 5.7vw, 5.15rem); }
.hero h1.hero-title { font-size: clamp(2.35rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.04em; max-width: 11ch; }
.hero h1.hero-title span { display: block; font-size: .88em; color: #18365a; }
.hero p.lead { font-size: clamp(1.16rem, 2vw, 1.55rem); color:#27476d; line-height:1.46; max-width: 26ch; }
.hero p.copy, .section p.copy { font-size:1.03rem; color:var(--muted); line-height:1.72; max-width:74ch; }
.action-row { display:flex; gap:14px; flex-wrap:wrap; margin-top:28px; }
.button {
  display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 22px;
  border-radius:999px; font-weight:800; letter-spacing:-.01em; border:1px solid rgba(17,40,71,.10);
  box-shadow: var(--shadow-sm); cursor:pointer; user-select:none;
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(23,53,93,.12); }
.button:active { transform: translateY(0); box-shadow: 0 6px 12px rgba(23,53,93,.10); }
.button:focus-visible { outline: 2px solid rgba(31,95,158,.28); outline-offset: 2px; }
.button:disabled,
.button[aria-disabled="true"] { cursor:not-allowed; opacity:.62; transform:none; box-shadow:none; }
.button.primary { background: linear-gradient(180deg, #1f5f9e, #173862); color:#ffffff; }
.button.primary:hover:not(:disabled):not([aria-disabled="true"]) { background: linear-gradient(180deg, #236ab1, #173f70); }
.button.secondary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.66), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, #f7eed2 0%, #ead8aa 56%, #d8bf83 100%);
  color: #17355d;
  border-color: rgba(118,92,39,.34);
  box-shadow:
    0 12px 24px rgba(23,53,93,.11),
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -8px 14px rgba(118,92,39,.10);
  text-shadow: 0 1px 0 rgba(255,255,255,.22);
}
.button.secondary::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 4px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7d86d 0%, #b78c1f 100%);
  box-shadow: 1px 0 0 rgba(255,255,255,.22);
  opacity: .96;
}
.button.secondary::after {
  content: "";
  position: absolute;
  inset: auto -16px -22px auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,244,206,.42) 0%, rgba(255,219,120,.24) 42%, transparent 72%);
  pointer-events: none;
}
.button.secondary:hover:not(:disabled):not([aria-disabled="true"]) {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.74), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,0) 44%),
    linear-gradient(180deg, #fbf1d3 0%, #efdcaa 56%, #dcc182 100%);
  border-color: rgba(118,92,39,.44);
  box-shadow:
    0 15px 28px rgba(23,53,93,.13),
    0 0 0 1px rgba(255,224,142,.18),
    inset 0 1px 0 rgba(255,255,255,.68),
    inset 0 -8px 14px rgba(118,92,39,.13);
}
.button.ghost { background: transparent; color: var(--accent); box-shadow:none; border-color:rgba(17,40,71,.08); }
.status-band {
  margin-top:28px; border-radius:20px; padding:16px 18px; background: rgba(255,255,255,.86);
  border:1px solid rgba(17,40,71,.10); color:#2b4364; box-shadow: var(--shadow-sm);
}
.portal-card {
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
  border:1px solid rgba(17,40,71,.10);
  border-radius: 28px; padding:18px; box-shadow: var(--shadow);
}
.portal-frame {
  background: linear-gradient(180deg, #f5f7fb, #eaf0f7);
  border-radius: 22px; border:1px solid rgba(17,40,71,.10); overflow:hidden; min-height: 320px; position:relative;
}
.portal-frame::before,
.portal-frame::after {
  content:""; position:absolute; border-radius:50%;
}
.portal-frame::before {
  width:180px; height:180px; right:-58px; top:-52px;
  background: radial-gradient(circle, rgba(31,95,158,.18), transparent 68%);
}
.portal-frame::after {
  width:150px; height:150px; left:-48px; bottom:-40px;
  background: radial-gradient(circle, rgba(214,170,70,.16), transparent 70%);
}
.portal-screen {
  position:relative; margin:22px; background: #ffffff;
  border:1px solid rgba(17,40,71,.10); border-radius:18px; padding:20px;
  box-shadow: 0 12px 28px rgba(12,30,54,.08);
}
.preview-top {
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; color:#17355d;
}
.pill { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:999px; background: rgba(31,95,158,.10); color:#184a80; font-weight:900; }
.tiny { font-size:.88rem; color:#6a7b8f; }
.preview-grid { display:grid; grid-template-columns:1.08fr .92fr; gap:14px; }
.preview-rail, .preview-panel, .tile, .summary-card, .light-card, .table-card, .cta-card {
  border-radius:18px; background: var(--panel); border:1px solid rgba(17,40,71,.10);
  box-shadow: var(--shadow-sm);
}
.preview-rail { padding:14px; min-height:180px; }
.preview-rail ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.preview-rail li { padding:10px 12px; border-radius:12px; background: #f1f5f9; color:#1d3555; font-weight:700; }
.preview-panel { padding:14px; min-height:180px; display:grid; gap:10px; }
.mini-row { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.mini-card { padding:12px; border-radius:14px; background: #f1f5f9; color:#17355d; min-height:74px; }
.plaque {
  margin-top:14px; position:relative; display:flex; align-items:center; justify-content:center;
  min-height:56px; padding:14px 60px; text-align:center; color:#f5f8fc; font-weight:800; font-size:1.02rem;
  border-radius:18px; background: linear-gradient(180deg, #41556a, #27384a);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 26px rgba(10,25,45,.18);
}
.plaque::before, .plaque::after {
  content:""; position:absolute; width:8px; height:8px; border-radius:50%; background:#c4ced8; box-shadow:0 0 0 2px rgba(24,34,49,.55);
  top:50%; transform:translateY(-50%);
}
.plaque::before { left:18px; }
.plaque::after { right:18px; }
.plaque span.line {
  position:absolute; left:20px; right:20px; top:10px; height:3px; border-radius:999px;
  background: linear-gradient(90deg, var(--accent-4), var(--accent), var(--accent-3));
  opacity:.95;
}
.section { padding: 34px 0; }
.section.alt { background: rgba(255,255,255,.54); border-top:1px solid rgba(17,40,71,.08); border-bottom:1px solid rgba(17,40,71,.08); }
.split { display:grid; grid-template-columns: .95fr 1.05fr; gap:28px; align-items:start; }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:18px; }
.light-card { background: linear-gradient(180deg, #ffffff, #f7f9fc); color:#132340; padding:20px; }
.light-card h3 { margin:0 0 10px; font-size:1.08rem; }
.light-card p { margin:0; line-height:1.65; color:#465a73; }
.feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.tile { padding:18px; }
.tile h3, .summary-card h3, .table-card h3, .cta-card h3 { margin:0 0 10px; color:#17355d; }
.tile p, .summary-card p, .table-card p, .cta-card p { margin:0; color:var(--muted); line-height:1.65; }
.timeline { display:grid; gap:12px; margin-top:16px; }
.step {
  display:grid; grid-template-columns: 42px 1fr; gap:14px; align-items:start;
  padding:16px; border-radius:18px; background: rgba(255,255,255,.68); border:1px solid rgba(17,40,71,.10);
}
.step b.num { width:42px; height:42px; display:grid; place-items:center; background: rgba(31,95,158,.10); border-radius:999px; color:var(--accent); }
.cta-strip { margin-top:18px; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.cta-card { padding:20px; }
.dashboard-shell { display:grid; grid-template-columns: 292px 1fr; gap:22px; align-items:start; }
.rail {
  position: sticky; top:128px; padding:18px; border-radius:24px; background: #f7f9fc; border:1px solid rgba(17,40,71,.10);
  box-shadow: var(--shadow-sm);
}
.rail h2 { margin:0 0 8px; font-size:1.15rem; color:#16355c; }
.rail p { color:var(--muted); line-height:1.55; }
.rail nav { display:grid; gap:8px; margin-top:18px; }
.rail nav a {
  padding:12px 14px; border-radius:14px; background: #ffffff; border:1px solid transparent; color:#19304e; font-weight:700;
}
.rail nav a.active { background: rgba(31,95,158,.10); border-color: rgba(31,95,158,.22); color: var(--accent); }
.main-shell { display:grid; gap:18px; }
.summary-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.summary-card { padding:18px; }
.summary-card .big { display:block; font-size:2rem; font-weight:900; margin-bottom:8px; color:#163a67; }
.table-card { padding:18px; }
.table { width:100%; border-collapse:collapse; margin-top:12px; }
.table th, .table td { text-align:left; padding:12px 8px; border-bottom:1px solid rgba(17,40,71,.08); color:#20354f; }
.badge {
  display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; font-size:.82rem; font-weight:800;
}
.badge.system { background: rgba(214,170,70,.18); color:#8c5a11; }
.badge.player { background: rgba(31,95,158,.12); color:#0f5ea8; }
.badge.good { background: rgba(32,135,87,.14); color:#217b4d; }
.badge.warn { background: rgba(139,42,40,.12); color:#7b2c2a; }
.badge.dim { background: rgba(17,40,71,.08); color:#4f6277; }
.form-card {
  padding:24px; border-radius:24px; background: #ffffff; border:1px solid rgba(17,40,71,.10);
  box-shadow: var(--shadow);
}
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.field { display:grid; gap:8px; }
.field label { color:#17355d; font-weight:800; }
.field input, .field select, .field textarea {
  width:100%; min-height:48px; padding:12px 14px; border-radius:14px; border:1px solid rgba(17,40,71,.14);
  background: #fbfdff; color:#17355d;
}
.field textarea { min-height:140px; resize:vertical; }
.helper { color:#6a7b8f; line-height:1.6; font-size:.94rem; }
.footer {
  margin-top:auto; border-top:1px solid rgba(17,40,71,.10); background: #f8fafc;
}
.footer-wrap {
  display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:78px; color:#56697f; font-size:.95rem; padding:14px 0;
}
.footer-note { display:block; margin-top:6px; color:#6d7f92; }
.footer-links { display:flex; gap:16px; flex-wrap:wrap; }
.footer-links a { color:#17355d; font-weight:700; }
.portal-note {
  display:inline-flex; align-items:center; gap:8px;
  margin-top:12px; padding:10px 14px; border-radius:999px;
  background: rgba(17,40,71,.08); color:#35567d; font-size:.9rem; font-weight:700;
}
.customer-chip {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:28px; padding:4px 10px; border-radius:999px;
  background: rgba(214,170,70,.14); color:#8b5a12; font-size:.78rem; font-weight:900; letter-spacing:.04em;
}
@media (max-width: 1180px) {
  .header-top { flex-direction:column; align-items:flex-start; }
  .header-utility { justify-content:flex-start; }
}
@media (max-width: 1100px) {
  .hero-grid, .split, .dashboard-shell { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns:repeat(2,1fr); }
  .cards { grid-template-columns:repeat(2,1fr); }
  .cta-strip { grid-template-columns:1fr; }
}
@media (max-width: 720px) {
  .wrap { width:min(calc(100% - 24px), var(--max)); }
  .brand { align-items:flex-start; }
  .brand-logo { width:148px; max-width:46vw; }
  .cards, .feature-grid, .summary-grid, .mini-row, .form-grid, .preview-grid { grid-template-columns:1fr; }
  .hero { padding-top: 36px; }
  .plaque { padding:14px 46px; font-size:.96rem; }
  .footer-wrap { flex-direction:column; align-items:flex-start; }
}

/* v33 access workflow pass */
.access-section { padding-top: 42px; }
.access-grid { display:grid; grid-template-columns: .92fr 1.08fr; gap:24px; align-items:start; }
.access-grid--request { grid-template-columns: .86fr 1.14fr; }
.access-copy h2 { max-width: 10ch; }
.access-card { max-width: 760px; }
.access-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.access-card-head h3 { margin:.35rem 0 0; font-size:1.3rem; color:#17355d; }
.notice-stack { display:grid; gap:12px; margin-top:22px; }
.notice-card {
  padding:16px 18px; border-radius:18px; background: rgba(255,255,255,.72);
  border:1px solid rgba(17,40,71,.10); box-shadow: var(--shadow-sm);
}
.notice-card strong { display:block; margin-bottom:6px; color:#17355d; }
.notice-card p { margin:0; color:#55697f; line-height:1.6; }
.stack-form { display:grid; gap:0; }
.mini-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:14px 0 6px; }
.checkline { display:inline-flex; align-items:center; gap:10px; color:#51657d; font-weight:700; }
.checkline input { accent-color:#1f5f9e; }
.text-link { color:#1f5f9e; font-weight:800; }
.helper-panel {
  margin-top:18px; padding:16px 18px; border-radius:18px; background:#f5f8fb;
  border:1px solid rgba(17,40,71,.10); color:#52677f;
}
.helper-panel strong { display:block; margin-bottom:8px; color:#17355d; }
.clean-list { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.clean-list li { position:relative; padding-left:18px; color:#50657e; line-height:1.6; }
.clean-list li::before {
  content:""; position:absolute; left:0; top:.68em; width:7px; height:7px; border-radius:50%;
  background: linear-gradient(180deg, #1f5f9e, #163862);
}
.role-strip { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top:26px; }
.role-strip--request { margin-top:22px; }
.role-card {
  padding:20px; border-radius:22px; background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border:1px solid rgba(17,40,71,.10); box-shadow: var(--shadow-sm);
}
.role-kicker {
  display:inline-flex; align-items:center; min-height:28px; padding:4px 10px; border-radius:999px;
  background: rgba(31,95,158,.10); color:#1f5f9e; font-size:.78rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase;
}
.role-card h3 { margin:12px 0 8px; color:#17355d; }
.role-card p { margin:0; color:#55697f; line-height:1.65; }
.received-grid { display:grid; grid-template-columns: .92fr 1.08fr; gap:24px; align-items:start; }
.success-card {
  padding:24px; border-radius:26px; background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border:1px solid rgba(17,40,71,.10); box-shadow: var(--shadow);
}
.summary-panel {
  margin-top:20px; padding:18px; border-radius:20px; background:#f6f9fc;
  border:1px solid rgba(17,40,71,.10);
}
.summary-panel h3 { margin:0 0 14px; color:#17355d; }
.summary-list { display:grid; gap:10px; }
.summary-list div {
  display:grid; grid-template-columns: 170px 1fr; gap:14px; align-items:start;
  padding-bottom:10px; border-bottom:1px solid rgba(17,40,71,.08);
}
.summary-list div:last-child { border-bottom:none; padding-bottom:0; }
.summary-list span { color:#6a7b8f; font-weight:700; }
.summary-list strong { color:#17355d; }
.received-side { display:grid; gap:18px; }
.received-card { padding:18px; }
.compact .step { padding:14px; }
.compact .step b.num { width:36px; height:36px; font-size:.95rem; }
@media (max-width: 1100px) {
  .access-grid, .access-grid--request, .received-grid, .role-strip { grid-template-columns:1fr; }
}
@media (max-width: 720px) {
  .mini-actions, .access-card-head { flex-direction:column; align-items:flex-start; }
  .summary-list div { grid-template-columns:1fr; gap:6px; }
}



/* v34 portal doorway + multi-workspace skins */
body.theme-urick {
  --bg: #edf2f7;
  --bg-2: #f7f9fc;
  --panel: #ffffff;
  --panel-2: #f3f6fa;
  --card: #ffffff;
  --card-border: rgba(17, 40, 71, 0.10);
  --text: #13243b;
  --muted: #5c6f83;
  --heading: #0f2138;
  --accent: #1f5f9e;
  --accent-2: #173862;
  --accent-3: #d6aa46;
  --accent-4: #8b2a28;
}
body.theme-iamotion {
  --bg: #eef2f6;
  --bg-2: #f8fafc;
  --panel: #ffffff;
  --panel-2: #f2f5f8;
  --card: #ffffff;
  --card-border: rgba(22, 46, 79, 0.10);
  --text: #17314f;
  --muted: #607389;
  --heading: #142b46;
  --accent: #1f4f89;
  --accent-2: #16375e;
  --accent-3: #eb7228;
  --accent-4: #7a8796;
}
body.portal-hub {
  --bg: #eef2f7;
  --bg-2: #f8fafc;
  --panel: #ffffff;
  --panel-2: #f1f4f8;
  --card: #ffffff;
  --card-border: rgba(17, 40, 71, 0.10);
  --text: #13243b;
  --muted: #5c6f83;
  --heading: #0f2138;
  --accent: #1d548c;
  --accent-2: #173862;
  --accent-3: #d6aa46;
  --accent-4: #8b2a28;
}
.workspace-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.selector-card { padding: 24px; border-radius: 28px; background: linear-gradient(180deg, #ffffff, #f7f9fc); border: 1px solid rgba(17,40,71,.10); box-shadow: var(--shadow); }
.selector-brand { display:flex; align-items:center; gap:16px; margin-bottom:18px; }
.selector-brand img { width: 178px; height:auto; display:block; }
.selector-brand .selector-copy strong { display:block; color: var(--heading); font-size: 1.15rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.selector-brand .selector-copy span { display:block; color: var(--muted); margin-top: 4px; }
.selector-card h2 { font-size: 2rem; margin: 0 0 12px; line-height: 1; }
.selector-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.72; }
.selector-list { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.selector-list li { position:relative; padding-left: 18px; color: #304962; line-height: 1.6; }
.selector-list li::before { content:""; position:absolute; left:0; top:.72em; width:7px; height:7px; border-radius:50%; background: linear-gradient(180deg, var(--accent-3), var(--accent)); }
.selector-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top: 20px; }
.selector-card--iamotion .pill { background: rgba(235,114,40,.10); color:#b25417; }
.selector-card--iamotion .button.primary { background: linear-gradient(180deg, #eb7228, #b85318); }
.selector-card--iamotion .button.secondary { color:#1c4678; }
.selector-matrix { margin-top: 24px; display:grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items:start; }
.matrix-card { padding: 22px; border-radius: 26px; background: linear-gradient(180deg, #ffffff, #f7f9fc); border: 1px solid rgba(17,40,71,.10); box-shadow: var(--shadow-sm); }
.compare-table { width:100%; border-collapse: collapse; margin-top: 14px; }
.compare-table th, .compare-table td { text-align:left; padding: 12px 10px; border-bottom:1px solid rgba(17,40,71,.08); color:#213a56; }
.compare-table th { color:#18365a; }
.compare-table td strong { color:#0f2138; }
.info-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px; margin-top:18px; }
.link-card { padding:18px; border-radius:20px; border:1px solid rgba(17,40,71,.10); background: #ffffff; box-shadow: var(--shadow-sm); }
.link-card h3 { margin:0 0 10px; color:#17355d; }
.link-card p { margin:0 0 14px; color:var(--muted); line-height:1.65; }
.notice-inline { margin-top: 14px; display:inline-flex; align-items:center; gap:10px; padding:12px 14px; border-radius:999px; background: rgba(17,40,71,.08); color:#35567d; font-weight:700; font-size:.92rem; flex-wrap:wrap; }
.header-kicker { display:inline-flex; align-items:center; gap:8px; min-height:30px; padding:5px 12px; border-radius:999px; background: rgba(17,40,71,.08); color:#35567d; font-size:.82rem; font-weight:800; }
body.theme-iamotion .header-kicker { background: rgba(235,114,40,.10); color: #b25417; }
body.theme-iamotion .utility-button--solid { background: linear-gradient(180deg, #eb7228, #b85318); }
body.theme-iamotion .button.primary { background: linear-gradient(180deg, #eb7228, #b85318); }
body.theme-iamotion .button.ghost, body.theme-iamotion .nav a.active, body.theme-iamotion .text-link { color: #b25417; }
body.theme-iamotion .pill { background: rgba(235,114,40,.10); color:#b25417; }
body.theme-iamotion .badge.system { background: rgba(235,114,40,.12); color:#b25417; }
body.theme-iamotion .role-kicker, body.theme-iamotion .eyebrow { color:#1f4f89; }
body.theme-iamotion .portal-note { background: rgba(235,114,40,.08); color:#a0521f; }
.request-received-link { display:block; margin-top:10px; color: var(--accent); font-weight:800; }
@media (max-width: 1100px) { .workspace-grid, .selector-matrix { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .workspace-grid, .info-grid { grid-template-columns: 1fr; } .selector-brand { flex-direction: column; align-items:flex-start; } }


/* v36 test-ready request handling */
.alert-box {
  margin-top: 16px; padding: 14px 16px; border-radius: 18px; border:1px solid rgba(17,40,71,.10);
  background:#f7f9fc; color:#35567d; line-height:1.55;
}
.alert-box strong { color:#17355d; }
.alert-box.good { background: rgba(32,135,87,.10); color:#1f6b46; border-color: rgba(32,135,87,.20); }
.alert-box.warn { background: rgba(214,170,70,.14); color:#7a5a15; border-color: rgba(214,170,70,.24); }
.alert-box.bad { background: rgba(139,42,40,.10); color:#7b2c2a; border-color: rgba(139,42,40,.18); }
.alert-box.info { background: rgba(31,95,158,.10); color:#1f5f9e; border-color: rgba(31,95,158,.18); }
.request-id-strip {
  display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin: 18px 0 6px;
}
.request-id-pill, .status-pill, .temp-pass-pill {
  display:inline-flex; align-items:center; min-height:36px; padding:8px 14px; border-radius:999px; font-weight:900;
  letter-spacing:.02em; background:#eef3f9; color:#17355d; border:1px solid rgba(17,40,71,.08);
}
.temp-pass-pill { background: rgba(214,170,70,.14); color:#7a5a15; }
.approval-queue-shell { display:grid; gap:18px; }
.queue-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.queue-card {
  padding:18px; border-radius:22px; background: linear-gradient(180deg, #ffffff, #f7f9fc); border:1px solid rgba(17,40,71,.10); box-shadow: var(--shadow-sm);
}
.queue-card .big { display:block; font-size:2rem; font-weight:900; color:#163a67; margin-bottom:8px; }
.queue-list { display:grid; gap:16px; }
.request-card {
  padding:20px; border-radius:24px; background:#ffffff; border:1px solid rgba(17,40,71,.10); box-shadow: var(--shadow-sm);
}
.request-card.highlight { box-shadow: 0 0 0 2px rgba(31,95,158,.24), var(--shadow); }
.request-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; flex-wrap:wrap; }
.request-head h3 { margin:0; color:#17355d; }
.request-meta { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px 18px; margin-top:14px; }
.request-meta div { padding-top:8px; border-top:1px solid rgba(17,40,71,.08); }
.request-meta span { display:block; font-size:.84rem; color:#6a7b8f; font-weight:700; margin-bottom:4px; }
.request-meta strong, .request-meta p { color:#17355d; margin:0; line-height:1.55; }
.request-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.button.small { min-height:42px; padding:0 16px; font-size:.92rem; }
.button.approve { background: linear-gradient(180deg, #1f5f9e, #173862); color:#fff; }
.button.pending {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.62), transparent 24%),
    linear-gradient(180deg, #f4ead1 0%, #e6d29f 56%, #d0b06d 100%);
  color:#17355d;
  border-color:rgba(118,92,39,.30);
  box-shadow:0 10px 22px rgba(23,53,93,.11), inset 0 1px 0 rgba(255,255,255,.62), inset 0 -8px 14px rgba(118,92,39,.08);
}
.button.pending::before,
.button.delete::before{
  content:"";
  position:absolute;
  inset:4px auto 4px 4px;
  width:5px;
  border-radius:999px;
  opacity:.95;
}
.button.pending::before{ background:linear-gradient(180deg,#f7d86d 0%, #b78c1f 100%); }
.button.deny { background: linear-gradient(180deg, #a74340, #7b2c2a); color:#fff; }
.button.delete {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.56), transparent 24%),
    linear-gradient(180deg, #efe3d3 0%, #ddc7bb 60%, #c7a59a 100%);
  color:#7b2c2a;
  border-color:rgba(123,44,42,.24);
  box-shadow:0 10px 22px rgba(23,53,93,.10), inset 0 1px 0 rgba(255,255,255,.56), inset 0 -8px 14px rgba(123,44,42,.07);
}
.button.delete::before{ background:linear-gradient(180deg,#ef9d8d 0%, #a74340 100%); }
.button.regen { background: rgba(214,170,70,.16); color:#7a5a15; }
.empty-card {
  padding:26px; border-radius:24px; background:#ffffff; border:1px dashed rgba(17,40,71,.18); color:#56697f;
}
.login-help-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; }
.session-band {
  padding:16px 18px; border-radius:20px; background: rgba(31,95,158,.10); border:1px solid rgba(31,95,158,.18); color:#174a80; box-shadow: var(--shadow-sm);
}
.session-band strong { color:#17355d; }
.session-band .logout-link { margin-left:10px; color:#17355d; font-weight:900; }
body.theme-iamotion .session-band { background: rgba(235,114,40,.08); border-color: rgba(235,114,40,.18); color:#a0521f; }
body.theme-iamotion .request-id-pill { color:#a0521f; }
body.theme-iamotion .button.approve { background: linear-gradient(180deg, #eb7228, #b85318); }
body.theme-iamotion .button.regen, body.theme-iamotion .temp-pass-pill { background: rgba(235,114,40,.12); color:#a0521f; }
@media (max-width: 1100px) {
  .queue-summary { grid-template-columns:repeat(2,1fr); }
  .request-meta { grid-template-columns:1fr; }
}
@media (max-width: 720px) {
  .queue-summary { grid-template-columns:1fr; }
}

/* v38 role-aware workspace states */
.role-state-card {
  margin: 16px 0 18px;
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  border: 1px solid rgba(17,40,71,.10);
  box-shadow: var(--shadow-sm);
}
.role-state-card strong {
  display:block;
  color:#16355d;
  margin-bottom:6px;
}
.role-state-card p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
  font-size:.94rem;
}
.role-state-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: .74rem;
  margin-bottom: 6px;
}
.rail-subhead {
  margin: 18px 0 10px;
  color: #17355d;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: .76rem;
}
.rail-airon-group {
  display: grid;
  gap: 8px;
  margin-bottom: 6px;
}
.rail-airon-group .module-link {
  display:grid;
  gap:4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid rgba(17,40,71,.10);
  color:#19304e;
}
.rail-airon-group .module-link strong { font-size:.96rem; }
.rail-airon-group .module-link span { color:#6a7b8f; font-size:.82rem; line-height:1.35; }
.rail-airon-group .module-link--admin {
  background: linear-gradient(180deg, #f9f3e6, #fffaf0);
}
.role-state-banner {
  display:grid;
  gap:8px;
  padding:16px 18px;
  border-radius:20px;
  background: linear-gradient(180deg, #f7fbff, #eef4fb);
  border:1px solid rgba(31,95,158,.16);
  color:#234564;
  box-shadow: var(--shadow-sm);
}
.role-state-banner strong { color:#16355d; }
.role-state-banner p { margin:0; color:#4e647d; line-height:1.6; }
.role-chip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:28px;
  padding:4px 12px;
  border-radius:999px;
  background: rgba(31,95,158,.10);
  color:#184a80;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.04em;
}
.airon-module-panel {
  display:grid;
  gap:16px;
}
.airon-panel-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.airon-panel-head p {
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.65;
}
.module-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.module-card {
  padding:18px;
  border-radius:18px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border:1px solid rgba(17,40,71,.10);
  box-shadow: var(--shadow-sm);
  display:grid;
  gap:12px;
}
.module-card-head {
  display:grid;
  gap:8px;
}
.module-card-head strong {
  color:#16355d;
  font-size:1.06rem;
}
.module-chip {
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:26px;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(214,170,70,.14);
  color:#8b5a12;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.04em;
}
.module-card p {
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.module-meta {
  color:#234564;
  font-size:.92rem;
  line-height:1.55;
}
.module-detail-block {
  margin-top: 18px;
}
.module-detail-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:12px;
}
.module-detail-list div {
  padding:14px;
  border-radius:16px;
  background:#f7f9fc;
  border:1px solid rgba(17,40,71,.08);
}
.module-detail-list span {
  display:block;
  color:#6a7b8f;
  font-size:.82rem;
  margin-bottom:6px;
}
.module-detail-list strong {
  color:#16355d;
  line-height:1.45;
}
@media (max-width: 1100px) {
  .module-grid,
  .module-detail-list { grid-template-columns:1fr; }
  .airon-panel-head { flex-direction:column; }
}


.mobile-nav-toggle {
  display:none;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(17,40,71,.12);
  background:#ffffff;
  color:#163b66;
  box-shadow: var(--shadow-sm);
  font-size:1.35rem;
  font-weight:900;
  cursor:pointer;
}
.mobile-nav-toggle .bar-stack {
  display:grid;
  gap:5px;
}
.mobile-nav-toggle .bar-stack span {
  display:block;
  width:20px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
.mobile-nav-backdrop {
  display:none;
}

@media (max-width: 900px) {
  .wrap { width:min(calc(100% - 24px), var(--max)); }
  .header-top {
    min-height:auto;
    align-items:flex-start;
    gap:10px;
    padding:10px 0 6px;
  }
  .brand {
    gap:12px;
    align-items:flex-start;
    min-width:0;
    flex:1 1 auto;
  }
  .brand-logo {
    width:148px;
    max-width:38vw;
  }
  .brand-copy strong {
    font-size:.95rem;
    line-height:1.08;
  }
  .brand-copy span {
    font-size:.84rem;
    line-height:1.3;
  }
  .brand-copy .skin-note {
    display:none;
  }
  .mobile-nav-toggle {
    display:inline-flex;
    flex:0 0 auto;
    margin-left:auto;
    margin-top:2px;
  }
  .header-top > .header-utility,
  .nav-row {
    display:none;
  }
  .site-header.menu-open .header-top > .header-utility {
    display:flex;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:10px;
    padding-top:14px;
    margin-top:8px;
    border-top:1px solid rgba(17,40,71,.08);
  }
  .site-header.menu-open .header-top > .header-utility .utility-link,
  .site-header.menu-open .header-top > .header-utility .utility-button {
    width:100%;
    justify-content:center;
    text-align:center;
  }
  .site-header.menu-open .nav-row {
    display:block;
    padding:10px 0 14px;
  }
  .site-header.menu-open .nav {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .site-header.menu-open .nav a {
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
  }
  .mobile-nav-backdrop {
    position:fixed;
    inset:0;
    background:rgba(8,18,34,.24);
    z-index:95;
  }
  .site-header.menu-open + .mobile-nav-backdrop,
  .site-header.menu-open ~ .mobile-nav-backdrop {
    display:block;
  }
}

@media (max-width: 640px) {
  .site-header.menu-open .nav {
    grid-template-columns:1fr;
  }
}


/* v42 request submit buttons + PO field */
.submit-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; align-items:center; }
.local-submit-feedback {
  margin-top:18px; padding:16px 18px; border-radius:18px;
  background: rgba(31,95,158,.08); border:1px solid rgba(31,95,158,.16); color:#23466f;
}
.local-submit-feedback strong { display:block; margin-bottom:8px; color:#17355d; }
.local-submit-feedback .request-id-strip { margin-top:8px; }
.local-submit-feedback .request-id-pill, .local-submit-feedback .status-pill, .local-submit-feedback .temp-pass-pill { margin-right:8px; }
body.theme-iamotion .local-submit-feedback {
  background: rgba(235,114,40,.08); border-color: rgba(235,114,40,.18); color:#5d4b40;
}
@media (max-width: 720px) {
  .submit-actions { flex-direction:column; align-items:stretch; }
}


/* v52 upload center backend shell */
.form-grid input[type="file"] {
  width: 100%;
  border: 1px dashed rgba(23,53,93,.22);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.86);
  color: #20354f;
}
.form-grid input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  background: rgba(31,95,158,.12);
  color: #17355d;
}
body.theme-iamotion .form-grid input[type="file"]::file-selector-button {
  background: rgba(235,114,40,.14);
  color: #8a4b14;
}

.documents-shell { display:grid; gap:18px; }
.documents-toolbar { display:grid; gap:14px; }
.documents-filter-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
.documents-meta-strip { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.documents-summary-grid { margin-bottom:18px; }
@media (max-width: 800px) { .documents-filter-grid { grid-template-columns:1fr; } }

.doc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.table .doc-actions .button.small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.85rem;
}


/* v70 training request module */
.training-shell { display:grid; gap:18px; }
.training-summary-grid { margin-bottom:18px; }
.training-form-card { padding:18px; }
.training-form-card h3 { margin:0 0 10px; color:#17355d; }
.training-inline-note { margin-top:12px; color:var(--muted); font-size:.95rem; }
.training-card-head { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; margin-bottom:12px; }
.training-request-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:18px; }
.training-selected-files { margin-top:8px; color:#5a6d82; font-size:.92rem; }
.training-request-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:18px; align-items:start; }
.training-request-grid .table-card, .training-request-grid .light-card { height:100%; }
.training-request-form textarea { min-height:150px; }
.training-request-form .form-grid { align-items:start; }
.training-request-list .table td strong { display:block; }
.training-request-list .helper { color:#5a6d82; }
@media (max-width: 980px) { .training-request-grid { grid-template-columns:1fr; } }


/* Training admin queue */
.training-admin-filter {
  display:grid;
  gap:6px;
  min-width:220px;
}
.training-admin-filter label {
  color:#17355d;
  font-size:.86rem;
  font-weight:800;
}
.training-admin-filter select,
.training-admin-controls select,
.training-admin-controls input {
  width:100%;
  min-height:40px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(17,40,71,.14);
  background:#fbfdff;
  color:#17355d;
}
.training-admin-controls {
  display:grid;
  gap:8px;
  min-width:240px;
}
.training-admin-controls .button.small {
  justify-self:start;
}
@media (max-width: 980px) {
  .training-admin-filter { min-width:unset; width:100%; }
  .training-admin-controls { min-width:unset; }
}


.assigned-learning-shell { margin-bottom:18px; }
.assignment-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; }
.assignment-card { border:1px solid #d7e0ea; border-radius:18px; padding:16px; background:#fff; box-shadow:0 10px 24px rgba(23,53,93,.05); display:grid; gap:12px; }
.assignment-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.assignment-head h4 { margin:0 0 4px; color:#17355d; }
.assignment-meta { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.assignment-meta span { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:#6b7d92; }
.assignment-meta strong { display:block; color:#17355d; margin-top:3px; }
.assignment-actions { display:grid; gap:10px; }
.assignment-admin-inline { display:grid; gap:8px; }
.training-assignment-admin-card { margin-top:18px; }
.training-assignment-admin-card textarea { min-height:120px; }
@media (max-width: 700px) {
  .assignment-meta { grid-template-columns:1fr; }
}


/* Polish pass */
.sop-creation-panel {
  display:grid;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  background:linear-gradient(180deg,#f8fbff,#f2f7fc);
  border:1px solid rgba(17,40,71,.12);
}
.checkline--card {
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:12px;
  color:#17355d;
}
.checkline--card input {
  width:18px;
  height:18px;
  margin-top:2px;
}
.checkline--card span {
  display:grid;
  gap:4px;
}
.checkline--card strong {
  color:#17355d;
  font-size:1rem;
}
.checkline--card small {
  color:#5f7388;
  font-size:.92rem;
  line-height:1.45;
}
.field--sop-toggle input[type="text"] {
  margin-top:0 !important;
}
.assignment-card {
  align-content:start;
}
.assignment-card .helper,
.assignment-meta strong,
.assignment-meta span {
  overflow-wrap:anywhere;
  word-break:break-word;
}
.assignment-actions .button.primary.small,
.assignment-actions .button.secondary.small {
  width:100%;
}
.assignment-admin-inline select,
.assignment-admin-inline input,
.assignment-admin-inline .button {
  min-height:42px;
}
.assignment-admin-inline select:disabled {
  background:#eef3f8;
  color:#5f7388;
  cursor:not-allowed;
}
.assignment-admin-hint {
  margin-top:-2px;
  font-size:.78rem;
  line-height:1.35;
  color:#6b7d92;
}
.assignment-admin-hint.is-locked {
  color:#174a80;
  font-weight:700;
}
.assignment-save-button {
  letter-spacing:0;
}
.assignment-save-button.is-dirty {
  box-shadow: 0 12px 22px rgba(23,53,93,.18);
}
.assignment-save-feedback {
  min-height:20px;
  font-size:.84rem;
  font-weight:700;
  line-height:1.35;
  color:#5f7388;
}
.assignment-save-feedback.info { color:#174a80; }
.assignment-save-feedback.good { color:#1f6a46; }
.assignment-save-feedback.warn { color:#8b3a38; }
@media (max-width: 820px) {
  .assignment-grid {
    grid-template-columns:1fr;
  }
  .assignment-head {
    flex-direction:column;
    align-items:flex-start;
  }
  .assignment-meta {
    grid-template-columns:1fr;
  }
  .training-request-actions {
    flex-direction:column;
    align-items:stretch;
  }
  .training-request-actions .button {
    width:100%;
    justify-content:center;
  }
}


/* Training history + certificates */
.history-shell { margin-top:18px; }
.history-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; }
.history-card { border:1px solid #d7e0ea; border-radius:18px; padding:16px; background:#fff; box-shadow:0 10px 24px rgba(23,53,93,.05); display:grid; gap:12px; align-content:start; }
.history-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.history-head h4 { margin:0 0 4px; color:#17355d; }
.history-meta { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.history-meta span { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:#6b7d92; }
.history-meta strong { display:block; color:#17355d; margin-top:3px; overflow-wrap:anywhere; word-break:break-word; }
.history-actions .button { width:100%; }
@media (max-width: 820px) {
  .history-grid { grid-template-columns:1fr; }
  .history-head { flex-direction:column; align-items:flex-start; }
  .history-meta { grid-template-columns:1fr; }
}

/* Urick S.W.A.T. / CI Command V1 */
body.theme-urick .nav-portal a.nav-link--swat,
body.theme-urick .rail nav a.nav-link--swat {
  background: linear-gradient(180deg, #9d2d30, #6f1d20);
  color: #ffffff;
  border: 1px solid rgba(111, 29, 32, 0.28);
  box-shadow: 0 12px 24px rgba(111, 29, 32, 0.18);
}
body.theme-urick .nav-portal a.nav-link--swat:hover,
body.theme-urick .rail nav a.nav-link--swat:hover {
  background: linear-gradient(180deg, #b5363a, #812124);
  color: #ffffff;
}
body.theme-urick .nav-portal a.nav-link--swat.active,
body.theme-urick .rail nav a.nav-link--swat.active {
  background: linear-gradient(180deg, #c23b3f, #8d2226);
  color: #ffffff;
}
.ci-command-shell { display:grid; gap:18px; }
.ci-hero {
  padding:24px;
  border-radius:28px;
  border:1px solid rgba(139,42,40,.24);
  background: linear-gradient(135deg, #1a2531 0%, #41151a 100%);
  color:#f3f6fa;
  box-shadow: 0 20px 36px rgba(17,40,71,.14);
  display:grid;
  gap:18px;
}
.ci-hero-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; flex-wrap:wrap; }
.ci-eyebrow { color:#ffd5d7; }
.ci-copy { color:rgba(243,246,250,.82); max-width: 76ch; }
.ci-hero h2 { color:#ffffff; margin:0 0 10px; }
.ci-hero-badges { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.ci-summary-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
.ci-summary-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.10); box-shadow:none; }
.ci-summary-card h3, .ci-summary-card p, .ci-summary-card .big { color:#ffffff; }
.ci-summary-card p { color: rgba(243,246,250,.76); }
.ci-dashboard-card{margin-top:18px}
.ci-metrics-shell{display:grid;gap:16px}
.ci-metric-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ci-metric-tile{padding:16px 18px;border-radius:18px;background:#fbfcfe;border:1px solid rgba(17,40,71,.09);box-shadow:var(--shadow-sm);display:grid;gap:6px}
.ci-metric-label{font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#617588}
.ci-metric-value{font-size:1.85rem;line-height:1;font-weight:900;color:#17355d}
.ci-metric-subtext{font-size:.92rem;color:#5f7388}
.ci-metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ci-metrics-card{padding:18px;border-radius:20px;background:#fbfcfe;border:1px solid rgba(17,40,71,.09);box-shadow:var(--shadow-sm);display:grid;gap:12px}
.ci-metrics-card h4{margin:0;color:#17355d}
.ci-metric-list,.ci-metric-list-tight{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ci-metric-list li,.ci-metric-list-tight li{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:10px;border-bottom:1px solid rgba(17,40,71,.08)}
.ci-metric-list li:last-child,.ci-metric-list-tight li:last-child{padding-bottom:0;border-bottom:none}
.ci-metric-list strong,.ci-metric-list-tight strong{display:block;color:#17355d}
.ci-metric-list span,.ci-metric-list-tight span{display:block;color:#5f7388;font-size:.92rem;line-height:1.45}
.ci-metric-list-tight li{padding:0 0 8px}
.ci-metric-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ci-mini-kicker{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#617588;margin:0 0 4px}
.ci-metric-badges{display:flex;gap:8px;flex-wrap:wrap}
.ci-metric-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#edf3fb;color:#174a80;font-weight:800}
.ci-metric-badge.bad{background:rgba(139,42,40,.10);color:#7b2c2a}
.ci-metric-badge.warn{background:rgba(214,170,70,.16);color:#7a5a15}
.ci-metric-empty{padding:14px;border-radius:16px;border:1px dashed rgba(17,40,71,.16);background:#fbfcfe}
.ci-grid { display:grid; grid-template-columns: 1.08fr .92fr; gap:18px; align-items:start; }
.ci-side-stack { display:grid; gap:18px; }
.ci-intake-card textarea,
.ci-note-card textarea { min-height:120px; }
.ci-form-grid,
.ci-context-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
.ci-form-grid .field--full,
.ci-context-grid .field--full { grid-column:1 / -1; }
.ci-check-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; margin-top:18px; }
.ci-impact-grid { margin-top:18px; }
.ci-chip-checks { display:flex; flex-wrap:wrap; gap:10px 14px; }
.ci-chip-checks label { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:8px 12px; border-radius:999px; background:#f4f7fb; border:1px solid rgba(17,40,71,.10); color:#17355d; font-weight:700; }
.ci-mode-row { display:grid; grid-template-columns:1fr auto; gap:16px; align-items:end; margin-top:18px; }
.ci-inline-check { display:flex; align-items:center; }
.ci-inline-check .checkline { min-height:48px; }
.ci-mode-kicker { display:inline-flex; align-items:center; min-height:32px; padding:6px 12px; border-radius:999px; font-weight:800; letter-spacing:.02em; background:#eef3f9; color:#174a80; margin-bottom:10px; }
.ci-mode-kicker.good { background: rgba(32,135,87,.10); color:#1f6b46; }
.ci-mode-kicker.info { background: rgba(31,95,158,.10); color:#1f5f9e; }
.ci-mode-kicker.warn { background: rgba(214,170,70,.16); color:#7a5a15; }
.ci-mode-kicker.bad { background: rgba(139,42,40,.10); color:#7b2c2a; }
.ci-tag-row { display:flex; gap:10px; flex-wrap:wrap; margin:14px 0; }
.ci-reason-list { margin:0; padding-left:18px; display:grid; gap:8px; color:#30465f; }
.ci-guided-steps { list-style:none; padding:0; margin:16px 0 0; display:grid; gap:12px; }
.ci-guided-steps li { display:grid; grid-template-columns:40px 1fr; gap:12px; align-items:start; }
.ci-step-num { width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background: linear-gradient(180deg, #9d2d30, #6f1d20); color:#ffffff; font-weight:900; }
.ci-guided-steps strong { display:block; color:#17355d; margin-bottom:4px; }
.ci-guided-steps p { margin:0; color:#5f7388; line-height:1.55; }

.ci-browser-toolbar{display:grid;gap:14px;margin:4px 0 18px}
.ci-browser-search input{width:100%}
.ci-browser-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ci-browser-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:flex-start;padding:12px 14px;border-radius:18px;background:#fbfcfe;border:1px solid rgba(17,40,71,.08)}
.ci-browser-summary .helper{margin:0}
.ci-browser-chip-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ci-browser-chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#eef3fb;color:#174a80;font-weight:800}
.ci-browser-chip.warn{background:rgba(214,170,70,.16);color:#7a5a15}
.ci-browser-chip.bad{background:rgba(139,42,40,.10);color:#7b2c2a}
.ci-browser-actions{justify-content:flex-end;margin-top:-2px}
.ci-case-browser-empty{padding:16px;border-radius:18px;border:1px dashed rgba(17,40,71,.16);background:#fbfcfe}
.ci-case-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; }
.ci-case-card { padding:18px; border-radius:22px; background: linear-gradient(180deg, #ffffff, #f7f9fc); border:1px solid rgba(17,40,71,.10); box-shadow: var(--shadow-sm); display:grid; gap:12px; align-content:start; }
.ci-case-card.is-active { box-shadow: 0 0 0 2px rgba(139,42,40,.22), var(--shadow); border-color: rgba(139,42,40,.18); }
.ci-case-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.ci-case-head h4 { margin:0 0 6px; color:#17355d; }
.ci-case-meta { display:flex; gap:10px; flex-wrap:wrap; }
.ci-case-actions .button { width:100%; }
.ci-detail-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-bottom:18px; }
.ci-detail-card { padding:18px; border-radius:20px; background:#f8fafc; border:1px solid rgba(17,40,71,.08); }

.ci-intake-card textarea[name="notificationEmails"] { min-height: 86px; }
.ci-detail-card--full { grid-column: 1 / -1; }
.ci-notify-row { display:flex; gap:10px; flex-wrap:wrap; align-items:flex-start; }
.ci-notify-chip { display:inline-flex; align-items:center; min-height:30px; padding:5px 11px; border-radius:999px; background:#eef3f8; border:1px solid rgba(17,40,71,.10); color:#17355d; font-weight:700; }
.ci-detail-card h4, .ci-timeline h4 { margin:0 0 10px; color:#17355d; }
.ci-timeline-list { margin:0; padding-left:18px; display:grid; gap:10px; }
.ci-timeline-list li { color:#30465f; line-height:1.55; }
.ci-timeline-list li strong { display:block; color:#17355d; }
@media (max-width: 1080px) {
  .ci-grid,
  .ci-summary-grid,
  .ci-detail-grid,
  .ci-browser-filters { grid-template-columns:1fr; }
}
@media (max-width: 820px) {
  .ci-form-grid,
  .ci-context-grid,
  .ci-check-grid,
  .ci-mode-row { grid-template-columns:1fr; }
  .ci-hero-head { flex-direction:column; }
  .ci-browser-summary{align-items:flex-start}
  .ci-browser-actions{justify-content:flex-start}
}

.ci-watch-layout { display:grid; gap:16px; }
.ci-watch-summary-card { padding:18px; border-radius:20px; background:linear-gradient(135deg, rgba(139,42,40,.08), rgba(17,40,71,.04)); border:1px solid rgba(139,42,40,.14); display:grid; gap:10px; }
.ci-watch-summary-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.ci-watch-summary-card h4 { margin:0; color:#17355d; }
.ci-watch-summary-card p { margin:0; }
.ci-watch-form textarea { min-height:110px; }
.ci-watch-form-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
.ci-watch-form-grid .field--full { grid-column:1 / -1; }
.ci-watch-list-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; }
.ci-watch-item-card { padding:18px; border-radius:20px; background:#fbfcfe; border:1px solid rgba(17,40,71,.09); box-shadow: var(--shadow-sm); display:grid; gap:12px; }
.ci-watch-item-card.is-active { box-shadow:0 0 0 1px rgba(139,42,40,.16), var(--shadow-sm); }
.ci-watch-item-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.ci-watch-item-head h4 { margin:0 0 4px; color:#17355d; }
.ci-watch-item-meta { display:flex; gap:10px; flex-wrap:wrap; }
.ci-watch-band-row { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; }
.ci-watch-band { padding:12px; border-radius:16px; background:#f2f6fb; border:1px solid rgba(17,40,71,.08); }
.ci-watch-band strong { display:block; color:#17355d; margin-bottom:4px; }
.ci-watch-band span { color:#5f7388; font-size:.95rem; line-height:1.45; }
.ci-watch-item-footer { display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.ci-watch-pill { display:inline-flex; align-items:center; min-height:28px; padding:4px 10px; border-radius:999px; font-weight:800; letter-spacing:.01em; background:#edf3fb; color:#174a80; }
.ci-watch-pill.warn { background:rgba(214,170,70,.16); color:#7a5a15; }
.ci-watch-pill.bad { background:rgba(139,42,40,.10); color:#7b2c2a; }
.ci-watch-empty { padding:16px; border-radius:18px; border:1px dashed rgba(17,40,71,.16); background:#fbfcfe; }
@media (max-width: 820px) {
  .ci-watch-form-grid,
  .ci-watch-band-row { grid-template-columns:1fr; }
}


.ci-closeout-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;align-items:start}
.ci-closeout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ci-closeout-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ci-repeat-list{margin:0;padding-left:20px;color:#203247}
.ci-repeat-list li{display:flex;justify-content:space-between;gap:12px;margin:0 0 8px;padding:0}
.ci-closeout-report .ci-detail-card{height:100%}
.ci-closeout-actions{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width: 980px){.ci-metric-tile-grid,.ci-metrics-grid,.ci-metric-split{grid-template-columns:1fr}}
@media (max-width: 980px){.ci-closeout-layout,.ci-closeout-report-grid,.ci-closeout-grid{grid-template-columns:1fr}.ci-repeat-list li{display:block}}


.ci-role-view-card {
  margin-top: 1rem;
}
.ci-role-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .35rem;
}
.ci-role-toolbar .button.is-active {
  background: linear-gradient(180deg, #1e4f8d, #163d6c);
  color: #fff;
  border-color: #163d6c;
  box-shadow: 0 10px 24px rgba(22, 61, 108, .18);
}
.ci-role-summary {
  margin-top: .9rem;
}
.ci-role-summary-shell {
  border: 1px solid rgba(23, 43, 69, .08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(248, 251, 255, .98), rgba(241, 246, 252, .98));
  padding: .95rem 1rem;
}
.ci-role-summary-shell.read_only {
  background: linear-gradient(180deg, rgba(252, 248, 239, .98), rgba(248, 242, 229, .98));
}
.ci-role-summary-shell.collaborative {
  background: linear-gradient(180deg, rgba(244, 250, 244, .98), rgba(237, 247, 238, .98));
}
.ci-role-kicker {
  display: inline-block;
  margin-bottom: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1c3e6b;
}
.ci-role-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .75rem;
}
[data-ci-role-card] {
  transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
[data-ci-role-card].is-role-focus {
  border-color: rgba(30, 79, 141, .22);
  box-shadow: 0 12px 26px rgba(19, 53, 94, .08);
}
[data-ci-role-card].is-role-muted {
  opacity: .58;
}
[data-ci-role-card].is-role-hidden {
  display: none;
}
body.theme-urick [data-ci-role-view="leadership"] .ci-role-toolbar .button.is-active,
body.theme-urick [data-ci-role-view="operator"] .ci-role-toolbar .button.is-active {
  background: linear-gradient(180deg, #7f2b2b, #642020);
  border-color: #642020;
}

body.theme-urick .nav.nav-portal {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  gap: 10px;
}
body.theme-urick .nav-row {
  overflow-x: auto;
  overflow-y: hidden;
}
body.theme-urick .nav-row::-webkit-scrollbar,
body.theme-urick .nav.nav-portal::-webkit-scrollbar {
  height: 6px;
}
body.theme-urick .nav-row::-webkit-scrollbar-thumb,
body.theme-urick .nav.nav-portal::-webkit-scrollbar-thumb {
  background: rgba(19,53,94,.22);
  border-radius: 999px;
}
body.theme-urick .nav.nav-portal a {
  white-space: nowrap;
  flex: 0 0 auto;
}
body.theme-urick .nav.nav-portal a.nav-link--ci,
body.theme-urick .rail nav a.nav-link--ci {
  min-height: 42px;
  min-width: max-content;
  padding-inline: 18px;
  white-space: nowrap;
  border-radius: 999px;
}
body.theme-urick .nav.nav-portal a.nav-link--swat,
body.theme-urick .rail nav a.nav-link--swat {
  white-space: nowrap;
}

/* Urick Guided CI V1 */
body.theme-urick .nav-portal a.nav-link--ci,
body.theme-urick .rail nav a.nav-link--ci {
  background: linear-gradient(180deg, #2a6e7b, #1f4f64);
  color: #ffffff;
  border: 1px solid rgba(31, 79, 100, 0.28);
  box-shadow: 0 12px 24px rgba(31, 79, 100, 0.18);
}
body.theme-urick .nav-portal a.nav-link--ci:hover,
body.theme-urick .rail nav a.nav-link--ci:hover {
  background: linear-gradient(180deg, #33859a, #286275);
  color: #ffffff;
}
body.theme-urick .nav-portal a.nav-link--ci.active,
body.theme-urick .rail nav a.nav-link--ci.active {
  background: linear-gradient(180deg, #3a97a8, #2d6f82);
  color: #ffffff;
}

.ci-program-shell { display:grid; gap:18px; }
.ci-program-hero {
  padding:24px;
  border-radius:28px;
  border:1px solid rgba(45, 111, 130, .24);
  background: linear-gradient(135deg, #15314a 0%, #0d5a5b 100%);
  color:#f2f7fa;
  box-shadow: 0 20px 36px rgba(17,40,71,.14);
  display:grid;
  gap:18px;
}
.ci-program-hero .ci-eyebrow { color:#caefef; }
.ci-program-summary-card { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.10); box-shadow:none; }
.ci-program-summary-card h3, .ci-program-summary-card p, .ci-program-summary-card .big { color:#ffffff; }
.ci-program-summary-card p { color: rgba(242,247,250,.82); }
.ci-program-grid { grid-template-columns: 1.08fr .92fr; }
.ci-step-num--calm { background: linear-gradient(180deg, #2a6e7b, #1f4f64); }
.ci-program-gates { margin-top:18px; padding-top:16px; border-top:1px solid rgba(17,40,71,.08); display:grid; gap:10px; }
.ci-program-gates h4 { margin:0; color:#17355d; }
.ci-program-gate-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.ci-program-gate-list li { padding:12px 14px; border-radius:16px; background:#f5fbfb; border:1px solid rgba(31,79,100,.10); display:grid; gap:4px; }
.ci-program-gate-list strong { color:#17355d; }
.ci-program-gate-list span { color:#5f7388; line-height:1.5; }
.ci-program-ownership-card textarea { min-height:100px; }
.ci-program-ownership-banner { display:grid; gap:6px; padding:12px 14px; border-radius:16px; background:#f1f8fa; border:1px solid rgba(31,79,100,.10); margin-bottom:14px; }
.ci-program-ownership-banner strong { color:#17355d; }
.ci-program-ownership-banner span { color:#5f7388; line-height:1.5; }
.ci-program-ownership-banner.is-active { background:rgba(33, 135, 112, .10); border-color:rgba(33, 135, 112, .20); }
.ci-program-card .badge.good { background:#e8f6f3; color:#17635e; }
.ci-program-ownership-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.ci-program-ownership-grid span { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:#6b7d92; margin-bottom:4px; }
.ci-program-ownership-grid strong { display:block; color:#17355d; line-height:1.55; white-space:pre-wrap; }
@media (max-width: 1080px) {
  .ci-program-grid,
  .ci-program-ownership-grid { grid-template-columns:1fr; }
}


.ci-case-actions .button.is-active-open {
  box-shadow: 0 0 0 2px rgba(24, 93, 115, .18) inset;
}

.ci-flash-target {
  animation: ciProgramFlash 1.6s ease;
}

@keyframes ciProgramFlash {
  0% { box-shadow: 0 0 0 0 rgba(24, 93, 115, .28), var(--shadow); }
  30% { box-shadow: 0 0 0 4px rgba(24, 93, 115, .20), var(--shadow); }
  100% { box-shadow: 0 0 0 2px rgba(139,42,40,.22), var(--shadow); }
}


/* Urick grouped command nav */
body.theme-urick .nav-row {
  overflow: visible !important;
}
body.theme-urick .nav.nav-portal.nav-portal--grouped {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 12px;
  overflow: visible !important;
}
body.theme-urick .nav-portal--grouped > .nav-root-link,
body.theme-urick .nav-portal--grouped .nav-group-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(17,40,71,.08);
  background: #ffffff;
  color: #17355d;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10,23,43,.06);
  white-space: nowrap;
}
body.theme-urick .nav-portal--grouped > .nav-root-link:hover,
body.theme-urick .nav-portal--grouped .nav-group-toggle:hover {
  background: #f4f8fd;
  border-color: rgba(23,53,93,.16);
}
body.theme-urick .nav-portal--grouped > .nav-root-link.active,
body.theme-urick .nav-portal--grouped .nav-group.is-active .nav-group-toggle,
body.theme-urick .nav-portal--grouped .nav-group.is-open .nav-group-toggle {
  background: rgba(31,95,158,.10);
  color: var(--accent);
  border-color: rgba(31,95,158,.14);
}
body.theme-urick .nav-portal--grouped .nav-group {
  position: relative;
  flex: 0 0 auto;
}
body.theme-urick .nav-portal--grouped .nav-group-toggle {
  cursor: pointer;
  gap: 10px;
}
body.theme-urick .nav-portal--grouped .nav-caret {
  font-size: .85rem;
  line-height: 1;
  transition: transform .16s ease;
}
body.theme-urick .nav-portal--grouped .nav-group.is-open .nav-caret {
  transform: rotate(180deg);
}
body.theme-urick .nav-portal--grouped .nav-group-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 248px;
  display: none;
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(17,40,71,.10);
  box-shadow: 0 18px 42px rgba(10,23,43,.14);
  z-index: 120;
}
body.theme-urick .nav-portal--grouped .nav-group.is-open .nav-group-menu {
  display: grid;
}
body.theme-urick .nav-portal--grouped .nav-group-menu a.nav-group-item {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,40,71,.08);
  background: #fff;
  color: #17355d;
  font-weight: 800;
  white-space: nowrap;
}
body.theme-urick .nav-portal--grouped .nav-group-menu a.nav-group-item:hover {
  background: #f4f8fd;
  border-color: rgba(23,53,93,.16);
}
body.theme-urick .nav-portal--grouped .nav-group-menu a.nav-group-item.active {
  background: rgba(31,95,158,.10);
  color: var(--accent);
  border-color: rgba(31,95,158,.14);
}
body.theme-urick .nav-portal--grouped .nav-group-menu a.menu-item--ci {
  background: linear-gradient(180deg, rgba(42,110,123,.12), rgba(31,79,100,.08));
  border-color: rgba(31,79,100,.16);
}
body.theme-urick .nav-portal--grouped .nav-group-menu a.menu-item--ci:hover,
body.theme-urick .nav-portal--grouped .nav-group-menu a.menu-item--ci.active {
  background: linear-gradient(180deg, #2a6e7b, #1f4f64);
  color: #fff;
  border-color: rgba(31,79,100,.28);
}
body.theme-urick .nav-portal--grouped .nav-group-menu a.menu-item--swat {
  background: linear-gradient(180deg, rgba(146,40,40,.12), rgba(100,32,32,.08));
  border-color: rgba(100,32,32,.16);
}
body.theme-urick .nav-portal--grouped .nav-group-menu a.menu-item--swat:hover,
body.theme-urick .nav-portal--grouped .nav-group-menu a.menu-item--swat.active {
  background: linear-gradient(180deg, #7f2b2b, #642020);
  color: #fff;
  border-color: rgba(100,32,32,.28);
}

@media (max-width: 900px) {
  .site-header.menu-open .nav.nav-portal.nav-portal--grouped {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-header.menu-open .nav-portal--grouped > .nav-root-link,
  .site-header.menu-open .nav-portal--grouped .nav-group {
    width: 100%;
  }
  .site-header.menu-open .nav-portal--grouped .nav-group-toggle,
  .site-header.menu-open .nav-portal--grouped > .nav-root-link {
    width: 100%;
    justify-content: space-between;
  }
  .site-header.menu-open .nav-portal--grouped .nav-group-menu {
    position: relative;
    top: auto;
    left: auto;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 18px;
  }
  .site-header.menu-open .nav-portal--grouped .nav-group-menu a.nav-group-item {
    min-height: 44px;
  }
}


/* Urick header command strip: keep CI, S.W.A.T., and C.A.T.A.S.T.R.O.P.H.E. always visible */
body.theme-urick .nav.nav-portal.nav-portal--grouped {
  overflow: visible;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
body.theme-urick .nav-portal--grouped .nav-command-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}
body.theme-urick .nav-portal--grouped .nav-command-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(19,53,94,.18);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(19,53,94,.10);
}
body.theme-urick .nav-portal--grouped .nav-command-link--ci {
  background: linear-gradient(180deg, #2f8fa2, #236a7a);
  color: #ffffff;
  border-color: rgba(31, 79, 100, .36);
}
body.theme-urick .nav-portal--grouped .nav-command-link--ci:hover,
body.theme-urick .nav-portal--grouped .nav-command-link--ci.active {
  background: linear-gradient(180deg, #38a2b6, #2a7b8d);
  color: #ffffff;
}
body.theme-urick .nav-portal--grouped .nav-command-link--swat {
  background: linear-gradient(180deg, #cc4d4d, #9a2626);
  color: #ffffff;
  border-color: rgba(130, 27, 27, .36);
}
body.theme-urick .nav-portal--grouped .nav-command-link--swat:hover,
body.theme-urick .nav-portal--grouped .nav-command-link--swat.active {
  background: linear-gradient(180deg, #d95d5d, #aa2d2d);
  color: #ffffff;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe {
  background: linear-gradient(180deg, #4a4537, #2a2721);
  color: #fff7de;
  border-color: rgba(138, 116, 47, .42);
  box-shadow: 0 12px 24px rgba(42, 39, 33, .18);
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe:hover,
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe.active {
  background: linear-gradient(180deg, #5a5444, #342f27);
  color: #fff7de;
}
@media (max-width: 1180px) {
  body.theme-urick .nav-portal--grouped .nav-command-cluster {
    width: 100%;
    margin-left: 0;
    order: 10;
  }
}
@media (max-width: 720px) {
  .site-header.menu-open .nav-portal--grouped .nav-command-cluster {
    display: grid;
    width: 100%;
    gap: 10px;
  }
  .site-header.menu-open .nav-portal--grouped .nav-command-link {
    width: 100%;
    justify-content: flex-start;
  }
}



/* --- Urick C.A.T.A.S.T.R.O.P.H.E. merged polish fix (post-header-command-trio) --- */
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  color: #171309;
  border-color: rgba(86, 63, 0, .42);
  box-shadow: 0 12px 24px rgba(56, 45, 14, .18);
  text-shadow: none;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(-45deg, #f2c61e 0 12px, #1d1a16 12px 24px);
  z-index: -2;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe::after {
  content: "";
  position: absolute;
  inset: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,245,191,.96), rgba(241,220,126,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 0 rgba(0,0,0,.06);
  z-index: -1;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe:hover,
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe.active {
  color: #151107;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe:hover::after,
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe.active::after {
  background: linear-gradient(180deg, rgba(255,248,206,.98), rgba(247,226,134,.98));
}

body.theme-urick .cat-shell {
  display: grid;
  gap: 24px;
}
body.theme-urick .cat-hero {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  border: 1px solid rgba(19,53,94,.10);
  box-shadow: 0 12px 32px rgba(17,40,71,.06);
  overflow: hidden;
}
body.theme-urick .cat-hero::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(-45deg, #f2c61e 0 12px, #1d1a16 12px 24px);
}
body.theme-urick .cat-eyebrow {
  color: #755500;
}
body.theme-urick .cat-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body.theme-urick .cat-summary-card {
  position: relative;
  overflow: hidden;
  padding-top: 22px;
}
body.theme-urick .cat-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(-45deg, #f2c61e 0 10px, #1d1a16 10px 20px);
}
body.theme-urick .cat-summary-card .big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 16px;
  margin: 0 0 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff2b3, #f1d04d);
  border: 1px solid rgba(86, 63, 0, .20);
  box-shadow: 0 8px 18px rgba(56, 45, 14, .12);
  color: #171309;
  font-size: 1.35rem;
  line-height: 1.1;
  white-space: nowrap;
}
body.theme-urick .cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
body.theme-urick .cat-card {
  display: grid;
  gap: 16px;
}
body.theme-urick .cat-state-list,
body.theme-urick .cat-points {
  display: grid;
  gap: 14px;
}
body.theme-urick .cat-point {
  display: grid;
  gap: 8px;
}
body.theme-urick .cat-point strong {
  color: #17355d;
}
body.theme-urick .cat-state-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.1;
  white-space: nowrap;
  border: 1px solid rgba(19,53,94,.12);
}
body.theme-urick .cat-state-pill.info {
  background: linear-gradient(180deg, #eef4fb, #dbe8f6);
  color: #17355d;
}
body.theme-urick .cat-state-pill.bad {
  background: linear-gradient(180deg, rgba(255,245,191,.98), rgba(241,220,126,.98));
  color: #171309;
  border-color: rgba(86, 63, 0, .20);
  position: relative;
  overflow: hidden;
}
body.theme-urick .cat-state-pill.bad::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(29,26,22,.95) 0 8px, rgba(29,26,22,0) 8px 16px);
  opacity: .25;
}
@media (max-width: 1100px) {
  body.theme-urick .cat-summary-grid,
  body.theme-urick .cat-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  body.theme-urick .cat-hero {
    padding: 20px;
  }
  body.theme-urick .cat-summary-card .big {
    font-size: 1.15rem;
    white-space: normal;
  }
  body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe {
    font-size: 13px;
    padding: 0 16px;
  }
  body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe::after {
    inset: 5px 8px;
  }
}


/* --- CAT V3 open/load polish + responder handoff workflow --- */
body.theme-urick .cat-guidance-card--v3,
body.theme-urick .cat-detail-grid--v3 {
  display: grid;
  gap: 18px;
}
body.theme-urick .cat-handoff-flow-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(19,53,94,.10);
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
}
body.theme-urick .cat-handoff-flow-card h5 {
  margin: 0;
  color: #17355d;
  font-size: 1rem;
}
body.theme-urick .cat-handoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.theme-urick .cat-handoff-grid--detail {
  margin-bottom: 14px;
}
body.theme-urick .cat-handoff-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(19,53,94,.10);
  background: #fff;
}
body.theme-urick .cat-handoff-step strong { color: #17355d; }
body.theme-urick .cat-handoff-step p { margin: 4px 0 0; }
body.theme-urick .cat-handoff-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff2b3, #f1d04d);
  color: #171309;
  font-weight: 900;
  border: 1px solid rgba(86,63,0,.18);
}
body.theme-urick .cat-mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  border: 1px solid rgba(19,53,94,.10);
  white-space: nowrap;
}
body.theme-urick .cat-mini-pill--good { background: #eaf7ef; color: #1d6a3a; }
body.theme-urick .cat-mini-pill--warn { background: #fff6dc; color: #8a6100; }
body.theme-urick .cat-mini-pill--bad { background: #fde8e8; color: #9a2626; }
body.theme-urick .cat-mini-pill--info { background: #eef4fb; color: #17355d; }
body.theme-urick .cat-mini-pill--muted { background: #f2f5f8; color: #58708d; }
body.theme-urick .cat-event-card .button[disabled],
body.theme-urick .cat-event-card .button.is-opened {
  opacity: 1;
}
body.theme-urick .cat-detail-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 14px;
}
body.theme-urick .cat-detail-kpi {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(19,53,94,.10);
  background: #fff;
  display: grid;
  gap: 6px;
}
body.theme-urick .cat-detail-kpi span {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6d86a3;
}
body.theme-urick .cat-detail-kpi strong {
  color: #17355d;
}
@media (max-width: 1000px) {
  body.theme-urick .cat-handoff-grid,
  body.theme-urick .cat-detail-kpis {
    grid-template-columns: 1fr;
  }
}



/* --- Urick CAT V3 intake layout polish --- */
body.theme-urick [data-cat-page] .cat-intake-grid,
body.theme-urick [data-cat-page] .cat-form-grid,
body.theme-urick [data-cat-page] .cat-form-stack {
  display: grid;
  gap: 14px;
}

body.theme-urick [data-cat-page] [data-cat-form] {
  display: grid;
  gap: 14px;
}

body.theme-urick [data-cat-page] .cat-form-row,
body.theme-urick [data-cat-page] .cat-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

body.theme-urick [data-cat-page] .cat-field-row--triple,
body.theme-urick [data-cat-page] .cat-form-row--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.theme-urick [data-cat-page] .cat-field-row--quad,
body.theme-urick [data-cat-page] .cat-form-row--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-urick [data-cat-page] .cat-field,
body.theme-urick [data-cat-page] .cat-form-field,
body.theme-urick [data-cat-page] .field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

body.theme-urick [data-cat-page] label {
  display: block;
  margin: 0;
}

body.theme-urick [data-cat-page] input[type="text"],
body.theme-urick [data-cat-page] input[type="email"],
body.theme-urick [data-cat-page] select,
body.theme-urick [data-cat-page] textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.theme-urick [data-cat-page] textarea {
  min-height: 92px;
  resize: vertical;
}

body.theme-urick [data-cat-page] .cat-inline-checks,
body.theme-urick [data-cat-page] .cat-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

body.theme-urick [data-cat-page] .cat-inline-checks label,
body.theme-urick [data-cat-page] .cat-check-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #17355d;
}

body.theme-urick [data-cat-page] .cat-top-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.theme-urick [data-cat-page] .cat-status,
body.theme-urick [data-cat-page] [data-cat-status] {
  line-height: 1.5;
}

body.theme-urick [data-cat-page] .cat-status strong,
body.theme-urick [data-cat-page] [data-cat-status] strong {
  margin-right: 6px;
}

body.theme-urick [data-cat-page] .cat-status strong::after,
body.theme-urick [data-cat-page] [data-cat-status] strong::after {
  content: " ";
}

body.theme-urick [data-cat-page] .cat-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 1100px) {
  body.theme-urick [data-cat-page] .cat-two-col,
  body.theme-urick [data-cat-page] .cat-form-row,
  body.theme-urick [data-cat-page] .cat-field-row,
  body.theme-urick [data-cat-page] .cat-field-row--triple,
  body.theme-urick [data-cat-page] .cat-form-row--triple,
  body.theme-urick [data-cat-page] .cat-field-row--quad,
  body.theme-urick [data-cat-page] .cat-form-row--quad {
    grid-template-columns: 1fr;
  }

  body.theme-urick [data-cat-page] .cat-top-actions {
    justify-content: flex-start;
  }
}



/* --- Urick CAT V4 readability polish --- */
body.theme-urick [data-cat-page] {
  --cat-copy-size: 15px;
  --cat-label-size: 13px;
}

body.theme-urick [data-cat-page] .table-card,
body.theme-urick [data-cat-page] .summary-card,
body.theme-urick [data-cat-page] .cat-card,
body.theme-urick [data-cat-page] .cat-summary-card {
  padding: 22px;
}

body.theme-urick [data-cat-page] .cat-two-col,
body.theme-urick [data-cat-page] .cat-shell {
  gap: 22px;
}

body.theme-urick [data-cat-page] .cat-intake-form,
body.theme-urick [data-cat-page] [data-cat-form] {
  gap: 18px;
}

body.theme-urick [data-cat-page] .cat-form-row,
body.theme-urick [data-cat-page] .cat-field-row,
body.theme-urick [data-cat-page] .cat-inline-checks,
body.theme-urick [data-cat-page] .cat-check-row {
  gap: 16px;
}

body.theme-urick [data-cat-page] label,
body.theme-urick [data-cat-page] .field > span,
body.theme-urick [data-cat-page] .cat-field > span,
body.theme-urick [data-cat-page] .cat-form-field > span,
body.theme-urick [data-cat-page] .helper-label {
  font-size: var(--cat-label-size);
  font-weight: 800;
  color: #17355d;
  letter-spacing: .01em;
}

body.theme-urick [data-cat-page] input[type="text"],
body.theme-urick [data-cat-page] input[type="email"],
body.theme-urick [data-cat-page] select,
body.theme-urick [data-cat-page] textarea {
  font-size: 15px;
  line-height: 1.45;
  padding: 11px 12px;
}

body.theme-urick [data-cat-page] textarea {
  min-height: 104px;
}

body.theme-urick [data-cat-page] .cat-status,
body.theme-urick [data-cat-page] [data-cat-status],
body.theme-urick [data-cat-page] p,
body.theme-urick [data-cat-page] li,
body.theme-urick [data-cat-page] .helper {
  font-size: var(--cat-copy-size);
  line-height: 1.6;
}

body.theme-urick [data-cat-page] h3,
body.theme-urick [data-cat-page] h4 {
  line-height: 1.25;
}

body.theme-urick [data-cat-page] .cat-top-actions .button,
body.theme-urick [data-cat-page] .cat-top-actions button,
body.theme-urick [data-cat-page] button[type="submit"],
body.theme-urick [data-cat-page] [data-cat-log],
body.theme-urick [data-cat-page] [data-cat-reset],
body.theme-urick [data-cat-page] [data-cat-refresh] {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

body.theme-urick [data-cat-page] .cat-summary-card .big {
  min-height: 46px;
  padding: 9px 18px;
  font-size: 1.45rem;
  margin-bottom: 14px;
}

body.theme-urick [data-cat-page] .cat-state-pill,
body.theme-urick [data-cat-page] .status-pill,
body.theme-urick [data-cat-page] .badge {
  font-size: 12px;
  padding: 6px 11px;
}

body.theme-urick [data-cat-page] .saved-cat-events,
body.theme-urick [data-cat-page] [data-cat-list],
body.theme-urick [data-cat-page] [data-cat-detail] {
  font-size: 15px;
}

body.theme-urick [data-cat-page] [data-cat-list] .summary-card,
body.theme-urick [data-cat-page] [data-cat-detail] .summary-card,
body.theme-urick [data-cat-page] [data-cat-detail] .table-card {
  padding: 20px;
}

body.theme-urick [data-cat-page] [data-cat-list] .summary-card h4,
body.theme-urick [data-cat-page] [data-cat-detail] h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

body.theme-urick [data-cat-page] .cat-response-board,
body.theme-urick [data-cat-page] [data-cat-response-board] {
  gap: 18px;
}

body.theme-urick [data-cat-page] .cat-response-grid,
body.theme-urick [data-cat-page] .cat-signal-grid {
  gap: 14px;
}

body.theme-urick [data-cat-page] .cat-signal-card,
body.theme-urick [data-cat-page] .cat-response-card,
body.theme-urick [data-cat-page] .cat-handoff-card {
  padding: 16px 18px;
}

body.theme-urick [data-cat-page] .cat-signal-card strong,
body.theme-urick [data-cat-page] .cat-response-card strong,
body.theme-urick [data-cat-page] .cat-handoff-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: .02em;
}

body.theme-urick [data-cat-page] .cat-signal-card p,
body.theme-urick [data-cat-page] .cat-response-card p,
body.theme-urick [data-cat-page] .cat-handoff-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

body.theme-urick [data-cat-page] .cat-workflow-grid {
  gap: 14px;
}

body.theme-urick [data-cat-page] .cat-workflow-step {
  padding: 14px 16px;
}

body.theme-urick [data-cat-page] .cat-workflow-step strong {
  font-size: 14px;
}

body.theme-urick [data-cat-page] .cat-workflow-step p {
  font-size: 14px;
}

@media (max-width: 720px) {
  body.theme-urick [data-cat-page] {
    --cat-copy-size: 14px;
  }

  body.theme-urick [data-cat-page] .table-card,
  body.theme-urick [data-cat-page] .summary-card,
  body.theme-urick [data-cat-page] .cat-card,
  body.theme-urick [data-cat-page] .cat-summary-card {
    padding: 18px;
  }

  body.theme-urick [data-cat-page] .cat-summary-card .big {
    font-size: 1.2rem;
    min-height: 42px;
  }
}


/* --- Urick SYSTEM-LIVE | PLAYER-LIVE V1 --- */
body.theme-urick .nav-portal a.nav-link--system-player,
body.theme-urick .rail nav a.nav-link--system-player {
  background: linear-gradient(180deg, #27466f, #1b2d48);
  color: #ffffff;
  border: 1px solid rgba(39, 70, 111, .32);
  box-shadow: 0 12px 24px rgba(27, 45, 72, .18);
  border-radius: 999px;
}
body.theme-urick .nav-portal a.nav-link--system-player:hover,
body.theme-urick .rail nav a.nav-link--system-player:hover,
body.theme-urick .nav-portal a.nav-link--system-player.active,
body.theme-urick .rail nav a.nav-link--system-player.active {
  background: linear-gradient(180deg, #2f5586, #203657);
  color: #ffffff;
}

.slpl-shell { display:grid; gap:22px; }
.slpl-hero {
  position: relative;
  overflow: hidden;
  display:grid;
  gap:20px;
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(47,85,134,.18);
  background:
    radial-gradient(circle at top right, rgba(255,151,65,.22), transparent 34%),
    radial-gradient(circle at top left, rgba(70,159,255,.18), transparent 36%),
    linear-gradient(135deg, #111f36 0%, #17365b 48%, #0f2736 100%);
  color:#f3f7fb;
  box-shadow: 0 22px 40px rgba(17,40,71,.18);
}
.slpl-hero::after {
  content:'';
  position:absolute;
  inset:auto -10% -40% auto;
  width:340px;
  height:340px;
  background: radial-gradient(circle, rgba(255,163,72,.32), rgba(255,163,72,0));
  pointer-events:none;
}
.slpl-hero .copy,
.slpl-hero p,
.slpl-hero .helper { color: rgba(243,247,251,.88); }
.slpl-eyebrow { color:#9dd6ff; }
.slpl-kicker {
  display:inline-flex;
  width:fit-content;
  padding:8px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  color:#ffffff;
  font-weight:800;
  letter-spacing:.02em;
}
.slpl-hero-grid { display:grid; grid-template-columns: 1.2fr .9fr; gap:18px; align-items:start; }
.slpl-hero-card { background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); box-shadow:none; }
.slpl-hero-card h3, .slpl-hero-card p, .slpl-hero-card .big { color:#ffffff; }
.slpl-hero-card p { color:rgba(243,247,251,.82); }
.slpl-quote { font-size: 1.02rem; font-weight: 700; color:#fff5d8; }

.slpl-why { display:grid; gap:14px; }
.slpl-why p { font-size: 15px; line-height: 1.72; }
.slpl-why .closing { font-weight:900; color:#17355d; font-size:1.05rem; }

.slpl-status-grid {
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:16px;
}
.slpl-status-card { padding:18px; }
.slpl-status-card .label { display:block; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:#5c7392; margin-bottom:8px; font-weight:800; }
.slpl-status-card strong { display:block; font-size:1rem; color:#17355d; line-height:1.35; }

.slpl-main-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:20px; }
.slpl-card-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.slpl-data-card { padding:16px 18px; }
.slpl-data-card .label { display:block; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:#5c7392; font-weight:800; margin-bottom:8px; }
.slpl-data-card p { margin:0; font-size:15px; line-height:1.55; }

.slpl-lane-shell { display:grid; gap:18px; }
.slpl-lane-toggles { display:flex; flex-wrap:wrap; gap:10px; }
.slpl-lane-toggle {
  appearance:none; border:1px solid rgba(19,53,94,.12); background:#eef4fb; color:#17355d;
  border-radius:999px; min-height:42px; padding:0 16px; font-weight:800; cursor:pointer;
}
.slpl-lane-toggle:hover { background:#e1edf9; }
.slpl-lane-toggle.active { background:#17355d; color:#ffffff; }
.slpl-lane-board {
  display:grid; grid-template-columns: 1.2fr .9fr; gap:18px;
}
.slpl-active-card { display:grid; gap:12px; }
.slpl-active-card p { margin:0; font-size:15px; line-height:1.62; }
.slpl-active-card .action-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.slpl-launch-button {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px; border-radius:999px;
  background: linear-gradient(180deg, #17355d, #102743); color:#fff; text-decoration:none; font-weight:800;
  box-shadow: 0 10px 20px rgba(17,40,71,.14);
}
.slpl-launch-button:hover { color:#fff; background: linear-gradient(180deg, #1d4274, #143055); }
.slpl-memory-list { margin:0; padding-left:18px; display:grid; gap:8px; }
.slpl-memory-list li { color:#4b5f78; line-height:1.55; }

.slpl-launch-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px; }
.slpl-launch-grid .summary-card { display:grid; gap:12px; }
.slpl-launch-grid .button { width:fit-content; }
.slpl-chip-row { display:flex; flex-wrap:wrap; gap:8px; }

@media (max-width: 1100px) {
  .slpl-hero-grid,
  .slpl-status-grid,
  .slpl-main-grid,
  .slpl-card-grid,
  .slpl-lane-board,
  .slpl-launch-grid {
    grid-template-columns: 1fr;
  }
}


/* --- Urick SYSTEM-LIVE | PLAYER-LIVE V2 hero strike pass --- */
.slpl-hero {
  gap: 24px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(255,151,65,.20), transparent 30%),
    radial-gradient(circle at top left, rgba(70,159,255,.16), transparent 34%),
    linear-gradient(135deg, #091223 0%, #10284a 42%, #0d2232 100%);
}
.slpl-hero-grid--strike {
  grid-template-columns: 1.12fr .88fr;
  gap: 22px;
  align-items: stretch;
}
.slpl-strike-visual {
  position: relative;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(157,214,255,.18);
  box-shadow: 0 18px 38px rgba(4,10,20,.32);
  background: linear-gradient(180deg, rgba(6,11,20,.88), rgba(6,11,20,.62));
}
.slpl-strike-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}
.slpl-hero-card--ignite {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(13,23,40,.88), rgba(25,36,56,.82));
  border: 1px solid rgba(157,214,255,.16);
  box-shadow: 0 18px 38px rgba(4,10,20,.28);
}
.slpl-hero-card--ignite .big {
  color: #ffffff;
  font-size: 2.1rem;
  margin-bottom: 2px;
}
.slpl-hero-card--ignite h2,
.slpl-hero-card--ignite h3,
.slpl-hero-card--ignite p,
.slpl-hero-card--ignite .slpl-quote {
  color: #ffffff;
}
.slpl-hero-card--ignite h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}
.slpl-hero-card--ignite h3 {
  margin: 2px 0 0;
  font-size: 1.1rem;
  color: #9dd6ff;
}
.slpl-hero-card--ignite p {
  font-size: 1rem;
  line-height: 1.68;
  color: rgba(243,247,251,.96);
}
.slpl-hero-card--ignite .slpl-quote {
  margin-top: 2px;
  font-size: 1.08rem;
  line-height: 1.45;
  color: #fff2b3;
}
.slpl-kicker {
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
@media (max-width: 1100px) {
  .slpl-hero-grid--strike {
    grid-template-columns: 1fr;
  }
  .slpl-strike-image {
    min-height: 420px;
  }
}
@media (max-width: 720px) {
  .slpl-hero {
    padding: 20px;
  }
  .slpl-hero-card--ignite {
    padding: 20px;
  }
  .slpl-hero-card--ignite h2 {
    font-size: 1.5rem;
  }
  .slpl-hero-card--ignite .big {
    font-size: 1.7rem;
  }
  .slpl-strike-image {
    min-height: 320px;
  }
}

/* --- Urick SYSTEM-LIVE | PLAYER-LIVE V2 hero containment fix --- */
.slpl-hero-grid--strike {
  align-items: start;
}

.slpl-strike-visual {
  align-self: start;
  aspect-ratio: 4 / 5;
  max-height: 760px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(4,10,20,.96), rgba(8,16,28,.9));
}

.slpl-strike-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
  border-radius: 16px;
  background: #060d18;
}

@media (max-width: 1100px) {
  .slpl-strike-visual {
    aspect-ratio: 16 / 10;
    max-height: none;
    padding: 10px;
  }
  .slpl-strike-image {
    object-fit: cover;
  }
}

@media (max-width: 720px) {
  .slpl-strike-visual {
    aspect-ratio: 4 / 5;
    padding: 8px;
  }
  .slpl-strike-image {
    min-height: 0;
    object-fit: contain;
  }
}

/* =========================================================
   Urick SYSTEM-LIVE | PLAYER-LIVE
   V3 hero stack fix — image first, IGNITE caption below
   Scope: hero only. No nav / CI / S.W.A.T. / CAT changes.
   ========================================================= */
.slpl-hero-grid--strike {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.slpl-strike-visual {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  align-self: stretch !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.slpl-strike-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 16px !important;
  transform: none !important;
}

.slpl-hero-card--ignite {
  width: 100% !important;
  max-width: none !important;
  position: relative !important;
  inset: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.slpl-hero-card--ignite h2,
.slpl-hero-card--ignite h3,
.slpl-hero-card--ignite p,
.slpl-hero-card--ignite .slpl-quote {
  max-width: none !important;
}

@media (max-width: 1100px) {
  .slpl-hero-grid--strike {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .slpl-strike-image {
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 720px) {
  .slpl-strike-visual {
    padding: 8px !important;
  }
}

/* v4: V.A.U.L.T. document lane integration */
.vault-document-hero {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.vault-document-hero .button {
  flex:0 0 auto;
  margin-top:6px;
}
.vault-document-context {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, .9fr);
  gap:18px;
  align-items:start;
  background:linear-gradient(180deg, #ffffff, #f7f9fc);
}
.vault-document-context h3 {
  margin:10px 0 8px;
}
.vault-document-source-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
.vault-document-source-grid div {
  min-height:92px;
  padding:14px;
  border-radius:16px;
  background:#f1f5f9;
  border:1px solid rgba(17,40,71,.08);
}
.vault-document-source-grid strong {
  display:block;
  color:#17355d;
  margin-bottom:6px;
}
.vault-document-source-grid span {
  display:block;
  color:#5f7188;
  line-height:1.45;
  font-size:.9rem;
}
.documents-shell--vault {
  border-color:rgba(31,95,158,.16);
}
.documents-filter-grid--three {
  grid-template-columns:repeat(3, minmax(0,1fr));
}
.vault-doc-lane-status,
.vault-doc-lane-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  border-radius:18px;
  padding:12px 14px;
  background:rgba(31,95,158,.08);
  border:1px solid rgba(31,95,158,.14);
  color:#17355d;
}
.vault-doc-lane-status strong,
.vault-doc-lane-strip strong {
  color:#17355d;
}
.vault-doc-lane-status span,
.vault-doc-lane-strip span {
  color:#53677f;
  line-height:1.5;
}
.vault-doc-source-note {
  margin:0 0 12px;
  color:#53677f;
  line-height:1.55;
}
.badge.vault-local { background:rgba(214,170,70,.18); color:#7a5a15; }
.badge.vault-sync { background:rgba(31,95,158,.12); color:#174a80; }
.badge.vault-archive { background:rgba(17,40,71,.10); color:#364a61; }
@media (max-width: 980px) {
  .vault-document-context,
  .vault-document-source-grid,
  .documents-filter-grid--three {
    grid-template-columns:1fr;
  }
  .vault-document-hero {
    display:grid;
  }
}


/* Urick KPI Center v1 — truth-first performance shell */
.kpi-command-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.kpi-command-hero{position:relative;overflow:hidden;border:1px solid rgba(214,170,70,.58);border-radius:24px;padding:22px;background:radial-gradient(circle at 86% 22%,rgba(214,170,70,.22),transparent 28%),linear-gradient(135deg,#07101c 0%,#111b24 48%,#202923 100%);color:#fff6d6;box-shadow:0 22px 46px rgba(6,18,31,.18)}.kpi-command-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:32px 32px;opacity:.18}.kpi-command-hero>*{position:relative;z-index:1}.kpi-command-hero .eyebrow{color:#ffd957;letter-spacing:.16em}.kpi-command-hero h2{color:#fff6d6;font-size:clamp(2rem,4vw,3.4rem);line-height:.95;margin:4px 0 10px;letter-spacing:.02em}.kpi-command-hero p{color:rgba(255,246,214,.84);max-width:850px;line-height:1.7}.kpi-command-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.kpi-command-strip span{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(214,170,70,.42);border-radius:999px;padding:7px 11px;background:rgba(3,9,16,.58);color:#ffe17a;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.kpi-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kpi-source-card,.kpi-panel-card,.kpi-doctrine-card{border:1px solid rgba(214,170,70,.35);border-radius:18px;background:linear-gradient(145deg,#08121e 0%,#131b22 58%,#222824 100%);color:#fff6d6;box-shadow:0 16px 34px rgba(7,18,31,.13)}.kpi-source-card{padding:15px;min-height:145px}.kpi-source-card .kpi-source-top,.kpi-panel-card .kpi-source-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.kpi-source-card h3,.kpi-panel-card h3,.kpi-doctrine-card h3{color:#fff6d6;margin:0}.kpi-source-card p,.kpi-panel-card p,.kpi-doctrine-card p,.kpi-source-card li,.kpi-doctrine-card li{color:rgba(255,246,214,.78);line-height:1.6}.kpi-source-card p{margin:0}.kpi-status-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;background:rgba(214,170,70,.18);color:#ffe17a;border:1px solid rgba(214,170,70,.35)}.kpi-status-pill.live{background:rgba(31,151,124,.2);color:#72f0ca;border-color:rgba(31,151,124,.36)}.kpi-status-pill.watch{background:rgba(214,170,70,.19);color:#ffe17a;border-color:rgba(214,170,70,.4)}.kpi-status-pill.pending{background:rgba(180,194,210,.16);color:#d5e4f3;border-color:rgba(180,194,210,.25)}.kpi-status-pill.locked{background:rgba(190,75,78,.18);color:#ffb3b8;border-color:rgba(190,75,78,.32)}.kpi-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kpi-panel-card{padding:16px}.kpi-metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.kpi-metric-chip{min-height:82px;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:12px;background:rgba(0,0,0,.2)}.kpi-metric-chip strong{display:block;color:#ffd957;font-size:clamp(1.45rem,3vw,2.15rem);line-height:1;margin-bottom:7px}.kpi-metric-chip span{display:block;color:rgba(255,246,214,.78);font-size:.76rem;font-weight:900;line-height:1.25;text-transform:uppercase;letter-spacing:.06em}.kpi-doctrine-card{padding:18px}.kpi-doctrine-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 0;padding:0;list-style:none}.kpi-doctrine-list li{border:1px dashed rgba(214,170,70,.32);border-radius:14px;padding:12px;background:rgba(0,0,0,.15)}.kpi-doctrine-list strong{display:block;color:#ffd957;margin-bottom:4px;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}@media(max-width:980px){.kpi-source-grid,.kpi-panel-grid,.kpi-doctrine-list{grid-template-columns:1fr}.kpi-metric-row{grid-template-columns:1fr}}

/* KPI v2 drilldown routing */
.kpi-action-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.kpi-action-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border-radius:999px;border:1px solid rgba(214,170,70,.36);background:rgba(3,9,16,.58);color:#ffe17a;font-size:.72rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;box-shadow:0 8px 18px rgba(0,0,0,.14);transition:transform .12s ease,background .18s ease,border-color .18s ease}.kpi-action-link:hover{transform:translateY(-1px);background:rgba(214,170,70,.16);border-color:rgba(214,170,70,.6);color:#fff6d6}.kpi-action-link:focus-visible{outline:2px solid rgba(214,170,70,.46);outline-offset:2px}.kpi-source-card .kpi-action-row{margin-top:16px}.kpi-source-card{display:flex;flex-direction:column}.kpi-source-card .kpi-action-row{margin-top:auto;padding-top:14px}@media(max-width:720px){.kpi-action-link{width:100%}}

.kpi-panel-card--wired{box-shadow:0 0 0 1px rgba(42,211,154,.18),0 18px 38px rgba(7,18,31,.18)}
.kpi-card-source-note{margin:12px 0 0;color:rgba(255,246,214,.72);font-size:.82rem;line-height:1.55;border-left:3px solid rgba(42,211,154,.48);padding-left:10px}
.kpi-live-wire-card{border:1px solid rgba(42,211,154,.28);border-radius:18px;background:linear-gradient(145deg,#07131f 0%,#101a21 58%,#1c2724 100%);color:#fff6d6;padding:18px;box-shadow:0 16px 34px rgba(7,18,31,.13)}
.kpi-live-wire-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.kpi-live-wire-head h3{color:#fff6d6;margin:2px 0 6px}.kpi-live-wire-head p{margin:0;color:rgba(255,246,214,.78);line-height:1.6}.kpi-mini-eyebrow{display:inline-block;color:#72f0ca;text-transform:uppercase;letter-spacing:.12em;font-size:.74rem;font-weight:900}.kpi-live-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 14px}.kpi-live-summary-grid div{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(0,0,0,.2);padding:12px}.kpi-live-summary-grid strong{display:block;color:#ffd957;font-size:1.45rem;line-height:1;margin-bottom:6px}.kpi-live-summary-grid span{display:block;color:rgba(255,246,214,.76);font-size:.75rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.kpi-live-request-list{display:grid;gap:8px}.kpi-live-request{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(0,0,0,.18);padding:10px 12px;color:#fff6d6;text-decoration:none}.kpi-live-request:hover{border-color:rgba(214,170,70,.42);background:rgba(214,170,70,.09)}.kpi-live-kind,.kpi-live-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 8px;font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.kpi-live-kind{background:rgba(42,211,154,.16);color:#72f0ca;border:1px solid rgba(42,211,154,.28)}.kpi-live-status{background:rgba(214,170,70,.16);color:#ffe17a;border:1px solid rgba(214,170,70,.28)}.kpi-live-request strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kpi-live-request span{color:rgba(255,246,214,.76)}.kpi-live-empty{border:1px dashed rgba(214,170,70,.3);border-radius:14px;background:rgba(0,0,0,.14);padding:13px}.kpi-live-empty strong{display:block;color:#fff6d6;margin-bottom:3px}.kpi-live-empty span{color:rgba(255,246,214,.72)}@media(max-width:820px){.kpi-live-wire-head{display:block}.kpi-live-summary-grid{grid-template-columns:1fr}.kpi-live-request{grid-template-columns:1fr}.kpi-live-request strong{white-space:normal}}


.kpi-plant-pulse{border:1px solid rgba(42,211,154,.28);border-radius:20px;background:radial-gradient(circle at 92% 12%,rgba(42,211,154,.16),transparent 24%),linear-gradient(145deg,#07131f 0%,#101a21 58%,#1c2724 100%);color:#fff6d6;padding:18px;box-shadow:0 18px 38px rgba(7,18,31,.16)}.kpi-pulse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.kpi-pulse-head h3{color:#fff6d6;margin:2px 0 6px;font-size:1.35rem}.kpi-pulse-head p{margin:0;color:rgba(255,246,214,.78);line-height:1.6}.kpi-pulse-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.kpi-pulse-chip{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(0,0,0,.22);padding:12px;min-height:82px}.kpi-pulse-chip strong{display:block;color:#ffd957;font-size:clamp(1.25rem,2vw,1.85rem);line-height:1;margin-bottom:7px}.kpi-pulse-chip span{display:block;color:rgba(255,246,214,.78);font-size:.72rem;font-weight:900;line-height:1.25;text-transform:uppercase;letter-spacing:.06em}.kpi-pulse-foot{margin-top:12px;border-left:3px solid rgba(42,211,154,.48);padding:10px 0 10px 12px;color:rgba(255,246,214,.75);line-height:1.55;background:rgba(0,0,0,.08);border-radius:0 12px 12px 0}@media(max-width:1120px){.kpi-pulse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.kpi-pulse-head{display:block}.kpi-pulse-grid{grid-template-columns:1fr}}


/* Urick NAV v10: character buttons inspired by A.I.R.O.N. command panels */
body.theme-urick .nav.nav-portal.nav-portal--grouped {
  gap: 12px;
  align-items: center;
}
body.theme-urick .nav-portal--grouped > .nav-root-link,
body.theme-urick .nav-portal--grouped .nav-group-toggle,
body.theme-urick .nav-portal--grouped .nav-command-link {
  --nav-accent: #f4c64f;
  --nav-accent-2: #4cc9f0;
  --nav-bg-1: #0c1723;
  --nav-bg-2: #07111b;
  --nav-border: rgba(244, 198, 79, .58);
  --nav-glow: rgba(244, 198, 79, .26);
  --nav-text: #f7f8fb;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px 0 13px;
  border-radius: 999px;
  border: 1px solid var(--nav-border);
  background:
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--nav-accent) 26%, transparent) 0 1px, transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 32%),
    linear-gradient(180deg, var(--nav-bg-1), var(--nav-bg-2));
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.28),
    0 12px 22px rgba(8,19,34,.16),
    0 0 0 1px rgba(255,255,255,.04);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, filter .16s ease;
}
body.theme-urick .nav-portal--grouped > .nav-root-link::before,
body.theme-urick .nav-portal--grouped .nav-group-toggle::before,
body.theme-urick .nav-portal--grouped .nav-command-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,.12), transparent 16%, transparent 72%, color-mix(in srgb, var(--nav-accent-2) 14%, transparent)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,.035) 18px 19px),
    radial-gradient(circle at 88% 62%, color-mix(in srgb, var(--nav-accent-2) 18%, transparent), transparent 28%);
  opacity: .74;
  pointer-events: none;
  z-index: -1;
}
body.theme-urick .nav-portal--grouped > .nav-root-link::after,
body.theme-urick .nav-portal--grouped .nav-group-toggle::after,
body.theme-urick .nav-portal--grouped .nav-command-link::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: inset 0 0 14px rgba(255,255,255,.04);
  pointer-events: none;
}
body.theme-urick .nav-portal--grouped .nav-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--nav-accent);
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.20));
  border: 1px solid color-mix(in srgb, var(--nav-accent) 56%, transparent);
  box-shadow:
    inset 0 0 14px color-mix(in srgb, var(--nav-accent) 16%, transparent),
    0 0 18px color-mix(in srgb, var(--nav-accent) 14%, transparent);
  font-size: 16px;
  line-height: 1;
  text-align: center;
}
body.theme-urick .nav-portal--grouped .nav-label {
  position: relative;
  z-index: 2;
}
body.theme-urick .nav-portal--grouped .nav-glow-dots {
  width: 24px;
  height: 6px;
  flex: 0 0 24px;
  margin-left: 2px;
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--nav-accent-2) 0 2px, transparent 2.5px) 0 50% / 8px 6px repeat-x;
  opacity: .82;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--nav-accent-2) 75%, transparent));
}
body.theme-urick .nav-portal--grouped > .nav-root-link:hover,
body.theme-urick .nav-portal--grouped .nav-group-toggle:hover,
body.theme-urick .nav-portal--grouped .nav-command-link:hover,
body.theme-urick .nav-portal--grouped > .nav-root-link.active,
body.theme-urick .nav-portal--grouped .nav-group.is-active .nav-group-toggle,
body.theme-urick .nav-portal--grouped .nav-group.is-open .nav-group-toggle,
body.theme-urick .nav-portal--grouped .nav-command-link.active {
  transform: translateY(-1px);
  color: #fff;
  border-color: color-mix(in srgb, var(--nav-accent) 78%, white 6%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -1px 0 rgba(0,0,0,.32),
    0 14px 28px rgba(8,19,34,.20),
    0 0 0 1px color-mix(in srgb, var(--nav-accent) 18%, transparent),
    0 0 24px var(--nav-glow);
  filter: saturate(1.08) brightness(1.04);
}
body.theme-urick .nav-portal--grouped .nav-caret {
  position: relative;
  z-index: 2;
  color: var(--nav-accent-2);
  margin-left: -2px;
}

/* Individual module character */
body.theme-urick .nav-root-link--overview {
  --nav-accent: #dce7f2;
  --nav-accent-2: #53d9ec;
  --nav-bg-1: #152637;
  --nav-bg-2: #091522;
  --nav-border: rgba(218,232,244,.54);
  --nav-glow: rgba(83,217,236,.18);
}
body.theme-urick .nav-root-link--overview .nav-icon::before { content: "⌂"; font-weight: 900; font-size: 21px; transform: translateY(-1px); }
body.theme-urick .nav-root-link--overview::before { background-image: radial-gradient(circle at 84% 46%, rgba(83,217,236,.26), transparent 18%), repeating-radial-gradient(circle at 78% 50%, rgba(255,255,255,.08) 0 1px, transparent 1px 16px), linear-gradient(90deg, rgba(255,255,255,.12), transparent 24%, transparent 74%, rgba(83,217,236,.08)); }

body.theme-urick .nav-root-link--system-player {
  --nav-accent: #52a7ff;
  --nav-accent-2: #4cc9ff;
  --nav-bg-1: #102b52;
  --nav-bg-2: #07172e;
  --nav-border: rgba(82,167,255,.58);
  --nav-glow: rgba(50,135,255,.24);
}
body.theme-urick .nav-root-link--system-player .nav-icon::before { content: "▦"; font-size: 19px; }
body.theme-urick .nav-root-link--system-player::before { background-image: linear-gradient(135deg, rgba(82,167,255,.16), transparent 28%), repeating-linear-gradient(150deg, transparent 0 22px, rgba(82,167,255,.13) 22px 24px), radial-gradient(circle at 86% 58%, rgba(76,201,255,.28), transparent 22%); }

body.theme-urick .nav-root-link--better-days {
  --nav-accent: #ffd84d;
  --nav-accent-2: #ffd84d;
  --nav-bg-1: #2b2110;
  --nav-bg-2: #11100b;
  --nav-border: rgba(255,216,77,.62);
  --nav-glow: rgba(255,197,48,.30);
}
body.theme-urick .nav-root-link--better-days .nav-icon::before { content: "☼"; font-size: 21px; }
body.theme-urick .nav-root-link--better-days::before { background-image: radial-gradient(circle at 74% 42%, rgba(255,210,74,.38), transparent 16%), linear-gradient(160deg, transparent 35%, rgba(255,195,55,.12) 55%, transparent 75%), linear-gradient(90deg, rgba(255,255,255,.10), transparent); }

body.theme-urick .nav-root-link--vault {
  --nav-accent: #d9e3ec;
  --nav-accent-2: #f3c94b;
  --nav-bg-1: #111a24;
  --nav-bg-2: #070d13;
  --nav-border: rgba(195,208,220,.58);
  --nav-glow: rgba(217,227,236,.22);
}
body.theme-urick .nav-root-link--vault .nav-icon::before { content: "◈"; font-size: 18px; }
body.theme-urick .nav-root-link--vault::before { background-image: repeating-radial-gradient(circle at 76% 50%, rgba(255,255,255,.10) 0 1px, transparent 1px 14px), radial-gradient(circle at 82% 54%, rgba(243,201,75,.18), transparent 20%), linear-gradient(90deg, rgba(255,255,255,.10), transparent); }

body.theme-urick .nav-root-link--operations {
  --nav-accent: #92df78;
  --nav-accent-2: #75f391;
  --nav-bg-1: #12331f;
  --nav-bg-2: #08190f;
  --nav-border: rgba(146,223,120,.54);
  --nav-glow: rgba(117,243,145,.22);
}
body.theme-urick .nav-root-link--operations .nav-icon::before { content: "⇄"; font-size: 19px; }
body.theme-urick .nav-root-link--operations::before { background-image: radial-gradient(circle at 82% 55%, rgba(117,243,145,.24), transparent 17%), repeating-linear-gradient(0deg, transparent 0 18px, rgba(146,223,120,.06) 18px 19px), linear-gradient(90deg, rgba(255,255,255,.10), transparent); }

body.theme-urick .nav-root-link--kpis {
  --nav-accent: #ffc82e;
  --nav-accent-2: #ffd75d;
  --nav-bg-1: #17202b;
  --nav-bg-2: #080d12;
  --nav-border: rgba(255,200,46,.74);
  --nav-glow: rgba(255,200,46,.34);
  color: #ffd75d;
}
body.theme-urick .nav-root-link--kpis .nav-icon::before { content: "▮▮▮"; font-size: 13px; letter-spacing: -2px; transform: translateX(-1px) rotate(0deg); }
body.theme-urick .nav-root-link--kpis::before { background-image: linear-gradient(145deg, rgba(255,200,46,.22), transparent 22%), repeating-linear-gradient(90deg, transparent 0 19px, rgba(255,200,46,.10) 19px 20px), radial-gradient(circle at 85% 50%, rgba(255,200,46,.24), transparent 20%); }

body.theme-urick .nav-root-link--training {
  --nav-accent: #b78cff;
  --nav-accent-2: #b78cff;
  --nav-bg-1: #261b45;
  --nav-bg-2: #120a23;
  --nav-border: rgba(183,140,255,.58);
  --nav-glow: rgba(183,140,255,.24);
}
body.theme-urick .nav-root-link--training .nav-icon::before { content: "◇"; font-size: 20px; }
body.theme-urick .nav-root-link--training::before { background-image: radial-gradient(circle at 84% 48%, rgba(183,140,255,.22), transparent 20%), repeating-linear-gradient(90deg, transparent 0 24px, rgba(183,140,255,.08) 24px 25px), linear-gradient(90deg, rgba(255,255,255,.10), transparent); }

body.theme-urick .nav-root-link--support {
  --nav-accent: #75dfff;
  --nav-accent-2: #26e5f6;
  --nav-bg-1: #102f42;
  --nav-bg-2: #071722;
  --nav-border: rgba(117,223,255,.58);
  --nav-glow: rgba(38,229,246,.24);
}
body.theme-urick .nav-root-link--support .nav-icon::before { content: "☏"; font-size: 19px; transform: rotate(-10deg); }
body.theme-urick .nav-root-link--support::before { background-image: radial-gradient(circle at 84% 52%, rgba(38,229,246,.22), transparent 22%), linear-gradient(90deg, rgba(255,255,255,.10), transparent 35%, rgba(38,229,246,.08)); }

body.theme-urick .nav-portal--grouped .nav-command-cluster {
  gap: 10px;
}
body.theme-urick .nav-portal--grouped .nav-command-link {
  min-height: 44px;
  padding: 0 19px 0 13px;
}
body.theme-urick .nav-portal--grouped .nav-command-link--ci {
  --nav-accent: #43f1d6;
  --nav-accent-2: #3cffc9;
  --nav-bg-1: #0b4f49;
  --nav-bg-2: #062722;
  --nav-border: rgba(67,241,214,.64);
  --nav-glow: rgba(67,241,214,.28);
  background: radial-gradient(circle at 86% 55%, rgba(67,241,214,.18), transparent 22%), linear-gradient(180deg, var(--nav-bg-1), var(--nav-bg-2));
}
body.theme-urick .nav-portal--grouped .nav-command-link--ci .nav-icon::before { content: "≫"; font-size: 20px; }
body.theme-urick .nav-portal--grouped .nav-command-link--swat {
  --nav-accent: #ff655d;
  --nav-accent-2: #ff3f36;
  --nav-bg-1: #691312;
  --nav-bg-2: #260605;
  --nav-border: rgba(255,101,93,.68);
  --nav-glow: rgba(255,63,54,.32);
  background: radial-gradient(circle at 86% 55%, rgba(255,63,54,.20), transparent 24%), linear-gradient(180deg, var(--nav-bg-1), var(--nav-bg-2));
}
body.theme-urick .nav-portal--grouped .nav-command-link--swat .nav-icon::before { content: "⊕"; font-size: 22px; }
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe {
  --nav-accent: #18130a;
  --nav-accent-2: #f7ca1d;
  --nav-bg-1: #f7ca1d;
  --nav-bg-2: #e1aa16;
  --nav-border: rgba(45,35,8,.72);
  --nav-glow: rgba(247,202,29,.34);
  min-width: 260px;
  color: #151107;
  text-shadow: none;
  border-width: 2px;
  box-shadow: 0 14px 26px rgba(51,40,8,.22), inset 0 1px 0 rgba(255,255,255,.42);
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe::before {
  background: repeating-linear-gradient(-45deg, #f4c51d 0 12px, #171411 12px 22px);
  opacity: 1;
  z-index: -2;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe::after {
  inset: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,235,110,.96), rgba(230,174,22,.96));
  border: 1px solid rgba(255,255,255,.32);
  z-index: -1;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe .nav-icon {
  color: #151107;
  border-color: rgba(21,17,7,.30);
  background: rgba(255,236,118,.82);
  box-shadow: inset 0 0 10px rgba(255,255,255,.25);
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe .nav-icon::before { content: "⚠"; font-size: 18px; }
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe .nav-glow-dots { background: radial-gradient(circle, rgba(21,17,7,.78) 0 2px, transparent 2.5px) 0 50% / 8px 6px repeat-x; filter: none; }

@media (max-width: 1320px) {
  body.theme-urick .nav-portal--grouped > .nav-root-link,
  body.theme-urick .nav-portal--grouped .nav-group-toggle {
    padding-inline: 12px 14px;
  }
  body.theme-urick .nav-portal--grouped .nav-glow-dots {
    display: none;
  }
}
@media (max-width: 900px) {
  .site-header.menu-open .nav-portal--grouped > .nav-root-link,
  .site-header.menu-open .nav-portal--grouped .nav-group-toggle,
  .site-header.menu-open .nav-portal--grouped .nav-command-link {
    min-height: 48px;
    justify-content: flex-start;
  }
  .site-header.menu-open .nav-portal--grouped .nav-command-link--catastrophe {
    min-width: 0;
  }
}


/* Urick NAV v10b: two-row character menu + stronger KPI readability */
body.theme-urick .nav-row {
  overflow: visible !important;
  padding-bottom: 14px;
}
body.theme-urick .nav.nav-portal.nav-portal--grouped {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  overflow: visible !important;
  max-width: 100%;
}
body.theme-urick .nav-portal--grouped > .nav-root-link,
body.theme-urick .nav-portal--grouped .nav-group {
  order: 1;
  flex: 0 0 auto;
}
body.theme-urick .nav-portal--grouped > .nav-root-link,
body.theme-urick .nav-portal--grouped .nav-group-toggle {
  min-height: 48px;
  min-width: 112px;
  padding: 0 16px 0 12px;
  font-size: .86rem;
}
body.theme-urick .nav-portal--grouped .nav-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}
body.theme-urick .nav-portal--grouped .nav-label {
  white-space: nowrap;
}
body.theme-urick .nav-portal--grouped .nav-glow-dots {
  width: 21px;
  flex-basis: 21px;
  opacity: .9;
}
body.theme-urick .nav-portal--grouped .nav-command-cluster {
  order: 2;
  width: 100%;
  margin-left: 0 !important;
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
body.theme-urick .nav-portal--grouped .nav-command-link {
  min-height: 46px;
  font-size: .87rem;
}
body.theme-urick .nav-portal--grouped .nav-command-link--ci {
  min-width: 236px;
}
body.theme-urick .nav-portal--grouped .nav-command-link--swat {
  min-width: 132px;
}
body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe {
  min-width: 286px;
}

/* Make KPI match the approved concept: dark command body, readable gold label, no pale active wash. */
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis,
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis.active,
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis:hover {
  --nav-accent: #ffc82e;
  --nav-accent-2: #ffd957;
  --nav-bg-1: #151c25;
  --nav-bg-2: #05090e;
  --nav-border: rgba(255, 200, 46, .90);
  --nav-glow: rgba(255, 200, 46, .46);
  min-width: 122px;
  color: #ffd957 !important;
  background:
    radial-gradient(circle at 85% 38%, rgba(255, 200, 46, .26), transparent 18%),
    linear-gradient(135deg, rgba(255, 216, 93, .20), transparent 24%),
    linear-gradient(180deg, #17202b 0%, #070b10 100%) !important;
  border: 2px solid rgba(255, 200, 46, .82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -1px 0 rgba(0,0,0,.42),
    0 14px 26px rgba(8,19,34,.20),
    0 0 0 1px rgba(255,200,46,.18),
    0 0 24px rgba(255,200,46,.28) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.62), 0 0 10px rgba(255,200,46,.24) !important;
}
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis .nav-label,
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis.active .nav-label {
  color: #ffd957 !important;
  font-weight: 950;
  letter-spacing: .015em;
}
body.theme-urick .nav-root-link--kpis .nav-icon {
  color: #ffd957;
  border-color: rgba(255, 200, 46, .72);
  background:
    radial-gradient(circle at 38% 26%, rgba(255,255,255,.35), transparent 27%),
    linear-gradient(180deg, rgba(255,200,46,.20), rgba(0,0,0,.26));
}
body.theme-urick .nav-root-link--kpis .nav-icon::before {
  content: "▂▅▇";
  display: block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -4px;
  transform: translateX(-2px) translateY(1px);
}
body.theme-urick .nav-root-link--kpis .nav-glow-dots {
  display: inline-block;
  background: radial-gradient(circle, #ffd957 0 2px, transparent 2.5px) 0 50% / 8px 6px repeat-x;
  filter: drop-shadow(0 0 6px rgba(255,217,87,.75));
}

@media (max-width: 1180px) {
  body.theme-urick .nav.nav-portal.nav-portal--grouped {
    gap: 9px;
  }
  body.theme-urick .nav-portal--grouped > .nav-root-link,
  body.theme-urick .nav-portal--grouped .nav-group-toggle {
    min-width: 104px;
    min-height: 46px;
    padding-inline: 11px 12px;
    font-size: .80rem;
    gap: 7px;
  }
  body.theme-urick .nav-portal--grouped .nav-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }
  body.theme-urick .nav-portal--grouped .nav-glow-dots {
    display: none;
  }
  body.theme-urick .nav-portal--grouped .nav-command-cluster {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .site-header.menu-open .nav.nav-portal.nav-portal--grouped {
    flex-direction: column;
    align-items: stretch;
  }
  .site-header.menu-open .nav-portal--grouped .nav-command-cluster {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .site-header.menu-open .nav-portal--grouped .nav-command-link--ci,
  .site-header.menu-open .nav-portal--grouped .nav-command-link--swat,
  .site-header.menu-open .nav-portal--grouped .nav-command-link--catastrophe {
    min-width: 0;
    width: 100%;
  }
}


/* Urick NAV v10c: balanced two-row command menu + equal main button widths */
body.theme-urick .nav-row {
  overflow: visible !important;
  padding-top: 8px;
  padding-bottom: 12px;
}

@media (min-width: 1121px) {
  body.theme-urick .nav.nav-portal.nav-portal--grouped {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(54px, auto);
    align-items: center;
    gap: 12px 14px;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
  }

  body.theme-urick .nav-portal--grouped > .nav-root-link,
  body.theme-urick .nav-portal--grouped .nav-group {
    min-width: 0 !important;
    width: 100% !important;
  }

  body.theme-urick .nav-portal--grouped > .nav-root-link,
  body.theme-urick .nav-portal--grouped .nav-group-toggle {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px;
    justify-content: flex-start;
    padding: 0 13px 0 12px;
    gap: 10px;
    font-size: .88rem;
  }

  body.theme-urick .nav-portal--grouped .nav-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  body.theme-urick .nav-portal--grouped .nav-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: visible;
    text-align: left;
    line-height: 1.05;
    letter-spacing: .005em;
  }

  body.theme-urick .nav-portal--grouped .nav-glow-dots {
    width: 20px;
    flex: 0 0 20px;
    margin-left: auto;
  }

  body.theme-urick .nav-portal--grouped .nav-caret {
    flex: 0 0 auto;
    margin-left: 2px;
  }

  /* Keep the specialty command buttons on the second line, aligned to the right. */
  body.theme-urick .nav-portal--grouped .nav-command-cluster {
    order: initial;
    grid-column: 3 / -1;
    grid-row: 2;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(122px, .55fr) minmax(270px, 1.25fr);
    align-items: center;
    gap: 12px;
    justify-self: stretch;
  }

  body.theme-urick .nav-portal--grouped .nav-command-link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px;
    justify-content: flex-start;
    padding: 0 14px 0 12px;
    gap: 10px;
    font-size: .88rem;
  }

  body.theme-urick .nav-portal--grouped .nav-command-link--catastrophe {
    min-width: 0 !important;
    letter-spacing: .08em;
  }
}

/* Preserve the dark command look for active buttons; avoid the pale active wash. */
body.theme-urick .nav-portal--grouped > .nav-root-link.active,
body.theme-urick .nav-portal--grouped .nav-group.is-active .nav-group-toggle,
body.theme-urick .nav-portal--grouped .nav-group.is-open .nav-group-toggle {
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(180deg, var(--nav-bg-1), var(--nav-bg-2)) !important;
  border-color: color-mix(in srgb, var(--nav-accent) 82%, white 8%) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.62), 0 0 10px var(--nav-glow) !important;
}

/* KPI button: give the icon its own lane and keep text fully readable. */
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis,
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis.active,
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis:hover {
  --nav-accent: #ffc82e;
  --nav-accent-2: #ffd957;
  --nav-bg-1: #151c25;
  --nav-bg-2: #05090e;
  --nav-border: rgba(255, 200, 46, .90);
  --nav-glow: rgba(255, 200, 46, .46);
  color: #ffd957 !important;
  background:
    radial-gradient(circle at 88% 48%, rgba(255, 200, 46, .16), transparent 21%),
    linear-gradient(135deg, rgba(255, 216, 93, .14), transparent 22%),
    linear-gradient(180deg, #17202b 0%, #070b10 100%) !important;
}
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis .nav-label {
  color: #ffd957 !important;
  font-weight: 950;
  letter-spacing: .02em;
  padding-left: 2px;
  z-index: 4;
}
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis .nav-icon {
  color: #ffd957;
  border-color: rgba(255, 200, 46, .72);
  background:
    radial-gradient(circle at 38% 26%, rgba(255,255,255,.35), transparent 27%),
    linear-gradient(180deg, rgba(255,200,46,.20), rgba(0,0,0,.26));
  overflow: hidden;
}
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis .nav-icon::before {
  content: "▂▅▇";
  display: block;
  width: 100%;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -3px;
  text-align: center;
  transform: translateX(-1px) translateY(1px);
}
body.theme-urick .nav-portal--grouped > .nav-root-link--kpis::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), transparent 20%, transparent 72%, rgba(255,200,46,.12)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,200,46,.055) 22px 23px),
    radial-gradient(circle at 88% 58%, rgba(255,200,46,.16), transparent 26%) !important;
}

@media (max-width: 1120px) and (min-width: 901px) {
  body.theme-urick .nav.nav-portal.nav-portal--grouped {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
  }
  body.theme-urick .nav-portal--grouped > .nav-root-link,
  body.theme-urick .nav-portal--grouped .nav-group,
  body.theme-urick .nav-portal--grouped .nav-group-toggle {
    width: 100% !important;
    min-width: 0 !important;
  }
  body.theme-urick .nav-portal--grouped > .nav-root-link,
  body.theme-urick .nav-portal--grouped .nav-group-toggle {
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 12px;
  }
  body.theme-urick .nav-portal--grouped .nav-label {
    flex: 1 1 auto;
    white-space: nowrap;
  }
  body.theme-urick .nav-portal--grouped .nav-command-cluster {
    grid-column: 1 / -1;
    width: 100% !important;
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(120px, .6fr) minmax(260px, 1.35fr);
    gap: 11px;
    justify-content: stretch;
    padding-top: 2px;
  }
  body.theme-urick .nav-portal--grouped .nav-command-link {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 720px) {
  .site-header.menu-open .nav.nav-portal.nav-portal--grouped,
  body.theme-urick .nav.nav-portal.nav-portal--grouped {
    grid-template-columns: 1fr !important;
  }
  body.theme-urick .nav-portal--grouped .nav-command-cluster {
    grid-template-columns: 1fr !important;
  }
}


/* Urick KPI v10: executive polish + readability pass */
body.theme-urick .dashboard-shell:has(.kpi-command-shell) {
  align-items: start;
}

@media (min-width: 1040px) {
  body.theme-urick .dashboard-shell:has(.kpi-command-shell) .rail {
    position: sticky;
    top: 18px;
    align-self: start;
    max-height: calc(100vh - 36px);
    overflow: auto;
    scrollbar-width: thin;
  }
}

body.theme-urick .kpi-command-shell {
  gap: 22px;
}

body.theme-urick .kpi-command-hero,
body.theme-urick .kpi-doctrine-card,
body.theme-urick .kpi-plant-pulse,
body.theme-urick .kpi-source-card,
body.theme-urick .kpi-panel-card,
body.theme-urick .kpi-live-wire-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 217, 87, .30);
  box-shadow:
    0 20px 42px rgba(7, 18, 31, .16),
    inset 0 1px 0 rgba(255,255,255,.08);
}

body.theme-urick .kpi-command-hero {
  padding: clamp(22px, 3vw, 34px);
  min-height: 210px;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,217,87,.18), transparent 24%),
    radial-gradient(circle at 12% 92%, rgba(42,211,154,.12), transparent 30%),
    linear-gradient(135deg,#06101b 0%,#111b24 52%,#202923 100%);
}

body.theme-urick .kpi-command-hero::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -54px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  border: 1px solid rgba(255,217,87,.12);
  background:
    repeating-radial-gradient(circle, rgba(255,217,87,.12) 0 1px, transparent 1px 17px),
    conic-gradient(from 35deg, transparent 0 58deg, rgba(255,217,87,.10) 58deg 64deg, transparent 64deg 120deg, rgba(42,211,154,.08) 120deg 126deg, transparent 126deg 360deg);
  opacity: .72;
  pointer-events: none;
}

body.theme-urick .kpi-command-hero h2 {
  max-width: 760px;
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 22px rgba(255,217,87,.12);
}

body.theme-urick .kpi-command-hero p,
body.theme-urick .kpi-doctrine-card p,
body.theme-urick .kpi-source-card p,
body.theme-urick .kpi-panel-card p,
body.theme-urick .kpi-live-wire-head p,
body.theme-urick .kpi-plant-pulse p {
  font-size: clamp(.95rem, .45vw + .78rem, 1.03rem);
  line-height: 1.72;
}

body.theme-urick .kpi-command-strip span,
body.theme-urick .kpi-status-pill {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

body.theme-urick .kpi-doctrine-card,
body.theme-urick .kpi-plant-pulse {
  padding: clamp(18px, 2.4vw, 26px);
}

body.theme-urick .kpi-doctrine-list li,
body.theme-urick .kpi-pulse-chip,
body.theme-urick .kpi-metric-chip,
body.theme-urick .kpi-live-summary-grid div {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 45%),
    rgba(0,0,0,.24);
  border-color: rgba(255,255,255,.095);
}

body.theme-urick .kpi-pulse-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

body.theme-urick .kpi-pulse-chip {
  min-height: 96px;
  display: grid;
  align-content: center;
}

body.theme-urick .kpi-pulse-chip strong {
  letter-spacing: -.02em;
}

body.theme-urick .kpi-source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.theme-urick .kpi-source-card,
body.theme-urick .kpi-panel-card {
  padding: clamp(16px, 1.7vw, 20px);
}

body.theme-urick .kpi-source-card:hover,
body.theme-urick .kpi-panel-card:hover,
body.theme-urick .kpi-live-wire-card:hover {
  border-color: rgba(255,217,87,.46);
  box-shadow:
    0 24px 52px rgba(7, 18, 31, .19),
    0 0 0 1px rgba(255,217,87,.08),
    inset 0 1px 0 rgba(255,255,255,.09);
}

body.theme-urick .kpi-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.theme-urick .kpi-panel-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
}

body.theme-urick .kpi-panel-card .kpi-metric-row {
  margin-top: auto;
  padding-top: 14px;
}

body.theme-urick .kpi-source-top h3,
body.theme-urick .kpi-live-wire-head h3,
body.theme-urick .kpi-doctrine-card h3,
body.theme-urick .kpi-plant-pulse h3 {
  letter-spacing: -.01em;
}

body.theme-urick .kpi-panel-card .card-actions,
body.theme-urick .kpi-source-card .card-actions {
  margin-top: 14px;
}

body.theme-urick .kpi-panel-card a,
body.theme-urick .kpi-source-card a,
body.theme-urick .kpi-live-wire-card a {
  text-underline-offset: 3px;
}

body.theme-urick .kpi-live-wire-card {
  padding: clamp(18px, 2vw, 24px);
  border-color: rgba(42,211,154,.32);
}

body.theme-urick .kpi-live-wire-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42,211,154,.08), transparent 18%, transparent 82%, rgba(255,217,87,.055)),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(255,255,255,.026) 29px 30px);
  pointer-events: none;
  opacity: .7;
}

body.theme-urick .kpi-live-wire-card > * {
  position: relative;
  z-index: 1;
}

body.theme-urick .kpi-live-wire-head {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 14px;
}

body.theme-urick .kpi-live-summary-grid {
  gap: 12px;
  margin: 16px 0;
}

body.theme-urick .kpi-live-request-list {
  gap: 10px;
}

body.theme-urick .kpi-live-request {
  min-height: 46px;
  border-color: rgba(255,255,255,.09);
}

body.theme-urick .kpi-live-kind,
body.theme-urick .kpi-live-status {
  white-space: nowrap;
}

body.theme-urick .kpi-live-empty {
  line-height: 1.5;
}

body.theme-urick .kpi-live-wire-card + .kpi-live-wire-card {
  margin-top: 0;
}

body.theme-urick .kpi-command-shell .table-card {
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(7,18,31,.10);
}

body.theme-urick .kpi-command-shell .table-card table {
  font-size: .94rem;
}

body.theme-urick .kpi-command-shell .table-card th {
  color: #0d3157;
  font-weight: 900;
}

body.theme-urick .kpi-command-shell .table-card td {
  line-height: 1.45;
}

body.theme-urick .kpi-command-shell > .notice-card:last-child {
  border-left: 4px solid rgba(42,211,154,.52);
}

/* Better tablet and mobile stacking for the long KPI command page */
@media (max-width: 1180px) {
  body.theme-urick .kpi-pulse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.theme-urick .kpi-source-grid,
  body.theme-urick .kpi-panel-grid,
  body.theme-urick .kpi-doctrine-list {
    grid-template-columns: 1fr;
  }

  body.theme-urick .kpi-panel-card {
    min-height: 0;
  }

  body.theme-urick .kpi-panel-card .kpi-metric-row {
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  body.theme-urick .kpi-command-hero {
    min-height: 0;
  }

  body.theme-urick .kpi-command-strip {
    gap: 8px;
  }

  body.theme-urick .kpi-command-strip span {
    font-size: .68rem;
    padding: 6px 8px;
  }

  body.theme-urick .kpi-pulse-grid,
  body.theme-urick .kpi-metric-row,
  body.theme-urick .kpi-live-summary-grid {
    grid-template-columns: 1fr;
  }

  body.theme-urick .kpi-live-wire-head,
  body.theme-urick .kpi-pulse-head,
  body.theme-urick .kpi-source-top {
    display: block;
  }

  body.theme-urick .kpi-status-pill {
    margin-top: 10px;
  }
}


/* === Urick CI v7 Command Center architecture shell === */
body.theme-urick .dashboard-shell:has(.ci-architecture-shell){align-items:start;}
body.theme-urick .ci-command-rail{position:sticky;top:18px;}
body.theme-urick .ci-architecture-shell{display:grid;gap:18px;}
body.theme-urick .ci-command-hero{position:relative;overflow:hidden;border:1px solid rgba(42,211,154,.34);border-radius:24px;padding:24px;background:radial-gradient(circle at 86% 18%,rgba(42,211,154,.2),transparent 26%),radial-gradient(circle at 18% 82%,rgba(214,170,70,.14),transparent 30%),linear-gradient(135deg,#07101c 0%,#0d1a22 48%,#1d2a25 100%);color:#fff6d6;box-shadow:0 22px 46px rgba(6,18,31,.18);min-height:230px;display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:22px;align-items:center;}
body.theme-urick .ci-command-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:32px 32px;opacity:.22;}
body.theme-urick .ci-command-hero>*{position:relative;z-index:1;}
body.theme-urick .ci-command-hero .eyebrow{color:#72f0ca;letter-spacing:.16em;}
body.theme-urick .ci-command-hero h2{color:#fff6d6;font-size:clamp(2rem,4vw,3.45rem);line-height:.95;margin:4px 0 10px;letter-spacing:.02em;}
body.theme-urick .ci-command-hero p{color:rgba(255,246,214,.84);max-width:880px;line-height:1.7;}
body.theme-urick .ci-command-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
body.theme-urick .ci-command-tags span{display:inline-flex;align-items:center;border:1px solid rgba(214,170,70,.4);border-radius:999px;padding:7px 11px;background:rgba(3,9,16,.58);color:#ffe17a;font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
body.theme-urick .ci-command-orbit{position:relative;width:176px;height:176px;border-radius:50%;display:grid;place-items:center;justify-self:end;background:radial-gradient(circle,rgba(255,217,87,.18) 0 24%,rgba(7,16,28,.94) 25% 100%);border:1px solid rgba(214,170,70,.45);box-shadow:inset 0 0 0 12px rgba(255,255,255,.03),0 0 38px rgba(42,211,154,.2);}
body.theme-urick .ci-command-orbit::before{content:"";position:absolute;width:135px;height:135px;border-radius:50%;border:1px dashed rgba(114,240,202,.33);}
body.theme-urick .ci-command-orbit span{color:#ffd957;font-size:2.3rem;font-weight:1000;letter-spacing:.1em;text-shadow:0 0 18px rgba(255,217,87,.38);}
body.theme-urick .ci-command-panel,.ci-guided-intake-shell{border:1px solid rgba(214,170,70,.26);border-radius:20px;background:linear-gradient(145deg,#07131f 0%,#101a21 58%,#1c2724 100%);color:#fff6d6;padding:18px;box-shadow:0 18px 38px rgba(7,18,31,.15);}
body.theme-urick .ci-command-panel h3,.ci-guided-intake-shell h3{color:#fff6d6;margin:2px 0 6px;}
body.theme-urick .ci-command-panel p,.ci-guided-intake-shell p{color:rgba(255,246,214,.76);line-height:1.6;}
body.theme-urick .ci-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px;}
body.theme-urick .ci-mini-eyebrow{display:inline-block;color:#72f0ca;text-transform:uppercase;letter-spacing:.12em;font-size:.74rem;font-weight:900;}
body.theme-urick .ci-loop-grid,.ci-monitor-grid,.ci-command-rollup-grid,.ci-impact-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
body.theme-urick .ci-loop-grid article,.ci-monitor-grid article,.ci-command-rollup-grid article,.ci-impact-command-grid article{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(0,0,0,.22);padding:14px;min-height:118px;}
body.theme-urick .ci-loop-grid strong,.ci-monitor-grid strong,.ci-command-rollup-grid strong,.ci-impact-command-grid strong{display:block;color:#fff6d6;margin-bottom:7px;line-height:1.25;}
body.theme-urick .ci-loop-grid span,.ci-monitor-grid span,.ci-command-rollup-grid span,.ci-impact-command-grid span{display:block;color:rgba(255,246,214,.72);line-height:1.55;}
body.theme-urick .ci-command-rollup-grid em{display:inline-flex;margin-top:10px;border-radius:999px;padding:4px 8px;border:1px solid rgba(42,211,154,.3);color:#72f0ca;background:rgba(42,211,154,.11);font-style:normal;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}
body.theme-urick .ci-impact-command-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));}
body.theme-urick .ci-impact-command-grid.compact article{min-height:auto;}
body.theme-urick .ci-discipline-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
body.theme-urick .ci-discipline-tile{position:relative;overflow:hidden;text-align:left;border:1px solid rgba(214,170,70,.26);border-radius:18px;min-height:178px;padding:15px 15px 13px;background:linear-gradient(145deg,#08121e 0%,#131b22 58%,#222824 100%);color:#fff6d6;box-shadow:0 13px 28px rgba(7,18,31,.12);cursor:pointer;transition:transform .14s ease,border-color .18s ease,box-shadow .18s ease;}
body.theme-urick .ci-discipline-tile:hover,body.theme-urick .ci-discipline-tile.is-selected{transform:translateY(-2px);border-color:rgba(42,211,154,.54);box-shadow:0 0 0 1px rgba(42,211,154,.16),0 20px 38px rgba(7,18,31,.2);}
body.theme-urick .ci-discipline-tile::after{content:"";position:absolute;right:-20px;top:-20px;width:135px;height:135px;border-radius:50%;background:radial-gradient(circle,rgba(214,170,70,.2),transparent 58%);opacity:.72;}
body.theme-urick .ci-discipline-art{display:block;width:100%;height:56px;border-radius:14px;margin-bottom:12px;background:linear-gradient(135deg,rgba(42,211,154,.16),rgba(214,170,70,.1)),repeating-linear-gradient(90deg,transparent 0 14px,rgba(255,255,255,.05) 15px 16px);border:1px solid rgba(255,255,255,.07);}
body.theme-urick .ci-discipline-tile strong{position:relative;z-index:1;display:block;color:#fff6d6;font-size:1.02rem;margin-bottom:6px;}
body.theme-urick .ci-discipline-tile small{position:relative;z-index:1;display:block;color:rgba(255,246,214,.74);line-height:1.45;}
body.theme-urick .ci-discipline-tile em{position:absolute;z-index:1;right:12px;bottom:10px;border-radius:999px;padding:4px 8px;background:rgba(214,170,70,.16);color:#ffe17a;border:1px solid rgba(214,170,70,.3);font-style:normal;font-size:.62rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}
body.theme-urick .discipline--kaizen .ci-discipline-art{background:radial-gradient(circle at 72% 45%,rgba(255,217,87,.55),transparent 18%),linear-gradient(135deg,rgba(255,217,87,.28),rgba(42,211,154,.13));}
body.theme-urick .discipline--a3 .ci-discipline-art{background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(42,211,154,.08)),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);background-size:auto,22px 22px;}
body.theme-urick .discipline--five-s .ci-discipline-art{background:linear-gradient(135deg,rgba(114,240,202,.25),rgba(255,255,255,.1)),repeating-linear-gradient(0deg,transparent 0 10px,rgba(114,240,202,.12) 10px 11px);}
body.theme-urick .discipline--pdca .ci-discipline-art{background:conic-gradient(from 25deg,rgba(42,211,154,.48),rgba(214,170,70,.38),rgba(42,211,154,.2),rgba(42,211,154,.48));}
body.theme-urick .discipline--root .ci-discipline-art,body.theme-urick .discipline--fishbone .ci-discipline-art{background:linear-gradient(135deg,rgba(54,145,255,.22),rgba(214,170,70,.12)),repeating-linear-gradient(135deg,transparent 0 17px,rgba(255,255,255,.08) 17px 18px);}
body.theme-urick .discipline--capa .ci-discipline-art,body.theme-urick .discipline--standard .ci-discipline-art{background:linear-gradient(135deg,rgba(214,170,70,.25),rgba(255,255,255,.08)),repeating-linear-gradient(90deg,rgba(255,217,87,.08) 0 8px,transparent 8px 16px);}
body.theme-urick .discipline--visual .ci-discipline-art,body.theme-urick .discipline--gemba .ci-discipline-art{background:linear-gradient(135deg,rgba(42,211,154,.18),rgba(54,145,255,.18)),radial-gradient(circle at 20% 55%,rgba(114,240,202,.4),transparent 9%);}
body.theme-urick .discipline--waste .ci-discipline-art,body.theme-urick .discipline--smed .ci-discipline-art{background:linear-gradient(135deg,rgba(255,87,87,.18),rgba(255,217,87,.22)),repeating-linear-gradient(90deg,transparent 0 18px,rgba(255,217,87,.13) 18px 20px);}
body.theme-urick .discipline--poka .ci-discipline-art,body.theme-urick .discipline--vsm .ci-discipline-art{background:linear-gradient(135deg,rgba(42,211,154,.26),rgba(214,170,70,.13)),radial-gradient(circle at 75% 50%,rgba(42,211,154,.35),transparent 18%);}
body.theme-urick .discipline--spc .ci-discipline-art,body.theme-urick .discipline--audit .ci-discipline-art{background:linear-gradient(135deg,rgba(54,145,255,.24),rgba(114,240,202,.12)),repeating-linear-gradient(90deg,transparent 0 13px,rgba(255,255,255,.08) 13px 14px);}
body.theme-urick .discipline--control .ci-discipline-art,body.theme-urick .discipline--rollback .ci-discipline-art{background:linear-gradient(135deg,rgba(214,170,70,.2),rgba(42,211,154,.12)),radial-gradient(circle at 80% 50%,rgba(255,217,87,.32),transparent 12%);}
body.theme-urick .ci-guided-intake-shell{background:linear-gradient(145deg,#f8fbff 0%,#ffffff 65%);color:#17355d;border-color:rgba(17,40,71,.08);}
body.theme-urick .ci-guided-intake-shell h3,body.theme-urick .ci-guided-intake-shell h4{color:#0e294d;}
body.theme-urick .ci-guided-intake-shell p{color:#66798f;}
body.theme-urick .ci-guided-intake-shell .ci-mini-eyebrow{color:#1b8390;}
body.theme-urick .ci-guided-intake-shell .ci-program-grid{grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);}
body.theme-urick .ci-guided-intake-shell .table-card{box-shadow:0 12px 30px rgba(17,40,71,.08);}
body.theme-urick .ci-v7-estimate-panel{background:#f6fbff;}
@media(max-width:1180px){body.theme-urick .ci-command-hero{grid-template-columns:1fr;}body.theme-urick .ci-command-orbit{justify-self:start;width:132px;height:132px;}body.theme-urick .ci-loop-grid,body.theme-urick .ci-monitor-grid,body.theme-urick .ci-command-rollup-grid{grid-template-columns:repeat(2,minmax(0,1fr));}body.theme-urick .ci-discipline-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){body.theme-urick .ci-panel-head{display:block;}body.theme-urick .ci-loop-grid,body.theme-urick .ci-monitor-grid,body.theme-urick .ci-command-rollup-grid,body.theme-urick .ci-impact-command-grid,body.theme-urick .ci-impact-command-grid.compact,body.theme-urick .ci-discipline-grid,body.theme-urick .ci-guided-intake-shell .ci-program-grid{grid-template-columns:1fr;}body.theme-urick .ci-command-hero{padding:18px;}body.theme-urick .ci-command-rail{position:static;}}

/* CI v8 — Kaizen managed flow starter */
body.theme-urick .ci-discipline-tile.discipline--live{text-decoration:none;display:block;}
body.theme-urick .ci-kaizen-rollup-panel{border-color:rgba(255,217,87,.34);box-shadow:0 20px 40px rgba(7,18,31,.18),0 0 0 1px rgba(255,217,87,.06);}
body.theme-urick .ci-kaizen-feedback-grid article strong{font-size:1.65rem;color:#ffd957;}
body.theme-urick .ci-kaizen-rollup-list{margin-top:14px;display:grid;gap:8px;}
body.theme-urick .ci-kaizen-rollup-row{display:grid;grid-template-columns:auto 1.4fr 1fr auto 1.1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(3,9,16,.45);color:#fff6d6;text-decoration:none;}
body.theme-urick .ci-kaizen-rollup-row:hover{border-color:rgba(255,217,87,.42);box-shadow:0 0 0 1px rgba(255,217,87,.12);}
body.theme-urick .ci-kaizen-shell{display:grid;gap:18px;}
body.theme-urick .kaizen-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;align-items:center;border:1px solid rgba(255,217,87,.36);border-radius:24px;padding:24px;background:radial-gradient(circle at 72% 22%,rgba(255,217,87,.26),transparent 28%),linear-gradient(145deg,#07131f 0%,#121b20 58%,#2a2110 100%);box-shadow:0 22px 42px rgba(7,18,31,.18),inset 0 0 0 1px rgba(255,255,255,.04);}
body.theme-urick .kaizen-hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:34px 34px;opacity:.22;pointer-events:none;}
body.theme-urick .kaizen-hero>*{position:relative;z-index:1;}
body.theme-urick .kaizen-hero .eyebrow{color:#ffd957;letter-spacing:.16em;}
body.theme-urick .kaizen-hero h2{margin:3px 0 10px;color:#fff6d6;font-size:clamp(2rem,4vw,3.6rem);line-height:.95;}
body.theme-urick .kaizen-hero p{color:rgba(255,246,214,.84);max-width:880px;line-height:1.7;}
body.theme-urick .kaizen-sunburst{width:164px;height:164px;border-radius:50%;display:grid;place-items:center;justify-self:end;background:radial-gradient(circle,rgba(255,217,87,.88) 0 22%,rgba(255,217,87,.2) 23% 42%,rgba(7,16,28,.92) 43% 100%);border:1px solid rgba(255,217,87,.52);box-shadow:0 0 40px rgba(255,217,87,.3),inset 0 0 0 12px rgba(255,255,255,.04);}
body.theme-urick .kaizen-sunburst span{font-weight:1000;color:#07131f;font-size:2rem;text-shadow:0 1px 0 rgba(255,255,255,.28);}
body.theme-urick .kaizen-step-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:14px;}
body.theme-urick .kaizen-step-rail button{border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:9px 8px;background:rgba(3,9,16,.42);color:rgba(255,246,214,.74);font-weight:900;text-align:left;cursor:pointer;transition:border-color .18s ease,transform .14s ease,background .18s ease,color .18s ease;}
body.theme-urick .kaizen-step-rail button span{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:6px;border-radius:50%;border:1px solid rgba(255,217,87,.34);color:#ffd957;font-size:.72rem;}
body.theme-urick .kaizen-step-rail button:hover,body.theme-urick .kaizen-step-rail button.is-active{transform:translateY(-1px);border-color:rgba(255,217,87,.48);background:rgba(255,217,87,.11);color:#fff6d6;}
body.theme-urick .kaizen-flow-card{margin-top:12px;border:1px solid rgba(255,217,87,.22);border-radius:18px;padding:14px;background:rgba(255,217,87,.08);}
body.theme-urick .kaizen-flow-card strong{display:block;color:#fff6d6;margin-bottom:5px;}
body.theme-urick .kaizen-flow-card p{margin:0;color:rgba(255,246,214,.78);}
body.theme-urick .kaizen-work-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(310px,.78fr);gap:14px;align-items:start;}
body.theme-urick .kaizen-form textarea{min-height:96px;}
body.theme-urick .kaizen-impact-strip{margin-top:14px;border:1px solid rgba(17,40,71,.08);border-radius:18px;padding:14px;background:#f7fbff;}
body.theme-urick .kaizen-impact-strip h4{margin:0 0 10px;color:#0e294d;}
body.theme-urick .kaizen-gate-list{margin:0;padding-left:20px;display:grid;gap:6px;color:#314c6b;}
body.theme-urick .kaizen-saved-row{width:100%;display:grid;grid-template-columns:1fr;gap:4px;text-align:left;border:1px solid rgba(17,40,71,.08);border-radius:14px;background:#fff;padding:10px;color:#17355d;cursor:pointer;}
body.theme-urick .kaizen-saved-row:hover{border-color:rgba(27,131,144,.28);box-shadow:0 12px 26px rgba(17,40,71,.09);}
body.theme-urick .kaizen-saved-row strong{color:#0e294d;}
body.theme-urick .kaizen-saved-row span{color:#66798f;}
body.theme-urick .kaizen-saved-row em{font-style:normal;color:#1b8390;font-weight:900;font-size:.78rem;}
body.theme-urick .kaizen-kpi-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
body.theme-urick .kaizen-kpi-preview div{border:1px solid rgba(17,40,71,.08);border-radius:14px;background:#fff;padding:10px;}
body.theme-urick .kaizen-kpi-preview strong{display:block;font-size:1.35rem;color:#0e294d;}
body.theme-urick .kaizen-kpi-preview span{display:block;color:#66798f;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}
@media(max-width:1180px){body.theme-urick .kaizen-hero{grid-template-columns:1fr;}body.theme-urick .kaizen-sunburst{justify-self:start;width:126px;height:126px;}body.theme-urick .kaizen-step-rail{grid-template-columns:repeat(4,minmax(0,1fr));}body.theme-urick .kaizen-work-grid{grid-template-columns:1fr;}body.theme-urick .ci-kaizen-rollup-row{grid-template-columns:1fr;}}
@media(max-width:760px){body.theme-urick .kaizen-step-rail{grid-template-columns:1fr 1fr;}body.theme-urick .kaizen-hero{padding:18px;}body.theme-urick .kaizen-kpi-preview{grid-template-columns:1fr;}}

/* CI v8b — Kaizen save feedback and command rollup polish */
body.theme-urick .ci-kaizen-rollup-summary{
  margin-top:14px;
  display:grid;
  gap:4px;
  border:1px solid rgba(255,217,87,.22);
  border-radius:16px;
  padding:13px 14px;
  background:linear-gradient(135deg,rgba(255,217,87,.10),rgba(42,211,154,.07));
  color:#fff6d6;
}
body.theme-urick .ci-kaizen-rollup-summary strong{font-size:1rem;color:#fff6d6;}
body.theme-urick .ci-kaizen-rollup-summary span{color:rgba(255,246,214,.76);}
body.theme-urick .ci-kaizen-rollup-summary em{font-style:normal;color:#ffd957;font-weight:900;}
body.theme-urick .kaizen-save-summary{
  margin:14px 0;
  border:1px solid rgba(42,211,154,.28);
  border-radius:20px;
  padding:15px;
  background:linear-gradient(145deg,rgba(7,19,31,.96),rgba(14,42,48,.92));
  color:#fff6d6;
  box-shadow:0 18px 36px rgba(7,18,31,.18),inset 0 0 0 1px rgba(255,255,255,.04);
}
body.theme-urick .kaizen-save-summary-head{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;margin-bottom:12px;}
body.theme-urick .kaizen-save-summary-head span{display:inline-flex;align-items:center;width:max-content;border:1px solid rgba(42,211,154,.36);border-radius:999px;padding:4px 9px;color:#7fffe6;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:1000;}
body.theme-urick .kaizen-save-summary-head strong{font-size:1.05rem;color:#fff6d6;}
body.theme-urick .kaizen-save-summary-head em{font-style:normal;color:#ffd957;font-weight:1000;font-size:.8rem;}
body.theme-urick .kaizen-save-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px;}
body.theme-urick .kaizen-save-summary-grid article{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(3,9,16,.48);padding:10px;}
body.theme-urick .kaizen-save-summary-grid span{display:block;color:rgba(255,246,214,.62);font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900;}
body.theme-urick .kaizen-save-summary-grid strong{display:block;color:#ffd957;margin-top:3px;line-height:1.25;}
body.theme-urick .kaizen-save-summary .button-row{margin-top:10px;}
@media(max-width:900px){body.theme-urick .kaizen-save-summary-head{grid-template-columns:1fr;}body.theme-urick .kaizen-save-summary-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){body.theme-urick .kaizen-save-summary-grid{grid-template-columns:1fr;}}


/* CI v9 discipline managed-flow pages */
body.theme-urick .ci-discipline-page-shell{display:grid;gap:18px;}
body.theme-urick .ci-discipline-hero{--discipline-a:#ffd957;--discipline-b:#1b8390;--discipline-c:#07131f;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:center;border:1px solid color-mix(in srgb,var(--discipline-a) 44%,transparent);border-radius:24px;padding:24px;background:radial-gradient(circle at 72% 22%,color-mix(in srgb,var(--discipline-a) 28%,transparent),transparent 30%),linear-gradient(145deg,#07131f 0%,#101d2b 58%,color-mix(in srgb,var(--discipline-b) 32%,#07131f) 100%);box-shadow:0 22px 42px rgba(7,18,31,.18),inset 0 0 0 1px rgba(255,255,255,.04);}
body.theme-urick .ci-discipline-hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:34px 34px;opacity:.22;pointer-events:none;}
body.theme-urick .ci-discipline-hero>*{position:relative;z-index:1;}
body.theme-urick .ci-discipline-hero .eyebrow{color:var(--discipline-a);letter-spacing:.16em;}
body.theme-urick .ci-discipline-hero h2{margin:3px 0 10px;color:#fff6d6;font-size:clamp(2rem,4vw,3.55rem);line-height:.95;}
body.theme-urick .ci-discipline-hero p{color:rgba(255,246,214,.84);max-width:900px;line-height:1.7;}
body.theme-urick .ci-discipline-mark{width:168px;height:168px;border-radius:24px;display:grid;place-items:center;justify-self:end;background:linear-gradient(145deg,color-mix(in srgb,var(--discipline-a) 78%,#fff 0%),color-mix(in srgb,var(--discipline-b) 40%,#07131f));border:1px solid color-mix(in srgb,var(--discipline-a) 55%,transparent);box-shadow:0 0 40px color-mix(in srgb,var(--discipline-a) 26%,transparent),inset 0 0 0 10px rgba(255,255,255,.06);transform:rotate(-3deg);}
body.theme-urick .ci-discipline-mark span{font-weight:1000;color:#07131f;font-size:clamp(1.6rem,3vw,2.4rem);text-align:center;line-height:.95;text-shadow:0 1px 0 rgba(255,255,255,.28);}
body.theme-urick .discipline-page--a3 .ci-discipline-hero{--discipline-a:#9fd1ff;--discipline-b:#244d7a;}
body.theme-urick .discipline-page--five-s .ci-discipline-hero{--discipline-a:#72f0ca;--discipline-b:#1b8390;}
body.theme-urick .discipline-page--pdca .ci-discipline-hero{--discipline-a:#ffd957;--discipline-b:#2ad39a;}
body.theme-urick .discipline-page--root-cause .ci-discipline-hero{--discipline-a:#ff8f70;--discipline-b:#552a20;}
body.theme-urick .discipline-page--fishbone .ci-discipline-hero{--discipline-a:#9fd1ff;--discipline-b:#263b58;}
body.theme-urick .discipline-page--capa .ci-discipline-hero{--discipline-a:#ff9a72;--discipline-b:#5e2420;}
body.theme-urick .discipline-page--standard-work .ci-discipline-hero{--discipline-a:#ffd957;--discipline-b:#6a5421;}
body.theme-urick .discipline-page--visual-management .ci-discipline-hero{--discipline-a:#72f0ca;--discipline-b:#196f72;}
body.theme-urick .discipline-page--gemba .ci-discipline-hero{--discipline-a:#72f0ca;--discipline-b:#174c48;}
body.theme-urick .discipline-page--waste-walk .ci-discipline-hero{--discipline-a:#ffcf5f;--discipline-b:#533416;}
body.theme-urick .discipline-page--smed .ci-discipline-hero{--discipline-a:#ff8f70;--discipline-b:#533018;}
body.theme-urick .discipline-page--poka-yoke .ci-discipline-hero{--discipline-a:#8affd2;--discipline-b:#17452f;}
body.theme-urick .discipline-page--fishbone .ci-discipline-mark{transform:rotate(3deg);}
body.theme-urick .discipline-page--capa .ci-discipline-mark{border-radius:50% 22px 50% 22px;transform:rotate(-2deg);}
body.theme-urick .discipline-page--standard-work .ci-discipline-mark{transform:none;}
body.theme-urick .discipline-page--visual-management .ci-discipline-mark{border-radius:28px;transform:rotate(1deg);}
body.theme-urick .discipline-page--gemba .ci-discipline-mark{border-radius:50%;transform:rotate(-2deg);}
body.theme-urick .discipline-page--waste-walk .ci-discipline-mark{border-radius:24px 50% 24px 50%;transform:rotate(2deg);}
body.theme-urick .discipline-page--smed .ci-discipline-mark{border-radius:50% 18px 50% 18px;transform:rotate(-1deg);}
body.theme-urick .discipline-page--poka-yoke .ci-discipline-mark{border-radius:28px;transform:rotate(1deg);}
body.theme-urick .discipline-page--pdca .ci-discipline-mark{border-radius:50%;transform:none;}
body.theme-urick .discipline-page--root-cause .ci-discipline-mark{transform:rotate(2deg);}
body.theme-urick .ci-discipline-step-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:16px;}
body.theme-urick .ci-discipline-step-rail button{display:flex;align-items:center;gap:7px;min-height:48px;border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:10px 11px;background:rgba(3,9,16,.42);color:rgba(255,246,214,.78);font-weight:900;text-align:left;line-height:1.12;white-space:normal;overflow-wrap:anywhere;cursor:pointer;transition:border-color .18s ease,transform .14s ease,background .18s ease,color .18s ease,box-shadow .18s ease;}
body.theme-urick .ci-discipline-step-rail button span{display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;border:1px solid rgba(255,217,87,.34);color:#ffd957;font-size:.72rem;}
body.theme-urick .ci-discipline-step-rail button:hover,body.theme-urick .ci-discipline-step-rail button.is-active{transform:translateY(-1px);border-color:rgba(255,217,87,.52);background:linear-gradient(135deg,rgba(255,217,87,.13),rgba(42,211,154,.07));color:#fff6d6;box-shadow:0 10px 20px rgba(0,0,0,.14),inset 0 0 0 1px rgba(255,255,255,.035);}
body.theme-urick .ci-discipline-flow-card{margin-top:12px;border:1px solid rgba(255,217,87,.22);border-radius:18px;padding:14px;background:rgba(255,217,87,.08);}
body.theme-urick .ci-discipline-flow-card strong{display:block;color:#fff6d6;margin-bottom:5px;}
body.theme-urick .ci-discipline-flow-card p{margin:0;color:rgba(255,246,214,.78);}
body.theme-urick .ci-discipline-form textarea{min-height:96px;}
body.theme-urick .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#f4f9ff);border-color:rgba(27,131,144,.14);}
body.theme-urick .ci-discipline-chip-cloud{max-height:260px;overflow:auto;padding-right:4px;}
body.theme-urick .ci-discipline-event-workspace .button-row .button{margin-bottom:4px;}
body.theme-urick a.ci-discipline-tile{text-decoration:none;display:block;}
body.theme-urick .ci-discipline-tile.discipline--live em{background:rgba(42,211,154,.12);border-color:rgba(42,211,154,.28);color:#72f0ca;}
@media(max-width:1180px){body.theme-urick .ci-discipline-hero{grid-template-columns:1fr;}body.theme-urick .ci-discipline-mark{justify-self:start;width:126px;height:126px;}body.theme-urick .ci-discipline-step-rail{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));}}
@media(max-width:760px){body.theme-urick .ci-discipline-hero{padding:18px;}body.theme-urick .ci-discipline-step-rail{grid-template-columns:1fr 1fr;}body.theme-urick .ci-discipline-chip-cloud{max-height:none;}}

/* CI v10c rollup discipline button polish */
body.theme-urick .ci-kaizen-rollup-panel .ci-panel-head{align-items:flex-start;gap:24px;}
body.theme-urick .ci-kaizen-rollup-panel .ci-panel-head>div:first-child{min-width:0;}
body.theme-urick .ci-rollup-discipline-grid{--rollup-gap:11px;flex:0 0 min(660px,54%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--rollup-gap);align-content:start;justify-content:end;padding:8px;border-radius:26px;background:linear-gradient(135deg,rgba(255,255,255,.04),rgba(42,211,154,.045));border:1px solid rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);}
body.theme-urick .ci-rollup-discipline-chip{--chip-a:#72f0ca;--chip-b:#10323a;position:relative;overflow:hidden;min-height:52px;display:flex;align-items:center;gap:9px;border-radius:999px;padding:10px 14px 10px 11px;color:#fff6d6;text-decoration:none;border:1px solid color-mix(in srgb,var(--chip-a) 44%,rgba(255,255,255,.18));background:radial-gradient(circle at 18% 20%,color-mix(in srgb,var(--chip-a) 42%,transparent),transparent 29%),linear-gradient(135deg,color-mix(in srgb,var(--chip-b) 86%,#07131f),#07131f 68%);box-shadow:0 12px 24px rgba(0,0,0,.20),inset 0 0 0 1px rgba(255,255,255,.045);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease;}
body.theme-urick .ci-rollup-discipline-chip::after{content:"";position:absolute;inset:auto -24px -34px auto;width:76px;height:76px;border-radius:50%;background:color-mix(in srgb,var(--chip-a) 20%,transparent);pointer-events:none;}
body.theme-urick .ci-rollup-discipline-chip span{position:relative;z-index:1;flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid color-mix(in srgb,var(--chip-a) 55%,rgba(255,255,255,.2));color:var(--chip-a);font-weight:1000;font-size:.72rem;letter-spacing:.02em;box-shadow:inset 0 0 12px rgba(255,255,255,.05);}
body.theme-urick .ci-rollup-discipline-chip strong{position:relative;z-index:1;font-size:.88rem;line-height:1.02;letter-spacing:-.01em;white-space:normal;}
body.theme-urick .ci-rollup-discipline-chip:hover,body.theme-urick .ci-rollup-discipline-chip:focus-visible{transform:translateY(-2px);filter:saturate(1.08);border-color:color-mix(in srgb,var(--chip-a) 70%,#fff);box-shadow:0 16px 28px rgba(0,0,0,.25),0 0 24px color-mix(in srgb,var(--chip-a) 14%,transparent),inset 0 0 0 1px rgba(255,255,255,.08);outline:none;}
body.theme-urick .chip--kaizen{--chip-a:#ffd957;--chip-b:#3a3010;}
body.theme-urick .chip--a3{--chip-a:#9fd1ff;--chip-b:#173456;}
body.theme-urick .chip--five-s{--chip-a:#72f0ca;--chip-b:#123f39;}
body.theme-urick .chip--pdca{--chip-a:#d6aa46;--chip-b:#243b25;}
body.theme-urick .chip--root{--chip-a:#ff8f70;--chip-b:#3c201a;}
body.theme-urick .chip--fishbone{--chip-a:#9fd1ff;--chip-b:#213147;}
body.theme-urick .chip--capa{--chip-a:#ff7777;--chip-b:#421b1b;}
body.theme-urick .chip--standard{--chip-a:#ffd957;--chip-b:#4b3b15;}
body.theme-urick .chip--visual{--chip-a:#72f0ca;--chip-b:#174f51;}
body.theme-urick .chip--gemba{--chip-a:#72f0ca;--chip-b:#153e3f;}
body.theme-urick .chip--waste{--chip-a:#ffcf5f;--chip-b:#4c3218;}
body.theme-urick .chip--smed{--chip-a:#ff8f70;--chip-b:#462219;}
body.theme-urick .chip--poka{--chip-a:#8affd2;--chip-b:#173e2d;}
body.theme-urick .chip--standard,body.theme-urick .chip--visual{grid-column:span 2;max-width:340px;}
@media(max-width:1180px){body.theme-urick .ci-rollup-discipline-grid{flex:1 1 100%;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:start;}}
@media(max-width:760px){body.theme-urick .ci-rollup-discipline-grid{grid-template-columns:1fr 1fr;}body.theme-urick .chip--standard,body.theme-urick .chip--visual{grid-column:span 2;max-width:none;}}
@media(max-width:480px){body.theme-urick .ci-rollup-discipline-grid{grid-template-columns:1fr;}body.theme-urick .chip--standard,body.theme-urick .chip--visual{grid-column:auto;}}

body.theme-urick .ci-discipline-page-shell .table-card h3{letter-spacing:-.015em;}
body.theme-urick .ci-side-stack .table-card{box-shadow:0 12px 28px rgba(7,18,31,.08);}
body.theme-urick .discipline-page--gemba .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#f1fffb);}
body.theme-urick .discipline-page--waste-walk .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#fff9ec);}
body.theme-urick .discipline-page--smed .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#fff3ee);}
body.theme-urick .discipline-page--poka-yoke .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#effff7);}
body.theme-urick .ci-discipline-event-workspace .button-row{gap:8px 10px;}
body.theme-urick .ci-discipline-event-workspace .button-row .button{white-space:normal;}

body.theme-urick .discipline-page--vsm .ci-discipline-hero{--discipline-a:#72f0ca;--discipline-b:#203e33;}
body.theme-urick .discipline-page--spc-trend .ci-discipline-hero{--discipline-a:#82bcff;--discipline-b:#172f54;}
body.theme-urick .discipline-page--layered-audit .ci-discipline-hero{--discipline-a:#ffd957;--discipline-b:#3b3218;}
body.theme-urick .discipline-page--control-plan .ci-discipline-hero{--discipline-a:#ffb86b;--discipline-b:#3d261a;}
body.theme-urick .discipline-page--vsm .ci-discipline-mark{border-radius:28px 50% 28px 50%;transform:rotate(-2deg);}
body.theme-urick .discipline-page--spc-trend .ci-discipline-mark{border-radius:50%;transform:rotate(1deg);}
body.theme-urick .discipline-page--layered-audit .ci-discipline-mark{border-radius:22px;transform:rotate(-1deg);}
body.theme-urick .discipline-page--control-plan .ci-discipline-mark{border-radius:18px 34px 18px 34px;transform:rotate(1deg);}
body.theme-urick .chip--vsm{--chip-a:#72f0ca;--chip-b:#153e35;}
body.theme-urick .chip--spc{--chip-a:#82bcff;--chip-b:#162e4e;}
body.theme-urick .chip--audit{--chip-a:#ffd957;--chip-b:#4c3c18;}
body.theme-urick .chip--control{--chip-a:#ffb86b;--chip-b:#44291b;}
body.theme-urick .discipline-page--vsm .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#f1fffb);}
body.theme-urick .discipline-page--spc-trend .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#f0f7ff);}
body.theme-urick .discipline-page--layered-audit .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#fff8df);}
body.theme-urick .discipline-page--control-plan .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#fff2e7);}

/* CI v12b process-control polish */
body.theme-urick .ci-discipline-family-note{
  margin:12px 0 0;
  max-width:820px;
  border-left:3px solid var(--discipline-a);
  border-radius:12px;
  padding:10px 12px;
  background:linear-gradient(90deg,color-mix(in srgb,var(--discipline-a) 14%,transparent),rgba(255,255,255,.025));
  color:rgba(255,246,214,.86);
  font-weight:800;
  line-height:1.55;
}
body.theme-urick .ci-discipline-step-rail{
  grid-template-columns:repeat(auto-fit,minmax(164px,1fr));
}
body.theme-urick .ci-discipline-step-rail button{
  min-height:54px;
  padding:11px 12px;
}
body.theme-urick .ci-discipline-flow-card{
  border-color:color-mix(in srgb,var(--discipline-a,#ffd957) 34%,rgba(255,217,87,.16));
  background:linear-gradient(135deg,color-mix(in srgb,var(--discipline-a,#ffd957) 11%,rgba(255,217,87,.08)),rgba(42,211,154,.035));
}
body.theme-urick .ci-discipline-specific-strip{
  position:relative;
  overflow:hidden;
}
body.theme-urick .ci-discipline-specific-strip::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,rgba(42,211,154,.65),rgba(255,217,87,.55));
  border-radius:999px;
}
body.theme-urick .ci-discipline-specific-strip > *{
  position:relative;
  z-index:1;
}
body.theme-urick .ci-side-stack .table-card h3{
  line-height:1.12;
}
body.theme-urick .discipline--closure .ci-discipline-art{
  background:linear-gradient(135deg,rgba(255,217,87,.18),rgba(114,240,202,.13)),repeating-linear-gradient(135deg,rgba(255,255,255,.07) 0 1px,transparent 1px 14px);
}
body.theme-urick .ci-discipline-tile.discipline--closure em,
body.theme-urick .ci-discipline-tile.discipline--rollback em{
  background:rgba(255,217,87,.10);
  border-color:rgba(255,217,87,.24);
  color:#ffd957;
}
body.theme-urick .ci-rollup-discipline-grid{
  grid-auto-flow:row dense;
}
@media(min-width:1280px){
  body.theme-urick .ci-rollup-discipline-grid{flex-basis:min(720px,56%);}
}
@media(max-width:760px){
  body.theme-urick .ci-discipline-family-note{font-size:.92rem;}
  body.theme-urick .ci-discipline-step-rail{grid-template-columns:1fr;}
}


/* CI v13 closeout + retention batch */
body.theme-urick .discipline-page--rollback-watch .ci-discipline-hero{--discipline-a:#ffd957;--discipline-b:#25381e;}
body.theme-urick .discipline-page--project-closure .ci-discipline-hero{--discipline-a:#72f0ca;--discipline-b:#173f37;}
body.theme-urick .discipline-page--rollback-watch .ci-discipline-mark{border-radius:50%;transform:rotate(-1deg);}
body.theme-urick .discipline-page--project-closure .ci-discipline-mark{border-radius:26px 18px 34px 18px;transform:rotate(1deg);}
body.theme-urick .discipline-page--rollback-watch .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#fff9dd);}
body.theme-urick .discipline-page--project-closure .ci-discipline-specific-strip{background:linear-gradient(180deg,#ffffff,#effff9);}
body.theme-urick .discipline--rollback .ci-discipline-art{background:radial-gradient(circle at 20% 50%,rgba(255,217,87,.42),transparent 18%),linear-gradient(135deg,rgba(255,217,87,.20),rgba(42,211,154,.10)),repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 1px,transparent 1px 18px);}
body.theme-urick .discipline--closure .ci-discipline-art{background:radial-gradient(circle at 80% 35%,rgba(114,240,202,.38),transparent 20%),linear-gradient(135deg,rgba(114,240,202,.18),rgba(255,217,87,.10)),repeating-linear-gradient(135deg,rgba(255,255,255,.07) 0 1px,transparent 1px 14px);}
body.theme-urick .chip--rollback{--chip-a:#ffd957;--chip-b:#403515;}
body.theme-urick .chip--closure{--chip-a:#72f0ca;--chip-b:#173f37;}
body.theme-urick .chip--rollback,body.theme-urick .chip--closure{grid-column:span 2;max-width:360px;}
body.theme-urick .ci-discipline-tile.discipline--rollback.discipline--live em,body.theme-urick .ci-discipline-tile.discipline--closure.discipline--live em{background:rgba(42,211,154,.12);border-color:rgba(42,211,154,.28);color:#72f0ca;}
@media(max-width:760px){body.theme-urick .chip--rollback,body.theme-urick .chip--closure{grid-column:span 2;max-width:none;}}
@media(max-width:480px){body.theme-urick .chip--rollback,body.theme-urick .chip--closure{grid-column:auto;}}


/* CI v13b final polish / lock pass */
body.theme-urick .ci-kaizen-rollup-panel .ci-panel-head{
  gap:28px;
}
body.theme-urick .ci-kaizen-rollup-panel .ci-panel-head>div:first-child p{
  max-width:780px;
}
body.theme-urick .ci-rollup-discipline-grid{
  --rollup-gap:12px;
  flex:0 0 min(820px,58%);
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:12px;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(42,211,154,.055)),radial-gradient(circle at 92% 8%,rgba(255,217,87,.10),transparent 34%);
}
body.theme-urick .ci-rollup-discipline-chip{
  min-height:56px;
  gap:10px;
  padding:10px 13px 10px 10px;
}
body.theme-urick .ci-rollup-discipline-chip span{
  flex-basis:32px;
  width:32px;
  height:32px;
}
body.theme-urick .ci-rollup-discipline-chip strong{
  font-size:.86rem;
  line-height:1.08;
}
body.theme-urick .chip--standard,
body.theme-urick .chip--visual,
body.theme-urick .chip--rollback,
body.theme-urick .chip--closure{
  grid-column:auto;
  max-width:none;
}
body.theme-urick .chip--closure{
  grid-column:span 2;
}
body.theme-urick .chip--rollback{
  grid-column:span 2;
}
body.theme-urick .ci-kaizen-rollup-summary{
  border-color:rgba(114,240,202,.18);
  background:linear-gradient(135deg,rgba(42,211,154,.08),rgba(255,217,87,.055));
}
body.theme-urick .ci-kaizen-rollup-summary strong{
  color:#fff6d6;
}
body.theme-urick .ci-discipline-page-shell .ci-discipline-family-note{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035);
}
body.theme-urick .discipline-page--rollback-watch .ci-discipline-family-note{
  background:linear-gradient(90deg,rgba(255,217,87,.16),rgba(255,255,255,.025));
}
body.theme-urick .discipline-page--project-closure .ci-discipline-family-note{
  background:linear-gradient(90deg,rgba(114,240,202,.15),rgba(255,255,255,.025));
}
body.theme-urick .discipline-page--rollback-watch .ci-discipline-mark{
  box-shadow:0 24px 52px rgba(0,0,0,.25),0 0 34px rgba(255,217,87,.16),inset 0 0 0 1px rgba(255,255,255,.16);
}
body.theme-urick .discipline-page--project-closure .ci-discipline-mark{
  box-shadow:0 24px 52px rgba(0,0,0,.25),0 0 34px rgba(114,240,202,.16),inset 0 0 0 1px rgba(255,255,255,.16);
}
body.theme-urick .discipline-page--rollback-watch .ci-discipline-flow-card{
  background:linear-gradient(135deg,rgba(255,217,87,.12),rgba(42,211,154,.04));
}
body.theme-urick .discipline-page--project-closure .ci-discipline-flow-card{
  background:linear-gradient(135deg,rgba(114,240,202,.11),rgba(255,217,87,.05));
}
body.theme-urick .ci-discipline-event-workspace .alert-box.info strong,
body.theme-urick .kaizen-save-summary-head strong{
  overflow-wrap:anywhere;
}
@media(max-width:1380px){
  body.theme-urick .ci-rollup-discipline-grid{flex-basis:min(760px,58%);grid-template-columns:repeat(3,minmax(0,1fr));}
  body.theme-urick .chip--rollback,body.theme-urick .chip--closure{grid-column:span 2;}
}
@media(max-width:1180px){
  body.theme-urick .ci-rollup-discipline-grid{flex:1 1 100%;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:760px){
  body.theme-urick .ci-rollup-discipline-grid{grid-template-columns:1fr 1fr;}
  body.theme-urick .chip--rollback,body.theme-urick .chip--closure{grid-column:span 2;}
}
@media(max-width:480px){
  body.theme-urick .ci-rollup-discipline-grid{grid-template-columns:1fr;}
  body.theme-urick .chip--rollback,body.theme-urick .chip--closure{grid-column:auto;}
}


/* CI v14 sample operating data controls */
body.theme-urick .ci-sample-seed-panel{
  margin-top:18px;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(114,240,202,.22);
  background:linear-gradient(135deg,rgba(42,211,154,.08),rgba(255,217,87,.045)),rgba(5,17,27,.72);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 16px 34px rgba(0,0,0,.20);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px 18px;
  align-items:center;
}
body.theme-urick .ci-sample-seed-copy strong{
  display:block;
  color:#fff6d6;
  font-size:1.02rem;
  line-height:1.2;
  margin-top:2px;
}
body.theme-urick .ci-sample-seed-copy p{
  margin:7px 0 0;
  color:rgba(255,246,214,.78);
  line-height:1.55;
  max-width:760px;
}
body.theme-urick .ci-sample-seed-actions{
  display:grid;
  justify-items:end;
  gap:10px;
}
body.theme-urick .ci-sample-seed-actions .button-row{
  justify-content:flex-end;
  gap:8px;
}
body.theme-urick .ci-sample-seed-panel .alert-box{
  grid-column:1 / -1;
  margin:2px 0 0;
  background:rgba(224,244,255,.10);
  border-color:rgba(114,240,202,.24);
  color:rgba(255,246,214,.88);
}
body.theme-urick .ci-sample-seed-panel .alert-box strong{
  color:#72f0ca;
}
@media(max-width:900px){
  body.theme-urick .ci-sample-seed-panel{grid-template-columns:1fr;}
  body.theme-urick .ci-sample-seed-actions{justify-items:start;}
  body.theme-urick .ci-sample-seed-actions .button-row{justify-content:flex-start;}
}


/* CI v15 clickable discipline trainer */
.ci-step-helper {
  margin-top: 1rem;
  border: 1px solid rgba(76, 217, 198, 0.28);
  border-radius: 22px;
  padding: 1rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(76, 217, 198, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(5, 24, 31, 0.98), rgba(13, 34, 38, 0.96));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f7f0d4;
}
.ci-step-helper-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.ci-step-helper-top h3 {
  margin: .16rem 0 .25rem;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: #fff3ca;
}
.ci-step-helper-top p {
  margin: 0;
  color: rgba(240, 248, 255, .82);
  line-height: 1.55;
}
.ci-step-helper-switches {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.ci-helper-toggle {
  border: 1px solid rgba(255, 205, 63, .58);
  border-radius: 999px;
  padding: .58rem .85rem;
  font-weight: 900;
  color: #071b25;
  background: linear-gradient(135deg, #f9d35a, #fff3bc);
  box-shadow: 0 0 0 4px rgba(255, 209, 74, .1), 0 10px 24px rgba(0, 0, 0, .25);
  cursor: pointer;
}
.ci-helper-toggle:not(.is-on) {
  color: #dff7ff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
}
.ci-step-helper-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
}
.ci-helper-card {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: .82rem;
  background: rgba(1, 14, 20, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ci-helper-card--lead {
  border-color: rgba(255, 207, 84, .4);
  background: linear-gradient(135deg, rgba(84, 68, 24, .82), rgba(2, 20, 25, .68));
}
.ci-helper-card--wide {
  grid-column: 1 / -1;
  border-color: rgba(76, 217, 198, .34);
  background: linear-gradient(135deg, rgba(19, 68, 68, .55), rgba(3, 20, 26, .72));
}
.ci-helper-card span {
  display: block;
  margin-bottom: .38rem;
  color: #67ffe7;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}
.ci-helper-card p,
.ci-helper-card em {
  margin: 0;
  line-height: 1.48;
  color: rgba(245, 250, 255, .84);
}
.ci-helper-card em {
  display: block;
  margin-top: .45rem;
  color: #ffe79a;
  font-style: normal;
  font-weight: 800;
}
.ci-helper-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(245, 250, 255, .84);
}
.ci-helper-card li + li { margin-top: .32rem; }
.ci-step-helper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin-top: .85rem;
}
.ci-step-helper-actions .button.is-reviewed {
  color: #073322;
  background: linear-gradient(135deg, #79ffd8, #d8fff4);
  border-color: rgba(121, 255, 216, .8);
}
.ci-step-helper-progress {
  position: relative;
  margin-top: .75rem;
  min-height: 1.15rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
}
.ci-step-helper-progress span {
  display: block;
  height: 100%;
  min-height: 1.15rem;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(76, 217, 198, .76), rgba(255, 205, 63, .85));
  transition: width .24s ease;
}
.ci-step-helper-progress em {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .6rem;
  color: #f8f4d8;
  font-style: normal;
  font-size: .72rem;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.ci-step-helper-collapsed {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
  align-items: center;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: 15px;
  padding: .8rem;
  background: rgba(255, 255, 255, .05);
  color: rgba(245, 250, 255, .78);
}
.ci-step-helper-collapsed strong { color: #fff3ca; }
.ci-step-helper.is-helper-off {
  background: linear-gradient(135deg, rgba(5, 20, 27, .96), rgba(10, 21, 27, .92));
  border-color: rgba(255, 255, 255, .13);
}
.ci-trainer-field-focus {
  outline: 3px solid rgba(255, 205, 63, .85);
  outline-offset: 4px;
  box-shadow: 0 0 0 8px rgba(255, 205, 63, .16), 0 16px 32px rgba(0, 0, 0, .18);
  transition: outline-color .2s ease, box-shadow .2s ease;
}
@media (max-width: 760px) {
  .ci-step-helper-top { flex-direction: column; }
  .ci-step-helper-body { grid-template-columns: 1fr; }
  .ci-step-helper-actions .button { flex: 1 1 42%; }
}

/* CI v15b helper polish + persistence */
.ci-helper-toggle--quiet {
  color: #dff7ff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.18);
}
.ci-helper-toggle--quiet.is-on {
  color: #09252e;
  background: linear-gradient(135deg, #92ddff, #effaff);
  border-color: rgba(146,221,255,.72);
}
.ci-helper-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: .58rem;
}
.ci-helper-status-line span,
.ci-helper-reviewed-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .25rem .55rem;
  color: rgba(244,251,255,.82);
  background: rgba(255,255,255,.07);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.ci-helper-reviewed-badge {
  margin-left: .35rem;
  color: #073322;
  background: linear-gradient(135deg, #79ffd8, #d8fff4);
  border-color: rgba(121,255,216,.78);
  white-space: nowrap;
  vertical-align: middle;
}
[data-kaizen-step].is-trainer-reviewed,
[data-ci-discipline-step].is-trainer-reviewed {
  position: relative;
  border-color: rgba(121,255,216,.65) !important;
  box-shadow: 0 0 0 3px rgba(121,255,216,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
[data-kaizen-step].is-trainer-reviewed::after,
[data-ci-discipline-step].is-trainer-reviewed::after {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.18rem;
  height: 1.18rem;
  margin-left: .38rem;
  border-radius: 999px;
  color: #073322;
  background: #79ffd8;
  font-size: .76rem;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(121,255,216,.13);
}
.ci-step-helper.is-compact {
  padding: .78rem;
  border-radius: 18px;
}
.ci-step-helper.is-compact .ci-step-helper-top {
  margin-bottom: .55rem;
}
.ci-step-helper.is-compact .ci-step-helper-body {
  grid-template-columns: 1fr;
  gap: .55rem;
}
.ci-step-helper.is-compact .ci-helper-card {
  padding: .68rem;
}
.ci-step-helper.is-compact .ci-helper-card--secondary {
  display: none;
}
.ci-step-helper.is-compact .ci-helper-card--wide {
  grid-column: auto;
}
.ci-step-helper.is-compact .ci-step-helper-actions {
  gap: .42rem;
  margin-top: .65rem;
}
.ci-trainer-field-focus {
  animation: ciTrainerFieldPulse .85s ease-in-out 0s 3;
}
@keyframes ciTrainerFieldPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255,205,63,.14), 0 16px 32px rgba(0,0,0,.18); }
  50% { box-shadow: 0 0 0 13px rgba(255,205,63,.28), 0 22px 42px rgba(0,0,0,.24); }
}
@media (max-width: 760px) {
  .ci-step-helper-switches { width: 100%; flex-wrap: wrap; }
  .ci-step-helper-switches .ci-helper-toggle { flex: 1 1 46%; }
  .ci-helper-status-line span { flex: 1 1 100%; justify-content: center; }
  .ci-step-helper-actions .button { flex: 1 1 100%; }
}


/* CI v16 team queue + ownership layer */
body.theme-urick .ci-team-queue-panel{
  border-color:rgba(114,240,202,.20);
  background:radial-gradient(circle at 8% 0%,rgba(114,240,202,.10),transparent 34%),linear-gradient(135deg,rgba(6,21,33,.94),rgba(11,30,45,.92));
}
body.theme-urick .ci-queue-identity-strip{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 0 16px;
}
body.theme-urick .ci-queue-identity-strip>div{
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  padding:14px;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(42,211,154,.045));
}
body.theme-urick .ci-queue-identity-strip span,
body.theme-urick .ci-queue-card-meta b{
  display:block;
  color:rgba(255,246,214,.58);
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
}
body.theme-urick .ci-queue-identity-strip strong{
  display:block;
  color:#fff6d6;
  font-size:1rem;
  margin-top:4px;
}
body.theme-urick .ci-queue-identity-strip em{
  display:block;
  color:rgba(255,246,214,.70);
  font-style:normal;
  line-height:1.5;
  margin-top:5px;
}
body.theme-urick .ci-queue-metric-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:10px;
  margin:14px 0 18px;
}
body.theme-urick .ci-queue-metric-grid article{
  min-height:92px;
  padding:13px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.23);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
body.theme-urick .ci-queue-metric-grid strong{
  display:block;
  color:#72f0ca;
  font-size:1.6rem;
  line-height:1;
}
body.theme-urick .ci-queue-metric-grid span{
  display:block;
  color:rgba(255,246,214,.72);
  line-height:1.25;
  margin-top:8px;
  font-size:.82rem;
}
body.theme-urick .ci-queue-filter-card{
  padding:15px;
  border-radius:22px;
  border:1px solid rgba(255,217,87,.16);
  background:linear-gradient(135deg,rgba(255,217,87,.055),rgba(255,255,255,.035));
  margin-bottom:14px;
}
body.theme-urick .ci-queue-filter-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
body.theme-urick .ci-queue-filter-actions{
  margin-top:12px;
  justify-content:flex-end;
}
body.theme-urick .ci-queue-summary{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  align-items:center;
  justify-content:space-between;
  border:1px solid rgba(114,240,202,.18);
  border-radius:18px;
  padding:13px 14px;
  background:rgba(0,0,0,.20);
  margin-bottom:13px;
}
body.theme-urick .ci-queue-summary strong{
  color:#fff6d6;
}
body.theme-urick .ci-queue-summary span{
  color:rgba(255,246,214,.72);
  line-height:1.45;
}
body.theme-urick .ci-queue-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
body.theme-urick .ci-queue-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(42,211,154,.045)),rgba(2,12,20,.72);
  padding:16px;
  box-shadow:0 16px 32px rgba(0,0,0,.20),inset 0 0 0 1px rgba(255,255,255,.025);
}
body.theme-urick .ci-queue-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:#72f0ca;
  opacity:.9;
}
body.theme-urick .ci-queue-card.risk--critical::before{background:#ff5b5b;}
body.theme-urick .ci-queue-card.risk--high::before{background:#ff9f4a;}
body.theme-urick .ci-queue-card.risk--medium::before{background:#ffd957;}
body.theme-urick .ci-queue-card.risk--low::before{background:#72f0ca;}
body.theme-urick .ci-queue-card.is-closed{opacity:.82;}
body.theme-urick .ci-queue-card-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 10px;
  align-items:start;
}
body.theme-urick .ci-queue-card-head span{
  grid-column:1 / -1;
  color:#72f0ca;
  font-size:.7rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  font-weight:1000;
}
body.theme-urick .ci-queue-card-head strong{
  color:#fff6d6;
  font-size:1.03rem;
  line-height:1.2;
}
body.theme-urick .ci-queue-card-head em{
  justify-self:end;
  border-radius:999px;
  border:1px solid rgba(114,240,202,.24);
  background:rgba(114,240,202,.10);
  color:#baf7e3;
  padding:5px 8px;
  font-style:normal;
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
body.theme-urick .ci-queue-card-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin:14px 0 11px;
}
body.theme-urick .ci-queue-card-meta span{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(0,0,0,.18);
  color:rgba(255,246,214,.82);
  padding:8px;
  line-height:1.2;
  font-size:.78rem;
}
body.theme-urick .ci-queue-card p{
  color:rgba(255,246,214,.74);
  line-height:1.55;
  margin:0 0 12px;
}
body.theme-urick .ci-queue-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:12px;
}
body.theme-urick .ci-queue-chip-row span{
  border-radius:999px;
  padding:6px 9px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.09);
  color:rgba(255,246,214,.82);
  font-size:.72rem;
  font-weight:800;
}
body.theme-urick .ci-queue-empty{
  grid-column:1 / -1;
  border:1px dashed rgba(114,240,202,.26);
  border-radius:22px;
  padding:22px;
  background:rgba(0,0,0,.18);
  color:rgba(255,246,214,.78);
}
body.theme-urick .ci-queue-empty strong{
  display:block;
  color:#fff6d6;
  margin-bottom:5px;
}
@media(max-width:1180px){
  body.theme-urick .ci-queue-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.theme-urick .ci-queue-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-urick .ci-queue-list{grid-template-columns:1fr;}
}
@media(max-width:760px){
  body.theme-urick .ci-queue-identity-strip,
  body.theme-urick .ci-queue-filter-grid,
  body.theme-urick .ci-queue-card-meta{grid-template-columns:1fr;}
  body.theme-urick .ci-queue-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-urick .ci-queue-filter-actions{justify-content:flex-start;}
}
@media(max-width:480px){
  body.theme-urick .ci-queue-metric-grid{grid-template-columns:1fr;}
}


/* CI v17 evidence + attachment readiness */
body.theme-urick .ci-evidence-readiness-strip{
  border-color:rgba(159,209,255,.24);
  background:radial-gradient(circle at 10% 0%,rgba(159,209,255,.14),transparent 34%),linear-gradient(180deg,#ffffff,#f3f9ff);
}
body.theme-urick .ci-evidence-readiness-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom:12px;
}
body.theme-urick .ci-evidence-readiness-head h4{margin:2px 0 5px;}
body.theme-urick .ci-evidence-readiness-head p{margin:0;color:#536576;line-height:1.5;}
body.theme-urick .ci-evidence-readiness-grid textarea{min-height:78px;}
body.theme-urick .ci-evidence-checks{
  margin-top:10px;
  border-top:1px solid rgba(27,131,144,.12);
  padding-top:10px;
}
body.theme-urick .ci-evidence-command-panel{
  border-color:rgba(159,209,255,.22);
  background:radial-gradient(circle at 88% 0%,rgba(159,209,255,.13),transparent 32%),linear-gradient(135deg,rgba(6,21,33,.94),rgba(12,28,48,.92));
}
body.theme-urick .ci-evidence-dashboard-grid,
body.theme-urick .ci-evidence-lane-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
body.theme-urick .ci-evidence-dashboard-grid article,
body.theme-urick .ci-evidence-lane-grid article{
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  padding:14px;
  background:rgba(0,0,0,.22);
}
body.theme-urick .ci-evidence-dashboard-grid strong{
  display:block;
  color:#9fd1ff;
  font-size:1.65rem;
  line-height:1;
}
body.theme-urick .ci-evidence-dashboard-grid span,
body.theme-urick .ci-evidence-lane-grid span{
  display:block;
  color:rgba(255,246,214,.72);
  margin-top:7px;
  line-height:1.45;
}
body.theme-urick .ci-evidence-lane-grid b{display:block;color:#fff6d6;}
body.theme-urick .ci-evidence-dashboard-summary{
  border:1px solid rgba(159,209,255,.20);
  border-radius:18px;
  padding:13px 14px;
  background:rgba(0,0,0,.21);
}
body.theme-urick .ci-evidence-dashboard-summary strong{display:block;color:#fff6d6;margin-bottom:4px;}
body.theme-urick .ci-evidence-dashboard-summary span{color:rgba(255,246,214,.74);line-height:1.5;}
body.theme-urick .ci-queue-chip-row .ci-evidence-chip{
  border-color:rgba(159,209,255,.28);
  background:rgba(159,209,255,.10);
  color:#d8ecff;
}
@media(max-width:1180px){
  body.theme-urick .ci-evidence-dashboard-grid,
  body.theme-urick .ci-evidence-lane-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  body.theme-urick .ci-evidence-readiness-head{display:block;}
  body.theme-urick .ci-evidence-dashboard-grid,
  body.theme-urick .ci-evidence-lane-grid{grid-template-columns:1fr;}
}


/* CI v18 KPI rollup upgrade */
body.theme-urick .ci-kpi-operational-panel,
body.theme-urick .ci-kpi-center-rollup{
  border-color:rgba(255,217,87,.24);
  background:radial-gradient(circle at 12% 0%,rgba(255,217,87,.12),transparent 34%),radial-gradient(circle at 92% 16%,rgba(114,240,202,.09),transparent 30%),linear-gradient(135deg,rgba(6,20,30,.96),rgba(13,29,39,.94));
}
body.theme-urick .ci-kpi-rollup-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:15px 0;
}
body.theme-urick .ci-kpi-rollup-grid article{
  min-height:88px;
  padding:13px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,217,87,.035)),rgba(0,0,0,.24);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
body.theme-urick .ci-kpi-rollup-grid strong{
  display:block;
  color:#ffd957;
  font-size:1.58rem;
  line-height:1;
}
body.theme-urick .ci-kpi-rollup-grid span{
  display:block;
  color:rgba(255,246,214,.74);
  line-height:1.24;
  margin-top:8px;
  font-size:.8rem;
}
body.theme-urick .ci-kpi-rollup-summary{
  border:1px solid rgba(255,217,87,.18);
  border-radius:18px;
  padding:13px 14px;
  background:rgba(0,0,0,.22);
  margin:0 0 14px;
}
body.theme-urick .ci-kpi-rollup-summary strong{display:block;color:#fff6d6;margin-bottom:4px;}
body.theme-urick .ci-kpi-rollup-summary span{display:block;color:rgba(255,246,214,.74);line-height:1.45;}
body.theme-urick .ci-kpi-rollup-lanes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
body.theme-urick .ci-kpi-rollup-lanes>article{
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:rgba(0,0,0,.22);
  padding:13px;
}
body.theme-urick .ci-kpi-lane-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
}
body.theme-urick .ci-kpi-lane-head b{color:#fff6d6;}
body.theme-urick .ci-kpi-lane-head span{color:rgba(255,246,214,.58);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;text-align:right;}
body.theme-urick .ci-kpi-rollup-list{display:grid;gap:9px;}
body.theme-urick .ci-kpi-rollup-card{
  position:relative;
  display:block;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:11px 12px 11px 15px;
  background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(114,240,202,.025));
  overflow:hidden;
}
body.theme-urick .ci-kpi-rollup-card::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:4px;
  background:#72f0ca;
}
body.theme-urick .ci-kpi-rollup-card.risk--critical::before{background:#ff5b5b;}
body.theme-urick .ci-kpi-rollup-card.risk--high::before{background:#ff9f4a;}
body.theme-urick .ci-kpi-rollup-card.risk--medium::before{background:#ffd957;}
body.theme-urick .ci-kpi-rollup-card span{display:block;color:#72f0ca;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;font-weight:1000;margin-bottom:3px;}
body.theme-urick .ci-kpi-rollup-card strong{display:block;color:#fff6d6;line-height:1.18;font-size:.92rem;}
body.theme-urick .ci-kpi-rollup-card em{display:block;color:rgba(255,246,214,.62);font-style:normal;font-size:.76rem;margin-top:4px;}
body.theme-urick .ci-kpi-rollup-card small{display:block;color:rgba(255,246,214,.72);line-height:1.35;margin-top:6px;}
body.theme-urick .ci-kpi-rollup-card:hover,
body.theme-urick .ci-kpi-rollup-card:focus-visible{outline:none;border-color:rgba(255,217,87,.34);transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.18);}
body.theme-urick .ci-kpi-rollup-doctrine{margin-top:14px;}
body.theme-urick .ci-kpi-rollup-grid--kpi{grid-template-columns:repeat(5,minmax(0,1fr));}
@media(max-width:1180px){
  body.theme-urick .ci-kpi-rollup-grid,
  body.theme-urick .ci-kpi-rollup-grid--kpi{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.theme-urick .ci-kpi-rollup-lanes{grid-template-columns:1fr;}
}
@media(max-width:760px){
  body.theme-urick .ci-kpi-rollup-grid,
  body.theme-urick .ci-kpi-rollup-grid--kpi{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-urick .ci-kpi-lane-head{display:block;}
  body.theme-urick .ci-kpi-lane-head span{text-align:left;display:block;margin-top:3px;}
}
@media(max-width:480px){
  body.theme-urick .ci-kpi-rollup-grid,
  body.theme-urick .ci-kpi-rollup-grid--kpi{grid-template-columns:1fr;}
}

/* CI v18b discipline button theming pass
   New action buttons inside each managed-flow discipline inherit that discipline's visual tone. */
body.theme-urick .ci-kaizen-shell,
body.theme-urick .ci-card-discipline--kaizen-event{--discipline-a:#ffd957;--discipline-b:#5d4614;--discipline-c:#07131f;--discipline-button-ink:#fff6d6;--discipline-button-dark:#07131f;}
body.theme-urick .discipline-page--a3,
body.theme-urick .ci-card-discipline--a3-problem-solving{--discipline-a:#9fd1ff;--discipline-b:#1e426b;--discipline-c:#07131f;--discipline-button-ink:#f4fbff;--discipline-button-dark:#081c34;}
body.theme-urick .discipline-page--five-s,
body.theme-urick .ci-card-discipline--five-s{--discipline-a:#72f0ca;--discipline-b:#17736f;--discipline-c:#061f22;--discipline-button-ink:#effff9;--discipline-button-dark:#062924;}
body.theme-urick .discipline-page--pdca,
body.theme-urick .ci-card-discipline--pdca-cycle{--discipline-a:#ffd957;--discipline-b:#277c55;--discipline-c:#07131f;--discipline-button-ink:#fff9df;--discipline-button-dark:#092416;}
body.theme-urick .discipline-page--root-cause,
body.theme-urick .ci-card-discipline--root-cause-5why{--discipline-a:#ff8f70;--discipline-b:#552a20;--discipline-c:#07131f;--discipline-button-ink:#fff4ee;--discipline-button-dark:#2a120d;}
body.theme-urick .discipline-page--fishbone,
body.theme-urick .ci-card-discipline--fishbone{--discipline-a:#9fd1ff;--discipline-b:#263b58;--discipline-c:#07131f;--discipline-button-ink:#f4fbff;--discipline-button-dark:#0a1d33;}
body.theme-urick .discipline-page--capa,
body.theme-urick .ci-card-discipline--capa{--discipline-a:#ff9a72;--discipline-b:#5e2420;--discipline-c:#07131f;--discipline-button-ink:#fff4ee;--discipline-button-dark:#2d0f0c;}
body.theme-urick .discipline-page--standard-work,
body.theme-urick .ci-card-discipline--standard-work{--discipline-a:#ffd957;--discipline-b:#6a5421;--discipline-c:#07131f;--discipline-button-ink:#fff7cf;--discipline-button-dark:#241c08;}
body.theme-urick .discipline-page--visual-management,
body.theme-urick .ci-card-discipline--visual-management{--discipline-a:#72f0ca;--discipline-b:#196f72;--discipline-c:#061f22;--discipline-button-ink:#effff9;--discipline-button-dark:#06272a;}
body.theme-urick .discipline-page--gemba,
body.theme-urick .ci-card-discipline--gemba-walk{--discipline-a:#72f0ca;--discipline-b:#174c48;--discipline-c:#061f22;--discipline-button-ink:#effff9;--discipline-button-dark:#061f1d;}
body.theme-urick .discipline-page--waste-walk,
body.theme-urick .ci-card-discipline--waste-walk{--discipline-a:#ffcf5f;--discipline-b:#533416;--discipline-c:#07131f;--discipline-button-ink:#fff7df;--discipline-button-dark:#281606;}
body.theme-urick .discipline-page--smed,
body.theme-urick .ci-card-discipline--smed{--discipline-a:#ff8f70;--discipline-b:#533018;--discipline-c:#07131f;--discipline-button-ink:#fff4ee;--discipline-button-dark:#271307;}
body.theme-urick .discipline-page--poka-yoke,
body.theme-urick .ci-card-discipline--poka-yoke{--discipline-a:#8affd2;--discipline-b:#17452f;--discipline-c:#061f16;--discipline-button-ink:#effff8;--discipline-button-dark:#061f16;}
body.theme-urick .discipline-page--vsm,
body.theme-urick .ci-card-discipline--value-stream-mapping{--discipline-a:#72f0ca;--discipline-b:#203e33;--discipline-c:#061f22;--discipline-button-ink:#effff9;--discipline-button-dark:#071f18;}
body.theme-urick .discipline-page--spc-trend,
body.theme-urick .ci-card-discipline--spc-trend-review{--discipline-a:#82bcff;--discipline-b:#172f54;--discipline-c:#07131f;--discipline-button-ink:#f4fbff;--discipline-button-dark:#081a2f;}
body.theme-urick .discipline-page--layered-audit,
body.theme-urick .ci-card-discipline--layered-process-audit{--discipline-a:#ffd957;--discipline-b:#3b3218;--discipline-c:#07131f;--discipline-button-ink:#fff7cf;--discipline-button-dark:#191304;}
body.theme-urick .discipline-page--control-plan,
body.theme-urick .ci-card-discipline--control-plan-sustainment{--discipline-a:#ffb86b;--discipline-b:#3d261a;--discipline-c:#07131f;--discipline-button-ink:#fff2df;--discipline-button-dark:#1f1005;}
body.theme-urick .discipline-page--rollback-watch,
body.theme-urick .ci-card-discipline--rollback-watch{--discipline-a:#ffd957;--discipline-b:#4b3517;--discipline-c:#07131f;--discipline-button-ink:#fff7cf;--discipline-button-dark:#201404;}
body.theme-urick .discipline-page--project-closure,
body.theme-urick .ci-card-discipline--project-closure-retention{--discipline-a:#72f0ca;--discipline-b:#173f37;--discipline-c:#061f22;--discipline-button-ink:#effff9;--discipline-button-dark:#061d19;}

body.theme-urick .ci-kaizen-shell .button,
body.theme-urick .ci-discipline-page-shell .button,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button{
  --button-accent:var(--discipline-a,#ffd957);
  --button-depth:var(--discipline-b,#17355d);
  --button-ink:var(--discipline-button-ink,#fff6d6);
  position:relative;
  overflow:hidden;
  border-color:color-mix(in srgb,var(--button-accent) 42%,rgba(17,40,71,.16));
  box-shadow:0 10px 20px rgba(7,19,31,.10), inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease,background .16s ease,color .16s ease;
}
body.theme-urick .ci-kaizen-shell .button::after,
body.theme-urick .ci-discipline-page-shell .button::after,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button::after{
  content:"";
  position:absolute;
  inset:auto -22px -34px auto;
  width:78px;
  height:78px;
  border-radius:999px;
  background:color-mix(in srgb,var(--button-accent) 16%,transparent);
  pointer-events:none;
}
body.theme-urick .ci-kaizen-shell .button:not(.secondary):not(.ghost),
body.theme-urick .ci-discipline-page-shell .button:not(.secondary):not(.ghost),
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button:not(.secondary):not(.ghost){
  color:var(--button-ink);
  background:
    radial-gradient(circle at 18% 10%,color-mix(in srgb,var(--button-accent) 32%,transparent),transparent 32%),
    linear-gradient(135deg,color-mix(in srgb,var(--button-depth) 84%,#07131f),color-mix(in srgb,var(--button-accent) 18%,#07131f));
}
body.theme-urick .ci-kaizen-shell .button.secondary,
body.theme-urick .ci-discipline-page-shell .button.secondary,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.secondary{
  color:color-mix(in srgb,var(--button-depth) 86%,#07131f);
  border-color:color-mix(in srgb,var(--button-accent) 42%,rgba(94,74,30,.34));
  background:
    radial-gradient(circle at 16% 16%, rgba(255,255,255,.68), transparent 24%),
    radial-gradient(circle at 86% 18%,color-mix(in srgb,var(--button-accent) 16%,transparent),transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,0) 42%),
    linear-gradient(180deg,
      color-mix(in srgb,var(--button-accent) 18%,#f7eed4) 0%,
      color-mix(in srgb,var(--button-accent) 13%,#ead8ae) 56%,
      color-mix(in srgb,var(--button-accent) 24%,#d4b878) 100%),
    #e4cca0;
  box-shadow:0 13px 26px rgba(7,19,31,.13), inset 0 1px 0 rgba(255,255,255,.60), inset 0 -8px 14px color-mix(in srgb,var(--button-accent) 14%,rgba(94,74,30,.18));
  text-shadow:0 1px 0 rgba(255,255,255,.24);
}
body.theme-urick .ci-kaizen-shell .button.secondary::before,
body.theme-urick .ci-discipline-page-shell .button.secondary::before,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.secondary::before{
  content:"";
  position:absolute;
  inset:4px auto 4px 4px;
  width:5px;
  border-radius:999px;
  background:linear-gradient(180deg, color-mix(in srgb,var(--button-accent) 86%,#fff2aa), color-mix(in srgb,var(--button-depth) 48%,var(--button-accent)));
  box-shadow:1px 0 0 rgba(255,255,255,.22);
  opacity:.96;
}
body.theme-urick .ci-kaizen-shell .button.secondary:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-discipline-page-shell .button.secondary:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.secondary:hover:not(:disabled):not([aria-disabled="true"]){
  border-color:color-mix(in srgb,var(--button-accent) 54%,rgba(94,74,30,.40));
  box-shadow:0 16px 30px rgba(7,19,31,.16), 0 0 0 1px color-mix(in srgb,var(--button-accent) 16%,transparent), inset 0 1px 0 rgba(255,255,255,.68), inset 0 -8px 14px color-mix(in srgb,var(--button-accent) 18%,rgba(94,74,30,.20));
}
body.theme-urick .ci-kaizen-shell .button.ghost,
body.theme-urick .ci-discipline-page-shell .button.ghost,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.ghost{
  color:color-mix(in srgb,var(--button-depth) 74%,#07131f);
  border-color:color-mix(in srgb,var(--button-accent) 34%,rgba(17,40,71,.10));
  background:color-mix(in srgb,var(--button-accent) 7%,transparent);
}
body.theme-urick .ci-kaizen-shell .button:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-discipline-page-shell .button:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button:hover:not(:disabled):not([aria-disabled="true"]){
  transform:translateY(-2px);
  filter:saturate(1.08);
  border-color:color-mix(in srgb,var(--button-accent) 72%,#fff);
  box-shadow:0 15px 30px rgba(7,19,31,.16),0 0 22px color-mix(in srgb,var(--button-accent) 14%,transparent),inset 0 1px 0 rgba(255,255,255,.10);
}
body.theme-urick .ci-kaizen-shell .button:focus-visible,
body.theme-urick .ci-discipline-page-shell .button:focus-visible,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button:focus-visible{
  outline:3px solid color-mix(in srgb,var(--button-accent) 50%,transparent);
  outline-offset:3px;
}
body.theme-urick .ci-step-helper .button,
body.theme-urick .ci-step-helper .button.secondary{
  color:var(--discipline-button-ink,#fff6d6);
  border-color:color-mix(in srgb,var(--discipline-a,#ffd957) 42%,rgba(255,255,255,.18));
  background:linear-gradient(135deg,color-mix(in srgb,var(--discipline-b,#17355d) 72%,#07131f),color-mix(in srgb,var(--discipline-a,#ffd957) 16%,#07131f));
}
body.theme-urick .ci-step-helper .button.is-reviewed,
body.theme-urick .ci-helper-reviewed-badge,
body.theme-urick [data-kaizen-step].is-trainer-reviewed::after,
body.theme-urick [data-ci-discipline-step].is-trainer-reviewed::after{
  color:var(--discipline-button-dark,#07131f);
  background:linear-gradient(135deg,var(--discipline-a,#79ffd8),color-mix(in srgb,var(--discipline-a,#79ffd8) 42%,#ffffff));
  border-color:color-mix(in srgb,var(--discipline-a,#79ffd8) 74%,#ffffff);
}
body.theme-urick [data-kaizen-step].is-trainer-reviewed,
body.theme-urick [data-ci-discipline-step].is-trainer-reviewed{
  border-color:color-mix(in srgb,var(--discipline-a,#79ffd8) 70%,transparent) !important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--discipline-a,#79ffd8) 14%,transparent), inset 0 1px 0 rgba(255,255,255,.08);
}
body.theme-urick .ci-helper-toggle{
  color:var(--discipline-button-dark,#07131f);
  border-color:color-mix(in srgb,var(--discipline-a,#ffd957) 70%,rgba(255,255,255,.25));
  background:linear-gradient(135deg,var(--discipline-a,#ffd957),color-mix(in srgb,var(--discipline-a,#ffd957) 38%,#ffffff));
  box-shadow:0 0 0 4px color-mix(in srgb,var(--discipline-a,#ffd957) 12%,transparent),0 10px 24px rgba(0,0,0,.25);
}
body.theme-urick .ci-helper-toggle:not(.is-on),
body.theme-urick .ci-helper-toggle--quiet:not(.is-on){
  color:rgba(244,251,255,.88);
  background:color-mix(in srgb,var(--discipline-b,#17355d) 32%,rgba(255,255,255,.06));
  border-color:color-mix(in srgb,var(--discipline-a,#ffd957) 28%,rgba(255,255,255,.20));
}
body.theme-urick .ci-helper-toggle--quiet.is-on{
  color:var(--discipline-button-dark,#07131f);
  background:linear-gradient(135deg,color-mix(in srgb,var(--discipline-a,#92ddff) 74%,#ffffff),#ffffff);
  border-color:color-mix(in srgb,var(--discipline-a,#92ddff) 62%,#ffffff);
}
body.theme-urick .ci-helper-card span,
body.theme-urick .ci-helper-status-line span{
  color:color-mix(in srgb,var(--discipline-a,#67ffe7) 80%,#ffffff);
}
body.theme-urick .ci-helper-card--lead{
  border-color:color-mix(in srgb,var(--discipline-a,#ffd957) 40%,rgba(255,255,255,.13));
  background:linear-gradient(135deg,color-mix(in srgb,var(--discipline-b,#17355d) 62%,rgba(2,20,25,.78)),rgba(2,20,25,.70));
}
body.theme-urick .ci-helper-card--wide{
  border-color:color-mix(in srgb,var(--discipline-a,#4cd9c6) 34%,rgba(255,255,255,.13));
  background:linear-gradient(135deg,color-mix(in srgb,var(--discipline-b,#17355d) 48%,rgba(3,20,26,.68)),rgba(3,20,26,.72));
}
body.theme-urick .ci-step-helper-progress span{
  background:linear-gradient(90deg,color-mix(in srgb,var(--discipline-b,#4cd9c6) 72%,var(--discipline-a,#ffd957)),var(--discipline-a,#ffd957));
}
body.theme-urick .ci-trainer-field-focus{
  outline-color:color-mix(in srgb,var(--discipline-a,#ffd957) 88%,#ffffff);
  box-shadow:0 0 0 8px color-mix(in srgb,var(--discipline-a,#ffd957) 18%,transparent),0 16px 32px rgba(0,0,0,.18);
}
body.theme-urick .ci-discipline-event-workspace .button-row,
body.theme-urick .ci-step-helper-actions{
  gap:10px 12px;
}

/* CI v18c global command controls + filter polish
   Rule: discipline buttons keep discipline color; global/system controls use A.I.R.O.N. command language. */
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button-row,
body.theme-urick .ci-program-shell .ci-queue-filter-actions,
body.theme-urick .ci-program-shell .ci-command-control-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
}
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button,
body.theme-urick .ci-program-shell .ci-queue-filter-actions .button,
body.theme-urick .ci-program-shell [data-ci-program-reset],
body.theme-urick .ci-program-shell [data-ci-program-refresh],
body.theme-urick .ci-program-shell [data-ci-program-log],
body.theme-urick .ci-program-shell [data-ci-program-save]{
  --airon-btn-a:#72f0ca;
  --airon-btn-b:#ffd957;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-radius:999px;
  border:1px solid color-mix(in srgb,var(--airon-btn-a) 38%,rgba(255,255,255,.18));
  background:
    radial-gradient(circle at 18% 22%,color-mix(in srgb,var(--airon-btn-a) 28%,transparent),transparent 30%),
    linear-gradient(135deg,rgba(9,28,38,.96),rgba(7,18,31,.98) 66%);
  color:#fff6d6;
  font-weight:1000;
  letter-spacing:.01em;
  box-shadow:0 10px 22px rgba(0,0,0,.20),inset 0 0 0 1px rgba(255,255,255,.045);
  text-shadow:0 1px 0 rgba(0,0,0,.25);
}
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button::before,
body.theme-urick .ci-program-shell .ci-queue-filter-actions .button::before,
body.theme-urick .ci-program-shell [data-ci-program-reset]::before,
body.theme-urick .ci-program-shell [data-ci-program-refresh]::before,
body.theme-urick .ci-program-shell [data-ci-program-log]::before,
body.theme-urick .ci-program-shell [data-ci-program-save]::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,var(--airon-btn-a),var(--airon-btn-b));
  opacity:.95;
  z-index:-1;
}
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button::after,
body.theme-urick .ci-program-shell .ci-queue-filter-actions .button::after,
body.theme-urick .ci-program-shell [data-ci-program-reset]::after,
body.theme-urick .ci-program-shell [data-ci-program-refresh]::after,
body.theme-urick .ci-program-shell [data-ci-program-log]::after,
body.theme-urick .ci-program-shell [data-ci-program-save]::after{
  content:"";
  position:absolute;
  inset:auto -22px -32px auto;
  width:72px;
  height:72px;
  border-radius:50%;
  background:color-mix(in srgb,var(--airon-btn-a) 15%,transparent);
  pointer-events:none;
  z-index:-1;
}
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button:hover:not(:disabled),
body.theme-urick .ci-program-shell .ci-queue-filter-actions .button:hover:not(:disabled),
body.theme-urick .ci-program-shell [data-ci-program-reset]:hover:not(:disabled),
body.theme-urick .ci-program-shell [data-ci-program-refresh]:hover:not(:disabled),
body.theme-urick .ci-program-shell [data-ci-program-log]:hover:not(:disabled),
body.theme-urick .ci-program-shell [data-ci-program-save]:hover:not(:disabled){
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--airon-btn-a) 70%,#fff);
  box-shadow:0 16px 30px rgba(0,0,0,.25),0 0 26px color-mix(in srgb,var(--airon-btn-a) 14%,transparent),inset 0 0 0 1px rgba(255,255,255,.08);
}
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button:focus-visible,
body.theme-urick .ci-program-shell .ci-queue-filter-actions .button:focus-visible,
body.theme-urick .ci-program-shell [data-ci-program-reset]:focus-visible,
body.theme-urick .ci-program-shell [data-ci-program-refresh]:focus-visible,
body.theme-urick .ci-program-shell [data-ci-program-log]:focus-visible,
body.theme-urick .ci-program-shell [data-ci-program-save]:focus-visible{
  outline:2px solid color-mix(in srgb,var(--airon-btn-a) 72%,#fff);
  outline-offset:3px;
}
body.theme-urick .ci-program-shell [data-ci-sample-load],
body.theme-urick .ci-program-shell [data-ci-program-save]{
  --airon-btn-a:#ffd957;
  --airon-btn-b:#72f0ca;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,217,87,.34),transparent 32%),
    linear-gradient(135deg,#3c3216,#101a21 72%);
  color:#fff7d9;
}
body.theme-urick .ci-program-shell [data-ci-sample-clear]{
  --airon-btn-a:#ff8f70;
  --airon-btn-b:#ffd957;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,143,112,.25),transparent 32%),
    linear-gradient(135deg,#351f1b,#101a21 72%);
}
body.theme-urick .ci-program-shell [data-ci-queue-reset],
body.theme-urick .ci-program-shell [data-ci-program-reset]{
  --airon-btn-a:#9fd1ff;
  --airon-btn-b:#72f0ca;
}
body.theme-urick .ci-program-shell .ci-queue-filter-actions a[href*="kpis"]{
  --airon-btn-a:#ffd957;
  --airon-btn-b:#72f0ca;
}
body.theme-urick .ci-program-shell .ci-queue-filter-actions a[href*="vault"]{
  --airon-btn-a:#72f0ca;
  --airon-btn-b:#ffd957;
}
body.theme-urick .ci-program-shell .ci-queue-filter-card{
  border-color:rgba(114,240,202,.25);
  background:
    radial-gradient(circle at 6% 0%,rgba(114,240,202,.16),transparent 24%),
    linear-gradient(135deg,rgba(255,217,87,.055),rgba(114,240,202,.055)),
    rgba(0,0,0,.14);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 16px 32px rgba(0,0,0,.12);
}
body.theme-urick .ci-program-shell .ci-queue-filter-card .field label{
  color:#72f0ca;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.7rem;
  font-weight:1000;
}
body.theme-urick .ci-program-shell .ci-queue-filter-card select,
body.theme-urick .ci-program-shell .ci-queue-filter-card input[type="search"]{
  border:1px solid rgba(114,240,202,.24);
  background:
    linear-gradient(135deg,rgba(3,9,16,.88),rgba(15,32,39,.78));
  color:#fff6d6;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 8px 18px rgba(0,0,0,.10);
}
body.theme-urick .ci-program-shell .ci-queue-filter-card select:hover,
body.theme-urick .ci-program-shell .ci-queue-filter-card input[type="search"]:hover{
  border-color:rgba(255,217,87,.34);
}
body.theme-urick .ci-program-shell .ci-queue-filter-card select:focus,
body.theme-urick .ci-program-shell .ci-queue-filter-card input[type="search"]:focus{
  outline:none;
  border-color:#72f0ca;
  box-shadow:0 0 0 4px rgba(114,240,202,.13),inset 0 0 0 1px rgba(255,255,255,.05);
}
body.theme-urick .ci-program-shell .ci-queue-filter-card select option{
  color:#07131f;
  background:#ffffff;
}
body.theme-urick .ci-program-shell .ci-queue-filter-actions{
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.07);
}
body.theme-urick .ci-program-shell .ci-sample-seed-panel{
  border-color:rgba(114,240,202,.22);
  background:
    radial-gradient(circle at 82% 12%,rgba(255,217,87,.14),transparent 25%),
    linear-gradient(135deg,rgba(114,240,202,.07),rgba(255,217,87,.045)),
    rgba(0,0,0,.16);
}
body.theme-urick .ci-program-shell .ci-sample-seed-actions .kpi-status-pill{
  border-color:rgba(114,240,202,.28);
  background:rgba(114,240,202,.09);
  color:#baf7e3;
}
@media(max-width:760px){
  body.theme-urick .ci-program-shell .ci-sample-seed-actions .button,
  body.theme-urick .ci-program-shell .ci-queue-filter-actions .button,
  body.theme-urick .ci-program-shell [data-ci-program-reset],
  body.theme-urick .ci-program-shell [data-ci-program-refresh],
  body.theme-urick .ci-program-shell [data-ci-program-log],
  body.theme-urick .ci-program-shell [data-ci-program-save]{
    flex:1 1 100%;
    justify-content:center;
  }
}


/* CI v18d richer neutral button tones
   Warmed up pale/white buttons into richer parchment/metallic neutrals while keeping discipline color language intact. */


/* CI v18e expressive neutral buttons
   Secondary/neutral buttons upgraded from plain parchment to more dimensional industrial enamel/brass character. */


/* CI v18f readability audit pass
   Darken low-contrast advisory / doctrine cards and strengthen supporting copy contrast. */
body.theme-urick .ci-kpi-rollup-doctrine,
body.theme-urick .ci-kpi-rollup-summary.ci-kpi-rollup-doctrine{
  border-color: rgba(255,217,87,.24);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,217,87,.10), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(114,240,202,.07), transparent 30%),
    linear-gradient(135deg, rgba(8,22,31,.96), rgba(15,31,42,.94));
  box-shadow:
    0 10px 24px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-urick .ci-kpi-rollup-doctrine strong,
body.theme-urick .ci-kpi-rollup-summary.ci-kpi-rollup-doctrine strong{
  color:#ffe8a3;
  letter-spacing:.01em;
}
body.theme-urick .ci-kpi-rollup-doctrine span,
body.theme-urick .ci-kpi-rollup-summary.ci-kpi-rollup-doctrine span{
  color:rgba(255,246,214,.88);
}

body.theme-urick .ci-kpi-rollup-summary:not(.ci-kpi-rollup-doctrine){
  border-color: rgba(255,217,87,.20);
  background: linear-gradient(135deg, rgba(7,19,29,.82), rgba(14,28,37,.80));
}
body.theme-urick .ci-kpi-rollup-summary:not(.ci-kpi-rollup-doctrine) strong{ color:#fff0bc; }
body.theme-urick .ci-kpi-rollup-summary:not(.ci-kpi-rollup-doctrine) span{ color:rgba(255,246,214,.82); }

body.theme-urick .ci-kpi-rollup-grid article,
body.theme-urick .ci-kpi-rollup-lanes>article,
body.theme-urick .ci-kpi-rollup-card{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
body.theme-urick .ci-kpi-rollup-grid article span,
body.theme-urick .ci-kpi-lane-head span,
body.theme-urick .ci-kpi-rollup-card em{
  color: rgba(255,246,214,.78);
}


/* CI v18g full contrast audit pass
   Broad readability lift across KPI Center, CI rollup, queue, evidence, and helper/support cards. */
body.theme-urick .kpi-source-card,
body.theme-urick .kpi-panel-card,
body.theme-urick .kpi-doctrine-card,
body.theme-urick .kpi-live-wire-card,
body.theme-urick .kpi-plant-pulse,
body.theme-urick .ci-team-queue-panel,
body.theme-urick .ci-evidence-command-panel{
  box-shadow:
    0 20px 40px rgba(7,18,31,.18),
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 0 0 1px rgba(255,255,255,.02);
}

body.theme-urick .kpi-source-card,
body.theme-urick .kpi-panel-card,
body.theme-urick .kpi-doctrine-card{
  border-color: rgba(214,170,70,.40);
  background:
    radial-gradient(circle at 88% 12%, rgba(214,170,70,.08), transparent 26%),
    linear-gradient(145deg, #07111b 0%, #111b24 58%, #1d2524 100%);
}
body.theme-urick .kpi-source-card p,
body.theme-urick .kpi-panel-card p,
body.theme-urick .kpi-doctrine-card p,
body.theme-urick .kpi-source-card li,
body.theme-urick .kpi-doctrine-card li,
body.theme-urick .kpi-live-wire-head p,
body.theme-urick .kpi-pulse-head p,
body.theme-urick .kpi-card-source-note,
body.theme-urick .kpi-pulse-foot,
body.theme-urick .kpi-live-empty span{
  color: rgba(255,246,214,.86);
}
body.theme-urick .kpi-card-source-note,
body.theme-urick .kpi-pulse-foot{
  background: linear-gradient(135deg, rgba(0,0,0,.20), rgba(255,217,87,.05));
  border-left-color: rgba(42,211,154,.62);
}
body.theme-urick .kpi-metric-chip,
body.theme-urick .kpi-live-summary-grid div,
body.theme-urick .kpi-pulse-chip,
body.theme-urick .kpi-doctrine-list li{
  border-color: rgba(255,255,255,.11);
  background: linear-gradient(145deg, rgba(0,0,0,.28), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
body.theme-urick .kpi-metric-chip span,
body.theme-urick .kpi-live-summary-grid span,
body.theme-urick .kpi-pulse-chip span{
  color: rgba(255,246,214,.84);
}
body.theme-urick .kpi-live-request{
  border-color: rgba(255,255,255,.10);
  background: linear-gradient(145deg, rgba(0,0,0,.24), rgba(255,255,255,.02));
}
body.theme-urick .kpi-live-request span,
body.theme-urick .kpi-live-request time,
body.theme-urick .kpi-live-request small{
  color: rgba(255,246,214,.84);
}
body.theme-urick .kpi-live-request:hover{
  border-color: rgba(214,170,70,.54);
  background: linear-gradient(145deg, rgba(214,170,70,.12), rgba(0,0,0,.22));
}

body.theme-urick .ci-queue-identity-strip > div,
body.theme-urick .ci-queue-filter-card,
body.theme-urick .ci-queue-summary,
body.theme-urick .ci-queue-card,
body.theme-urick .ci-evidence-dashboard-grid article,
body.theme-urick .ci-evidence-lane-grid article,
body.theme-urick .ci-evidence-dashboard-summary,
body.theme-urick .ci-kpi-rollup-grid article,
body.theme-urick .ci-kpi-rollup-lanes > article,
body.theme-urick .ci-kpi-rollup-card,
body.theme-urick .ci-kpi-rollup-summary:not(.ci-kpi-rollup-doctrine){
  box-shadow: 0 14px 30px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
}

body.theme-urick .ci-queue-identity-strip span,
body.theme-urick .ci-queue-card-meta b,
body.theme-urick .ci-kpi-lane-head span{
  color: rgba(255,246,214,.76);
}
body.theme-urick .ci-queue-identity-strip em,
body.theme-urick .ci-queue-metric-grid span,
body.theme-urick .ci-queue-summary span,
body.theme-urick .ci-queue-card p,
body.theme-urick .ci-queue-empty,
body.theme-urick .ci-evidence-dashboard-grid span,
body.theme-urick .ci-evidence-lane-grid span,
body.theme-urick .ci-evidence-dashboard-summary span,
body.theme-urick .ci-kpi-rollup-summary span,
body.theme-urick .ci-kpi-rollup-card em,
body.theme-urick .ci-kpi-rollup-card small,
body.theme-urick .ci-rollup-copy p,
body.theme-urick .ci-discipline-flow-card p,
body.theme-urick .ci-discipline-step-rail button{
  color: rgba(255,246,214,.86);
}
body.theme-urick .ci-queue-card,
body.theme-urick .ci-kpi-rollup-card,
body.theme-urick .ci-kpi-rollup-lanes > article,
body.theme-urick .ci-kpi-rollup-grid article{
  border-color: rgba(255,255,255,.11);
}
body.theme-urick .ci-queue-chip-row span,
body.theme-urick .ci-queue-card-meta span,
body.theme-urick .ci-kpi-rollup-card{
  background: linear-gradient(145deg, rgba(0,0,0,.22), rgba(255,255,255,.02));
}
body.theme-urick .ci-kpi-rollup-grid article span,
body.theme-urick .ci-kpi-rollup-card span{
  color: #9af5da;
}
body.theme-urick .ci-step-helper,
body.theme-urick .ci-helper-card,
body.theme-urick .ci-step-helper-actions .button,
body.theme-urick .ci-helper-status-line span{
  box-shadow: 0 12px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-urick .ci-helper-card p,
body.theme-urick .ci-helper-card li,
body.theme-urick .ci-helper-status-line span{
  color: rgba(244,251,255,.88);
}

body.theme-urick .kpi-action-link,
body.theme-urick .ci-rollup-discipline-chip,
body.theme-urick .ci-discipline-step-rail button,
body.theme-urick .ci-queue-chip-row span,
body.theme-urick .ci-kpi-rollup-card,
body.theme-urick .ci-filter-chip,
body.theme-urick .button.airon-button,
body.theme-urick .button.airon-button--light{
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, filter .16s ease;
}

body.theme-urick .ci-evidence-dashboard-grid article strong,
body.theme-urick .ci-kpi-rollup-grid article strong,
body.theme-urick .ci-queue-metric-grid strong{
  text-shadow: 0 0 18px rgba(255,217,87,.08);
}


/* CI v18h production visual QA sweep
   Focus: small text, chip readability, hover/active clarity, light-panel readability, and mobile usability. */
body.theme-urick .ci-program-shell .button,
body.theme-urick .ci-discipline-page-shell .button,
body.theme-urick .ci-kaizen-shell .button,
body.theme-urick .ci-rollup-discipline-chip,
body.theme-urick .kpi-action-link{
  min-height:46px;
}
body.theme-urick .ci-program-shell .button,
body.theme-urick .ci-discipline-page-shell .button,
body.theme-urick .ci-kaizen-shell .button{
  font-size:.93rem;
  font-weight:1000;
  letter-spacing:.012em;
  line-height:1.18;
}
body.theme-urick .ci-program-shell .button.secondary,
body.theme-urick .ci-discipline-page-shell .button.secondary,
body.theme-urick .ci-kaizen-shell .button.secondary{
  color:color-mix(in srgb,var(--button-depth,#17355d) 90%,#07131f);
  text-shadow:0 1px 0 rgba(255,255,255,.32);
}
body.theme-urick .ci-program-shell .button:active:not(:disabled),
body.theme-urick .ci-discipline-page-shell .button:active:not(:disabled),
body.theme-urick .ci-kaizen-shell .button:active:not(:disabled),
body.theme-urick .ci-rollup-discipline-chip:active,
body.theme-urick .kpi-action-link:active{
  transform:translateY(0) scale(.988);
}
body.theme-urick .ci-program-shell .button[aria-pressed="true"],
body.theme-urick .ci-program-shell .button.is-active,
body.theme-urick .ci-discipline-page-shell .button[aria-pressed="true"],
body.theme-urick .ci-discipline-page-shell .button.is-active,
body.theme-urick .ci-kaizen-shell .button[aria-pressed="true"],
body.theme-urick .ci-kaizen-shell .button.is-active{
  border-color:color-mix(in srgb,var(--button-accent,#ffd957) 78%,#ffffff);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--button-accent,#ffd957) 18%,transparent),0 14px 28px rgba(7,19,31,.18),inset 0 1px 0 rgba(255,255,255,.10);
}

body.theme-urick .kpi-status-pill,
body.theme-urick .ci-queue-chip-row span,
body.theme-urick .ci-browser-chip,
body.theme-urick .ci-notify-chip,
body.theme-urick .ci-queue-card-head em,
body.theme-urick .ci-chip-checks label,
body.theme-urick .kpi-command-strip span{
  font-size:.76rem;
  letter-spacing:.06em;
  line-height:1.2;
}
body.theme-urick .ci-queue-chip-row span,
body.theme-urick .ci-chip-checks label,
body.theme-urick .ci-notify-chip,
body.theme-urick .ci-browser-chip{
  min-height:34px;
  padding:7px 11px;
}
body.theme-urick .ci-queue-chip-row span,
body.theme-urick .ci-chip-checks label{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
body.theme-urick .ci-queue-chip-row span:hover,
body.theme-urick .ci-chip-checks label:hover,
body.theme-urick .ci-notify-chip:hover,
body.theme-urick .ci-browser-chip:hover{
  filter:saturate(1.06);
}

body.theme-urick .kpi-source-card p,
body.theme-urick .kpi-panel-card p,
body.theme-urick .kpi-doctrine-card p,
body.theme-urick .kpi-source-card li,
body.theme-urick .kpi-doctrine-card li,
body.theme-urick .kpi-pulse-head p,
body.theme-urick .kpi-pulse-foot,
body.theme-urick .kpi-card-source-note,
body.theme-urick .ci-queue-card p,
body.theme-urick .ci-queue-empty,
body.theme-urick .ci-evidence-dashboard-grid span,
body.theme-urick .ci-evidence-lane-grid span,
body.theme-urick .ci-evidence-dashboard-summary span,
body.theme-urick .ci-kpi-rollup-summary span,
body.theme-urick .ci-kpi-rollup-card em,
body.theme-urick .ci-kpi-rollup-card small,
body.theme-urick .ci-helper-card p,
body.theme-urick .ci-helper-card li,
body.theme-urick .ci-helper-status-line span,
body.theme-urick .ci-rollup-copy p,
body.theme-urick .ci-discipline-flow-card p{
  font-size:.92rem;
  line-height:1.62;
}
body.theme-urick .kpi-metric-chip span,
body.theme-urick .kpi-pulse-chip span,
body.theme-urick .ci-kpi-rollup-grid article span,
body.theme-urick .ci-kpi-rollup-card span,
body.theme-urick .ci-queue-card-head span,
body.theme-urick .ci-program-shell .ci-queue-filter-card .field label{
  font-size:.74rem;
  letter-spacing:.075em;
}
body.theme-urick .ci-queue-card strong,
body.theme-urick .ci-kpi-rollup-card strong,
body.theme-urick .ci-kpi-rollup-grid article strong,
body.theme-urick .kpi-source-card h3,
body.theme-urick .kpi-panel-card h3,
body.theme-urick .kpi-doctrine-card h3,
body.theme-urick .kpi-pulse-head h3{
  text-wrap:balance;
}

body.theme-urick .kpi-source-card,
body.theme-urick .kpi-panel-card,
body.theme-urick .kpi-doctrine-card,
body.theme-urick .kpi-plant-pulse,
body.theme-urick .ci-queue-card,
body.theme-urick .ci-evidence-dashboard-grid article,
body.theme-urick .ci-evidence-lane-grid article,
body.theme-urick .ci-evidence-dashboard-summary,
body.theme-urick .ci-kpi-rollup-grid article,
body.theme-urick .ci-kpi-rollup-lanes > article,
body.theme-urick .ci-kpi-rollup-card{
  backdrop-filter: blur(1.6px);
}
body.theme-urick .kpi-source-card:hover,
body.theme-urick .kpi-panel-card:hover,
body.theme-urick .kpi-doctrine-card:hover,
body.theme-urick .ci-queue-card:hover,
body.theme-urick .ci-evidence-dashboard-grid article:hover,
body.theme-urick .ci-evidence-lane-grid article:hover,
body.theme-urick .ci-kpi-rollup-card:hover,
body.theme-urick .ci-kpi-rollup-grid article:hover,
body.theme-urick .ci-kpi-rollup-lanes > article:hover{
  transform:translateY(-1px);
  border-color:rgba(255,217,87,.28);
}

body.theme-urick .ci-discipline-event-workspace .table-card,
body.theme-urick .ci-side-stack .table-card,
body.theme-urick .kpi-command-shell .table-card,
body.theme-urick .kpi-command-shell .light-card,
body.theme-urick .kpi-command-shell .summary-card{
  border:1px solid rgba(17,40,71,.10);
  box-shadow:0 14px 30px rgba(17,40,71,.08);
}
body.theme-urick .ci-discipline-event-workspace .table-card h3,
body.theme-urick .ci-side-stack .table-card h3,
body.theme-urick .kpi-command-shell .table-card h3,
body.theme-urick .kpi-command-shell .light-card h3,
body.theme-urick .kpi-command-shell .summary-card h3,
body.theme-urick .ci-discipline-event-workspace .table-card h4,
body.theme-urick .ci-side-stack .table-card h4,
body.theme-urick .kpi-command-shell .table-card h4{
  color:#123b62;
}
body.theme-urick .ci-discipline-event-workspace .table-card p,
body.theme-urick .ci-side-stack .table-card p,
body.theme-urick .kpi-command-shell .table-card p,
body.theme-urick .kpi-command-shell .light-card p,
body.theme-urick .kpi-command-shell .summary-card p,
body.theme-urick .ci-discipline-event-workspace .table-card li,
body.theme-urick .ci-side-stack .table-card li,
body.theme-urick .kpi-command-shell .table-card li,
body.theme-urick .ci-discipline-event-workspace .helper,
body.theme-urick .ci-side-stack .helper,
body.theme-urick .kpi-command-shell .helper{
  color:#5b6f83;
  font-size:.94rem;
  line-height:1.62;
}
body.theme-urick .ci-discipline-event-workspace label,
body.theme-urick .ci-side-stack label,
body.theme-urick .kpi-command-shell label,
body.theme-urick .ci-discipline-event-workspace th,
body.theme-urick .ci-side-stack th,
body.theme-urick .kpi-command-shell th{
  color:#17355d;
  font-weight:800;
}
body.theme-urick .ci-discipline-event-workspace td,
body.theme-urick .ci-side-stack td,
body.theme-urick .kpi-command-shell td,
body.theme-urick .ci-discipline-event-workspace small,
body.theme-urick .ci-side-stack small,
body.theme-urick .kpi-command-shell small{
  color:#53677c;
}
body.theme-urick .ci-discipline-event-workspace input,
body.theme-urick .ci-discipline-event-workspace select,
body.theme-urick .ci-discipline-event-workspace textarea,
body.theme-urick .ci-side-stack input,
body.theme-urick .ci-side-stack select,
body.theme-urick .ci-side-stack textarea,
body.theme-urick .kpi-command-shell input,
body.theme-urick .kpi-command-shell select,
body.theme-urick .kpi-command-shell textarea{
  border-color:rgba(23,53,93,.18);
  box-shadow:inset 0 1px 2px rgba(17,40,71,.04);
}
body.theme-urick .ci-discipline-event-workspace input::placeholder,
body.theme-urick .ci-discipline-event-workspace textarea::placeholder,
body.theme-urick .ci-side-stack input::placeholder,
body.theme-urick .ci-side-stack textarea::placeholder,
body.theme-urick .kpi-command-shell input::placeholder,
body.theme-urick .kpi-command-shell textarea::placeholder{
  color:#8294a6;
}
body.theme-urick .ci-discipline-event-workspace input:focus,
body.theme-urick .ci-discipline-event-workspace select:focus,
body.theme-urick .ci-discipline-event-workspace textarea:focus,
body.theme-urick .ci-side-stack input:focus,
body.theme-urick .ci-side-stack select:focus,
body.theme-urick .ci-side-stack textarea:focus,
body.theme-urick .kpi-command-shell input:focus,
body.theme-urick .kpi-command-shell select:focus,
body.theme-urick .kpi-command-shell textarea:focus{
  border-color:#1f5f9e;
  box-shadow:0 0 0 4px rgba(31,95,158,.10), inset 0 1px 2px rgba(17,40,71,.04);
}

body.theme-urick .ci-kpi-rollup-card,
body.theme-urick .ci-kpi-rollup-grid article,
body.theme-urick .ci-kpi-rollup-lanes > article,
body.theme-urick .ci-evidence-dashboard-grid article,
body.theme-urick .ci-evidence-lane-grid article,
body.theme-urick .ci-queue-card-meta span,
body.theme-urick .kpi-metric-chip,
body.theme-urick .kpi-pulse-chip{
  border-color:rgba(255,255,255,.12);
}
body.theme-urick .ci-kpi-rollup-card:focus-visible,
body.theme-urick .ci-kpi-rollup-grid article:focus-visible,
body.theme-urick .ci-kpi-rollup-lanes > article:focus-visible,
body.theme-urick .ci-evidence-dashboard-grid article:focus-visible,
body.theme-urick .ci-evidence-lane-grid article:focus-visible,
body.theme-urick .ci-queue-card:focus-visible{
  outline:2px solid rgba(255,217,87,.44);
  outline-offset:2px;
}

@media(max-width:960px){
  body.theme-urick .ci-program-shell .ci-queue-filter-card .field label,
  body.theme-urick .ci-queue-card-head span,
  body.theme-urick .kpi-metric-chip span,
  body.theme-urick .kpi-pulse-chip span,
  body.theme-urick .ci-kpi-rollup-grid article span,
  body.theme-urick .ci-kpi-rollup-card span{font-size:.76rem;}
  body.theme-urick .ci-queue-card-meta{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  body.theme-urick .kpi-command-strip span,
  body.theme-urick .kpi-status-pill,
  body.theme-urick .ci-queue-chip-row span,
  body.theme-urick .ci-chip-checks label,
  body.theme-urick .ci-notify-chip,
  body.theme-urick .ci-browser-chip{font-size:.8rem;}

  body.theme-urick .ci-discipline-event-workspace .button-row,
  body.theme-urick .ci-step-helper-actions,
  body.theme-urick .ci-program-shell .ci-queue-filter-actions,
  body.theme-urick .ci-program-shell .ci-sample-seed-actions .button-row{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  body.theme-urick .ci-discipline-event-workspace .button-row .button,
  body.theme-urick .ci-step-helper-actions .button,
  body.theme-urick .ci-program-shell .ci-queue-filter-actions .button,
  body.theme-urick .ci-program-shell .ci-sample-seed-actions .button,
  body.theme-urick .kpi-action-link{
    width:100%;
    justify-content:center;
  }

  body.theme-urick .kpi-source-card,
  body.theme-urick .kpi-panel-card,
  body.theme-urick .kpi-doctrine-card,
  body.theme-urick .kpi-plant-pulse,
  body.theme-urick .ci-queue-card,
  body.theme-urick .ci-evidence-dashboard-grid article,
  body.theme-urick .ci-evidence-lane-grid article,
  body.theme-urick .ci-kpi-rollup-card,
  body.theme-urick .ci-kpi-rollup-grid article,
  body.theme-urick .ci-kpi-rollup-lanes > article{
    padding:15px;
  }
  body.theme-urick .ci-chip-checks label{width:100%;justify-content:flex-start;}
  body.theme-urick .ci-queue-card-meta{grid-template-columns:1fr;}
  body.theme-urick .ci-queue-card-head,
  body.theme-urick .kpi-source-card .kpi-source-top,
  body.theme-urick .kpi-panel-card .kpi-source-top,
  body.theme-urick .kpi-live-wire-head,
  body.theme-urick .kpi-pulse-head{
    display:block;
  }
  body.theme-urick .ci-queue-card-head em,
  body.theme-urick .kpi-status-pill{margin-top:8px;display:inline-flex;}
}
@media(max-width:560px){
  body.theme-urick .ci-program-shell .button,
  body.theme-urick .ci-discipline-page-shell .button,
  body.theme-urick .ci-kaizen-shell .button,
  body.theme-urick .ci-rollup-discipline-chip,
  body.theme-urick .kpi-action-link{min-height:48px;}
  body.theme-urick .ci-program-shell .button,
  body.theme-urick .ci-discipline-page-shell .button,
  body.theme-urick .ci-kaizen-shell .button{font-size:.95rem;}
  body.theme-urick .kpi-source-card p,
  body.theme-urick .kpi-panel-card p,
  body.theme-urick .kpi-doctrine-card p,
  body.theme-urick .kpi-pulse-head p,
  body.theme-urick .ci-queue-card p,
  body.theme-urick .ci-evidence-dashboard-grid span,
  body.theme-urick .ci-evidence-lane-grid span,
  body.theme-urick .ci-kpi-rollup-summary span,
  body.theme-urick .ci-kpi-rollup-card em,
  body.theme-urick .ci-kpi-rollup-card small{font-size:.96rem;}
  body.theme-urick .ci-discipline-event-workspace .table-card,
  body.theme-urick .ci-side-stack .table-card,
  body.theme-urick .kpi-command-shell .table-card,
  body.theme-urick .kpi-command-shell .light-card,
  body.theme-urick .kpi-command-shell .summary-card{padding:15px;}
}


/* CI v18i discipline launcher card anatomy
   Discipline identity now lives inside the color strip; body copy becomes a concise operational descriptor. */
body.theme-urick .ci-discipline-grid{
  align-items:stretch;
}
body.theme-urick .ci-discipline-tile.discipline--live,
body.theme-urick a.ci-discipline-tile{
  display:flex;
  flex-direction:column;
  min-height:186px;
  padding:13px;
  gap:10px;
  text-decoration:none;
}
body.theme-urick .ci-discipline-tile::after{
  opacity:.56;
}
body.theme-urick .ci-discipline-art{
  position:relative;
  z-index:1;
  min-height:54px;
  height:auto;
  margin:0;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:hidden;
  isolation:isolate;
  border-color:color-mix(in srgb,#72f0ca 24%,rgba(255,255,255,.12));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -10px 18px rgba(0,0,0,.10),
    0 8px 18px rgba(0,0,0,.12);
}
body.theme-urick .ci-discipline-art::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.13), transparent 23%, transparent 72%, rgba(255,255,255,.06)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,.045) 18px 19px);
  opacity:.70;
}
body.theme-urick .ci-discipline-art::after{
  content:"";
  position:absolute;
  right:-22px;
  top:50%;
  width:88px;
  height:88px;
  transform:translateY(-50%);
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,255,255,.13), transparent 64%);
  pointer-events:none;
}
body.theme-urick .ci-discipline-art strong{
  position:relative;
  z-index:2;
  display:block;
  margin:0;
  color:#fff6d6;
  font-size:clamp(.9rem,1.1vw,1.03rem);
  line-height:1.05;
  font-weight:1000;
  letter-spacing:-.015em;
  text-shadow:0 1px 0 rgba(0,0,0,.38),0 0 16px rgba(0,0,0,.18);
  max-width:calc(100% - 12px);
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
body.theme-urick .ci-discipline-tile strong:not(.ci-discipline-art strong){
  margin:0;
}
body.theme-urick .ci-discipline-tile small{
  margin:0;
  color:rgba(255,246,214,.84);
  line-height:1.48;
  font-size:.84rem;
  min-height:2.85em;
  text-wrap:balance;
}
body.theme-urick .ci-discipline-tile em{
  position:relative;
  right:auto;
  bottom:auto;
  align-self:flex-end;
  margin-top:auto;
  min-height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(42,211,154,.13);
  border-color:rgba(42,211,154,.34);
  color:#9af5da;
  box-shadow:0 8px 18px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.05);
}
body.theme-urick .ci-discipline-tile:hover .ci-discipline-art,
body.theme-urick .ci-discipline-tile:focus-visible .ci-discipline-art{
  border-color:rgba(255,217,87,.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -10px 18px rgba(0,0,0,.12),
    0 12px 24px rgba(0,0,0,.18),
    0 0 22px rgba(114,240,202,.10);
}
body.theme-urick .ci-discipline-tile:hover em,
body.theme-urick .ci-discipline-tile:focus-visible em{
  border-color:rgba(114,240,202,.58);
  background:rgba(42,211,154,.18);
  color:#dffcf3;
}
body.theme-urick .discipline--root .ci-discipline-art strong,
body.theme-urick .discipline--fishbone .ci-discipline-art strong,
body.theme-urick .discipline--visual .ci-discipline-art strong,
body.theme-urick .discipline--standard .ci-discipline-art strong,
body.theme-urick .discipline--control .ci-discipline-art strong,
body.theme-urick .discipline--rollback .ci-discipline-art strong,
body.theme-urick .discipline--closure .ci-discipline-art strong,
body.theme-urick .discipline--spc .ci-discipline-art strong{
  font-size:clamp(.82rem,1vw,.96rem);
}
body.theme-urick .discipline--closure .ci-discipline-art,
body.theme-urick .discipline--root .ci-discipline-art,
body.theme-urick .discipline--spc .ci-discipline-art{
  min-height:60px;
}
@media(max-width:1180px){
  body.theme-urick .ci-discipline-tile.discipline--live,
  body.theme-urick a.ci-discipline-tile{min-height:178px;}
}
@media(max-width:760px){
  body.theme-urick .ci-discipline-tile.discipline--live,
  body.theme-urick a.ci-discipline-tile{min-height:auto;}
  body.theme-urick .ci-discipline-art{min-height:52px;}
  body.theme-urick .ci-discipline-tile small{min-height:auto;}
  body.theme-urick .ci-discipline-tile em{align-self:stretch;width:100%;}
}

/* CI v18i final acceptance polish: spacing, rhythm, hierarchy, and personality balance. */
body.theme-urick .ci-command-panel{
  scroll-margin-top:18px;
}
body.theme-urick .ci-panel-head{
  gap:18px;
}
body.theme-urick .ci-panel-head h3,
body.theme-urick .ci-command-panel h3{
  line-height:1.12;
  text-wrap:balance;
}
body.theme-urick .ci-command-panel + .ci-command-panel{
  margin-top:2px;
}
body.theme-urick .ci-mini-eyebrow,
body.theme-urick .kpi-mini-eyebrow,
body.theme-urick .eyebrow{
  text-shadow:0 0 16px rgba(114,240,202,.10);
}
body.theme-urick .ci-command-panel,
body.theme-urick .kpi-panel-card,
body.theme-urick .kpi-source-card,
body.theme-urick .kpi-doctrine-card,
body.theme-urick .ci-team-queue-panel,
body.theme-urick .ci-evidence-command-panel,
body.theme-urick .ci-kpi-operational-panel{
  border-width:1px;
}
body.theme-urick .ci-command-rollup-grid article,
body.theme-urick .ci-loop-grid article,
body.theme-urick .ci-monitor-grid article,
body.theme-urick .ci-impact-command-grid article{
  min-height:112px;
}
body.theme-urick .ci-command-rollup-grid article strong,
body.theme-urick .ci-loop-grid article strong,
body.theme-urick .ci-monitor-grid article strong,
body.theme-urick .ci-impact-command-grid article strong{
  line-height:1.18;
  text-wrap:balance;
}
body.theme-urick .ci-command-rollup-grid article span,
body.theme-urick .ci-loop-grid article span,
body.theme-urick .ci-monitor-grid article span,
body.theme-urick .ci-impact-command-grid article span{
  color:rgba(255,246,214,.84);
}
body.theme-urick .ci-command-panel .alert-box,
body.theme-urick .ci-command-panel .notice-card{
  line-height:1.6;
}
body.theme-urick .ci-sample-seed-panel,
body.theme-urick .ci-queue-filter-card,
body.theme-urick .ci-kpi-rollup-doctrine{
  box-shadow:0 14px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.04);
}
@media(max-width:760px){
  body.theme-urick .ci-panel-head{display:block;}
  body.theme-urick .ci-panel-head .kpi-status-pill{margin-top:10px;}
  body.theme-urick .ci-command-panel{padding:16px;}
}


/* CI v19A closeout packet generator */
body.theme-urick .ci-closeout-packet-panel{
  border-color:rgba(255,217,87,.28);
  background:
    radial-gradient(circle at 9% 0%,rgba(255,217,87,.13),transparent 32%),
    radial-gradient(circle at 92% 16%,rgba(114,240,202,.10),transparent 30%),
    linear-gradient(135deg,rgba(6,20,30,.96),rgba(13,29,39,.94));
}
body.theme-urick .ci-closeout-empty{
  border:1px dashed rgba(255,217,87,.28);
  border-radius:22px;
  padding:18px;
  background:linear-gradient(135deg,rgba(0,0,0,.24),rgba(255,217,87,.055));
  color:rgba(255,246,214,.88);
}
body.theme-urick .ci-closeout-empty strong{display:block;color:#fff6d6;margin-bottom:6px;}
body.theme-urick .ci-closeout-empty span{display:block;line-height:1.6;}

body.theme-urick .ci-closeout-packet-preview{margin-top:16px;}
body.theme-urick .ci-closeout-packet{
  color:#fff6d6;
  border:1px solid rgba(255,217,87,.28);
  border-radius:24px;
  background:
    radial-gradient(circle at 92% 10%,rgba(255,217,87,.12),transparent 28%),
    linear-gradient(145deg,#07131f 0%,#101a22 58%,#1b2624 100%);
  box-shadow:0 22px 44px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.045);
  overflow:hidden;
}
body.theme-urick .ci-packet-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:start;
  padding:18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg,rgba(255,217,87,.11),rgba(114,240,202,.07)),
    rgba(0,0,0,.16);
}
body.theme-urick .ci-packet-toolbar h3{margin:2px 0 4px;color:#fff6d6;line-height:1.1;text-wrap:balance;}
body.theme-urick .ci-packet-toolbar p{margin:0;color:rgba(255,246,214,.86);line-height:1.55;}
body.theme-urick .ci-packet-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
  align-items:end;
}
body.theme-urick .ci-packet-actions label{
  display:grid;
  gap:5px;
  min-width:220px;
  color:#72f0ca;
  text-transform:uppercase;
  letter-spacing:.075em;
  font-size:.72rem;
  font-weight:1000;
}
body.theme-urick .ci-packet-actions select{
  min-height:42px;
  border-radius:999px;
  border:1px solid rgba(114,240,202,.28);
  background:linear-gradient(135deg,rgba(3,9,16,.90),rgba(15,32,39,.84));
  color:#fff6d6;
  padding:0 14px;
  font-weight:900;
}
body.theme-urick .ci-packet-banner{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:14px 18px 0;
}
body.theme-urick .ci-packet-banner>div{
  border:1px solid rgba(255,217,87,.18);
  border-radius:18px;
  padding:13px 14px;
  background:linear-gradient(135deg,rgba(0,0,0,.25),rgba(255,217,87,.055));
}
body.theme-urick .ci-packet-banner b{display:block;color:#ffe8a3;margin-bottom:4px;}
body.theme-urick .ci-packet-banner span{display:block;color:rgba(255,246,214,.86);line-height:1.45;}
body.theme-urick .ci-packet-section{
  margin:14px 18px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  padding:15px;
  background:linear-gradient(145deg,rgba(0,0,0,.23),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
body.theme-urick .ci-packet-section-head{
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom:12px;
}
body.theme-urick .ci-packet-section h4{margin:0;color:#fff6d6;font-size:1.05rem;line-height:1.15;text-wrap:balance;}
body.theme-urick .ci-packet-section-status{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border:1px solid rgba(114,240,202,.28);
  background:rgba(114,240,202,.10);
  color:#baf7e3;
  padding:5px 8px;
  font-size:.68rem;
  font-weight:1000;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}
body.theme-urick .ci-packet-section p,
body.theme-urick .ci-packet-section li,
body.theme-urick .ci-packet-muted,
body.theme-urick .ci-packet-note{
  color:rgba(255,246,214,.86);
  line-height:1.62;
}
body.theme-urick .ci-packet-note{
  margin:12px 0 0;
  border-left:3px solid rgba(114,240,202,.55);
  padding:9px 0 9px 12px;
  background:linear-gradient(90deg,rgba(114,240,202,.07),transparent);
  border-radius:0 12px 12px 0;
}
body.theme-urick .ci-packet-meta-grid,
body.theme-urick .ci-packet-field-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body.theme-urick .ci-packet-field{
  border:1px solid rgba(255,255,255,.09);
  border-radius:15px;
  padding:10px;
  background:rgba(0,0,0,.18);
}
body.theme-urick .ci-packet-field b{
  display:block;
  color:#72f0ca;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:.68rem;
  margin-bottom:5px;
}
body.theme-urick .ci-packet-field span{
  display:block;
  color:#fff6d6;
  line-height:1.42;
  word-break:break-word;
}
body.theme-urick .ci-packet-gate-table{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body.theme-urick .ci-packet-gate-table>div{
  border-radius:15px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(0,0,0,.19);
  padding:10px;
}
body.theme-urick .ci-packet-gate-table>div.is-complete{border-color:rgba(114,240,202,.28);background:linear-gradient(135deg,rgba(114,240,202,.08),rgba(0,0,0,.18));}
body.theme-urick .ci-packet-gate-table>div.is-open{border-color:rgba(255,217,87,.23);background:linear-gradient(135deg,rgba(255,217,87,.07),rgba(0,0,0,.18));}
body.theme-urick .ci-packet-gate-table b{display:block;color:#ffe8a3;margin-bottom:5px;}
body.theme-urick .ci-packet-gate-table span{display:block;color:rgba(255,246,214,.86);line-height:1.42;}
body.theme-urick .ci-packet-check-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
body.theme-urick .ci-packet-check-grid span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  padding:7px 10px;
  color:rgba(255,246,214,.86);
  background:rgba(0,0,0,.20);
  font-size:.78rem;
  font-weight:900;
}
body.theme-urick .ci-packet-check-grid .is-done{
  color:#baf7e3;
  border-color:rgba(114,240,202,.34);
  background:rgba(114,240,202,.10);
}
body.theme-urick .ci-packet-check-grid .is-open{
  color:#ffe8a3;
  border-color:rgba(255,217,87,.25);
  background:rgba(255,217,87,.08);
}
body.theme-urick .ci-packet-warning,
body.theme-urick .ci-packet-good{
  margin-top:12px;
  border-radius:16px;
  padding:11px 12px;
  line-height:1.55;
}
body.theme-urick .ci-packet-warning{
  border:1px solid rgba(255,217,87,.28);
  background:rgba(255,217,87,.08);
  color:#fff2bf;
}
body.theme-urick .ci-packet-good{
  border:1px solid rgba(114,240,202,.28);
  background:rgba(114,240,202,.08);
  color:#d9fff3;
}
body.theme-urick .ci-packet-list-block{
  border:1px solid rgba(255,255,255,.09);
  border-radius:15px;
  padding:12px;
  background:rgba(0,0,0,.18);
}
body.theme-urick .ci-packet-list-block b{display:block;color:#ffe8a3;margin-bottom:7px;}
body.theme-urick .ci-packet-list-block ul{margin:0;padding-left:18px;}
body.theme-urick .ci-packet-signoff-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.theme-urick .ci-packet-signoff-grid div{
  border:1px solid rgba(255,255,255,.10);
  border-radius:15px;
  padding:12px;
  background:rgba(0,0,0,.17);
}
body.theme-urick .ci-packet-signoff-grid b{display:block;color:#ffe8a3;margin-bottom:8px;}
body.theme-urick .ci-packet-signoff-grid span{display:block;color:rgba(255,246,214,.84);}
body.theme-urick .ci-packet-footer{
  margin:14px 18px 18px;
  border:1px solid rgba(255,217,87,.20);
  border-radius:18px;
  padding:13px 14px;
  background:linear-gradient(135deg,rgba(255,217,87,.08),rgba(114,240,202,.045));
}
body.theme-urick .ci-packet-footer strong{display:block;color:#ffe8a3;margin-bottom:4px;}
body.theme-urick .ci-packet-footer span{display:block;color:rgba(255,246,214,.84);line-height:1.5;}
body.theme-urick .ci-queue-card .button[data-ci-closeout-packet-open]{
  --button-accent:#ffd957;
  --button-depth:#3d3214;
}

@media(max-width:1180px){
  body.theme-urick .ci-packet-meta-grid,
  body.theme-urick .ci-packet-field-grid,
  body.theme-urick .ci-packet-gate-table{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-urick .ci-packet-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-urick .ci-packet-toolbar{grid-template-columns:1fr;}
  body.theme-urick .ci-packet-actions{justify-content:flex-start;}
}
@media(max-width:760px){
  body.theme-urick .ci-packet-banner,
  body.theme-urick .ci-packet-meta-grid,
  body.theme-urick .ci-packet-field-grid,
  body.theme-urick .ci-packet-gate-table,
  body.theme-urick .ci-packet-check-grid,
  body.theme-urick .ci-packet-signoff-grid{grid-template-columns:1fr;}
  body.theme-urick .ci-packet-section-head{display:block;}
  body.theme-urick .ci-packet-section-status{margin-top:8px;}
  body.theme-urick .ci-packet-actions{display:grid;grid-template-columns:1fr;width:100%;}
  body.theme-urick .ci-packet-actions label{min-width:0;}
  body.theme-urick .ci-packet-actions .button{width:100%;}
}

@media print{
  body.ci-packet-print-active{
    background:#fff !important;
    color:#111 !important;
  }
  body.ci-packet-print-active .site-header,
  body.ci-packet-print-active .footer,
  body.ci-packet-print-active .ci-command-rail,
  body.ci-packet-print-active .session-band,
  body.ci-packet-print-active .ci-command-panel:not(.ci-closeout-packet-panel){
    display:none !important;
  }
  body.ci-packet-print-active .section,
  body.ci-packet-print-active .wrap,
  body.ci-packet-print-active .dashboard-shell,
  body.ci-packet-print-active .main-shell,
  body.ci-packet-print-active .ci-command-panel,
  body.ci-packet-print-active .ci-closeout-packet-panel{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    box-shadow:none !important;
    border:0 !important;
  }
  body.ci-packet-print-active .ci-panel-head,
  body.ci-packet-print-active .ci-closeout-empty,
  body.ci-packet-print-active .ci-packet-actions,
  body.ci-packet-print-active [data-ci-packet-state]{
    display:none !important;
  }
  body.ci-packet-print-active .ci-closeout-packet-preview,
  body.ci-packet-print-active .ci-closeout-packet,
  body.ci-packet-print-active .ci-packet-section,
  body.ci-packet-print-active .ci-packet-field,
  body.ci-packet-print-active .ci-packet-gate-table>div,
  body.ci-packet-print-active .ci-packet-list-block,
  body.ci-packet-print-active .ci-packet-signoff-grid div,
  body.ci-packet-print-active .ci-packet-footer,
  body.ci-packet-print-active .ci-packet-banner>div{
    color:#111 !important;
    background:#fff !important;
    box-shadow:none !important;
    border-color:#b7b7b7 !important;
  }
  body.ci-packet-print-active .ci-packet-toolbar{
    background:#fff !important;
    border-bottom:2px solid #111 !important;
    padding:0 0 12px !important;
  }
  body.ci-packet-print-active .ci-packet-toolbar h3,
  body.ci-packet-print-active .ci-packet-section h4,
  body.ci-packet-print-active .ci-packet-field span,
  body.ci-packet-print-active .ci-packet-signoff-grid span,
  body.ci-packet-print-active .ci-packet-footer span,
  body.ci-packet-print-active .ci-packet-section p,
  body.ci-packet-print-active .ci-packet-section li{
    color:#111 !important;
  }
  body.ci-packet-print-active .ci-mini-eyebrow,
  body.ci-packet-print-active .ci-packet-field b,
  body.ci-packet-print-active .ci-packet-gate-table b,
  body.ci-packet-print-active .ci-packet-section-status,
  body.ci-packet-print-active .ci-packet-banner b,
  body.ci-packet-print-active .ci-packet-footer strong{
    color:#000 !important;
  }
  body.ci-packet-print-active .ci-packet-section{
    break-inside:avoid;
    margin:12px 0 !important;
    padding:12px !important;
  }
  body.ci-packet-print-active .ci-packet-banner,
  body.ci-packet-print-active .ci-packet-meta-grid,
  body.ci-packet-print-active .ci-packet-field-grid,
  body.ci-packet-print-active .ci-packet-gate-table{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.ci-packet-print-active .ci-packet-check-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* CI v19B packet controls + missing-field audit */
body.theme-urick .ci-packet-readiness{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px 16px;
  align-items:center;
  margin:14px 0;
  padding:14px;
  border-radius:20px;
  border:1px solid rgba(255,217,87,.22);
  background:linear-gradient(135deg,rgba(255,217,87,.08),rgba(114,240,202,.055)),rgba(0,0,0,.20);
  box-shadow:0 14px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-urick .ci-packet-readiness.is-ready{border-color:rgba(114,240,202,.38);background:linear-gradient(135deg,rgba(114,240,202,.12),rgba(255,217,87,.05)),rgba(0,0,0,.18);}
body.theme-urick .ci-packet-readiness.is-review{border-color:rgba(255,217,87,.34);}
body.theme-urick .ci-packet-readiness.is-gap{border-color:rgba(255,143,112,.32);background:linear-gradient(135deg,rgba(255,143,112,.10),rgba(255,217,87,.05)),rgba(0,0,0,.20);}
body.theme-urick .ci-packet-readiness-score{
  width:108px;
  height:108px;
  border-radius:50%;
  display:grid;
  place-items:center;
  text-align:center;
  border:1px solid rgba(255,217,87,.34);
  background:radial-gradient(circle at 34% 22%,rgba(255,255,255,.16),transparent 28%),linear-gradient(145deg,rgba(255,217,87,.18),rgba(0,0,0,.22));
  box-shadow:inset 0 0 0 8px rgba(255,255,255,.035),0 10px 24px rgba(0,0,0,.16);
}
body.theme-urick .ci-packet-readiness-score strong{display:block;color:#ffd957;font-size:1.8rem;line-height:1;font-weight:1000;}
body.theme-urick .ci-packet-readiness-score span{display:block;color:rgba(255,246,214,.82);font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin-top:4px;}
body.theme-urick .ci-packet-readiness-copy b{display:block;color:#fff6d6;font-size:1.05rem;margin-bottom:4px;}
body.theme-urick .ci-packet-readiness-copy span{display:block;color:rgba(255,246,214,.86);line-height:1.55;}
body.theme-urick .ci-packet-readiness-metrics{
  grid-column:2;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
body.theme-urick .ci-packet-readiness-metrics span{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:9px 10px;
  background:rgba(0,0,0,.20);
  color:rgba(255,246,214,.82);
  line-height:1.25;
}
body.theme-urick .ci-packet-readiness-metrics b{display:block;color:#72f0ca;font-size:1.1rem;line-height:1;margin-bottom:4px;}
body.theme-urick .ci-packet-missing-list{grid-column:1 / -1;border-top:1px solid rgba(255,255,255,.08);padding-top:12px;}
body.theme-urick .ci-packet-missing-list>b{display:block;color:#ffe8a3;margin-bottom:8px;}
body.theme-urick .ci-packet-missing-list>div{display:flex;flex-wrap:wrap;gap:7px;}
body.theme-urick .ci-packet-missing-list span,
body.theme-urick .ci-packet-check-grid span{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  font-size:.78rem;
  font-weight:900;
  line-height:1.2;
}
body.theme-urick .ci-packet-evidence-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 12px;
}
body.theme-urick .ci-packet-evidence-summary article{
  border:1px solid rgba(159,209,255,.20);
  border-radius:16px;
  padding:11px;
  background:linear-gradient(145deg,rgba(159,209,255,.08),rgba(0,0,0,.18));
}
body.theme-urick .ci-packet-evidence-summary strong{display:block;color:#9fd1ff;font-size:1.1rem;line-height:1.1;word-break:break-word;}
body.theme-urick .ci-packet-evidence-summary span{display:block;color:rgba(255,246,214,.82);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin-top:6px;line-height:1.25;}
body.theme-urick .kaizen-saved-row-wrap{
  display:grid;
  gap:8px;
  border:1px solid rgba(23,53,93,.08);
  border-radius:16px;
  padding:8px;
  background:linear-gradient(180deg,#ffffff,#f4f9fd);
}
body.theme-urick .kaizen-saved-row-wrap + .kaizen-saved-row-wrap{margin-top:8px;}
body.theme-urick .kaizen-saved-row-wrap .kaizen-saved-row{width:100%;}
body.theme-urick .ci-saved-packet-link{justify-self:start;min-height:36px;padding:0 13px;font-size:.78rem;}
body.theme-urick .ci-packet-mode--executive .ci-packet-section{break-inside:avoid;page-break-inside:avoid;}
body.theme-urick .ci-packet-mode--executive .ci-packet-section:nth-of-type(n+7){display:none;}
@media(max-width:900px){
  body.theme-urick .ci-packet-readiness{grid-template-columns:1fr;}
  body.theme-urick .ci-packet-readiness-score{width:92px;height:92px;}
  body.theme-urick .ci-packet-readiness-metrics{grid-column:auto;grid-template-columns:1fr;}
  body.theme-urick .ci-packet-evidence-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  body.theme-urick .ci-packet-readiness-score{width:100%;height:auto;border-radius:18px;padding:13px;}
  body.theme-urick .ci-packet-evidence-summary{grid-template-columns:1fr;}
  body.theme-urick .ci-saved-packet-link{width:100%;justify-self:stretch;}
}
@media print{
  body.ci-packet-print-active .ci-packet-readiness,
  body.ci-packet-print-active .ci-packet-evidence-summary{
    border:1px solid #d7e0ea !important;
    background:#ffffff !important;
    box-shadow:none !important;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  body.ci-packet-print-active .ci-packet-readiness-score{
    border:1px solid #a8b6c5 !important;
    background:#f8fbff !important;
    box-shadow:none !important;
  }
  body.ci-packet-print-active .ci-packet-readiness-score strong,
  body.ci-packet-print-active .ci-packet-readiness-metrics b,
  body.ci-packet-print-active .ci-packet-evidence-summary strong{
    color:#17355d !important;
  }
  body.ci-packet-print-active .ci-packet-readiness-copy b,
  body.ci-packet-print-active .ci-packet-missing-list>b,
  body.ci-packet-print-active .ci-packet-readiness-score span,
  body.ci-packet-print-active .ci-packet-readiness-copy span,
  body.ci-packet-print-active .ci-packet-readiness-metrics span,
  body.ci-packet-print-active .ci-packet-evidence-summary span{
    color:#17355d !important;
  }
  body.ci-packet-print-active .ci-packet-missing-list span,
  body.ci-packet-print-active .ci-packet-check-grid span{
    border:1px solid #c8d5e2 !important;
    background:#ffffff !important;
    color:#17355d !important;
  }
  body.ci-packet-print-active .ci-packet-mode--executive .ci-closeout-packet{
    font-size:10.5pt;
  }
  body.ci-packet-print-active .ci-packet-mode--executive .ci-packet-section{
    margin-top:8px !important;
    padding:10px !important;
  }
  body.ci-packet-print-active .ci-packet-mode--executive .ci-packet-readiness,
  body.ci-packet-print-active .ci-packet-mode--executive .ci-packet-banner{
    margin:8px 0 !important;
  }
}

/* CI v19c button contrast / color sweep
   Focus: make light / neutral action buttons read clearly, preserve discipline identity,
   and improve contrast across chips, packet controls, and KPI actions. */
body.theme-urick .ci-program-shell .button,
body.theme-urick .ci-discipline-page-shell .button,
body.theme-urick .ci-kaizen-shell .button,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button{
  text-shadow:0 1px 0 rgba(0,0,0,.16);
}
body.theme-urick .ci-program-shell .button:not(.secondary):not(.ghost),
body.theme-urick .ci-discipline-page-shell .button:not(.secondary):not(.ghost),
body.theme-urick .ci-kaizen-shell .button:not(.secondary):not(.ghost),
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button:not(.secondary):not(.ghost){
  color:color-mix(in srgb,var(--button-ink,#fff6d6) 96%,#ffffff);
  text-shadow:0 1px 0 rgba(0,0,0,.34), 0 0 14px color-mix(in srgb,var(--button-accent,#ffd957) 14%,transparent);
}
body.theme-urick .ci-program-shell .button.secondary,
body.theme-urick .ci-discipline-page-shell .button.secondary,
body.theme-urick .ci-kaizen-shell .button.secondary,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.secondary,
body.theme-urick .button.airon-button--light{
  color:color-mix(in srgb,var(--button-depth,#17355d) 94%,#09131d);
  border-color:color-mix(in srgb,var(--button-accent,#ffd957) 58%,rgba(83,62,19,.52));
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,.72), transparent 23%),
    radial-gradient(circle at 85% 22%, color-mix(in srgb,var(--button-accent,#ffd957) 18%,transparent), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,0) 42%),
    linear-gradient(180deg,
      color-mix(in srgb,var(--button-accent,#ffd957) 18%,#f6ecd0) 0%,
      color-mix(in srgb,var(--button-accent,#ffd957) 20%,#ddc48a) 58%,
      color-mix(in srgb,var(--button-accent,#ffd957) 34%,#ab7a2b) 100%),
    #cfb27a;
  box-shadow:
    0 14px 28px rgba(7,19,31,.18),
    inset 0 1px 0 rgba(255,255,255,.68),
    inset 0 -12px 20px color-mix(in srgb,var(--button-accent,#ffd957) 18%,rgba(77,52,8,.24)),
    0 0 0 1px rgba(255,255,255,.04);
  text-shadow:0 1px 0 rgba(255,255,255,.34);
}
body.theme-urick .ci-program-shell .button.secondary:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-discipline-page-shell .button.secondary:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-kaizen-shell .button.secondary:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.secondary:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .button.airon-button--light:hover:not(:disabled):not([aria-disabled="true"]){
  color:color-mix(in srgb,var(--button-depth,#17355d) 96%,#07131f);
  border-color:color-mix(in srgb,var(--button-accent,#ffd957) 74%,#ffffff);
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,.78), transparent 24%),
    radial-gradient(circle at 85% 22%, color-mix(in srgb,var(--button-accent,#ffd957) 22%,transparent), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,0) 44%),
    linear-gradient(180deg,
      color-mix(in srgb,var(--button-accent,#ffd957) 20%,#fbf2d5) 0%,
      color-mix(in srgb,var(--button-accent,#ffd957) 24%,#e0c683) 56%,
      color-mix(in srgb,var(--button-accent,#ffd957) 38%,#b07824) 100%),
    #d8bb7f;
  box-shadow:
    0 18px 34px rgba(7,19,31,.20),
    0 0 0 1px color-mix(in srgb,var(--button-accent,#ffd957) 20%,transparent),
    inset 0 1px 0 rgba(255,255,255,.74),
    inset 0 -12px 20px color-mix(in srgb,var(--button-accent,#ffd957) 20%,rgba(77,52,8,.26));
}
body.theme-urick .ci-program-shell .button.ghost,
body.theme-urick .ci-discipline-page-shell .button.ghost,
body.theme-urick .ci-kaizen-shell .button.ghost,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.ghost,
body.theme-urick .button.airon-button{
  color:color-mix(in srgb,var(--button-ink,#fff6d6) 92%,#e9fff8);
  border-color:color-mix(in srgb,var(--button-accent,#ffd957) 48%,rgba(255,255,255,.18));
  background:
    radial-gradient(circle at 16% 16%, color-mix(in srgb,var(--button-accent,#ffd957) 18%,transparent), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 34%),
    linear-gradient(135deg, color-mix(in srgb,var(--button-depth,#17355d) 78%,#06111d), color-mix(in srgb,var(--button-accent,#ffd957) 15%,#08131f));
  box-shadow:
    0 12px 24px rgba(7,19,31,.16),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -10px 18px rgba(0,0,0,.16);
  text-shadow:0 1px 0 rgba(0,0,0,.38);
}
body.theme-urick .ci-program-shell .button.ghost:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-discipline-page-shell .button.ghost:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-kaizen-shell .button.ghost:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button.ghost:hover:not(:disabled):not([aria-disabled="true"]),
body.theme-urick .button.airon-button:hover:not(:disabled):not([aria-disabled="true"]){
  color:#fffdf2;
  border-color:color-mix(in srgb,var(--button-accent,#ffd957) 76%,#ffffff);
}
body.theme-urick .kpi-action-link,
body.theme-urick .ci-filter-chip,
body.theme-urick .ci-browser-chip,
body.theme-urick .ci-notify-chip,
body.theme-urick .ci-chip-checks label,
body.theme-urick .ci-queue-chip-row span,
body.theme-urick .kpi-status-pill,
body.theme-urick .kpi-command-strip span{
  border:1px solid rgba(255,217,87,.24);
  background:
    radial-gradient(circle at 15% 15%, rgba(255,217,87,.09), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 30%),
    linear-gradient(135deg, rgba(8,19,31,.92), rgba(16,44,58,.90));
  color:#fff2bc;
  box-shadow:0 10px 18px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  text-shadow:0 1px 0 rgba(0,0,0,.34);
}
body.theme-urick .ci-browser-chip.warn,
body.theme-urick .ci-packet-warning,
body.theme-urick .ci-packet-missing-list span,
body.theme-urick .ci-packet-check-grid .is-open{
  border-color:rgba(255,217,87,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 32%),
    linear-gradient(135deg, rgba(73,53,14,.92), rgba(131,89,18,.78));
  color:#fff1bf;
}
body.theme-urick .ci-browser-chip.bad,
body.theme-urick .ci-packet-check-grid .is-gap,
body.theme-urick .ci-packet-check-grid .is-missing{
  border-color:rgba(255,146,120,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 32%),
    linear-gradient(135deg, rgba(78,22,18,.94), rgba(132,42,36,.82));
  color:#ffe3d9;
}
body.theme-urick .ci-packet-good,
body.theme-urick .ci-packet-check-grid .is-done{
  border-color:rgba(114,240,202,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 32%),
    linear-gradient(135deg, rgba(8,53,45,.94), rgba(24,117,93,.84));
  color:#e9fff7;
}
body.theme-urick .ci-packet-actions .button,
body.theme-urick .ci-packet-toolbar .button,
body.theme-urick .ci-packet-mode{
  --button-accent:#ffd957;
  --button-depth:#24485c;
}
body.theme-urick .ci-packet-actions select{
  border-color:rgba(255,217,87,.28);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 32%), rgba(7,19,31,.72);
  color:#fff6d6;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
body.theme-urick .ci-program-shell .button:focus-visible,
body.theme-urick .ci-discipline-page-shell .button:focus-visible,
body.theme-urick .ci-kaizen-shell .button:focus-visible,
body.theme-urick .ci-queue-card[class*="ci-card-discipline--"] .button:focus-visible,
body.theme-urick .button.airon-button:focus-visible,
body.theme-urick .button.airon-button--light:focus-visible,
body.theme-urick .kpi-action-link:focus-visible{
  outline:3px solid color-mix(in srgb,var(--button-accent,#ffd957) 58%,rgba(255,255,255,.5));
  outline-offset:3px;
}

/* CI v19d button breathing room audit
   Focus: add spacing between action controls, improve internal button padding,
   and reduce cramped layouts in toolbars, card actions, helper controls, packet controls, and KPI actions. */
body.theme-urick .ci-program-shell .button,
body.theme-urick .ci-discipline-page-shell .button,
body.theme-urick .ci-kaizen-shell .button,
body.theme-urick .kpi-command-shell .button,
body.theme-urick .ci-closeout-packet-panel .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 16px;
  line-height:1.12;
}
body.theme-urick .ci-program-shell .button.small,
body.theme-urick .ci-discipline-page-shell .button.small,
body.theme-urick .ci-kaizen-shell .button.small,
body.theme-urick .kpi-command-shell .button.small{
  min-height:36px;
  padding:8px 13px;
}
body.theme-urick .ci-discipline-event-workspace .button-row,
body.theme-urick .ci-step-helper-actions,
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button-row,
body.theme-urick .ci-program-shell .ci-queue-filter-actions,
body.theme-urick .ci-program-shell .ci-command-control-row,
body.theme-urick .ci-queue-filter-actions,
body.theme-urick .ci-closeout-actions,
body.theme-urick .ci-role-toolbar,
body.theme-urick .ci-case-actions,
body.theme-urick .ci-packet-actions,
body.theme-urick .card-actions,
body.theme-urick .ci-browser-actions,
body.theme-urick .ci-sample-seed-actions,
body.theme-urick .ci-queue-filter-actions,
body.theme-urick .ci-command-control-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 14px;
}
body.theme-urick .ci-step-helper-actions,
body.theme-urick .ci-closeout-actions,
body.theme-urick .ci-role-toolbar,
body.theme-urick .ci-packet-actions,
body.theme-urick .card-actions{
  margin-top:12px;
}
body.theme-urick .ci-panel-head,
body.theme-urick .kpi-source-card .kpi-source-top,
body.theme-urick .kpi-panel-card .kpi-source-top,
body.theme-urick .ci-packet-toolbar{
  row-gap:12px;
}
body.theme-urick .ci-browser-toolbar,
body.theme-urick .ci-packet-toolbar,
body.theme-urick .ci-program-shell .ci-queue-filter-card,
body.theme-urick .ci-program-shell .ci-sample-seed-panel,
body.theme-urick .ci-command-panel,
body.theme-urick .kpi-panel-card,
body.theme-urick .kpi-source-card{
  --panel-action-gap:14px;
}
body.theme-urick .ci-packet-actions{
  justify-content:flex-start;
  align-items:flex-end;
  padding-top:4px;
}
body.theme-urick .ci-packet-actions label{
  margin:0;
  padding-right:2px;
}
body.theme-urick .ci-packet-actions .button,
body.theme-urick .ci-browser-actions .button,
body.theme-urick .ci-closeout-actions .button,
body.theme-urick .ci-case-actions .button,
body.theme-urick .card-actions .button,
body.theme-urick .ci-step-helper-actions .button{
  margin:0;
}
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button,
body.theme-urick .ci-program-shell .ci-queue-filter-actions .button,
body.theme-urick .ci-program-shell [data-ci-program-reset],
body.theme-urick .ci-program-shell [data-ci-program-refresh],
body.theme-urick .ci-program-shell [data-ci-program-log],
body.theme-urick .ci-program-shell [data-ci-program-save]{
  padding-inline:18px;
}
body.theme-urick .ci-discipline-event-workspace .button-row .button,
body.theme-urick .ci-step-helper-actions .button{
  flex:0 1 auto;
}
body.theme-urick .kpi-panel-card .card-actions,
body.theme-urick .kpi-source-card .card-actions,
body.theme-urick .kpi-live-wire-card .card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  align-items:center;
  margin-top:16px;
}
body.theme-urick .kpi-panel-card .card-actions .button,
body.theme-urick .kpi-source-card .card-actions .button,
body.theme-urick .kpi-live-wire-card .card-actions .button{
  min-height:38px;
}
body.theme-urick .ci-chip-checks,
body.theme-urick .ci-browser-chip-row,
body.theme-urick .ci-queue-chip-row,
body.theme-urick .kpi-command-strip,
body.theme-urick .ci-command-tags{
  gap:10px 12px;
}
body.theme-urick .ci-filter-chip,
body.theme-urick .ci-browser-chip,
body.theme-urick .ci-notify-chip,
body.theme-urick .ci-chip-checks label,
body.theme-urick .ci-queue-chip-row span,
body.theme-urick .kpi-status-pill,
body.theme-urick .kpi-command-strip span{
  min-height:32px;
  padding:7px 12px;
}
body.theme-urick .ci-rollup-discipline-grid{
  gap:14px;
}
body.theme-urick .ci-rollup-discipline-chip{
  padding:12px 14px 12px 12px;
}
body.theme-urick .ci-rollup-discipline-chip strong{
  line-height:1.08;
}
body.theme-urick .ci-command-panel .alert-box .button,
body.theme-urick .ci-command-panel .notice-card .button{
  margin-top:10px;
}
@media (max-width: 980px){
  body.theme-urick .ci-packet-actions,
  body.theme-urick .ci-role-toolbar,
  body.theme-urick .ci-closeout-actions,
  body.theme-urick .ci-browser-actions,
  body.theme-urick .card-actions{
    gap:10px 12px;
  }
}
@media (max-width: 760px){
  body.theme-urick .ci-program-shell .button,
  body.theme-urick .ci-discipline-page-shell .button,
  body.theme-urick .ci-kaizen-shell .button,
  body.theme-urick .kpi-command-shell .button,
  body.theme-urick .ci-closeout-packet-panel .button{
    min-height:44px;
  }
  body.theme-urick .ci-discipline-event-workspace .button-row,
  body.theme-urick .ci-step-helper-actions,
  body.theme-urick .ci-program-shell .ci-sample-seed-actions .button-row,
  body.theme-urick .ci-program-shell .ci-queue-filter-actions,
  body.theme-urick .ci-program-shell .ci-command-control-row,
  body.theme-urick .ci-closeout-actions,
  body.theme-urick .ci-packet-actions,
  body.theme-urick .ci-role-toolbar,
  body.theme-urick .card-actions{
    gap:10px;
  }
}


/* CI v19E queue card action breathing room
   Fixes cramped event-card action buttons: Open event, KPI preview, Generate closeout packet. */
body.theme-urick .ci-queue-card .button-row,
body.theme-urick .ci-queue-card .ci-card-actions,
body.theme-urick .ci-queue-card [data-ci-queue-actions],
body.theme-urick .ci-queue-card [data-ci-event-actions]{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  margin-top:14px;
}

body.theme-urick .ci-queue-card .button-row .button,
body.theme-urick .ci-queue-card .ci-card-actions .button,
body.theme-urick .ci-queue-card [data-ci-queue-actions] .button,
body.theme-urick .ci-queue-card [data-ci-event-actions] .button,
body.theme-urick .ci-queue-card a.button,
body.theme-urick .ci-queue-card button.button{
  margin:0 8px 8px 0;
  min-height:38px;
  padding:9px 14px;
  line-height:1.14;
  white-space:normal;
}

body.theme-urick .ci-queue-card .button-row .button + .button,
body.theme-urick .ci-queue-card .ci-card-actions .button + .button,
body.theme-urick .ci-queue-card [data-ci-queue-actions] .button + .button,
body.theme-urick .ci-queue-card [data-ci-event-actions] .button + .button{
  margin-left:0;
}

body.theme-urick .ci-queue-card .button[data-ci-closeout-packet-open],
body.theme-urick .ci-queue-card [data-ci-closeout-packet-open]{
  display:inline-flex;
  width:auto;
  max-width:100%;
  margin-top:2px;
  margin-right:0;
}

body.theme-urick .ci-queue-card .button[data-ci-closeout-packet-open]{
  min-width:230px;
}

body.theme-urick .ci-queue-card .button:not([data-ci-closeout-packet-open]){
  min-width:118px;
}

/* Keep paired actions from kissing each other even if generated outside a wrapper. */
body.theme-urick .ci-queue-card a.button + a.button,
body.theme-urick .ci-queue-card a.button + button.button,
body.theme-urick .ci-queue-card button.button + a.button,
body.theme-urick .ci-queue-card button.button + button.button{
  margin-left:0;
}

/* Better vertical rhythm between status chips, impact note, and action buttons. */
body.theme-urick .ci-queue-card .ci-queue-chip-row{
  margin-bottom:14px;
}

body.theme-urick .ci-queue-card .ci-queue-chip-row + p,
body.theme-urick .ci-queue-card p + .button,
body.theme-urick .ci-queue-card p + .button-row,
body.theme-urick .ci-queue-card p + .ci-card-actions{
  margin-top:12px;
}

/* Slightly reduce pill collision on narrow cards by making buttons stack earlier. */
@media (max-width: 1120px){
  body.theme-urick .ci-queue-card .button[data-ci-closeout-packet-open]{
    min-width:210px;
  }
}

@media (max-width: 760px){
  body.theme-urick .ci-queue-card .button-row,
  body.theme-urick .ci-queue-card .ci-card-actions,
  body.theme-urick .ci-queue-card [data-ci-queue-actions],
  body.theme-urick .ci-queue-card [data-ci-event-actions]{
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
  }

  body.theme-urick .ci-queue-card .button-row .button,
  body.theme-urick .ci-queue-card .ci-card-actions .button,
  body.theme-urick .ci-queue-card [data-ci-queue-actions] .button,
  body.theme-urick .ci-queue-card [data-ci-event-actions] .button,
  body.theme-urick .ci-queue-card a.button,
  body.theme-urick .ci-queue-card button.button,
  body.theme-urick .ci-queue-card .button[data-ci-closeout-packet-open]{
    width:100%;
    min-width:0;
    margin:0;
    justify-content:center;
  }
}


/* CI v20 authority / visibility rules */
body.theme-urick .ci-authority-panel{
  border-color:rgba(255,217,87,.26);
  background:
    radial-gradient(circle at 8% 0%,rgba(255,217,87,.11),transparent 30%),
    radial-gradient(circle at 92% 10%,rgba(114,240,202,.10),transparent 28%),
    linear-gradient(145deg,#07131f 0%,#101a21 58%,#1c2724 100%);
}
body.theme-urick .ci-authority-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
body.theme-urick .ci-authority-summary-grid article{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:13px 14px;
  background:
    radial-gradient(circle at 88% 12%,rgba(114,240,202,.08),transparent 24%),
    linear-gradient(145deg,rgba(0,0,0,.26),rgba(255,255,255,.025));
  box-shadow:0 12px 24px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.04);
}
body.theme-urick .ci-authority-summary-grid b{
  display:block;
  color:#ffd957;
  font-size:clamp(1.2rem,2.4vw,1.75rem);
  line-height:1.05;
  margin-bottom:7px;
}
body.theme-urick .ci-authority-summary-grid span{
  display:block;
  color:#fff6d6;
  font-weight:900;
  line-height:1.25;
}
body.theme-urick .ci-authority-summary-grid small{
  display:block;
  color:rgba(255,246,214,.80);
  line-height:1.45;
  margin-top:6px;
}
body.theme-urick .ci-authority-current-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);
  gap:16px;
  border:1px solid rgba(114,240,202,.22);
  border-radius:22px;
  padding:16px;
  background:linear-gradient(135deg,rgba(114,240,202,.07),rgba(255,217,87,.05)),rgba(0,0,0,.18);
  margin:14px 0;
}
body.theme-urick .ci-authority-current-card h4,
body.theme-urick .ci-authority-gates h4{
  color:#fff6d6;
  margin:3px 0 6px;
  line-height:1.15;
}
body.theme-urick .ci-authority-current-card p,
body.theme-urick .ci-authority-gates p{
  color:rgba(255,246,214,.86);
  line-height:1.62;
  margin:0;
}
body.theme-urick .ci-authority-permission-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.theme-urick .ci-authority-permission-grid>div{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:12px;
  background:rgba(0,0,0,.22);
}
body.theme-urick .ci-authority-permission-grid b{
  display:block;
  color:#ffe8a3;
  margin-bottom:7px;
}
body.theme-urick .ci-authority-permission-grid span{
  display:block;
  color:rgba(255,246,214,.84);
  line-height:1.45;
  padding:6px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
body.theme-urick .ci-authority-matrix{
  display:grid;
  gap:8px;
  margin:14px 0;
}
body.theme-urick .ci-authority-matrix-head,
body.theme-urick .ci-authority-matrix>div:not(.ci-authority-matrix-head){
  display:grid;
  grid-template-columns:minmax(150px,.75fr) minmax(170px,.8fr) minmax(0,1.6fr);
  gap:12px;
  align-items:start;
  border-radius:16px;
}
body.theme-urick .ci-authority-matrix-head{
  padding:9px 12px;
  border:1px solid rgba(255,217,87,.24);
  background:rgba(255,217,87,.08);
}
body.theme-urick .ci-authority-matrix-head b{
  color:#ffe8a3;
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
body.theme-urick .ci-authority-matrix>div:not(.ci-authority-matrix-head){
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(145deg,rgba(0,0,0,.22),rgba(255,255,255,.025));
}
body.theme-urick .ci-authority-matrix span{
  color:#fff6d6;
  font-weight:1000;
  line-height:1.25;
}
body.theme-urick .ci-authority-matrix strong{
  color:#72f0ca;
  line-height:1.25;
}
body.theme-urick .ci-authority-matrix p{
  color:rgba(255,246,214,.84);
  line-height:1.48;
  margin:0;
}
body.theme-urick .ci-authority-gates{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);
  gap:16px;
  border:1px solid rgba(255,217,87,.20);
  border-radius:22px;
  padding:16px;
  background:linear-gradient(135deg,rgba(255,217,87,.07),rgba(114,240,202,.05)),rgba(0,0,0,.18);
  margin-top:14px;
}
body.theme-urick .ci-authority-gate-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.theme-urick .ci-authority-gate-grid span{
  display:block;
  min-height:70px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:11px;
  background:rgba(0,0,0,.22);
  color:rgba(255,246,214,.84);
  line-height:1.28;
}
body.theme-urick .ci-authority-gate-grid b{
  display:block;
  color:#ffd957;
  font-size:1.35rem;
  line-height:1;
  margin-bottom:6px;
}
body.theme-urick .ci-authority-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  margin:12px 0 14px;
}
body.theme-urick .ci-authority-chip{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,217,87,.24);
  background:linear-gradient(135deg,rgba(8,19,31,.94),rgba(16,44,58,.88));
  color:#fff2bc;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.04em;
  line-height:1.16;
  box-shadow:0 8px 16px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.05);
}
body.theme-urick .ci-authority-chip.is-good{
  border-color:rgba(114,240,202,.36);
  color:#e9fff7;
  background:linear-gradient(135deg,rgba(8,53,45,.94),rgba(24,117,93,.82));
}
body.theme-urick .ci-authority-chip.is-warn{
  border-color:rgba(255,217,87,.38);
  color:#fff1bf;
  background:linear-gradient(135deg,rgba(73,53,14,.94),rgba(131,89,18,.78));
}
body.theme-urick .ci-authority-chip.is-review{
  border-color:rgba(159,209,255,.36);
  color:#e4f3ff;
  background:linear-gradient(135deg,rgba(15,45,72,.94),rgba(36,83,116,.80));
}
body.theme-urick .ci-authority-chip.is-open{
  border-color:rgba(255,255,255,.16);
  color:rgba(255,246,214,.88);
  background:linear-gradient(135deg,rgba(9,24,33,.94),rgba(22,45,54,.86));
}
@media(max-width:1180px){
  body.theme-urick .ci-authority-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-urick .ci-authority-current-card,
  body.theme-urick .ci-authority-gates{grid-template-columns:1fr;}
}
@media(max-width:760px){
  body.theme-urick .ci-authority-summary-grid,
  body.theme-urick .ci-authority-permission-grid,
  body.theme-urick .ci-authority-gate-grid{grid-template-columns:1fr;}
  body.theme-urick .ci-authority-matrix-head{display:none;}
  body.theme-urick .ci-authority-matrix>div:not(.ci-authority-matrix-head){grid-template-columns:1fr;gap:7px;}
  body.theme-urick .ci-authority-chip-row{display:grid;grid-template-columns:1fr;}
  body.theme-urick .ci-authority-chip{justify-content:center;text-align:center;}
}

/* CI v20B button breathing room outlier pass
   Final spacing sweep for remaining cramped button groups and one-off action rows. */
body.theme-urick .ci-program-shell .button-row,
body.theme-urick .ci-discipline-page-shell .button-row,
body.theme-urick .ci-kaizen-shell .button-row,
body.theme-urick .ci-closeout-actions,
body.theme-urick .ci-packet-actions,
body.theme-urick .ci-browser-actions,
body.theme-urick .ci-role-toolbar,
body.theme-urick .card-actions,
body.theme-urick .table .doc-actions,
body.theme-urick .assignment-actions,
body.theme-urick .training-request-actions,
body.theme-urick .history-actions,
body.theme-urick .ci-case-actions,
body.theme-urick .kpi-panel-card .card-actions,
body.theme-urick .kpi-source-card .card-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 14px;
}

body.theme-urick .ci-program-shell .button-row > .button,
body.theme-urick .ci-discipline-page-shell .button-row > .button,
body.theme-urick .ci-kaizen-shell .button-row > .button,
body.theme-urick .ci-closeout-actions > .button,
body.theme-urick .ci-packet-actions > .button,
body.theme-urick .ci-browser-actions > .button,
body.theme-urick .ci-role-toolbar > .button,
body.theme-urick .card-actions > .button,
body.theme-urick .table .doc-actions > .button,
body.theme-urick .assignment-actions > .button,
body.theme-urick .training-request-actions > .button,
body.theme-urick .history-actions > .button,
body.theme-urick .ci-case-actions > .button,
body.theme-urick .kpi-panel-card .card-actions > .button,
body.theme-urick .kpi-source-card .card-actions > .button,
body.theme-urick .ci-program-shell .button-row > a.button,
body.theme-urick .ci-discipline-page-shell .button-row > a.button,
body.theme-urick .ci-kaizen-shell .button-row > a.button,
body.theme-urick .ci-closeout-actions > a.button,
body.theme-urick .ci-packet-actions > a.button,
body.theme-urick .ci-browser-actions > a.button,
body.theme-urick .ci-role-toolbar > a.button,
body.theme-urick .card-actions > a.button,
body.theme-urick .table .doc-actions > a.button,
body.theme-urick .assignment-actions > a.button,
body.theme-urick .training-request-actions > a.button,
body.theme-urick .history-actions > a.button,
body.theme-urick .ci-case-actions > a.button,
body.theme-urick .kpi-panel-card .card-actions > a.button,
body.theme-urick .kpi-source-card .card-actions > a.button{
  margin:0;
  min-height:40px;
  padding:9px 15px;
  line-height:1.16;
  white-space:normal;
}

/* When generators emit sibling buttons without a formal wrapper, keep them separated. */
body.theme-urick .ci-program-shell .button + .button,
body.theme-urick .ci-discipline-page-shell .button + .button,
body.theme-urick .ci-kaizen-shell .button + .button,
body.theme-urick .kpi-command-shell .button + .button{
  margin-left:0;
}

/* Add clear air between descriptive copy and the first action cluster. */
body.theme-urick .ci-program-shell p + .button-row,
body.theme-urick .ci-discipline-page-shell p + .button-row,
body.theme-urick .ci-kaizen-shell p + .button-row,
body.theme-urick .ci-program-shell .helper + .button-row,
body.theme-urick .ci-discipline-page-shell .helper + .button-row,
body.theme-urick .ci-kaizen-shell .helper + .button-row,
body.theme-urick .ci-closeout-packet-panel p + .ci-closeout-actions,
body.theme-urick .kpi-panel-card p + .card-actions,
body.theme-urick .kpi-source-card p + .card-actions,
body.theme-urick .table .helper + .doc-actions{
  margin-top:14px;
}

/* Small-button lanes still need breathing room without feeling oversized. */
body.theme-urick .ci-program-shell .button.small,
body.theme-urick .ci-discipline-page-shell .button.small,
body.theme-urick .ci-kaizen-shell .button.small,
body.theme-urick .kpi-command-shell .button.small,
body.theme-urick .table .doc-actions .button.small,
body.theme-urick .training-request-actions .button.small,
body.theme-urick .assignment-actions .button.small,
body.theme-urick .history-actions .button.small,
body.theme-urick .ci-case-actions .button.small{
  min-height:36px;
  padding:8px 13px;
}

/* Toolbars and control strips: prevent buttons from visually touching panel edges. */
body.theme-urick .ci-role-toolbar,
body.theme-urick .ci-browser-actions,
body.theme-urick .ci-closeout-actions,
body.theme-urick .ci-packet-actions,
body.theme-urick .kpi-panel-card .card-actions,
body.theme-urick .kpi-source-card .card-actions{
  margin-top:10px;
}

/* Dense bottom form rows on discipline pages get extra wrap comfort. */
body.theme-urick .ci-discipline-event-workspace .button-row,
body.theme-urick .ci-kaizen-shell .button-row,
body.theme-urick .ci-program-shell .ci-sample-seed-actions .button-row,
body.theme-urick .ci-program-shell .ci-queue-filter-actions,
body.theme-urick .ci-step-helper-actions{
  gap:12px 14px;
}

@media (max-width: 980px){
  body.theme-urick .ci-program-shell .button-row,
  body.theme-urick .ci-discipline-page-shell .button-row,
  body.theme-urick .ci-kaizen-shell .button-row,
  body.theme-urick .ci-closeout-actions,
  body.theme-urick .ci-packet-actions,
  body.theme-urick .ci-browser-actions,
  body.theme-urick .ci-role-toolbar,
  body.theme-urick .card-actions,
  body.theme-urick .table .doc-actions,
  body.theme-urick .assignment-actions,
  body.theme-urick .training-request-actions,
  body.theme-urick .history-actions,
  body.theme-urick .ci-case-actions,
  body.theme-urick .kpi-panel-card .card-actions,
  body.theme-urick .kpi-source-card .card-actions{
    gap:10px 12px;
  }
}

@media (max-width: 760px){
  body.theme-urick .ci-program-shell .button-row,
  body.theme-urick .ci-discipline-page-shell .button-row,
  body.theme-urick .ci-kaizen-shell .button-row,
  body.theme-urick .ci-closeout-actions,
  body.theme-urick .ci-packet-actions,
  body.theme-urick .ci-browser-actions,
  body.theme-urick .ci-role-toolbar,
  body.theme-urick .card-actions,
  body.theme-urick .table .doc-actions,
  body.theme-urick .assignment-actions,
  body.theme-urick .training-request-actions,
  body.theme-urick .history-actions,
  body.theme-urick .ci-case-actions,
  body.theme-urick .kpi-panel-card .card-actions,
  body.theme-urick .kpi-source-card .card-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
  }

  body.theme-urick .ci-program-shell .button-row > .button,
  body.theme-urick .ci-discipline-page-shell .button-row > .button,
  body.theme-urick .ci-kaizen-shell .button-row > .button,
  body.theme-urick .ci-closeout-actions > .button,
  body.theme-urick .ci-packet-actions > .button,
  body.theme-urick .ci-browser-actions > .button,
  body.theme-urick .ci-role-toolbar > .button,
  body.theme-urick .card-actions > .button,
  body.theme-urick .table .doc-actions > .button,
  body.theme-urick .assignment-actions > .button,
  body.theme-urick .training-request-actions > .button,
  body.theme-urick .history-actions > .button,
  body.theme-urick .ci-case-actions > .button,
  body.theme-urick .kpi-panel-card .card-actions > .button,
  body.theme-urick .kpi-source-card .card-actions > .button,
  body.theme-urick .ci-program-shell .button-row > a.button,
  body.theme-urick .ci-discipline-page-shell .button-row > a.button,
  body.theme-urick .ci-kaizen-shell .button-row > a.button,
  body.theme-urick .ci-closeout-actions > a.button,
  body.theme-urick .ci-packet-actions > a.button,
  body.theme-urick .ci-browser-actions > a.button,
  body.theme-urick .ci-role-toolbar > a.button,
  body.theme-urick .card-actions > a.button,
  body.theme-urick .table .doc-actions > a.button,
  body.theme-urick .assignment-actions > a.button,
  body.theme-urick .training-request-actions > a.button,
  body.theme-urick .history-actions > a.button,
  body.theme-urick .ci-case-actions > a.button,
  body.theme-urick .kpi-panel-card .card-actions > a.button,
  body.theme-urick .kpi-source-card .card-actions > a.button{
    width:100%;
  }
}


/* CI v21 Supabase readiness / data model map */
body.theme-urick .ci-supabase-readiness-panel{
  border-color:rgba(114,240,202,.30);
  background:
    radial-gradient(circle at 12% 0%,rgba(114,240,202,.12),transparent 28%),
    radial-gradient(circle at 88% 12%,rgba(255,217,87,.12),transparent 26%),
    linear-gradient(145deg,#07131f 0%,#101c24 58%,#1d2a25 100%);
}

body.theme-urick .ci-truth-chain{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:9px;
  margin:14px 0 16px;
}

body.theme-urick .ci-truth-chain span{
  position:relative;
  min-height:42px;
  display:grid;
  place-items:center;
  text-align:center;
  border-radius:999px;
  border:1px solid rgba(255,217,87,.28);
  background:
    radial-gradient(circle at 18% 18%,rgba(255,217,87,.16),transparent 28%),
    linear-gradient(135deg,rgba(7,19,31,.92),rgba(18,44,49,.84));
  color:#fff6d6;
  font-size:.76rem;
  font-weight:1000;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 10px 20px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.05);
}

body.theme-urick .ci-truth-chain span:not(:last-child)::after{
  content:"";
  position:absolute;
  right:-9px;
  width:9px;
  height:2px;
  background:linear-gradient(90deg,rgba(255,217,87,.42),rgba(114,240,202,.42));
}

body.theme-urick .ci-local-permanent-grid,
body.theme-urick .ci-supabase-governance-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}

body.theme-urick .ci-local-permanent-grid article,
body.theme-urick .ci-rls-note{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:14px;
  background:
    radial-gradient(circle at 88% 12%,rgba(114,240,202,.08),transparent 28%),
    rgba(0,0,0,.20);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

body.theme-urick .ci-local-permanent-grid h4,
body.theme-urick .ci-rls-note h4{
  margin:0 0 7px;
  color:#ffe8a3;
  font-size:1rem;
}

body.theme-urick .ci-local-permanent-grid p,
body.theme-urick .ci-local-permanent-grid li,
body.theme-urick .ci-rls-note p{
  color:rgba(255,246,214,.86);
  line-height:1.58;
}

body.theme-urick .ci-local-permanent-grid ul{
  margin:9px 0 0;
  padding-left:18px;
}

body.theme-urick .ci-data-model-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:16px 0;
}

body.theme-urick .ci-data-model-grid article{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(114,240,202,.20);
  border-radius:18px;
  padding:14px 14px 14px 16px;
  background:
    radial-gradient(circle at 90% 12%,rgba(114,240,202,.10),transparent 30%),
    linear-gradient(145deg,rgba(0,0,0,.24),rgba(255,255,255,.02));
  box-shadow:0 12px 24px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.04);
}

body.theme-urick .ci-data-model-grid article::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#72f0ca,#ffd957);
}

body.theme-urick .ci-data-model-grid b{
  display:block;
  color:#72f0ca;
  font-size:.88rem;
  letter-spacing:.04em;
  margin-bottom:6px;
}

body.theme-urick .ci-data-model-grid span{
  display:block;
  color:rgba(255,246,214,.84);
  line-height:1.48;
}

body.theme-urick .ci-migration-stage-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

body.theme-urick .ci-migration-stage-grid article{
  border:1px solid rgba(255,217,87,.22);
  border-radius:18px;
  padding:12px;
  background:linear-gradient(145deg,rgba(255,217,87,.06),rgba(0,0,0,.20));
}

body.theme-urick .ci-migration-stage-grid strong{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  color:#07131f;
  background:linear-gradient(135deg,#ffd957,#fff2ad);
  margin-bottom:8px;
  font-weight:1000;
}

body.theme-urick .ci-migration-stage-grid b{
  display:block;
  color:#fff6d6;
  line-height:1.18;
  margin-bottom:6px;
}

body.theme-urick .ci-migration-stage-grid span{
  display:block;
  color:rgba(255,246,214,.80);
  line-height:1.42;
  font-size:.82rem;
}

@media(max-width:1180px){
  body.theme-urick .ci-truth-chain{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.theme-urick .ci-truth-chain span::after{display:none;}
  body.theme-urick .ci-data-model-grid,
  body.theme-urick .ci-local-permanent-grid,
  body.theme-urick .ci-supabase-governance-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.theme-urick .ci-migration-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:760px){
  body.theme-urick .ci-truth-chain,
  body.theme-urick .ci-data-model-grid,
  body.theme-urick .ci-local-permanent-grid,
  body.theme-urick .ci-supabase-governance-grid,
  body.theme-urick .ci-migration-stage-grid{grid-template-columns:1fr;}
}


/* CI v21B internal-only Supabase planning visibility
   Supabase readiness is not customer operating content. Hidden by default. */
body.theme-urick .ci-supabase-readiness-panel[hidden],
body.theme-urick .ci-supabase-readiness-panel:not(.is-internal-visible){
  display:none !important;
}
body.theme-urick .ci-supabase-readiness-panel.is-internal-visible{
  display:block;
}
body.theme-urick .ci-supabase-readiness-panel::before{
  content:"INTERNAL PLANNING LAYER — NOT CUSTOMER OPERATING CONTENT";
  display:inline-flex;
  align-items:center;
  min-height:32px;
  margin:0 0 14px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,143,112,.36);
  background:linear-gradient(135deg,rgba(94,38,24,.94),rgba(31,18,12,.82));
  color:#ffe3d9;
  font-size:.72rem;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 10px 20px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
}


/* CI v21C customer-facing cleanup pass */
body.theme-urick [data-ci-internal-only][hidden],
body.theme-urick [data-ci-internal-planning][hidden]{
  display:none !important;
}
body.theme-urick [data-ci-internal-only].is-internal-visible{
  position:relative;
  border-color:rgba(255,217,87,.36);
}
body.theme-urick [data-ci-internal-only].is-internal-visible::before{
  content:"INTERNAL TOOLING — HIDDEN FROM CUSTOMER VIEW";
  display:inline-flex;
  align-items:center;
  margin-bottom:10px;
  border-radius:999px;
  border:1px solid rgba(255,217,87,.34);
  background:rgba(255,217,87,.10);
  color:#ffe8a3;
  padding:6px 10px;
  font-size:.68rem;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.theme-urick .ci-authority-panel .helper,
body.theme-urick .ci-closeout-packet-panel p,
body.theme-urick .ci-evidence-command-panel p,
body.theme-urick .ci-kpi-operational-panel p{
  color:rgba(255,246,214,.86);
}


/* SOP Builder preview */
.sop-builder-shell .lead{font-size:1.04rem;line-height:1.72;color:#405a78;max-width:86ch}
.sop-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:1rem;margin:1.2rem 0}
.sop-builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.sop-builder-card{padding:1.2rem;border-radius:24px;background:#fff;border:1px solid rgba(17,40,71,.10);box-shadow:var(--shadow-sm)}
.sop-builder-card h2{margin:.15rem 0 .8rem;color:var(--heading)}
.sop-builder-card--gold{border-top:5px solid var(--accent-3)}
.sop-builder-card--wide{margin-top:1rem}
.sop-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.sop-form-grid label{display:grid;gap:.35rem;color:#31506f;font-weight:800;font-size:.9rem}
.sop-form-grid input,.sop-form-grid select,.sop-form-grid textarea{width:100%;border:1px solid rgba(17,40,71,.14);border-radius:14px;padding:.75rem .85rem;background:#f7f9fc;color:#13243b;font:inherit}
.sop-form-grid textarea{min-height:110px;resize:vertical}
.sop-form-grid .span-2{grid-column:1/-1}
.sop-status-stack{display:grid;gap:.7rem}
.sop-status-stack div{padding:.85rem;border-radius:16px;background:linear-gradient(180deg,#f8fafc,#eef4fa);border:1px solid rgba(17,40,71,.09)}
.sop-status-stack strong{display:block;color:#0f3561}
.sop-status-stack span{display:block;color:#5c6f83;margin-top:.2rem}
.sop-step-list{display:grid;gap:.7rem;margin:0;padding:0;list-style:none}
.sop-step-list li{display:grid;grid-template-columns:110px 1fr;gap:.7rem;padding:.8rem;border-radius:16px;background:#f6f9fc;border:1px solid rgba(17,40,71,.08)}
.sop-step-list strong{color:#0f3561}
.sop-chip-grid{display:flex;flex-wrap:wrap;gap:.55rem;margin:.75rem 0 1rem}
.sop-chip-grid span{border-radius:999px;padding:.45rem .7rem;background:rgba(31,95,158,.10);color:#173862;font-weight:800;font-size:.86rem}
.sop-dropzone{display:flex;align-items:center;justify-content:center;min-height:130px;text-align:center;border:2px dashed rgba(31,95,158,.28);border-radius:20px;background:rgba(31,95,158,.055);color:#31506f;font-weight:800;padding:1rem}
.sop-feed-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.sop-feed-list a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;background:linear-gradient(180deg,#1f5f9e,#173862);color:#fff;font-weight:900}
.nav-link--sop-builder{background:rgba(214,170,70,.14)!important;color:#7c5a14!important;border-color:rgba(214,170,70,.22)!important}
.nav-group-item.menu-item--sop-builder{font-weight:900}
@media(max-width:900px){.sop-hero-grid,.sop-builder-grid{grid-template-columns:1fr}.sop-form-grid{grid-template-columns:1fr}.sop-step-list li{grid-template-columns:1fr}.sop-feed-list{grid-template-columns:1fr}}


/* Portal lander simplification + public workspace polish */
.portal-hub--simplified {
  background:
    radial-gradient(circle at 8% 4%, rgba(31, 95, 158, .16), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(214, 170, 70, .18), transparent 24%),
    radial-gradient(circle at 78% 72%, rgba(139, 42, 40, .08), transparent 30%),
    linear-gradient(180deg, #f7f9fc 0%, #edf2f7 48%, #f9fbfe 100%);
}
.portal-hub--simplified .site-header {
  background: rgba(255, 255, 255, .93);
}
.portal-hub-hero {
  padding-top: clamp(42px, 7vw, 86px);
}
.portal-hub-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: stretch;
  padding: clamp(26px, 5vw, 46px);
  border-radius: 34px;
  border: 1px solid rgba(17, 40, 71, .10);
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,249,252,.88)),
    radial-gradient(circle at 0% 0%, rgba(31,95,158,.10), transparent 32%);
  box-shadow: 0 24px 64px rgba(10, 23, 43, .12);
  position: relative;
  overflow: hidden;
}
.portal-hub-shell::after {
  content: "";
  position: absolute;
  inset: auto -80px -140px auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214,170,70,.24), transparent 66%);
  pointer-events: none;
}
.portal-hub-copy {
  position: relative;
  z-index: 1;
}
.portal-hub-copy h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: .92;
  letter-spacing: -.07em;
}
.portal-hub-copy .lead {
  max-width: 820px;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
}
.portal-hub-copy .copy {
  max-width: 860px;
}
.portal-hub-panel {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: 28px;
  color: #f8fbff;
  background:
    linear-gradient(145deg, rgba(15,33,56,.98), rgba(31,95,158,.88)),
    radial-gradient(circle at 0% 0%, rgba(214,170,70,.30), transparent 38%);
  box-shadow: 0 18px 42px rgba(15,33,56,.18);
}
.portal-hub-panel strong {
  font-size: 1.55rem;
  line-height: 1.05;
}
.portal-hub-panel span {
  color: rgba(248,251,255,.82);
  line-height: 1.55;
}
.portal-hub-notice {
  border: 1px solid rgba(31,95,158,.16);
  background: rgba(31,95,158,.08);
}
.workspace-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
.selector-card--preview {
  background:
    linear-gradient(180deg, #ffffff, #f8fafc),
    radial-gradient(circle at 0% 0%, rgba(31,95,158,.12), transparent 40%);
}
.selector-card--preview .pill {
  background: rgba(31,95,158,.10);
  color: #1d548c;
}
.selector-card--preview .button.primary {
  background: linear-gradient(180deg, #1f5f9e, #173862);
}
.selector-brand--text {
  align-items: center;
}
.selector-mark {
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  font-weight: 950;
  letter-spacing: -.06em;
  font-size: 1.45rem;
  background: linear-gradient(145deg, #173862, #1f5f9e);
  box-shadow: 0 14px 28px rgba(31,95,158,.20);
}
.portal-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.portal-help-grid .link-card {
  min-height: 100%;
}
.portal-help-grid .button {
  margin-top: 8px;
}
@media (max-width: 1080px) {
  .workspace-grid--three,
  .portal-help-grid {
    grid-template-columns: 1fr;
  }
  .portal-hub-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .portal-hub-shell {
    padding: 24px 18px;
    border-radius: 26px;
  }
  .portal-hub-copy h1 {
    letter-spacing: -.045em;
  }
  .portal-hub-panel {
    padding: 20px;
  }
  .selector-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.18rem;
  }
}


/* Public workspace ID gate */
.workspace-gate {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(31, 95, 158, .14);
  background: linear-gradient(180deg, rgba(31,95,158,.055), rgba(255,255,255,.78));
}
.workspace-gate h2 { margin: 0 0 4px; font-size: 1.35rem; line-height: 1.08; }
.workspace-gate p { margin: 0 0 8px; color: var(--muted); line-height: 1.55; }
.workspace-gate label { color: #17355d; font-weight: 900; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }
.workspace-gate-row { display: flex; gap: 10px; align-items: stretch; }
.workspace-gate input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(17, 40, 71, .16);
  background: #fff;
  color: var(--text);
  padding: 0 16px;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.workspace-gate input:focus { outline: 3px solid rgba(31,95,158,.16); border-color: rgba(31,95,158,.48); }
.workspace-gate-status { min-height: 1.2em; color: var(--muted); font-weight: 800; font-size: .9rem; line-height: 1.35; }
.workspace-gate-status.is-bad { color: #9c2f25; }
.workspace-gate-status.is-good { color: #146b48; }
.selector-actions--gate { margin-top: 12px; }
.portal-gateway-page .section { padding-top: clamp(40px, 7vw, 86px); }
.portal-gateway-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 22px;
  align-items: start;
}
.gateway-card {
  padding: clamp(20px, 3vw, 30px);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(17, 40, 71, .10);
  box-shadow: var(--shadow-sm);
}
.gateway-card--primary { grid-row: span 2; box-shadow: var(--shadow); }
.gateway-card h1 {
  margin: 8px 0 14px;
  color: var(--heading);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.06em;
}
.gateway-card h2 { margin: 0 0 10px; color: var(--heading); }
.gateway-card .lead { color: #2e4a68; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.62; }
.workspace-gate--large { margin-top: 24px; padding: 20px; }
.gateway-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
@media (max-width: 940px) {
  .portal-gateway-grid,
  .gateway-choice-grid {
    grid-template-columns: 1fr;
  }
  .gateway-card--primary {
    grid-row: auto;
  }
}
@media (max-width: 620px) {
  .workspace-gate-row {
    flex-direction: column;
  }
  .workspace-gate-row .button {
    width: 100%;
  }
}
