/* Commercial General Insurance app, test version by Webixio. iOS 26 "Liquid Glass" look, loaded after liquid-glass.css.
   Neutral iOS system surfaces; the insurer's own colours (read from its website) are the tint and the policy cards. */
:root {
  --navy: #005FA7; --blue: #1890D7; --deep: #03173D; --deep2: #0A2752;
  --accent: var(--navy); --tint: var(--navy);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: var(--font);
  --tint-08: color-mix(in srgb, var(--tint) 8%, transparent); --tint-12: color-mix(in srgb, var(--tint) 12%, transparent);
  --tint-soft: color-mix(in srgb, var(--tint) 9%, #fff); --blue-soft: color-mix(in srgb, var(--blue) 12%, #fff);
  --fill: rgba(118, 118, 128, .12); --fill-2: rgba(118, 118, 128, .08);
  --ink: var(--label); --text: var(--label); --mute: var(--label-2); --soft: var(--label-3); --line: var(--sep); --paper: #fff;
  --pale: var(--tint-soft); --pale2: #F2F2F7;
  --green: #34C759; --green-ink: #1C7A39; --green-bg: #E3F6E8; --amber: #A35F00; --amber-bg: #FFF1DB; --red: #FF3B30; --red-ink: #C4281D; --red-bg: #FFE5E3;
  --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.5, .64, 1);
  --card-sh: 0 1px 2px rgba(0, 0, 0, .03); --lift-sh: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -14px rgba(0, 0, 0, .2);
  --r: 22px; --r-lg: 28px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--label); font: 400 17px/1.32 var(--font); letter-spacing: -.012em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; letter-spacing: inherit; }
input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -.02em; color: var(--label); }
p { margin: 0; }
svg { display: block; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.mute { color: var(--label-2); }
.small { font-size: 15px; }
p.small, .mute.small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 12px; }
.stack { display: grid; gap: 14px; }
.stack-s { display: grid; gap: 10px; }
.grow-sp { flex: 1; min-height: 16px; }
.err { color: var(--red-ink); font-weight: 500; font-size: 15px; }
.k { font: 500 13px/1.25 var(--font); letter-spacing: 0; color: var(--label-2); }
.tag { display: inline-block; font: 600 11px/1 var(--font); letter-spacing: .02em; padding: 5px 8px; border-radius: 99px; background: var(--tint-12); color: var(--tint); }

/* ---------- desktop: an iPhone in the middle; phone: full screen ---------- */
.stage { min-height: 100%; display: flex; align-items: center; justify-content: center; gap: 64px; padding: 28px; background: radial-gradient(1100px 700px at 50% -8%, #FFFFFF 0%, #F2F2F7 52%, #E5E5EA 100%); }
.phone { position: relative; width: 390px; height: min(844px, calc(100vh - 56px)); min-height: 640px; border-radius: 56px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); isolation: isolate;
  box-shadow: 0 0 0 11px #0B0B0D, 0 0 0 12.5px #3A3A3F, 0 0 0 13px #1a1a1d, 0 60px 110px -40px rgba(0, 0, 0, .55), 0 26px 50px -30px rgba(0, 0, 0, .35);
  --safe-t: 6px; --safe-b: 18px; }
.phone::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(0, 0, 0, .82); z-index: 99; pointer-events: none; }
.phone:has(.screen.dark)::after { background: rgba(255, 255, 255, .85); }
.stage-note { width: 260px; color: var(--label-2); font-size: 15px; line-height: 1.4; }
.stage-note img { width: 170px; margin-bottom: 18px; }
.stage-note b { color: var(--label); font-size: 20px; letter-spacing: -.02em; }
.stage-note p { margin-bottom: 10px; }
.stage-note .qr { background: #fff; padding: 14px; border-radius: 24px; width: 164px; margin: 10px 0 8px; box-shadow: var(--lift-sh); }
.stage-note .desk { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 8px; font-weight: 600; color: var(--tint); }
.stage-note .desk svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .stage { display: block; padding: 0; min-height: 0; background: var(--bg); }
  .phone { width: 100%; height: 100vh; height: 100dvh; min-height: 0; border-radius: 0; box-shadow: none; --safe-b: env(safe-area-inset-bottom, 0px); }
  .phone::after { display: none; }
  .stage-note { display: none; }
  .pnote { padding-top: calc(env(safe-area-inset-top, 0px) + 5px) !important; }
}

/* the slim preview note, always on top */
.pnote { flex: none; background: #000; color: rgba(255, 255, 255, .82); font: 500 11px/1.3 var(--font); letter-spacing: 0; text-align: center; padding: 22px 10px 6px; position: relative; z-index: 60; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnote b { color: #fff; font-weight: 700; }

.screen { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative; display: flex; flex-direction: column; overscroll-behavior: contain; }
.screen > * { flex: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.with-tabs::after { content: ""; display: block; flex: none; height: calc(var(--safe-b) + 92px); }
.screen.dark { background: #0C0D10; }
.pad { padding: 2px 16px 28px; }
.pad-s { padding: 12px 16px; }
.boot { flex: 1 !important; display: grid; place-items: center; background: var(--bg); }
.boot img { width: 150px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .65; transform: scale(.97); } }
.screen.nav-push > * { animation: pushIn .52s var(--ease) backwards; }
.screen.nav-pop > * { animation: popIn .5s var(--ease) backwards; }
.screen.nav-fade > * { animation: fadeIn .3s ease backwards; }
@keyframes pushIn { from { transform: translateX(22%); opacity: 0; } }
@keyframes popIn { from { transform: translateX(-14%); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- floating capsule tab bar + Help button ---------- */
.tabs { position: absolute; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 4px); z-index: 40; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.tabs > * { pointer-events: auto; }
.tabcap { flex: 1; min-width: 0; height: 64px; border-radius: 999px; display: flex; align-items: stretch; padding: 4px; }
.tabcap.glass { background: rgba(238, 238, 242, .66); border: 0; box-shadow: 0 10px 34px -10px rgba(0, 0, 0, .22), 0 1px 3px rgba(0, 0, 0, .06), 0 0 0 .5px rgba(0, 0, 0, .07), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%); }
.lens { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 4)); border-radius: 999px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, .86)); box-shadow: 0 4px 14px -3px rgba(0, 0, 0, .16), 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 1px 0 #fff, inset 0 -1px 1px rgba(0, 0, 0, .04);
  transition: transform .55s var(--spring), opacity .25s; }
