@font-face {
  font-family: Roboto;
  src: url("assets/roboto.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #343d32;
  background: #e6ebe3;
  --green: #379718;
  --bg: #f3f8f1;
  --soft: #e9f0e6;
  --muted: #6c7767;
  --faint: #9ba497;
  --red: #ff514b;
  --yellow: #ecb900;
  --shadow: 0 6px 24px #233b2010, inset 0 1px 1px #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; justify-content: center; gap: 72px; padding: 28px 28px 24px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; background: none; padding: 0; }
button:disabled { cursor: default; opacity: .42; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid #8bbc76; outline-offset: -2px; }
button:active:not(:disabled) { filter: brightness(.96); }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.catalog { width: 248px; flex: 0 0 248px; align-self: flex-start; position: sticky; top: 28px; max-height: calc(100dvh - 56px); overflow: auto; scrollbar-width: thin; padding-right: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: #246916; font-size: 36px; font-weight: 750; letter-spacing: -2px; text-decoration: none; }
.brand span { font-size: 11px; font-weight: 500; letter-spacing: .5px; border: 1px solid #aabda4; border-radius: 5px; padding: 3px 5px; }
.catalog-title { font-size: 24px; font-weight: 600; margin-top: 28px; }
.catalog-intro, .catalog-note, .catalog-help { color: var(--muted); font-size: 12px; line-height: 1.5; }
.catalog-intro { margin: 8px 0 24px; }
.catalog details { margin-bottom: 10px; }
.catalog summary { cursor: pointer; font-weight: 600; font-size: 12px; padding: 8px 0; }
.catalog nav button { display: block; width: 100%; text-align: left; font-size: 12px; padding: 8px 12px; border-radius: 8px; margin: 2px 0; }
.catalog nav button:hover { background: #ffffff60; }
.catalog nav button[aria-current="page"] { background: #fff; color: var(--green); box-shadow: 0 2px 8px #1a381808; }
.demo-settings { border-top: 1px solid #ccd8c6; padding-top: 14px; margin-top: 18px; }
.demo-settings label { display: block; font-size: 11px; color: var(--muted); margin: 12px 0 6px; }
.demo-settings select { width: 100%; font-size: 12px; padding: 9px 6px; border: 1px solid #ced9ca; border-radius: 8px; background: #ffffff90; }
.reset-demo { font-size: 12px; border-bottom: 1px solid #aabda4; margin-top: 20px; padding-bottom: 3px; }
.catalog-note { margin-top: 18px; font-size: 11px; }
.catalog-help { font-size: 10px; opacity: .7; }
.preview { width: 430px; flex: 0 0 430px; }
.preview-caption, .preview-footer { display: flex; justify-content: space-between; align-items: center; color: #7a8973; font-size: 9px; letter-spacing: 1px; height: 24px; }
.preview-caption { justify-content: flex-start; gap: 7px; margin-bottom: 12px; }
.preview-caption > span:last-child { margin-left: auto; letter-spacing: 0; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.preview-footer { letter-spacing: 0; margin-top: 8px; }
.device { position: relative; width: 430px; height: 932px; overflow: hidden; isolation: isolate; background: var(--bg); border-radius: 38px; box-shadow: 0 24px 80px #263d251c, 0 0 0 1px #fff8; }
#app { position: absolute; inset: 0; }
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 48px; display: flex; align-items: flex-start; justify-content: space-between; padding: 17px 30px 0 36px; color: #fff; font-size: 17px; font-weight: 600; z-index: 35; pointer-events: none; }
.statusbar svg { margin-top: 2px; }
.device.is-sheet { background: #111; }
.device.is-sheet .statusbar { color: #7a7a7a; }
.device.scrolled .statusbar { color: #182016; }
.home-indicator { position: absolute; z-index: 90; bottom: 8px; width: 134px; height: 4px; background: #192016; border-radius: 4px; left: calc(50% - 67px); pointer-events: none; }
.icon { width: 20px; height: 20px; }
.icon.small { width: 16px; height: 16px; }
.primary, .secondary, .danger, .white-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 30px; font-size: 14px; font-weight: 500; }
.primary { background: var(--green); color: white; box-shadow: 0 2px 7px #367e2526, inset 0 1px 1px #9ad282; }
.secondary { background: #dbe2d7; }
.danger { background: var(--red); color: white; box-shadow: inset 0 1px 1px #ffa9a5, 0 2px 6px #ff514b20; }
.white-button { background: #fff; box-shadow: var(--shadow); }
.round-button { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background: #ffffffd9; box-shadow: var(--shadow); flex-shrink: 0; }
.round-button .icon { width: 22px; height: 22px; }
.round-button.small { width: 32px; height: 32px; }
.circle-icon { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; background: var(--green); color: #fff; border-radius: 50%; flex-shrink: 0; }
.circle-icon .icon { width: 23px; height: 23px; }
.circle-icon.muted { background: #dce3d8; color: #98a193; }
.circle-icon.warning { background: var(--yellow); }
.circle-icon.danger-icon { background: var(--red); }
.green { color: var(--green) !important; }
.red { color: var(--red) !important; }
.yellow { color: var(--yellow) !important; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.list-view { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: 140px; position: relative; }
.list-view::before { content: ""; position: absolute; inset: 0 0 auto; height: 432px; background: url("assets/hero-guest.webp") center top / 100% 432px no-repeat; pointer-events: none; }
.list-view.permanent::before { background-image: url("assets/hero-permanent.webp"); }
.hero { height: 344px; position: relative; text-align: center; color: #fff; }
.hero-back { position: absolute; top: 56px; left: 16px; background: #bfe0b6b0; box-shadow: inset 0 0 0 1px #e2f2d9b3; color: #183116; }
.hero-copy { position: absolute; top: 196px; left: 0; right: 0; }
.hero h1 { font-size: 22px; line-height: 26px; font-weight: 500; margin: 0; }
.hero p { font-size: 14px; line-height: 16px; margin: 6px auto 20px; max-width: 310px; }
.hero .primary { padding: 0 24px; }
.list-tabs { display: flex; margin: 16px 16px 0; padding: 3px; height: 42px; border-radius: 28px; background: #ffffffed; box-shadow: var(--shadow); position: sticky; top: 116px; z-index: 12; backdrop-filter: blur(20px); }
.list-tabs button { flex: 1; border-radius: 25px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.list-tabs button.active { background: var(--soft); color: var(--green); }
.pass-list { display: grid; gap: 12px; margin: 16px; position: relative; }
.pass-list-card { display: block; width: 100%; background: #fff; border-radius: 32px; padding: 12px; text-align: left; }
.pass-summary { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.pass-person { min-width: 0; flex: 1; }
.pass-person small { display: block; font-size: 10px; color: var(--muted); line-height: 14px; margin-bottom: 2px; }
.pass-person strong { display: block; font-size: 14px; font-weight: 600; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duration { display: flex; gap: 5px; align-items: center; justify-content: center; height: 32px; background: var(--soft); border-radius: 24px; margin-top: 16px; font-size: 12px; }
.duration .icon { color: var(--muted); width: 18px; height: 18px; }
.plate { display: inline-flex; align-items: stretch; height: 32px; border: 1px solid #343d32; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #fff; color: #30382c; white-space: nowrap; }
.plate-number { display: flex; align-items: center; padding: 0 6px; font-size: 14px; line-height: 1; font-weight: 600; }
.plate-region { min-width: 37px; border-left: 1px solid #343d32; padding: 2px 5px 1px; text-align: center; }
.plate-region strong { font-size: 13px; font-weight: 500; display: block; line-height: 14px; }
.plate-region small { display: flex; align-items: center; gap: 2px; font-size: 5px; line-height: 6px; }
.flag-ru { display: inline-block; width: 12px; height: 8px; border: .4px solid #a6afa5; background: linear-gradient(#fff 33%, #0756a5 33% 66%, #db2629 66%); }
.plate-country { display: flex; width: 23px; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #343d32; gap: 1px; }
.plate-country small { font-size: 5px; }
.flag-kz { width: 12px; height: 8px; display: flex; justify-content: center; align-items: center; color: #ffed00; background: #00afd6; font-size: 8px; }
.plate-country.eu { background: #232785; color: #fff; border: 0; }
.eu-stars { font-size: 11px; height: 13px; color: #f2d34b; line-height: 13px; }
.flag-by { display: inline-block; width: 15px; height: 10px; border-left: 3px dotted white; background: linear-gradient(#d32432 66%, #348941 66%); }
.bottom-nav { position: absolute; z-index: 25; display: flex; left: 50%; transform: translateX(-50%); bottom: 28px; width: 224px; height: 60px; border-radius: 40px; padding: 4px; background: #ffffffd9; box-shadow: inset 0 1px 1px #fff; backdrop-filter: blur(20px); }
.bottom-nav::before { content: ""; position: absolute; width: 430px; height: 100px; z-index: -1; bottom: -28px; left: calc(50% - 215px); background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.bottom-nav button { flex: 1; border-radius: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 600; }
.bottom-nav button .icon { width: 21px; height: 21px; }
.bottom-nav button.active { background: var(--soft); color: var(--green); }
.compact-header { position: absolute; top: 0; left: 0; right: 0; height: 132px; z-index: 11; background: #f3f8f1da; backdrop-filter: blur(18px); padding: 58px 16px 16px; display: flex; gap: 8px; align-items: flex-start; opacity: 0; pointer-events: none; }
.scrolled .compact-header { opacity: 1; pointer-events: auto; }
.compact-header .compact-title { flex: 1; padding-top: 1px; }
.compact-header strong { font-size: 16px; font-weight: 500; display: block; }
.compact-header small { display: block; font-size: 11px; margin-top: 4px; }
.compact-header .primary { min-height: 40px; padding: 0 16px; }
.sheet-underlay { position: absolute; top: 60px; left: 20px; right: 20px; height: 48px; border-radius: 16px 16px 0 0; background: #6d746c; }
.sheet { position: absolute; inset: 70px 0 0; background: var(--bg); border-radius: 32px 32px 0 0; overflow: hidden; display: flex; flex-direction: column; }
.sheet-header { display: flex; align-items: center; gap: 12px; height: 72px; flex: 0 0 72px; padding: 16px; }
.sheet-heading { flex: 1; min-width: 0; }
.sheet-heading.center { text-align: center; }
.sheet-heading h1 { font-size: 16px; line-height: 19px; font-weight: 500; margin: 0; }
.sheet-heading p { font-size: 10px; line-height: 13px; text-transform: uppercase; margin: 3px 0 0; }
.header-spacer { width: 40px; flex-shrink: 0; }
.sheet-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 108px; scrollbar-width: none; overscroll-behavior: contain; }
.sheet-footer { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; padding: 16px 16px 28px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(transparent, #f3f8f1f2 40%); pointer-events: none; }
.sheet-footer > * { pointer-events: auto; }
.sheet-footer:has(#submit-pass[hidden]) { background: none; }
.sheet-footer.split button { flex: 1; }
.field-group { padding: 8px; border-radius: 32px; background: var(--soft); margin-bottom: 16px; }
.field-group.white { background: #fff; }
.field-group h2 { font-size: 14px; line-height: 18px; font-weight: 500; margin: 8px 8px 16px; }
.field-group h2.between { display: flex; align-items: center; justify-content: space-between; }
.field-group h2 small { font-size: 10px; font-weight: 400; color: var(--faint); text-transform: uppercase; }
.field-group .row { display: flex; gap: 8px; }
.field-group .row > * { width: 0; flex: 1; min-width: 0; }
.field-group .row + .row { margin-top: 8px; }
.field-label { color: var(--muted); font-size: 12px; display: block; margin: 0 16px 6px; }
.field, .select-field { display: flex; align-items: center; gap: 8px; width: 100%; height: 48px; border: 0; border-radius: 30px; background: #fff; padding: 0 16px; font-size: 14px; }
.select-field { justify-content: space-between; text-align: left; }
.select-field .icon { width: 14px; height: 14px; color: var(--faint); }
.select-field:disabled { opacity: 1; color: #bcc4b8; }
.field::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
.input-stack { display: grid; gap: 8px; }
.plate-input { padding: 0; overflow: hidden; }
.plate-input input { width: 0; flex: 1; border: 0; outline: 0; background: none; padding: 0 8px; min-width: 0; height: 100%; font-size: 14px; font-weight: 500; text-transform: uppercase; }
.input-country { height: 48px; width: 48px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; font-size: 10px; color: var(--muted); background: #f7faf5; flex-shrink: 0; }
.input-country.eu { background: #232785; color: #fff; }
.input-country .flag-ru { width: 17px; height: 10px; }
.input-country .flag-kz { width: 17px; height: 10px; }
.type-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 0; }
.type-chips button { flex-shrink: 0; height: 40px; padding: 0 13px; border-radius: 24px; background: var(--soft); font-weight: 500; font-size: 12px; color: var(--muted); }
.type-chips button.active { background: var(--green); color: #fff; }
.segmented { display: flex; background: var(--soft); border-radius: 30px; padding: 4px; min-height: 48px; }
.segmented button { flex: 1; border-radius: 26px; font-size: 12px; font-weight: 500; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.segmented button.active { background: #fff; color: var(--green); }
.subject-switch { margin-bottom: 16px; }
.group-shell { background: var(--soft); border-radius: 32px; margin-bottom: 16px; }
.group-shell .field-group { margin-bottom: 0; }
.group-note { font-size: 12px; line-height: 16px; color: var(--faint); text-align: center; padding: 8px 10px; margin: 0; }
.period-button { min-height: 48px; width: 100%; background: #dbe2d7; border-radius: 28px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; }
.period-selected { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 26px; padding: 4px 4px 4px 10px; min-height: 48px; font-size: 12px; }
.period-selected .icon { color: var(--green); }
.period-selected .white-button { margin-left: auto; padding: 0 12px; min-height: 36px; font-size: 11px; }
.comment-title { text-align: center; font-size: 16px; font-weight: 500; margin: 30px 0 24px; }
.comment-field { position: relative; }
.comment-field textarea { resize: vertical; min-height: 48px; max-height: 160px; width: 100%; background: #fff; border-radius: 28px; border: 0; padding: 16px 62px 16px 16px; font-size: 14px; }
.comment-counter { position: absolute; right: 16px; top: 16px; font-size: 12px; color: var(--faint); }
.search { background: #fff; height: 48px; border-radius: 30px; display: flex; align-items: center; padding: 0 20px; gap: 10px; box-shadow: var(--shadow); margin: 8px 0 12px; }
.search .icon { width: 17px; height: 17px; color: var(--muted); }
.search input { border: 0; background: none; min-width: 0; width: 100%; height: 100%; font-size: 14px; outline: none; }
.search input::placeholder { color: var(--faint); }
.option-list { background: #fff; border-radius: 28px; overflow: hidden; }
.option-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 14px 16px; text-align: left; border-bottom: 1px solid #f8faf7; font-size: 14px; }
.option-list button:last-child { border-bottom: 0; }
.option-list button.selected { color: var(--green); font-weight: 500; }
.option-list small { display: block; font-size: 12px; line-height: 16px; margin-top: 3px; color: var(--muted); }
.option-list .icon { width: 16px; height: 16px; color: var(--muted); }
.option-list .selected .icon { color: var(--green); }
.empty-message { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.member { width: 100%; display: flex; gap: 8px; align-items: center; text-align: left; border-radius: 40px; background: #fff; padding: 12px; margin-bottom: 12px; min-height: 64px; }
.member img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.member .admin-avatar { border: 0; }
.member strong { font-size: 14px; font-weight: 600; line-height: 18px; display: block; }
.member small { font-size: 11px; color: var(--muted); margin-top: 4px; display: block; }
.member-list .member { gap: 8px; }
.field-group .member { margin: 0; background: #f7faf5; }
.field-group .member strong { font-size: 12px; }
.field-group .member small { font-size: 10px; }
.upload-row { display: flex; align-items: center; gap: 12px; background: var(--soft); height: 48px; border-radius: 28px; padding: 8px 12px; margin-top: 8px; }
.upload-row > span:not([class]) { font-size: 12px; font-weight: 500; flex: 1; }
.upload-row .circle-icon { width: 28px; height: 28px; }
.upload-row .circle-icon .icon { width: 20px; height: 20px; }
.upload-actions { display: flex; border-radius: 24px; background: #fff; }
.upload-actions button { width: 30px; height: 32px; }
.upload-actions .icon { width: 18px; height: 18px; }
.calendar-scroll { padding: 0 16px 100px; }
.weekdays, .month-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.weekdays { margin: 16px 0 24px; color: #136704; text-transform: uppercase; font-size: 10px; font-weight: 600; text-align: center; }
.month-title { font-size: 14px; font-weight: 400; margin: 24px 0 20px; }
.month-grid { row-gap: 4px; }
.day { height: 56px; font-size: 14px; position: relative; border-radius: 50%; z-index: 1; }
.day.in-range { border-radius: 0; }
.day.in-range::before { content: ""; position: absolute; inset: 0; background: #dce4d8; z-index: -2; }
.day.range-start::before { left: 50%; }
.day.range-end::before { right: 50%; }
.day:nth-child(7n + 1)::before { border-radius: 30px 0 0 30px; }
.day:nth-child(7n)::before { border-radius: 0 30px 30px 0; }
.day.range-start::after, .day.range-end::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--green); z-index: -1; left: calc(50% - 28px); top: 0; }
.day.range-start, .day.range-end { color: #fff; font-weight: 500; }
.pass-scroll { padding: 0 0 108px; }
.pass-carousel { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; align-items: stretch; }
.pass-slide { flex: 0 0 calc(100% - 12px); min-width: 0; scroll-snap-align: center; border-radius: 32px; background: var(--soft); overflow: hidden; }
.pass-ticket { background: #fff; border-radius: 32px; padding: 8px; }
.ticket-top { display: flex; align-items: center; gap: 8px; padding: 4px; height: 56px; }
.ticket-top .ticket-checkpoint { flex: 1; min-width: 0; }
.meta { display: block; color: var(--muted); font-size: 10px; line-height: 14px; text-transform: uppercase; margin-bottom: 4px; font-weight: 400; }
.ticket-top strong { font-size: 14px; line-height: 18px; font-weight: 600; }
.ticket-state { text-align: right; }
.detail-info { background: #f6f9f4; border-radius: 24px; padding: 0 12px; }
.detail-row { min-height: 62px; display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e7eee3; font-size: 14px; line-height: 18px; }
.detail-row:last-child { border: 0; }
.detail-row > div:last-child:not(:first-child) { text-align: right; }
.detail-row .plate { margin-left: auto; }
.detail-row .meta { margin-bottom: 4px; }
.detail-info + .detail-info { margin-top: 10px; }
.key-area { text-align: center; padding: 24px 12px 12px; position: relative; }
.key-label { font-size: 14px; line-height: 18px; margin: 0 0 16px; }
.qr { width: 168px; height: 168px; margin: 0 auto 8px; image-rendering: pixelated; }
.brightness { position: absolute; bottom: 8px; right: 8px; }
.brightness .icon { width: 20px; height: 20px; }
.delete-pass { color: var(--red); display: flex; height: 56px; width: 100%; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.delete-pass .icon { width: 18px; height: 18px; }
.event-link { display: flex; align-items: center; gap: 8px; width: calc(100% - 32px); min-height: 48px; padding: 0 16px; margin: 16px; border-radius: 28px; background: var(--soft); font-size: 14px; text-align: left; }
.event-link > .icon:first-child { color: #166d04; width: 24px; height: 24px; }
.event-link .icon:last-child { margin-left: auto; color: var(--muted); width: 16px; height: 16px; }
.financial-row { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 64px; border-radius: 36px; padding: 12px; background: #fff; text-align: left; }
.financial-row > div:nth-child(2) { flex: 1; }
.financial-row strong { display: block; font-size: 14px; font-weight: 500; }
.financial-row .right { text-align: right; }
.financial-row .primary { min-height: 40px; padding: 0 16px; }
.financial-row .meta { font-size: 10px; margin-bottom: 3px; }
.pass-scroll > .financial-row { width: calc(100% - 32px); margin: 16px; }
.sheet-footer .financial-row { box-shadow: var(--shadow); }
.account-card { background: #fff; border-radius: 32px; padding: 8px; margin-top: 24px; }
.account-card .financial-row { padding: 4px; min-height: 48px; }
.account-card .account-tariff { display: flex; justify-content: space-between; padding: 12px; border-radius: 24px; background: #f6f9f4; margin-top: 8px; font-size: 14px; }
.account-tariff > div:last-child { text-align: right; }
.money-flow { position: absolute; left: 16px; right: 16px; top: calc(50% - 176px); text-align: center; }
.money-flow > img { width: 88px; height: 94px; object-fit: contain; margin: 0 auto; }
.money-flow h2 { font-size: 20px; line-height: 24px; margin: 24px 0 8px; font-weight: 500; }
.money-flow > p { font-size: 12px; line-height: 16px; margin: 0; }
.money-flow .account-card { text-align: left; }
.loading-flow { position: absolute; top: 40%; left: 36px; right: 36px; text-align: center; }
.loading-flow h2 { font-size: 20px; font-weight: 500; margin: 0 0 8px; }
.loading-flow p { font-size: 12px; margin: 0 0 26px; }
.progress-track { height: 24px; border-radius: 20px; background: var(--soft); overflow: hidden; }
.progress-track > span { display: block; width: 50%; border-radius: 20px; background: var(--green); color: white; font-size: 12px; padding: 5px; text-align: right; }
.amount-card { background: #fff; border-radius: 32px; text-align: center; padding: 28px 8px 8px; margin-bottom: 16px; }
.amount-card > strong { font-size: 24px; font-weight: 600; display: block; margin-top: 8px; }
.amount-card .segmented { margin-top: 26px; }
.amount-card .segmented .icon { width: 16px; height: 16px; }
.payment-option { background: #fff; border-radius: 32px; padding: 16px; margin-bottom: 16px; }
.payment-option p { font-size: 12px; line-height: 16px; color: #999; margin: 12px 0 0; max-width: 300px; }
.switch-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.switch { width: 50px; height: 28px; background: #dce3d8; border-radius: 20px; padding: 2px; transition: background .15s; }
.switch::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px #30432c20; display: block; transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.info-note { display: flex; gap: 12px; align-items: center; background: var(--soft); border-radius: 26px; padding: 10px 12px; font-size: 12px; line-height: 16px; text-align: left; }
.info-note > .icon { color: var(--green); width: 24px; height: 24px; }
.info-note > span { flex: 1; }
.info-note .white-button { min-height: 32px; padding: 0 12px; font-size: 12px; }
.success-sheet { background: var(--bg); }
.success-sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 410px; background: linear-gradient(145deg, #316f13, #174d14 70%); mask-image: linear-gradient(#000 65%, transparent); z-index: 0; }
.success-sheet .sheet-scroll { position: relative; padding-top: 0; }
.floating-close { position: absolute; right: 16px; top: 16px; z-index: 12; }
.success-sheet .floating-close { background: #b7d6a5ba; box-shadow: inset 0 0 0 1px #fff6; }
.success-hero { height: 268px; text-align: center; color: #fff; padding-top: 76px; }
.success-hero img { width: 72px; height: 76px; object-fit: contain; margin: 0 auto 26px; }
.success-hero strong { display: block; font-size: 24px; line-height: 28px; font-weight: 600; }
.success-hero p { font-size: 12px; margin: 8px 0 0; }
.receipt-group { background: #fff; border-radius: 32px; padding: 8px; margin-bottom: 16px; }
.receipt-group h2 { font-size: 14px; font-weight: 500; margin: 8px 8px 16px; }
.tag { display: inline-block; border-radius: 12px; font-size: 10px; line-height: 14px; padding: 2px 6px; background: #c8f7a8; color: #235b11; text-transform: uppercase; }
.accepted-flow { position: absolute; top: 37%; left: 40px; right: 40px; text-align: center; }
.accepted-flow img { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 24px; }
.accepted-flow h2 { font-size: 20px; font-weight: 500; margin: 0 0 8px; }
.accepted-flow p { font-size: 12px; line-height: 16px; margin: 0; }
.request-arrow { position: relative; width: 40px; height: 40px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.unread-dot { position: absolute; top: -2px; right: -2px; background: var(--red); color: #fff; border-radius: 12px; font-size: 12px; padding: 2px 5px; }
.key-digits { display: flex; gap: 8px; justify-content: center; margin: 0 auto; }
.key-digits span { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.rfid-code { display: flex; justify-content: space-between; gap: 8px; background: var(--soft); border-radius: 30px; padding: 12px 24px; font-size: 14px; margin: 0 auto; max-width: 304px; }
.key-area:has(.rfid-code) { padding-top: 20px; padding-bottom: 10px; }
.rfid-raw { font-size: 12px; color: var(--faint); margin-top: 8px; }
.gsm-row { width: 100%; background: var(--soft); display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 25px; margin-top: 8px; text-align: left; font-size: 12px; }
.gsm-row .circle-icon { width: 24px; height: 24px; }
.gsm-row .circle-icon .icon { width: 16px; height: 16px; }
.gsm-row strong { margin-left: auto; font-size: 12px; }
.manual-key { padding: 8px; }
.manual-key .info-note { font-size: 12px; }
.add-checkpoint { align-self: stretch; background: #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.add-checkpoint > .icon { width: 40px; height: 40px; color: var(--green); margin-bottom: 24px; }
.add-checkpoint h2 { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.add-checkpoint p { font-size: 14px; line-height: 18px; margin: 0 0 24px; }
.overlay-scrim { position: absolute; inset: 0; z-index: 50; background: #0008; display: flex; align-items: flex-end; }
.bottom-sheet { width: 100%; max-height: calc(100% - 120px); overflow: auto; background: var(--bg); border-radius: 32px 32px 0 0; padding: 16px 16px 28px; box-shadow: 0 -12px 50px #28372310; }
.sheet-handle { width: 50px; height: 5px; border-radius: 5px; background: #dce3d8; margin: 0 auto 16px; }
.confirm-body { border: 1px solid #fff; border-radius: 28px; text-align: center; padding: 28px 16px 16px; }
.confirm-body > img { width: 88px; height: 88px; object-fit: contain; margin: 8px auto 28px; }
.confirm-body h2 { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.confirm-body p { font-size: 12px; line-height: 16px; color: var(--muted); margin: 0 0 24px; }
.confirm-body p:last-child { margin-bottom: 0; }
.bottom-sheet > .danger, .bottom-sheet > .secondary, .bottom-sheet > .primary { width: 100%; margin-top: 8px; }
.bottom-sheet .sheet-header { padding: 0 0 16px; height: auto; min-height: 56px; }
.bottom-sheet .option-list { border-radius: 24px; }
.toast { position: absolute; z-index: 80; top: 52px; left: 50%; transform: translate(-50%, -10px); padding: 12px; border-radius: 30px; background: #fffffff0; box-shadow: var(--shadow); backdrop-filter: blur(14px); font-size: 12px; line-height: 16px; display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast.bottom { top: auto; bottom: 28px; }
.toast.lifted { bottom: 88px; }
.upload-scrim { background: transparent; display: block; }
.bottom-sheet:focus, .attachment-menu:focus, .bright-overlay:focus { outline: none; }
.attachment-menu { position: absolute; right: 36px; width: 160px; background: #ffffffed; border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(20px); overflow: hidden; }
.attachment-menu .option-list { background: transparent; }
.attachment-menu .option-list button { justify-content: flex-start; gap: 10px; padding: 12px 16px; border: 0; }
.attachment-menu .option-list .icon { width: 22px; height: 22px; color: var(--green); }
.toast .circle-icon { width: 28px; height: 28px; }
.toast .circle-icon .icon { width: 19px; height: 19px; }
.bright-overlay { position: absolute; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.bright-overlay .qr { width: 280px; height: 280px; }
.bright-overlay p { font-size: 16px; }
.bright-overlay .round-button { position: absolute; top: 80px; right: 16px; }
.event-item { display: flex; gap: 12px; padding: 16px; border-radius: 28px; background: #fff; margin-bottom: 12px; align-items: center; font-size: 14px; }
.event-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.event-item > div:nth-child(2) { flex: 1; }
.event-time { text-align: right; }
.chat-note { background: #fff; padding: 16px; border-radius: 24px; font-size: 14px; line-height: 20px; margin-bottom: 12px; }
.chat-note small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.chat-note.outgoing { background: #e0efd5; margin-left: 32px; }
.inline-error { color: var(--red); font-size: 12px; line-height: 16px; margin: 8px 16px; }
.attachment-preview { max-height: 450px; margin: 0 auto 16px; object-fit: contain; border-radius: 16px; }
.no-catalog .catalog { display: none; }
@media (max-width: 780px) {
  body { padding: 0; display: block; background: var(--bg); }
  .catalog { display: none; }
  .preview { width: 100%; }
  .preview-caption, .preview-footer { display: none; }
  .device { width: min(100%, 430px); height: 100dvh; min-height: 560px; margin: 0 auto; border-radius: 0; box-shadow: none; }
  .catalog-open .catalog { display: block; position: relative; top: 0; width: 100%; max-height: 45dvh; padding: 20px; background: #e6ebe3; }
  .catalog-open .device { height: 932px; }
  .catalog-open .brand, .catalog-open .catalog-intro, .catalog-open .catalog-note, .catalog-open .catalog-help { display: none; }
  .catalog-open .catalog-title { margin-top: 0; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 21px; }
  .pass-list-card { padding: 10px; }
  .pass-summary { gap: 6px; }
  .pass-person strong { font-size: 13px; }
  .plate-number { font-size: 12px; padding: 0 4px; }
  .plate-region { min-width: 31px; padding-left: 3px; padding-right: 3px; }
  .plate-country { width: 20px; }
  .detail-row { font-size: 12px; }
  .ticket-top strong { font-size: 12px; }
  .member strong { font-size: 12px; }
  .day { height: 46px; }
  .day.range-start::after, .day.range-end::after { width: 46px; height: 46px; left: calc(50% - 23px); }
  .rfid-code { padding-left: 16px; padding-right: 16px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
