:root {
  --ink-950: #14212b;
  --ink-700: #40515d;
  --ink-500: #71808a;
  --paper-050: #fbfcfa;
  --paper-100: #f3f6f3;
  --line-200: #dbe4e0;
  --sky-500: #239ee3;
  --sky-100: #e4f4fc;
  --mint-500: #2fa77a;
  --mint-100: #e4f5ee;
  --coral-500: #d9685d;
  --coral-100: #fbe9e6;
  --surface-0: #ffffff;
  --surface-1: rgba(255, 255, 255, .65);
}

html[data-theme='dark'] {
  --ink-950: #edf4f5;
  --ink-700: #bdcbd0;
  --ink-500: #8da1a8;
  --paper-050: #10181d;
  --paper-100: #18242b;
  --line-200: #30414a;
  --sky-100: #173b50;
  --mint-100: #16382f;
  --coral-100: #452824;
  --surface-0: #202d35;
  --surface-1: rgba(255, 255, 255, .06);
  color-scheme: dark;
}

html[data-theme='dark'] .nav-icon,
html[data-theme='dark'] .nav-icon i,
@media (prefers-color-scheme: dark) {
  html:not([data-theme='light']) {
    --ink-950: #edf4f5;
    --ink-700: #bdcbd0;
    --ink-500: #8da1a8;
    --paper-050: #10181d;
    --paper-100: #18242b;
    --line-200: #30414a;
    --sky-100: #173b50;
    --mint-100: #16382f;
    --coral-100: #452824;
    --surface-0: #202d35;
    --surface-1: rgba(255, 255, 255, .06);
    color-scheme: dark;
  }
}

html[data-theme='dark'] .nav-icon,
html[data-theme='dark'] .nav-icon i,
html[data-theme='dark'] .nav-icon img {
  color: #eff4f5;
  filter: brightness(0) invert(0.96);
}

html[data-theme='dark'] .nav-icon img {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme='light']) .nav-icon,
  html:not([data-theme='light']) .nav-icon i,
  html:not([data-theme='light']) .nav-icon img {
    color: #eff4f5;
    filter: brightness(0) invert(0.96);
  }

  html:not([data-theme='light']) .nav-icon img {
    opacity: 1;
  }
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-sans/nunito-sans-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-sans/nunito-sans-bold.woff2') format('woff2');
}

* { box-sizing: border-box; }

body > .d-flex { display: flex; flex: 1 1 auto; min-height: 0; }
.flex-grow-1 { flex: 1 1 auto; }

html { background: var(--paper-050); }

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink-950);
  background: var(--paper-050);
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.55;
}

a { color: var(--sky-500); text-underline-offset: 3px; }
a:hover { color: var(--ink-950); }

:focus-visible {
  outline: 3px solid rgba(35, 158, 227, .45);
  outline-offset: 2px;
}

.app-main {
  min-width: 0;
  padding: 32px clamp(20px, 4vw, 64px) 56px !important;
}

.workspace { width: min(1180px, 100%); margin: 0 auto; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line-200);
  color: var(--ink-500);
  background: var(--paper-100);
  font-size: .8rem;
}

.site-footer span:first-child { color: var(--ink-950); font-weight: 700; }
.site-footer a { color: var(--ink-700); }

.markdown-content {
  width: 100%;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line-200);
  border-radius: 8px;
  background: var(--surface-0);
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
  color: var(--ink-950);
  letter-spacing: -.035em;
  line-height: 1.15;
}

.markdown-content h1 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.25rem); }
.markdown-content h2 { margin: 40px 0 12px; font-size: 1.35rem; }
.markdown-content h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.markdown-content p,
.markdown-content ul,
.markdown-content ol { max-width: 72ch; color: var(--ink-700); }
.markdown-content li + li { margin-top: 8px; }
.markdown-content blockquote { padding: 12px 18px; margin: 24px 0; border-left: 4px solid var(--sky-500); color: var(--ink-700); background: var(--sky-100); }
.markdown-content hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line-200); }
.markdown-content code { padding: 2px 5px; border-radius: 4px; color: var(--ink-950); background: var(--paper-100); font-size: .9em; }
.markdown-content pre { overflow-x: auto; padding: 16px; border-radius: 6px; color: var(--paper-050); background: var(--ink-950); }
.markdown-content pre code { padding: 0; color: inherit; background: transparent; }

