:root {
  color-scheme: light dark;
  --canvas: #f1f4f0;
  --surface: #fbfcf9;
  --ink: #13201b;
  --muted: #53645c;
  --line: #c8d0ca;
  --accent: #0c6a4a;
  --accent-ink: #f7fff9;
  --image-shade: rgba(9, 22, 16, 0.18);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5; }
a { color: inherit; }

.site-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 4vw, 4rem);
}

.wordmark { font-size: 0.82rem; font-weight: 750; letter-spacing: 0.13em; text-decoration: none; }
.header-login { font-size: 0.92rem; font-weight: 650; text-underline-offset: 0.3rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: calc(100dvh - 4.6rem);
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 7vw, 8rem) clamp(4rem, 8vw, 8rem);
}

.eyebrow { margin: 0 0 1.25rem; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 10ch; margin-bottom: 1.5rem; font-size: clamp(3rem, 6.1vw, 6.35rem); letter-spacing: -0.067em; line-height: 0.96; }
h2 { max-width: 13ch; margin-bottom: 1.1rem; font-size: clamp(2rem, 3.7vw, 4rem); letter-spacing: -0.052em; line-height: 1; }
h3 { margin-bottom: 0.6rem; font-size: 1.13rem; letter-spacing: -0.025em; }
.hero-intro { max-width: 34rem; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.primary-action { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0.75rem 1.1rem; border-radius: 0.7rem; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.primary-action:hover { background: #07573c; }
.primary-action:active { transform: translateY(1px); }
.primary-action:focus-visible, .header-login:focus-visible, .wordmark:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.hero-image { position: relative; min-height: 32rem; margin: 0; overflow: hidden; border-radius: 0.9rem; background: #21372e; }
.hero-image::after, .access-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(115deg, var(--image-shade), transparent 58%); pointer-events: none; }
.hero-image img, .access-image img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }

.foundation { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); gap: clamp(2rem, 8vw, 9rem); max-width: 1440px; margin: 0 auto; padding: clamp(4rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); border-top: 1px solid var(--line); }
.foundation > div > p, .access-copy p, .foundation-points p { max-width: 34rem; color: var(--muted); }
.foundation-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.foundation-points article { padding-top: 1rem; border-top: 2px solid var(--accent); }

.access { display: grid; grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr); gap: clamp(2rem, 8vw, 9rem); align-items: center; max-width: 1440px; margin: 0 auto; padding: 0 clamp(1.25rem, 7vw, 8rem) clamp(5rem, 10vw, 10rem); }
.access-image { position: relative; min-height: 24rem; overflow: hidden; border-radius: 0.9rem; }
.access-image img { object-position: 80% center; filter: saturate(0.85); }
.access-copy { padding-block: 2rem; }

