:root {
  color-scheme: light;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #202820;
  background: #faf8ef;
  --md-sys-color-primary: #163b30;
  --md-sys-color-on-primary: #fff;
  --md-sys-color-primary-container: #dce9de;
  --md-sys-color-on-primary-container: #163b30;
  --md-sys-color-secondary-container: #dce9de;
  --md-sys-color-on-secondary-container: #163b30;
  --md-sys-color-surface: #faf8ef;
  --md-sys-color-surface-container: #eeeee3;
  --md-sys-color-surface-container-high: #e9e9de;
  --md-sys-color-surface-container-highest: #e3e4d9;
  --md-sys-color-surface-container-low: #f4f2e9;
  --md-sys-color-on-surface: #202820;
  --md-sys-color-on-surface-variant: #58645a;
  --md-sys-color-outline: #788579;
  --md-sys-color-outline-variant: #cbd0c3;
  --md-sys-color-error: #ba1a1a;
  --md-sys-color-inverse-surface: #28352d;
  --md-sys-color-inverse-on-surface: #f4f2e9;
  --md-sys-typescale-body-large-font: 'Plus Jakarta Sans';
  --md-sys-typescale-body-medium-font: 'Plus Jakarta Sans';
  --md-sys-typescale-body-small-font: 'Plus Jakarta Sans';
  --md-sys-typescale-label-large-font: 'Plus Jakarta Sans';
  --md-sys-typescale-label-medium-font: 'Plus Jakarta Sans';
  --md-sys-typescale-label-small-font: 'Plus Jakarta Sans';
  --md-sys-typescale-headline-small-font: 'Plus Jakarta Sans';
  --md-icon-font: 'Material Symbols Rounded';
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
md-icon { flex: none; }
header { position: sticky; top: 0; z-index: 5; min-height: 80px; padding: 16px 24px; display: flex; align-items: center; gap: 12px; background: #163b30; color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-size: 26px; font-weight: 700; white-space: nowrap; }
.brand small { font-size: 16px; font-weight: 500; color: #c0d3c4; }
.brand-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: #34594b; }
.brand-icon md-icon { --md-icon-size: 28px; }
.env { font-size: 12px; padding: 5px 10px; border-radius: 8px; background: #34594b; }
.grow { flex: 1; }
#signout { --md-sys-color-on-surface-variant: #fff; --md-sys-color-outline: #648374; }
main { max-width: 1160px; margin: auto; padding: 32px 24px 112px; }
h1 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.25; letter-spacing: -1px; }
h2 { font-size: 24px; font-weight: 600; margin: 0; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { line-height: 1.6; }
.eyebrow { font-size: 12px; font-weight: 700; color: #997323; letter-spacing: 1.5px; text-transform: uppercase; }
.page-head { margin-bottom: 28px; }
.row, .between { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #e4e6d9; color: #435d4d; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge.requested, .badge.queued, .badge.provisioning { background: #f4e6ba; color: #775819; }
.badge.failed, .badge.rejected { background: #ffdad6; color: #93000a; }
.badge.ready { background: #dce9de; }
.toolbar { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
md-chip-set { --md-filter-chip-container-shape: 999px; --md-filter-chip-container-height: 40px; --md-filter-chip-label-text-size: 14px; }
.search-bar { display: flex; align-items: center; gap: 12px; width: 340px; min-height: 56px; border-radius: 28px; padding: 4px 8px 4px 20px; background: var(--md-sys-color-surface-container-high); }
.search-bar:focus-within { outline: 2px solid var(--md-sys-color-primary); outline-offset: 2px; }
.search-bar input { border: 0; background: none; outline: none; width: 100%; min-width: 0; color: inherit; font-size: 16px; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-bar md-icon { color: #58645a; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
md-filled-card { --md-filled-card-container-color: #eeeee3; --md-filled-card-container-shape: 24px; }
.card { position: relative; display: block; width: 100%; border: 0; padding: 24px; background: transparent; color: inherit; text-align: left; border-radius: 24px; }
.card:hover { background: #163b3008; }
.card:focus-visible { outline: 2px solid #163b30; outline-offset: -3px; }
.card p { margin: 0; font-size: 13px; color: #58645a; overflow-wrap: anywhere; }
.card footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.card small { font-size: 12px; color: #58645a; text-align: right; }
.fab { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); right: max(24px, calc((100vw - 1160px) / 2)); z-index: 4; --md-fab-container-color: #dce9de; }
.empty, .loading { text-align: center; padding: 64px 16px; }
.empty > md-icon { --md-icon-size: 48px; margin-bottom: 20px; color: #58645a; }
.muted, .hint { color: #58645a; }
.hint { font-size: 12px; margin: 0; line-height: 1.6; }
.auth { max-width: 440px; margin: 28px auto; }
.form { display: grid; gap: 20px; padding-top: 4px; }
md-outlined-text-field, md-outlined-select { width: 100%; min-width: 0; --md-outlined-text-field-container-shape: 12px; --md-outlined-select-container-shape: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.5; }
md-checkbox { flex: none; }
.error { color: #ba1a1a; font-size: 13px; margin: 0; }
.auth-links { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
md-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); --md-dialog-container-color: #f4f2e9; --md-dialog-container-shape: 28px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; }
.dialog-head h2 { font-size: 24px; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.dialog-head .close { flex: none; }
#dialog-actions:empty { display: none; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; overflow-wrap: anywhere; }
.detail-grid label { display: block; font-size: 12px; color: #58645a; margin-bottom: 8px; }
.notice { background: #e4e6d9; padding: 16px; border-radius: 16px; font-size: 13px; }
.steps { padding: 0; list-style: none; display: grid; gap: 16px; font-size: 14px; }
.steps li { display: flex; align-items: center; gap: 12px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.danger { --md-sys-color-primary: #ba1a1a; }
#snackbar { position: fixed; z-index: 20; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 16px; width: max-content; max-width: calc(100vw - 32px); padding: 8px 8px 8px 16px; border-radius: 4px; background: #28352d; color: #f4f2e9; box-shadow: 0 3px 6px #0003; font-size: 14px; }
#snackbar md-icon-button { --md-sys-color-on-surface-variant: #f4f2e9; flex: none; }
@media (max-width: 650px) {
  header { padding: 12px 16px; min-height: 72px; gap: 8px; }
  .brand { gap: 10px; font-size: 23px; }
  .brand small { font-size: 13px; }
  .brand-icon { width: 40px; height: 40px; }
  .brand-icon md-icon { --md-icon-size: 26px; }
  .env { padding: 4px 7px; font-size: 10px; }
  main { padding: 28px 16px 104px; }
  .page-head { align-items: flex-start; gap: 8px; }
  .page-head .badge { font-size: 9px; padding: 6px 8px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  md-chip-set { --md-filter-chip-label-text-size: 13px; }
  .search-bar { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}
@media (max-width: 350px) {
  .brand { font-size: 20px; gap: 6px; }
  .brand small { font-size: 11px; }
  header { padding-inline: 12px; }
  .page-head { flex-direction: column; }
}