.breadcrumbs {
  padding: 0 !important;
  margin-bottom: 28px !important;
  color: var(--ink-500);
  font-size: .8rem;
  letter-spacing: .02em;
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: 8px; color: var(--line-200); content: '/'; }
.breadcrumbs li[aria-current='page'] { color: var(--ink-700); font-weight: 700; }

.callout {
  padding: 24px;
  margin: 20px 0;
  border: 1px solid var(--line-200);
  border-left: 4px solid var(--ink-500);
  border-radius: 8px;
  background: var(--surface-0);
}

.callout h1,
.callout h4 { margin: 0 0 8px; color: var(--ink-950); font-weight: 700; }
.callout h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; }
.callout h4 { font-size: 1.05rem; }
.callout p:last-child { margin-bottom: 0; }

.callout-content { border-left-color: var(--sky-500); }
.callout-content > p,
.callout-content > strong { color: var(--ink-700); }
.callout-resources { border-left-color: var(--mint-500); background: var(--mint-100); }
.callout-donate { border-left-color: var(--sky-500); background: var(--sky-100); }
.callout-disclaimer { border-left-color: var(--coral-500); background: var(--coral-100); color: var(--ink-700); font-size: .9rem; }
.callout-disclaimer h4 { color: var(--ink-950); }
.notice-warning { padding: 10px 12px; margin: 16px 0 0; border: 1px solid rgba(217, 104, 93, .3); color: var(--ink-950); background: transparent; font-size: .9rem; }

.compact-callout { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 16px 20px; }
.compact-callout h4 { width: 100%; margin-bottom: 0; }

.list-group { border-radius: 6px; }
.list-group-item { border-color: var(--line-200); background: var(--surface-1); }

.workspace-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  gap: 32px;
  padding: 32px;
  margin: 8px 0 28px;
  overflow: hidden;
  border: 1px solid var(--line-200);
  border-left: 4px solid var(--sky-500);
  border-radius: 8px;
  background: var(--surface-0);
}

.workspace-intro::after {
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--sky-100);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.workspace-intro-main,
.workspace-intro-notes { position: relative; z-index: 1; }
.workspace-intro-home .workspace-title { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.workspace-kicker { margin-bottom: 8px; color: var(--sky-500); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.workspace-title { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; line-height: 1; }
.workspace-copy { max-width: 680px; margin: 14px 0 0; color: var(--ink-700); font-size: 1.05rem; }
.status-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink-500); font-size: .82rem; font-variant-numeric: tabular-nums; }
.status-line::before { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-500); content: ''; }
.workspace-intro-notes { display: grid; align-content: end; gap: 10px; }
.intro-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line-200); color: var(--ink-700); }
.intro-note svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--sky-500); }
.intro-note p { margin: 0; font-size: .88rem; }

.update-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 520px;
  padding: 20px;
  margin: 8px 0 28px;
  border: 1px solid var(--line-200);
  border-left: 4px solid var(--mint-500);
  border-radius: 8px;
  background: var(--mint-100);
}

.update-card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--mint-500);
  background: var(--surface-0);
}

