.theme-blue {
  --bg: #f5f5f5;
  --paper: #fff;
  --ink: #162b48;
  --muted: #52637a;
  --soft: #617895;
  --line: #e1e6ee;
  --nav: #102847;
  --accent: #2d66c6;
  --accent-dark: #2254a0;
  --accent-light: #eaf1ff;
  --green: #2c6650;
  --green-light: #e9f4ee;
  --red: #983f4c;
  --red-light: #fbecef;
  --blue: #284f86;
  --blue-light: #edf3fd;
  --shadow: 0 2px 8px #122a5008;
}

.theme-blue :is(button,a,input,select,textarea):focus-visible { outline-color: #4e83d8; }
.theme-blue .sidebar { color: #c3d2e7; border-color: #163357; }
.theme-blue .sidebar .brand-name { color: #fff; }
.theme-blue .nav button { min-height: 44px; }
.theme-blue .nav button:hover { color: #f5f9ff; background: #19395f; }
.theme-blue .nav button.active { color: #fff; background: #234b80; border-color: #4c78ac; box-shadow: inset 2px 0 #7bb1fd; }
.theme-blue .sidebar-bottom { border-color: #385070; }
.theme-blue .sidebar-bottom :is(strong,p) { color: #c3d2e7; }
.theme-blue .dot { background: #82b5fa; }
.theme-blue .topbar { min-height: 64px; background: #fff; }
.theme-blue .profile .icon { color: #6680a3; }
.theme-blue .avatar { background: #e8f0ff; color: #26529a; }
.theme-blue .profile-menu button:is(:hover,.selected), .theme-blue kbd { background: #edf3fd; color: #305988; }
.theme-blue main { padding-top: 25px; }

.blue-hero {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(224px,273px); align-items: center; gap: 22px;
  padding: 22px 25px 21px; min-height: 176px; color: #fff; background: #214d98; border-radius: 13px;
  overflow: hidden; position: relative; isolation: isolate;
}
.blue-hero::before, .blue-hero::after {
  position: absolute; content: ""; z-index: -1; width: 315px; height: 315px; border: 1px solid #b9d4ff36;
  border-radius: 25px; transform: rotate(-24deg); pointer-events: none;
}
.blue-hero::before { right: 42px; top: -165px; }
.blue-hero::after { right: -13px; top: -109px; }
.blue-hero-copy { min-width: 0; }
.blue-hero-meta { display: flex; align-items: center; gap: 7px; color: #e8f0ff; font-size: 11px; font-weight: 570; }
.blue-hero-meta .icon { width: 14px; height: 14px; color: #dbeaff; }
.blue-hero-meta > span:not(.icon) { margin-left: 4px; padding: 3px 6px; border-radius: 4px; background: #315ca3; border: 1px solid #6389c3; color: #f4f8ff; line-height: 1; font-size: 10px; }
.blue-hero h1 { color: #fff; font-size: clamp(30px,3.25vw,46px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; margin: 10px 0 7px; }
.blue-hero-copy > p { color: #e1edff; font-size: 12px; line-height: 1.4; }
.blue-hero .blue-hero-action { margin-top: 13px; min-height: 30px; padding: 5px 8px; background: #fff; border-color: #fff; color: #224f98; font-weight: 630; }
.blue-hero .blue-hero-action:hover { color: #174286; background: #edf4ff; border-color: #edf4ff; }
.blue-hero-focus { min-width: 0; }
.blue-hero .focus-metric {
  width: 100%; min-width: 0; max-width: none; color: #f4f8ff; background: #1a3f7b; border-color: #6a8fc9;
  box-shadow: none; min-height: 107px; padding: 12px 13px; gap: 8px;
}
.blue-hero .focus-metric:hover { background: #1c478d; border-color: #99b9e9; }
.blue-hero .focus-head .icon { color: #cce0ff; }
.blue-hero .focus-values strong { font-size: 32px; font-weight: 670; }
.blue-hero .focus-values span { color: #d8e7fd; }
.blue-hero .focus-track { background: #5276ad; height: 4px; }
.blue-hero .focus-track i { background: #9fc5ff; }
.blue-hero .focus-track b { background: #fff; width: 2px; }
.blue-hero :is(button,a):focus-visible { outline-color: #e2edff; }

.theme-blue .tool-strip { margin-top: 18px; }
.theme-blue .dashboard-filters .group { border-color: #dce6f6; background: #eaf0fa; }
.theme-blue .dashboard-filters .group .filter-button { color: #4f6280; }
.theme-blue .dashboard-filters .group .filter-button.active { color: #22529c; border-color: #d8e5f8; }
.theme-blue :is(.filter-button,.button):hover { border-color: #bad0f0; }
.theme-blue .filter-button.active { color: #214e92; border-color: #c8dbf6; }
.theme-blue .button.primary { color: #fff; background: #275eae; border-color: #275eae; }
.theme-blue .button.primary:hover { color: #fff; background: #224e94; border-color: #224e94; }
.theme-blue .metric { min-height: 96px; }
.theme-blue .metric-title { color: #36547b; }
.theme-blue .metric strong { color: #173762; }
.theme-blue .metric:hover { border-color: #9bb8e4; }
.theme-blue .panel-head { min-height: 52px; }
.theme-blue .record { min-height: 56px; }
.theme-blue :is(.record:hover,th) { background: #f3f7fd; }
.theme-blue .record > .icon { color: #6581ab; }
.theme-blue .meeting-timeline .record .date-tile { background: #f8fbff; color: #3b5c87; border-color: #dfe9fa; }
.theme-blue .meeting-timeline .record:not(:last-child) .date-tile::after { background: #dfe8f6; }
.theme-blue .meeting-timeline .record .date-tile.today { background: #e9f1ff; color: #2856a0; border-color: #d9e6fa; }
.theme-blue .map-domain-index { background: #fbfcfe; }
.theme-blue .map-lane-heading h4 { color: #234b82; }
.theme-blue .map-lane-card { background: #f5f8fd; }
.theme-blue .map-lane-track::after { border-color: #d4e0f2; }
.theme-blue .progress-track { background: #e0e9f8; }
.theme-blue :is(.progress-track i,.switch[aria-checked=true]) { background: #4577bf; }
.theme-blue :is(.report-box,.detail,.dialog-actions) { background: #f0f5fd; }
.theme-blue .report-box { color: #315887; }
.theme-blue dialog { border-color: #dce6f5; }
.theme-blue .form-grid :is(input,select,textarea) { border-color: #d6e3f5; }
.theme-blue .checks input { accent-color: #366bc2; }
.theme-blue .integration:hover { border-color: #b6cae8; }
.theme-blue .toast { background: #1b417a; }

@media (max-width: 790px) {
  .theme-blue .topbar { min-height: 56px; }
  .theme-blue.mobile-dock .sidebar { color: #4b6487; border-top-color: var(--line); }
  .theme-blue.mobile-dock .nav button.active { color: #22529c; background: #eaf1fd; border-color: #e0ebfc; box-shadow: none; }
  .theme-blue.mobile-dock .nav button:hover { color: #22529c; background: #edf3fc; }
  .theme-blue .blue-hero h1 { font-size: clamp(27px,4vw,37px); }
}
@media (max-width: 570px) {
  .theme-blue main { padding-top: 14px; }
  .blue-hero { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 14px; min-height: 0; }
  .blue-hero::before { right: -94px; }
  .blue-hero::after { right: -149px; }
  .blue-hero .focus-metric { min-height: 0; }
  .blue-hero .focus-values strong { font-size: 27px; }
  .theme-blue .metric { min-height: 83px; }
}
