[v-cloak] { display: none; }

html { background: #ccff00; }
body {
  font-family: Manrope, 'Segoe UI', Arial, sans-serif;
  max-width: 900px; margin: 30px auto; padding: 0 16px;
  background: #ccff00; color: #111;
}
h1 {
  font-family: Unbounded, Manrope, 'Segoe UI', sans-serif;
  font-size: 28px; line-height: 1.2; margin: 0 0 18px; font-weight: 700; letter-spacing: -.5px;
}
h2 { font-family: Unbounded, Manrope, sans-serif; font-size: 18px; margin: 0 0 4px; font-weight: 700; }

form {
  display: flex; flex-wrap: wrap; gap: 8px;
  background: #fff; padding: 16px; border-radius: 14px; box-shadow: 0 2px 6px #0003;
}
input, select, button {
  font-family: inherit; font-size: 15px; padding: 8px 10px;
  border: 1px solid #ccc; border-radius: 8px;
}
#q { flex: 1 1 300px; font-size: 17px; }
select { max-width: 100%; }
button { background: #111; color: #ccff00; border: 0; cursor: pointer; padding: 8px 18px; font-weight: 800; }
button:disabled { background: #777; color: #eee; }
button.ghost {
  background: #fff; color: #111; border: 1px solid #111;
  font-weight: 600; padding: 5px 12px; font-size: 13px;
}
button.x { background: none; color: #999; padding: 4px 8px; font-size: 18px; }

#res { margin: 18px 0; }
.big { display: flex; gap: 12px; flex-wrap: wrap; }
.card {
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 1px 3px #0002; min-width: 150px;
}
.card span { color: #666; font-size: 13px; }
.card b { display: block; font-size: 24px; font-weight: 800; margin-top: 4px; }
.card b.range { font-size: 18px; }

.note { color: #333; font-size: 13px; margin: 10px 0; }
.note.first { margin-top: 0; }
.err { color: #c00; }

table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px #0002;
}
td { padding: 7px 12px; border-bottom: 1px solid #eee; font-size: 14px; }
td.p { text-align: right; white-space: nowrap; font-weight: 700; }
tr.o td { color: #aaa; }
a { color: #1a5fd0; text-decoration: none; }
.cities { margin: 10px 0; }
.cities td { padding: 5px 12px; }

/* расчёт цены */
#calc { background: #fff; border-radius: 14px; padding: 16px 18px; margin: 14px 0; box-shadow: 0 2px 6px #0003; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.row input[type=number] { width: 120px; text-align: right; font-weight: 700; }
.row input.pct { width: 64px; }
.rep { border-top: 1px dashed #ccc; padding-top: 8px; }
.rep .t { flex: 1 1 260px; }
.chips .note { margin: 0; }
.src { font-size: 13px; margin: 6px 0 0; padding-left: 18px; }
.src li { margin: 3px 0; }

.total {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px;
  margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #111; color: #ccff00;
}
.total b { font-family: Unbounded, Manrope, sans-serif; font-size: 26px; }

/* скупка и «на время» */
.buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 6px; }
.bcard { border: 2px solid #111; border-radius: 10px; padding: 10px 14px; }
.bcard > span { font-weight: 800; font-size: 15px; }
.bcard .row { margin: 4px 0; font-size: 14px; }
.bcard b { display: block; font-family: Unbounded, Manrope, sans-serif; font-size: 22px; margin: 2px 0; }
.bcard small { color: #555; font-size: 12px; }
