body.book {
  margin: 0;
  background: #eef3f8;
  color: #102033;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}
body.book a { color: #0b5fff; text-decoration: none; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.brand { color: #102033; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.topbar nav { display: flex; gap: 18px; }
.topbar nav a { color: #445066; font-weight: 600; }
.topbar nav a.on { color: #0b5fff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 64px; }
.search-panel, .fare, .sheet, .ticket {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
}
.search-panel { padding: 18px; margin-bottom: 18px; }
.trip-switch { display: flex; gap: 8px; margin-bottom: 14px; }
.trip-switch label {
  border: 1px solid #d5deea;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 650;
  cursor: pointer;
}
.trip-switch input { margin-right: 6px; }
.fields { display: grid; grid-template-columns: 1fr 1fr 140px 140px 1.1fr auto; gap: 12px; align-items: end; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #5c6b80; font-weight: 650; position: relative; }
label.field input, .checkout input, .checkout select, .sheet input, .sheet select {
  border: 1px solid #d5deea;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #102033;
  background: #fff;
}
.btn {
  border: 0;
  border-radius: 12px;
  background: #0b5fff;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
}
.btn.ghost { background: #e8eef8; color: #102033; }
.steps { color: #5c6b80; font-weight: 650; margin: 8px 0 14px; }
.chosen {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #f4f8ff;
  border: 1px solid #d6e4ff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.fare {
  display: grid;
  grid-template-columns: 190px 1fr 150px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.airline-name { font-weight: 750; }
.airline-name small, .point small, .path small { display: block; color: #66758a; font-weight: 500; }
.route { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 8px; align-items: center; }
.point b { display: block; font-size: 22px; letter-spacing: -0.03em; }
.point span { font-weight: 750; }
.path { text-align: center; font-size: 13px; color: #5c6b80; }
.path i { display: block; height: 2px; background: #c5d2e4; margin: 6px 0; position: relative; }
.path i:after { content: ""; position: absolute; right: 0; top: -3px; border: 4px solid transparent; border-left-color: #8aa0bd; }
.price-col { text-align: right; }
.price-col strong { display: block; font-size: 22px; margin-bottom: 8px; }
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
.sheet, .ticket { padding: 22px; }
.sheet h1, .ticket h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout label, .sheet label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #445066; margin-bottom: 12px; }
.hint { color: #5c6b80; font-size: 13px; font-weight: 500; margin: -4px 0 14px; }
.leg { padding: 14px 0; border-top: 1px solid #e6edf5; }
.leg b { font-size: 18px; }
.total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; margin-top: 8px; }
.ref { font-family: ui-monospace, monospace; font-size: 28px; letter-spacing: 0.12em; }
.ticket { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #0b5fff, #19c37d) border-box; border: 2px solid transparent; }
.ok { color: #0d7a45; font-weight: 750; }
.airport-suggest { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; background: #fff; color: #222; border: 1px solid #d5deea; max-height: 240px; overflow: auto; border-radius: 12px; }
.airport-suggest button { display: block; width: 100%; text-align: left; background: #fff; color: #222; border: 0; border-bottom: 1px solid #eef2f6; padding: 8px 10px; cursor: pointer; }
.ticket-card { background: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 8px 24px rgba(16,32,51,.06); }
.ticket-card .ref { font-size: 18px; }
@media (max-width: 800px) {
  .fields, .fare, .route, .checkout, .grid-2 { grid-template-columns: 1fr; }
  .price-col, .path { text-align: left; }
}