footer { color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--line); }
.login-page { display: grid; min-height: 100dvh; place-items: center; padding: 1.5rem; }
.login-shell { width: min(100%, 38rem); padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.login-shell .wordmark { display: inline-block; margin-bottom: 5rem; }
.login-shell h1 { max-width: 12ch; font-size: clamp(2.6rem, 7vw, 4.8rem); }
.login-shell p { max-width: 33rem; margin-bottom: 2rem; color: var(--muted); }
.login-form { display: grid; gap: 1rem; }
.login-form label { display: grid; gap: 0.45rem; color: var(--ink); font-size: 0.88rem; font-weight: 700; }
.login-form input { width: 100%; min-height: 3rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 0.55rem; background: transparent; color: var(--ink); font: inherit; }
.login-form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.login-form .primary-action { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.form-error { padding: 0.75rem 0.9rem; border-left: 3px solid #b33a2b; background: color-mix(in srgb, #b33a2b 10%, transparent); color: var(--ink) !important; }
.login-note { margin-top: 1.75rem; font-size: 0.82rem; }
.panel-page { min-height: 100dvh; }
.panel-header { display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: 0 auto; padding: 1.4rem clamp(1.25rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.text-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: 0.9rem; font-weight: 650; }
.text-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.panel-shell { max-width: 1440px; margin: 0 auto; padding: clamp(4rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.panel-shell h1 { max-width: 14ch; }
.panel-intro { max-width: 41rem; color: var(--muted); font-size: 1.15rem; }
.panel-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 52rem; margin-top: 3.5rem; }
.panel-status article { padding-top: 1rem; border-top: 2px solid var(--accent); }
.panel-status h2 { max-width: none; font-size: 1.15rem; }
.panel-status p { color: var(--muted); }
.panel-dashboard { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.panel-title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.5fr); gap: 2rem; align-items: end; }
.panel-title > p { max-width: 28rem; margin: 0 0 0.55rem; color: var(--muted); }
.dashboard-section { scroll-margin-top: 2rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.section-heading h2 { max-width: none; margin-bottom: 0.4rem; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.section-heading p { max-width: 42rem; margin: 0; color: var(--muted); }
.panel-account, .action-row, .app-actions { display: flex; align-items: center; gap: 0.85rem; }
.panel-account { color: var(--muted); font-size: 0.82rem; }
.panel-notice, .panel-warning { margin: 0; padding: 0.8rem 0.95rem; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.panel-warning { border-color: #a56a19; background: color-mix(in srgb, #a56a19 12%, transparent); }
.connection-layout, .application-grid, .route-layout, .audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.72fr); gap: clamp(1.5rem, 4vw, 4rem); }
.connection-detail { padding-top: 0.25rem; }
.connection-state, .app-state { display: inline-flex; align-items: center; min-height: 1.85rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--ink); font-size: 0.78rem; font-weight: 700; text-transform: capitalize; }
.state-disconnected, .state-logged_out, .state-error, .state-unavailable { background: color-mix(in srgb, #b33a2b 15%, transparent); }
.status-list, .credential-reveal dl { display: grid; gap: 0; margin: 0 0 1.6rem; }
.status-list div, .credential-reveal dl div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: 0.82rem; font-weight: 650; }
dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.action-row { flex-wrap: wrap; }
.action-row form, .app-actions form { margin: 0; }
.secondary-action { display: inline-flex; min-height: 3.25rem; align-items: center; padding: 0.75rem 1.1rem; border: 1px solid var(--line); border-radius: 0.7rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-weight: 700; }
.secondary-action:hover { border-color: var(--accent); }
.danger-action:hover { border-color: #b33a2b; color: #9e2f22; }
.qr-card, .qr-empty { display: grid; place-items: center; align-content: center; min-height: 17rem; margin: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.qr-card img { display: block; width: min(100%, 15rem); height: auto; padding: 0.5rem; background: #fff; }
.qr-card figcaption, .qr-empty p { max-width: 21rem; margin: 1rem 0 0; color: var(--muted); font-size: 0.85rem; text-align: center; }
.qr-empty h3 { margin: 0; }
.role-note { color: var(--muted); }
.credential-reveal { margin-bottom: 1.5rem; padding: 1.25rem; border: 2px solid var(--accent); border-radius: 0.9rem; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.credential-reveal h3 { margin-bottom: 0.35rem; }
.credential-reveal > p { margin-bottom: 1.1rem; color: var(--muted); }
.credential-reveal dl { margin-bottom: 0; }
.credential-reveal code, .app-row code, .route-list code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; overflow-wrap: anywhere; }
.app-list, .route-list, .audit-list { display: grid; gap: 0.1rem; }
.app-row, .route-list article, .audit-list article { display: flex; justify-content: space-between; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.app-row h3 { margin: 0 0 0.25rem; }
.app-row p, .route-list span, .audit-list span, .audit-list time { margin: 0; color: var(--muted); font-size: 0.82rem; }
.app-actions { align-self: flex-start; flex-wrap: wrap; justify-content: flex-end; }
.control-form { display: grid; align-content: start; gap: 0.95rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.control-form h3 { margin: 0; }
.control-form label { display: grid; gap: 0.4rem; color: var(--ink); font-size: 0.82rem; font-weight: 700; }
.control-form input:not([type="checkbox"]), .control-form select { width: 100%; min-height: 2.8rem; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 0.55rem; background: transparent; color: var(--ink); font: inherit; }
.control-form input:focus-visible, .control-form select:focus-visible, .secondary-action:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.control-form fieldset { display: grid; gap: 0.55rem; margin: 0; padding: 0.85rem; border: 1px solid var(--line); border-radius: 0.55rem; }
.control-form legend { padding: 0 0.35rem; color: var(--muted); font-size: 0.8rem; }
.control-form .checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.control-form .checkbox-label input { accent-color: var(--accent); }
.control-form .primary-action { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.audit-grid h3 { margin-bottom: 0.4rem; }
.audit-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.audit-list article strong { overflow-wrap: anywhere; }
.audit-list article span { grid-column: 1; }
.audit-list article time { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; }
.empty-state { margin: 0; padding: 1.25rem 0; color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root { --canvas: #101813; --surface: #17241d; --ink: #eff7f0; --muted: #b2c2b7; --line: #314139; --accent: #68bf95; --accent-ink: #082517; --image-shade: rgba(0, 0, 0, 0.25); }
  .primary-action:hover { background: #8ad8ae; }
}

@media (max-width: 767px) {
  .hero, .foundation, .access { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  h1 { max-width: 11ch; }
  .hero-image { min-height: 26rem; }
  .foundation-points { grid-template-columns: 1fr; gap: 1.5rem; }
  .access { gap: 1rem; }
  .access-image { min-height: 20rem; }
  .panel-status { grid-template-columns: 1fr; }
  .panel-title, .connection-layout, .application-grid, .route-layout, .audit-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .panel-account { align-items: flex-end; flex-direction: column; gap: 0.3rem; }
  .app-row { align-items: flex-start; flex-direction: column; }
  .app-actions { justify-content: flex-start; }
  .audit-list article { gap: 0.35rem; }
  .audit-list article time { grid-column: 1; grid-row: auto; text-align: left; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; } }

/* Authenticated panel: a deliberately light, system-material interface. */
.panel-page {
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.1);
  --accent: #007a4d;
  --accent-ink: #ffffff;
  min-height: 100dvh;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  font-optical-sizing: auto;
}
.panel-page .panel-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 2rem;
  max-width: none;
  min-height: 3.8rem;
  padding: 0.75rem clamp(1.25rem, 5vw, 5rem);
  border: 0;
  background: rgba(245, 245, 247, 0.78);
  box-shadow: 0 1px 0 rgba(29, 29, 31, 0.06);
  backdrop-filter: saturate(180%) blur(22px);
}
.panel-page .wordmark { display: inline-flex; align-items: baseline; gap: 0.65rem; letter-spacing: -0.025em; }
.panel-page .wordmark span { color: #6e6e73; font-size: 0.8rem; font-weight: 500; letter-spacing: -0.01em; }
.panel-nav { display: flex; align-items: center; gap: 0.2rem; }
.panel-nav a { padding: 0.45rem 0.7rem; border-radius: 0.55rem; color: #6e6e73; font-size: 0.84rem; font-weight: 550; text-decoration: none; transition: background 180ms ease, color 180ms ease; }
.panel-nav a:hover { background: rgba(29, 29, 31, 0.06); color: #1d1d1f; }
.panel-nav a:focus-visible { outline: 3px solid rgba(0, 122, 77, 0.35); outline-offset: 2px; }
.panel-page .panel-account { align-items: center; gap: 0.8rem; color: #6e6e73; font-size: 0.78rem; }
.panel-page .text-button { border-bottom: 0; border-radius: 0.5rem; color: #007a4d; padding: 0.35rem 0.5rem; font-size: 0.8rem; font-weight: 650; transition: background 180ms ease, transform 100ms ease; }
.panel-page .text-button:hover { background: rgba(0, 122, 77, 0.08); }
.panel-page .text-button:active, .panel-page .primary-action:active, .panel-page .secondary-action:active { transform: scale(0.98); }
.panel-page .panel-shell { max-width: 76rem; padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem) 7rem; }
.panel-page .panel-dashboard { gap: 3.5rem; }
.panel-page .panel-title { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.panel-kicker { margin: 0 0 0.65rem; color: #6e6e73; font-size: 0.86rem; font-weight: 600; letter-spacing: -0.01em; }
.panel-page .panel-title h1 { max-width: 15ch; margin-bottom: 0.8rem; color: #1d1d1f; font-size: clamp(2.25rem, 4.7vw, 4.45rem); font-weight: 700; letter-spacing: -0.065em; line-height: 0.98; text-wrap: balance; }
.panel-page .panel-title > div > p:last-child { max-width: 35rem; margin: 0; color: #6e6e73; font-size: 1.02rem; line-height: 1.55; }
.identity-summary { display: grid; min-width: 9.5rem; gap: 0.2rem; padding: 0.9rem 1rem; border-radius: 1rem; background: #ffffff; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.04), 0 8px 24px rgba(29, 29, 31, 0.04); }
.identity-summary span { color: #6e6e73; font-size: 0.72rem; font-weight: 600; }
.identity-summary strong { color: #1d1d1f; font-size: 0.96rem; font-weight: 650; text-transform: capitalize; }
.panel-page .dashboard-section { scroll-margin-top: 6rem; }
.panel-page .section-heading { align-items: end; margin-bottom: 1rem; }
.panel-page .section-heading h2 { color: #1d1d1f; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 680; letter-spacing: -0.04em; }
.panel-page .section-heading p { color: #6e6e73; font-size: 0.9rem; }
.panel-page .connection-section { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.5rem; background: #ffffff; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.03), 0 12px 32px rgba(29, 29, 31, 0.045); }
.panel-page .connection-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: 2rem; }
.panel-page .connection-state, .panel-page .app-state { min-height: auto; padding: 0.35rem 0.6rem; border-radius: 0.55rem; background: rgba(0, 122, 77, 0.09); color: #007a4d; font-size: 0.74rem; font-weight: 650; letter-spacing: -0.01em; }
.panel-page .state-disconnected, .panel-page .state-logged_out, .panel-page .state-error, .panel-page .state-unavailable { background: rgba(185, 50, 37, 0.1); color: #b93225; }
.panel-page .status-list { max-width: 38rem; margin-bottom: 1.35rem; }
.panel-page .status-list div { grid-template-columns: 7.5rem minmax(0, 1fr); padding: 0.7rem 0; border-color: rgba(29, 29, 31, 0.08); }
.panel-page dt { color: #6e6e73; font-size: 0.78rem; font-weight: 550; }
.panel-page dd { color: #1d1d1f; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.panel-page .primary-action { min-height: 2.75rem; padding: 0.6rem 1rem; border-radius: 0.7rem; background: #007a4d; box-shadow: 0 1px 1px rgba(0, 85, 53, 0.18); font-size: 0.86rem; transition: background 180ms ease, transform 100ms ease, box-shadow 180ms ease; }
.panel-page .primary-action:hover { background: #006b44; box-shadow: 0 6px 14px rgba(0, 85, 53, 0.16); }
.panel-page .secondary-action { min-height: 2.75rem; padding: 0.6rem 0.9rem; border: 0; border-radius: 0.7rem; background: rgba(29, 29, 31, 0.06); color: #1d1d1f; font-size: 0.86rem; font-weight: 600; transition: background 180ms ease, transform 100ms ease; }
.panel-page .secondary-action:hover { background: rgba(29, 29, 31, 0.1); }
.panel-page .danger-action { color: #b93225; }
.panel-page .danger-action:hover { border: 0; color: #a52b20; background: rgba(185, 50, 37, 0.1); }
.panel-page .qr-card, .panel-page .qr-empty { min-height: 14.5rem; padding: 1.25rem; border: 0; border-radius: 1.15rem; background: #f5f5f7; }
.panel-page .qr-card img { width: min(100%, 12.5rem); padding: 0.6rem; border-radius: 0.8rem; box-shadow: 0 8px 20px rgba(29, 29, 31, 0.08); }
.panel-page .qr-card figcaption, .panel-page .qr-empty p { margin-top: 0.8rem; color: #6e6e73; font-size: 0.78rem; line-height: 1.4; }
.panel-page .application-grid, .panel-page .route-layout { grid-template-columns: minmax(0, 1.32fr) minmax(18rem, 0.68fr); gap: 1.25rem; }
.panel-page .app-list, .panel-page .route-list, .panel-page .audit-list { padding: 0.35rem 1.25rem; border-radius: 1.25rem; background: #ffffff; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.03), 0 10px 30px rgba(29, 29, 31, 0.04); }
.panel-page .app-row, .panel-page .route-list article, .panel-page .audit-list article { padding: 1.1rem 0; border-color: rgba(29, 29, 31, 0.08); }
.panel-page .app-row h3, .panel-page .audit-grid h3 { color: #1d1d1f; font-size: 0.94rem; font-weight: 650; letter-spacing: -0.015em; }
.panel-page .app-row p, .panel-page .route-list span, .panel-page .audit-list span, .panel-page .audit-list time { color: #6e6e73; font-size: 0.78rem; line-height: 1.45; }
.panel-page .app-row code, .panel-page .route-list code, .panel-page .credential-reveal code { color: #4b4b50; font-size: 0.75rem; }
.panel-page .app-actions { gap: 0.35rem; }
.panel-page .control-form { gap: 0.85rem; padding: 1.25rem; border: 0; border-radius: 1.25rem; background: #ffffff; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.03), 0 10px 30px rgba(29, 29, 31, 0.04); }
.panel-page .control-form h3 { color: #1d1d1f; font-size: 1rem; letter-spacing: -0.02em; }
.panel-page .control-form label { color: #3a3a3c; font-size: 0.76rem; font-weight: 600; }
.panel-page .control-form input:not([type="checkbox"]), .panel-page .control-form select { min-height: 2.65rem; border: 1px solid rgba(29, 29, 31, 0.1); border-radius: 0.65rem; background: #fbfbfc; color: #1d1d1f; font-size: 0.88rem; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.panel-page .control-form input:not([type="checkbox"]):focus, .panel-page .control-form select:focus { border-color: rgba(0, 122, 77, 0.65); background: #ffffff; box-shadow: 0 0 0 4px rgba(0, 122, 77, 0.12); outline: 0; }
.panel-page .control-form fieldset { gap: 0.5rem; border-color: rgba(29, 29, 31, 0.09); border-radius: 0.75rem; background: #fbfbfc; }
.panel-page .control-form legend { color: #6e6e73; font-size: 0.74rem; }
.panel-page .control-form .checkbox-label { color: #3a3a3c; font-size: 0.82rem; }
.panel-page .credential-reveal { padding: 1.25rem 1.4rem; border: 0; border-radius: 1.25rem; background: #e8f5ee; box-shadow: none; }
.panel-page .credential-reveal h3 { color: #15583d; font-size: 1rem; }
.panel-page .credential-reveal > p { color: #396b56; font-size: 0.86rem; }
.panel-page .credential-reveal dl div { border-color: rgba(0, 122, 77, 0.14); }
.panel-page .panel-notice, .panel-page .panel-warning, .panel-page .form-error { border: 0; border-radius: 0.8rem; box-shadow: none; }
.panel-page .panel-notice { color: #15583d; background: #e8f5ee; }
.panel-page .panel-warning { color: #785414; background: #fff5dd; }
.panel-page .form-error { color: #9d2f24 !important; background: #fff0ee; }
.panel-page .audit-grid { gap: 1.25rem; }
.panel-page .audit-grid > div { padding: 1.25rem; border-radius: 1.25rem; background: #ffffff; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.03), 0 10px 30px rgba(29, 29, 31, 0.04); }
.panel-page .audit-list { padding: 0; border-radius: 0; box-shadow: none; }
.panel-page .empty-state { color: #6e6e73; font-size: 0.86rem; }
.ai-aliases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.ai-aliases article { display: grid; gap: 0.4rem; padding: 1rem; border-radius: 1rem; background: #ffffff; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.03), 0 8px 24px rgba(29, 29, 31, 0.035); }
.ai-aliases code { color: #007a4d; font-size: 0.8rem; font-weight: 650; }
.ai-aliases span { color: #6e6e73; font-size: 0.78rem; }
@media (prefers-reduced-transparency: reduce) {
  .panel-page .panel-header { background: #f5f5f7; backdrop-filter: none; }
}
@media (max-width: 767px) {
  .panel-page .panel-header { grid-template-columns: 1fr auto; gap: 0.75rem; padding-inline: 1.1rem; }
  .panel-page .wordmark span, .panel-nav, .panel-page .panel-account > span { display: none; }
  .panel-page .panel-title, .panel-page .connection-layout, .panel-page .application-grid, .panel-page .route-layout, .panel-page .audit-grid { grid-template-columns: 1fr; }
  .ai-aliases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-page .panel-title { gap: 1.25rem; }
  .identity-summary { width: fit-content; min-width: 8rem; }
  .panel-page .connection-section, .panel-page .app-list, .panel-page .route-list, .panel-page .control-form, .panel-page .audit-grid > div { border-radius: 1rem; }
}
