:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182337; background: #f5f7fb; font-synthesis: none;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  --muted: #627086; --line: #e0e6f0; --accent: #5146d9;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 3px solid #a79ff1; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 48px, 1040px); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; font-size: 16px; letter-spacing: -.4px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: #27334a; font-size: 17px; font-weight: 600; letter-spacing: -1.5px; }
.header-note, .header-link { color: var(--muted); font-size: 13px; }
.header-link:hover { color: var(--accent); }
.landing { min-height: 62vh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 72px; padding: 72px 0 96px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; }
h1 { margin: 0; font-size: clamp(38px, 4.5vw, 56px); line-height: 1.08; font-weight: 650; letter-spacing: -2.2px; }
.lead { margin: 24px 0 32px; max-width: 320px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 46px; padding: 12px 19px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s; }
.button-primary { color: white; background: var(--accent); }
.button-primary:hover:not(:disabled) { background: #4236c5; }
.button-secondary { color: #34435d; background: #fff; border-color: var(--line); }
.button-secondary:hover:not(:disabled) { background: #eef1f7; border-color: #bdc8d9; }
.button-danger { color: #a73545; background: #fff; border-color: #ead5d9; }
.button-danger:hover:not(:disabled) { background: #fff3f4; }
.access-note { margin: 13px 0 0; font-size: 12px; color: var(--muted); }
.status-card { padding: 29px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 40px #22315006; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-topline h2 { margin: 0; font-size: 13px; font-weight: 550; color: var(--muted); }
.status-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: #b7c0cf; box-shadow: 0 0 0 5px #f2f4f8; }
.status-dot.is-ready { background: #278460; box-shadow: 0 0 0 5px #ebf6ef; }
.status-dot.is-waiting { background: #bb8327; box-shadow: 0 0 0 5px #fdf5e7; }
.status-dot.is-offline { background: #bc4d5c; box-shadow: 0 0 0 5px #fbeced; }
.status-heading { margin: 32px 0 11px; font-size: 27px; letter-spacing: -.8px; font-weight: 600; }
.muted { color: var(--muted); }
.status-description { min-height: 48px; margin: 0; line-height: 1.7; font-size: 14px; }
.status-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.text-button { padding: 5px 0; border: 0; background: none; color: var(--accent); font-size: 12px; font-weight: 600; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }
.review { padding: 48px 0 64px; }
.review-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.review h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.4px; }
.review .eyebrow { margin-bottom: 13px; }
.review-intro { color: var(--muted); line-height: 1.7; max-width: 650px; margin: 20px 0 32px; }
.feedback { font-size: 14px; color: #306b54; line-height: 1.6; margin: 16px 0; }
.feedback:empty { display: none; }
.feedback.is-error { color: #a73545; background: #fff4f4; border: 1px solid #efd4d9; border-radius: 9px; padding: 13px 16px; }
.list-heading { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 16px; }
.list-heading h2 { font-size: 14px; margin: 0; font-weight: 600; }
.list-heading span { font-size: 12px; }
.request-list { display: grid; gap: 16px; }
.request-card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.request-card.is-actionable { border-color: #bdb6ef; box-shadow: 0 0 0 1px #dfd9ff66; }
.request-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.request-heading h3 { margin: 0; font-size: 19px; letter-spacing: -.5px; overflow-wrap: anywhere; }
.request-version { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.badge { display: inline-block; white-space: nowrap; padding: 6px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; background: #f0f3f8; color: #52627c; }
.badge-awaiting_confirmation { color: #5841ae; background: #f0ebff; }
.badge-pending { color: #9b6b1e; background: #fff5df; }
.badge-approved, .badge-consumed { color: #306b54; background: #eaf6ef; }
.badge-denied, .badge-failed { color: #a73545; background: #fcecef; }
.request-note { margin: 18px 0 22px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.request-fields div { min-width: 0; }
dt { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.request-id { grid-column: 1 / -1; }
.request-id dd { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.7; }
.request-actions { display: flex; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.empty-state { padding: 38px 24px; text-align: center; border: 1px dashed #d2dbe9; border-radius: 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.history { margin-top: 32px; }
.history summary { cursor: pointer; padding: 12px 0; font-size: 13px; font-weight: 550; }
.history summary span { margin-left: 8px; font-weight: 400; }
.history[open] summary { margin-bottom: 10px; }
@media (max-width: 700px) {
  .shell { width: min(100% - 36px, 540px); }
  .site-header { padding: 24px 0; }
  .brand { font-size: 14px; gap: 10px; }
  .header-note { font-size: 11px; }
  .landing { grid-template-columns: 1fr; gap: 42px; padding: 52px 0 60px; min-height: auto; }
  h1 { font-size: 43px; letter-spacing: -1.7px; }
  .lead { margin-top: 20px; }
  .status-card { padding: 24px; }
  .site-footer { flex-direction: column; gap: 5px; }
  .review { padding-top: 30px; }
  .review-heading { align-items: flex-start; gap: 12px; }
  .review-heading .button { min-height: 38px; padding: 10px 12px; font-size: 12px; }
  .review h1 { font-size: 32px; }
  .header-link { font-size: 11px; }
  .request-card { padding: 21px; }
  .request-heading { flex-wrap: wrap; gap: 12px; }
  .request-fields { gap: 18px; }
  .request-actions .button { padding-left: 13px; padding-right: 13px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
