/* Axper GO: warm paper, gold and the colours of an Armenian evening. */
:root{color:#193e40;background:#fffbf4;--muted:#6f7770;--line:#eae3d6;--orange:#efa43d;--green:#154b46;--gold:#bd7826}
body{background:radial-gradient(ellipse at 8% 20%,#fff0d647,transparent 45%),#fffbf4}
.wrap{width:min(1180px,calc(100% - 48px))}
.header{position:relative;z-index:2;background:#fffcf6;border:0;box-shadow:0 1px 0 #dbd4c526}
.bar{gap:22px;min-height:102px}
.brand{flex-shrink:0;gap:0}
.brand-image{display:block;position:relative;width:230px;height:60px;overflow:hidden;mix-blend-mode:multiply}
.brand .brand-image img,.header .brand .brand-image img{position:absolute;width:111.3%;max-width:none;height:auto;left:-5.07%;top:-88.89%}
.nav{gap:7px}
.nav button{font-weight:600;padding:12px 16px;border-radius:13px;white-space:nowrap}
.nav button.active{color:#fff;background:linear-gradient(120deg,#f7c563,#e68d30);box-shadow:0 4px 12px #d78b2420}
.nav button:not(.active):hover{background:#fbefd9}
.header .lang{border:1px solid var(--line);background:#fffcf6;border-radius:13px;min-height:44px;width:65px;flex-basis:65px}
.header #account{border:1px solid #dc9b45;border-radius:13px;padding:11px 17px;min-height:44px;color:#a7671c;font-weight:700}
.btn{border-radius:13px;background:#f8edd9;color:#79562c;font-weight:700;transition:box-shadow .18s,filter .18s,transform .18s}
.btn:hover{box-shadow:0 5px 15px #a46a231a;filter:brightness(1.025)}
.btn:active{transform:translateY(1px)}
.btn.primary,.btn.dark,.tabs .active{background:linear-gradient(112deg,#f4bd58 0%,#ec9435 53%,#f2b752 100%);color:#fff;box-shadow:inset 0 1px 0 #fff5,0 5px 14px #dca44418}
.btn.danger{background:#f9e8df;color:#9d332e}
.hero{position:relative;isolation:isolate;min-height:415px;align-items:flex-start;padding:65px 32px 90px;margin:0 -24px;overflow:hidden;border-radius:0 0 25px 25px}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fffbf4f5 0%,#fffbf4d9 28%,#fffbf428 66%),linear-gradient(0deg,#fffbf4 0%,transparent 25%,transparent 80%,#fffbf43b),url('/assets/axper-ararat.webp') center 53%/cover no-repeat}
.hero-copy{max-width:600px;position:relative;z-index:1}
.hero h1{font-size:clamp(40px,4.9vw,65px);font-weight:800;line-height:1.08;letter-spacing:-2.7px;max-width:620px}
.hero h1 em{display:block;color:#d08c31;font-style:normal}
.eyebrow{font-size:10px;letter-spacing:3.5px;font-weight:600;color:#a56b27;margin-bottom:16px}
.hero p{font-size:16px;line-height:1.7;color:#304c4a;max-width:390px;margin-top:17px}
.hero-signature{position:absolute;right:7%;top:36px;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:25px;line-height:1.3;color:#a36c1b;transform:rotate(-9deg);max-width:200px;text-align:center;text-shadow:0 1px 6px #fff}
.hero-signature:after{content:none}
.search{position:relative;z-index:1;margin-top:-62px;background:#fffdf8f7;padding:24px;border:1px solid #fffcf7;border-radius:23px;box-shadow:0 12px 30px #82633d12;gap:14px}
label{font-weight:600;font-size:12px;gap:8px}
input,select,textarea{border-color:#e6e0d4;background:#fffcf6;border-radius:13px;min-height:47px;font-size:14px;box-shadow:0 1px 2px #47351903}
input:focus,select:focus,textarea:focus{outline:2px solid #d5a454;outline-offset:2px}
input[type=checkbox]{accent-color:#c88b32}
.search .btn{min-height:48px}
.swap{background:#f8edd7;color:#9c7d48;font-size:24px;width:37px;height:37px;margin-bottom:5px}
.popular{padding:21px 0 29px;gap:9px;font-size:12px;color:#365351}
.popular button{padding:9px 16px;background:#f8ecd7;color:#415653;font-size:12px;border:1px solid #f5e7d1;transition:background .18s}
.popular button:hover{background:#f1dfbd}
.layout{grid-template-columns:235px minmax(0,1fr);gap:28px}
.panel,.card{background:#fffdf8;border-color:#ece4d7;border-radius:20px}
.panel{background:#fbf3e4}
.panel p{color:#6b756d}
.sidebar .panel{background:linear-gradient(145deg,#fff7e8,#fbf4e8);padding:23px}
.sidebar .panel h3{line-height:1.45}
.stats{gap:20px}
.stat strong{color:#af782e}
.stat span{color:#738075}
.topline{margin-bottom:15px}
.topline h2{font-size:27px;letter-spacing:-.9px}
#results>.panel{background:#fffbf4!important;padding:19px!important;border-color:#ede5da}
.card:hover{box-shadow:0 8px 24px #7a5a2310}
.price{color:#af792c}
.badge{background:#ebf0e6;color:#4e6858}
.badge.warm{background:#faf0d8;color:#95703c}
.empty{background:linear-gradient(165deg,#fffdf8,#fcf7ec);border:1px solid #eee5d9;border-radius:20px;padding:31px 25px}
.empty p{font-size:13px;line-height:1.7;max-width:440px;margin:10px auto 20px}
.empty img{object-fit:contain}
.empty-art,.mountain-art{display:block;width:205px;height:86px;margin:0 auto 13px;color:#c1b79d}
.benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:850px;margin:42px auto 32px;text-align:center}
.benefits>div,.benefit{display:flex;flex-direction:column;align-items:center;gap:11px}
.benefits svg{width:31px;height:31px;stroke:#ca8c34;stroke-width:1.65;fill:none}
.benefits p,.benefits span{font-size:12px;line-height:1.5;max-width:135px;color:#3e5753}
.community{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 30px;margin:30px 0;background:linear-gradient(110deg,#f7ebd2,#fffbf3);border:1px solid #ecdfc6;border-radius:21px}
.community h3{font-size:21px;letter-spacing:-.4px;margin-bottom:7px}
.community p{color:#65746b;font-size:13px;line-height:1.7}
.community>a{flex-shrink:0;display:inline-flex;align-items:center;gap:9px}
.community svg{width:20px;height:20px}
.mountain-divider{display:flex;flex-direction:column;align-items:center;gap:11px;position:relative;text-align:center;color:#b1a998;margin:36px 0 8px;font-size:9px;letter-spacing:3px;line-height:1.7}
.mountain-divider svg{width:70px;height:30px;fill:none;stroke:#d5caba;stroke-width:1.4}
.mountain-divider:before,.mountain-divider:after{content:"";position:absolute;top:42px;width:20%;height:1px;background:#e5dac9}
.mountain-divider:before{left:0}.mountain-divider:after{right:0}
.footer{margin-top:28px;border-top:1px solid #eee5d6;padding:25px 0 29px}
.footer .brand-image{width:175px;height:46px}
.footer .row{gap:20px}
.footer p{line-height:1.7;max-width:460px}
.support-links{display:flex;gap:13px;align-items:center;flex-wrap:wrap}
.support-links a,.footer a[href^="https://t.me"]{color:#986b29;font-size:13px;font-weight:600}
dialog{background:#fffaf1;border-color:#e8dcc8;box-shadow:0 24px 100px #163e3d33}
dialog::backdrop{background:#143c3b6b;backdrop-filter:blur(6px)}
.close{background:#f4ead8;color:#776b54}
.stop{background:#f5efdf}
.stop .remove{background:#ebe0cb}
.hint{background:#fff1d6;border-color:#ecd8b1}
.notice{background:#f2f0e5;border-color:#e2dfcf}
.vehicle-info{background:#f7ecd8}
.chat-messages{background:#f3ede1}
.chat-message.mine{background:#f7dfb3}
.timeline-item{border-color:#dbc69d}
.timeline-item:before{background:#c49140}
.language-choices button{border-radius:15px;background:#fff6e4;border-color:#e9d7b8}
.language-choices button:hover{background:#fbeacd}
.language-welcome .brand-image{width:260px;height:68px;margin:0 auto 26px}
.language-welcome h2{padding-right:0}
#toast{background:#214b45}
@media(min-width:1001px){.search{grid-template-columns:minmax(135px,1.15fr) 37px minmax(135px,1.15fr) minmax(145px,1fr) 85px auto}.header-add{font-size:12px;padding:12px 14px}.header .nav{margin-left:auto;margin-right:auto}}
@media(max-width:1000px){.bar{gap:16px}.brand-image{width:208px;height:54px}.hero{min-height:390px;padding-top:56px}.search{grid-template-columns:1fr 37px 1fr}.search label:nth-of-type(3){grid-column:1}.search label:nth-of-type(4){grid-column:3}.search>.btn{grid-column:1/-1}.layout{grid-template-columns:205px minmax(0,1fr)}.hero h1{font-size:53px}.hero-signature{right:5%;font-size:22px}.community{padding:22px}}
@media(max-width:650px){
 .header .brand{grid-column:1;grid-row:1}.header .lang{grid-column:2;grid-row:1}.header #account{grid-column:3;grid-row:1}.header .nav{grid-column:1/-1;grid-row:2;margin:0}.header .header-add{display:none}
 .wrap{width:calc(100% - 32px)}
 .header .bar{display:grid;grid-template-columns:minmax(0,1fr) 55px auto;gap:11px 9px;padding:17px 0 10px}
 .header .brand{min-width:0;overflow:hidden}
 .header .brand-image{width:200px;max-width:100%;height:auto;aspect-ratio:3.8333}
 .header .lang{width:55px;min-width:55px;min-height:39px;padding:8px 6px;font-size:11px;border-radius:11px}
 .header #account{font-size:11px;padding:9px 12px;min-height:39px;max-width:92px;border-radius:11px}
 .header .nav{gap:9px}
 .header .nav button{padding:11px 17px;font-size:12px;font-weight:500;background:#fff3df;border-radius:11px}
 .header .nav button.active{background:linear-gradient(120deg,#f5bf59,#e78d2f)}
 .hero{min-height:340px;margin:0 -16px;padding:40px 22px 86px;border-radius:0}
 .hero:before{background:linear-gradient(90deg,#fffbf4ca 0%,#fffbf460 46%,transparent 80%),linear-gradient(0deg,#fffbf4 0%,transparent 23%,transparent 88%,#fffbf450),url('/assets/axper-ararat.webp') 62% 50%/cover no-repeat}
 .hero-copy{max-width:88%}
 .hero h1{font-size:clamp(32px,7.8vw,46px);line-height:1.08;letter-spacing:-1.6px;max-width:450px}
 .hero p{font-size:13px;line-height:1.65;margin-top:11px;max-width:300px}
 .eyebrow{font-size:8px;letter-spacing:3px;margin-bottom:12px}
 .hero-signature{right:19px;top:9px;font-size:18px;max-width:145px}
 .search{margin-top:-64px;padding:17px 14px 14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 29px;border-radius:21px}
 .search label{font-size:11px;min-width:0;gap:7px}
 .search label:nth-of-type(1){grid-column:1;grid-row:1}
 .search label:nth-of-type(2){grid-column:2;grid-row:1}
 .search label:nth-of-type(3){grid-column:1;grid-row:2}
 .search label:nth-of-type(4){grid-column:2;grid-row:2}
 .search input,.search select{font-size:13px;padding:10px 8px;min-height:44px;border-radius:12px}
 .search input[type=date]{min-width:0;max-width:100%;-webkit-appearance:none;appearance:none}
 .search .swap{position:absolute;top:43px;left:calc(50% - 13px);width:26px;height:31px;font-size:20px;margin:0;z-index:1}
 .search>.btn{grid-column:1/-1;grid-row:3;min-height:47px;font-size:14px}
 .popular{padding:17px 0 22px;gap:8px;font-size:10px}
 .popular button{font-size:10px;padding:8px 12px}
 .layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .topline{margin-bottom:12px}
 .topline h2{font-size:24px}
 #count{font-size:11px}
 #results>.panel{padding:14px!important;margin-bottom:12px!important;border-radius:19px}
 #results>.panel>.row:first-child{flex-wrap:nowrap;gap:12px}
 #results>.panel>.row:first-child>label{min-width:0!important;font-size:10px}
 #results>.panel select{font-size:11px;padding:10px 8px;min-height:42px}
 #results>.panel .check{font-size:10px}
 .empty{padding:25px 15px;border-radius:19px}
 .empty h3{font-size:17px;line-height:1.4}
 .empty p{font-size:12px;margin:8px auto 16px}
 .empty .btn{font-size:11px;min-height:41px;padding:10px 15px}
 .sidebar .panel{padding:16px;background:#fbf4e7}
 .sidebar .stat strong{font-size:23px}
 .sidebar .stat span{font-size:10px}
 .sidebar>.btn{margin-top:11px!important}
 .benefits{gap:11px;margin:29px auto 25px}
 .benefits>div,.benefit{gap:8px}
 .benefits svg{width:28px;height:28px}
 .benefits span,.benefits p{font-size:10px;line-height:1.5}
 .community{padding:21px;gap:18px;flex-direction:column;align-items:flex-start;margin:25px 0;border-radius:19px}
 .community h3{font-size:19px}.community p{font-size:12px}.community>a{min-height:43px}
 .mountain-divider{font-size:7px;letter-spacing:2px;margin-top:27px;gap:8px}
 .mountain-divider:before,.mountain-divider:after{width:12%;top:38px}
 .footer{margin-top:22px}.footer .brand-image{width:166px;height:43px}.footer p{font-size:10px}.footer .row{gap:14px}
 .route{flex-wrap:wrap}.route h3{font-size:18px}.route>.price{margin-left:auto}
 dialog{padding:28px 18px;border-radius:21px}.formgrid{gap:12px}.language-welcome h2{font-size:22px}.language-welcome .brand-image{width:220px;height:57px}
}
@media(max-width:380px){.wrap{width:calc(100% - 24px)}.header .bar{gap:10px 7px;grid-template-columns:minmax(0,1fr) 50px auto}.header .lang{width:50px;min-width:50px}.header #account{padding:9px 10px;max-width:78px}.hero{margin:0 -12px;padding-left:18px;padding-right:18px}.hero h1{font-size:31px}.hero p{font-size:12px;max-width:260px}.search{padding-left:11px;padding-right:11px;column-gap:25px}.search input,.search select{font-size:12px;padding-left:6px;padding-right:6px}.hero-signature{font-size:16px}.benefits{gap:8px}.benefits p,.benefits span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.btn,.card,.popular button{transition:none}}
/* Supplied compact logo: show the full artwork, without the old crop. */
.brand-image,.header .brand-image,.footer .brand-image{height:auto;aspect-ratio:320/107;mix-blend-mode:multiply}
.brand .brand-image img,.header .brand .brand-image img{position:static;display:block;width:100%;height:auto;max-width:100%}
.mountain-divider:before,.mountain-divider:after{content:none}
.telegram-login{text-align:center;padding:12px 0}.telegram-login>img{max-width:100%;height:auto;mix-blend-mode:multiply;margin-bottom:16px}.telegram-login .introtext{line-height:1.7}.telegram-login #telegram-error{color:#9d332e;margin-top:16px}

/* Responsive polish shared by search, trip forms and account screens. */
.btn.primary, .btn.dark, .tabs .active, .nav button.active { color: #473014; }
.header .bar { flex-wrap: wrap; padding-block: 14px; }
.header .admin-link { border-radius: 12px; color: #79562c; background: #f8edd9; white-space: nowrap; }
.header .admin-link:hover { background: #f1dfbd; }
.footer .support-contact, .footer .support-contact a, .footer .support-contact span {
  font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.8; color: #53635b;
}
.footer .support-contact a { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.footer .support-contact a:hover { color: #79562c; }
.route > :first-child { flex: 1 1 210px; }
.route > :last-child { flex: 0 0 auto; }
.route h3 { line-height: 1.45; }
.popular button { min-height: 44px; }
@media (min-width: 651px) and (max-width: 1100px) {
  .header .bar { gap: 12px; }
  .header .brand-image { width: 185px; }
  .header .nav button { padding-inline: 10px; }
  .header .header-add { display: none; }
}
@media (max-width: 650px) {
  .header .bar { grid-template-columns: minmax(0, 1fr) 55px auto; }
  .header .nav { min-width: 0; flex-wrap: wrap; gap: 8px; }
  .header .nav button { flex: 1 1 120px; min-height: 44px; white-space: normal; line-height: 1.4; padding: 10px; }
  .header .admin-link { grid-column: 1 / -1; grid-row: 3; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .header .lang, .header #account { min-height: 44px; }
  .hero-copy { max-width: 100%; }
  .hero-signature { top: 10px; font-size: 15px; }
  .hero { padding-top: 57px; }
  .search { grid-template-columns: minmax(0, 1fr) 44px; gap: 14px 8px; margin-top: -48px; }
  .search label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .search label:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .search label:nth-of-type(3) { grid-column: 1 / -1; grid-row: 3; }
  .search label:nth-of-type(4) { grid-column: 1 / -1; grid-row: 4; }
  .search .swap { position: static; grid-column: 2; grid-row: 1 / 3; align-self: center; width: 44px; height: 44px; margin: 14px 0 0; }
  .search > .btn { grid-row: 5; min-height: 48px; }
  input, select, textarea, .search input, .search select, .stop input, .stop select, #results > .panel select { font-size: 16px; min-height: 48px; }
  .search label, #results > .panel > .row:first-child > label, .stop label { font-size: 12px; }
  #results > .panel > .row:first-child { flex-wrap: wrap; gap: 14px; }
  #results > .panel > .row:first-child > label { flex-basis: 180px !important; }
  #results > .panel .check { font-size: 12px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .benefits p, .benefits span { font-size: 12px; }
  .empty .btn, .row .btn { font-size: 13px; min-height: 44px; }
  .popular, .popular button, .footer p { font-size: 12px; }
  .footer .row { align-items: flex-start; gap: 20px; }
  .footer .support-contact { flex-basis: 100%; }
  dialog { padding: 28px 18px; max-width: calc(100% - 20px); }
  .language-welcome .brand-image { max-width: 100%; height: auto; }
}
@media (max-width: 380px) {
  .header .bar { grid-template-columns: minmax(0, 1fr) 50px auto; }
  .header .lang { width: 50px; min-width: 50px; }
  .hero h1 { font-size: 30px; }
  .hero-signature { right: 18px; }
  .card { padding: 16px; }
  .route > :first-child { flex-basis: 100%; }
}
@media (max-width: 650px) {
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr) 44px; }
  .search label:nth-of-type(1), .search label:nth-of-type(2) { grid-column: 1 / 3; }
  .search .swap { grid-column: 3; }
  .search label:nth-of-type(3) { grid-column: 1; grid-row: 3; }
  .search label:nth-of-type(4) { grid-column: 2 / 4; grid-row: 3; }
  .search > .btn { grid-row: 4; }
  input[type="checkbox"] { min-height: 18px; height: 18px; }
}

.how-it-works>.eyebrow{display:block;margin-bottom:10px}.how-it-works h2{margin-bottom:8px}.how-it-works>.introtext{margin-bottom:24px}.how-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}.how-steps li{display:flex;align-items:flex-start;gap:16px;padding:20px;background:#fffdf8;border:1px solid #e9e1d2;border-radius:16px}.how-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#f7e8c9;color:#8b5b20;font-size:13px;font-weight:800}.how-steps h3{font-size:17px;line-height:1.4;margin:0 0 7px}.how-steps p{font-size:14px;line-height:1.7;color:#53635b;margin:0}.how-note{font-size:13px;line-height:1.7;color:#64736b;margin:20px 0 0;padding:0 4px}@media(max-width:480px){.how-steps li{padding:16px 13px;gap:12px}.how-number{flex-basis:30px;height:30px;border-radius:9px}.how-steps h3{font-size:16px}.how-steps p{font-size:13px}}
.participation-panel{margin-top:18px;padding:18px;border:1px solid #dbe4d6;border-radius:14px;background:#f4f7ef;overflow-wrap:anywhere}.participation-panel p{font-size:13px;line-height:1.65;margin:8px 0 12px}.participation-panel .participation-status{color:#315d3b;font-weight:700}.boarding-code{display:inline-block;background:#fffdf8;border:1px solid #d5dece;border-radius:10px;padding:12px 18px;font-size:26px;letter-spacing:6px;font-weight:800;font-variant-numeric:tabular-nums}.review-score{font-size:21px;font-weight:700;color:#8b5b20}.review-list{display:grid;gap:14px;margin-top:20px}.review-item{border:1px solid #e5e3d6;border-radius:14px;padding:18px;background:#fffdf8;min-width:0}.review-item .row{flex-wrap:wrap;gap:10px}.review-item .muted{font-size:12px}.review-stars{color:#966316;white-space:nowrap}.review-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.driver-review-link{margin:6px 0 0;color:#816026;font-size:12px}.participation-panel .btn{white-space:normal;max-width:100%}@media(max-width:480px){.participation-panel,.review-item{padding:14px}.boarding-code{font-size:23px;letter-spacing:5px}}
.driver-profile-view p { margin: 12px 0; line-height: 1.6; }
.driver-profile-view h3 { margin: 20px 0 10px; }
.driver-profile-view .badge { display: inline-flex; width: auto; }
#trip-form .formgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:16px 0}
#trip-form .trip-basics{grid-template-columns:repeat(6,minmax(0,1fr))}
#trip-form .trip-basics>label{grid-column:span 3}
#trip-form .trip-basics>label:nth-child(3){grid-column:span 2}
#trip-form .trip-basics>label:nth-child(4){grid-column:span 4}
#trip-form label{font-size:12px;line-height:1.45}
#trip-form input:not([type=checkbox]),#trip-form select{min-height:44px;height:44px;padding:9px 10px;min-width:0;width:100%;margin-top:5px}
#trip-form textarea{min-height:76px;padding:10px;font-size:16px}
#trip-form h3{margin:20px 0 10px;font-size:17px}
#trip-form .stop{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
#trip-form .stop>label:first-child{grid-column:1/-1}
#trip-form .stop>label:nth-child(2):last-child{grid-column:1/-1}
#trip-form .stop .remove{width:44px;justify-self:end;grid-column:2}
#trip-form label:has(select[name=petsAllowed]){grid-column:1/-1}
#trip-form .check{font-size:12px;min-height:36px}
.notification-welcome{text-align:center;padding:12px 0}
.notification-symbol{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:20px;background:#f7e8c9;font-size:32px;color:#8b5b20}
.notification-welcome>h2{padding:0 24px;line-height:1.3}
.notification-welcome>p{margin:16px 0;line-height:1.65}
#publish-notifications h3{display:none}
#publish-notifications .actions{justify-content:center;margin:18px 0}
#notifications-later{margin-top:12px;min-height:44px}
@media(min-width:640px){#trip-form .trip-basics>label{grid-column:span 2}#trip-form .trip-basics>label:nth-child(4){grid-column:span 2}#trip-form .stop{grid-template-columns:1fr 1.2fr .8fr 44px}#trip-form .stop>label:first-child,#trip-form .stop>label:nth-child(2):last-child{grid-column:auto}#trip-form .stop .remove{grid-column:auto}}
#trip-form .trip-basics{align-items:end}
@media(max-width:360px){#trip-form .trip-basics>label:first-child,#trip-form .trip-basics>label:nth-child(4){grid-column:span 6}#trip-form .trip-basics>label:nth-child(3){grid-column:span 3}}
#trip-form .trip-basics>.time-field{grid-column:span 3;min-width:0;font-size:12px;line-height:1.45}
#trip-form .time-selects{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:4px;align-items:center}
#trip-form .time-selects select{padding:9px 4px;font-size:16px;font-variant-numeric:tabular-nums}
@media(min-width:640px){#trip-form .trip-basics>.time-field{grid-column:span 2}}
@media(max-width:360px){#trip-form .trip-basics>.time-field{grid-column:span 6}#trip-form .trip-basics>label:nth-child(3){grid-column:span 2}#trip-form .trip-basics>label:nth-child(4){grid-column:span 4}}
.driver-invite{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 0;padding:16px 20px;border:1px solid #d8e4dc;border-radius:18px;background:#edf3ee}
.driver-invite h2{margin:0 0 4px;font-size:18px;line-height:1.35;color:#193e40}
.driver-invite p{margin:0;font-size:13px;line-height:1.5;color:#50675e}
.driver-invite .driver-invite-button{background:#214b45;color:#fff;border:1px solid #214b45;min-height:44px;white-space:normal;flex-shrink:0}
.driver-invite .driver-invite-button:hover{background:#173e38}
@media(max-width:480px){.driver-invite{display:grid;gap:12px;padding:15px;border-radius:16px}.driver-invite .driver-invite-button{width:100%}.driver-invite h2{font-size:17px}}
.trip-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.trip-card-actions .btn{flex:1 1 auto;min-height:44px;white-space:normal}
.trip-card-actions [data-trip-chat]{background:#214b45;color:#fff}
.ride-conversations{display:grid;gap:10px;margin:22px 0}
.ride-conversations h3{margin:0 0 4px}.ride-conversations .btn{text-align:left;justify-content:flex-start;white-space:normal;overflow-wrap:anywhere}
.trip-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.trip-card-actions>[data-trip]{grid-column:1/-1}
.trip-card-actions .btn{width:100%;min-width:0;max-width:none}
@media(min-width:640px){.trip-card-actions{display:flex}.trip-card-actions .btn{width:auto}}
/* A contact number is separate from the account used to sign in. */
.contact-phone-current{display:grid;gap:5px;padding:16px 18px;border:1px solid #e8e3d7;border-radius:18px;background:#f5f0e4;overflow-wrap:anywhere;margin:14px 0}.contact-phone-current>span{font-size:13px;color:#5b6d60}.contact-phone-current>strong{font-size:22px;font-weight:800;letter-spacing:.01em}.contact-phone-editor{padding:18px 0;border-block:1px solid #ebe5d8;margin:20px 0}.contact-phone-editor input{font-size:16px;letter-spacing:.025em}.contact-phone-editor .muted,.contact-phone-status{font-size:13px;line-height:1.6;margin:9px 0}.contact-phone-status{color:#49654c}.contact-phone-unverified{color:#866328}.contact-phone-editor .text-btn{padding:8px 0;text-align:left;white-space:normal}.contact-phone-welcome{max-width:500px;margin:auto}.contact-phone-welcome h2{margin-top:14px;line-height:1.25}.contact-phone-symbol{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:#f6e7c8;color:#946b2e;font-size:30px}.contact-phone-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 10px}.contact-phone-choices .btn{white-space:normal;text-align:center;min-height:50px}.contact-phone-welcome [hidden]{display:none}.contact-phone-welcome #contact-phone-later{margin-top:10px}.contact-phone-welcome .error:empty{display:none}.contact-phone-welcome #contact-phone-choice>.btn{width:100%}@media(max-width:420px){.contact-phone-choices{grid-template-columns:1fr}.contact-phone-current{padding:14px}.contact-phone-current>strong{font-size:20px}.contact-phone-welcome h2{font-size:25px}}
/* Compact, registration-free ride flow. */
.hero .hero-offer{position:relative;margin-top:20px;min-height:48px;z-index:1}
.hero{padding-bottom:80px}
.compact-trip-dialog{width:540px;max-width:calc(100% - 20px);padding:24px;max-height:94dvh}
.compact-trip-dialog h2{font-size:25px;margin:0 40px 4px 0}
.compact-trip-dialog .introtext{font-size:14px;margin:0 0 14px}
#trip-form .stop{padding:10px 12px;margin:0 0 8px;gap:8px;background:#f5f0e3;border-radius:14px;grid-template-columns:1fr 1fr}
#trip-form .stop>label:first-child{grid-column:1/-1}
#trip-form .stop>label:nth-child(2){grid-column:1/-1}
#trip-form .stop>label:has([data-price]){grid-column:1/-1}
#trip-form .trip-basics{grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
#trip-form .trip-basics>label,#trip-form .trip-basics>.time-field{grid-column:auto;min-width:0}
#trip-form .trip-basics>label:has([name=seats]){grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}
#trip-form .seat-stepper{display:flex;align-items:center;gap:0;width:146px}
#trip-form .seat-stepper button{width:44px;height:44px;border:1px solid #e5dfd0;background:#fffaf1;color:#193e40;font-size:24px;border-radius:10px;flex-shrink:0}
#trip-form .seat-stepper input{margin:0;text-align:center;appearance:textfield;padding:4px}
#trip-form .seat-stepper input::-webkit-inner-spin-button{appearance:none}
#trip-form .trip-contact{margin:12px 0}
#trip-form details{border:1px solid #e9e0cf;border-radius:12px;background:#faf5e8;margin:10px 0;padding:0 12px}
#trip-form summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:700}
#trip-form details[open]{padding-bottom:12px}
#trip-form details .hint{font-size:12px;margin:8px 0;padding:10px}
#trip-form .guest-note{font-size:12px;line-height:1.5;color:#677572;margin:10px 0}
#trip-form #save-trip{width:100%;margin-top:8px;min-height:48px}
#guest-contact label{display:block;margin:12px 0}
#guest-contact input{width:100%;font-size:16px;min-height:44px}
@media(max-width:650px){
 .hero{padding-top:36px;padding-bottom:68px;min-height:0}
 .hero .hero-offer{width:100%;margin-top:18px}
 .header .bar{padding-block:10px;gap:8px}
 .header .brand-image{max-width:180px}
 .header .admin-link{grid-column:auto;grid-row:auto;min-height:36px;font-size:12px;padding:8px}
 .header #account{font-size:11px;padding:8px;max-width:90px}
 .compact-trip-dialog{padding:20px 14px;max-height:94dvh}
 #trip-form .stop{padding:8px 10px;gap:6px}
 #trip-form .stop>label:nth-child(2){font-size:11px}
 #trip-form .stop input,#trip-form .stop select{margin-top:3px}
 #trip-form .trip-contact{grid-template-columns:1fr 1.3fr;gap:8px}
}
.hero{flex-direction:column;gap:0}
.hero-copy{flex:none;width:100%}
.hero .hero-offer{flex:none;max-width:380px}
@media(max-width:650px){.hero .hero-offer{max-width:none}.hero h1{letter-spacing:-1.2px}}
