.trip-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .8fr);
  align-items: start;
  gap: clamp(28px, 5vw, 74px);
  padding-block: 24px 64px;
}
.trip-form, .trip-results { min-width: 0; }
.trip-step { margin: 0 0 32px; padding: 0 0 32px; border: 0; border-bottom: 1px solid var(--shop-border, #e5dee9); min-width: 0; }
.trip-step-heading { display: flex; align-items: center; gap: 16px; }
.trip-step-heading > span, .trip-usage legend > span { font-size: 12px; color: #716279; font-weight: 500; letter-spacing: .06em; }
.trip-step-heading h2 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.2; margin: 0; letter-spacing: -.035em; }
.trip-step > p { color: #776680; font-size: 14px; line-height: 1.8; margin: 16px 0 24px; max-width: 56ch; }
.trip-label { display: block; color: #665071; font-size: 12px; margin: 20px 0 10px; }
.trip-add-row { display: flex; align-items: stretch; gap: 10px; }
.trip-add-row select { min-width: 0; width: 100%; margin-bottom: 0; padding: 16px 12px; background: #fff; border: 1px solid var(--shop-border, #e5dee9); border-radius: 13px; color: #594365; font: inherit; font-size: 14px; }
.trip-add { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-shrink: 0; border: 0; border-radius: 13px; padding: 12px 20px; background: #e9def3; color: #6e458b; font: inherit; font-size: 14px; cursor: pointer; }
.trip-add > span { font-size: 20px; }
.trip-add:disabled { opacity: .55; cursor: not-allowed; }
.trip-stops { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 18px 0; list-style: none; }
.trip-stops:empty { margin: 0; }
.trip-stops li { display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 2px 3px 2px 12px; background: #f0e8f6; border: 1px solid #e3d5ec; border-radius: 30px; font-size: 13px; color: #624577; }
.trip-stops li > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.trip-stops button { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; background: transparent; color: #795694; font-size: 24px; cursor: pointer; }
.trip-stops button:hover { background: #e3d5ed; }
.trip-small, .trip-step > .trip-small { color: #716279; font-size: 12px; line-height: 1.8; }
.trip-step > .trip-small { margin: 12px 0 0; }
.trip-days-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; color: #665071; font-size: 14px; }
.trip-days-row > div { display: flex; align-items: center; gap: 12px; }
.trip-days-row input { width: 90px; min-height: 52px; border: 1px solid var(--shop-border, #e5dee9); border-radius: 13px; padding: 12px; background: #fff; color: #664576; font: inherit; font-size: 20px; }
.trip-days-row > div > span { font-size: 12px; }
.trip-usage legend { display: flex; align-items: baseline; gap: 16px; padding: 0; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 24px; }
.trip-usage-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trip-usage-options > label { display: flex; flex-direction: column; gap: 15px; padding: 18px 15px; border: 1px solid #e5dce9; border-radius: 16px; background: #fff8; cursor: pointer; }
.trip-usage-options > label:has(input:checked) { border-color: #9d7ab9; background: #eee5f5; box-shadow: 0 0 0 1px #9d7ab9; }
.trip-usage-options input { width: 18px; height: 18px; min-height: 0; accent-color: #7955a6; margin: 0; }
.trip-usage-options strong, .trip-usage-options small, .trip-usage-options em { display: block; }
.trip-usage-options strong { font-size: 14px; font-weight: 550; color: #5d3d73; line-height: 1.45; }
.trip-usage-options small { font-size: 11px; color: #716279; margin-top: 10px; line-height: 1.7; }
.trip-usage-options em { font-size: 10px; font-style: normal; color: #716279; margin-top: 15px; line-height: 1.5; }
.trip-find { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; cursor: pointer; text-align: left; font: inherit; font-size: 15px; padding: 20px 25px; }
.trip-find > span { font-size: 22px; }
.trip-privacy { margin: 14px 0 0; text-align: center; }
.trip-error { border-radius: 12px; padding: 16px; color: #8d3453; background: #fcebf0; font-size: 13px; line-height: 1.6; }
.trip-error[hidden] { display: none; }
.trip-estimate { position: sticky; top: 110px; overflow: hidden; padding: clamp(28px, 4vw, 48px); border: 1px solid #e2d6e9; border-radius: 28px; background: radial-gradient(ellipse at 90% 0%, #f6d8c78c, transparent 65%), linear-gradient(155deg, #f4eaf8, #ece4f5); }
.trip-route-art { display: flex; align-items: center; margin: 8px 0 42px; }
.trip-route-art > span { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #c3a9d5; border-radius: 50%; background: #fff9; color: #8e66a9; font-size: 12px; box-shadow: 0 5px 20px #8362970d; }
.trip-route-art > span:last-child { background: #8b68a8; border-color: #8b68a8; color: #fff; }
.trip-route-art > i { position: relative; height: 1px; min-width: 14px; flex: 1; background: #c7acd7; }
.trip-route-art > i::after { content: ''; position: absolute; width: 5px; height: 5px; top: -2px; left: 0; border-radius: 50%; background: #9571af; animation: trip-route-flow 4s ease-in-out infinite; }
.trip-route-art > i:nth-of-type(2)::after { animation-delay: 1s; }
.trip-estimate > .eyebrow { margin-bottom: 19px; font-size: 10px; color: #716279; }
.trip-estimate h2 { font-size: clamp(30px, 3.5vw, 43px); line-height: 1.13; letter-spacing: -.045em; margin: 0 0 35px; }
.trip-estimate-number { display: flex; align-items: baseline; flex-wrap: wrap; gap: 13px; border-top: 1px solid #d9c8e4; padding-top: 25px; }
.trip-estimate-number output { font-size: clamp(54px, 6vw, 76px); line-height: 1.1; letter-spacing: -.065em; font-weight: 500; color: #7b5499; }
.trip-estimate-number > span { color: #716279; font-size: 13px; }
.trip-estimate > p:not(.eyebrow):not(.trip-small) { font-size: 14px; line-height: 1.8; color: #745c82; }
.trip-estimate-links { border-top: 1px solid #d9c8e4; padding-top: 22px; margin-top: 28px; display: grid; gap: 16px; }
.trip-estimate-links a { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; color: #735184; text-decoration: none; }
.trip-results { border-top: 1px solid var(--shop-border, #e5dee9); padding-top: 55px; scroll-margin-top: 25px; }
.trip-results-summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.trip-results-summary .eyebrow { font-size: 10px; margin: 0 0 20px; }
.trip-results-summary h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.25; margin: 0 0 18px; max-width: 850px; overflow-wrap: anywhere; }
#trip-results-title { scroll-margin-top: 130px; }
.trip-results-summary p:not(.eyebrow) { color: #716279; font-size: 13px; }
.trip-edit { flex-shrink: 0; border: 1px solid #d6c5e0; background: #fff8; border-radius: 30px; padding: 13px 20px; color: #75558d; font: inherit; font-size: 13px; cursor: pointer; }
.trip-edit > span { margin-left: 16px; }
.trip-results-note { font-size: 13px; color: #716279; max-width: 800px; line-height: 1.8; margin-bottom: 45px; }
.trip-result-group { margin: 44px 0; }
.trip-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.trip-result-group h2 { font-size: 30px; margin: 0 0 14px; }
.trip-result-heading > span { color: #716279; font-size: 12px; }
.trip-result-group > p { font-size: 13px; color: #716279; line-height: 1.8; }
.trip-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 25px; }
.trip-plan { display: flex; flex-direction: column; padding: 28px; min-width: 0; border: 1px solid #e5dce9; background: #fff; border-radius: 20px; }
.trip-plan-first { border-color: #b59bc7; background: linear-gradient(150deg, #fff, #f8f3fb); }
.trip-plan-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; color: #716279; font-size: 10px; }
.trip-best-price { padding: 6px 8px; background: #eee4f5; color: #795691; border-radius: 20px; font-size: 9px; }
.trip-plan h3 { font-size: 25px; line-height: 1.2; letter-spacing: -.035em; margin: 28px 0 20px; }
.trip-plan-quota { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: #795496; font-size: 20px; font-weight: 550; margin: 0 0 15px; }
.trip-plan-quota > span { font-size: 12px; color: #716279; font-weight: 400; }
.trip-plan-speed { color: #7c6986; font-size: 12px; line-height: 1.8; margin: 0 0 18px; }
.trip-plan-included { margin: 0 0 26px; font-size: 11px; line-height: 1.8; color: #716279; }
.trip-plan-bottom { margin-top: auto; padding-top: 23px; border-top: 1px solid #e9e0ee; }
.trip-plan-bottom > div > span { display: block; font-size: 10px; color: #716279; margin-bottom: 8px; }
.trip-plan-bottom strong { display: block; font-size: 32px; font-weight: 550; letter-spacing: -.04em; color: #74528e; }
.trip-plan-bottom small { font-size: 10px; font-weight: 400; letter-spacing: .04em; }
.trip-plan-bottom > .button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 20px; padding: 15px 18px; font-size: 12px; }
.trip-no-category { border: 1px dashed #d8c6e3; border-radius: 16px; padding: 22px; background: #f5eef980; }
.trip-no-match { padding: 48px; border-radius: 24px; background: linear-gradient(135deg, #f2e8f7, #faf1e9); max-width: 850px; }
.trip-no-match > span { display: block; color: #a283b8; font-size: 44px; margin-bottom: 20px; }
.trip-no-match h3 { font-size: 30px; margin: 0 0 20px; line-height: 1.2; }
.trip-no-match p { color: #716279; font-size: 14px; line-height: 1.8; max-width: 600px; }
.trip-no-match .button { margin-top: 20px; font-size: 13px; }
@keyframes trip-route-flow { 0%, 100% { left: 5%; opacity: .4; } 70% { left: 85%; opacity: 1; } }
@media (max-width: 1000px) {
  .trip-layout { grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr); gap: 30px; }
  .trip-usage-options { grid-template-columns: 1fr; }
  .trip-usage-options > label { flex-direction: row; align-items: flex-start; gap: 13px; padding: 17px; }
  .trip-usage-options input { margin-top: 2px; flex-shrink: 0; }
  .trip-usage-options small { margin-top: 4px; }
  .trip-usage-options em { margin-top: 6px; }
  .trip-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .trip-layout { grid-template-columns: 1fr; padding-block: 15px 40px; gap: 35px; }
  .trip-estimate { position: static; border-radius: 22px; padding: 28px; }
  .trip-route-art { max-width: 290px; margin-bottom: 30px; }
  .trip-estimate h2 { font-size: 34px; }
  .trip-step { margin-bottom: 27px; padding-bottom: 27px; }
  .trip-step-heading { gap: 13px; }
  .trip-step-heading h2, .trip-usage legend { font-size: 24px; }
  .trip-step > p { font-size: 13px; }
  .trip-add-row select { min-height: 48px; padding: 12px 10px; font-size: 12px; }
  .trip-add { padding: 12px 14px; gap: 8px; font-size: 12px; }
  .trip-find { padding: 18px 21px; font-size: 14px; }
  .trip-results { padding-top: 38px; }
  .trip-results-summary { align-items: flex-start; flex-direction: column; gap: 10px; }
  .trip-results-summary h2 { font-size: 30px; }
  .trip-results-note { font-size: 12px; }
  .trip-result-group h2 { font-size: 27px; }
  .trip-plan-grid { grid-template-columns: 1fr; gap: 16px; }
  .trip-plan { padding: 25px; }
  .trip-plan-top { font-size: 11px; }
  .trip-plan h3 { font-size: 26px; }
  .trip-plan-bottom { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; justify-content: space-between; }
  .trip-plan-bottom > .button { width: auto; margin-top: 0; }
  .trip-no-match { padding: 28px; }
  .trip-no-match h3 { font-size: 27px; }
}
@media (max-width: 380px) {
  .trip-add-row { flex-wrap: wrap; }
  .trip-add-row select, .trip-add-row > .vaqo-select { flex: 1 0 100%; }
  .trip-add-row .trip-add { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .trip-route-art > i::after { animation: none; left: 50%; } }
