:root {
  --paper: #f4f6f4; --surface: #fff; --ink: #1c2528; --muted: #6f7a7c; --line: #dce2df;
  --navy: #182a32; --blue: #2563eb; --green: #157458; --amber: #93641a; --red: #a43e39;
  --sans: Calibri, "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
}
* { box-sizing: border-box; } [hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { color: var(--ink); font: 15px/1.7 var(--sans); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; } button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px; }
.access-body { background-image: linear-gradient(rgba(24,42,50,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(24,42,50,.035) 1px, transparent 1px); background-size: 28px 28px; }
.access-shell { width: min(760px, calc(100% - 28px)); margin: 0 auto; padding: clamp(28px, 6vh, 62px) 0 42px; }
.access-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 24px 60px rgba(24,42,50,.14); }
.access-band { padding: 20px clamp(20px,4vw,32px) 23px; color: #fff; background: var(--navy); border-bottom: 4px solid #35505a; }
.access-brandline { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.access-mark { width: 38px; height: 42px; display: grid; place-items: center; color: var(--navy); background: #f8faf9; border-radius: 3px 3px 8px 3px; box-shadow: 5px 5px 0 #29424b; font: 700 20px/1 var(--serif); }
.access-brandline > div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.2; }
.access-brandline strong { font: 600 17px/1.3 var(--serif); }
.access-brandline small { margin-top: 4px; color: #b9c7ca; font: 9px/1 var(--mono); letter-spacing: .2em; }
.access-brandline a { padding: 6px 11px; color: #dfe8ea; border: 1px solid #5c747c; border-radius: 99px; font-size: 11px; text-decoration: none; }
.access-brandline a:hover { background: #29424b; }
.access-rail { margin-top: 24px; }
.rail-line { position: relative; height: 2px; margin: 0 12%; background: #486069; overflow: hidden; }
.rail-line i { display: block; width: 18%; height: 100%; background: #7eb5ff; transition: width .45s ease; }
.access-rail ol { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); margin: -10px 0 0; padding: 0; }
.access-rail li { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #8fa2a8; font-size: 11px; }
.access-rail b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); border: 2px solid #526a72; font: 8px/1 var(--mono); }
.access-rail li.is-done, .access-rail li.is-active { color: #fff; }
.access-rail li.is-done b { color: var(--navy); background: #7eb5ff; border-color: #7eb5ff; }
.access-rail li.is-active b { box-shadow: 0 0 0 5px rgba(126,181,255,.16); }
.access-content { padding: clamp(22px, 4vw, 34px); }
.access-kicker { margin: 0 0 7px; color: var(--blue); font: 700 10px/1 var(--mono); letter-spacing: .16em; }
.access-content h1 { margin: 0 0 8px; font: 600 clamp(23px,4vw,30px)/1.35 var(--serif); }
.access-lead { max-width: 56ch; margin: 0 0 24px; color: var(--muted); font-size: 13.5px; }
.access-form { display: grid; gap: 16px; }
.access-form label { display: grid; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 600; }
.access-form em { margin-left: 5px; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 400; }
.access-form input, .access-form textarea { width: 100%; padding: 10px 12px; color: var(--ink); background: #fbfcfb; border: 1px solid #bdc8c3; border-radius: 7px; resize: vertical; }
.access-form input:focus, .access-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.11); background: #fff; }
.access-form small { justify-self: end; color: var(--muted); font: 10px/1 var(--mono); }
.access-primary, .access-secondary { min-height: 42px; padding: 9px 18px; border: 1px solid transparent; border-radius: 7px; font-weight: 600; }
.access-primary { display: inline-flex; justify-content: center; align-items: center; gap: 12px; color: #fff; background: var(--blue); }
.access-primary:hover { background: #1d4ed8; } .access-primary:disabled { opacity: .55; cursor: progress; }
.access-secondary { color: var(--ink); background: #fff; border-color: #bdc8c3; }
.access-notice { margin: 0 0 18px; padding: 10px 13px; border: 1px solid #b9cff4; border-left: 4px solid var(--blue); border-radius: 6px; background: #edf4ff; color: #27549f; font-size: 13px; }
.access-notice.is-error { color: var(--red); background: #fbeceb; border-color: #e7b8b5; }
.access-result { padding: 18px 0 8px; text-align: center; }
.access-result h2 { margin: 13px 0 5px; font: 600 21px/1.4 var(--serif); }
.access-result p { margin: 0 auto; max-width: 42ch; color: var(--muted); font-size: 13px; }
.access-stamp { display: inline-block; padding: 6px 13px; color: var(--amber); background: #fbf2df; border: 1px solid #e3c98e; border-radius: 4px; font: 700 11px/1 var(--mono); letter-spacing: .15em; transform: rotate(-2deg); }
.access-stamp.is-approved { color: var(--green); background: #e8f5ef; border-color: #9cccb7; }
.access-stamp.is-rejected { color: var(--red); background: #fbeceb; border-color: #e7b8b5; }
.access-result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.access-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 28px 0 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.access-identity div { padding: 10px 13px; min-width: 0; background: #f8faf8; }
.access-identity div + div { border-left: 1px solid var(--line); }
.access-identity dt { color: var(--muted); font-size: 10px; }
.access-identity dd { margin: 2px 0 0; font: 600 12px/1.5 var(--mono); overflow-wrap: anywhere; }
.access-foot { margin: 16px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
@media (max-width: 560px) {
  .access-shell { width: min(100% - 18px, 760px); padding-top: 10px; }
  .access-band { padding: 16px 15px 19px; }
  .access-brandline { grid-template-columns: auto 1fr; }
  .access-brandline a { grid-column: 1 / -1; justify-self: end; margin-top: -4px; }
  .access-identity { grid-template-columns: 1fr; }
  .access-identity div + div { border-left: 0; border-top: 1px solid var(--line); }
  .access-result-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