.update-card-icon svg { width: 21px; height: 21px; }
.update-card .workspace-kicker { margin-bottom: 4px; color: var(--ink-700); }
.update-card time { color: var(--ink-950); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.update-card p { margin: 4px 0 0; color: var(--ink-700); font-size: .85rem; }

.stats-card {
  padding: 16px;
  margin: 8px 0 28px;
  border: 1px solid var(--line-200);
  border-left: 4px solid var(--sky-500);
  border-radius: 8px;
  background: var(--surface-0);
}

.stats-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.stats-card h2 { margin: 0; color: var(--ink-950); font-size: 1.1rem; letter-spacing: -.025em; }
.stats-card .workspace-kicker { margin-bottom: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 14px 0 0; }
.stats-grid div { padding: 10px; border: 1px solid var(--line-200); border-radius: 6px; background: var(--paper-100); }
.stats-grid dt { color: var(--ink-500); font-size: .78rem; }
.stats-grid dd { margin: 2px 0 0; color: var(--ink-950); font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.provider-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.provider-stats-grid .stats-card { margin: 0; }
.stats-grid-single { grid-template-columns: minmax(0, 1fr); }
.provider-stats-grid .stats-card { content-visibility: auto; contain-intrinsic-size: 240px; }

.provider-aws { --provider-color: #e09a2e; }
.provider-cloudflare { --provider-color: #eec438; }
.provider-gcp { --provider-color: #578357; }
.provider-oci { --provider-color: #be4849; }
.provider-azure { --provider-color: #75c5ef; }
.provider-m365 { --provider-color: #3e44d7; }
html[data-theme='dark'] .provider-m365,
html:not([data-theme='light']) .provider-m365 { --provider-color: #6d76ff; }
.provider-stats-grid .stats-card { border-left-color: var(--provider-color); }
.provider-stats-grid .stats-card .workspace-kicker,
.provider-stats-grid .stats-card h2,
.provider-stats-grid .stats-card dd { color: var(--provider-color); }
.provider-stats-grid .stats-card .button-secondary { border-color: var(--provider-color); color: var(--provider-color); }
.provider-stats-grid .stats-card .button-secondary:hover { color: var(--ink-950); background: var(--provider-color); }
.provider-stats-grid .provider-aws { background: var(--surface-0); }
.provider-stats-grid .provider-aws .stats-grid div { border-color: rgba(224, 154, 46, .35); background: rgba(224, 154, 46, .08); }
.provider-stats-grid .provider-aws .stats-grid dt { color: rgba(224, 154, 46, .82); }

.theme-switcher {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 30;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-200);
  border-radius: 7px;
  background: var(--surface-0);
  box-shadow: 0 4px 14px rgba(20, 33, 43, .12);
}

.theme-switcher button {
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  color: var(--ink-500);
  background: transparent;
  font: inherit;
  font-size: .72rem;
  cursor: pointer;
}

.theme-switcher button[aria-pressed='true'] { color: var(--ink-950); background: var(--paper-100); font-weight: 700; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 24px;
  /* color: var(--ink-950); */
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

/* .brand i { color: var(--sky-100); font-size: 1.35rem; } */
.brand-mark { width: 24px; height: 24px; padding: 4px; border-radius: 6px; color: #fff; background: var(--sky-500); stroke-width: 2.5; }
.site-nav { display: flex; flex-direction: column; gap: 4px; padding: 0; margin: 0; list-style: none; }
.nav-section-label { display: block; padding: 20px 10px 6px; border-top: 1px solid var(--line-200); color: var(--ink-500); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-left: 3px solid transparent; border-radius: 5px; color: var(--ink-700); font-size: .92rem; text-decoration: none; }
.nav-link:hover { color: var(--ink-950); background: var(--surface-1); }
.nav-link.is-active { border-left-color: var(--sky-500); color: var(--ink-950); background: var(--sky-100); font-weight: 700; }
.nav-icon { display: inline-grid; width: 28px; min-width: 28px; place-items: center; color: var(--sky-500); font-size: .65rem; font-weight: 700; letter-spacing: -.04em; }
.nav-icon img { width: 18px; height: 18px; object-fit: contain; }
.external-mark { width: 15px; height: 15px; margin-left: auto; color: var(--ink-500); }

.mobile-nav-bar { display: none; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-200); background: var(--paper-100); }
.menu-toggle { display: grid; width: 36px; height: 32px; padding: 7px; place-items: center; border: 1px solid var(--ink-700); border-radius: 5px; background: var(--ink-950); cursor: pointer; }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 18px; height: 2px; background: #fff; content: ''; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { position: absolute; left: 0; }
.menu-toggle-lines::before { top: -6px; }
.menu-toggle-lines::after { top: 6px; }
.mobile-nav-label { color: var(--ink-950); font-weight: 700; }

.table-panel { overflow: hidden; }
.table-panel h4 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 12px; border: 1px solid transparent; border-radius: 5px; font: inherit; font-size: .85rem; line-height: 1.2; cursor: pointer; text-decoration: none; }
.button-primary { border-color: var(--sky-500); color: var(--sky-500); background: transparent; }
.button-primary:hover { color: #fff; background: var(--sky-500); }
.button-secondary { border-color: var(--line-200); color: var(--ink-700); background: transparent; }
.button-secondary:hover { color: var(--ink-950); background: var(--paper-100); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.form-control { width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line-200); border-radius: 5px; color: var(--ink-950); background: var(--surface-0); font: inherit; }
.form-control::placeholder { color: var(--ink-500); opacity: 1; }

.rbac-header { max-width: 730px; margin-bottom: 28px; }
.rbac-header h1 { margin: 0; color: var(--ink-950); font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: 0; line-height: 1; }
.rbac-header > p:last-child { max-width: 620px; margin: 14px 0 0; color: var(--ink-700); font-size: 1.05rem; }
.rbac-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; border: 1px solid var(--line-200); border-radius: 8px; background: var(--surface-0); }
.rbac-summary div { display: grid; gap: 2px; padding: 16px 20px; border-right: 1px solid var(--line-200); }
.rbac-summary div:last-child { border-right: 0; }
.rbac-summary strong { color: var(--sky-500); font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.rbac-summary span, .rbac-result-count { color: var(--ink-500); font-size: .82rem; }
.rbac-tabs { display: flex; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line-200); }
.rbac-tabs button, .operation-filters button { padding: 8px 12px; border: 0; border-radius: 5px; color: var(--ink-700); background: transparent; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.rbac-tabs button:hover, .operation-filters button:hover { color: var(--ink-950); background: var(--paper-100); }
.rbac-tabs button.is-active, .operation-filters button.is-active { color: var(--ink-950); background: var(--sky-100); }
.rbac-view { padding-top: 24px; }
.rbac-view-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.rbac-view-heading h2, .role-detail h2, .comparison-heading h2 { margin: 0; color: var(--ink-950); font-size: 1.35rem; letter-spacing: 0; }
.rbac-view-heading p { margin: 4px 0 0; color: var(--ink-700); font-size: .92rem; }
.rbac-search { width: min(340px, 100%); color: var(--ink-700); font-size: .78rem; font-weight: 700; }
.rbac-search input { margin-top: 4px; }
.rbac-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.rbac-list-panel, .role-detail, .comparison-result { border: 1px solid var(--line-200); border-radius: 8px; background: var(--surface-0); }
.rbac-list-panel { overflow: hidden; }
.rbac-list-panel > .rbac-result-count { padding: 12px 14px; margin: 0; border-bottom: 1px solid var(--line-200); background: var(--paper-100); }
.role-list { max-height: 660px; overflow-y: auto; }
.role-list-item { display: grid; width: 100%; gap: 2px; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line-200); color: var(--ink-950); background: transparent; text-align: left; cursor: pointer; }
.role-list-item:hover, .role-list-item.is-selected { background: var(--sky-100); }
.role-list-item strong { font-size: .9rem; }
.role-id, .operation-value, .permission-list { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.role-id { color: var(--ink-500); }
.rbac-list-note { padding: 14px; margin: 0; color: var(--ink-500); font-size: .82rem; }
.role-detail { padding: 22px; }
.role-detail .workspace-kicker { margin: 0 0 6px; }
.role-description { margin: 10px 0 0; color: var(--ink-700); }
.role-metadata { display: grid; grid-template-columns: 130px 1fr; gap: 7px 16px; padding: 16px 0; margin: 16px 0; border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); font-size: .85rem; }
.role-metadata dt { color: var(--ink-500); }
.role-metadata dd { margin: 0; overflow-wrap: anywhere; }
.permission-group { margin-top: 24px; }
.permission-group h3, .comparison-column h3 { margin: 0 0 8px; color: var(--ink-700); font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; }
.permission-list { display: grid; gap: 5px; padding: 0; margin: 0; list-style: none; }
.permission-list li { overflow-wrap: anywhere; color: var(--ink-700); }
.operation-filters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.rbac-operation-table { overflow-x: auto; border: 1px solid var(--line-200); border-radius: 8px; background: var(--surface-0); }
.rbac-operation-table table { width: 100%; border-collapse: collapse; }
.rbac-operation-table th { padding: 10px; border-bottom: 1px solid var(--line-200); color: var(--ink-700); background: var(--paper-100); font-size: .75rem; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.rbac-operation-table td { padding: 10px; border-bottom: 1px solid var(--line-200); color: var(--ink-700); font-size: .84rem; vertical-align: top; }
.rbac-operation-table tr:last-child td { border-bottom: 0; }
.rbac-operation-table tr:hover td { background: var(--sky-100); }
.operation-value { color: var(--ink-950) !important; white-space: nowrap; }
.rbac-list-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.rbac-list-footer p { margin: 0; }
.compare-picker { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; padding: 18px; border: 1px solid var(--line-200); border-radius: 8px; background: var(--paper-100); }
.compare-picker label { color: var(--ink-700); font-size: .82rem; font-weight: 700; }
.compare-picker input { margin-top: 4px; }
.role-combobox { position: relative; display: block; }
.role-options { position: absolute; z-index: 2000; top: calc(100% + 4px); right: 0; left: 0; max-height: 328px; overflow-y: auto; border: 1px solid var(--line-200); border-radius: 5px; background: var(--surface-0); box-shadow: 0 10px 24px rgba(20, 33, 43, .15); }
.role-option { display: grid; width: 100%; gap: 2px; padding: 9px 11px; border: 0; border-bottom: 1px solid var(--line-200); color: var(--ink-950); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.role-option:last-child { border-bottom: 0; }
.role-option:hover, .role-option:focus-visible { background: var(--sky-100); outline: 0; }
.role-option strong { font-size: .85rem; }
.role-option span { color: var(--ink-500); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; font-weight: 400; }
.comparison-result { margin-top: 16px; padding: 22px; }
.comparison-result > p { margin: 0; color: var(--ink-700); }
.comparison-heading p { margin: 7px 0 0; color: var(--ink-700); font-size: .9rem; }
.comparison-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.comparison-metadata div { display: grid; gap: 3px; padding: 12px; border-left: 3px solid var(--sky-500); background: var(--paper-100); font-size: .82rem; }
.comparison-metadata span { color: var(--ink-700); overflow-wrap: anywhere; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.comparison-column { padding: 14px; border: 1px solid var(--line-200); border-radius: 6px; }
.comparison-column.is-shared { border-top: 3px solid var(--mint-500); }
.comparison-column.is-first { border-top: 3px solid var(--sky-500); }
.comparison-column.is-second { border-top: 3px solid var(--coral-500); }

@media (min-width: 992px) {
  #sidebarMenu {
    position: sticky;
    top: 0;
    flex: 0 0 248px;
    width: 248px !important;
    min-width: 248px;
    min-height: 100% !important;
    padding: 28px 18px !important;
    border-right: 1px solid var(--line-200);
    border-radius: 0 !important;
    background: var(--paper-100) !important;
    box-shadow: none !important;
  }
}

@media (max-width: 991px) {
  body > .d-flex { flex-wrap: wrap; }
  .mobile-nav-bar { display: flex; flex: 0 0 100%; }
  .app-main { flex: 0 0 100%; }
  .app-main { padding-top: 20px !important; }
  #sidebarMenu { position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; width: min(300px, 88vw) !important; padding: 24px 18px !important; border-right: 1px solid var(--line-200); background: var(--paper-100) !important; box-shadow: 12px 0 30px rgba(20, 33, 43, .12); transform: translateX(-105%); transition: transform .2s ease; }
  #sidebarMenu.is-open { transform: translateX(0); }
}
@media (max-width: 767px) { .app-main { padding-right: 16px !important; padding-left: 16px !important; } }
@media (max-width: 600px) {
  .provider-stats-grid { grid-template-columns: 1fr; }
  .workspace-intro { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .stats-card-header { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rbac-summary, .comparison-grid, .comparison-metadata { grid-template-columns: 1fr; }
  .rbac-summary div { border-right: 0; border-bottom: 1px solid var(--line-200); }
  .rbac-summary div:last-child { border-bottom: 0; }
  .rbac-view-heading { align-items: stretch; flex-direction: column; }
  .rbac-grid, .compare-picker { grid-template-columns: 1fr; }
  .rbac-search { width: 100%; }
  .role-list { max-height: 360px; }
  .rbac-list-footer { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .workspace-intro, .callout { animation: rise-in .45s ease both; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
