@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #246ce8;
  --blue-dark: #1556ca;
  --blue-light: #e9f3ff;
  --blue-soft: #f3f8ff;
  --red: #ef4653;
  --ink: #18304a;
  --muted: #7b8a9c;
  --line: #e9eff5;
  --canvas: #f3f7fb;
  --white: #fff;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --shadow: 0 10px 26px rgba(22, 61, 110, .08);
  --font: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--canvas); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #8bc0ff; outline-offset: 2px; }
img { display: block; }
h1, h2, h3, p { margin-top: 0; }
.icon { flex: none; }

.preview-topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 4vw, 72px); background: #fff; box-shadow: 0 1px 0 var(--line); position: relative; z-index: 3; }
.preview-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; white-space: nowrap; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 31px; height: 31px; color: #fff; border-radius: 11px; background: var(--blue); box-shadow: 0 7px 13px #246ce82e; }
.preview-note { margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #8d9dae; }
.role-switch { display: flex; gap: 7px; padding: 5px; border-radius: 99px; background: #f3f6fa; }
.role-chip { border: 0; border-radius: 99px; color: #708296; background: transparent; font-size: 13px; font-weight: 700; padding: 10px 17px; white-space: nowrap; transition: .2s; }
.role-chip:hover { color: var(--blue); }
.role-chip.active { color: #fff; background: var(--blue); box-shadow: 0 4px 11px #246ce830; }
.preview-body { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 28px 20px 36px; background: radial-gradient(circle at 17% 11%, #e6f3ff 0, transparent 32%), radial-gradient(circle at 88% 85%, #eaf4f6 0, transparent 35%), var(--canvas); }
.device-caption { display: flex; align-items: center; justify-content: center; gap: 7px; color: #8999ab; font-size: 11px; margin-top: 15px; font-weight: 600; letter-spacing: .04em; }
.device-dot { width: 6px; height: 6px; border-radius: 50%; background: #6ac2a8; }

/* Mobile app shell shared by tourist, merchant and distributor */
.mobile-stage { display: flex; flex-direction: column; align-items: center; }
.phone-frame { position: relative; width: 390px; height: min(790px, calc(100vh - 165px)); min-height: 620px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 8px solid #202f44; border-radius: 42px; box-shadow: 0 30px 66px #173c7330, 0 5px 14px #173c731a; }
.phone-status { height: 31px; min-height: 31px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; background: #fff; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.phone-status-icons { display: flex; align-items: center; gap: 5px; }
.signal-bars { display: flex; align-items: end; gap: 2px; height: 11px; }
.signal-bars i { width: 3px; background: #20374d; border-radius: 1px; }
.signal-bars i:nth-child(1) { height: 5px; }.signal-bars i:nth-child(2) { height: 8px; }.signal-bars i:nth-child(3) { height: 11px; }
.wifi-mark { width: 11px; height: 8px; border: 2px solid #20374d; border-bottom-color: transparent; border-radius: 50% 50% 0 0; }
.battery { width: 15px; height: 8px; border: 1.6px solid #20374d; border-radius: 2px; position: relative; }
.battery:before { content: ''; display: block; position: absolute; top: 1px; left: 1px; bottom: 1px; right: 3px; background: #20374d; border-radius: 1px; }
.battery:after { content: ''; display: block; position: absolute; width: 2px; height: 4px; top: 1px; right: -4px; background: #20374d; border-radius: 0 2px 2px 0; }
.phone-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: #f8fafc; }
.phone-content::-webkit-scrollbar { display: none; }
.bottom-nav { min-height: 67px; display: flex; align-items: stretch; justify-content: space-around; background: #fff; border-top: 1px solid #edf1f6; box-shadow: 0 -4px 12px #223c5c08; }
.bottom-item { flex: 1; border: 0; background: transparent; color: #98a5b3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 600; position: relative; }
.bottom-item.active { color: var(--blue); font-weight: 800; }
.bottom-item.active:before { content: ''; position: absolute; top: 0; width: 22px; height: 3px; border-radius: 0 0 4px 4px; background: var(--blue); }
.home-indicator { height: 15px; min-height: 15px; display: grid; place-items: center; background: #fff; }
.home-indicator:after { content: ''; width: 111px; height: 4px; border-radius: 99px; background: #203143; }

/* Common consumer components */
.overline, .section-kicker { color: #6f9ac5; font-size: 10px; letter-spacing: .13em; font-weight: 800; text-transform: uppercase; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 27px 0 15px; gap: 12px; }
.section-head h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.05em; margin: 4px 0 0; }
.section-link { display: inline-flex; align-items: center; color: var(--blue); gap: 1px; white-space: nowrap; font-size: 11px; font-weight: 700; padding-bottom: 2px; }
.badge { display: inline-flex; align-items: center; border-radius: 7px; padding: 4px 7px; font-size: 10px; line-height: 1.2; font-weight: 700; white-space: nowrap; }
.badge-blue { background: #e7f0ff; color: #1d65d8; }
.badge-pale { background: #f1f5f9; color: #6a7f92; }
.badge-orange { background: #fff0d8; color: #b46f17; }
.badge-green { background: #e6f8ed; color: #2b936a; }
.badge-white { background: #ffffff24; color: #fff; border: 1px solid #ffffff50; }
.photo { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback { background: #e6f3ff; }
.empty-card { background: #fff; color: var(--muted); padding: 24px; border-radius: 16px; text-align: center; font-size: 12px; }
.gentle-note { display: flex; align-items: center; justify-content: center; gap: 7px; color: #8aa3bb; padding: 29px 0 16px; font-size: 12px; }
.info-panel { border-radius: 16px; background: #eaf4ff; padding: 14px; color: #4b749e; display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.5; margin-top: 19px; }
.round-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 13px; border: 0; color: #4271ac; background: #f1f7ff; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 0 17px; border-radius: 13px; font-size: 12px; font-weight: 800; border: 1px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 7px 14px #246ce825; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--blue-soft); border-color: #d7e8ff; color: var(--blue-dark); }
.dialog-backdrop { position: fixed; inset: 0; z-index: 20; background: #132c466e; display: grid; place-items: center; padding: 22px; }
.dialog-card { width: min(100%, 360px); border-radius: 22px; background: #fff; box-shadow: 0 25px 70px #10253a38; padding: 24px; }
.dialog-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-light); color: var(--blue); }
.dialog-card h2 { font-size: 19px; margin: 14px 0 8px; }
.dialog-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 24px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Tourist home */
.tourist-home { background: #f8fafc; min-height: 100%; }
.tourist-top { height: 68px; padding: 10px 21px 13px; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.tourist-top .overline { color: #a3b2c0; font-size: 9px; }
.location-line { display: flex; align-items: center; gap: 3px; color: #1c3148; font-size: 17px; line-height: 1.2; font-weight: 800; }
.location-line svg { color: var(--blue); }
.weather { font-size: 10px; color: #92a0ae; font-weight: 600; margin-left: 8px; }
.hero { height: 304px; position: relative; overflow: hidden; background: linear-gradient(135deg, #b6d4ea, #7aa7c3 47%, #4f7f9b); }
.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #10283cab 0%, #122f473a 82%), linear-gradient(0deg, #15304780 0%, transparent 55%); }
.hero-content { position: absolute; left: 22px; right: 20px; bottom: 28px; color: #fff; }
.hero-eyebrow { font-size: 9px; letter-spacing: .13em; font-weight: 800; border: 1px solid #ffffff8c; border-radius: 99px; padding: 5px 9px; display: inline-block; background: #ffffff1b; }
.hero h1 { margin: 10px 0 8px; font-size: 28px; line-height: 1.24; letter-spacing: -.07em; font-weight: 800; text-shadow: 0 2px 8px #10283c46; }
.hero p { font-size: 11px; margin-bottom: 16px; opacity: .95; }
.hero-cta { background: #fff; border: 0; color: var(--blue); border-radius: 99px; height: 35px; padding: 0 13px 0 16px; display: inline-flex; gap: 9px; align-items: center; font-size: 11px; font-weight: 800; }
.hero-count { position: absolute; right: 22px; bottom: 34px; color: #ffffffb5; font-size: 10px; }
.hero-count b { color: #fff; font-size: 15px; }
.home-body { position: relative; margin-top: -10px; padding: 15px 18px 10px; background: #f8fafc; border-radius: 18px 18px 0 0; }
.search-box { height: 44px; display: flex; align-items: center; gap: 9px; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px #234d7710; color: #8aa2b8; padding: 0 14px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #a9b7c3; }
.welcome-line { color: #6d7f91; display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding: 20px 2px 12px; }
.welcome-line svg { color: #f3b350; }
.category-strip { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 3px; }
.category-strip::-webkit-scrollbar { display: none; }
.category-chip { border: 1px solid #e8eef5; background: #fff; color: #718397; border-radius: 99px; padding: 9px 13px; white-space: nowrap; font-size: 11px; font-weight: 700; }
.category-chip.active { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 5px 11px #246ce829; }
.product-list { display: grid; gap: 13px; }
.product-card { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 7px 19px #2147670c; display: grid; grid-template-columns: 122px 1fr; min-height: 129px; }
.product-photo { position: relative; min-height: 129px; background: linear-gradient(145deg, #bad6dc, #b2c9aa); }
.image-label { position: absolute; top: 9px; left: 8px; background: #fffef2f5; color: #ac7730; font-size: 9px; font-weight: 800; border-radius: 6px; padding: 4px 6px; }
.product-copy { padding: 11px 10px 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.product-badges { display: flex; gap: 4px; }
.product-badges .badge { font-size: 9px; }
.product-copy h3 { font-size: 16px; margin: 7px 0 3px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-copy p { font-size: 10px; color: var(--muted); margin: 0; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-validity { margin-top: 5px; color: #66829e; font-size: 10px; line-height: 1.2; }
.product-bottom { margin-top: auto; display: flex; align-items: end; justify-content: space-between; }
.price { font-size: 22px; color: var(--red); font-weight: 800; letter-spacing: -.06em; }
.price small { font-size: 12px; margin-right: 1px; }
.product-bottom del { color: #acb7c1; font-size: 10px; margin-left: 4px; }
.product-arrow { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #edf5ff; color: var(--blue); }
.product-card.compact { grid-template-columns: 102px 1fr; min-height: 111px; }
.product-card.compact .product-photo { min-height: 111px; }

/* Standard mobile pages */
.standard-page { min-height: 100%; background: #f8fafc; }
.page-pad { padding: 20px 18px 30px; }
.soft-header, .simple-head { padding: 25px 22px 24px; background: linear-gradient(140deg, #e4f2ff, #f8fbff 75%); }
.soft-header h1, .simple-head h1 { margin: 5px 0 4px; font-size: 28px; letter-spacing: -.06em; }
.soft-header p, .simple-head p { margin: 0; color: #7d91a4; font-size: 11px; }
.simple-head { background: #fff; padding-bottom: 18px; }
.segmented { display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid #edf1f5; margin-bottom: 17px; color: #8d9dab; font-weight: 700; font-size: 12px; }
.segmented span { padding-bottom: 11px; position: relative; }
.segmented .selected { color: var(--blue); }
.segmented .selected:after { content: ''; height: 3px; background: var(--blue); border-radius: 99px; position: absolute; bottom: 0; left: 2px; right: 2px; }
.order-card, .record-card { border-radius: 18px; background: #fff; padding: 15px; margin: 0 0 12px; box-shadow: var(--shadow); }
.order-meta, .record-head { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: #8a99a8; font-size: 10px; }
.order-product { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.order-product img { flex: none; width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: #d7e4e9; }
.order-product h3 { margin: 0 0 5px; font-size: 14px; }
.order-product p { margin: 0 0 7px; color: var(--muted); font-size: 10px; }
.order-product strong { color: var(--red); font-size: 16px; }
.order-foot { border-top: 1px solid var(--line); padding-top: 11px; display: flex; justify-content: space-between; align-items: center; color: #70869a; font-size: 10px; }
.profile-header { background: linear-gradient(135deg, #cfe7ff 0%, #e7f4ff 58%, #f4faff 100%); height: 205px; padding: 30px 22px; position: relative; overflow: hidden; }
.profile-top { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.profile-avatar { width: 67px; height: 67px; border-radius: 23px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 6px 14px #1f5a9124; }
.profile-avatar img { width: 100%; height: 100%; }
.profile-header h1 { font-size: 21px; margin: 4px 0; letter-spacing: -.05em; }
.profile-header p { color: #6989aa; font-size: 11px; margin: 0; }
.profile-decoration { position: absolute; color: #b8dcff; right: 15px; top: 95px; transform: rotate(17deg); }
.profile-body { margin-top: -49px; position: relative; }
.my-pass-card { border-radius: 21px; padding: 18px; background: linear-gradient(130deg, #2d7be9, #55a6ef); color: #fff; box-shadow: 0 12px 24px #2276d536; }
.my-pass-top, .pass-stat { display: flex; justify-content: space-between; align-items: center; }
.my-pass-top { font-size: 12px; font-weight: 800; }
.my-pass-card h3 { font-size: 20px; margin: 15px 0 5px; }
.my-pass-card p { font-size: 10px; opacity: .8; }
.pass-progress { width: 100%; height: 6px; border-radius: 99px; background: #ffffff4e; overflow: hidden; margin: 21px 0 8px; }
.pass-progress span { display: block; height: 100%; border-radius: inherit; background: #fff; }
.pass-stat { font-size: 10px; opacity: .9; }
.quick-grid { margin-top: 19px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; padding: 17px 5px; border-radius: 18px; box-shadow: var(--shadow); }
.quick-grid div { display: flex; align-items: center; flex-direction: column; gap: 9px; color: var(--blue); }
.quick-grid span { color: #63788d; font-size: 10px; }

/* Merchant */
.merchant-header { color: #fff; background: linear-gradient(128deg, #2474e8, #42a0e8); padding: 26px 21px 77px; position: relative; }
.merchant-header:after { content: ''; position: absolute; width: 164px; height: 164px; border-radius: 50%; border: 36px solid #ffffff17; right: -70px; top: -43px; }
.eyebrow-light { color: #d7eaff; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.merchant-header h1 { font-size: 24px; letter-spacing: -.06em; margin: 9px 0 5px; }
.merchant-header p { font-size: 11px; color: #d5e9ff; margin: 0; }
.merchant-status { display: inline-flex; align-items: center; gap: 5px; color: #fff; background: #ffffff25; border: 1px solid #ffffff47; border-radius: 99px; padding: 6px 10px; margin-top: 19px; font-size: 10px; }
.raised-body { margin-top: -55px; position: relative; }
.stats-row { background: #fff; border-radius: 19px; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); padding: 19px 8px; }
.stats-row > div { padding: 0 17px; display: flex; flex-direction: column; }
.stats-row > div + div { border-left: 1px solid var(--line); }
.stats-row span, .metrics-grid span { color: #8294a6; font-size: 11px; }
.stats-row strong { font-size: 27px; letter-spacing: -.04em; margin-top: 4px; }
.stats-row small { color: #4aac83; font-size: 10px; }
.merchant-home-stats { row-gap: 16px; }
.merchant-home-stats > div:nth-child(odd) { border-left: 0; }
.merchant-home-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 16px; }
.merchant-home-stats strong { overflow-wrap: anywhere; }
.scan-banner { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 15px; border: 0; border-radius: 19px; color: #fff; background: var(--blue); box-shadow: 0 12px 20px #2a6bce2b; text-align: left; }
.scan-bubble { display: grid; place-items: center; flex: none; width: 49px; height: 49px; border-radius: 15px; background: #ffffff25; }
.scan-banner > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.scan-banner strong { font-size: 15px; }.scan-banner small { color: #d4e8ff; font-size: 10px; }
.merchant-benefit, .recent-row { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.benefit-symbol { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; }
.benefit-symbol.orange { color: #d28d35; background: #fff3df; }
.merchant-benefit > div:nth-child(2), .recent-row > div { flex: 1; min-width: 0; }
.merchant-benefit h3, .recent-row strong { font-size: 12px; margin: 0 0 5px; }
.merchant-benefit p, .recent-row p { color: #98a6b4; font-size: 10px; margin: 0; }
.merchant-benefit > svg { color: #a6b4c2; }
.recent-check { background: #eaf8ee; color: #2baa70; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.recent-money { color: #2b9865; font-size: 12px; font-weight: 800; }
.split-summary { background: #fff; border-radius: 17px; padding: 17px 4px; display: grid; grid-template-columns: 1fr 1fr; margin-top: 17px; box-shadow: var(--shadow); }
.split-summary > div { display: flex; flex-direction: column; gap: 7px; padding: 0 15px; }.split-summary > div + div { border-left: 1px solid var(--line); }
.split-summary span { color: #8191a1; font-size: 10px; }.split-summary strong { font-size: 17px; }
.scan-preview { margin: 12px 0 18px; height: 280px; border-radius: 24px; background: linear-gradient(140deg, #e9f4ff, #d9ecfb); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--blue); }
.scan-frame { border: 2px dashed #8ab9ed; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 23px; background: #ffffff72; }
.scan-preview h2 { font-size: 15px; color: var(--ink); margin: 16px 0 5px; }.scan-preview p { color: #8197a9; font-size: 10px; }
.manual-card { background: #fff; border-radius: 18px; padding: 17px; box-shadow: var(--shadow); }
.manual-title { font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; color: #6c8298; }
.form-field input { border: 1px solid #e0eaf4; border-radius: 11px; outline: 0; background: #f9fbfd; padding: 10px 12px; font-size: 12px; }
.muted-help { color: #a4b1bf; font-size: 10px; margin-top: 10px; }
.record-card { margin-top: 8px; }.record-card h3 { font-size: 14px; margin: 15px 0 5px; }.record-card p { color: var(--muted); font-size: 10px; }
.record-foot { border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; color: #8494a4; font-size: 10px; }.record-foot strong { color: #259662; font-size: 12px; }
.settlement-hero { border-radius: 22px; color: #fff; background: linear-gradient(130deg, #2270df, #4698ee); padding: 20px; box-shadow: 0 12px 23px #2272d52b; }
.settlement-hero span { color: #e4f2ff; font-size: 11px; }.settlement-hero strong { display: block; font-size: 32px; margin: 6px 0; }.settlement-hero p { color: #d4e9ff; font-size: 10px; margin: 0; }
.split-summary.light { box-shadow: none; border: 1px solid var(--line); }
.bill-sample { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px; border-radius: 16px; box-shadow: var(--shadow); }
.bill-sample > span:first-child { background: var(--blue-light); color: var(--blue); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; }
.bill-sample div { min-width: 0; flex: 1; }.bill-sample strong { font-size: 12px; }.bill-sample p { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 4px 0 0; }
.merchant-profile { background: linear-gradient(145deg, #d9eeff, #f3faff); height: 170px; }
.merchant-avatar { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; color: var(--blue); background: #fff; box-shadow: var(--shadow); }
.detail-list { background: #fff; border-radius: 18px; padding: 5px 16px; box-shadow: var(--shadow); }
.detail-list div { display: flex; justify-content: space-between; gap: 15px; padding: 16px 0; font-size: 11px; }
.detail-list div + div { border-top: 1px solid var(--line); }.detail-list span { color: #8292a1; }.detail-list strong { font-size: 11px; text-align: right; }

/* Distributor */
.distributor-header { color: #fff; background: linear-gradient(130deg, #2669d9, #5ba6e9); height: 244px; padding: 31px 22px; position: relative; overflow: hidden; }
.distributor-header:before { content: ''; position: absolute; right: -32px; bottom: -80px; width: 210px; height: 210px; border-radius: 50%; border: 28px solid #ffffff20; }
.distributor-header h1 { margin: 18px 0; font-size: 26px; line-height: 1.35; letter-spacing: -.06em; position: relative; z-index: 1; }
.distributor-orb { position: absolute; right: 25px; bottom: 32px; width: 76px; height: 76px; border-radius: 25px; background: #ffffff24; display: grid; place-items: center; transform: rotate(-9deg); }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); padding: 2px; border-radius: 19px; overflow: hidden; box-shadow: var(--shadow); }
.metrics-grid > div { display: flex; flex-direction: column; gap: 4px; background: #fff; padding: 13px; }.metrics-grid strong { font-size: 19px; letter-spacing: -.03em; }
.promo-highlight { margin-top: 18px; display: flex; align-items: center; background: #ecf5ff; border-radius: 19px; padding: 16px; }
.promo-highlight div { flex: 1; }.promo-highlight h3 { font-size: 14px; margin: 6px 0 3px; }.promo-highlight p { color: #7e93a8; font-size: 10px; margin: 0; }
.qr-icon { background: #fff; color: var(--blue); width: 57px; height: 57px; border-radius: 13px; display: grid; place-items: center; }
.commission-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; padding: 18px 4px; border-radius: 18px; box-shadow: var(--shadow); }
.commission-strip div { text-align: center; display: flex; flex-direction: column; gap: 7px; }.commission-strip div + div { border-left: 1px solid var(--line); }
.commission-strip span { color: #8494a3; font-size: 9px; }.commission-strip strong { font-size: 15px; }
.mini-products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-products > div { min-width: 0; background: #fff; border-radius: 15px; overflow: hidden; padding-bottom: 10px; box-shadow: var(--shadow); }
.mini-products img { width: 100%; height: 93px; object-fit: cover; background: #d4e3e9; }
.mini-products span { display: block; font-size: 11px; font-weight: 700; padding: 9px 9px 4px; }.mini-products strong { display: block; color: var(--red); font-size: 13px; padding: 0 9px; }
.qr-card { border-radius: 22px; background: #fff; padding: 18px; text-align: center; box-shadow: var(--shadow); }
.qr-card > span { display: block; text-align: left; }.qr-preview { display: grid; place-items: center; width: 176px; height: 176px; border-radius: 16px; margin: 8px auto 14px; background: repeating-linear-gradient(45deg, #e8f0fc, #e8f0fc 8px, #f8fbff 8px, #f8fbff 16px); color: #3269b4; border: 9px solid #f8fbff; }
.qr-card h2 { margin: 0 0 6px; font-size: 14px; }.qr-card p { color: #8899a7; font-size: 10px; margin: 0; }.qr-caption { color: #3872b6; border-radius: 9px; background: #e8f3ff; padding: 8px; margin-top: 15px; font-size: 10px; }

/* Platform web shell */
.platform-stage { width: min(1380px, 100%); min-width: 0; }
.web-window { width: 100%; min-height: 716px; overflow: hidden; background: #f7f9fc; border: 1px solid #e4ebf2; border-radius: 19px; box-shadow: 0 25px 65px #22466b18; }
.web-top { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: #fff; border-bottom: 1px solid #e7edf4; }
.web-logo { display: flex; align-items: center; gap: 8px; white-space: nowrap; }.web-logo strong { font-size: 18px; letter-spacing: -.05em; }.web-logo small { color: #8495a6; font-size: 11px; margin-left: 10px; }
.web-top-right { display: flex; align-items: center; gap: 13px; font-size: 11px; color: #5b6c7f; }
.top-help { color: #889bac; margin-right: 7px; }.web-icon { display: grid; place-items: center; width: 31px; height: 31px; background: #f3f7fb; color: #6b8197; border: 0; border-radius: 9px; }
.web-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #fff; background: #5693df; font-size: 9px; font-weight: 700; }
.web-layout { display: flex; min-height: 650px; }.web-sidebar { flex: none; width: 204px; background: #fff; border-right: 1px solid #e7edf4; padding: 26px 12px 12px; display: flex; flex-direction: column; }
.sidebar-caption { font-size: 10px; color: #a7b4c1; letter-spacing: .08em; padding: 0 14px 13px; font-weight: 700; }
.sidebar-nav { display: grid; gap: 3px; }.sidebar-item { border: 0; background: transparent; display: flex; align-items: center; gap: 11px; color: #66788a; font-size: 12px; font-weight: 600; text-align: left; width: 100%; padding: 10px 12px; border-radius: 9px; }.sidebar-item span { flex: 1; }.sidebar-item.active { background: #eaf3ff; color: var(--blue); font-weight: 800; }.sidebar-item:hover:not(.active) { background: #f6f9fc; color: #3e6da6; }
.sidebar-foot { display: flex; align-items: center; gap: 8px; background: #f5f9ff; border-radius: 10px; margin-top: auto; padding: 10px; }.sidebar-foot-icon { color: var(--blue); }.sidebar-foot strong { display: block; font-size: 10px; }.sidebar-foot small { font-size: 9px; color: #9cabb9; }
.web-main { flex: 1; min-width: 0; padding: 31px clamp(22px, 3vw, 44px); }
.platform-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }.platform-heading h1 { font-size: 25px; margin: 6px 0 5px; letter-spacing: -.04em; }.platform-heading p { color: #8697a8; font-size: 11px; margin: 0; }
.date-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; border-radius: 9px; background: #fff; color: #73889d; border: 1px solid #e8edf3; font-size: 11px; }
.platform-kpis { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; margin-bottom: 15px; }
.platform-kpis > div { display: flex; flex-direction: column; gap: 6px; background: #fff; padding: 18px; border-radius: 15px; border: 1px solid #edf1f5; box-shadow: 0 6px 14px #274e7510; }
.platform-kpis span { color: #7c8fa1; font-size: 11px; }.platform-kpis strong { font-size: 27px; letter-spacing: -.05em; }.platform-kpis small { color: #58aa83; font-size: 10px; }
.platform-two-col { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.workspace-card { background: #fff; border: 1px solid #edf1f5; border-radius: 16px; padding: 19px; box-shadow: 0 6px 14px #274e750c; min-width: 0; }
.workspace-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }.workspace-card-head h2 { font-size: 15px; margin: 0; }.workspace-card-head span { color: #7f94a7; font-size: 10px; }
.workspace-product { display: flex; gap: 11px; align-items: center; padding: 9px 0; }.workspace-product + .workspace-product { border-top: 1px solid var(--line); }.workspace-product img { width: 59px; height: 50px; border-radius: 9px; background: #d2e4e8; }.workspace-product div { flex: 1; min-width: 0; }.workspace-product strong { display: block; font-size: 11px; }.workspace-product small { display: block; font-size: 9px; color: #93a3b1; margin-top: 4px; }.workspace-product b { color: var(--red); font-size: 12px; }
.attention-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; }.attention-row + .attention-row { border-top: 1px solid var(--line); }.attention-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }.attention-icon.yellow { background: #fff4df; color: #daa343; }.attention-icon.blue { background: #e8f2ff; color: var(--blue); }.attention-icon.green { background: #e9f8ee; color: #3db07f; }.attention-row div { flex: 1; }.attention-row strong { font-size: 11px; }.attention-row p { color: #96a5b3; font-size: 9px; margin: 4px 0 0; }.attention-row b { font-size: 11px; color: #507da4; }
.list-workspace { padding: 0; overflow: hidden; }.list-toolbar { padding: 0 18px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }.list-tabs { display: flex; height: 64px; align-items: center; gap: 23px; font-size: 11px; color: #8e9eac; font-weight: 700; }.list-tabs span { align-self: stretch; display: flex; align-items: center; position: relative; }.list-tabs .active { color: var(--blue); }.list-tabs .active:after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 99px; background: var(--blue); }
.table-search { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e2e9f1; border-radius: 9px; color: #8a9bad; background: #fff; }.table-search input { border: 0; outline: 0; width: 150px; font-size: 10px; }.table-search input::placeholder { color: #a7b5c2; }
.table-scroll { width: 100%; overflow-x: auto; }.data-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }.data-table th { background: #f9fbfd; color: #8d9eae; font-weight: 700; font-size: 10px; padding: 12px 15px; white-space: nowrap; }.data-table td { border-top: 1px solid #f0f3f6; padding: 15px; white-space: nowrap; color: #63778a; }.data-table td:last-child { color: #9fadb9; }.data-table .table-name { display: block; color: #253d54; font-weight: 700; }.data-table small { display: block; font-size: 9px; color: #a0adba; margin-top: 4px; }.data-table del { font-size: 9px; color: #afbcc8; margin-left: 2px; }.table-empty { text-align: center; padding: 45px !important; color: #92a2b1; }
.generic-panel { min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.generic-illustration { color: var(--blue); width: 110px; height: 110px; display: grid; place-items: center; border-radius: 30px; background: #ecf5ff; }.generic-panel h2 { font-size: 17px; margin: 22px 0 8px; }.generic-panel p { max-width: 330px; font-size: 11px; color: #93a4b3; line-height: 1.7; }

@media (max-width: 1100px) { .preview-topbar { flex-wrap: wrap; height: auto; padding: 14px 20px; justify-content: center; }.preview-body { min-height: calc(100vh - 105px); }.web-sidebar { width: 175px; }.web-main { padding: 25px 20px; }.platform-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 740px) { .preview-note { display: none; }.role-switch { max-width: 100%; overflow-x: auto; scrollbar-width: none; }.role-chip { padding: 8px 11px; font-size: 11px; }.preview-body { padding: 0; display: block; min-height: calc(100dvh - 110px); }.mobile-stage { width: 100%; }.phone-frame { width: 100%; height: calc(100dvh - 110px); min-height: 540px; border: 0; border-radius: 0; box-shadow: none; }.device-caption { display: none; }.platform-stage { overflow-x: auto; }.web-window { border-radius: 0; min-width: 910px; min-height: calc(100dvh - 110px); }.web-top { height: 60px; } }
@media (max-width: 390px) { .role-chip { padding: 7px 8px; }.product-card { grid-template-columns: 110px 1fr; }.product-badges .badge { font-size: 8px; }.product-copy h3 { font-size: 14px; }.product-photo { min-height: 126px; } }

/* Tourist journey: all pages share the mobile shell and visual tokens above. */
.tourist-page { min-height: 100%; background: #f7f9fc; padding-bottom: 18px; }
.tourist-pad { padding: 18px 18px 28px; }
.tourist-page-head { height: 54px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; background: #fff; padding: 0 12px; position: sticky; top: 0; z-index: 4; box-shadow: 0 1px 0 #eaf0f6; }
.tourist-page-head strong { text-align: center; font-size: 15px; }
.tourist-back { border: 0; background: #f2f7fc; color: #466989; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; transform: rotate(180deg); }
.tourist-page-head .tourist-back svg { transform: none; }
.tourist-list-hero { background: linear-gradient(135deg, #dcecff, #f2f9ff); padding: 30px 21px 31px; }
.tourist-list-hero small { color: #6698c9; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.tourist-list-hero h1 { font-size: 25px; letter-spacing: -.05em; margin: 8px 0 6px; }
.tourist-list-hero p { color: #6b829a; font-size: 11px; margin: 0; }
.tourist-categories { margin: 17px 0 14px; }
.tourist-list-count { color: #7990a5; font-size: 11px; margin: 2px 0 12px; }
.tourist-product-list, .tourist-order-list, .tourist-pass-list, .tourist-refund-list, .tourist-benefits { display: grid; gap: 12px; }
.tourist-product-card { width: 100%; border: 0; padding: 0; display: grid; grid-template-columns: 118px 1fr; background: #fff; border-radius: 18px; overflow: hidden; text-align: left; color: inherit; min-height: 145px; box-shadow: 0 7px 20px #234d770d; }
.tourist-card-photo { position: relative; display: block; min-height: 145px; background: #dcebf2; }
.tourist-card-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.tourist-card-photo b { position: absolute; top: 9px; left: 7px; border-radius: 6px; background: #fff7e8f2; padding: 4px 6px; color: #a86924; font-size: 9px; }
.tourist-card-content { display: flex; flex-direction: column; min-width: 0; padding: 10px 10px 9px; }
.tourist-card-tags { margin-bottom: 5px; }
.tourist-card-content > strong { font-size: 15px; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.tourist-card-content > small { color: #8192a3; font-size: 10px; margin: 3px 0 6px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.tourist-card-content > em { font-style: normal; color: #728aa0; font-size: 9px; line-height: 1.35; }
.tourist-card-price { display: flex; align-items: center; margin-top: auto; gap: 4px; }
.tourist-card-price b { color: var(--red); font-size: 19px; letter-spacing: -.04em; }
.tourist-card-price del { font-size: 9px; color: #aab6c1; }
.tourist-card-price svg { margin-left: auto; color: var(--blue); }
.tourist-home-intro { display: flex; justify-content: space-between; color: #76889a; font-size: 11px; padding: 5px 0 13px; }
.tourist-home-intro svg { color: #e5b361; }
.tourist-theme-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tourist-theme { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 0; background: #fff; padding: 13px 4px; border-radius: 15px; color: #35516d; font-size: 10px; font-weight: 700; box-shadow: 0 5px 14px #234d770a; }
.tourist-theme span { display: grid; place-items: center; width: 34px; height: 34px; background: #eaf4ff; color: var(--blue); border-radius: 12px; }
.tourist-theme:nth-child(2) span { background: #fff0e5; color: #e99356; }
.tourist-theme:nth-child(3) span { background: #eaf8ed; color: #59a982; }
.tourist-section-title { margin: 26px 0 13px; }
.tourist-section-title small { display: block; color: #7ca4cb; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.tourist-section-title h2 { margin: 4px 0 0; font-size: 19px; letter-spacing: -.04em; }
.tourist-detail-photo { height: 245px; position: relative; background: #e7f3fa; }
.tourist-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.tourist-detail-photo > span { position: absolute; left: 18px; bottom: 14px; background: #fff; color: #c57830; padding: 5px 9px; border-radius: 7px; font-size: 10px; font-weight: 800; }
.tourist-detail-body { padding-top: 0; }
.tourist-detail-title { background: #fff; margin: -1px -18px 0; padding: 21px 18px 6px; border-radius: 20px 20px 0 0; position: relative; }
.tourist-detail-title h1 { margin: 10px 0 5px; font-size: 23px; }
.tourist-detail-title p { font-size: 11px; line-height: 1.6; color: #718499; margin: 0; }
.tourist-detail-price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.tourist-detail-price strong { color: var(--red); font-size: 29px; letter-spacing: -.05em; }
.tourist-detail-price del { color: #a8b4bf; font-size: 11px; }
.tourist-value-summary { margin: 14px 0 12px; padding: 14px; border: 1px solid #f5ddd2; border-radius: 16px; background: #fff8f4; }
.tourist-value-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tourist-value-heading h2 { margin: 0 0 4px; font-size: 15px; }
.tourist-value-heading small, .tourist-value-list small { color: #65768a; font-size: 11px; }
.tourist-value-saving { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 5px; color: #b72e35; font-size: 11px; font-weight: 700; }
.tourist-value-saving strong { font-size: 24px; letter-spacing: -.04em; }
.tourist-value-list { list-style: none; margin: 9px 0 0; padding: 0; }
.tourist-value-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f4e6dd; font-size: 12px; }
.tourist-value-list li span { display: grid; gap: 3px; overflow-wrap: anywhere; }
.tourist-value-totals { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; padding-top: 9px; border-top: 1px solid #eed8cd; color: #526477; font-size: 11px; }
.tourist-value-totals strong { color: #233d55; font-size: 13px; }
.tourist-value-totals span:last-child strong { color: #b72e35; }
.tourist-detail-price em { margin-left: auto; color: var(--red); font-style: normal; font-size: 10px; }
.tourist-benefit { background: #fff; border-radius: 17px; padding: 14px; box-shadow: 0 5px 16px #234d770a; }
.tourist-benefit-head { display: flex; align-items: center; gap: 9px; }
.tourist-benefit-head > div { flex: 1; min-width: 0; }
.tourist-benefit-head h3 { margin: 0; font-size: 13px; }
.tourist-benefit-head p { margin: 0; color: #8a9cac; font-size: 10px; line-height: 1.4; }
.tourist-benefit-head .badge { font-size: 9px; }
.tourist-benefit-value { background: #f4f8fd; border-radius: 11px; padding: 9px 10px; margin: 9px 0 2px; }
.tourist-benefit-value > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tourist-benefit-value span { color: #506c83; font-size: 10px; font-weight: 700; }
.tourist-benefit-value strong { color: var(--red); font-size: 15px; }
.tourist-benefit-value small { display: block; margin-top: 3px; color: #8a9cac; font-size: 9px; line-height: 1.4; }
.tourist-merchant { display: flex; align-items: center; gap: 8px; border-top: 1px solid #eff3f7; padding: 10px 0 0; margin-top: 9px; }
.tourist-merchant-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: var(--blue); background: #eff6ff; }
.tourist-merchant > span:nth-child(2) { flex: 1; display: grid; gap: 3px; min-width: 0; }
.tourist-merchant strong { font-size: 10px; }
.tourist-merchant small { font-size: 9px; color: #93a2b0; }
.tourist-merchant a { color: var(--blue); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #f0f7ff; }
.tourist-benefit-action { border: 0; border-radius: 10px; background: #eaf4ff; color: var(--blue); font-weight: 800; width: 100%; padding: 9px 10px; margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.tourist-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tourist-rule-grid > div { background: #fff; border-radius: 15px; padding: 13px; display: flex; flex-direction: column; min-height: 128px; box-shadow: 0 5px 15px #234d7709; }
.tourist-rule-grid span { color: #8294a4; font-size: 10px; }
.tourist-rule-grid strong { color: var(--blue); font-size: 19px; margin: 7px 0; }
.tourist-rule-grid small { color: #8b9bab; font-size: 9px; line-height: 1.5; }
.tourist-white-block { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 5px 16px #234d770a; }
.tourist-white-block > p { color: #70869c; font-size: 11px; line-height: 1.7; margin: 0 0 10px; }
.tourist-white-block > p:last-child { margin-bottom: 0; }
.tourist-white-block h2 { font-size: 17px; margin-bottom: 7px; }
.tourist-white-block h3 { font-size: 12px; margin: 13px 0 5px; }
.tourist-notice { display: flex; align-items: flex-start; gap: 8px; color: #6281a0; background: #eaf4ff; padding: 12px; margin-top: 16px; border-radius: 12px; font-size: 10px; line-height: 1.55; }
.tourist-notice svg { color: var(--blue); margin-top: 1px; }
.tourist-sticky { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; padding: 12px 18px; box-shadow: 0 -5px 18px #1a385a12; z-index: 4; }
.tourist-sticky > div { display: flex; flex-direction: column; }
.tourist-sticky small { color: #8b9baa; font-size: 10px; }
.tourist-sticky strong { color: var(--red); font-size: 24px; }
.tourist-sticky .btn { min-height: 42px; border-radius: 13px; }
.tourist-sticky .btn:disabled { opacity: .45; cursor: not-allowed; }
.tourist-checkout-product { display: flex; gap: 11px; align-items: center; background: #fff; padding: 12px; border-radius: 16px; }
.tourist-checkout-product img { width: 80px; height: 80px; object-fit: cover; border-radius: 11px; }
.tourist-checkout-product h2 { font-size: 15px; margin: 0 0 5px; }
.tourist-checkout-product p { font-size: 10px; color: #8b9aac; margin: 0 0 7px; }
.tourist-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef2f7; font-size: 10px; }
.tourist-line:last-child { border: 0; }
.tourist-line span { color: #8395a7; flex: none; }
.tourist-line strong { color: #314c66; font-weight: 700; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.tourist-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; font-size: 11px; }
.tourist-total strong { color: var(--red); font-size: 22px; }
.tourist-simulation-note { font-size: 10px; line-height: 1.6; color: #9a8b70; background: #fff9eb; padding: 11px 13px; border-radius: 10px; margin-top: 16px; }
.tourist-payment-hero { display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 18px; padding: 27px 15px; margin-bottom: 15px; }
.tourist-payment-icon { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 19px; background: #eaf4ff; color: var(--blue); margin-bottom: 13px; }
.tourist-payment-hero small { color: #7c8fa2; font-size: 11px; }
.tourist-payment-hero strong { color: var(--red); font-size: 34px; margin: 3px 0; }
.tourist-payment-hero p { font-size: 11px; color: #8192a2; margin: 0; }
.tourist-countdown-row { display: flex; justify-content: space-between; font-size: 11px; align-items: center; border-bottom: 1px solid #eff3f7; padding-bottom: 11px; }
.tourist-countdown-row strong, .tourist-code-card .tourist-countdown { color: var(--blue); font-size: 16px; }
.tourist-simulation-actions { display: grid; gap: 9px; margin-top: 17px; }
.tourist-simulation-actions .btn { width: 100%; }
.tourist-text-btn { border: 0; background: transparent; color: #7691a9; padding: 8px; font-size: 11px; }
.tourist-pass-empty { background: #f3f7fa; }
.tourist-pass-empty-body { display: grid; gap: 16px; padding: 15px 16px 0; }
.tourist-pass-empty-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 212px;
  padding: 20px;
  border-radius: 19px;
  background: #123e59;
  color: #fff;
}
.tourist-pass-empty-hero img, .tourist-pass-empty-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.tourist-pass-empty-hero img { object-fit: cover; z-index: -2; }
.tourist-pass-empty-hero::after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, #0c2b43d9, #0c2b4333), linear-gradient(0deg, #0b233c55, transparent);
}
.tourist-pass-empty-intro > span { color: #d5eaf7; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.tourist-pass-empty-intro h1 { margin: 12px 0; font-size: 25px; line-height: 1.24; }
.tourist-pass-empty-intro p { margin: 0; color: #e8f3f9; font-size: 13px; line-height: 1.6; }
.tourist-pass-empty-examples, .tourist-pass-empty-guide { padding: 15px; border: 1px solid #e0eaf4; border-radius: 17px; }
.tourist-pass-empty-examples { background: #fff; }
.tourist-pass-empty-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tourist-pass-empty-body h2 { margin: 0; font-size: 16px; }
.tourist-pass-empty-section-head > span { color: #5c738b; font-size: 11px; }
.tourist-pass-empty-examples ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tourist-pass-empty-examples li { display: grid; justify-items: center; gap: 7px; text-align: center; font-size: 11px; }
.tourist-pass-empty-examples li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #2266c5; background: #e8f1ff; }
.tourist-pass-empty-examples li:nth-child(2) > span { color: #7556ad; background: #f1eaff; }
.tourist-pass-empty-examples li:nth-child(3) > span { color: #935321; background: #fff1e2; }
.tourist-pass-empty-examples li:nth-child(4) > span { color: #237766; background: #e4f5ed; }
.tourist-pass-empty-guide { background: #eaf3ff; border-color: #d6e7fb; }
.tourist-pass-empty-guide h2 { color: #195a9b; }
.tourist-pass-empty-guide ol { display: grid; gap: 10px; margin: 13px 0 0; padding: 0; list-style: none; }
.tourist-pass-empty-guide li { display: grid; grid-template-columns: 21px minmax(0, 1fr); align-items: start; gap: 9px; font-size: 12px; }
.tourist-pass-empty-guide li > span { display: grid; place-items: center; height: 21px; border-radius: 7px; color: #1d5a9a; background: #d9e9fc; font-weight: 800; }
.tourist-pass-empty-guide li p { margin: 2px 0 0; color: #4d6780; line-height: 1.5; }
.tourist-pass-empty-note { margin: -3px 0 0; text-align: center; color: #5c738b; font-size: 11px; line-height: 1.5; }
.tourist-pass-card { width: 100%; display: flex; flex-direction: column; gap: 10px; border: 0; border-radius: 18px; text-align: left; padding: 17px; background: linear-gradient(125deg, #2870e1, #54a8eb); color: #fff; box-shadow: 0 9px 20px #286be02b; }
.tourist-pass-card-top, .tourist-pass-card-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; width: 100%; }
.tourist-pass-card-top { font-size: 11px; font-weight: 800; }
.tourist-pass-card > strong { font-size: 17px; margin-top: 5px; }
.tourist-pass-card > small { font-size: 10px; opacity: .8; }
.tourist-pass-card-foot { font-size: 9px; opacity: .9; }
.tourist-progress { display: block; width: 100%; height: 6px; border-radius: 99px; background: #ffffff75; overflow: hidden; }
.tourist-progress i { display: block; height: 100%; background: #fff; border-radius: inherit; }
.tourist-progress.dark { background: #e5eef9; margin: 9px 0 13px; }
.tourist-progress.dark i { background: var(--blue); }
.tourist-tabs { display: flex; align-items: center; gap: 15px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #eaf0f5; margin: 0 0 15px; }
.tourist-tabs button { flex: none; position: relative; border: 0; background: transparent; color: #9caab8; font-size: 11px; font-weight: 700; padding: 8px 0 12px; }
.tourist-tabs button.active { color: var(--blue); }
.tourist-tabs button.active:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; border-radius: 5px; background: var(--blue); }
.tourist-pass-banner { height: 174px; position: relative; overflow: hidden; color: #fff; }
.tourist-pass-banner > img { width: 100%; height: 100%; object-fit: cover; }
.tourist-pass-banner:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #102b4ad6, transparent); }
.tourist-pass-banner > div { position: absolute; z-index: 1; left: 18px; bottom: 17px; }
.tourist-pass-banner h1 { margin: 7px 0 3px; font-size: 21px; }
.tourist-pass-banner p { margin: 0; font-size: 10px; opacity: .9; }
.tourist-progress-title { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.tourist-progress-title span { color: var(--blue); }
.tourist-record-row { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 5px; padding: 10px 0; border: 0; border-bottom: 1px solid #eff3f7; background: transparent; text-align: left; color: #29445f; font-size: 11px; }
.tourist-record-row small { grid-column: 1; font-size: 9px; color: #8e9fad; }
.tourist-record-row svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.tourist-empty-inline { color: #93a4b2; font-size: 11px; text-align: center; padding: 15px 0; }
.tourist-refund-entry { margin-top: 18px; color: #6684a1; font-size: 11px; }
.tourist-demo-box { margin-top: 19px; border: 1px dashed #cbdcf0; border-radius: 15px; background: #f4f8fd; padding: 14px; }
.tourist-demo-box small { color: var(--blue); font-size: 10px; font-weight: 800; }
.tourist-demo-box p { color: #7890a5; line-height: 1.55; font-size: 10px; margin: 7px 0 10px; }
.tourist-demo-box button { border: 1px solid #cfe2fa; color: var(--blue-dark); background: #fff; padding: 8px 10px; border-radius: 10px; margin: 0 6px 6px 0; font-size: 10px; font-weight: 700; }
.tourist-bottom-link { border: 0; color: var(--blue); background: transparent; padding: 14px; width: 100%; font-size: 11px; }
.tourist-code-card { background: #fff; border-radius: 19px; display: flex; align-items: center; flex-direction: column; padding: 22px 15px; box-shadow: var(--shadow); }
.tourist-code-card h1 { font-size: 20px; margin: 8px 0 4px; }
.tourist-code-card p { color: #8b9bac; font-size: 10px; margin-bottom: 19px; }
.tourist-demo-qr { width: 235px; height: 235px; display: grid; grid-template-columns: repeat(21, 1fr); grid-template-rows: repeat(21, 1fr); gap: 1px; background: #fff; padding: 8px; border: 7px solid #edf5ff; border-radius: 12px; }
.tourist-demo-qr i.filled { background: #203c5b; }
.tourist-code-expired { width: 235px; height: 235px; display: grid; place-content: center; text-align: center; border-radius: 12px; background: #edf3f8; color: #7890a5; font-weight: 800; }
.tourist-code-expired small { font-weight: 500; font-size: 10px; margin-top: 5px; }
.tourist-code-id { font-size: 10px; color: #5c7390; margin: 15px 0 6px; }
.tourist-code-remain { width: 100%; text-align: center; margin-top: 13px; padding-top: 14px; border-top: 1px solid #eff3f7; color: #71879c; font-size: 11px; }
.tourist-code-remain strong { color: var(--blue); font-size: 18px; }
.tourist-quantity { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 12px; padding: 10px 13px; color: #526f89; font-size: 11px; }
.tourist-quantity select { border: 1px solid #dce8f4; border-radius: 8px; background: #f7fbff; padding: 6px; color: var(--ink); }
.tourist-refund-reasons { border: 0; margin: 0; min-width: 0; }
.tourist-refund-reasons legend { font-size: 12px; font-weight: 700; color: #526f89; }
.tourist-refund-reasons label { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid #edf2f8; color: var(--ink); font-size: 13px; }
.tourist-refund-reasons label:last-child { border-bottom: 0; }
.tourist-refund-reasons input { accent-color: #2469ed; }
.tourist-refund-other { display: grid; gap: 10px; margin-top: 14px; color: #526f89; font-size: 12px; }
.tourist-refund-other[hidden] { display: none; }
.tourist-refund-other textarea { box-sizing: border-box; width: 100%; padding: 14px; border: 1px solid #dce8f4; border-radius: 12px; background: #fff; font: inherit; resize: vertical; }
.tourist-full-button { width: 100%; margin-top: 17px; }
.tourist-result-hero { display: flex; align-items: center; flex-direction: column; text-align: center; padding: 35px 12px; border-radius: 18px; background: #eaf8f1; color: #289870; }
.tourist-result-hero.failure { background: #fff2ea; color: #cd7847; }
.tourist-result-hero > div { display: grid; place-items: center; background: #fff; border-radius: 19px; width: 62px; height: 62px; }
.tourist-result-hero h1 { font-size: 22px; margin: 13px 0 5px; }
.tourist-result-hero p { font-size: 11px; margin: 0; }
.tourist-result-hero + .tourist-white-block { margin-top: 15px; }
.tourist-order-card { display: block; width: 100%; padding: 15px; text-align: left; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 5px 17px #234d770b; }
.tourist-order-card .order-meta { display: flex; align-items: center; justify-content: space-between; color: #91a0ae; font-size: 9px; padding: 0 0 11px; }
.tourist-order-card .order-product { display: flex; gap: 10px; align-items: center; padding: 0; }
.tourist-order-card .order-product img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.tourist-order-card .order-product span { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.tourist-order-card .order-product strong { font-size: 12px; color: var(--ink); }
.tourist-order-card .order-product small { color: #92a1af; font-size: 9px; }
.tourist-order-card .order-product b { color: var(--red); font-size: 14px; }
.tourist-order-card .order-foot { display: flex; justify-content: space-between; color: #788da1; font-size: 10px; margin-top: 12px; padding: 10px 0 0; border-top: 1px solid #f0f3f6; }
.tourist-order-summary { background: #fff; border-radius: 16px; padding: 17px; margin-bottom: 12px; }
.tourist-order-summary h1 { font-size: 18px; margin: 10px 0 4px; }
.tourist-order-summary p { margin: 0; color: #8d9daa; font-size: 10px; }
.tourist-refund-card { display: flex; flex-direction: column; gap: 6px; border: 0; background: #fff; border-radius: 15px; padding: 15px; text-align: left; box-shadow: 0 5px 15px #234d7709; }
.tourist-refund-card > span { display: flex; justify-content: space-between; font-size: 12px; }
.tourist-refund-card small { color: #8e9eae; font-size: 10px; }
.tourist-refund-card b { color: var(--red); font-size: 17px; }
.tourist-refund-hero { background: #fff; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 25px; margin-bottom: 13px; color: var(--blue); }
.tourist-refund-hero small { color: #8d9dad; }
.tourist-refund-hero strong { color: var(--red); font-size: 28px; }
.tourist-mine-heading { display: flex; justify-content: space-between; align-items: flex-end; }
.tourist-mine-heading .tourist-section-title { margin-top: 4px; }
.tourist-mine-heading button { border: 0; background: transparent; color: var(--blue); font-size: 10px; padding-bottom: 15px; }
.tourist-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; padding: 15px 5px; margin-top: 17px; }
.tourist-quick-grid button { display: grid; justify-items: center; gap: 8px; border: 0; background: transparent; color: var(--blue); font-size: 9px; }
.tourist-quick-grid span { color: #6c8195; }
.tourist-help-links { display: grid; gap: 7px; margin-top: 17px; }
.tourist-help-links button { text-align: left; border: 0; background: transparent; padding: 8px 0; color: #69829a; font-size: 11px; }
.tourist-faq-intro { background: #e7f4ff; color: #3b77b3; border-radius: 16px; padding: 20px; font-size: 17px; font-weight: 800; line-height: 1.5; margin-bottom: 16px; }
.tourist-faq-list { display: grid; gap: 9px; }
.tourist-faq-list details { background: #fff; border-radius: 12px; padding: 13px 14px; }
.tourist-faq-list summary { display: flex; justify-content: space-between; list-style: none; color: #304c65; font-size: 11px; font-weight: 800; cursor: pointer; }
.tourist-faq-list summary::-webkit-details-marker { display: none; }
.tourist-faq-list details[open] summary svg { transform: rotate(90deg); }
.tourist-faq-list p { color: #768b9e; font-size: 10px; line-height: 1.7; margin: 10px 0 0; }
.tourist-help-hero { background: #e7f4ff; border-radius: 18px; padding: 24px; color: var(--blue); }
.tourist-help-hero h1 { color: #264b71; font-size: 19px; margin: 12px 0 7px; }
.tourist-help-hero p { color: #6888a6; font-size: 10px; line-height: 1.65; }
.tourist-help-hero a { text-decoration: none; }

/* Merchant mini-program: the same warm visual system, focused on fulfillment. */
.merchant-page { min-height: 100%; padding-bottom: 16px; background: #f7f9fc; }
.merchant-page .page-pad { padding-bottom: 28px; }
.merchant-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 23px 0 12px; }
.merchant-section-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.04em; }
.merchant-section-heading button { padding: 0; border: 0; background: none; color: var(--blue); font-size: 10px; font-weight: 800; white-space: nowrap; }
.merchant-money-grid, .merchant-settlement-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.merchant-money-grid > div, .merchant-settlement-stats > div { min-width: 0; padding: 13px 8px; border-radius: 15px; background: #fff; box-shadow: 0 5px 15px #244b7409; text-align: center; }
.merchant-money-grid span, .merchant-settlement-stats span { display: block; color: #8799aa; font-size: 9px; white-space: nowrap; }
.merchant-money-grid strong, .merchant-settlement-stats strong { display: block; color: #2c5884; margin-top: 6px; font-size: 14px; white-space: nowrap; }
.merchant-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 15px; }
.merchant-shortcuts button { display: grid; justify-items: center; gap: 7px; min-height: 79px; padding: 11px 4px; border: 0; border-radius: 15px; background: #fff; color: var(--blue); box-shadow: 0 5px 15px #244b7409; }
.merchant-shortcuts span { color: #4a6580; font-size: 10px; font-weight: 700; }.merchant-shortcuts b { color: #8ca1b5; font-size: 9px; }
.merchant-white-link, .merchant-code-row { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; gap: 3px 7px; border: 0; border-radius: 15px; background: #fff; box-shadow: 0 5px 15px #244b7409; padding: 14px; text-align: left; color: var(--ink); }
.merchant-white-link small, .merchant-code-row small { grid-column: 1; color: #91a1b0; font-size: 9px; }.merchant-white-link svg:last-child, .merchant-code-row svg:last-child { grid-column: 2; grid-row: 1 / span 2; color: #a6b6c5; }
.merchant-list-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.merchant-list-title strong { font-size: 12px; }
.merchant-alert { display: flex; align-items: flex-start; gap: 7px; padding: 12px 14px; margin-top: 15px; border-radius: 13px; background: #fff3e8; color: #aa6b2d; font-size: 10px; line-height: 1.5; }
.merchant-code-list, .merchant-benefit-list { display: grid; gap: 9px; margin-bottom: 16px; }
.merchant-code-row strong { font-size: 12px; }.merchant-code-row small { line-height: 1.5; }
.merchant-full { display: flex; width: 100%; justify-content: center; align-items: center; margin-top: 15px; }
.merchant-page .manual-card { margin-top: 13px; }.merchant-page .manual-card .muted-help { margin-top: 10px; }
.merchant-confirm-hero, .merchant-detail-head { padding: 20px; margin: 0 0 14px; border-radius: 19px; background: linear-gradient(150deg, #e3f2ff, #fff 83%); }
.merchant-confirm-hero h1, .merchant-detail-head h1 { font-size: 22px; margin: 8px 0 5px; letter-spacing: -.05em; }
.merchant-confirm-hero p, .merchant-detail-head p { color: #7b91a5; font-size: 11px; margin: 0 0 12px; line-height: 1.5; }
.merchant-quantity-card { display: grid; gap: 13px; padding: 17px; margin-top: 15px; border-radius: 16px; background: #fff; box-shadow: 0 5px 15px #244b7409; font-size: 12px; font-weight: 700; }
.merchant-quantity-card label { color: #4c6a86; }.merchant-quantity-card select { width: 100%; border: 1px solid #dce8f4; border-radius: 12px; background: #f8fbff; color: #2a4b69; padding: 11px; font: inherit; }
.merchant-quantity-card > div { padding-top: 10px; border-top: 1px solid #edf2f6; color: #7d93a7; font-size: 11px; }.merchant-quantity-card strong { color: var(--blue); }
.merchant-quiet-action { display: flex; width: 100%; justify-content: center; padding: 12px; margin-top: 11px; border: 0; background: transparent; color: #7b91a6; font-size: 11px; font-weight: 700; }
.merchant-demo-panel { margin: 16px 0; padding: 16px; border: 1px dashed #9cc5ef; border-radius: 16px; background: #eef7ff; }
.merchant-demo-panel small { color: var(--blue); font-size: 10px; font-weight: 800; }.merchant-demo-panel p { color: #6c88a3; font-size: 10px; line-height: 1.6; margin: 7px 0 12px; }
.merchant-demo-panel button { border: 0; background: #fff; color: var(--blue); border-radius: 10px; padding: 9px 12px; font-size: 10px; font-weight: 800; }
.merchant-search { display: flex; align-items: center; gap: 8px; padding: 11px 12px; margin-bottom: 13px; border-radius: 13px; background: #fff; color: #8fa4b7; }.merchant-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.merchant-record-card { display: block; width: 100%; margin-bottom: 10px; padding: 15px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 5px 15px #244b7409; text-align: left; color: var(--ink); }
.merchant-record-card > small { display: block; margin-top: 6px; color: #8da0b2; font-size: 9px; line-height: 1.4; }
.merchant-record-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef2f7; color: #5d7891; font-size: 10px; font-weight: 700; }
.merchant-record-foot svg { color: #a7b8c9; }
.merchant-associated-products { display: grid; gap: 8px; }.merchant-associated-products > div { display: grid; gap: 5px; padding: 13px; border-radius: 13px; background: #fff; }.merchant-associated-products strong { font-size: 11px; }.merchant-associated-products small { color: #91a2b1; font-size: 9px; }
.merchant-hours-hero { padding: 21px; margin-bottom: 14px; border-radius: 18px; background: #e4f3ff; color: var(--blue); }.merchant-hours-hero h1 { color: var(--ink); font-size: 19px; margin: 9px 0 5px; }.merchant-hours-hero p { color: #7091ad; font-size: 10px; margin: 0; }
.merchant-hours-form { display: grid; gap: 15px; }.merchant-hours-form input { font-size: 15px; }
.merchant-settlement-stats { margin: 11px 0 16px; }.merchant-settlement-stats strong { font-size: 13px; }
.merchant-unbilled { display: grid; gap: 8px; }.merchant-unbilled > div:not(.empty-card) { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; }.merchant-unbilled span { display: grid; gap: 4px; }.merchant-unbilled strong { font-size: 11px; }.merchant-unbilled small { color: #91a1b0; font-size: 9px; }.merchant-unbilled b { color: #239163; font-size: 12px; }
.merchant-bill-meta { margin-top: 13px; }.merchant-bill-lines { display: grid; gap: 10px; }.merchant-bill-lines > div { display: grid; gap: 5px; padding: 14px; border-radius: 14px; background: #fff; }.merchant-bill-lines strong { font-size: 12px; }.merchant-bill-lines small { color: #899aaa; font-size: 9px; }.merchant-bill-lines span { display: flex; justify-content: space-between; padding-top: 9px; border-top: 1px solid #edf2f6; color: #6d859b; font-size: 10px; }.merchant-bill-lines b { color: #249361; font-size: 12px; }
.merchant-bill-lines .merchant-bill-product { color: #356a9a; font-size: 10px; font-weight: 700; }
.merchant-mine-actions { display: grid; gap: 9px; margin-top: 16px; }.merchant-mine-actions button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 15px; border: 0; border-radius: 14px; background: #fff; text-align: left; color: #456583; font-size: 11px; font-weight: 800; }.merchant-mine-actions button svg:first-child { color: var(--blue); }.merchant-mine-actions button svg:last-child { margin-left: auto; color: #a6b5c3; }
@media (max-width: 390px) { .merchant-money-grid span, .merchant-settlement-stats span { font-size: 8px; }.merchant-money-grid strong, .merchant-settlement-stats strong { font-size: 12px; } }

/* Distributor mini-program: promotion, attributed orders, and recipient bills. */
.distributor-page { min-height: 100%; padding-bottom: 20px; background: #f7f9fc; }
.distributor-page .page-pad { padding-bottom: 28px; }
.distributor-header { height: 236px; }
.distributor-header h1 { margin: 16px 0 7px; }
.distributor-header p { position: relative; z-index: 1; margin: 0; color: #dbeeff; font-size: 11px; }
.distributor-page .metrics-grid { margin-bottom: 15px; }
.distributor-page .metrics-grid span { color: #8396a8; font-size: 10px; }
.distributor-page .metrics-grid small { color: #9eafbd; font-size: 8px; }
.distributor-promo-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px; border: 0; border-radius: 18px; background: #e5f3ff; text-align: left; color: #254a72; }
.distributor-promo-banner > span:first-child { display: grid; gap: 4px; }
.distributor-promo-banner small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.distributor-promo-banner strong { font-size: 15px; }.distributor-promo-banner em { color: #7993a9; font-size: 10px; font-style: normal; }
.distributor-promo-banner .qr-icon { flex: none; }
.distributor-money-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.distributor-money-grid > button { min-width: 0; display: grid; gap: 7px; padding: 13px 7px; border:0; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 5px 15px #244b7409; cursor:pointer; }
.distributor-money-grid > button:hover { background:#edf5ff; }
.distributor-money-grid > button:focus-visible { outline:2px solid #246ce8; outline-offset:2px; }
.distributor-money-grid span { color: #8b9aaa; font-size: 9px; }.distributor-money-grid strong { color: #285b88; font-size: 13px; white-space: nowrap; }
.distributor-products { display: grid; gap: 10px; }
.distributor-product-card { display: flex; align-items: stretch; gap: 11px; width: 100%; padding: 9px; border: 0; border-radius: 16px; background: #fff; text-align: left; box-shadow: 0 5px 15px #244b7409; }
.distributor-product-photo { flex: none; width: 95px; height: 105px; border-radius: 12px; overflow: hidden; background: #e9f3fb; }
.distributor-product-photo img { width: 100%; height: 100%; object-fit: cover; }
.distributor-product-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 2px 0; }
.distributor-product-copy strong { color: var(--ink); font-size: 12px; }.distributor-product-copy small { color: #8a9cab; font-size: 9px; line-height: 1.4; }
.distributor-product-copy > span:last-child { margin-top: auto; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 5px; }
.distributor-product-copy b { color: var(--red); font-size: 15px; }.distributor-product-copy em { color: #2d9770; font-size: 9px; font-style: normal; }
.distributor-list-intro { padding: 8px 0 17px; }.distributor-list-intro h1 { margin: 0 0 6px; font-size: 21px; }.distributor-list-intro p { margin: 0; color: #8499ab; font-size: 10px; line-height: 1.6; }
.distributor-detail-photo { height: 190px; background: #e8f2fc; }.distributor-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.distributor-product-intro { padding: 17px 0; }.distributor-product-intro h1 { font-size: 21px; margin: 9px 0 5px; }.distributor-product-intro p { color: #7890a4; font-size: 11px; line-height: 1.6; }
.distributor-product-intro strong { color: var(--red); font-size: 23px; }.distributor-product-intro del { color: #a8b4bf; font-size: 11px; margin-left: 9px; }
.distributor-benefits { display: grid; gap: 8px; margin-bottom: 16px; }.distributor-benefits > div { display: flex; align-items: center; gap: 9px; padding: 11px; border-radius: 13px; background: #fff; }
.distributor-benefits span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #e6f3ff; color: var(--blue); }.distributor-benefits strong { flex: 1; font-size: 11px; }.distributor-benefits em { color: #26966c; font-size: 10px; font-style: normal; }
.distributor-action-stack { display: grid; gap: 9px; margin-top: 16px; }.distributor-action-stack .btn { width: 100%; justify-content: center; }.distributor-full { display: flex; width: 100%; justify-content: center; margin-top: 15px; }
.distributor-text-action { width: 100%; padding: 11px; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 800; }
.distributor-qr-overview { padding: 19px; border-radius: 21px; background: #fff; text-align: center; box-shadow: 0 5px 17px #244b740c; }
.distributor-qr-overview > .badge { float: left; }.distributor-qr-overview .distributor-qr-art { clear: both; }
.distributor-qr-art { display: grid; place-items: center; width: max-content; max-width: 100%; margin: 15px auto; padding: 10px; border: 1px solid #e5edf5; border-radius: 17px; background: #fff; }
.distributor-qr-overview h1, .distributor-qr-overview h2 { margin: 7px 0; font-size: 16px; }.distributor-qr-overview p { color: #728ca4; font-size: 10px; margin: 5px 0 13px; }.distributor-qr-overview small { display: block; color: #9aa9b7; font-size: 9px; line-height: 1.5; margin-bottom: 12px; }.distributor-qr-overview .btn { display: flex; justify-content: center; }
.distributor-qr-overview .distributor-overview-share { width: 100%; margin-top: 8px; }
.distributor-promotion-list { display: grid; gap: 9px; }.distributor-promotion-list article { display: flex; gap: 10px; padding: 10px; border-radius: 15px; background: #fff; }.distributor-promotion-list img { flex: none; width: 72px; height: 82px; border-radius: 10px; object-fit: cover; }
.distributor-promotion-list article > div { min-width: 0; display: grid; align-content: space-between; }.distributor-promotion-list strong { font-size: 12px; }.distributor-promotion-list small { color: #899bab; font-size: 10px; }
.distributor-promotion-list article div div { display: flex; flex-wrap: wrap; gap: 5px; }.distributor-promotion-list button { padding: 5px 7px; border: 1px solid #c6def7; border-radius: 8px; background: #f3f9ff; color: #2874c9; font-size: 9px; font-weight: 800; }
.distributor-poster { border-radius: 19px; background: #fff; overflow: hidden; box-shadow: 0 7px 25px #234d7717; }.distributor-poster > img { width: 100%; height: 260px; object-fit: cover; }.distributor-poster-copy { padding: 19px; }.distributor-poster-copy > small { color: var(--blue); font-size: 9px; font-weight: 800; }.distributor-poster-copy h1 { margin: 9px 0 6px; font-size: 21px; }.distributor-poster-copy p { color: #8396a7; font-size: 10px; }.distributor-poster-bottom { display: flex; align-items: center; gap: 13px; padding-top: 12px; border-top: 1px solid #eff3f6; }.distributor-poster-bottom > span { flex: none; }.distributor-poster-bottom div { display: grid; gap: 8px; }.distributor-poster-bottom strong { color: var(--red); font-size: 15px; }.distributor-poster-bottom small { color: #8ca0b1; font-size: 9px; }
.distributor-poster-bottom .distributor-poster-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.distributor-poster-price del { color: #a2afbc; font-size: 11px; text-decoration-thickness: 1px; }
.distributor-link-art { display: grid; place-items: center; width: 72px; height: 72px; margin: 19px auto 13px; border-radius: 22px; background: #e9f3ff; color: var(--blue); }
.distributor-link-box { margin-top: 14px; padding: 15px; border-radius: 15px; background: #fff; box-shadow: 0 5px 15px #244b7409; }
.distributor-link-box span { color: #7792ac; font-size: 10px; font-weight: 700; }
.distributor-link-box p { margin: 8px 0 0; color: var(--blue-dark); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; user-select: all; }
.distributor-action-stack .btn .icon { margin-right: 6px; }
.distributor-share-backdrop { position: absolute; inset: 0; z-index: 15; display: flex; align-items: flex-end; background: #102c4a83; }
.distributor-share-sheet { width: 100%; max-height: calc(100% - 30px); overflow-y: auto; padding: 10px 19px 19px; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -16px 40px #0f31502b; }
.distributor-share-handle { width: 38px; height: 4px; margin: 0 auto 18px; border-radius: 99px; background: #cbd8e5; }
.distributor-share-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.distributor-share-heading small { color: #77a3d2; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.distributor-share-heading h2 { margin: 5px 0 3px; font-size: 18px; }
.distributor-share-heading p { margin: 0; color: #8a9dab; font-size: 11px; }
.distributor-share-close { width: 29px; height: 29px; border: 0; border-radius: 10px; background: #f1f5f9; color: #7289a0; font-size: 22px; line-height: 1; }
.distributor-share-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 20px 0 13px; }
.distributor-share-options button { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 17px 8px; border: 1px solid #e5eef6; border-radius: 15px; background: #f9fcff; color: var(--ink); }
.distributor-share-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 3px; border-radius: 15px; background: #e3f6ee; color: #20a36b; }
.distributor-share-icon.moments { background: #e5f1ff; color: var(--blue); }
.distributor-share-options strong { font-size: 12px; }.distributor-share-options small { color: #8aa0b1; font-size: 10px; }
.distributor-share-note { margin: 0 0 16px; color: #7e91a4; font-size: 10px; line-height: 1.6; }
.distributor-share-cancel { width: 100%; min-height: 37px; border: 0; border-radius: 12px; background: #f2f6fa; color: #607c95; font-size: 11px; font-weight: 800; }
.distributor-scroll-tabs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }.distributor-scroll-tabs::-webkit-scrollbar { display: none; }.distributor-scroll-tabs button { flex: none; }
.distributor-record-list { display: grid; gap: 9px; }.distributor-record-card { display: grid; gap: 6px; width: 100%; padding: 14px; border: 0; border-radius: 15px; background: #fff; text-align: left; box-shadow: 0 5px 15px #244b7409; color: var(--ink); }
.distributor-row-top, .distributor-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; }.distributor-row-top strong { font-size: 12px; }.distributor-record-card > small { color: #8fa0af; font-size: 9px; }.distributor-row-foot { padding-top: 9px; margin-top: 5px; border-top: 1px solid #eef2f5; color: #64809a; font-size: 10px; }.distributor-row-foot b { color: #25956b; font-size: 14px; }.distributor-row-foot svg { color: #9caebd; }.distributor-record-card > em { color: #bd7441; font-size: 9px; font-style: normal; }
.distributor-detail-title, .distributor-summary-hero { padding: 19px; margin-bottom: 13px; border-radius: 18px; background: linear-gradient(145deg, #e2f1ff, #fff); }.distributor-detail-title h1 { margin: 10px 0 4px; font-size: 21px; }.distributor-detail-title p { color: #7891a6; font-size: 10px; }.distributor-detail-title > strong { color: var(--red); font-size: 20px; }
.distributor-summary-hero { background: linear-gradient(130deg, #2270df, #4698ee); color: #fff; }.distributor-summary-hero small { color: #deefff; font-size: 10px; }.distributor-summary-hero strong { display: block; margin: 8px 0; font-size: 28px; }.distributor-summary-hero p { color: #e2effc; font-size: 10px; margin: 0; }
.distributor-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0 15px; }.distributor-summary-grid > div { display: grid; gap: 7px; padding: 13px; border-radius: 13px; background: #fff; }.distributor-summary-grid span { color: #8799aa; font-size: 9px; }.distributor-summary-grid b { color: #295d8c; font-size: 14px; }
.distributor-bill-lines { display: grid; gap: 9px; }.distributor-bill-lines article { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: #fff; }.distributor-bill-lines article div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }.distributor-bill-lines b { color: #28966e; }.distributor-bill-lines small { color: #8599ab; font-size: 9px; }
@media (max-width: 350px) { .distributor-money-grid strong { font-size: 11px; }.distributor-product-photo { width: 82px; }.distributor-product-copy em { font-size: 8px; } }
.tourist-promo-block { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 35px; background: #f7f9fc; text-align: center; }
.tourist-promo-block > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #e8f3ff; color: var(--blue); }
.tourist-promo-block h1 { margin: 17px 0 8px; font-size: 22px; }.tourist-promo-block p { margin: 0; color: #8196aa; font-size: 12px; line-height: 1.7; }

/* Platform operations pages */
.web-main { overflow: auto; background: #f7f9fc; }
.platform-heading { gap: 20px; }
.platform-heading-actions,.platform-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.platform-actions { margin: 18px 0 6px; }
.platform-link { border: 0; border-radius: 10px; padding: 9px 12px; background: #edf5ff; color: #2370c4; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.platform-link:hover { background: #deedff; }
.platform-action-btn { font-size: 11px; padding: 9px 14px; white-space: nowrap; }
.platform-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; color: #8599aa; font-size: 11px; }
.platform-search { display: flex; align-items: center; gap: 8px; min-width: min(350px,100%); border: 1px solid #e2eaf3; border-radius: 12px; padding: 10px 13px; background: #fff; color: #90a1b0; }
.platform-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: #203a54; }
.platform-pill { display: inline-flex; padding: 5px 8px; border-radius: 7px; background: #eef3f7; color: #647a8d; font-size: 10px; font-weight: 800; white-space: nowrap; }
.platform-pill.good { background: #e9f7ef; color: #288455; }
.platform-pill.wait { background: #fff4df; color: #b27624; }
.platform-card { margin: 0 0 14px; }
.platform-card h2 { font-size: 15px; margin: 0 0 16px; }
.platform-status-field .platform-pill { width: fit-content; padding: 8px 14px; font-size: 14px; font-weight: 800; border: 1px solid currentColor; }
.platform-pill.danger { color: #c44444; background: #fff0ef; }
.platform-pill,.tourist-line .badge { font-weight: 800; }
.platform-settled-count { display: inline-block; padding: 5px 12px; border-radius: 9px; background: #e7f7ef; color: #16855d; }
.platform-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 20px; }
.platform-field-wide { grid-column: 1 / -1; }
.platform-detail-cover { display: block; width: min(100%,280px); aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: #edf4fb; }
.platform-detail-benefits { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.platform-detail-benefits li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #edf2f7; }
.platform-detail-benefits li:last-child { border-bottom: 0; }
.platform-detail-benefits li > div { min-width: 0; }
.platform-detail-benefits small { display: block; margin-top: 4px; color: #8b9caf; font-size: 11px; overflow-wrap: anywhere; }
.platform-detail-benefits li > strong { flex-shrink: 0; color: #246bf1; }
.platform-field { min-width: 0; display: flex; flex-direction: column; gap: 5px; padding-bottom: 12px; border-bottom: 1px solid #eef2f6; }
.platform-field span { color: #8598aa; font-size: 10px; }
.platform-field strong { color: #2b445a; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.platform-alert { margin: 0 0 16px; border-radius: 12px; padding: 14px 16px; background: #eaf4ff; color: #3474ad; font-size: 11px; line-height: 1.6; }
.platform-alert.danger { background: #fff1e9; color: #bb642f; }
.platform-muted { color: #9babb9; font-size: 11px; }
.platform-form { padding: 24px; }
.platform-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.platform-input { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: #51697e; font-size: 11px; font-weight: 700; }
.platform-input.wide { grid-column: 1/-1; }
.platform-input input,.platform-input select,.platform-input textarea,.platform-dialog input,.platform-dialog textarea { width: 100%; min-width: 0; border: 1px solid #dce8f3; border-radius: 11px; padding: 11px 12px; background: #fff; color: #29465e; font: inherit; font-size: 11px; outline-color: #54a0ef; box-sizing: border-box; }
.platform-input textarea,.platform-dialog textarea { resize: vertical; }
.platform-input small { color: #9aabba; font-weight: 400; line-height: 1.5; }
.platform-icon-field { margin: 0; padding: 0; border: 0; }
.platform-icon-field legend { padding: 0; margin-bottom: 8px; }
.platform-icon-options { display: grid; grid-template-columns: repeat(auto-fill,minmax(80px,1fr)); gap: 8px; max-height: 245px; overflow-y: auto; padding: 2px; }
.platform-icon-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 12px 6px 8px; border: 1px solid #e0eaf4; border-radius: 12px; background: #f9fbfe; color: #637c95; cursor: pointer; }
.platform-icon-option input { position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; margin: 0; padding: 0; accent-color: #246bf1; }
.platform-icon-option:has(input:checked) { border-color: #246bf1; background: #eaf3ff; color: #246bf1; box-shadow: 0 0 0 1px #246bf1; }
.platform-icon-option:has(input:focus-visible) { outline: 2px solid #54a0ef; outline-offset: 2px; }
.platform-detail-icon { display: flex !important; align-items: center; gap: 9px; color: #246bf1 !important; }
.platform-cover-upload { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 16px; padding: 12px; border: 1px solid #e3edf6; border-radius: 14px; background: #f8fbff; }
.platform-cover-upload img { width: 180px; height: 120px; object-fit: cover; border-radius: 11px; background: #e9f2fa; }
.platform-cover-upload > div { min-width: 0; display: grid; gap: 9px; }
.platform-cover-upload strong { color: #29465e; font-size: 12px; }
.platform-cover-upload input[type=file] { padding: 8px; background: #fff; }
.platform-cover-upload small { overflow-wrap: anywhere; }
.platform-license-upload img { object-fit: contain; }
.platform-detail-license { display: block; width: min(100%,320px); max-height: 320px; object-fit: contain; border-radius: 12px; background: #f4f8fc; }
.platform-expiry-date[hidden] { display: none; }
.platform-list-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.platform-list-actions .platform-action-btn { min-height: 34px; padding: 7px 12px; font-size: 12px; }
.platform-partner-list .data-table th:last-child,.platform-partner-list .data-table td:last-child { position: sticky; right: 0; background: #fff; box-shadow: -8px 0 14px #274e750a; }
.platform-partner-list .data-table th:last-child { background: #f9fbfd; }
.platform-benefit-picker { position: relative; }
.platform-benefit-options { position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 5; display: grid; max-height: 250px; overflow-y: auto; padding: 5px; border: 1px solid #d9e7f5; border-radius: 12px; background: #fff; box-shadow: 0 16px 30px #1d4c7a22; }
.platform-benefit-options[hidden],.platform-benefit-empty[hidden] { display: none; }
.platform-benefit-options button { display: grid; gap: 3px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: #fff; color: #29465e; text-align: left; }
.platform-benefit-options button:hover,.platform-benefit-options button:focus-visible { background: #eef6ff; }
.platform-benefit-options button strong { font-size: 11px; }.platform-benefit-options button small { font-size: 10px; }
.platform-benefit-no-results { padding: 12px; color: #8ba0b3; font-size: 11px; }
.platform-selected-benefits { display: grid; gap: 8px; }
.platform-promo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.platform-order-filters { padding: 20px; margin-bottom: 16px; }
.platform-order-filters .platform-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.platform-order-filter-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.platform-order-filter-footer small { color: #8599aa; line-height: 1.6; }
.platform-order-expand { margin-top: 18px; }
.platform-order-expand > summary { cursor: pointer; display: list-item; width: fit-content; padding: 12px 18px; border-radius: 12px; background: #edf5ff; color: #236bcb; font-weight: 700; font-size: 12px; }
.platform-order-expand[open] > summary { margin-bottom: 16px; }
.platform-order-expand > summary:focus-visible { outline: 2px solid #236bcb; outline-offset: 3px; }
@media (max-width: 900px) { .platform-order-filters .platform-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .platform-order-filters .platform-form-grid { grid-template-columns: 1fr; }.platform-order-filter-footer { align-items: stretch; flex-direction: column; } }
.platform-selected-benefit { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; background: #f5f9fd; }
.platform-selected-benefit > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.platform-selected-benefit > div strong { color: #29465e; font-size: 11px; }
.platform-benefit-internal { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.platform-selected-benefit label { width: 122px; flex: none; display: grid; gap: 4px; color: #70889e; font-size: 10px; }
.platform-selected-benefit label input { padding: 7px 9px; }
.platform-selected-benefit button { flex: none; padding: 7px 10px; border: 1px solid #d5e5f5; border-radius: 9px; background: #fff; color: #3375b7; font-size: 10px; font-weight: 800; }
.platform-benefit-empty { margin: 0; padding: 10px 12px; border-radius: 9px; background: #f5f9fd; color: #8ba0b3; font-size: 11px; }
.platform-benefit-total { color: #ec4653; font-size: 12px; }
@media (max-width: 740px) { .platform-cover-upload { grid-template-columns: 1fr; }.platform-cover-upload img { width: 100%; height: auto; aspect-ratio: 3/2; }.platform-selected-benefit { flex-wrap: wrap; }.platform-selected-benefit label { width: 100px; } }
.platform-form-footer { display: flex; justify-content: flex-end; border-top: 1px solid #eef2f6; padding-top: 20px; margin-top: 23px; }
.platform-benefit-grid,.platform-checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.platform-benefit-choice,.platform-checks label { display: flex; align-items: center; gap: 9px; border-radius: 10px; background: #f7faff; padding: 10px; font-size: 11px; }
.platform-benefit-choice > input[type=checkbox],.platform-checks input { width: auto; }
.platform-benefit-choice span { flex: 1; }
.platform-benefit-choice small { display: block; }
.platform-benefit-choice > input[type=number] { width: 68px; }
.platform-featured { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eef3f7; }
.platform-featured img { width: 60px; height: 48px; object-fit: cover; border-radius: 9px; }
.platform-featured > div { flex: 1; min-width: 0; }
.platform-featured strong,.platform-featured small { display: block; }
.platform-featured strong { font-size: 12px; }
.platform-featured small { color: #91a1ae; font-size: 10px; margin-top: 3px; }
.platform-featured .btn { padding: 7px 10px; font-size: 10px; }
.platform-overlay { position: fixed; inset: 0; z-index: 30; background: #15365088; display: grid; place-items: center; padding: 20px; }
.platform-dialog { width: min(420px,100%); box-sizing: border-box; box-shadow: 0 22px 70px #123b5d33; }
.platform-dialog h2 { margin: 0 0 12px; font-size: 18px; }
.platform-dialog p { font-size: 12px; color: #647d91; line-height: 1.7; }
.platform-dialog .platform-actions { justify-content: flex-end; }
.platform-demo-code { padding: 12px; border-radius: 9px; margin: 12px 0; color: #2771be; background: #eaf4ff; font-size: 13px; font-weight: 800; }
.platform-role-preview { display: flex; align-items: center; gap: 6px; color: #7c90a3; font-size: 10px; white-space: nowrap; }
.platform-role-preview select { border: 1px solid #dce8f3; background: #f6faff; border-radius: 8px; padding: 7px 9px; color: #376797; font-size: 10px; }
@media(max-width:1150px) { .platform-fields { grid-template-columns: repeat(2,minmax(0,1fr)); } }
/* Merchant map selector: fixed geographic canvas scales with its container. */
.merchant-map {position:relative;aspect-ratio:512/320;width:100%;overflow:hidden;border-radius:20px;background:#e7eef6;cursor:crosshair;isolation:isolate}
.merchant-map img {position:absolute;width:50%;height:80%;max-width:none;pointer-events:none}
.map-pin {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#e63346;background:white;border:3px solid #e63346;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:22px;font-weight:bold;pointer-events:none;box-shadow:0 3px 12px #20344b33}
.map-attribution {position:absolute;bottom:0;right:0;background:#fffffff0;padding:3px 7px;color:#244366;font-size:11px}
.map-error {position:absolute;top:8px;left:8px;right:8px;background:#fff0d7;color:#805412;padding:10px;border-radius:10px;font-size:13px;pointer-events:none}
.map-error[hidden] {display:none}
.map-controls {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.map-controls .btn {padding:8px 12px;font-size:13px}
.merchant-location-picker .platform-form-grid {margin:12px 0}
.tourist-location-description {white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.tourist-location-actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.tourist-merchant .tourist-location-actions a {display:inline-flex;width:auto;height:auto;padding:6px 10px;font-size:12px;border-radius:10px;color:#2468f2;background:#edf5ff;white-space:nowrap}
.tourist-merchant>span:nth-child(2) {min-width:0;flex:1}
.tourist-address-link {border:0;background:none;text-align:left;padding:4px 0;color:#617d9d;font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;line-height:1.6}
.tourist-navigation-button {justify-self:start;border:0;padding:7px 14px;border-radius:10px;background:#eaf3ff;color:#246ce8;font-weight:600;cursor:pointer}
.tourist-location-map {position:relative}
.tourist-location-map .merchant-map {aspect-ratio:512/360;border-radius:0;cursor:default}
.tourist-location-map .map-pin {width:34px;height:34px;background:#ff5868;border:5px solid white;color:white;box-shadow:0 4px 14px #df344555}
.tourist-map-zoom {position:absolute;right:12px;top:12px;display:grid;gap:5px}
.tourist-map-zoom button {background:white;border:0;border-radius:10px;width:32px;height:32px;color:#244366;font-size:22px;box-shadow:0 3px 12px #20344b15;cursor:pointer}
.tourist-location-info {padding:24px 20px 30px;background:white;border-radius:24px 24px 0 0;position:relative;margin-top:0}
.tourist-location-info h1 {font-size:23px;line-height:1.4;margin:10px 0}
.tourist-location-info p {font-size:14px;line-height:1.6;margin:10px 0}
.tourist-location-info small {color:#93a2b0}
.tourist-location-footer {display:flex;gap:12px;margin-top:22px}
.tourist-location-footer .btn {flex:1;gap:6px;display:flex;align-items:center;justify-content:center;padding:12px 8px}
.tourist-navigation-overlay {position:absolute;inset:0;z-index:90;display:flex;align-items:flex-end}
.tourist-navigation-backdrop {position:absolute;inset:0;background:#18263b88;border:0;width:100%;cursor:pointer}
.tourist-navigation-sheet {background:white;border-radius:24px 24px 0 0;width:100%;position:relative;padding:18px 20px 24px;box-shadow:0 -8px 32px #13283b18}
.tourist-navigation-sheet header {display:flex;align-items:center;gap:14px;border:0}
.tourist-navigation-sheet h2 {font-size:19px;margin:0 auto}
.tourist-navigation-sheet header button {border:0;background:#f4f7fb;border-radius:50%;width:32px;height:32px;font-size:24px;color:#526a82;cursor:pointer}
.tourist-navigation-sheet p {font-size:12px;color:#879bb1;margin:14px 0}
.tourist-navigation-sheet>a {display:flex;align-items:center;gap:14px;padding:18px 0;color:#18344f;border-top:1px solid #edf1f6;text-decoration:none}
.tourist-navigation-sheet>a>svg {margin-left:auto;color:#91a2b5}
.navigation-brand {height:40px;width:40px;border-radius:12px;display:grid;place-items:center;font-weight:800;color:white}
.navigation-brand.tencent {background:#289cef}.navigation-brand.baidu {background:#4667ed}.navigation-brand.amap {background:#16b59a}
.tourist-navigation-sheet>small {display:block;color:#8b9cad;font-size:11px;margin-top:12px;line-height:1.6}
.tourist-merchant strong {font-size:12px}
.tourist-merchant small {font-size:11px;line-height:1.6}
.tourist-merchant .tourist-address-link {display:grid;gap:6px;width:100%;padding:8px 10px;margin-top:4px;background:#eef5ff;border-radius:12px;text-decoration:none;font-size:12px;line-height:1.6;color:#5c799a}
.tourist-location-entry {display:flex;align-items:center;gap:4px;color:#246ce8;font-weight:600;font-size:12px}
.tourist-merchant-call, .tourist-merchant-pin {border:0;display:grid;place-items:center;background:#edf5ff;color:#246ce8;width:36px;height:36px;border-radius:11px;flex-shrink:0;cursor:pointer}
.tourist-call-number {display:block;font-size:25px;letter-spacing:1px;color:#193752;user-select:text;margin:20px 0}
.tourist-call-sheet .tourist-location-footer a {border:0;padding:12px;background:#246ce8;color:white;margin:0}
.tourist-call-feedback {min-height:20px;color:#246ce8!important}
.merchant-period-trigger {width:100%;border:0;background:white;border-radius:18px;text-align:left;padding:16px;margin-bottom:16px;display:grid;gap:7px;box-shadow:0 5px 20px #1a385908;cursor:pointer}
.merchant-period-trigger>span {font-size:12px;color:#8b9cad}.merchant-period-trigger strong {font-size:12px;color:#193b5c;line-height:1.6}.merchant-period-trigger small {display:flex;align-items:center;color:#246ce8;font-size:12px}
.merchant-period-overlay {position:absolute;inset:0;z-index:90;display:flex;align-items:flex-end}
.merchant-period-sheet {max-height:90%;overflow:auto}
.merchant-period-range {font-size:12px!important;background:#eef5ff;padding:12px;border-radius:12px;color:#246ce8!important;line-height:1.6}
.merchant-period-fast {display:flex;gap:8px;margin:12px 0}
.merchant-period-fast button {flex:1;background:#eff5ff;border:0;border-radius:10px;color:#246ce8;padding:10px;font-size:12px;cursor:pointer}
.merchant-calendar-heading {display:flex;align-items:center;justify-content:space-between;margin:12px 0}
.merchant-calendar-heading button {width:30px;height:30px;border:0;background:#f3f6fa;border-radius:8px;font-size:20px;color:#246ce8;cursor:pointer}
.merchant-calendar-week,.merchant-calendar-days {display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.merchant-calendar-week {color:#8b9cad;font-size:11px;margin-bottom:6px}
.merchant-calendar-days button {border:0;border-radius:8px;min-height:31px;background:#f6f8fb;color:#314d67;cursor:pointer}
.merchant-calendar-days .selected {background:#dfeeff;color:#246ce8;font-weight:700}
.merchant-period-sheet>.btn {margin-top:14px}
.role-permission-editor {margin-top:12px}
.role-tree-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-bottom:14px;color:#5f7185}
.platform-input .role-tree-toolbar label,.platform-input .role-tree-label {display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:500;cursor:pointer}
.platform-input .role-permission-editor input[type="checkbox"] {width:17px;height:17px;min-width:17px;flex:none;padding:0;margin:0;accent-color:#246ce8;border-radius:3px}
.role-permission-tree {border:1px solid #e0e7ef;border-radius:12px;background:#fff;padding:8px 0;max-height:560px;overflow:auto;scrollbar-width:thin}
.role-tree-row {display:flex;align-items:center;min-height:40px;padding:4px 16px;color:#38546e}
.role-tree-row:hover {background:#f3f7fc}
.role-tree-label {flex:1;min-width:0;line-height:1.5}
.role-tree-label span {white-space:normal;word-break:normal}
.role-tree-toggle,.role-tree-spacer {width:24px;height:28px;flex:none;margin-right:4px}
.role-tree-toggle {display:grid;place-items:center;border:0;background:transparent;color:#8a9bad;cursor:pointer;padding:0}
.role-tree-toggle[aria-expanded="false"] span {transform:rotate(-90deg)}
.role-tree-toggle:focus-visible {outline:2px solid #246ce8;border-radius:4px}
.role-tree-children .role-tree-row {padding-left:72px;min-height:36px}
.role-tree-children[hidden] {display:none}
.role-permission-editor>small {display:block;margin-top:12px;line-height:1.7}
.role-tree-record-id {margin-left:12px;color:#8a9bad;font-size:12px;font-weight:400}
.role-tree-empty {padding:8px 72px;color:#8a9bad;font-size:13px}
.platform-checks input {accent-color:#246ce8}
.role-permission-summary {display:flex;gap:8px;flex-wrap:wrap}
.role-scope-selection>span {margin:14px 0 8px;display:block}
.merchant-batch-item {padding:16px;margin:12px 0;background:#fff;border-radius:16px;display:grid;gap:10px;color:#244b72}
.merchant-batch-title {display:flex;align-items:center;gap:10px;font-size:15px;cursor:pointer}
.merchant-batch-title input {width:18px;height:18px;flex:none;accent-color:#246ce8}
.merchant-batch-quantity {display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}
.merchant-batch-quantity input {width:92px;padding:10px;border:1px solid #d5e4f5;border-radius:10px;font:inherit;color:#163654;background:#f5f8fc}
.merchant-batch-quantity input:disabled {opacity:.5}
.merchant-batch-item small {font-size:12px;color:#6b839c}

.platform-partner-documents {grid-column:1/-1;border:0;padding:0;margin:0;min-width:0;}
.platform-partner-documents[hidden] {display:none;}

.prototype-tools-launcher {position:fixed;right:20px;bottom:20px;z-index:1600;display:flex;gap:8px;align-items:center;padding:11px 16px;border:1px solid #cad9e9;border-radius:24px;color:#526b83;background:#fff;box-shadow:0 5px 22px #163b6720;cursor:pointer;font:inherit;font-size:13px;}
.prototype-tools-overlay {position:fixed;inset:0;z-index:2000;}
.prototype-tools-backdrop {position:absolute;inset:0;background:#10283f55;border:0;width:100%;height:100%;}
.prototype-tools-panel {position:absolute;right:0;top:0;bottom:0;width:min(440px,100vw);padding:24px;background:#f5f8fc;overflow:auto;box-shadow:-10px 0 50px #163b6720;}
.prototype-tools-panel header {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.prototype-tools-panel header small {font-size:10px;color:#6b849d;letter-spacing:.12em;}
.prototype-tools-panel h2 {font-size:22px;margin:5px 0;}
.prototype-tools-panel header button {border:0;background:#e7eef7;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer;}
.prototype-tools-notice {font-size:13px;line-height:1.7;color:#60788f;padding:16px;background:#e8f0fa;border-radius:12px;}
.prototype-tools-sections section {background:#fff;padding:18px;border-radius:16px;margin:16px 0;}
.prototype-tools-sections h3 {font-size:15px;margin:0 0 12px;}
.prototype-tools-sections button {cursor:pointer;}
.prototype-tools-sections .tourist-demo-box {background:transparent;padding:0;margin:0;}
.prototype-tools-sections .tourist-demo-box button {margin:6px 4px 0 0;}
.prototype-tools-sections .platform-role-preview {display:flex;gap:8px;align-items:center;}
.prototype-tools-sections .platform-role-preview select {max-width:220px;}
.prototype-tools-sections .btn {margin:5px 3px;}
.merchant-scan-entry {display:block;width:100%;border:0;font:inherit;color:inherit;cursor:pointer;}
.merchant-scan-entry .scan-frame {margin-left:auto;margin-right:auto;}

.scan-tool-field {display:grid;gap:8px;font-size:14px;margin-bottom:12px;}
.scan-tool-field select,.scan-tool-benefits input[type=number] {padding:10px;border:1px solid #ccdcea;border-radius:9px;background:#fff;color:#163b67;font:inherit;}
.scan-tool-benefits>div {padding:12px 0;border-bottom:1px solid #e4ebf4;display:grid;gap:8px;}
.scan-tool-benefits label {display:flex;align-items:center;gap:8px;}
.scan-tool-benefits input[type=number] {width:86px;}
.scan-tool-benefits+p,.prototype-tools-panel small {font-size:12px;line-height:1.6;}
.scan-feedback-layer {position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:22px;background:#10283f66;border-radius:inherit;}
.scan-feedback-card {width:100%;max-height:90%;overflow:auto;padding:26px 18px 20px;text-align:center;background:white;border-radius:22px;box-shadow:0 12px 40px #14345125;}
.scan-feedback-status {width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;}
.scan-feedback-card.success .scan-feedback-status {background:#e4f8ef;color:#13a472;}
.scan-feedback-card.failure .scan-feedback-status {background:#fff0ec;color:#eb6c45;}
.scan-feedback-card h2 {font-size:19px;line-height:1.5;margin:0 0 12px;}
.scan-feedback-card p {font-size:14px;color:#687f94;line-height:1.6;}
.scan-feedback-card>.btn {width:100%;margin-top:14px;}
.scan-feedback-items {display:grid;gap:12px;text-align:left;}
.scan-feedback-items>div {display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:9px;padding:12px;background:#f4f8fc;border-radius:12px;}
.scan-feedback-benefit-icon {grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#e7f0ff;color:#246ce8;}
.scan-feedback-items strong {font-size:14px;}
.scan-feedback-items b {font-size:13px;color:#16a078;margin-top:5px;}

.audit-status-tabs {display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;}
.audit-status-tabs button {border:1px solid #dce6f1;border-radius:9px;padding:10px 18px;background:white;color:#647d96;font:inherit;cursor:pointer;}
.audit-status-tabs button.active {background:#246ce8;border-color:#246ce8;color:white;}
.platform-audit-list .data-table {min-width:1300px;}
.platform-audit-list .platform-link {white-space:nowrap;margin-right:12px;}

.audit-count {display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;margin-left:7px;border-radius:10px;background:#ed5e5e;color:white;font-size:11px;font-weight:700;line-height:1;vertical-align:middle;}
.audit-count.empty {background:#e8edf4;color:#7c8fa4;}
.audit-status-tabs button.active .audit-count {background:white;color:#246ce8;}
.audit-scope-banner {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:13px 16px;background:#edf4ff;color:#476b91;border-radius:10px;font-size:13px;margin-bottom:16px;}

.stock-quantity-field[hidden] {display:none;}
.audit-note {grid-column:1/-1;}
.audit-note strong {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;}
.audit-diff-table {min-width:650px;width:100%;table-layout:fixed;}
.audit-diff-table th:first-child {width:20%;}
.audit-diff-table td {vertical-align:top;white-space:normal;overflow-wrap:anywhere;}
.audit-diff-table td:nth-child(2) {background:#fff9f1;}
.audit-diff-table td:nth-child(3) {background:#f1faf5;}
.audit-diff-value .platform-field {border:0;padding:0;min-width:0;}
.audit-diff-value .platform-field>span:first-child {display:none;}
.audit-diff-value strong {white-space:pre-wrap;overflow-wrap:anywhere;}
.audit-diff-value img {max-width:100%;max-height:180px;object-fit:contain;}
.audit-review-context {padding:12px;background:#f3f7fc;border-radius:10px;max-height:140px;overflow:auto;}
.audit-review-context>span {font-size:12px;color:#647d96;}
.audit-review-context p {white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;}
.platform-two-col>section {min-width:0;}
.overview-pending-card h2 {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.overview-pending-count {color:#2470d6;background:#edf5ff;border-radius:8px;padding:5px 9px;font-size:12px;white-space:nowrap;}
.overview-pending-table {table-layout:fixed;}
.overview-pending-table th,.overview-pending-table td {padding:12px 7px;vertical-align:middle;}
.overview-pending-table th:first-child {width:48%;}
.overview-pending-table th:nth-child(2) {width:21%;}
.overview-pending-table th:nth-child(3) {width:13%;}
.overview-pending-table th:nth-child(4) {width:18%;}
.overview-pending-table td:first-child {white-space:normal;overflow-wrap:anywhere;}
.overview-pending-table .platform-link {display:block;max-width:100%;padding:0;background:transparent;text-align:left;white-space:normal;line-height:1.6;}
.overview-pending-table small {overflow-wrap:anywhere;}
.overview-audit-pagination {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:16px;color:#8799aa;font-size:11px;}
.overview-audit-pagination>div {display:flex;gap:8px;}
.overview-audit-pagination button:disabled {opacity:.45;cursor:default;}
.overview-audit-row {cursor:pointer;}
.overview-audit-row:hover td {background:#f3f8ff;}
.overview-audit-row:focus-visible {outline:2px solid #2674e8;outline-offset:-2px;}
@media(min-width:1101px) and (max-width:1300px) {.platform-kpis {grid-template-columns:repeat(3,minmax(0,1fr));}}
.platform-amount-kpis {grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:900px) {.platform-amount-kpis {grid-template-columns:1fr;}}

/* Shared desktop list pagination. */
.platform-list-pagination {display:flex;justify-content:flex-end;align-items:center;gap:22px;padding:20px 22px;border-top:1px solid #eaf0f6;flex-wrap:wrap;color:#163554;font-size:14px;}
.list-page-summary {white-space:nowrap;}
.list-page-controls {display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.platform-list-pagination button {display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:1px solid transparent;border-radius:8px;background:#fff;color:#163554;font:inherit;cursor:pointer;}
.platform-list-pagination button[aria-current=page] {border-color:#2474ff;color:#2474ff;}
.platform-list-pagination button:disabled {color:#bec7d1;cursor:default;}
.platform-list-pagination button:not(:disabled):hover {background:#edf4ff;color:#2474ff;}
.platform-list-pagination button:focus-visible,.platform-list-pagination select:focus-visible {outline:2px solid #2474ff;outline-offset:2px;}
.list-page-gap {padding:0 7px;color:#b6c1ce;letter-spacing:2px;}
.platform-list-pagination select {height:34px;padding:0 10px;margin-left:8px;border:1px solid #d8dfe7;border-radius:6px;background:#fff;color:#163554;font:inherit;}
@media(max-width:900px){.platform-list-pagination {justify-content:flex-start;padding:16px;gap:12px;}}

.tourist-payment-success {text-align:center;padding-top:38px;}
.tourist-payment-success-icon {display:grid;place-items:center;width:76px;height:76px;margin:0 auto 18px;border-radius:50%;background:#e4f8ee;color:#20ae78;}
.tourist-payment-success h1 {font-size:25px;margin:0 0 10px;color:#153554;}
.tourist-payment-success>p {color:#7b92aa;font-size:13px;line-height:1.7;}
.tourist-payment-success .tourist-white-block {margin:26px 0;text-align:left;}
.tourist-payment-success-actions {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.tourist-payment-success-countdown strong {color:#2474ff;}

.tourist-merchant-heading {
  display: grid;
  gap: 3px;
}

.tourist-product-benefits .tourist-benefit {
  padding: 10px 12px;
}

.tourist-product-benefits .tourist-benefit-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px 8px;
  padding: 5px 8px;
  margin: 5px 0 0;
}

.tourist-product-benefits .tourist-benefit-value small {
  margin: 0;
}

.tourist-product-benefits .tourist-merchant {
  gap: 6px;
  margin-top: 5px;
  padding-top: 5px;
}

.tourist-product-benefits .tourist-merchant > span {
  flex: 1;
  min-width: 0;
}

.tourist-product-benefits .tourist-merchant-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px 6px;
}

.tourist-product-benefits .tourist-merchant-heading small {
  font-size: 10px;
  line-height: 1.35;
}

.tourist-merchant-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
