/* Aviatrip — "სად წავიდე X ლარით?" live budget map · AVIATRIP-AI-VOICE-BUDGETMAP-V1010 */
.bm {
  --bm-navy-0: #050f24;
  --bm-navy-1: #08193a;
  --bm-navy-2: #0c2652;
  --bm-blue: var(--voyage-blue, #1755cd);
  --bm-sky: #7fd3ff;
  --bm-ink: var(--voyage-ink, #142746);
  --bm-muted: var(--voyage-muted, #52647d);
  --bm-line: var(--voyage-line, #dce7f6);
  --bm-free: #22d3a0;
  --bm-evisa: #f5b53d;
  --bm-visa: #f26b6b;
  --bm-glass: rgba(14, 38, 82, .62);
  --bm-glass-line: rgba(127, 211, 255, .16);
  --bm-radius: 24px;
  --bm-shell: var(--voyage-shell, 1300px);
  --bm-gutter: var(--voyage-gutter, clamp(16px, 4vw, 58px));
  font-family: var(--voyage-sans, "Noto Sans Georgian", Arial, sans-serif);
  color: var(--bm-ink);
}
.bm *, .bm *::before, .bm *::after { box-sizing: border-box; }
.bm [hidden] { display: none !important; }
.bm-shell { width: min(100%, calc(var(--bm-shell) + var(--bm-gutter) * 2)); margin-inline: auto; padding-inline: var(--bm-gutter); }

/* ---------- Hero ---------- */
.bm-hero {
  position: relative; overflow: hidden; color: #eaf3ff;
  padding: clamp(28px, 5vw, 64px) 0 clamp(26px, 4vw, 48px);
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(39, 121, 255, .38), transparent 62%),
    radial-gradient(700px 420px at 4% 110%, rgba(34, 211, 160, .14), transparent 60%),
    linear-gradient(180deg, var(--bm-navy-1), var(--bm-navy-0) 78%);
}
.bm-hero__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(127, 211, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.bm-hero__copy { position: relative; max-width: 820px; margin-bottom: clamp(20px, 3vw, 34px); }
.bm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--bm-glass-line); border-radius: 999px; background: rgba(127, 211, 255, .07);
  font-size: 13px; font-weight: 650; letter-spacing: .01em; color: #bfe6ff;
}
.bm-live { width: 8px; height: 8px; border-radius: 50%; background: var(--bm-free); box-shadow: 0 0 0 0 rgba(34, 211, 160, .6); animation: bm-live 2s infinite; }
@keyframes bm-live { 70% { box-shadow: 0 0 0 9px rgba(34, 211, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 160, 0); } }
.bm-hero h1 {
  margin: 0; font-family: var(--voyage-display, var(--voyage-sans)); font-weight: 700;
  font-size: clamp(30px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -.01em; color: #fff; text-wrap: balance;
}
.bm-hero__budget {
  background: linear-gradient(92deg, #7fd3ff, #4ea7ff 45%, #22d3a0); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bm-lead { margin: 14px 0 0; max-width: 640px; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; color: #b8cbe6; }

.bm-board { position: relative; display: grid; grid-template-columns: minmax(290px, 340px) 1fr; gap: 18px; align-items: start; }

/* ---------- Control panel ---------- */
.bm-panel {
  display: grid; gap: 18px; padding: 22px; border-radius: var(--bm-radius);
  background: linear-gradient(180deg, rgba(20, 52, 108, .72), rgba(10, 30, 66, .72));
  border: 1px solid var(--bm-glass-line); box-shadow: 0 24px 60px rgba(0, 8, 26, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.bm-field { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.bm-field > label, .bm-label { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #9fbbe0; text-transform: none; padding: 0; }
.bm-budget { display: flex; align-items: baseline; gap: 8px; }
.bm-budget__number {
  width: auto; min-width: 2ch; max-width: 100%; field-sizing: content; padding: 0; border: 0; background: none; color: #fff; outline: none;
  font: 800 clamp(34px, 4vw, 42px)/1 var(--voyage-sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
@supports not (field-sizing: content) { .bm-budget__number { width: 5.2ch; } }
.bm-budget__number:focus-visible { text-decoration: underline 2px rgba(127, 211, 255, .6); text-underline-offset: 6px; }
.bm-budget__currency { font-size: 26px; font-weight: 800; color: var(--bm-sky); }
.bm-range { --bm-fill: 30%; width: 100%; height: 26px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.bm-range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #4ea7ff, #22d3a0 var(--bm-fill), rgba(255, 255, 255, .12) var(--bm-fill)); }
.bm-range::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.bm-range::-moz-range-progress { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #4ea7ff, #22d3a0); }
.bm-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid #2b8cff; box-shadow: 0 4px 14px rgba(43, 140, 255, .55); transition: transform .15s; }
.bm-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid #2b8cff; box-shadow: 0 4px 14px rgba(43, 140, 255, .55); }
.bm-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.bm-range:focus-visible { outline: 2px solid var(--bm-sky); outline-offset: 4px; border-radius: 8px; }
.bm-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bm-chips button, .bm-seg button, .bm-map__regions button, .bm-sort button {
  font: 700 12.5px/1 var(--voyage-sans); cursor: pointer; border-radius: 999px; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.bm-chips button { padding: 8px 4px; white-space: nowrap; color: #cfe3ff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.bm-chips button:hover { background: rgba(127, 211, 255, .14); }
.bm-chips button.is-active { background: rgba(127, 211, 255, .2); border-color: rgba(127, 211, 255, .55); color: #fff; }
.bm-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(2, 10, 28, .45); border: 1px solid rgba(255, 255, 255, .06); }
.bm-seg button { padding: 10px 6px; border: 0; border-radius: 10px; background: transparent; color: #a9c2e6; font-size: 13.5px; }
.bm-seg button[aria-checked="true"] { background: linear-gradient(180deg, #2f7df6, #1b5fd6); color: #fff; box-shadow: 0 6px 18px rgba(27, 95, 214, .45); }
.bm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bm-select { position: relative; }
.bm-select::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #8fb2df; border-bottom: 2px solid #8fb2df; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.bm-select select {
  width: 100%; height: 44px; padding: 0 32px 0 13px; border-radius: 12px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: rgba(2, 10, 28, .45); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font: 650 14px var(--voyage-sans);
}
.bm-select select option { color: #0b234b; }
.bm-select select:focus-visible, .bm-step button:focus-visible, .bm-seg button:focus-visible, .bm-toggle input:focus-visible + .bm-toggle__dot { outline: 2px solid var(--bm-sky); outline-offset: 2px; }
.bm-step { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 44px; border-radius: 12px; background: rgba(2, 10, 28, .45); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.bm-step button { height: 100%; border: 0; background: transparent; color: #cfe3ff; font-size: 20px; cursor: pointer; }
.bm-step button:hover { background: rgba(127, 211, 255, .12); }
.bm-step output { text-align: center; font: 800 17px var(--voyage-sans); color: #fff; font-variant-numeric: tabular-nums; }
.bm-visa { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-visa legend { width: 100%; margin-bottom: 9px; }
.bm-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 650; color: #cfe3ff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: .2s; user-select: none; }
.bm-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bm-toggle__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; opacity: .55; transition: .2s; }
.bm-toggle__dot.is-free { color: var(--bm-free); } .bm-toggle__dot.is-evisa { color: var(--bm-evisa); } .bm-toggle__dot.is-visa { color: var(--bm-visa); }
.bm-toggle:has(input:checked) { background: rgba(127, 211, 255, .12); border-color: rgba(127, 211, 255, .35); color: #fff; }
.bm-toggle input:checked + .bm-toggle__dot { background: currentColor; opacity: 1; box-shadow: 0 0 10px currentColor; }

/* ---------- Map ---------- */
.bm-stage { display: grid; gap: 14px; min-width: 0; }
.bm-map {
  position: relative; min-height: 420px; height: clamp(420px, 52vw, 600px); border-radius: var(--bm-radius); overflow: hidden;
  background: radial-gradient(120% 90% at 60% 20%, #0f3270 0%, #0a2453 45%, #061733 100%);
  border: 1px solid var(--bm-glass-line); box-shadow: 0 30px 80px rgba(0, 6, 22, .5), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.bm-map::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at center, transparent 55%, rgba(3, 10, 26, .55) 100%); }
.bm-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bm-svg:active { cursor: grabbing; }
.bm-country { fill: #173d78; stroke: #2a5a9e; stroke-width: .6; transition: fill .45s ease, filter .45s ease; }
.bm-country.is-lit { stroke: rgba(255, 255, 255, .35); }
.bm-country.is-lit.is-free { fill: #127a64; }
.bm-country.is-lit.is-evisa { fill: #8a6a1f; }
.bm-country.is-lit.is-visa { fill: #8a3446; }
.bm-arc { fill: none; stroke: url(#bmArc); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: bm-draw 1.1s cubic-bezier(.2, .7, .2, 1) forwards; opacity: .75; pointer-events: none; }
@keyframes bm-draw { to { stroke-dashoffset: 0; } }
.bm-dot { cursor: pointer; }
.bm-dot__hit { fill: transparent; }
.bm-dot__core { stroke: rgba(255, 255, 255, .85); stroke-width: .4; vector-effect: non-scaling-stroke; transition: r .2s; }
.bm-dot.is-free .bm-dot__core { fill: url(#bmDotFree); }
.bm-dot.is-evisa .bm-dot__core { fill: url(#bmDotEvisa); }
.bm-dot.is-visa .bm-dot__core { fill: url(#bmDotVisa); }
.bm-dot.is-over .bm-dot__core { fill: #9db8e6; stroke: none; opacity: .62; }
.bm-dot__halo { fill: currentColor; opacity: .28; transform-box: fill-box; transform-origin: center; animation: bm-halo 2.6s ease-out infinite; }
.bm-dot.is-free { color: var(--bm-free); } .bm-dot.is-evisa { color: var(--bm-evisa); } .bm-dot.is-visa { color: var(--bm-visa); }
@keyframes bm-halo { 0% { transform: scale(.5); opacity: .45; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.bm-dot.is-on:hover .bm-dot__core { filter: drop-shadow(0 0 4px currentColor); }
.bm-origin__core { fill: #fff; filter: drop-shadow(0 0 6px #7fd3ff); }
.bm-origin__pulse { fill: rgba(127, 211, 255, .25); transform-box: fill-box; transform-origin: center; animation: bm-halo 2.2s ease-out infinite; }

.bm-map__regions { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(5, 18, 44, .7); border: 1px solid var(--bm-glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bm-map__regions button { padding: 8px 12px; border: 0; background: transparent; color: #a9c2e6; }
.bm-map__regions button.is-active { background: rgba(127, 211, 255, .18); color: #fff; }
.bm-map__zoom { position: absolute; z-index: 2; right: 14px; top: 14px; display: grid; overflow: hidden; border-radius: 14px; background: rgba(5, 18, 44, .7); border: 1px solid var(--bm-glass-line); }
.bm-map__zoom button { width: 38px; height: 36px; border: 0; background: transparent; color: #dbeafe; font-size: 19px; cursor: pointer; }
.bm-map__zoom button + button { border-top: 1px solid var(--bm-glass-line); }
.bm-map__zoom button:hover, .bm-map__regions button:hover { background: rgba(127, 211, 255, .12); }
.bm-map__legend { position: absolute; z-index: 2; left: 14px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; border-radius: 12px; background: rgba(5, 18, 44, .62); font-size: 11.5px; font-weight: 650; color: #b8cbe6; }
.bm-map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.bm-map__legend i { width: 9px; height: 9px; border-radius: 50%; }
.bm-map__legend i.is-free { background: var(--bm-free); box-shadow: 0 0 8px var(--bm-free); }
.bm-map__legend i.is-evisa { background: var(--bm-evisa); box-shadow: 0 0 8px var(--bm-evisa); }
.bm-map__legend i.is-visa { background: var(--bm-visa); box-shadow: 0 0 8px var(--bm-visa); }
.bm-map__legend i.is-over { background: #9db8e6; opacity: .7; }
.bm-map__tip {
  position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 14px)); display: grid; gap: 2px; min-width: 170px; padding: 10px 13px; border-radius: 14px; pointer-events: none;
  background: rgba(255, 255, 255, .97); color: #0b234b; box-shadow: 0 18px 40px rgba(0, 8, 26, .45); font-size: 12.5px;
}
.bm-map__tip strong { font-size: 14.5px; }
.bm-map__tip span { color: #52647d; }
.bm-map__tip b { margin-top: 4px; font-size: 18px; font-variant-numeric: tabular-nums; }
.bm-map__tip b.is-fit { color: #0b8a63; } .bm-map__tip b.is-over { color: #c43d3d; }
.bm-map__tip small { color: #52647d; }
.bm-map__loading { position: absolute; z-index: 4; inset: auto 0 50% 0; margin: auto; width: max-content; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: rgba(5, 18, 44, .82); color: #dbeafe; font-size: 13.5px; font-weight: 650; border: 1px solid var(--bm-glass-line); transform: translateY(50%); }
.bm-map__loading[hidden] { display: none; }
.bm-map.is-loading .bm-dots, .bm-map.is-loading [data-bm-dots] { opacity: .35; }
.bm-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(127, 211, 255, .25); border-top-color: var(--bm-sky); animation: bm-spin .8s linear infinite; }
@keyframes bm-spin { to { transform: rotate(360deg); } }

.bm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bm-stat { display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(14, 38, 82, .55); border: 1px solid var(--bm-glass-line); min-width: 0; }
.bm-stat strong { font-size: clamp(18px, 2.1vw, 24px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-stat span { font-size: 12.5px; color: #9fbbe0; }

/* ---------- Results ---------- */
.bm-results { padding: clamp(28px, 4vw, 54px) 0 clamp(36px, 5vw, 70px); background: var(--voyage-bg, #f6f9ff); }
.bm-results__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.bm-results__head h2 { margin: 0; font-family: var(--voyage-display, var(--voyage-sans)); font-size: clamp(22px, 2.6vw, 30px); color: var(--bm-ink); }
.bm-results__head p { margin: 6px 0 0; color: var(--bm-muted); font-size: 14px; }
.bm-sort { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--bm-line); }
.bm-sort button { padding: 9px 14px; border: 0; background: transparent; color: var(--bm-muted); }
.bm-sort button.is-active { background: var(--bm-blue); color: #fff; box-shadow: 0 6px 16px rgba(23, 85, 205, .3); }
.bm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.bm-card {
  display: grid; gap: 12px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--bm-line);
  box-shadow: 0 10px 28px rgba(17, 48, 96, .07); transition: transform .2s, box-shadow .2s, border-color .2s;
  animation: bm-in .45s calc(var(--i, 0) * 35ms) both cubic-bezier(.2, .7, .2, 1);
}
@keyframes bm-in { from { opacity: 0; transform: translateY(10px); } }
.bm-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(17, 48, 96, .12); border-color: #c4d7f2; }
.bm-card__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.bm-card__flag { font-size: 32px; line-height: 1; }
.bm-card__place { display: grid; min-width: 0; }
.bm-card__place strong { font-size: 17px; color: var(--bm-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-card__place small { font-size: 13px; color: var(--bm-muted); }
.bm-card__total { display: grid; text-align: right; }
.bm-card__total strong { font-size: 20px; color: var(--bm-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bm-card__total small { font-size: 12px; font-weight: 700; color: #0b8a63; white-space: nowrap; }
.bm-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.bm-card__meta span { padding: 6px 9px; border-radius: 9px; background: #f2f7ff; color: #31486b; font-size: 12.5px; font-weight: 600; }
.bm-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bm-card__cta { flex: none; padding: 9px 13px; border-radius: 11px; background: var(--bm-blue); color: #fff; font-size: 13px; font-weight: 750; text-decoration: none; transition: background .2s; }
.bm-card__cta:hover { background: #0e46b4; }
.bm-badge { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-badge::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.bm-badge.is-free { background: #e3f8f0; color: #0b7c59; }
.bm-badge.is-evisa { background: #fff4dd; color: #9a6400; }
.bm-badge.is-visa { background: #ffe8e8; color: #b23a3a; }
.bm-empty { display: grid; gap: 6px; padding: 28px; border-radius: 20px; background: #fff; border: 1px dashed #c4d7f2; text-align: center; color: var(--bm-muted); }
.bm-empty strong { color: var(--bm-ink); font-size: 16px; }
.bm-more { display: block; margin: 18px auto 0; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-blue); font: 750 14px var(--voyage-sans); cursor: pointer; }
.bm-disclaimer { margin: 22px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--bm-muted); }

/* ---------- Drawer ---------- */
html.bm-lock, html.bm-lock body { overflow: hidden; }
.bm-drawer { position: fixed; inset: 0; z-index: 1200; }
.bm-drawer[hidden] { display: none; }
.bm-drawer__scrim { position: absolute; inset: 0; background: rgba(4, 12, 30, .5); opacity: 0; transition: opacity .25s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.bm-drawer__sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; padding: 26px 24px 28px;
  background: #fff; box-shadow: -24px 0 60px rgba(4, 12, 30, .25); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); outline: none;
}
.bm-drawer.is-open .bm-drawer__scrim { opacity: 1; }
.bm-drawer.is-open .bm-drawer__sheet { transform: none; }
.bm-drawer__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bm-line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--bm-ink); }
.bm-detail__head { display: flex; align-items: center; gap: 14px; margin: 6px 40px 18px 0; }
.bm-detail__flag { font-size: 44px; line-height: 1; }
.bm-detail__head h3 { margin: 0; font-family: var(--voyage-display, var(--voyage-sans)); font-size: 26px; color: var(--bm-ink); }
.bm-detail__head p { margin: 4px 0 0; color: var(--bm-muted); font-size: 14px; }
.bm-detail__total { display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #0c2652, #1755cd); color: #fff; }
.bm-detail__total span { font-size: 12.5px; color: #bfe0ff; font-weight: 650; }
.bm-detail__total strong { font-size: 34px; font-variant-numeric: tabular-nums; }
.bm-detail__total small { font-size: 13px; font-weight: 700; color: #8ff0cf; }
.bm-detail__total.is-over small { color: #ffb4b4; }
.bm-detail__rows { display: grid; gap: 0; margin: 16px 0; }
.bm-detail__rows div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf2fa; font-size: 14px; }
.bm-detail__rows dt { color: var(--bm-muted); }
.bm-detail__rows dd { margin: 0; text-align: right; color: var(--bm-ink); }
.bm-detail__rows em { color: #9a6400; font-style: normal; font-size: 12px; display: block; }
.bm-detail__visa { padding: 14px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.55; }
.bm-detail__visa h4 { margin: 0 0 6px; font-size: 15px; }
.bm-detail__visa p { margin: 0 0 8px; }
.bm-detail__visa a { font-weight: 750; color: inherit; }
.bm-detail__visa.is-free { background: #e9faf3; color: #0b6a4d; }
.bm-detail__visa.is-evisa { background: #fff6e2; color: #7c5100; }
.bm-detail__visa.is-visa { background: #ffeded; color: #9b2c2c; }
.bm-detail__warn { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .65); font-size: 12.5px; }
.bm-detail__actions { display: grid; gap: 8px; margin-top: 16px; }
.bm-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-ink); font-weight: 750; font-size: 14.5px; text-decoration: none; transition: .2s; }
.bm-btn:hover { border-color: #b9cdea; background: #f6f9ff; }
.bm-btn--primary { background: var(--bm-blue); border-color: var(--bm-blue); color: #fff; box-shadow: 0 10px 24px rgba(23, 85, 205, .28); }
.bm-btn--primary:hover { background: #0e46b4; }
.bm-btn--ai { background: linear-gradient(135deg, #0c2652, #2a2f8f); color: #fff; border-color: transparent; }
.bm-btn--ai:hover { background: linear-gradient(135deg, #10306a, #3438a8); }
.bm-detail__fine { margin: 14px 0 0; font-size: 12px; color: var(--bm-muted); line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .bm-board { grid-template-columns: 1fr; }
  .bm-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-field--budget, .bm-visa { grid-column: 1 / -1; }
  .bm-map { height: clamp(360px, 62vw, 520px); }
}
@media (max-width: 640px) {
  .bm-panel { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .bm-map { height: 360px; min-height: 0; border-radius: 20px; }
  .bm-map__regions { left: 10px; right: 58px; top: 10px; overflow-x: auto; scrollbar-width: none; }
  .bm-map__regions button { padding: 8px 10px; white-space: nowrap; }
  .bm-map__zoom { right: 10px; top: 10px; }
  .bm-map__legend { left: 10px; right: 10px; bottom: 10px; font-size: 11px; gap: 4px 10px; }
  .bm-stats { grid-template-columns: 1fr 1fr; }
  .bm-stats .bm-stat:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .bm-results__head { align-items: start; }
  .bm-sort { width: 100%; overflow-x: auto; }
  .bm-sort button { flex: 1; white-space: nowrap; }
  .bm-list { grid-template-columns: 1fr; }
  .bm-drawer__sheet { top: auto; left: 0; width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; transform: translateY(100%); padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .bm-live, .bm-dot__halo, .bm-origin__pulse, .bm-arc, .bm-card, .bm-spinner { animation: none !important; }
  .bm-arc { stroke-dashoffset: 0; }
  .bm-drawer__sheet, .bm-drawer__scrim, .bm-country { transition: none; }
}