.tab { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 999px; color: var(--label); font: 600 10px/1.1 var(--font); letter-spacing: 0; transition: color .25s, transform .35s var(--ease); }
.tab > span:not(.ti) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 1px; letter-spacing: -.015em; }
.tab .ti svg { width: 25px; height: 25px; stroke-width: 1.9; }
.tab.on { color: var(--tint); }
.tab.on .ti svg { stroke-width: 2.2; }
.tab:active { transform: scale(.9); }
.tdot { position: absolute; top: 9px; left: calc(50% + 7px); width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff; }
.tab-fab { position: relative; flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 100% at 30% 0%, #62B5EA 0%, var(--blue) 50%, #00498A 100%);
  box-shadow: 0 12px 28px -8px rgba(24, 144, 215, .7), 0 2px 6px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 4px rgba(0, 0, 0, .1);
  transition: transform .4s var(--spring), box-shadow .3s; }
.tab-fab svg { width: 30px; height: 30px; stroke-width: 2; }
.tab-fab.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue), 0 12px 28px -8px rgba(24, 144, 215, .7); }
.tab-fab:active { transform: scale(.9); }

/* ---------- navigation bar, large titles ---------- */
.top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: minmax(44px, 1fr) minmax(0, auto) minmax(44px, 1fr); align-items: center; gap: 8px; height: calc(var(--safe-t) + 54px); padding: calc(var(--safe-t) + 4px) 16px 6px; }
.top::before { content: ""; position: absolute; inset: 0 0 -16px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .28s ease;
  background: linear-gradient(180deg, rgba(242, 242, 247, .9) 0%, rgba(242, 242, 247, .7) 62%, rgba(242, 242, 247, 0) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
.scrolled .top::before { opacity: 1; }
.top-l, .top-r { display: flex; align-items: center; gap: 8px; min-width: 0; }
.top-l { justify-self: start; } .top-r { justify-self: end; }
.top > button:last-child:not(:first-child) { justify-self: end; }
.top-t, .top > h1 { font: 600 17px/1.2 var(--font); letter-spacing: -.02em; text-align: center; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .22s ease, transform .4s var(--ease); }
.top > h1:last-child { grid-column: 2; }
.top.has-large .top-t { opacity: 0; transform: translateY(6px); }
.scrolled .top.has-large .top-t { opacity: 1; transform: none; }
.home-top { grid-template-columns: auto minmax(0, 1fr) auto; }
.home-top .top-t { opacity: 0 !important; }
.hlogo { height: 30px; width: auto; display: block; }
.large-t { font: 700 34px/1.1 var(--font-display); letter-spacing: -.024em; margin: 2px 16px 14px; }
.large-wrap { padding: 0 16px 14px; }
.large-wrap .large-t { margin: 0; }
.eyebrow { display: block; font: 600 15px/1.3 var(--font); color: var(--label-2); margin-bottom: 1px; }
.top.dark::before { background: linear-gradient(180deg, rgba(12, 13, 16, .9), rgba(12, 13, 16, 0)); }
.top.dark h1 { color: #fff; }
.top.dark .icon-btn { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--label);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 6px 16px -6px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .95); transition: transform .4s var(--spring); }
.icon-btn svg { width: 22px; height: 22px; stroke-width: 2; }
.icon-btn:active { transform: scale(.9); }
.icon-btn.glass { background: rgba(255, 255, 255, .18); color: #fff; }
.count-dot { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font: 600 12px/20px var(--font); letter-spacing: 0; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.lang { display: inline-flex; height: 34px; padding: 3px; border-radius: 999px; font: 600 13px/1 var(--font); letter-spacing: .01em; background: var(--fill); flex: none; }
.lang button { min-width: 38px; padding: 0 10px; border-radius: 999px; color: var(--label-2); transition: background .3s var(--ease), color .2s; }
.lang button.on { background: var(--tint); color: #fff; box-shadow: 0 2px 6px -2px color-mix(in srgb, var(--tint) 60%, transparent); }
.lang.dark { background: rgba(255, 255, 255, .18); }
.lang.dark button { color: rgba(255, 255, 255, .86); }
.lang.dark button.on { background: #fff; color: #000; }
.h-xl { font: 700 30px/1.12 var(--font-display); letter-spacing: -.024em; }
.sec { font: 600 20px/1.25 var(--font-display); letter-spacing: -.02em; margin: 12px 4px -4px; color: var(--label); }
.fine { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--label-2); font-size: 13px; }
.fine svg { width: 15px; height: 15px; flex: none; }

/* ---------- buttons ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--tint); color: #fff; font: 600 17px/1.1 var(--font); letter-spacing: -.015em; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 20px -10px color-mix(in srgb, var(--tint) 75%, transparent); transition: transform .4s var(--spring), filter .2s, opacity .2s; }
.btn:active { transform: scale(.96); filter: brightness(.94); }
.btn svg { width: 20px; height: 20px; flex: none; stroke-width: 2; }
.btn.big { min-height: 56px; font-size: 17px; }
.btn.ghost { background: var(--tint-12); color: var(--tint); box-shadow: none; }
.btn.ghost.on-dark { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.btn.plain { background: transparent; color: var(--tint); box-shadow: none; min-height: 46px; font-weight: 500; }
.btn.black { background: #000; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.btn.white { background: #fff; color: var(--tint); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
.btn.line { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn[disabled] { opacity: .32; pointer-events: none; box-shadow: none; }
.btn.sm { min-height: 38px; font-size: 15px; padding: 0 16px; }
.btn.sm svg { width: 17px; height: 17px; }
.btn.auto { width: auto; }
.btn.icon { width: 38px; padding: 0; flex: none; }
.link { color: var(--tint); font-weight: 500; }
.link.sm { font-size: 15px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; }
.spin.dark { border-color: var(--tint-12); border-top-color: var(--tint); width: 18px; height: 18px; border-width: 2.5px; }
.spin.big { width: 40px; height: 40px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cards, inset grouped lists ---------- */
.card { background: var(--bg-elev); border-radius: var(--r); padding: 16px; box-shadow: var(--card-sh); }
.list { background: var(--bg-elev); border-radius: var(--r); overflow: hidden; box-shadow: var(--card-sh); }
.list > button, .list > a, .list > .li { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 54px; text-align: left; transition: background-color .2s; }
.list > * + *::before { content: ""; position: absolute; top: 0; right: 0; left: 64px; height: .5px; background: var(--sep); }
.list > button:active, .list > a:active { background: var(--fill); }
.list b { font-weight: 500; color: var(--label); font-size: 17px; }
.list .unread b { font-weight: 600; }
.list .unread .ic { background: var(--tint); color: #fff; }
.list .unread::after { content: ""; position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--blue); }
.ic { width: 34px; height: 34px; border-radius: 10px; background: var(--tint-soft); color: var(--tint); display: grid; place-items: center; flex: none; }
.ic svg { width: 19px; height: 19px; }
.ic.amber { background: var(--amber-bg); color: var(--amber); }
.chev { color: var(--label-3); flex: none; }
.chev svg { width: 17px; height: 17px; stroke-width: 2.4; }
.row-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 16px 13px 14px; min-height: 58px; background: var(--bg-elev); border-radius: var(--r); box-shadow: var(--card-sh); text-align: left; transition: transform .4s var(--spring); }
.row-btn:active { transform: scale(.97); }
.row-btn b { font-weight: 600; color: var(--label); font-size: 16px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; font: 600 12.5px/1 var(--font); letter-spacing: 0; padding: 0 10px; border-radius: 99px; white-space: nowrap; flex: none; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.green { background: var(--green-bg); color: var(--green-ink); }
.pill.amber { background: var(--amber-bg); color: var(--amber); }
.pill.red { background: var(--red-bg); color: var(--red-ink); }
.pill.grey { background: var(--fill); color: var(--label-2); }
.kv { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; font-size: 15px; }
.kv + .kv::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: .5px; background: var(--sep); }
.kv > span { color: var(--label-2); flex: none; max-width: 46%; }
.kv > b { font-weight: 600; color: var(--label); text-align: right; }
.list-kv { padding-top: 2px; padding-bottom: 2px; }
.empty { text-align: center; color: var(--label-2); padding: 56px 24px; display: grid; justify-items: center; gap: 14px; }
.empty svg { width: 30px; height: 30px; color: var(--tint); padding: 17px; box-sizing: content-box; border-radius: 50%; background: var(--tint-12); }
.okcard { display: flex; align-items: center; gap: 12px; background: var(--bg-elev); box-shadow: var(--card-sh); }
.okcard b { color: var(--label); font-weight: 600; }
.okmark { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.okmark svg { width: 17px; height: 17px; stroke-width: 2.8; }
.av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(160deg, #3A86C8, var(--navy)); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.av.big { width: 58px; height: 58px; font: 600 22px/1 var(--font-display); }

/* ---------- welcome: a fan of Wallet cards ---------- */
.welcome { flex: 1 !important; display: flex; flex-direction: column; background: var(--bg-elev); position: relative; overflow: hidden; }
.welcome::before { content: ""; position: absolute; left: -20%; right: -20%; top: -10%; height: 70%; background: radial-gradient(60% 55% at 50% 45%, rgba(24, 144, 215, .16), rgba(0, 95, 167, .06) 55%, transparent 75%); pointer-events: none; }
.wtop { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-t) + 10px) 20px 0; position: relative; z-index: 2; }
.wlogo { height: 34px; width: auto; }
.wmid { flex: 1; display: grid; place-items: center; position: relative; z-index: 1; min-height: 230px; perspective: 1400px; }
.wfan { position: relative; width: 270px; height: 172px; transform-style: preserve-3d; }
.wcard { position: absolute; inset: 0; border-radius: 22px; padding: 16px 18px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  box-shadow: 0 30px 50px -24px rgba(0, 20, 60, .55), inset 0 1px 0 rgba(255, 255, 255, .35); animation: fanIn 1s var(--ease) backwards; }
.wcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .12) 100%); pointer-events: none; }
.wcard img { height: 22px; width: auto; opacity: .95; }
.wcard b { font: 600 17px/1.2 var(--font); position: relative; }
.wcard .pic { width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.wcard .pic svg { width: 20px; height: 20px; }
.wcard.f0 { transform: translate3d(0, 34px, 40px) rotate(-2deg); z-index: 3; }
.wcard.f1 { transform: translate3d(14px, -2px, 0) rotate(5deg) scale(.95); z-index: 2; animation-delay: .08s; }
.wcard.f2 { transform: translate3d(-12px, -34px, -40px) rotate(-8deg) scale(.9); z-index: 1; animation-delay: .16s; }
@keyframes fanIn { from { transform: translate3d(0, 80px, 0) rotate(0) scale(.9); opacity: 0; } }
.wbody { padding: 0 24px calc(16px + var(--safe-b)); display: grid; gap: 10px; position: relative; z-index: 2; }
.wbody h1 { font: 700 32px/1.1 var(--font-display); letter-spacing: -.026em; margin-bottom: 4px; }
.wlist { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 12px; color: var(--label); }
.wlist li { display: flex; align-items: center; gap: 14px; font: 500 16px/1.3 var(--font); }
.wl-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint-soft); color: var(--tint); display: grid; place-items: center; flex: none; }
.wl-ic svg { width: 22px; height: 22px; }

