:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; background: #f4f6fa; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
header { color: white; background: #0d1b3d; }
.header-inner { max-width: 1120px; margin: 0 auto; padding: 44px 22px 38px; }
header h1 { margin: 5px 0 8px; font-size: clamp(32px, 6vw, 54px); line-height: 1.05; }
.lede { max-width: 720px; margin: 0; color: #dce3f1; font-size: 17px; }
.eyebrow, .section-kicker { margin: 0 0 7px; color: #9b7410; font-weight: 850; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
header .eyebrow { color: #e0b948; }
main { max-width: 1120px; margin: 0 auto; padding: 22px 18px 64px; }
.status-bar { display: flex; gap: 11px; align-items: center; padding: 15px 17px; background: white; border: 1px solid #e1e6ef; border-radius: 14px; box-shadow: 0 8px 28px #12203e0d; }
.release-lock { margin-left: auto; color: #8a3342; font-size: 13px; font-weight: 700; }
#status-dot { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: #d4a017; }
#status-dot.ready { background: #198754; }
.panel, .hub-card { background: white; border: 1px solid #e1e6ef; border-radius: 17px; box-shadow: 0 6px 20px #12203e08; }
.panel { margin-top: 20px; padding: 22px; }
.auth-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 24px; align-items: start; }
.auth-controls { display: grid; gap: 11px; }
label { display: grid; gap: 6px; color: #4f5b6e; font-size: 13px; font-weight: 700; }
input { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cbd3e0; border-radius: 10px; background: white; color: #172033; }
button { min-height: 44px; border: 0; border-radius: 10px; padding: 11px 16px; color: white; background: #0d1b3d; font-weight: 780; cursor: pointer; }
button.secondary { color: #0d1b3d; background: #edf1f7; }
button.ghost { color: #5b6578; background: transparent; border: 1px solid #cfd6e2; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #d5aa2f; outline-offset: 2px; }
details { grid-column: 1 / -1; color: #596477; }
details summary { cursor: pointer; font-weight: 750; }
.founder-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.founder-overview h2, .hub-card h2, .records-panel h2, .auth-panel h2 { margin: 0 0 8px; }
.overview-metrics { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); gap: 10px; }
.overview-metrics div { min-width: 100px; padding: 13px; border-radius: 13px; background: #f5f7fb; }
.overview-metrics span { display: block; color: #677286; font-size: 12px; font-weight: 700; }
.overview-metrics strong { display: block; margin-top: 3px; font-size: 27px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.hub-card { padding: 20px; }
.hub-card:nth-child(5) { grid-column: 1 / -1; }
.state { margin: 12px 0 5px; font-size: 20px; font-weight: 820; }
.muted { color: #657084; line-height: 1.5; }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.test-link { display: inline-block; margin-top: 13px; color: #0d467b; font-weight: 780; }
.records-heading { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.records { margin-top: 12px; }
.records div { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(130px, .7fr) auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e3e7ee; align-items: center; }
.records div:last-child { border-bottom: 0; }
.records span { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #586174; overflow-wrap: anywhere; }
.records em { color: #735600; font-style: normal; font-size: 13px; font-weight: 750; }
.notice { min-height: 22px; color: #8a3342; font-weight: 650; }
#workspace-notice { margin: 14px 2px 0; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .header-inner { padding: 34px 18px 30px; }
  main { padding: 16px 12px 48px; }
  .status-bar { align-items: flex-start; flex-wrap: wrap; }
  .release-lock { width: 100%; margin-left: 22px; }
  .auth-panel, .founder-overview { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card:nth-child(5) { grid-column: auto; }
  .overview-metrics { grid-template-columns: repeat(3, 1fr); }
  .overview-metrics div { min-width: 0; }
  .records-heading { align-items: flex-start; flex-direction: column; }
  .records div { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 430px) {
  .panel, .hub-card { border-radius: 14px; padding: 17px; }
  .overview-metrics { grid-template-columns: 1fr; }
  .overview-metrics div { display: flex; align-items: center; justify-content: space-between; }
  .overview-metrics strong { font-size: 24px; }
  .action-row { display: grid; grid-template-columns: 1fr; }
  .action-row button { width: 100%; }
}
