/* Component geometry is shared across themes; custom colors remain user-owned. */
:root:not([data-appearance="custom"]) {
  --background: #f5f4f6;
  --surface: #ffffff;
  --surface-soft: #eeebf1;
  --border: #ddd9e2;
  --text: #292530;
  --muted: #68616f;
  --accent: #6c477f;
  --pink: #9a77b1;
  --deep: #28212f;
  --shadow: 0 6px 24px #29253008;
  --radius: 8px;
}
:root { --font-display: var(--font-sans); }
body { background: var(--background); font-size: 14px; line-height: 1.6; }
#ambient-particles { opacity: .15; }
header { min-height: 72px; padding-block: 14px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: -.4px; }
.brand-icon { width: 32px; height: 32px; border-radius: 6px; margin: 0; }
:root:not([data-appearance="custom"]) .brand-icon { background: #574063; }
.intro { padding-block: 38px 30px; gap: 32px; }
.intro h1 { font: 600 clamp(30px, 3.4vw, 42px)/1.14 var(--font-sans); letter-spacing: -1.6px; margin-bottom: 14px; }
.intro h1 br { display: none; }
.intro h1 em { font-style: normal; }
.intro .eyebrow { font-size: 10px; letter-spacing: 1.3px; }
.lede { font-size: 13px; max-width: 540px; line-height: 1.8; }
.connection { border-radius: 6px; padding: 12px 16px; min-width: 224px; background: var(--surface); box-shadow: none; }
.connection strong { font-size: 12px; font-weight: 600; }
.connection small { font-size: 11px; }
h2 { font: 600 20px/1.4 var(--font-sans); letter-spacing: -.5px; }
h3 { font-family: var(--font-sans); }
#notice:empty { display: none; }
.toolbar { padding-top: 24px; margin-bottom: 20px; }
.toolbar h2 { margin-bottom: 6px; }
.toolbar p { font-size: 12px; }
.button { border-radius: 5px; min-height: 40px; padding: 9px 15px; font-size: 12px; }
:where(:root:not([data-appearance="custom"])) .button { background: var(--accent); }
:where(:root:not([data-appearance="custom"])) .button.secondary { background: var(--surface); color: var(--accent); }
.account-menu-items .button { background: transparent; color: var(--text); }
.account-menu > summary { border-radius: 5px; padding: 8px 14px; }
.account-menu-items { border-radius: 7px; padding: 8px; }
.workspace-navigation { gap: 24px; padding-bottom: 0; margin-bottom: 24px; }
.workspace-navigation button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 2px; background: transparent; color: var(--muted); font-size: 12px; min-height: 46px; }
.workspace-navigation button[aria-pressed="true"] { background: transparent; color: var(--accent); border-color: var(--accent); }
:root[data-appearance="custom"] .workspace-navigation button[aria-pressed="true"] { color: var(--panel-accent); }
.application-overview { background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0 0 16px; margin: 20px 0; }
.application-summary { font-size: 12px; color: var(--text); }
.application-filters label { font-size: 11px; }
.application-filters input, .application-filters select { min-height: 40px; border-radius: 5px; font-size: 12px; }
.services { gap: 18px; }
.service { padding: 22px; border-radius: 8px; background: var(--surface); box-shadow: none; }
.service h3 { font: 600 17px/1.4 var(--font-sans); letter-spacing: -.35px; }
.badge { border-radius: 4px; font-size: 10px; padding: 4px 8px; font-weight: 600; }
.sharing-badge { border-radius: 4px; font-size: 10px; padding: 3px 7px; margin-bottom: 12px; }
.metrics { gap: 28px; padding-block: 18px 16px; }
.metrics strong { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.7px; }
.metrics small { font-size: 11px; margin-top: 3px; }
.usage-metrics { padding-top: 2px; }
.usage-metrics strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.usage-metrics small, .service .public-usage-note { font-size: 11px; }
.card-actions { gap: 8px; }
.card-actions .button { border-radius: 5px; font-size: 11px; }
.service-note { font-size: 12px; line-height: 1.7; }
.panel, .access, .user-row { border-radius: 8px; box-shadow: none; }
.panel h3, .user-management h3 { font: 600 15px/1.4 var(--font-sans); }
.timeline li { font-size: 12px; line-height: 1.7; }
.timeline time { font-size: 11px; }
.subtle { font-size: 12px; }
.api-note { background: var(--surface); border-radius: 8px; gap: 20px; }
.api-note > span { font: 600 20px/1.6 Consolas, monospace; }
.api-note h2 { font-size: 18px; }
dialog, #signin-dialog, .sharing-editor { border-radius: 9px; }
input, select, textarea, .auth-panel input, .user-fields input, .user-fields select { border-radius: 5px; }
footer { font-size: 11px; margin-top: 32px; padding-block: 22px 30px; }
@media (max-width: 700px) {
  header { padding-inline: 20px; min-height: 64px; }
  .intro { padding-block: 28px 24px; gap: 20px; }
  .intro h1 { font-size: clamp(28px, 7.3vw, 36px); letter-spacing: -1px; }
  .intro h1 br { display: block; }
  .intro .lede { font-size: 13px; }
  .connection { min-width: 0; width: 100%; }
  .workspace-navigation { gap: 12px; }
  .workspace-navigation button { padding-inline: 0; font-size: 11px; }
  .application-overview { padding: 0 0 16px; }
  .service { padding: 18px; }
  .application-filters { width: 100%; }
  .application-filters input, .application-filters select { font-size: 16px; }
  .api-note { padding: 18px; }
  footer div { flex-wrap: wrap; gap: 12px; }
}
