/* VMS public pages — "Concierge" layout in the Uflow logo colours: cyan #00B9E5, slate #4D565C, black */
:root {
  color-scheme: light;
  --dark: #1e2428; --dark-2: #15191c; --dark-3: #2e373d; --dark-l: #e8eef1;
  --accent: #00b9e5; --accent-l: #9fe3f5; --accent-d: #007ba3; --accent-xl: #e6f7fc;
  --bg: #f2f5f7; --paper: #fcfdfe; --mist: #e7ecef;
  --ink: #111518; --ink-2: #384147; --muted: #5e686f; --line: #dde3e7; --line-2: #c9d2d8;
  --ok: #2f7a57; --ok-l: #e6f2ea; --bad: #b3412e; --bad-l: #f9e9e4; --warn: #9a6210; --warn-l: #f8edd7; --info: #00739a; --info-l: #e3f5fb;
  --r: 18px; --r-lg: 26px;
  --shadow: 0 1px 2px rgba(17,21,24,.05), 0 12px 32px -16px rgba(17,21,24,.18);
  --shadow-lg: 0 34px 70px -34px rgba(17,21,24,.55);
  --ring: 0 0 0 4px rgba(0,185,229,.28);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --linen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .22 0 0 0 0 .26 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --weave: repeating-linear-gradient(135deg, rgba(0,185,229,.09) 0 1px, transparent 1px 14px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { font-family: var(--sans); color: var(--ink); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; background: var(--linen), var(--bg); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
::selection { background: var(--accent-l); }
a { color: inherit; }
code { font-family: var(--mono); font-size: .88em; background: var(--accent-xl); color: var(--accent-d); padding: 1px 6px; border-radius: 6px; }
.ic { width: 18px; height: 18px; flex-shrink: 0; }
.ic-lg { width: 28px; height: 28px; }
.ic-xl { width: 56px; height: 56px; }
small { font-size: 12px; color: var(--muted); }
.center { text-align: center; }
.upper { text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; color: var(--accent-d); }
.kicker.lines::before, .kicker.lines::after { content: ''; width: 28px; height: 1px; background: var(--accent); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* Utility bar + header */
.utility { background: var(--dark-2); color: #cfd7dc; font-size: 12.5px; }
.utility-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-l { letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-r { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.utility-r [data-greet] { color: var(--accent-l); font-family: var(--serif); font-style: italic; font-size: 13.5px; }
.utility-r b { color: #fff; font-weight: 600; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.utility .sep { width: 1px; height: 12px; background: rgba(159,227,245,.35); }
@media (max-width: 640px) { .utility-l, .utility-r [data-date], .utility-r [data-date] + .sep { display: none; } .utility-in { justify-content: flex-end; } }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(252,253,254,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent); opacity: .5; }
.hdr-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand img { height: 40px; width: auto; display: block; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; padding-left: 14px; border-left: 1px solid var(--line-2); }
.brand b { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--dark); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { font-size: 10.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--accent-d); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 14px; white-space: nowrap; transition: color .15s; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover { color: var(--dark); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--dark); }
.nav-toggle { display: none; background: var(--dark); border: 0; border-radius: 12px; color: #fff; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ic { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; background: var(--paper); padding: 10px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav a { padding: 13px 14px; border-radius: 12px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a.active { background: var(--accent-xl); }
  body.nav-open .nav { display: flex; animation: rise .18s ease-out; }
}
@media (max-width: 440px) { .brand span { display: none; } }

/* Layout */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 40px 20px 64px; flex: 1; }
.wrap.narrow { max-width: 620px; }
.wrap.mid { max-width: 1000px; }
.wrap.form-wrap { max-width: 1120px; }
@media (max-width: 640px) { .wrap { padding: 26px 16px 48px; } }
.page-title { margin: 0 0 28px; animation: rise .5s ease-out both; }
.page-title h1 { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 48px); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; color: var(--dark); margin-top: 10px; }
.page-title p { color: var(--muted); margin-top: 10px; font-size: 15.5px; max-width: 620px; }
.page-head { margin: 0 0 24px; }
.page-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ftr { background: var(--dark-2); color: #b8c2c8; margin-top: auto; position: relative; }
.ftr::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.ftr-in { max-width: 1180px; margin: 0 auto; padding: 26px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.ftr-brand b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; color: #fff; }
.ftr-brand span { font-size: 12px; color: #8e9aa1; }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; animation: rise .5s ease-out both; }
.card-hd { padding: 20px 26px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.card-hd.slim { padding: 16px 24px; justify-content: space-between; }
.card-hd .ic-wrap { width: 50px; height: 50px; border-radius: 50%; background: var(--dark); color: var(--accent-l); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 4px var(--accent-xl); }
.card-hd h1 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--dark); line-height: 1.15; }
.card-hd h2 { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--dark); }
.card-hd p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.card-bd { padding: 24px 26px; }
@media (max-width: 640px) { .card-hd { padding: 16px 18px; } .card-bd { padding: 18px; } }

/* Forms */
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.grid.one { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid:not(.one) { grid-template-columns: 1fr 1fr; } .grid:not(.one) .span2 { grid-column: span 2; } }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f > label, .f .lbl { font-size: 12px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.f > label .ic, .f .lbl .ic { width: 15px; height: 15px; color: var(--accent-d); }
.f label i, .f .lbl i { color: var(--bad); font-style: normal; }
.in, .sel { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.in::placeholder { color: #98a2a9; }
.in:hover, .sel:hover { border-color: #aebac2; }
textarea.in { height: auto; padding: 14px 16px; min-height: 70px; resize: vertical; line-height: 1.5; }
.sel { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007ba3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.sel:disabled { background-color: var(--mist); color: var(--muted); }
.stepper { display: flex; gap: 8px; }
.stepper .in { flex: 1; min-width: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper .in::-webkit-outer-spin-button, .stepper .in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn { flex: 0 0 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--dark); font: inherit; font-size: 22px; font-weight: 600; line-height: 1; cursor: pointer; transition: border-color .15s, background-color .15s; }
.stepper-btn:hover { border-color: var(--accent); background-color: var(--accent-xl); }
.stepper-btn:focus-visible { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.in:focus, .sel:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.in.upper { text-transform: uppercase; font-family: var(--mono); letter-spacing: 2px; }
.in.upper::placeholder { text-transform: none; letter-spacing: 1px; }
.f .err, .err { color: var(--bad); font-size: 12.5px; font-weight: 600; }
.f.has-err .in, .f.has-err .sel, .f.has-err .seg, .f.has-err .photo-box { border-color: var(--bad); }
.hint { font-size: 12.5px; color: var(--muted); }
.hint.light { margin-top: 16px; }
.hint a { color: var(--dark); font-weight: 700; }
.section-title { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; color: var(--accent-d); text-transform: uppercase; letter-spacing: 2px; padding-top: 14px; margin-top: 2px; border-top: 1px solid var(--line); }
.section-title:first-child { border-top: 0; padding-top: 0; }
.phone-row { display: flex; gap: 8px; }
.phone-row .sel { width: 150px; flex-shrink: 0; font-size: 14px; }
.phone-row .in { flex: 1; min-width: 0; }
.pw-wrap { position: relative; }
.pw-wrap .in { padding-right: 48px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 8px; cursor: pointer; display: flex; border-radius: 10px; }
.pw-toggle:hover { background: var(--mist); color: var(--ink); }
.submit-btn { margin-top: 24px; }

/* Segmented choice (gender) */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: 12px; height: 52px; overflow: hidden; background: #fff; }
.seg label { position: relative; display: flex; cursor: pointer; }
.seg label + label { border-left: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background .15s, color .15s; }
.seg input:checked + span { background: var(--dark); color: #fff; }
.seg input:focus-visible + span { box-shadow: inset 0 0 0 3px var(--accent); }

/* Option cards (pass type) */
.opt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; cursor: pointer; display: flex; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { position: relative; flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.opt-box .ic { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--mist); color: var(--accent-d); transition: background .15s, color .15s; }
.opt-box b { font-size: 15px; font-weight: 700; color: var(--ink); }
.opt-box small { font-size: 12.5px; line-height: 1.35; }
.opt:hover .opt-box { border-color: #aebac2; }
.opt input:checked + .opt-box { border-color: var(--dark); background: var(--dark-l); box-shadow: inset 0 0 0 1px var(--dark); }
.opt input:checked + .opt-box .ic { background: var(--dark); color: var(--accent-l); }
.opt input:focus-visible + .opt-box { box-shadow: var(--ring); }
@media (max-width: 480px) { .opt-cards { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .1px; cursor: pointer; text-decoration: none; transition: background .15s, box-shadow .2s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(.985); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--dark); color: #fff; box-shadow: inset 0 0 0 1px rgba(0,185,229,.35), 0 10px 22px -12px rgba(17,21,24,.7); }
.btn-primary:hover { background: var(--dark-3); }
.btn-gold { background: var(--accent); color: var(--dark-2); box-shadow: 0 10px 22px -12px rgba(0,123,163,.8); }
.btn-gold:hover { background: #33c6ec; }
.btn-outline { background: var(--paper); color: var(--dark); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--dark); }
.btn-ghost { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--dark); }
.btn-ok { background: var(--ok); color: #fff; box-shadow: 0 10px 22px -12px rgba(47,122,87,.8); }
.btn-ok:hover { background: #276848; }
.btn-bad { background: var(--bad); color: #fff; box-shadow: 0 10px 22px -12px rgba(179,65,46,.8); }
.btn-bad:hover { background: #9b3626; }
.btn-block { width: 100%; }
.btn-lg { height: 56px; font-size: 16px; padding: 0 28px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.btn-sm .ic { width: 16px; height: 16px; }
.btn .go { width: 26px; height: 26px; margin-right: -6px; border-radius: 50%; background: var(--accent); color: var(--dark-2); display: inline-grid; place-items: center; transition: transform .2s; }
.btn .go .ic { width: 15px; height: 15px; }
.btn:hover .go { transform: translateX(3px); }

/* Alerts & badges */
.alert { padding: 14px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left-width: 4px; animation: rise .35s ease-out both; }
.alert .ic { margin-top: 2px; }
.alert-success { background: #f3f9f5; color: #1f5a40; border-color: #cfe5d8; border-left-color: var(--ok); }
.alert-error { background: #fcf3f0; color: #8a2f20; border-color: #efd1c8; border-left-color: var(--bad); }
.alert-info { background: #f2f7f9; color: #22475b; border-color: #cfe0e8; border-left-color: var(--info); }
.alert-warn { background: #fcf6e9; color: #7a4d0c; border-color: #ecdbb5; border-left-color: var(--warn); }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-count::before { display: none; }
.badge-ok { background: var(--ok-l); color: #24603f; }
.badge-info { background: var(--info-l); color: #22475b; }
.badge-warn { background: var(--warn-l); color: #7a4d0c; }
.badge-bad { background: var(--bad-l); color: #8a2f20; }
.badge-muted { background: var(--mist); color: #4f595f; }

/* Home: concierge welcome */
.welcome { text-align: center; padding: 18px 0 34px; animation: rise .6s ease-out both; }
.welcome h1 { font-family: var(--serif); font-size: clamp(42px, 7vw, 84px); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; color: var(--dark); margin: 16px 0 18px; }
.welcome h1 em { font-style: italic; color: var(--accent-d); }
.welcome p { font-size: 17px; color: var(--ink-2); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.welcome p b { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--dark); font-size: 1.08em; }
.choices { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 760px) { .choices { grid-template-columns: 1.15fr 1fr; } }
.choice { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 290px; padding: 34px 34px 30px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 8px var(--paper), inset 0 0 0 9px var(--accent-l), var(--shadow); transition: transform .25s, box-shadow .25s; animation: rise .6s ease-out both; animation-delay: .08s; }
.choice:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 8px var(--paper), inset 0 0 0 9px var(--accent), 0 26px 50px -26px rgba(17,21,24,.4); }
.choice-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-xl); color: var(--accent-d); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--accent-l); }
.choice-ic .ic { width: 26px; height: 26px; }
.choice .kicker { margin-bottom: 2px; }
.choice b { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; color: var(--dark); }
.choice p { font-size: 15px; color: var(--muted); max-width: 380px; line-height: 1.6; }
.choice-go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--dark); }
.choice-go .ic { width: 18px; height: 18px; transition: transform .2s; }
.choice:hover .choice-go .ic { transform: translateX(4px); }
.choice.primary { background: var(--weave), var(--dark); color: #fff; box-shadow: inset 0 0 0 8px var(--dark), inset 0 0 0 9px rgba(0,185,229,.45), var(--shadow-lg); animation-delay: 0s; }
.choice.primary:hover { box-shadow: inset 0 0 0 8px var(--dark), inset 0 0 0 9px var(--accent), 0 40px 70px -32px rgba(17,21,24,.7); }
.choice.primary .choice-ic { background: rgba(0,185,229,.14); color: var(--accent-l); box-shadow: inset 0 0 0 1px rgba(0,185,229,.4); }
.choice.primary .kicker { color: var(--accent); }
.choice.primary b { color: #fff; }
.choice.primary p { color: #c5ced3; }
.choice.primary .choice-go { color: var(--accent-l); }
.choice.primary::after { content: ''; position: absolute; width: 300px; height: 300px; right: -110px; bottom: -150px; border-radius: 50%; border: 1px solid rgba(0,185,229,.25); box-shadow: 0 0 0 30px rgba(0,185,229,.04), 0 0 0 60px rgba(0,185,229,.03); pointer-events: none; }
@media (max-width: 640px) { .choice { min-height: 0; padding: 28px 24px 24px; } }
.journey { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1000px; margin: 54px auto 0; align-items: stretch; }
@media (min-width: 900px) { .journey { grid-template-columns: 1fr 260px; } }
.journey-main { padding: 6px 4px; }
.journey-main h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--dark); margin: 10px 0 26px; letter-spacing: -.01em; }
.timeline { list-style: none; display: grid; grid-template-columns: 1fr; gap: 22px; position: relative; }
@media (min-width: 720px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .timeline::before { content: ''; position: absolute; left: 24px; right: 24px; top: 23px; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
}
.timeline li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.timeline .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--accent); color: var(--accent-d); font-family: var(--serif); font-size: 20px; font-style: italic; margin-bottom: 10px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.timeline b { font-size: 16px; font-weight: 700; color: var(--dark); }
.timeline p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 260px; }
.scan-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: var(--shadow); }
.scan-card .qr { padding: 10px; border: 1px solid var(--accent-l); border-radius: 14px; background: #fff; line-height: 0; }
.scan-card b { font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--dark); }
.scan-card span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 899px) { .scan-card { display: none; } }
.assure { max-width: 1000px; margin: 48px auto 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
@media (min-width: 720px) { .assure { grid-template-columns: repeat(3, 1fr); } .assure > div + div { border-left: 1px solid var(--line); } }
@media (max-width: 719px) { .assure > div + div { border-top: 1px solid var(--line); } }
.assure > div { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; }
.assure .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--accent-xl); color: var(--accent-d); }
.assure b { display: block; font-size: 15px; font-weight: 700; color: var(--dark); }
.assure span { font-size: 13.5px; color: var(--muted); }

/* Registration wizard */
.wiz { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
@media (min-width: 980px) { .wiz { grid-template-columns: 290px minmax(0, 1fr); } }
.wiz-side { display: none; }
@media (min-width: 980px) { .wiz-side { display: block; position: sticky; top: 100px; } }
.side-card { position: relative; overflow: hidden; background: var(--weave), var(--dark); color: #d6dde1; border-radius: var(--r-lg); padding: 28px 24px 24px; box-shadow: inset 0 0 0 7px var(--dark), inset 0 0 0 8px rgba(0,185,229,.4), var(--shadow-lg); }
.side-card .kicker { color: var(--accent); }
.side-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: #fff; margin: 8px 0 22px; line-height: 1.2; }
.wiz-steps { list-style: none; display: flex; flex-direction: column; }
.wiz-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.wiz-steps li:last-child { padding-bottom: 0; }
.wiz-steps li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: rgba(0,185,229,.35); }
.wiz-steps a { display: flex; gap: 14px; text-decoration: none; color: inherit; cursor: default; }
.wiz-steps li.reach a { cursor: pointer; }
.wiz-steps .n { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-family: var(--serif); font-size: 14px; color: #c5ced3; box-shadow: inset 0 0 0 1px rgba(159,227,245,.4); transition: background .2s, color .2s; }
.wiz-steps .n .ic { width: 15px; height: 15px; display: none; }
.wiz-steps b { display: block; font-size: 14px; font-weight: 700; color: #eef2f4; line-height: 1.3; margin-top: 5px; }
.wiz-steps small { color: #8e9aa1; font-size: 12px; }
.wiz-steps li.on .n { background: var(--accent); color: var(--dark-2); box-shadow: 0 0 0 4px rgba(0,185,229,.2); }
.wiz-steps li.on b { color: #fff; }
.wiz-steps li.done .n { background: rgba(0,185,229,.16); color: var(--accent-l); }
.wiz-steps li.done .n span { display: none; }
.wiz-steps li.done .n .ic { display: block; }
.side-help { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(0,185,229,.25); font-size: 12.5px; color: #a9b4ba; }
.side-help .ic { color: var(--accent); width: 16px; height: 16px; margin-top: 2px; }
.wiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--ink-2); scroll-margin-top: 120px; }
.wiz-top .bar { flex: 1; height: 4px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.wiz-top .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.wiz-top em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent-d); font-size: 14px; }
form:not(.wizard) .wiz-top, form:not(.wizard) .wiz-nav { display: none; }
.wstep { margin-bottom: 18px; scroll-margin-top: 120px; }
.wizard .wstep { display: none; margin-bottom: 0; }
.wizard .wstep.on { display: block; animation: rise .35s ease-out both; }
.wstep-hd { padding: 26px 28px 8px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.wstep-hd h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -.015em; color: var(--dark); line-height: 1.15; margin-top: 8px; }
.wstep-hd h2 i { color: var(--bad); font-style: normal; }
.wstep-hd p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.wstep-num { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: .9; color: var(--accent-l); flex-shrink: 0; }
.wstep .card-bd { padding: 20px 28px 28px; }
@media (max-width: 640px) { .wstep-hd { padding: 20px 18px 4px; } .wstep-hd h2 { font-size: 24px; } .wstep-num { font-size: 40px; } .wstep .card-bd { padding: 16px 18px 22px; } }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.wiz-nav .btn { min-width: 140px; }
.wiz-nav .spacer { flex: 1; }
@media (max-width: 640px) {
  .wizard .wiz-nav { position: sticky; bottom: 0; z-index: 30; margin: 16px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(252,253,254,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .wiz-nav .btn { min-width: 0; flex: 1; }
  .wiz-nav .spacer { display: none; }
}
.review { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
@media (min-width: 720px) { .review { grid-template-columns: 1fr 1fr; } }
.rv-group { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.rv-group.wide { grid-column: 1 / -1; }
.rv-group header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rv-group header span { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent-d); }
.rv-group header button { background: none; border: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--dark); cursor: pointer; border-bottom: 1px solid var(--accent); padding: 0; }
.rv-group dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13.5px; }
.rv-group dt { color: var(--muted); }
.rv-group dd { font-weight: 600; color: var(--ink); word-break: break-word; }
.rv-photo { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.rv-photo img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.submit-bar { margin-top: 22px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.submit-bar .hint { text-align: center; }

/* Photo box */
.photo-box { display: flex; align-items: center; gap: 26px; border: 1px dashed var(--line-2); border-radius: 18px; background: #fff; padding: 24px; }
.photo-stage { position: relative; width: 160px; height: 160px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 6px var(--accent-xl); }
.photo-stage > * { position: relative; }
.photo-preview, .cam-video { width: 146px; height: 146px; border-radius: 50%; object-fit: cover; display: block; background: var(--dark-2); }
.photo-ph { width: 146px; height: 146px; border-radius: 50%; color: var(--muted); font-size: 11.5px; line-height: 1.35; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; text-align: center; background: var(--bg); }
.photo-ph .ic { color: var(--accent-d); width: 34px; height: 34px; }
.photo-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.photo-side b { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--dark); }
.photo-side p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.photo-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 560px) { .photo-box { flex-direction: column; text-align: center; } .photo-btns { justify-content: center; } }

/* Sub-sections inside one step (Address, Photo) */
.sub-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.sub-hd b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--dark); }
.sub-hd b .ic { width: 17px; height: 17px; color: var(--accent-d); }
.sub-hd b i { color: var(--bad); font-style: normal; }
.sub-hd small { font-size: 12.5px; color: var(--muted); }

/* Visitor pass: lanyard ID badge + visit summary */
.pass-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
@media (min-width: 860px) { .pass-layout { grid-template-columns: 370px minmax(0, 1fr); } }
.idcard { position: relative; width: 100%; max-width: 370px; margin: 0 auto; background: var(--paper); border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); animation: rise .55s ease-out both; }
.idcard-slot { position: absolute; z-index: 3; top: 16px; left: 50%; transform: translateX(-50%); width: 64px; height: 11px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0,0,0,.35); }
.idcard-head { position: relative; background: var(--weave), var(--dark); color: #fff; text-align: center; padding: 42px 22px 74px; }
.idcard-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent-d), var(--accent), var(--accent-l), var(--accent), var(--accent-d)); }
.idcard-logo { display: inline-flex; background: var(--paper); border-radius: 12px; padding: 6px 12px; height: 46px; align-items: center; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.idcard-logo img { height: 32px; width: auto; display: block; }
.idcard-kicker { display: block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--accent); }
.idcard-co { display: block; font-family: var(--serif); font-size: 17px; color: #eef2f4; margin-top: 2px; }
.idcard-body { position: relative; margin-top: -60px; padding: 0 24px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pass-photo { width: 132px; height: 132px; border-radius: 24px; overflow: hidden; flex-shrink: 0; background: var(--mist); border: 5px solid var(--paper); box-shadow: 0 0 0 1px var(--accent), 0 18px 30px -16px rgba(17,21,24,.6); display: flex; align-items: center; justify-content: center; }
.pass-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pass-photo-ph { color: var(--accent-d); display: flex; }
.pass-name { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -.015em; line-height: 1.12; color: var(--dark); margin-top: 16px; word-break: break-word; }
.pass-sub { font-size: 13px; color: var(--muted); margin-top: 6px; white-space: pre-wrap; }
.pass-code { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; background: var(--accent-xl); border: 1px solid var(--accent); border-radius: 10px; padding: 7px 14px; }
.pass-code span { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent-d); font-weight: 700; }
.pass-code b { font-family: var(--mono); font-size: 17px; font-weight: 500; letter-spacing: 2px; color: var(--dark); }
.idcard-status { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.idcard-status .ic { width: 14px; height: 14px; }
.idcard-valid { width: 100%; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.idcard-valid span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent-d); }
.idcard-valid b { font-size: 15px; font-weight: 700; color: var(--ink); }
.qr-frame { position: relative; margin-top: 16px; padding: 12px; line-height: 0;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 20px 2px, linear-gradient(var(--accent), var(--accent)) 0 0 / 2px 20px,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 20px 2px, linear-gradient(var(--accent), var(--accent)) 100% 0 / 2px 20px,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 20px 2px, linear-gradient(var(--accent), var(--accent)) 0 100% / 2px 20px,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 20px 2px, linear-gradient(var(--accent), var(--accent)) 100% 100% / 2px 20px;
  background-repeat: no-repeat; }
.qr { flex: none; padding: 8px; background: #fff; line-height: 0; border-radius: 8px; }
.qr img, .qr canvas { display: block; }
.idcard-scan { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.idcard-times { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--bg); }
.pt { display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.pt + .pt { border-left: 1px solid var(--line); }
.pt .ic { width: 20px; height: 20px; }
.pt div { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.pt span { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.pt b { font-size: 14px; font-weight: 700; color: var(--ink); }
.pt.in { color: var(--ok); width: auto; height: auto; border: 0; border-radius: 0; background: transparent; font-size: inherit; } /* "in" is also the input class: undo its sizing */
.pt.out { color: var(--bad); }
.pass-info { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.info-card .card-bd { padding: 26px 28px; }
.info-card h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--dark); margin: 8px 0 20px; letter-spacing: -.01em; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pg { padding: 14px 4px 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pg:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.pg.wide { grid-column: 1 / -1; }
.pg span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-d); }
.pg b { font-size: 15px; font-weight: 700; color: var(--ink); word-break: break-word; }
.pg small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 420px) { .pass-grid { grid-template-columns: 1fr; } .pg:nth-child(even) { padding-left: 0; border-left: 0; } }
.pass-notes { margin-top: 22px; }
.pass-notes strong { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent-d); margin-bottom: 10px; }
.pass-notes ol { list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 8px; }
.pass-notes li { counter-increment: n; display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.pass-notes li::before { content: counter(n); flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--accent-d); box-shadow: inset 0 0 0 1px var(--accent-l); }
.pass-foot { margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: var(--bg); border-left: 3px solid var(--dark); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.pass-foot b { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--dark); }
.pass-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pass-actions .hint { flex-basis: 100%; }

/* Gate */
.gate-panel { margin-bottom: 22px; animation: rise .45s ease-out both; }
.gate-status { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid #8a949a; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.gate-status > .ic { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--mist); color: #5a646b; }
.gate-status b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; color: var(--ink); }
.gate-status span { font-size: 13.5px; color: var(--muted); }
.gate-ok { border-left-color: var(--ok); } .gate-ok > .ic { background: var(--ok-l); color: var(--ok); }
.gate-info { border-left-color: var(--info); } .gate-info > .ic { background: var(--info-l); color: var(--info); }
.gate-warn { border-left-color: var(--warn); } .gate-warn > .ic { background: var(--warn-l); color: var(--warn); }
.gate-bad { border-left-color: var(--bad); } .gate-bad > .ic { background: var(--bad-l); color: var(--bad); }
.gate-btns { margin-top: 12px; }
.gate-panel .hint.center { margin-top: 12px; }
.console { position: relative; overflow: hidden; background: var(--weave), var(--dark); color: #fff; border-radius: var(--r-lg); padding: 30px 32px 28px; box-shadow: inset 0 0 0 7px var(--dark), inset 0 0 0 8px rgba(0,185,229,.4), var(--shadow-lg); animation: rise .5s ease-out both; }
.console .kicker { color: var(--accent); }
.console h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 400; color: #fff; margin: 8px 0 4px; }
.console > p { color: #b8c2c8; font-size: 14.5px; margin-bottom: 20px; }
.gate-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search-row { display: flex; gap: 8px; flex: 1; min-width: 240px; }
.search-row .in { flex: 1; }
.console .in { background: var(--paper); border-color: transparent; }
.console .btn-outline { background: transparent; color: var(--accent-l); box-shadow: inset 0 0 0 1px rgba(0,185,229,.55); }
.console .btn-outline:hover { background: rgba(0,185,229,.12); }
.console .btn-primary { background: var(--accent); color: var(--dark-2); box-shadow: none; }
.console .btn-primary:hover { background: #33c6ec; }
.console .hint { color: #a9b4ba; }
#scanReader { max-width: 420px; margin: 14px auto 0; border-radius: 14px; overflow: hidden; background: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 18px 0; box-shadow: var(--shadow); overflow: hidden; }
.stat { display: flex; align-items: center; gap: 14px; padding: 20px 22px; text-decoration: none; color: var(--ink); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--accent-xl); color: var(--accent-d); flex-shrink: 0; }
.stat b { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; color: var(--dark); font-variant-numeric: lining-nums tabular-nums; }
.stat span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.stat.ok .ic { background: var(--ok-l); color: var(--ok); }
.stat.muted .ic { background: var(--mist); color: #5a646b; }
.stat.warn .ic { background: var(--warn-l); color: var(--warn); }
@media (max-width: 640px) { .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; } .stat b { font-size: 26px; } .stat .ic { width: 36px; height: 36px; padding: 8px; } .stat span { font-size: 9.5px; letter-spacing: 1px; } }
.gap-card { margin-bottom: 18px; }

/* Tables */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--accent-d); padding: 12px 18px; background: var(--bg); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #f2fafd; }
@media (max-width: 760px) { /* gate tables on phones: keep visitor, status and the In/Out button on screen */
  .tbl th:nth-child(3), .tbl td:nth-child(3), .tbl th:nth-child(4), .tbl td:nth-child(4) { display: none; }
  .tbl th, .tbl td { padding-left: 10px; padding-right: 10px; }
}
.tbl .strong { font-weight: 700; text-decoration: none; color: var(--dark); }
.tbl .strong:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.td-photo { width: 60px; }
.td-photo img, .td-photo .ph { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--accent-d); box-shadow: 0 0 0 1px var(--accent-l); }
.td-act { white-space: nowrap; text-align: right; }
.td-act form { display: inline-block; }

/* Split screen: track / sign in */
.split { display: grid; grid-template-columns: 1fr; padding: 0; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1.1fr; } }
.split-art { position: relative; overflow: hidden; background: var(--weave), var(--dark); color: #fff; padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.split-art .kicker { color: var(--accent); }
.split-art h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); font-weight: 400; line-height: 1.08; color: #fff; }
.split-art h1 em { font-style: italic; color: var(--accent-l); }
.split-art > p { color: #c5ced3; font-size: 15px; line-height: 1.65; }
.split-points { list-style: none; margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(0,185,229,.3); }
.split-points li { display: flex; gap: 10px; font-size: 13.5px; color: #c5ced3; }
.split-points .ic { color: var(--accent); width: 17px; height: 17px; margin-top: 2px; }
.split-art::after { content: ''; position: absolute; width: 260px; height: 260px; right: -120px; top: -120px; border-radius: 50%; border: 1px solid rgba(0,185,229,.25); box-shadow: 0 0 0 26px rgba(0,185,229,.04), 0 0 0 52px rgba(0,185,229,.03); pointer-events: none; }
.split-form { padding: 40px 38px; }
.split-form h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--dark); margin-bottom: 20px; }
@media (max-width: 640px) { .split-art, .split-form { padding: 28px 22px; } }
.logo-box { background: #fff; border-radius: 10px; padding: 4px 8px; display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--line); }
.logo-box img { height: 30px; width: auto; display: block; }

/* Poster (printed: stays light) */
.poster { position: relative; overflow: hidden; background: var(--paper); border-radius: 22px; text-align: center; box-shadow: 0 0 0 1px var(--line), var(--shadow); animation: rise .5s ease-out both; }
.poster-head { background: var(--weave), var(--dark); padding: 26px 20px 24px; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.poster-head .idcard-logo { height: 54px; }
.poster-head .idcard-logo img { height: 40px; }
.poster-head span { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
.poster-head::after { content: ''; display: block; width: 100%; }
.poster-body { padding: 30px 26px 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; border-top: 3px solid var(--accent); }
.poster-title { font-family: var(--serif); font-size: clamp(40px, 8vw, 56px); font-weight: 400; letter-spacing: -.02em; line-height: 1; color: var(--dark); margin-top: 8px; }
.poster-title em { font-style: italic; color: var(--accent-d); }
.poster-sub { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.poster-qr { margin: 22px 0 18px; padding: 14px; border: 1px solid var(--accent); border-radius: 18px; line-height: 0; box-shadow: 0 0 0 6px var(--accent-xl); }
.poster-qr .qr { padding: 8px; }
.poster-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 460px; }
.poster-steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-top: 1px solid var(--line-2); }
.poster-steps em { font-family: var(--serif); font-size: 22px; color: var(--accent-d); line-height: 1; }
.poster-steps b { font-size: 13.5px; color: var(--dark); }
.poster-steps span { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.poster-url { margin-top: 16px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; word-break: break-all; }
.poster-actions { display: flex; justify-content: center; margin-top: 22px; }

/* Error */
.error-card { margin-top: 6vh; text-align: center; }
.error-card .error-code { font-family: var(--serif); font-style: italic; font-size: 110px; font-weight: 400; line-height: .9; color: var(--accent-d); margin-bottom: 12px; }
.error-card h1 { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--dark); margin-bottom: 8px; }
.error-card .card-bd { padding: 44px 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  html, body { background: #fff; }
  body { display: block; }
  .no-print { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .card, .idcard, .poster, .page-title, .choice, .console { animation: none; box-shadow: none; }
  .pass-layout { grid-template-columns: 300px 1fr; gap: 16px; }
  .idcard { border: 1px solid #c9d2d8; page-break-inside: avoid; }
  .idcard-slot { display: none; }
  .idcard-head, .idcard-head::after, .pass-code, .idcard-times, .badge, .poster-head, .poster-body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .info-card { border: 1px solid #c9d2d8; }
  .poster { border: 1px solid #c9d2d8; page-break-inside: avoid; }
}
