@font-face {
  font-family: Geist;
  src: url("/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --hub-ink: #172a23;
  --hub-muted: #4d6158;
  --hub-bg: #f2f5ef;
  --hub-green: #23563e;
  --hub-line: #d0dad0;
  --hub-font: Geist, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --hub-mono: "Geist Mono", ui-monospace, monospace;
}
.hub-auth, .hub-console {
  font-family: var(--hub-font);
  font-variant-numeric: tabular-nums;
}
.hub-auth {
  margin: 0;
  min-height: 100vh;
  color: var(--hub-ink);
  background: var(--hub-bg);
  font-size: 15px;
  line-height: 1.65;
}
.hub-auth *, .hub-auth *::after, .hub-auth *::before { box-sizing: border-box; }
.auth-header {
  max-width: 1216px;
  margin: auto;
  padding: 28px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hub-wordmark { color: var(--hub-ink); text-decoration: none; font-size: 32px; font-weight: 780; letter-spacing: -.095em; line-height: 1; }
.hub-wordmark span { color: #457b4e; margin-left: 2px; }
.hub-back { color: var(--hub-green); font-weight: 650; text-underline-offset: 4px; }
.login-layout, .account-layout { width: min(1136px, calc(100% - 64px)); margin: 36px auto 64px; }
.login-layout { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 520px; border: 1px solid var(--hub-line); border-radius: 26px; overflow: hidden; background: #fff; }
.login-intro { background: #17392d; color: #f5f8ee; position: relative; overflow: hidden; padding: clamp(34px, 6vw, 72px); }
.login-intro h1, .account-title h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 740; letter-spacing: -.075em; line-height: 1.12; margin: 9px 0 12px; }
.login-intro h1 span { color: #d7ec9a; }
.login-intro p { color: #d4e2d8; font-size: clamp(15px, 2vw, 19px); margin: 0; }
.court-art {
  position: absolute; bottom: -37px; left: 11%;
  width: min(72%, 355px); aspect-ratio: 1.52;
  transform: rotate(-11deg);
  border: 1px solid #9dbda6;
  background: linear-gradient(to right, transparent 49.7%, #9dbda6 49.7% 50.3%, transparent 50.3%),
              linear-gradient(to bottom, transparent 49.7%, #9dbda6 49.7% 50.3%, transparent 50.3%);
}
.court-art::before { content: ""; position: absolute; inset: 16% 22%; border: 1px solid #9dbda6; }
.court-art span { width: 34px; height: 34px; border: 1px solid #eef7d2; border-radius: 50%; position: absolute; right: 6%; top: -17px; background: #cce389; box-shadow: 0 10px 24px #0e281c77; }
.auth-panel { background: #fff; padding: clamp(24px, 4.8vw, 56px); }
.login-layout .auth-panel { align-content: center; }
.auth-panel h2 { color: var(--hub-ink); font-size: clamp(24px, 3vw, 33px); font-weight: 720; letter-spacing: -.05em; line-height: 1.2; margin: 0 0 10px; }
.auth-panel p { color: var(--hub-muted); margin: 0 0 24px; }
.auth-panel form { display: grid; gap: 16px; }
.auth-panel label { display: grid; gap: 7px; font-size: 14px; font-weight: 640; }
.auth-panel label[hidden] { display: none; }
.auth-panel input {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border-radius: 9px; border: 1px solid #aabbb0; background: #fafcf9;
  color: var(--hub-ink); font: inherit; font-weight: 480; font-size: 16px;
}
.hub-primary, .hub-secondary {
  cursor: pointer; font: inherit; font-weight: 680; min-height: 44px;
  padding: 9px 16px; border-radius: 9px; border: 1px solid var(--hub-green);
  display: inline-flex; gap: 10px; justify-content: center; align-items: center;
}
.hub-primary { color: #fff; background: var(--hub-green); }
.hub-primary:hover { background: #18472f; }
.hub-secondary { background: #fff; color: var(--hub-green); }
.hub-secondary:hover { background: #eaf0e8; }
.hub-auth :focus-visible, .hub-console :focus-visible { outline: 3px solid #337071; outline-offset: 3px; }
.auth-panel .hub-error, .hub-error { color: #852921; background: #fcedea; padding: 10px 14px; border-radius: 8px; }
.hub-command, .hub-token { font-family: var(--hub-mono); }
.hub-command { border: 1px solid var(--hub-line); background: #f1f5ef; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 8px; font-size: 13px; }
.auth-panel .hub-token { font-family: var(--hub-mono); font-size: 13px; }
.account-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.account-title h1 { font-size: clamp(28px, 5vw, 50px); margin: 4px 0; }
.account-name, .auth-panel .hub-badge { font-family: var(--hub-mono); font-weight: 550; color: var(--hub-green); }
.account-name { margin: 0; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.account-grid .auth-panel { border: 1px solid var(--hub-line); border-radius: 18px; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hub-console .masthead { background: #112e24; }
.hub-console main.shell { padding-block-start: 22px; }
.hub-console .hero { display: none; }
.hub-console .masthead-title { display: none; }
.hub-console .stats strong, .hub-console .slot-option, .hub-console .calendar, .hub-console .step-line b { font-variant-numeric: tabular-nums; }
.hub-console .time-toolbar, .hub-console .stat small, .hub-console td time { font-family: var(--hub-mono), var(--hub-font); }
.hub-console .local-label a { color: inherit; text-decoration: none; font-weight: 650; }
.hub-console .local-label a:hover { text-decoration: underline; }
.hub-console .card-heading h2 { font-weight: 730; letter-spacing: -.035em; }
.hub-console .stats .stat-note { color: #3e584c; }
.hub-console #device-guidance { margin: 0 0 16px; }
.hub-console #device-guidance .booking-entry { display: inline-flex; margin-top: 8px; font-weight: 650; }
.hub-console #device-guidance .booking-entry[hidden] { display: none; }
@media (max-width: 760px) {
  .login-layout, .account-layout { width: calc(100% - 32px); margin-top: 10px; }
  .login-layout, .account-grid { grid-template-columns: 1fr; }
  .login-intro { min-height: 195px; padding: 28px; }
  .court-art { left: auto; right: -60px; bottom: -100px; width: 215px; opacity: .55; }
  .login-intro h1, .login-intro p { position: relative; z-index: 1; }
  .auth-panel { padding: 28px 22px; }
  .account-title { align-items: flex-start; }
}

.hub-console {
  --muted: #566758;
  font-size: 15px;
}
.hub-console .masthead .brand { color: #f5f8ee; }
.hub-console .masthead .brand small { color: #c9dbcc; font-size: 11px; letter-spacing: .08em; }
.hub-console .masthead .brand-dot { color: #bddd86; }
.hub-console .local-label { color: #e5f0e3; font-size: 13px; }
.hub-console .local-label a { border: 1px solid #587867; border-radius: 8px; padding: 9px 12px; }
.hub-console .nav { background: #c7df97; }
.hub-console .tab { font-size: 14px; }
.hub-console .card-heading h2 { font-size: 20px; }
.hub-console .stat-label, .hub-console .stat-note,
.hub-console .card-heading p, .hub-console .hint, .hub-console .field-note,
.hub-console .summary-row, .hub-console .automation-item small, .hub-console .automation-foot {
  color: #526451;
  font-size: 12px;
}
.hub-console .summary-row .summary-key { color: #526451; }
.hub-console .step { display: none; }
.hub-console .slot-choice {
  color: #294637;
  min-height: 44px;
  font-size: 13px;
  font-weight: 510;
}
.hub-console .slot-choice.selected { border-color: #739262; background: #eaf2e3; color: #1c5033; }
.hub-console .slot-choice input { width: 16px; height: 16px; }
.hub-console .calendar-axis { color: #566a54; font-size: 10px; font-family: var(--hub-mono); }
.hub-console .calendar-caption, .hub-console .side-note { color: #536550; font-size: 12px; }
.hub-console .table-wrap td { font-size: 13px; }
.hub-console .run-time { font-family: var(--hub-mono); }
@media (max-width: 560px) {
  .hub-console .masthead .brand small { font-size: 10px; }
  .hub-console .local-label a { padding: 6px 8px; }
  .hub-console .stats { gap: 0; }
  .hub-console .stat-label, .hub-console .stat-note { font-size: 11px; }
  .hub-console .tab { font-size: 13px; }
  .hub-console .field-note, .hub-console .hint { font-size: 11px; }
  .hub-console .table-wrap table { display: block; min-width: 0; }
  .hub-console .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hub-console .table-wrap tbody { display: block; }
  .hub-console .table-wrap tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; padding: 12px 18px; gap: 3px 9px; border-top: 1px solid var(--line); }
  .hub-console .table-wrap td { display: block; border: 0; padding: 0; white-space: normal; }
  .hub-console .table-wrap td:nth-child(4) { grid-column: 1; min-width: 0; }
  .hub-console .table-wrap td:nth-child(6) { justify-self: end; }
}
