@font-face {
  font-family: 'Open Sans';
  src: url('/_pin/assets/fonts/OpenSans.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
:root {
  --blueberry: #1c4c62;
  --ocean: #00829b;
  --ink: #203b48;
  --muted: #617580;
  --border: #dfe6ea;
  --surface: #f4f7f9;
  --danger: #a12d32;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #faf8f5; color: var(--ink); font: 14px/1.55 'Open Sans', Arial, sans-serif; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--blueberry); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 650; }
h1 { font-size: 30px; }
h2 { font-size: 18px; }
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 { touch-action: manipulation; }
a:focus-visible, button:focus-visible, pre:focus-visible { outline: 3px solid #48a7bb; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 10; background: white; padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--blueberry); color: white; border-bottom: 3px solid #86cacd; }
.header-inner { width: min(1480px, calc(100% - 48px)); margin: auto; padding: 8px 0; display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand-link { display: flex; flex-shrink: 0; }
.brand-logo { width: 110px; height: 55px; object-fit: contain; }
.header-title { display: flex; align-items: center; font-weight: 600; font-size: 17px; }
.account-actions { margin-left: auto; display: flex; gap: 20px; align-items: center; font-size: 12px; }
.account-name { color: #d4e2e9; }
.logout-button { padding: 8px 0; border: 0; background: transparent; color: white; white-space: nowrap; min-height: 44px; }
.logout-button:hover { text-decoration: underline; }
.subnav { background: white; border-bottom: 1px solid var(--border); }
.nav-inner { width: min(1480px, calc(100% - 48px)); margin: auto; display: flex; gap: 28px; align-items: center; min-height: 48px; }
.subnav a { color: var(--muted); font-weight: 600; text-decoration: none; font-size: 13px; padding: 14px 0 11px; border-bottom: 3px solid transparent; }
.subnav a[aria-current] { color: var(--blueberry); border-bottom-color: var(--ocean); }
.local-badge { margin-left: auto; border: 1px solid var(--border); background: var(--surface); border-radius: 5px; padding: 3px 8px; color: var(--muted); font-size: 12px; }
.page-shell { width: min(1480px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 56px; flex: 1; }
.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; padding: 8px 13px; border: 1px solid transparent; border-radius: 6px; font-weight: 600; text-decoration: none; line-height: 1.3; }
.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: var(--danger); border-color: #d6aeb0; background: white; }
.danger-button:hover { background: #fff1f1; }
.refresh-status { color: var(--muted); font-size: 12px; min-height: 20px; margin-bottom: 10px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f4f7f9; }
th, td { padding: 18px; vertical-align: top; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
td { min-width: 140px; }
td:first-child { min-width: 230px; }
td:last-child { min-width: 255px; max-width: 310px; }
.app-name { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--blueberry); }
.cell-note { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.status { display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 650; border-radius: 99px; background: #edf1f4; color: #4f6672; margin-bottom: 6px; }
.status[data-state=active] { background: #e7f5eb; color: #23663b; }
.status[data-state=failed] { background: #ffeded; color: #a12d32; }
.status[data-state=activating], .status[data-state=deactivating] { background: #fff5d1; color: #775b00; }
.metric { display: block; margin-bottom: 10px; font-weight: 600; white-space: nowrap; }
.metric .cell-note { font-weight: 400; }
.row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.row-actions form { display: inline-flex; }
.row-actions .button { font-size: 11px; padding: 7px 10px; min-height: 34px; }
.action-feedback { display: block; flex-basis: 100%; font-size: 12px; overflow-wrap: anywhere; }
.action-feedback:empty { display: none; }
.detail-link { display: block; font-size: 12px; margin-top: 12px; }
.deployment-error { display: block; color: var(--danger); font-size: 12px; max-width: 300px; overflow-wrap: anywhere; }
.empty-inline { padding: 32px; }
.empty-inline h2 { margin-bottom: 10px; }
.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; }
.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 { border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.site-footer > div { width: min(1480px, calc(100% - 48px)); margin: auto; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; }
@media (max-width: 760px) {
  .header-inner, .nav-inner, .page-shell, .site-footer > div { width: calc(100% - 32px); }
  .header-inner { gap: 16px; }
  .header-title { font-size: 14px; }
  .account-name { display: none; }
  .account-actions { gap: 8px; }
  .brand-logo { width: 100px; height: 50px; }
  .intro { align-items: flex-start; }
  .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; }
  .local-badge { font-size: 10px; }
  .nav-inner { gap: 18px; }
  .message-panel { padding: 26px; margin: 28px auto; }
  .site-footer > div { flex-wrap: wrap; gap: 4px; }
}