/* ---------- sign-in ---------- */
.phone-field { display: flex; align-items: center; background: var(--bg-elev); border-radius: 16px; box-shadow: var(--card-sh); height: 58px; overflow: hidden; transition: box-shadow .2s; }
.phone-field:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tint) 55%, transparent); }
.phone-field .cc { position: relative; display: flex; align-items: center; height: 100%; box-shadow: inset -.5px 0 0 var(--sep); }
.phone-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; height: 100%; padding: 0 32px 0 16px; font-weight: 500; color: var(--label); font-size: 17px; cursor: pointer; }
.phone-field .cc svg { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--label-3); stroke-width: 2.4; }
.phone-field input { flex: 1; min-width: 0; border: 0; outline: 0; height: 100%; padding: 0 16px; font-size: 20px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; background: transparent; }
.phone-field input::placeholder, .code-in::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--label-3); }
.code-in { width: 100%; height: 70px; border: 0; outline: 0; border-radius: 20px; background: var(--bg-elev); box-shadow: var(--card-sh); text-align: center; font: 600 32px/1 var(--font-display); letter-spacing: .5em; text-indent: .5em; font-variant-numeric: tabular-nums; color: var(--label); }
.code-in:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tint) 55%, transparent); }
.demo-code { display: flex; align-items: center; gap: 10px; background: var(--amber-bg); color: #6B4200; border-radius: 16px; padding: 12px 16px; font-size: 15px; }
.demo-code svg { width: 20px; height: 20px; flex: none; }
.demo-code b { font-size: 18px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.bio { flex: 1 !important; display: flex !important; flex-direction: column; padding-top: 64px; padding-bottom: calc(24px + var(--safe-b)); }
.bio-ic { width: 104px; height: 104px; margin: 0 auto 8px; border-radius: 28px; background: var(--tint-soft); color: var(--tint); display: grid; place-items: center; animation: iconIn .8s var(--spring) backwards; }
.bio-ic svg { width: 56px; height: 56px; stroke-width: 1.4; }
@keyframes iconIn { from { transform: translateY(12px) scale(.85); opacity: 0; } }

/* ---------- home ---------- */
.wallet { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 14px; scrollbar-width: none; position: relative; z-index: 3; }
.wallet::-webkit-scrollbar { display: none; }
.home { padding: 2px 16px 28px; display: grid; gap: 12px; }

/* policy cards: Wallet-style, the one place the insurer's colours fill a surface */
.pcard { display: grid; gap: 4px; text-align: left; border-radius: 24px; padding: 16px 18px 14px; color: #fff; position: relative; overflow: hidden; isolation: isolate; background: var(--navy);
  box-shadow: 0 18px 30px -18px rgba(0, 30, 80, .6), inset 0 1px 0 rgba(255, 255, 255, .28); transition: transform .45s var(--spring); }
.pcard:active { transform: scale(.97); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .1) 100%); pointer-events: none; }
.pcard::after { content: ""; position: absolute; right: -36px; bottom: -46px; width: 150px; height: 150px; background: url(/assets/mark.svg) center / contain no-repeat; opacity: .1; filter: brightness(10); z-index: -1; }
.pcard.w { flex: none; width: 304px; scroll-snap-align: start; scroll-margin-left: 16px; }
.pcard.k-motor, .wcard.k-motor { background: linear-gradient(140deg, #1C7BC4 0%, #005FA7 55%, #03173D 100%); }
.pcard.k-home, .wcard.k-home { background: linear-gradient(140deg, #CDB797 0%, #B89E7E 55%, #8C7558 100%); }
.pcard.k-pet, .wcard.k-pet { background: linear-gradient(140deg, #6C7C86 0%, #47545A 55%, #2E383D 100%); }
.pcard.k-travel, .wcard.k-travel { background: linear-gradient(140deg, #2A86CC 0%, #024593 55%, #03173D 100%); }
.pcard .pic { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }
.pcard .pic svg { width: 19px; height: 19px; }
.pcard .pk { font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .9); }
.pcard .pill { background: rgba(255, 255, 255, .92); }
.pcard .pill.green { color: var(--green-ink); }
.pcard .pid { font: 700 25px/1.15 var(--font-display); letter-spacing: -.01em; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .pplan { font-size: 14px; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .pfoot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: .5px solid rgba(255, 255, 255, .28); font-size: 12.5px; color: rgba(255, 255, 255, .74); font-variant-numeric: tabular-nums; }
.pcard.big .pid { font-size: 30px; }
.pic.sm { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--navy); flex: none; }
.pic.sm svg { width: 21px; height: 21px; }
.pic.sm.k-home { background: var(--blue); }

.alert { display: grid; gap: 12px; box-shadow: var(--card-sh), inset 0 0 0 1px rgba(255, 159, 10, .32); animation: rise .6s var(--ease) backwards; }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }
.aic { width: 40px; height: 40px; border-radius: 12px; background: #FF9F0A; color: #fff; display: grid; place-items: center; flex: none; }
.aic svg { width: 21px; height: 21px; }
.alert b { color: var(--label); font-weight: 600; line-height: 1.3; display: block; font-size: 16px; }
.cmini { display: grid; gap: 6px; text-align: left; width: 100%; transition: transform .4s var(--spring); }
.cmini:active { transform: scale(.97); }
.cmini .cst { font: 600 20px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--label); }
.segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; }
.segs i { height: 5px; border-radius: 3px; background: rgba(120, 120, 128, .2); }
.segs i.on { background: var(--tint); }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qgrid button { background: var(--bg-elev); border-radius: var(--r); padding: 14px; display: grid; gap: 12px; font: 600 15px/1.22 var(--font); color: var(--label); box-shadow: var(--card-sh); min-height: 100px; align-content: space-between; text-align: left; transition: transform .4s var(--spring); }
.qgrid button:active { transform: scale(.96); }
.qi { width: 40px; height: 40px; border-radius: 12px; background: var(--tint-soft); color: var(--tint); display: grid; place-items: center; }
.qi svg { width: 22px; height: 22px; }
.road, .sos, .report { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 14px; border-radius: var(--r); background: var(--bg-elev); color: var(--label); text-align: left; width: 100%; box-shadow: var(--card-sh); transition: transform .4s var(--spring); }
.road:active, .sos:active, .report:active { transform: scale(.97); }
.road b, .sos b, .report b { display: block; font: 600 16px/1.25 var(--font); color: var(--label); }
.road span:not(.ric):not(.callbtn), .sos .grow span { font-size: 13px; color: var(--label-2); }
.ric { width: 46px; height: 46px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 14px -6px rgba(24, 144, 215, .8); }
.ric svg { width: 23px; height: 23px; }
.callbtn { background: var(--tint); color: #fff; font: 600 15px/1 var(--font); padding: 10px 16px; border-radius: 99px; flex: none; }
.callbtn.sm { padding: 8px 14px; font-size: 14px; }
.sos .ric { background: var(--red); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 14px -6px rgba(255, 59, 48, .8); }
.sos .callbtn { background: var(--red); }
.report .ric { background: var(--tint); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.report > svg { width: 17px; height: 17px; color: var(--label-3); stroke-width: 2.4; }

/* policy page */
.covers { display: grid; gap: 10px; }
.cov { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--label); }
.cov svg { width: 18px; height: 18px; color: var(--green-ink); flex: none; margin-top: 2px; stroke-width: 2.4; }

/* ---------- certificate: a pass on a dark screen ---------- */
.cert-screen { flex: 1 !important; display: flex; flex-direction: column; background: radial-gradient(120% 60% at 50% 0%, #0F2238 0%, #0C0D10 60%); padding-bottom: 24px; }
.live { margin: 4px 16px 0; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 22px 22px 0 0; color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #1E9E5A, #34C759, #1E9E5A); background-size: 200% 100%; animation: live 3s linear infinite; }
.live.bad { background: var(--red); animation: none; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; }
.live b { letter-spacing: .08em; font-weight: 700; }
@keyframes live { to { background-position: -200% 0; } }
@keyframes blink { 50% { opacity: .25; } }
.cert { margin: 0 16px; background: #fff; border-radius: 0 0 26px 26px; padding: 16px 18px 16px; position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.cert::before { content: ""; position: absolute; right: -60px; top: 70px; width: 230px; height: 230px; background: url(/assets/mark.svg) center / contain no-repeat; opacity: .05; }
.chead .clogo { height: 32px; width: auto; }
.cflag { font: 700 12px/1 var(--font); padding: 6px 8px; border-radius: 8px; background: var(--fill); color: var(--label-2); }
.cert h2 { font: 600 13px/1.3 var(--font); letter-spacing: .02em; color: var(--tint); margin: 14px 0 12px; }
.plate { display: flex; align-items: stretch; border: 2.5px solid #111; border-radius: 9px; overflow: hidden; background: #fff; width: max-content; margin: 0 auto 10px; }
.plate .eu { background: #003399; color: #fff; display: grid; place-items: center; padding: 3px 7px; font: 700 12px/1 var(--font); }
.plate .eu i { font-style: normal; color: #ffcc00; font-size: 11px; display: block; text-align: center; }
.plate b { font: 700 32px/1 var(--font-display); letter-spacing: .07em; padding: 8px 14px 6px; color: #111; }
.plate.big b { font-size: 36px; }
.cgrid .kv { font-size: 14px; padding: 8px 0; }
.cqr { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--sep); }
.cqr .qrbox { width: 98px; padding: 7px; border-radius: 14px; flex: none; box-shadow: 0 0 0 .5px var(--sep); }
.cqr b { display: block; color: var(--label); font-weight: 600; }
.cqr span { color: var(--label-2); font-size: 13px; }
.cert-actions { display: grid; gap: 10px; margin: 16px 16px 0; }
.wallet-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 99px; background: #000; color: #fff; font-weight: 600; font-size: 17px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: transform .4s var(--spring); }
.wallet-btn:active { transform: scale(.96); }
.wallet-btn svg { width: 20px; height: 20px; }
.wpass { background: linear-gradient(150deg, #1C7BC4, #005FA7 55%, #03173D); color: #fff; border-radius: 22px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 20px 40px -20px rgba(0, 30, 80, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.wpass img { height: 30px; width: auto; }
.wreg { font-weight: 700; font-size: 20px; letter-spacing: .05em; }
.wrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wrow span { display: block; font-size: 12px; color: rgba(255, 255, 255, .66); }
.wrow b { font-size: 15px; }
.wpass .qrbox { background: #fff; padding: 10px; border-radius: 14px; width: 150px; margin: 0 auto; }
.verify { flex: 1 !important; display: grid; align-content: start; justify-items: center; gap: 16px; padding: 44px 22px; background: var(--bg); }
.vlogo { width: 170px; }
.vstate { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: #fff; animation: pop .7s var(--spring) backwards; }
.vstate svg { width: 46px; height: 46px; stroke-width: 2.4; }
.vstate.ok { background: var(--green); box-shadow: 0 16px 34px -14px rgba(52, 199, 89, .8); }
.vstate.bad { background: var(--red); }
.verify .card { width: 100%; }
.verify h1 { font: 700 28px/1.15 var(--font-display); letter-spacing: -.022em; text-align: center; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- payment ---------- */
.paysum { display: grid; gap: 4px; }
.paysum .row { margin-bottom: 8px; }
.paysum b { color: var(--label); font-weight: 600; }
.amt { font: 700 24px/1.1 var(--font-display) !important; color: var(--tint) !important; font-variant-numeric: tabular-nums; }
.opts { display: grid; gap: 0; background: var(--bg-elev); border-radius: var(--r); overflow: hidden; box-shadow: var(--card-sh); }
.opt { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 58px; background: transparent; text-align: left; color: var(--label); transition: background-color .2s; }
.opts > .opt + .opt::before { content: ""; position: absolute; top: 0; left: 52px; right: 0; height: .5px; background: var(--sep); }
.opt:active { background: var(--fill); }
.opt b { font-weight: 500; }
.opt.on { background: var(--tint-08); }
.opt > svg { width: 22px; height: 22px; color: var(--label-2); flex: none; }
.rd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(60, 60, 67, .3); flex: none; position: relative; transition: border-color .2s; }
.opt.on .rd { border-color: var(--tint); }
.opt.on .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--tint); animation: pop .4s var(--spring); }
.cb { width: 24px; height: 24px; border-radius: 7px; border: 2px solid rgba(60, 60, 67, .3); display: grid; place-items: center; flex: none; color: transparent; transition: background .2s, border-color .2s; }
.cb svg { width: 16px; height: 16px; stroke-width: 3; }
.opt.on .cb { background: var(--tint); border-color: var(--tint); color: #fff; }
.stack > .opt { background: var(--bg-elev); border-radius: var(--r); box-shadow: var(--card-sh); }
.dock { position: sticky; bottom: 0; margin-top: auto; padding: 14px 16px calc(14px + var(--safe-b)); z-index: 5;
  background: linear-gradient(rgba(242, 242, 247, 0), rgba(242, 242, 247, .9) 30%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.tds { display: grid; justify-items: center; gap: 14px; padding: 6px 0 14px; text-align: center; }
.tds .row { width: 100%; }
.paydone { flex: 1 !important; display: flex !important; flex-direction: column; padding-top: 56px; }
.done-ic { width: 88px; height: 88px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; box-shadow: 0 16px 34px -14px rgba(52, 199, 89, .8), inset 0 1px 0 rgba(255, 255, 255, .4); animation: pop .7s var(--spring) backwards; }
.done-ic svg { width: 44px; height: 44px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bigno { font: 700 26px/1.2 var(--font-display); color: var(--tint); letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- claim page ---------- */
.chdr b { color: var(--label); }
.ask { display: grid; gap: 12px; box-shadow: var(--card-sh), inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 40%, transparent); }
.ask .aic { background: var(--blue); color: #fff; }
.ask b { display: block; color: var(--label); font-weight: 600; margin-top: 2px; }
.ask label.btn { cursor: pointer; }
.tl { display: grid; gap: 0; padding: 12px 16px; }
.tli { display: flex; gap: 14px; position: relative; padding: 8px 0 12px; }
.tli > i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(120, 120, 128, .3); background: var(--bg-elev); flex: none; display: grid; place-items: center; position: relative; z-index: 1; }
.tli > i svg { width: 14px; height: 14px; stroke-width: 3; }
.tli:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 34px; bottom: -4px; width: 2px; background: rgba(120, 120, 128, .2); }
.tli.done > i { background: var(--tint); border-color: var(--tint); color: #fff; }
.tli.done::before { background: var(--tint) !important; }
.tli.cur > i { border-color: var(--tint); box-shadow: 0 0 0 5px var(--tint-12); }
.tli.cur > i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tint); }
.tli.cur.done > i::after, .tli.cur > i:has(svg)::after { display: none; }
.tli.cur > i:has(svg) { background: var(--green); border-color: var(--green); color: #fff; }
.tli b { display: block; color: var(--label-3); font-weight: 600; font-size: 16px; }
.tli.done b, .tli.cur b { color: var(--label); }
.tli.cur b { font-size: 17px; }
.tli p { margin-top: 6px; color: var(--label); font-size: 15px; line-height: 1.38; background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.hcard b { color: var(--label); }
.msg { background: var(--bg-elev); border-radius: 18px; padding: 13px 16px; box-shadow: var(--card-sh); display: grid; gap: 2px; }
.msg b { color: var(--label); }
.msg p { margin-top: 4px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs.sm { grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.th { aspect-ratio: 1; border-radius: 14px; background: #E5E5EA center / cover no-repeat; display: block; transition: transform .4s var(--spring); }
button.th:active { transform: scale(.95); }
.fullimg { width: 100%; border-radius: 18px; display: block; max-height: 62vh; object-fit: contain; background: #000; }

/* ---------- claim wizard ---------- */
.wprog { display: flex; align-items: center; gap: 10px; padding: 0 16px 12px; font-size: 13px; color: var(--label-2); font-weight: 600; font-variant-numeric: tabular-nums; position: sticky; top: calc(var(--safe-t) + 54px); z-index: 19;
  background: rgba(242, 242, 247, .84); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); }
.v-claim .top::before { background: rgba(242, 242, 247, .84); -webkit-mask-image: none; mask-image: none; inset: 0; }
.wprog .bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(120, 120, 128, .2); overflow: hidden; }
.wprog .bar i { display: block; height: 100%; background: var(--tint); border-radius: 3px; transition: width .5s var(--ease); }
.ptiles { display: grid; gap: 10px; }
.ptile { background: var(--bg-elev); border-radius: var(--r); padding: 14px; box-shadow: var(--card-sh); transition: box-shadow .3s; }
.ptile.has { box-shadow: var(--card-sh), inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 45%, transparent); }
.ptop { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ptop b { flex: 1; color: var(--label); font-weight: 600; font-size: 16px; }
.req { font: 600 12px/1 var(--font); color: var(--amber); background: var(--amber-bg); padding: 6px 9px; border-radius: 99px; }
.pstrip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pth { flex: none; width: 76px; height: 76px; border-radius: 14px; background: #E5E5EA center / cover no-repeat; position: relative; animation: pop .45s var(--spring) backwards; }
.pth button { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pth button svg { width: 12px; height: 12px; stroke-width: 2.8; }
.padd { flex: none; width: 76px; height: 76px; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--tint) 35%, transparent); color: var(--tint); display: grid; place-items: center; align-content: center; gap: 4px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--tint-08); }
.padd svg { width: 22px; height: 22px; }
.mapbox { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--card-sh); isolation: isolate; }
/* Leaflet panes use z-index 400+: keep every map in its own stacking context so sheets and the tab bar stay on top */
.map { position: relative; z-index: 0; height: 240px; background: #E4E6EA; }
.map.sm { height: 156px; border-radius: 18px; margin-top: 12px; }
.map.nomap { display: grid; place-items: center; color: var(--label-2); font-size: 15px; }
.locbtn { position: absolute; z-index: 500; right: 12px; bottom: 26px; display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px 0 13px; border-radius: 99px; font: 600 15px/1 var(--font); color: var(--tint);
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .35), 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .95); transition: transform .35s var(--spring); }
.locbtn:active { transform: scale(.93); }
.locbtn svg { width: 19px; height: 19px; stroke-width: 2; }
.apin span { display: block; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--navy); transform: rotate(-45deg); border: 2.5px solid #fff; box-shadow: 0 5px 12px -2px rgba(0, 0, 0, .4); }
.apin.alt span { background: var(--blue); }
.apin.me span { background: #0A84FF; border-radius: 50%; width: 20px; height: 20px; transform: none; margin: 6px 0 0 3px; border-width: 3px; box-shadow: 0 0 0 8px rgba(10, 132, 255, .18), 0 2px 6px rgba(0, 0, 0, .3); }
.leaflet-container { font-family: var(--font); background: #E4E6EA; }
.leaflet-control-attribution { font: 400 9.5px/1.4 var(--font) !important; background: rgba(255, 255, 255, .62) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 8px 0 0 0; padding: 1px 6px !important; color: var(--label-2) !important; }
.leaflet-control-attribution a { color: inherit !important; }
.field { display: grid; gap: 7px; }
.field > span { font: 400 13px/1.3 var(--font); color: var(--label-2); margin: 0 16px; }
.field input, .field textarea { width: 100%; border: 0; outline: 0; border-radius: 14px; background: var(--bg-elev); box-shadow: var(--card-sh); padding: 15px 16px; font-size: 17px; color: var(--label); resize: none; transition: box-shadow .2s; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tint) 55%, transparent); }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind { background: var(--bg-elev); border-radius: var(--r); padding: 14px 12px; display: grid; justify-items: center; gap: 8px; text-align: center; font: 600 14px/1.2 var(--font); color: var(--label); box-shadow: var(--card-sh); transition: transform .35s var(--spring), box-shadow .2s; }
.kind:active { transform: scale(.96); }
.kind svg { width: 54px; height: 54px; color: var(--tint); }
.kind.on { box-shadow: inset 0 0 0 2px var(--tint); background: var(--tint-08); }
.qrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-elev); border-radius: var(--r); padding: 10px 10px 10px 16px; box-shadow: var(--card-sh); }
.qrow b { color: var(--label); font-weight: 500; font-size: 16px; }
.seg2 { display: flex; background: var(--fill); border-radius: 99px; padding: 3px; flex: none; }
.seg2 button { padding: 8px 18px; border-radius: 99px; font-weight: 600; font-size: 15px; color: var(--label-2); transition: background .3s var(--ease), color .2s; }
.seg2 button.on { background: #fff; color: var(--tint); box-shadow: 0 2px 8px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.rev { display: grid; gap: 4px; }
.rev b { color: var(--label); font-weight: 600; }

/* ---------- help: the roadside number on a hero card ---------- */
.helphead { margin: 0 16px; border-radius: 30px; color: #fff; padding: 22px 20px 20px; text-align: center; display: grid; gap: 6px; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #1C7BC4 0%, #005FA7 50%, #03173D 100%); box-shadow: 0 24px 44px -24px rgba(0, 40, 100, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.helphead::before { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 201, 245, .55), transparent); z-index: -1; }
.helphead h1 { color: rgba(255, 255, 255, .9); font: 600 15px/1.3 var(--font); letter-spacing: 0; }
.bignum { font: 700 46px/1.05 var(--font-display); letter-spacing: .02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.h24 { color: rgba(255, 255, 255, .72); font-size: 15px; margin-bottom: 12px; }
.helphead .btn { background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5), inset 0 1px 0 #fff; }
.helphead .btn svg { width: 22px; height: 22px; }
.v-help .pad { padding-top: 14px; }
.here { display: block; color: var(--label); margin-top: 8px; font-weight: 600; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc div { background: var(--bg-elev); border-radius: 20px; padding: 14px; display: grid; gap: 10px; font: 600 14px/1.25 var(--font); color: var(--label); box-shadow: var(--card-sh); }
.svc svg { width: 22px; height: 22px; color: var(--blue); }
.steps { padding-left: 22px; margin: 12px 0 18px; display: grid; gap: 10px; color: var(--label); font-size: 16px; line-height: 1.4; }

/* ---------- branches ---------- */
.seg { display: flex; background: var(--fill); border-radius: 99px; padding: 3px; }
.seg button { flex: 1; height: 36px; border-radius: 99px; font-weight: 600; font-size: 15px; color: var(--label-2); text-align: center; transition: background .3s var(--ease), color .2s; }
.seg button.on { background: #fff; color: var(--label); box-shadow: 0 2px 8px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.branch { padding: 0; overflow: hidden; border-radius: var(--r-lg); }
.bph { height: 132px; background: #E5E5EA center / cover no-repeat; }
.bin { padding: 14px 16px 16px; display: grid; gap: 5px; }
.bin b { color: var(--label); font: 600 18px/1.25 var(--font-display); letter-spacing: -.015em; }
.hrs { color: var(--label-2); }
.bact { display: flex; gap: 8px; margin-top: 10px; }
.bact .btn:first-child { flex: 1; }
.bact .btn.ghost:not(.icon) { flex: 1; }
.agent b { color: var(--label); font-weight: 600; }

/* ---------- documents ---------- */
.paper { background: #fff; border-radius: 22px; padding: 22px 20px; box-shadow: var(--lift-sh); display: grid; gap: 10px; position: relative; overflow: hidden; }
.paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue)); }
.plogo { height: 30px; width: auto; }
.paper h2 { font: 600 18px/1.3 var(--font-display); margin-top: 6px; color: var(--label); }
.pfine { font-size: 12px; color: var(--label-3); border-top: .5px solid var(--sep); padding-top: 10px; margin-top: 6px; }

/* ---------- more ---------- */
.prof { display: flex; align-items: center; gap: 14px; }
.prof b { color: var(--label); font: 600 20px/1.2 var(--font-display); letter-spacing: -.02em; }
.switch { width: 51px; height: 31px; border-radius: 99px; background: rgba(120, 120, 128, .16); position: relative; flex: none; transition: background .25s; }
.switch i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06); transition: transform .4s var(--spring); }
.switch.on { background: var(--green); }
.switch.on i { transform: translateX(20px); }

/* ---------- overlays ---------- */
.toast { position: absolute; left: 50%; bottom: calc(var(--safe-b) + 96px); transform: translateX(-50%); color: #fff; padding: 12px 18px; border-radius: 99px; font: 600 15px/1.25 var(--font); z-index: 80; max-width: 86%; text-align: center; animation: toastIn .45s var(--spring);
  background: rgba(28, 28, 30, .78); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .14); }
@keyframes toastIn { from { transform: translate(-50%, 16px) scale(.94); opacity: 0; } }
.banner { position: absolute; top: 44px; left: 8px; right: 8px; z-index: 90; display: flex; align-items: center; gap: 11px; text-align: left; border-radius: 26px; padding: 12px 14px 13px 12px; animation: drop .7s var(--spring);
  background: rgba(250, 250, 252, .78); -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .38), 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .95); }
@media (max-width: 760px) { .banner { top: calc(env(safe-area-inset-top, 0px) + 30px); } }
.banner img { width: 40px; height: 40px; border-radius: 10px; flex: none; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); }
.banner b { display: block; font: 600 15px/1.3 var(--font); color: var(--label); }
.banner span { display: block; font-size: 15px; color: var(--label); line-height: 1.32; }
.banner small { align-self: flex-start; color: var(--label-2); font-size: 13px; }
@keyframes drop { from { transform: translateY(-140%) scale(.96); } }
.sheet-wrap { position: absolute; inset: 0; z-index: 70; background: rgba(0, 0, 0, .24); display: flex; align-items: flex-end; animation: fade .3s ease both; }
.sheet-wrap.closing { animation: fadeOut .24s ease both; }
.sheet-wrap.closing .sheet { animation: down .24s cubic-bezier(.4, 0, 1, 1) both; }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.sheet { width: calc(100% - 16px); margin: 0 8px calc(8px + var(--safe-b)); max-height: 86%; overflow-y: auto; scrollbar-width: none; border-radius: 38px; padding: 8px 20px 22px;
  background: rgba(246, 246, 249, .95); -webkit-backdrop-filter: blur(40px) saturate(190%); backdrop-filter: blur(40px) saturate(190%);
  box-shadow: 0 34px 80px -24px rgba(0, 0, 0, .5), 0 0 0 .5px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .95); animation: up .55s var(--ease) both; }
.sheet::-webkit-scrollbar { display: none; }
.sheet.still { animation: none; }
@keyframes up { from { transform: translateY(108%); } }
@keyframes down { to { transform: translateY(108%); } }
.sheet h2 { font: 700 22px/1.22 var(--font-display); letter-spacing: -.02em; }
.sheet > .btn + .btn, .sheet .stack-s { margin-top: 10px; }
.grab { width: 36px; height: 5px; border-radius: 99px; background: rgba(60, 60, 67, .28); margin: 0 auto 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* lead logo sizes and agent card */
.hlogo { height: 24px; }
.wlogo { height: 30px; }
.wcard img { height: 16px; }
.wpass img { height: 22px; }
.chead .clogo { height: 26px; }
.plogo { height: 24px; }
.agentc .bact { display: flex; gap: 8px; margin-top: 12px; }
.agentc .bact .btn { flex: 1; }
.agentc .k, .agentc b { display: block; }
.agentc b { font-size: 17px; margin: 1px 0 2px; }
.agent b { font-size: 16px; line-height: 1.25; }
