/* Shared corporate presentation, loaded after the feature styles. */
:root {
  --bg: #f4f6f9;
  --surface: #fff;
  --ink: #172b45;
  --muted: #64748b;
  --line: #dce3ec;
  --accent: #245b91;
  --accent-strong: #183e65;
  --cyan: #3275ac;
  --violet: #536b87;
  --magenta: #536b87;
  --green: #218060;
  --soft: #f8fafc;
  --ai-gradient: linear-gradient(135deg, #183e65, #245b91);
  --cool-gradient: linear-gradient(135deg, #f8fafc, #eef3f8);
  --dark-gradient: linear-gradient(135deg, #14263c, #213d5b);
  --shadow: 0 8px 28px rgb(23 43 69 / 8%);
}
body { background: var(--bg); }
.brand-mark, .mark { box-shadow: none; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline-color: #3275ac;
}
.app-layout { background: var(--bg); }
.app-layout .topbar {
  background: #f4f6f9;
  backdrop-filter: none;
  min-height: 108px;
  margin-bottom: 24px;
  border-bottom-color: var(--line);
}
.app-layout .topbar h1 { font-size: 26px; line-height: 34px; font-weight: 650; }
.topbar-context .eyebrow { color: #64748b; font-size: 11px; letter-spacing: .08em; }
.app-layout .panel, .app-layout .metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgb(23 43 69 / 3%);
  background: #fff;
}
.app-layout .panel { padding: 24px; }
.app-layout .panel h2 { font-size: 17px; font-weight: 650; color: var(--ink); }
.app-layout .workspace-grid { gap: 20px; }
.app-layout .metrics { gap: 16px; margin-bottom: 24px; }
.app-layout .metric { padding: 20px 22px; min-height: 108px; }
.app-layout .metric::after { display: none; }
.app-layout .metric strong { color: var(--ink); font-size: 32px; font-variant-numeric: tabular-nums; }
.app-layout .metric span { text-transform: none; letter-spacing: 0; color: #64748b; }
.app-layout .primary, .workspace-form-dialog .primary {
  background: #245b91; border-color: #245b91; color: #fff;
  border-radius: 6px; box-shadow: none; font-weight: 600;
}
.app-layout .primary:hover, .workspace-form-dialog .primary:hover { background: #183e65; }
.app-layout .ghost { border-radius: 6px; box-shadow: none; font-weight: 550; }
.workspace-subnav { gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.workspace-subnav button { border-radius: 5px; }
.workspace-subnav .active { background: #e8eff7; color: #183e65; border-color: #cbd9e8; }
.workspace-form-dialog { border-radius: 10px; }
.app-layout .status { background: #edf2f7; color: #365775; border-color: #d5e0eb; font-weight: 600; }
.app-layout .vendor-link { color: #245b91; }
.account-menu-avatar { background: #245b91; }
.workspace-dialog-head h2 { font-size: 20px; }
.app-layout input, .app-layout select, .app-layout textarea {
  background: #fff; border-color: #cbd5e1; border-radius: 6px;
}
.site { --site-accent: #245b91; --site-ink: #172b45; --site-muted: #64748b; --site-line: #dce3ec; }
.site .primary { background: #245b91; border-color: #245b91; box-shadow: none; }
.site .hero-section { padding-top: 64px; padding-bottom: 72px; }
.site .hero-copy h1 { letter-spacing: -.035em; }
#auth-view .brand-panel { background: #172b45; box-shadow: none; }
@media (min-width: 761px) {
  .shell.app-layout { padding: 0 32px 48px 272px; }
  .workspace-sidebar {
    width: 240px; background: #14263c; box-shadow: none;
    align-items: stretch; overflow-y: auto;
  }
  .sidebar-brand {
    display: flex; align-items: center; gap: 12px;
    width: auto; height: auto; min-height: 88px; margin: 0 20px 20px;
    border-bottom: 1px solid #2c3f55; border-radius: 0;
    background: transparent; box-shadow: none;
  }
  .sidebar-brand > span {
    display: grid; place-items: center; width: 36px; height: 36px;
    background: #245b91; border: 1px solid #4778a5; border-radius: 6px;
    font-size: 20px;
  }
  .sidebar-brand strong { font-size: 19px; letter-spacing: .05em; font-weight: 650; }
  .sidebar-brand small { display: block; font-size: 10px; letter-spacing: .02em; color: #a8b8ca; font-weight: 400; }
  .workspace-sidebar .app-nav { gap: 4px; padding: 0 14px; flex: 1; }
  .workspace-sidebar .app-nav-button {
    display: flex; align-items: center; justify-content: flex-start; gap: 12px;
    width: 100%; min-height: 44px; padding: 10px 14px;
    border-radius: 6px; color: #b6c4d4; font-weight: 500; text-align: left;
  }
  .workspace-sidebar .app-nav-button.active {
    background: #254362; border-color: #365775; color: #fff;
    box-shadow: inset 3px 0 0 #8cb6de;
  }
  .workspace-sidebar .app-nav-button::after { display: none; }
  .workspace-sidebar .nav-text {
    position: static; width: auto; height: auto; overflow: visible;
    clip: auto; white-space: nowrap; font-size: 13px;
  }
  .nav-icon { width: 19px; height: 19px; flex-shrink: 0; }
  .sidebar-separator { width: 100%; margin: 14px 0; background: #2c3f55; }
  .sidebar-foot { margin: 24px; background: #254362; }
}
@media (max-width: 760px) {
  .app-layout .topbar { min-height: 0; margin-bottom: 16px; }
  .app-layout .topbar h1 { font-size: 22px; line-height: 28px; }
  .app-layout .panel { padding: 18px; }
  .app-layout .metrics { gap: 10px; margin-bottom: 16px; }
  .app-layout .metric { padding: 14px; min-height: 90px; }
  .workspace-sidebar { height: 80px; background: #14263c; box-shadow: none; }
  .workspace-sidebar .app-nav-button {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    min-width: 82px; width: 82px; min-height: 60px; border-radius: 6px;
  }
  .workspace-sidebar .nav-text {
    position: static; width: auto; height: auto; clip: auto;
    overflow: visible; font-size: 10px; white-space: nowrap;
  }
  .shell.app-layout { padding-bottom: 100px; }
}
