:root { color-scheme: light; --ink: #13203a; --muted: #505d75; --blue: #2449d4; --dark: #1735ac; --line: #dbe2ee; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: #f4f6fa; color: var(--ink); margin: 0; font: 1rem/1.6 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; letter-spacing: -.035em; }
h2 { font-size: 1.2rem; }
button, input { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid #446bfa; outline-offset: 3px; }
.shell { width: min(100% - 48px, 1060px); margin-inline: auto; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.brand { min-height: 65px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--dark); }
main { padding-block: 38px 58px; }
.card { padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.access { width: min(100%, 440px); margin: clamp(20px, 9vw, 110px) auto; }
.access h1 { font-size: 1.65rem; }
.support { color: var(--muted); margin-top: 7px; }
form { display: grid; gap: 9px; margin-top: 18px; }
label { font-weight: 650; font-size: .9rem; }
input { min-width: 0; min-height: 43px; padding: 8px 10px; border: 1px solid #bdc9de; border-radius: 8px; }
.primary { min-height: 43px; margin-top: 4px; color: #fff; background: var(--blue); border: 0; border-radius: 8px; font-weight: 650; }
.primary:hover { background: var(--dark); }
.error { margin-top: 13px; padding: 8px 10px; border-radius: 8px; background: #ffeff0; color: #822037; overflow-wrap: anywhere; }
.page-heading, .view-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-heading { margin-bottom: 24px; }
.quiet, .view-switch button { color: var(--dark); background: transparent; border: 0; border-radius: 7px; padding: 7px 9px; white-space: nowrap; }
.quiet:hover { background: #e9efff; }
.view-switch { display: flex; border-radius: 9px; padding: 2px; background: #edf2fc; white-space: nowrap; }
.view-switch button[aria-pressed=true] { color: #fff; background: var(--blue); }
.stage { display: grid; place-items: center; margin-top: 12px; background: #eef2f8; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.stage img, .stage svg { display: block; width: 100%; height: clamp(270px, 64vh, 600px); object-fit: contain; }
.stage svg { padding: 10px; }
.floor-base { fill: #fff; }
.zone { cursor: pointer; }
.zone polygon { fill: #e9effd; }
.zone:nth-of-type(even) polygon { fill: #f5f7ff; }
.zone:hover polygon, .zone:focus-visible polygon { fill: #c8d8ff; }
.zone[aria-pressed=true] polygon { fill: #89a1fa; }
.zone text, .north-text { fill: #16305a; font-size: .43px; font-weight: 650; pointer-events: none; }
.wall { stroke: #354c70; stroke-width: .086; }
.wall.opening { stroke: #9cacc9; stroke-width: .048; stroke-dasharray: .10 .115; }
.walls { pointer-events: none; }
.guide { margin-top: 16px; }
.guide summary { font-size: 1.1rem; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 25px; margin-block: 14px 9px; padding-inline-start: 25px; }
.steps li::marker { color: var(--dark); font-weight: 700; }
.steps p, .guide .support { color: var(--muted); font-size: .9rem; }
.upload-callout { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.upload-action { display: inline-grid; place-items: center; flex: 0 0 auto; margin: 0; padding: 6px 16px; text-decoration: none; }
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .card { padding: 15px; }
  main { padding-top: 25px; }
  .page-heading { align-items: flex-start; }
  .stage img, .stage svg { height: clamp(235px, 66vw, 360px); }
  .steps { grid-template-columns: 1fr; }
  .upload-callout { flex-direction: column; align-items: stretch; gap: 12px; }
}
