@font-face {
  font-family: Kalameh;
  src: url("fonts/Kalameh-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Kalameh;
  src: url("fonts/Kalameh-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Kalameh;
  src: url("fonts/Kalameh-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Kalameh;
  src: url("fonts/Kalameh-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0026dd;
  --blue: #0026dd;
  --gold: #c49803;
  --gold-deep: #a37f02;
  --green: #0cae65;
  --paper: #eef2fb;
  --ink: #10215f;
  --muted: #5c6b94;
  --line: #d5def3;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Kalameh, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

button, input, textarea, select { font-family: inherit; }

a { color: var(--blue); }

.desk {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
}

.spine {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 28px;
  color: #fff;
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(196, 152, 3, 0.35), transparent 70%),
    var(--navy);
}

.brand img { display: block; width: 168px; height: auto; }

.spine-kicker {
  margin: 36px 0 0;
  color: #e7c86a;
  font-weight: 700;
  font-size: 15px;
}

.spine-lead {
  margin: 4px 0 0;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 800;
}

.spine-copy {
  margin: 10px 0 0;
  max-width: 16em;
  color: #d5def2;
  font-size: 16px;
}

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  position: relative;
}

.steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #9eafd4;
  font-weight: 500;
}

.steps li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  position: relative;
  z-index: 1;
}

.steps li.done { color: #fff; }
.steps li.done span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.steps li.on { color: #fff; font-weight: 800; }
.steps li.on span { background: #fff; border-color: #fff; color: var(--navy); }

.spine-foot { margin-top: auto; padding-top: 24px; }
.spine-foot a { color: #d5def2; text-decoration: none; font-weight: 500; }
.spine-foot a:hover { color: #fff; }

.sheet {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  background:
    radial-gradient(480px 220px at 0% 0%, rgba(196, 152, 3, 0.16), transparent 72%),
    var(--paper);
}

.screen-plans .sheet,
.screen-home .sheet,
.screen-profile .sheet,
.screen-chat .sheet { align-items: flex-start; }

.sheet-in { width: min(100%, 1080px); }

.screen-phone .sheet-in,
.screen-code .sheet-in,
.screen-error .sheet-in { width: min(100%, 460px); }

.panel {
  background: var(--card);
  border-radius: 28px;
  padding: 28px 26px 24px;
  box-shadow: 0 22px 50px rgba(7, 22, 60, 0.08);
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 800;
}

h2 { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 800; }

.lede {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.intro { margin-bottom: 18px; }
.intro .lede { margin-bottom: 0; }

label {
  display: block;
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 15px;
}

input, textarea, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #f6f8fd;
  color: var(--ink);
  font-size: 16px;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 152, 3, 0.18);
}

button, a.btn, a.textlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.panel button, .panel a.btn { width: 100%; }

button:hover, a.btn:hover, a.textlink:hover { background: var(--gold-deep); }

button.ghost {
  width: auto;
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

button.ghost:hover { background: #eef2ff; }

.note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f4f7ff;
  border: 1px solid var(--line);
}

.note.bad { background: #fff4f4; border-color: #f0c2c2; color: #8a2430; }
.note.ok { background: #f2fbf5; border-color: #b7e0c4; color: #146338; }
.note ul { margin: 8px 0 0; padding-inline-start: 18px; }

.quiet { color: var(--muted); }
.quiet a { font-weight: 700; text-decoration: none; }

.tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.tariff {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 18px 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, var(--blue), var(--gold)) border-box;
  border: 2px solid transparent;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 38, 221, 0.08);
}
.tariff-top { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin-bottom: 8px; }
.gem-mark { width: 42px; height: 8px; border-radius: 999px; background: var(--blue); }
.gem-starter .gem-mark { background: var(--green); }
.gem-standard .gem-mark { background: var(--gold); }
.gem-business .gem-mark { background: var(--blue); }
.tariff-top em { font-style: normal; background: #fff6d8; color: #8a6a00; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 800; }
.tariff .price b { font-size: 32px; color: var(--blue); }
.tariff li { position: relative; padding-inline-start: 22px; }
.tariff li::before { content: ""; position: absolute; right: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.tariff.is-core { box-shadow: inset 0 5px 0 var(--gold), 0 16px 40px rgba(7, 22, 60, 0.06); }
.tariff.is-focus { outline: 2px solid var(--blue); }

.tariff h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: #0c8f62;
  vertical-align: middle;
}
.gem-standard h2::before { background: var(--gold); }
.gem-business h2::before { background: #c5d2ea; box-shadow: inset 0 0 0 1px #7f93b5; }

.price { margin: 12px 0; }
.price b {
  display: block;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.price span { color: var(--muted); font-size: 14px; }

.tariff ul {
  margin: 0 0 16px;
  padding: 0 18px 0 0;
  flex: 1;
}
.tariff li { margin: 7px 0; }
.tariff button { width: 100%; margin-top: auto; }
.tariff { display: flex; flex-direction: column; min-height: 100%; }
.intro .lede { max-width: 36rem; }
.domain-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; margin: 14px 0 22px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 16px 40px rgba(7, 22, 60, 0.06); }
.domain-panel h2 { margin: 4px 0 8px; }
.domain-name { display: flex; align-items: center; gap: 8px; background: #f4f7ff; border-radius: 14px; padding: 6px 10px; }
.domain-name span { font-weight: 800; color: var(--blue); }
.domain-name input { border: 0; background: transparent; min-height: 44px; }
.domain-actions { display: flex; gap: 8px; margin-top: 10px; }
.domain-actions button { flex: 1; }
.domain-note.is-ok { color: var(--green); }
.domain-note.is-bad { color: #b42318; }
.domain-panel.is-owned { grid-template-columns: 1fr; }
.domain-panel label { display: grid; gap: 6px; margin: 8px 0; font-weight: 700; }
.domain-panel input, .domain-panel select { min-height: 44px; }
.profile-fold { margin-top: 14px; }
.profile-fold summary { cursor: pointer; font-weight: 800; color: #fff; padding: 8px 0; }
.profile-fold a { display: grid; padding: 8px 0; text-decoration: none; color: #fff; }
.profile-fold a small { color: #d5def2; }
.side-person { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #fff; text-decoration: none; }
.side-person img, .side-person b { width: 42px; height: 42px; border-radius: 14px; object-fit: cover; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.account-card { display: grid; grid-template-columns: 160px 1fr; gap: 18px; background: #fff; border-radius: 24px; padding: 18px; }
.account-card img, .avatar-fallback { width: 140px; height: 140px; border-radius: 28px; object-fit: cover; background: #e8eeff; }
.chat-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 68vh; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 16px 40px rgba(7, 22, 60, .06); }
.chat-list { background: #f7f9ff; border-left: 1px solid #e6edf8; padding: 12px; display: grid; align-content: start; gap: 8px; }
.chat-list a { display: grid; gap: 2px; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.chat-list a.is-on { background: #fff; box-shadow: 0 8px 20px rgba(7, 22, 60, .06); }
.chat-room { display: flex; flex-direction: column; min-height: 68vh; }
.chat-room header { padding: 14px 16px; border-bottom: 1px solid #eef2f8; }
.chat-stream { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: linear-gradient(180deg, #f8faff, #fff); }
.chat-stream .bubble { max-width: min(78%, 520px); margin: 0; }
.chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid #eef2f8; }
.chat-compose textarea { min-height: 52px; margin: 0; }
.chat-compose button { width: auto; min-width: 96px; margin: 0; }
.stat-card { justify-items: start; align-items: center; grid-template-columns: 52px 1fr; padding: 16px; }
.stat-card b { font-size: 26px; line-height: 1; }
.stat-card span { color: var(--muted); font-weight: 700; }
.stat-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.stat-ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.ico-red { background: #f04438; }
.ico-gold { background: #f5b400; }
.ico-green { background: #17b26a; }
.ico-blue { background: #2f6bff; }
.domain-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; direction: rtl; }
.domain-tile { display: grid; gap: 6px; min-height: 140px; padding: 18px; border-radius: 22px; text-decoration: none; color: #fff; background: var(--navy); direction: rtl; text-align: right; justify-items: start; }
.domain-tile:nth-child(2) { background: #1237e8; }
.domain-tile:nth-child(3) { background: #0b8f57; }
.domain-tile b { font-size: 22px; }
.own-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.own-card { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #fff; border-radius: 22px; padding: 16px; }
.own-card b { display: block; font-size: 18px; }
.domain-table-wrap { overflow-x: auto; background: #fff; border-radius: 22px; box-shadow: 0 16px 40px rgba(7, 22, 60, .06); direction: rtl; }
.domain-table { width: 100%; border-collapse: collapse; direction: rtl; }
.domain-table th, .domain-table td { text-align: right; padding: 14px 16px; border-bottom: 1px solid #eef2f8; vertical-align: middle; }
.domain-table th { color: #5c6b86; font-size: 13px; border-bottom-color: #e6edf8; }
.domain-table .domain-name { direction: ltr; unicode-bidi: isolate; display: inline-block; text-align: right; }
.domain-table tr:last-child td { border-bottom: 0; }
.domain-hero { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; padding: 22px; border-radius: 24px; color: #fff; background: radial-gradient(180px 90px at 0% 0%, rgba(231, 200, 106, .45), transparent 70%), var(--navy); margin-bottom: 14px; }
.domain-hero h1, .domain-hero p { color: #fff; margin: 0; }
.domain-hero .kicker { color: #e7c86a; }
.manage-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; align-items: start; }
.manage-card { background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 16px 40px rgba(7, 22, 60, .06); display: grid; gap: 10px; }
.manage-card h3 { margin: 0; }
.file-pick { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 12px; background: #eef2ff; color: var(--navy); font-weight: 800; cursor: pointer; }
.file-pick input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.live-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; background: #e8f8ef; color: #14804a; font-weight: 800; font-size: 13px; }
@media (max-width: 800px) {
  .chat-shell, .account-card, .domain-hub, .own-grid, .stat-grid, .dash-split, .manage-grid { grid-template-columns: 1fr; }
  .service-actions { width: 100%; margin: 12px 0 0; }
  .domain-table thead { display: none; }
  .domain-table, .domain-table tbody, .domain-table tr, .domain-table td { display: block; width: 100%; }
  .domain-table tr { padding: 8px 0; border-bottom: 1px solid #e6edf8; }
  .domain-table td { border: 0; padding: 4px 16px; }
  .domain-table td::before { content: attr(data-label); display: block; color: #5c6b86; font-size: 12px; font-weight: 700; }
  .chat-room { min-height: 60vh; }
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 18px; }
.stat-card { display: grid; grid-template-columns: 52px 1fr; justify-items: start; align-items: center; gap: 10px; background: #fff; border-radius: 22px; padding: 16px; text-decoration: none; color: inherit; box-shadow: 0 16px 40px rgba(7, 22, 60, 0.06); }
.stat-card b { display: block; font-size: 28px; line-height: 1; color: var(--ink); }
.stat-card span span { display: block; color: var(--muted); font-weight: 700; }
.stat-card i { width: 46px; height: 46px; border-radius: 14px; display: block; }
.tone-blue { background: #2f6bff; }
.tone-green { background: #17b26a; }
.tone-gold { background: #f5b400; }
.tone-red { background: #f04438; }
.dash-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-card, .domain-studio, .domain-manage, .domain-card { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 16px 40px rgba(7, 22, 60, 0.06); }
.dash-row, .domain-card { display: grid; gap: 4px; text-decoration: none; color: inherit; padding: 12px 0; border-bottom: 1px solid #eef2f8; }
.domain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.domain-card.is-on { outline: 2px solid #0026dd; }
.domain-studio, .domain-manage { display: grid; gap: 12px; margin-bottom: 16px; }
.tld-picks { display: flex; gap: 8px; flex-wrap: wrap; }
.tld-picks label { display: flex; gap: 6px; align-items: center; background: #f4f7ff; border-radius: 999px; padding: 8px 12px; }
.domain-manage form, .domain-move { display: grid; gap: 8px; padding-top: 8px; }
.paper { background: linear-gradient(180deg, #f7f9ff, #fff 90px); border-radius: 24px; padding: 22px; box-shadow: 0 18px 40px rgba(7, 22, 60, 0.08); }
.paper-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.paper-head img { height: 54px; width: auto; }
@media print {
  .topbar, .spine, .nav-btn, .no-print { display: none !important; }
  .sheet, .sheet-in, body { background: #fff !important; }
  .paper { box-shadow: none; }
}
@media (max-width: 800px) {
  .stat-grid, .dash-split, .domain-grid { grid-template-columns: 1fr; }
}
.pin-map, #bbf-minimap.is-map { height: 240px; border-radius: 16px; overflow: hidden; }
.pin-dot { width: 18px; height: 18px; border-radius: 50%; background: #0026dd; border: 3px solid #fff; box-shadow: 0 0 0 2px #0026dd; }
#bbf-approve.is-short { opacity: 0.45; filter: grayscale(0.4); }
#bbf-toast { position: fixed; left: 16px; right: 16px; bottom: 18px; z-index: 80; max-width: 420px; margin-inline: auto; padding: 14px 16px; border-radius: 18px; background: #fff8e8; color: #6a4b00; border: 1px solid #efd48a; box-shadow: 0 12px 30px rgba(90, 60, 0, 0.16); font-weight: 700; opacity: 0; transform: translateY(8px); pointer-events: none; transition: 0.2s ease; }
#bbf-toast.is-on { opacity: 1; transform: none; }

.service {
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(7, 22, 60, 0.07);
}
.service-banner {
  height: 10px;
  background: linear-gradient(90deg, #07163c, #1d4ed8 55%, #e7c86a);
}
.service-body { display: flex; gap: 16px; align-items: center; padding: 16px; }
.service-empty { padding: 22px; }
.service-empty h2 { margin: 0 0 6px; }
.home-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(180px 90px at 0% 0%, rgba(231, 200, 106, 0.45), transparent 70%),
    var(--navy);
}
.home-hero h1, .home-hero .lede { color: #fff; }
.home-hero .lede { margin: 4px 0 0; color: #d5def2; }
.home-stat { min-width: 92px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,0.1); text-align: center; }
.home-stat b { display: block; font-size: 28px; line-height: 1; }
.home-stat span { font-size: 12px; color: #d5def2; }
.kicker { margin: 0 0 4px; color: var(--blue); font-size: 12px; font-weight: 800; }
.home-hero .kicker { color: #e7c86a; }
.service-title { margin: 2px 0 8px; font-weight: 800; }
.chips-line { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-line span { padding: 4px 8px; border-radius: 999px; background: #eef3ff; color: var(--navy); font-size: 12px; font-weight: 700; }

.dayline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0;
}
.dayline b {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.service-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  width: 190px;
  margin-right: auto;
  margin-left: 0;
}
.service-actions form { margin: 0; }
.service-actions button,
.service-actions .textlink { width: 100%; }

.profile-form fieldset {
  margin: 0 0 14px;
  padding: 18px 18px 6px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 22, 60, 0.05);
}
.profile-form legend { padding: 0; font-size: 18px; font-weight: 800; }

.pair, .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.actions { max-width: 440px; margin: 8px 0 18px; }
.actions button { width: 100%; }

.hour {
  display: grid;
  grid-template-columns: 88px 132px 1fr 1fr;
  gap: 8px;
  align-items: center;
  margin: 8px 0 12px;
}
.hour input, .hour select { margin-top: 0; min-height: 46px; }

.preview {
  margin: 0 0 14px;
  padding: 8px 18px 16px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(7, 22, 60, 0.05);
}

.inline { margin: 0 0 14px; }
.inline button { width: auto; min-width: 180px; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.screen-profile .sheet-in { width: min(100%, 760px); }
.otp { padding: 22px 22px 18px; }
.otp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.otp h1 { font-size: 28px; }
.otp-boxes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  direction: ltr;
  margin-bottom: 14px;
}
.otp-digit {
  min-height: 64px;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  direction: ltr;
}
.timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f7ff;
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.timer.late { color: #8a2430; background: #fff4f4; border-color: #f0c2c2; }
.combo { position: relative; z-index: 4; }
.suggest {
  position: absolute;
  z-index: 6;
  inset-inline: 0;
  top: calc(100% - 6px);
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(7, 22, 60, 0.12);
}
.suggest button {
  display: flex;
  width: 100%;
  min-height: 46px;
  justify-content: space-between;
  gap: 10px;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  white-space: normal;
}
.suggest button strong { font-weight: 800; }
.suggest button span { color: var(--muted); font-size: 13px; font-weight: 500; }
.suggest button:hover, .suggest button.is-on { background: #f4f7ff; }
.suggest-empty { margin: 0; padding: 12px 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.chips:empty { display: none; }
.chips button {
  width: auto;
  min-height: 36px;
  padding: 4px 10px;
  background: #f4f7ff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.chips button:hover { background: #fff4f4; }
.map-wrap { position: relative; z-index: 1; }
#bbf-map {
  height: 340px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #e7eefb;
}
.bbf-pin-wrap { background: transparent; border: 0; }
.bbf-pin-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 8px 16px rgba(7, 22, 60, 0.35);
}
.map-fallback { margin: 0; padding: 28px 16px; text-align: center; color: var(--muted); }
.map-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.place-name { flex: 1; margin: 0; color: var(--muted); font-size: 13px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
button.mini, .presets button {
  width: auto;
  min-height: 40px;
  padding: 6px 12px;
  background: #f6f8fd;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
button.mini:hover, .presets button:hover { background: #eef2ff; }
.hour.is-span { grid-template-columns: 88px 1fr; }
.hour.is-span input[type="time"] { display: none; }
.drops { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 168px;
  margin: 0;
  padding: 12px;
  border: 1.5px dashed #b7c6e4;
  border-radius: 18px;
  background: #f7f9fd;
  text-align: center;
  cursor: pointer;
}
.drop.is-over { border-color: var(--gold); background: #fff; }
.drop-wide { margin-top: 12px; }
.drop input, .shot-flag {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.drop small, .drop em { font-weight: 500; font-style: normal; color: var(--muted); font-size: 13px; }
.drop em { color: #8a2430; font-weight: 700; }
.drop em:empty { display: none; }
.drop img, .shot img { width: 100%; height: 112px; object-fit: cover; border-radius: 12px; background: #fff; }
.drop-logo img { object-fit: contain; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.shots:empty { display: none; }
.shot { position: relative; margin: 0; }
.shot.is-removed { display: none; }
.shot-x {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #8a2430;
  font-size: 12px;
}
a.quiet-btn {
  display: flex;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f6f8fd;
  color: var(--navy);
  border: 1.5px solid #d5deef;
  font-weight: 800;
  text-decoration: none;
}
a.quiet-btn:hover { background: #eef3fb; }
.pay-amount {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.pay-amount span {
  margin-right: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}
.pay-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.pay-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #d5deef;
  color: #334155;
}
form.promo {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 8px;
  margin-bottom: 10px;
}
form.promo button { width: 100%; background: var(--navy); color: #fff; }
.pay-form form { margin: 0; }
.screen-chat .sheet-in { width: min(100%, 980px); }
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 70;
  height: 64px;
  padding: 0 22px;
  background: var(--navy);
  border-bottom: 0;
}
.topbar img { width: 118px; height: 36px; object-fit: contain; }
.nav-btn { display: none; }
.nav-mask { display: none; }
.spine { top: 64px; height: calc(100vh - 64px); }
.mega { margin-top: 28px; }
.mega-label { margin: 18px 0 6px; color: #e7c86a; font-size: 13px; font-weight: 700; }
.mega a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 46px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 14px;
  color: #d5def2;
  text-decoration: none;
  font-weight: 700;
}
.mega a small { color: #9eafd4; font-size: 12px; font-weight: 500; }
.mega a.is-on { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset -3px 0 0 var(--gold); }
.mega a.mega-out { margin-top: 22px; color: #fff; }
.promo-fold { margin-top: 16px; }
.promo-fold .tick {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border-radius: 14px;
  font-weight: 700;
}
.promo-fold input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--navy); }
.promo-box { margin-top: 8px; }
.promo-box input { width: min(100%, 320px); background: #fff; }
.profile-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 8px 6px 10px;
  min-height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(7, 22, 60, 0.06);
}
.profile-bar strong { font-size: 14px; font-weight: 800; }
.chat-actions { display: flex; gap: 6px; align-items: center; }
.chat-actions button { width: auto; min-height: 32px; margin: 0; padding: 0 10px; background: var(--navy); color: #fff; font-size: 13px; }
.chat-actions .approve-go { background: #0cae65; }
.chat-actions .approve-go.is-short { opacity: 0.45; }
.publish-note { margin: 0 14px 14px; color: #9a3412; font-weight: 700; }
.publish-note:empty { display: none; }
.bar-menu { position: relative; }
.bar-menu > button { width: 32px; min-height: 32px; padding: 0; border-radius: 10px; background: #f4f7fd; color: var(--navy); font-size: 18px; }
.bar-drop {
  position: absolute;
  top: 48px;
  left: 0;
  z-index: 5;
  min-width: 180px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 22, 60, 0.16);
}
.bar-drop a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 700; }
.bar-drop a:hover { background: #f4f7fd; }
.listing { background: #eef2f6; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(7, 22, 60, 0.08); }
.listing-cover { height: 210px; background: radial-gradient(220px 120px at 100% 0%, rgba(196, 152, 3, 0.45), transparent 70%), #16315f; background-size: cover; background-position: center; }
.listing-head {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin: -58px 16px 0;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 238, 250, 0.96)),
    #fff;
  box-shadow: 0 18px 40px rgba(7, 22, 60, 0.16);
}
.listing-logo { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 18px; background: #fff; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(7, 22, 60, 0.18); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 28px; color: var(--navy); overflow: hidden; }
.listing-logo img { width: 100%; height: 100%; object-fit: cover; }
.listing-id { min-width: 0; padding-bottom: 6px; }
.listing-status { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.open-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: #e7f6ee; color: #14804a; font-size: 12px; font-weight: 800; }
.stars { display: inline-flex; gap: 1px; }
.stars button { width: 22px; min-height: 22px; margin: 0; padding: 0; border-radius: 6px; background: transparent; color: #c5d0e4; font-size: 16px; line-height: 1; }
.stars button.is-on { color: #e0b000; }
.stars-lg button { width: 28px; min-height: 28px; font-size: 22px; }
.listing-nav { display: flex; gap: 8px; overflow: auto; padding: 12px 16px 0; }
.listing-nav a { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.listing-crumb { margin: 0; color: var(--blue); font-size: 13px; font-weight: 700; }
.listing-crumb:empty, .listing-crumb[hidden] { display: none; }
.listing h1, .listing h2 { margin: 0; font-size: 26px; line-height: 1.35; }
.listing #bbf-tag { margin: 2px 0 0; color: var(--muted); }
.listing #bbf-tag:empty { display: none; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; padding: 16px; align-items: start; }
.listing-main { display: grid; gap: 16px; min-width: 0; }
.listing-side { position: sticky; top: 56px; display: grid; gap: 12px; align-self: start; min-width: 0; }
.listing-card, .side-card { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 10px 28px rgba(7, 22, 60, 0.05); min-width: 0; }
.listing-card h3, .side-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-size: 16px; }
.listing-copy { overflow-wrap: anywhere; }
.listing-copy h2, .listing-copy h3 { margin: 18px 0 8px; padding: 8px 12px; border-radius: 10px; background: #e8f1ff; font-size: 17px; line-height: 1.6; }
.listing-copy p { margin: 0 0 10px; }
.listing-copy ul, .listing-copy ol { margin: 0 0 10px; padding: 0 18px 0 0; }
.listing-copy p:last-child { margin-bottom: 0; }
.side-card p { margin: 0 0 8px; overflow-wrap: anywhere; }
.side-card a { color: var(--blue); font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
.side-card p:empty { display: none; }
#bbf-phone, #bbf-web, #bbf-mail { font-weight: 700; }
#bbf-web, #bbf-mail, #bbf-phone { direction: ltr; text-align: right; }
.open-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; background: #e7f6ee; color: #14804a; font-weight: 800; }
.open-pill:empty { display: none; }
#bbf-minimap, .pin-map { position: relative; z-index: 0; isolation: isolate; }
#bbf-minimap { min-height: 92px; border-radius: 12px; overflow: hidden; background: #d9e4f2; color: var(--muted); font-size: 13px; }
#bbf-minimap iframe { width: 100%; height: 120px; border: 0; }
.listing-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.listing-tags span { padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; }
.chat-pop { position: fixed; z-index: 10020; right: 16px; bottom: 84px; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 120px)); display: none; }
.chat-pop.is-open { display: block; }
.chat-card { width: 100%; height: 100%; max-height: none; display: flex; flex-direction: column; background: #f4f7fd; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 50px rgba(7, 22, 60, 0.28); }
.ai-fab {
  position: fixed;
  z-index: 10010;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(7, 22, 60, 0.18);
}
.ai-fab-text { font-size: 13px; font-weight: 800; }
.ai-fab-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; }
.chat-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.chat-card header div { display: flex; gap: 8px; align-items: center; }
.chat-card header button { width: auto; min-height: 36px; margin: 0; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 14px; }
#bbf-close-chat { width: 36px; padding: 0; font-size: 22px; }
.chat-card .thread { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px; scroll-behavior: smooth; }
.chat-card #bbf-ask { padding: 0 14px 14px; }
.media-ask { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.file-slot { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 8px; border: 1.5px dashed var(--line); border-radius: 14px; background: #fff; color: var(--navy); font-weight: 700; text-align: center; cursor: pointer; }
.file-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.media-ask > button { grid-column: 1 / -1; width: 100%; }
.thread { display: flex; flex-direction: column; gap: 8px; }
.bubble { align-self: flex-end; max-width: min(100%, 460px); margin: 0; padding: 10px 12px; border-radius: 16px; background: #fff; }
.inline-edit { display: grid; gap: 8px; margin-top: 10px; }
.inline-edit[hidden] { display: none; }
.inline-edit label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.inline-edit input, .inline-edit select { min-height: 40px; }
.inline-edit button { width: auto; min-height: 36px; }
.dots { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: middle; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--navy); animation: bbf-dot 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.dots i:nth-child(4) { animation-delay: .45s; }
@keyframes bbf-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.eta { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.edit-bit {
  width: auto;
  min-height: 28px;
  margin-right: 8px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--navy);
  font-size: 12px;
}
.week { width: 100%; border-collapse: collapse; font-size: 13px; }
.week th, .week td { padding: 7px 0; border-bottom: 1px solid #e6edf8; text-align: right; }
.week td { direction: rtl; font-weight: 800; color: #14804a; }
.clock { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.hour-grid { display: grid; gap: 8px; }
.leaflet-control-attribution, .leaflet-control-attribution.leaflet-control { display: none !important; }
.hour-line { display: grid; grid-template-columns: 76px 78px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: center; }
.hour-line select, .hour-line input { min-width: 0; width: 100%; min-height: 40px; }
.hour-presets button, .place-box .mini { width: auto; min-height: 36px; }
.place-wait { margin: 0; color: var(--muted); font-size: 13px; }
.manual-point { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bar-drop button { width: 100%; min-height: 40px; background: transparent; color: var(--navy); justify-content: flex-start; }
.bill-list { display: grid; gap: 10px; }
.bill-card { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--navy); text-decoration: none; }
.bill-card strong, .bill-card small { display: block; }
.bill-card small { color: var(--muted); font-weight: 600; }
.bill-card em, .paper-meta em { font-style: normal; border-radius: 999px; padding: 4px 8px; background: #eef2ff; font-size: 12px; }
.bill-paid { background: #e8f8ef; color: #14804a; }
.bill-unpaid { background: #fff4e5; color: #9a3412; }
.paper header, .paper-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.paper header small { display: block; color: var(--muted); }
.bill { width: 100%; border-collapse: collapse; margin-top: 12px; }
.bill th, .bill td { padding: 10px 0; border-bottom: 1px solid #e6edf8; text-align: right; }
.domain-box { display: grid; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 16px; background: #f4f7ff; }
.domain-box input, .domain-box select, .domain-box button { min-height: 44px; }
.domain-own { margin: 8px 0 0; font-weight: 700; color: var(--green); }
.hour-line span { font-size: 13px; font-weight: 800; }
.hour-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.place-box { display: grid; gap: 8px; }
.place-hits { display: grid; gap: 4px; }
.place-hits button { width: 100%; min-height: 36px; text-align: right; background: #fff; color: var(--navy); border: 1px solid var(--line); }
.edit-bit.is-open { background: var(--navy); color: #fff; }
.edit-x { width: 32px; min-height: 32px; margin: 0; padding: 0; border-radius: 10px; background: #eef2ff; color: var(--navy); justify-self: start; }
.gallery-row { display: flex; gap: 8px; overflow: auto; }
.gallery-row img { width: 92px; height: 72px; object-fit: cover; border-radius: 12px; background: #fff; }
.publish-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 12px; border-radius: 16px; background: #fff; }
.publish-bar p { margin: 0; color: #9a3412; }
.publish-bar button { width: auto; min-height: 44px; }
.tick.mini { min-height: 28px; margin: 4px 0 8px; padding: 0; background: transparent; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.tick.mini input { width: 14px; height: 14px; }
input[hidden], [hidden] { display: none !important; }

.promo-row { display: none; gap: 8px; align-items: center; margin: 0 0 8px; }
.promo-row.is-on { display: flex; }
.promo-row .promo-code { flex: 1; width: auto; min-height: 40px; margin: 0; }
.promo-row .promo-check { width: auto; min-height: 40px; margin: 0; padding: 0 12px; background: var(--navy); color: #fff; }
.promo-result { min-height: 0; margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.promo-result.is-ok { color: #14804a; }
.promo-result.is-bad { color: #9a3412; }
.desk-list { display: grid; gap: 8px; }
.desk-row { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: #fff; color: var(--navy); text-decoration: none; }
.desk-row small { color: var(--muted); }
.paper { padding: 18px; border-radius: 18px; background: #fff; }
.bill { width: 100%; border-collapse: collapse; }
.bill td { padding: 8px 0; border-bottom: 1px solid #e6edf8; }
.bill td:last-child { text-align: left; direction: ltr; }
.bill-total { font-weight: 800; }
.desk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.desk-head h1 { margin: 0; }
.desk-head .lede { margin: 4px 0 0; }
.desk-head > button { width: auto; min-height: 40px; margin: 0; }
.desk-thread { margin-bottom: 12px; }
@media print {
  .spine, .topbar, .nav-mask, .no-print, .chat-pop, .ai-fab { display: none !important; }
  .desk, .sheet, body { display: block; background: #fff; }
  .paper { box-shadow: none; }
}
.bubble.me { align-self: flex-start; background: var(--navy); color: #fff; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choices button, .story-line button { width: 100%; min-height: 48px; background: #fff; color: var(--navy); border: 1.5px solid var(--line); text-align: right; padding: 8px 12px; }
.choices button:hover, .story-line button:hover { background: #eef2ff; }
.story button, #bbf-ask > button { width: 100%; margin-top: 8px; }
.ring { position: relative; width: 92px; height: 92px; flex: 0 0 92px; }
.ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring .track { stroke: #e4ebf7; }
.ring .value { stroke: #14804a; stroke-linecap: round; }
.ring.is-low .value { stroke: #c49803; }
.ring.is-out .value { stroke: #d5deef; }
.ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring b { font-size: 16px; line-height: 1; font-weight: 800; }
.ring small { color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 80;
    height: 56px;
    padding: 0 12px;
    background: var(--navy);
  }
  .topbar img { width: 108px; height: 32px; object-fit: contain; }
  .nav-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    min-height: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
  }
  .nav-btn span { display: block; width: 18px; height: 2px; margin: 0; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav-btn.is-x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-btn.is-x span:nth-child(2) { opacity: 0; }
  .nav-btn.is-x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mask { position: fixed; inset: 0; z-index: 40; background: rgba(7, 22, 60, 0.45); }
  body.nav-open .nav-mask { display: block; }
  .desk { display: block; }
  .spine {
    position: fixed;
    z-index: 50;
    top: 56px;
    bottom: 0;
    right: 0;
    width: min(320px, 88vw);
    height: auto;
    transform: translateX(110%);
    transition: transform 0.2s ease;
    overflow: auto;
  }
  .spine.is-open { transform: none; }
  .sheet {
    display: block;
    padding: 16px;
    background: var(--paper);
  }
  body.screen-phone .sheet,
  body.screen-code .sheet {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    min-height: calc(100dvh - 56px);
  }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-cover { height: 128px; }
  .listing-side { position: static; }
  .profile-bar { top: 64px; flex-direction: row; align-items: center; }
  .profile-bar strong { font-size: 12px; white-space: nowrap; }
  .service-body { display: block; }
  .profile-bar, .chat-actions { align-items: center; flex-direction: row; }
  .choices, .media-ask { grid-template-columns: 1fr; }
  .panel { padding: 22px 16px 18px; border-radius: 22px; }
  h1 { font-size: 28px; }
  .tariffs, .pair, .actions, .domain-panel { grid-template-columns: 1fr; }
  .tariff.is-core { box-shadow: inset 0 5px 0 var(--gold), 0 16px 40px rgba(7, 22, 60, 0.06); }
  .service { display: block; }
  .ring { margin-bottom: 8px; }
  .service-actions { margin-top: 12px; min-width: 0; }
  .hour { grid-template-columns: 1fr 1fr; }
  .hour span { grid-column: 1 / -1; font-weight: 700; }
  .hour.is-span { grid-template-columns: 1fr; }
  .drops, .shots { grid-template-columns: 1fr 1fr; }
  #bbf-map { height: 260px; }
  .otp-digit { min-height: 56px; font-size: 24px; }
}

@media (max-width: 420px) {
  .steps li { font-size: 11px; }
  .dayline b { font-size: 34px; }
}

/* Assistant V2: quiet progress, large tap targets, clear question choices. */
.assistant-progress {
  padding: 8px 16px;
  margin: 0 12px 8px;
  border-radius: 12px;
  background: #f2f5fb;
  color: #33476d;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
}
#bbf-ask .choices button { min-height: 48px; line-height: 1.55; white-space: normal; text-align: center; }
#bbf-ask input { min-height: 54px; }
#bbf-thread .bubble { max-width: 90%; overflow-wrap: anywhere; line-height: 1.9; }
@media (max-width: 640px) {
  #bbf-ask .choices button { min-height: 54px; font-size: 15px; }
  .assistant-progress { font-size: 12px; }
}
