@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans.8dbf3d44655c.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  /* A web-only family avoids falling back to a different locally installed Brandon face. */
  font-family: 'PIN Brandon Grotesque';
  src: url('fonts/BrandonGrotesque-Bold.f338eeca4856.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: optional;
}
:root {
  --font-heading: 'PIN Brandon Grotesque', 'Open Sans', sans-serif;
  --blueberry: #1c4c62;
  --dusty-blue: #86cacd;
  --ocean: #00829b;
  --sunny-yellow: #ffc50e;
  --soft-white: #faf8f5;
  --vibrant-periwinkle-3: #8d9fef;
  --white: #fff;
  --ink: var(--blueberry);
  --muted: #617580;
  --border: #dfe6ea;
  --surface: #f4f7f9;
  --danger: #a12d32;
  --brand-gradient-stops: #00829b, var(--dusty-blue), var(--vibrant-periwinkle-3), var(--sunny-yellow), #00829b;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--soft-white); color: var(--ink); font: 14px/1.55 'Open Sans', sans-serif; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--blueberry); }
button, input, select, textarea, [contenteditable] { font: inherit; }
::file-selector-button { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 650; }
/* Larger page, section, card and dialog titles; subheads and UI labels keep Open Sans. */
h1, h2 { font-family: var(--font-heading); font-weight: 700; }
h1 { font-size: 30px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
code { font: .92em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
svg { display: block; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, pre:focus-visible { outline: 3px solid #48a7bb; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 10; background: white; padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; }
.icon-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; text-decoration: none; min-height: 32px; }
.icon-link:hover { text-decoration: underline; }
.site-header, .site-footer { line-height: 1.55; }
.site-header { font-size: 14px; }
.site-header { color: white; background: var(--blueberry); border-bottom: 3px solid var(--vibrant-periwinkle-3); border-image: linear-gradient(90deg, var(--brand-gradient-stops)) 1; }
.header-inner { display: flex; align-items: center; gap: 44px; width: min(1120px, calc(100% - 40px)); min-height: 93px; margin: 0 auto; }
.brand-link { display: flex; flex: 0 0 auto; border-radius: 4px; }
.brand-logo { width: 132px; height: 66px; object-fit: contain; }
.primary-nav { display: flex; align-self: stretch; gap: 32px; }
.primary-nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: #cbdce4; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: white; }
.primary-nav a[aria-current]::after { content: ''; position: absolute; height: 3px; bottom: 18px; left: 0; right: 0; background: white; border-radius: 2px; }
.primary-nav a:focus-visible { outline-color: white; }
.nav-label-prefix { white-space: pre; }
.account-actions { display: flex; align-items: center; margin-left: auto; font-size: 14px; }
.page-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 56px; flex: 1; min-width: 0; }
.intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.intro h1 { margin: 4px 0 8px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); margin-bottom: 8px; }
.muted, .help-text { color: var(--muted); }
.help-text { font-size: 12px; margin-top: 16px; }
.panel { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.message-panel { max-width: 600px; margin: 50px auto; padding: 36px; }
.message-panel h1, .message-panel h2 { margin-bottom: 16px; }
.message-panel .button { margin-top: 12px; }
.context-note { padding: 12px 16px; background: #e9f4fa; border-radius: 8px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 13px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.3; white-space: nowrap; }
.primary { color: white; background: var(--blueberry); }
.primary:hover { color: white; background: #28647d; }
.secondary { color: var(--blueberry); background: white; border-color: #b8c8d0; }
.secondary:hover { background: #edf4f6; }
.danger-button { color: white; border-color: var(--danger); background: var(--danger); }
.danger-button:hover { color: white; border-color: #87252a; background: #87252a; }
.refresh-status { color: var(--muted); font-size: 12px; min-height: 20px; margin-bottom: 10px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; }
.dashboard-section-title { color: var(--blueberry); font: 700 22px/1.3 var(--font-heading); }
.system-subtitle { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.system-subtitle strong { font-weight: 600; }
.environment-badge { padding: 3px 7px; border-radius: 4px; background: #e7f0f3; color: var(--blueberry); font-size: 10px; font-weight: 750; letter-spacing: .07em; }
.subtitle-divider { color: #b7c3c9; }
.dashboard-refresh { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.dashboard-refresh .refresh-status { margin: 0; }
.system-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.system-card { display: flex; flex-direction: column; min-width: 0; min-height: 180px; padding: 21px 22px 18px; border: 1px solid var(--border); border-radius: 11px; background: white; box-shadow: 0 2px 4px #203b4803; }
.system-card-label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 600; }
.system-card-label .icon { color: var(--blueberry); }
.system-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; color: var(--blueberry); font-size: 26px; font-weight: 650; letter-spacing: -.6px; line-height: 1.3; }
.system-total { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.system-meter { appearance: none; display: block; width: 100%; height: 7px; margin: 18px 0 12px; border: 0; background: #edf2f4; border-radius: 5px; }
.system-meter::-webkit-meter-bar { height: 7px; border: 0; border-radius: 5px; background: #edf2f4; box-shadow: none; }
.system-meter::-webkit-meter-optimum-value { background: var(--ocean); border-radius: 5px; }
.system-meter::-webkit-meter-suboptimum-value { background: #b18120; border-radius: 5px; }
.system-meter::-webkit-meter-even-less-good-value { background: var(--danger); border-radius: 5px; }
.system-meter::-moz-meter-bar { background: var(--ocean); border-radius: 5px; }
.system-meter:-moz-meter-sub-optimum::-moz-meter-bar { background: #b18120; }
.system-meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--danger); }
.system-card-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; padding-top: 2px; color: var(--muted); font-size: 11px; }
.system-error { padding: 12px 16px; margin-bottom: 20px; border: 1px solid #ead6a9; border-radius: 8px; color: #755521; background: #fff9ec; overflow-wrap: anywhere; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.section-count { margin-left: 10px; color: var(--muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
.section-title .help-text { margin: 0; }
.apps-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.apps-table th { padding: 13px 18px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .065em; }
.apps-table th:nth-child(1) { width: 30%; }
.apps-table th:nth-child(2) { width: 14%; }
.apps-table th:nth-child(3) { width: 10%; }
.apps-table th:nth-child(4) { width: 12%; }
.apps-table th:nth-child(5) { width: 34%; text-align: right; }
.apps-table td { padding: 21px 18px; vertical-align: middle; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.app-name { display: block; margin-bottom: 3px; font-size: 16px; font-weight: 700; text-decoration: none; color: var(--blueberry); }
.app-address { max-width: 100%; color: var(--muted); }
.app-address span { min-width: 0; overflow-wrap: anywhere; }
.cell-note { display: block; color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.status { display: inline-block; padding: 3px 9px; font-size: 12px; font-weight: 650; border-radius: 99px; background: #edf1f4; color: #4f6672; margin-bottom: 4px; }
.status + .app-status-note, .metrics-grid .status + [data-runtime-status] { padding-inline-start: 9px; }
.status[data-state=active] { background: #e7f5eb; color: #23663b; }
.status[data-state=failed], .status[data-state=deployment-failed] { background: #ffeded; color: var(--danger); }
.status[data-state=activating], .status[data-state=deactivating],
.status[data-state=deployment-requesting], .status[data-state=deployment-queued], .status[data-state=deployment-running] { background: #fff5d1; color: #775b00; }
.usage-cell strong { font-weight: 650; white-space: nowrap; }
.row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.row-actions form { display: inline-flex; }
.row-actions .button { font-size: 14px; padding: 8px 11px; }
.action-feedback { display: block; flex-basis: 100%; font-size: 12px; overflow-wrap: anywhere; }
.action-feedback:empty, .deployment-error:empty, .deployment-state:empty { display: none; }
.detail-link { margin-top: 7px; }
.actions-cell .detail-link { display: flex; width: fit-content; margin-left: auto; }
.deployment-error { display: block; color: var(--danger); font-size: 12px; margin-top: 5px; overflow-wrap: anywhere; }
.empty-inline { padding: 32px; }
.empty-inline h2 { margin-bottom: 10px; }
.activity-section { margin-top: 32px; }
.activity-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; margin-bottom: 14px; }
.activity-heading .help-text { margin: 0; }
.activity-error { margin-bottom: 14px; padding: 12px 16px; border: 1px solid #ead6a9; border-radius: 8px; background: #fff9ec; color: #755521; }
.activity-empty { padding: 28px 22px; color: var(--muted); }
.activity-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.activity-table th { padding: 13px 18px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .065em; }
.activity-table th:nth-child(1) { width: 20%; }
.activity-table th:nth-child(2) { width: 24%; }
.activity-table th:nth-child(3) { width: 22%; }
.activity-table th:nth-child(4) { width: 12%; }
.activity-table th:nth-child(5) { width: 22%; }
.activity-table td { padding: 16px 18px; vertical-align: top; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.activity-table time { font-variant-numeric: tabular-nums; }
.activity-app { font-weight: 600; }
.activity-app-id, .activity-message { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.activity-status { display: inline-block; padding: 3px 9px; border-radius: 99px; background: #edf1f4; color: #4f6672; font-size: 12px; font-weight: 650; }
.activity-status[data-state=succeeded] { background: #e7f5eb; color: #23663b; }
.activity-status:is([data-state=failed], [data-state=rejected]) { background: #ffeded; color: var(--danger); }
.activity-status:is([data-state=requested], [data-state=queued], [data-state=running]) { background: #fff5d1; color: #775b00; }
.back-navigation { margin-bottom: 20px; }
.detail-panel { padding: 24px; margin-bottom: 20px; }
.detail-panel h2 { margin-bottom: 20px; }
.metrics-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.metrics-grid strong { display: block; font-size: 19px; margin-top: 8px; }
.metrics-grid .status { display: inline-block; font-size: 13px; }
.details-grid { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px 24px; margin: 0; }
.details-grid dt { color: var(--muted); }
.details-grid dd { margin: 0; overflow-wrap: anywhere; }
.title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 20px; }
.title-row h2 { margin-bottom: 0; }
.storage-total { display: flex; align-items: baseline; gap: 12px; color: var(--muted); font-size: 13px; }
.storage-total strong { color: var(--ink); font-size: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.storage-breakdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.storage-breakdown > div { min-width: 0; padding: 16px; border-radius: 6px; background: var(--surface); }
.storage-breakdown dt { color: var(--muted); font-size: 13px; }
.storage-breakdown dd { margin: 8px 0 0; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.storage-breakdown dd.help-text { font-size: 12px; font-weight: 400; }
.storage-notice { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.backup-description { margin: 0; color: var(--muted); font-size: 13px; }
.backup-metadata { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 14px; color: var(--muted); font-size: 12px; }
.backup-metadata > :empty { display: none; }
.backup-notice { margin: 16px 0; color: var(--muted); }
.backup-notice:empty { display: none; }
.backups-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.backups-table th { padding: 12px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 650; }
.backups-table td { padding: 16px 12px; vertical-align: top; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.backups-table tr:last-child td { border-bottom: 0; }
.backups-table th:nth-child(1) { width: 17%; }
.backups-table th:nth-child(2) { width: 33%; }
.backups-table th:nth-child(3) { width: 11%; }
.backups-table th:nth-child(4) { width: 15%; }
.backups-table th:nth-child(5) { width: 24%; }
.backups-table .backup-total { font-weight: 650; }
.backups-table time { font-variant-numeric: tabular-nums; }
.backup-date { display: block; font-weight: 600; }
.backup-purpose { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.backup-time { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.backup-contents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.backup-contents > div { min-width: 0; }
.backup-contents dt { color: var(--muted); font-size: 12px; }
.backup-contents dd { margin: 3px 0 0; font-size: 13px; }
.backup-size { white-space: nowrap; font-variant-numeric: tabular-nums; }
.backup-size.is-missing { color: #775b00; }
.backups-table .status { white-space: nowrap; }
.backups-table .status[data-state=complete] { background: #e7f5eb; color: #23663b; }
.backups-table .status[data-state=incomplete] { background: #fff5d1; color: #775b00; }
.backup-restore .button { padding: 7px 10px; font-size: 12px; }
.backup-restore-reason { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.restore-progress { margin: 16px 0; padding: 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.restore-progress[hidden] { display: none; }
.restore-progress .title-row { gap: 10px; }
.restore-progress .title-row a { font-size: 12px; }
.restore-progress p { margin: 8px 0 0; overflow-wrap: anywhere; }
.restore-progress[data-state=failed], .restore-progress[data-state=rejected], .restore-progress[data-state=unknown] { border-color: #d9a9ac; }
.restore-progress[data-state=succeeded] { border-color: #a6cbb0; }
.restore-backup-time { margin: 0 0 12px; font-weight: 650; }
.restore-settings { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-weight: 600; }
.restore-settings input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #1c4c62; }
.restore-settings input:focus-visible { outline: 3px solid #48a7bb; outline-offset: 3px; }
.restore-settings-note { margin: 6px 0 20px; }
.backup-footnote { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }
.logs { margin: 0; padding: 18px; max-height: 520px; overflow: auto; background: #142f3c; color: #e4f1f5; border-radius: 6px; font: 12px/1.7 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.site-footer { color: var(--blueberry); font-size: .78rem; }
@supports (color: color-mix(in srgb, red 50%, blue)) { .site-footer { color: color-mix(in srgb, var(--blueberry) 80%, var(--white)); } }
.site-footer > div { width: min(1060px, calc(100% - 32px)); margin: auto; padding: 8px 0 32px; display: flex; justify-content: space-between; gap: 24px; }
@media (max-width: 1080px) {
  .system-card { padding: 18px; }
  .system-value { font-size: 23px; }
  .apps-table th, .apps-table td { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 1100px) {
  .backups-table, .backups-table tbody { display: block; }
  .backups-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .backups-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: 'created total status' 'contents contents contents' 'restore restore restore'; gap: 16px 20px; padding: 20px 0; border-top: 1px solid var(--border); }
  .backups-table tbody tr:last-child { padding-bottom: 0; }
  .backups-table td { display: block; padding: 0; min-width: 0; border: 0; }
  .backups-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
  .backups-table .backup-created { grid-area: created; }
  .backups-table .backup-total { grid-area: total; }
  .backups-table .backup-status { grid-area: status; }
  .backups-table .backup-contents-cell { grid-area: contents; padding: 14px; border-radius: 6px; background: var(--surface); }
  .backups-table .backup-contents-cell::before { content: none; }
  .backup-contents { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
  .backups-table .backup-restore { grid-area: restore; }
}
@media (max-width: 900px) {
  .system-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps-table, .apps-table tbody { display: block; }
  .apps-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .apps-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 22px; padding: 22px; border-top: 1px solid var(--border); }
  .apps-table tr:first-child { border-top: 0; }
  .apps-table td { display: block; padding: 0; min-width: 0; border: 0; }
  .apps-table .actions-cell { grid-column: 1 / -1; }
  .usage-cell::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
  .actions-cell .detail-link { margin-left: 0; }
}
@media (max-width: 680px) {
  .backups-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'created total' 'status status' 'contents contents' 'restore restore'; }
  .backup-contents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-breakdown { grid-template-columns: 1fr; gap: 12px; }
  .storage-total { gap: 8px; }
  .storage-total strong { font-size: 20px; }
  .activity-heading { flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; }
  .activity-heading .help-text { flex-basis: 100%; }
  .activity-table, .activity-table tbody { display: block; }
  .activity-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .activity-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; padding: 20px; border-top: 1px solid var(--border); }
  .activity-table tr:first-child { border-top: 0; }
  .activity-table td { display: block; padding: 0; min-width: 0; border: 0; }
  .activity-table td:last-child { grid-column: 1 / -1; }
  .activity-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
  .header-inner, .page-shell { width: calc(100% - 32px); }
  .header-inner { gap: 8px; min-height: 65px; }
  .brand-logo { width: 96px; height: 48px; }
  .primary-nav { flex: 1; justify-content: center; gap: 8px; }
  .primary-nav a { justify-content: center; min-width: 44px; padding: 0 4px; font-size: 13px; }
  .primary-nav a[aria-current]::after { bottom: 7px; left: 4px; right: 4px; }
  .nav-label-prefix { display: none; }
  .account-actions { flex-shrink: 0; }
  .page-shell { padding-top: 24px; }
  h1 { font-size: 26px; }
  .dashboard-heading { align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .dashboard-refresh { width: 100%; justify-content: space-between; }
  .system-cards { gap: 12px; }
  .system-card { padding: 15px; min-height: 176px; }
  .system-value { font-size: 22px; }
  .system-card-foot { font-size: 11px; }
  .section-title { align-items: flex-start; flex-wrap: wrap; gap: 5px; }
  .section-count { font-size: 12px; }
  .apps-table tr { padding: 20px; gap: 16px; }
  .intro { align-items: flex-start; flex-wrap: wrap; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details-grid { grid-template-columns: 1fr; gap: 4px; }
  .details-grid dd { margin-bottom: 16px; }
  .detail-panel { padding: 20px; }
  .title-row { flex-wrap: wrap; gap: 12px; }
  .message-panel { padding: 26px; margin: 28px auto; }
  .site-footer > div { flex-wrap: wrap; gap: 4px 12px; }
}
