@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#172b4d;background:#f5f7fc;font-synthesis:none;--blue:#16834a;--ink:#172b4d;--muted:#718099;--border:#e4eaf3;--white:#fff}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #e8ad37;outline-offset:3px}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:clamp(1.8rem,3.2vw,2.6rem);line-height:1.2;letter-spacing:-1.1px;margin:0 0 14px;font-weight:800}h2{font-size:1.25rem;margin:0 0 20px;letter-spacing:-.4px}h3{font-size:1.05rem;margin:0 0 12px}p{line-height:1.6;margin:0 0 14px}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:.75rem;font-weight:800;color:#4d70b4;margin-bottom:14px}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 max(30px,calc((100vw - 1260px)/2));background:white;border-bottom:1px solid var(--border);gap:25px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:1.5rem;font-weight:800;color:#102656;white-space:nowrap;letter-spacing:-1px}.brand img{width:36px;height:36px;border-radius:10px;object-fit:contain}.brand em{font-style:normal;color:var(--blue)}.desktop-nav{display:flex;gap:6px;align-self:stretch;align-items:center}.nav-button{background:none;border:0;color:#687791;font-weight:600;padding:15px 17px;display:flex;align-items:center;gap:9px;border-radius:9px}.nav-button.active{color:var(--blue);background:#eaf5ee}.top-actions{display:flex;align-items:center;gap:15px}.lang{border:1px solid var(--border);background:white;border-radius:8px;padding:9px 10px;color:#435573;font-weight:600}.avatar{width:38px;height:38px;display:grid;place-items:center;background:#ecf1ff;color:var(--blue);border-radius:50%;font-weight:700;border:0}.btn{border:0;border-radius:9px;padding:13px 20px;background:var(--blue);color:white;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.3}.btn:hover{background:#11683b}.btn.secondary{background:#edf2fd;color:var(--blue)}.btn.outline{border:1px solid var(--border);background:white;color:#334968}.btn.danger{background:#fff0ef;color:#b63737}.btn.small{padding:9px 13px;font-size:.875rem}.icon{width:21px;height:21px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:1260px;margin:auto;padding:38px 30px 64px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.intro p{margin:0;color:#718099}.country-pill{background:white;border:1px solid var(--border);border-radius:30px;display:flex;gap:9px;align-items:center;padding:10px 16px;white-space:nowrap;font-size:.875rem}.flag{width:20px;height:14px;background:linear-gradient(90deg,#138454 33%,#cf343d 33%,#cf343d 66%,#e8bd39 66%);border-radius:2px}.search-panel{background:var(--blue);border-radius:17px;padding:22px 25px 25px;color:white;box-shadow:0 12px 30px #14378415;margin-bottom:33px}.search-caption{display:flex;justify-content:space-between;font-size:.875rem;margin-bottom:18px;color:#e0e9ff}.search-caption strong{display:flex;align-items:center;gap:8px}.search-grid{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}.search-field{background:white;border-radius:9px;padding:10px 14px;color:#314563;min-width:0}.search-field label{display:block;font-size:.75rem;color:#7c89a1;margin-bottom:6px}.search-field input,.search-field select{padding:0;border:0;border-radius:0;background:white;width:100%;font-weight:600;min-height:24px;outline:none}.search-grid .btn{background:#f4bc47;color:#192e52;min-height:64px;padding:18px 24px}.swap{background:#ffffff1c;color:white;border:1px solid #ffffff40;border-radius:50%;height:34px;width:34px;align-self:center;display:grid;place-items:center}.workspace{display:grid;grid-template-columns:240px 1fr;gap:28px}.filters{background:white;padding:22px;border:1px solid var(--border);border-radius:13px;align-self:start}.filter-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.filter-heading h3{margin:0}.link-button{padding:0;border:0;background:none;color:var(--blue);font-size:.875rem}.filter-group{padding:20px 0;border-top:1px solid var(--border)}.filter-group strong{font-size:.875rem;display:block;margin-bottom:14px}.check-label{display:flex;align-items:center;gap:9px;font-size:.875rem;color:#52637d;margin:11px 0}.check-label input{width:17px;height:17px;accent-color:var(--blue)}.filters .notice{font-size:.875rem;padding:14px;margin-top:10px}.results-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;gap:10px}.results-head h2{margin:0;font-size:1.1rem}.results-head select{border:0;background:transparent;color:#61728c;font-size:.875rem;max-width:175px}.route-card{background:white;border:1px solid var(--border);border-radius:14px;margin-bottom:16px;overflow:hidden;transition:box-shadow .15s}.route-card:hover{box-shadow:0 6px 24px #18355609}.route-main{padding:24px;display:grid;grid-template-columns:1fr auto;gap:25px}.company-line{display:flex;gap:12px;align-items:center;margin-bottom:25px}.company-icon{background:#eaf5ee;color:var(--blue);border-radius:10px;width:42px;height:42px;display:grid;place-items:center}.company-name{font-weight:700;font-size:.95rem}.company-caption{color:#8090a8;font-size:.75rem;margin-top:4px}.journey{display:flex;align-items:center;gap:22px;max-width:510px}.city{font-size:1.2rem;font-weight:700}.city span{display:block;font-size:.75rem;color:#8592a6;font-weight:400;margin-top:5px}.journey-line{min-width:48px;flex:1;height:1px;background:#d6e0ef;position:relative}.journey-line:before,.journey-line:after{content:'';width:7px;height:7px;border-radius:50%;background:white;border:2px solid #adc0df;position:absolute;top:-4px}.journey-line:before{left:0}.journey-line:after{right:0;background:var(--blue);border-color:var(--blue)}.price-box{text-align:right;border-left:1px dashed var(--border);padding-left:30px;min-width:170px}.price-box .price{font-family:Manrope,sans-serif;font-weight:800;font-size:1.65rem;letter-spacing:-.8px;margin:8px 0}.price small{font-size:.75rem;font-weight:500;letter-spacing:0}.price-box .btn{margin-top:16px;width:100%}.route-footer{padding:13px 24px;background:#fbfcff;border-top:1px solid #edf1f8;display:flex;justify-content:space-between;gap:15px;color:#75849b;font-size:.75rem}.route-footer span{display:flex;align-items:center;gap:7px}.route-footer .icon{width:15px;height:15px}.pill{display:inline-flex;align-items:center;background:#ecf4ff;color:#3972bc;padding:6px 10px;border-radius:6px;font-size:.75rem;font-weight:600;white-space:nowrap}.pill.green{background:#e9f6ef;color:#267650}.pill.orange{background:#fff4df;color:#a06b15}.pill.red{background:#fff0ef;color:#b44444}.notice{background:#eaf5ee;color:#4b6390;border-radius:9px;padding:15px 17px;font-size:.875rem;line-height:1.55}.notice.warning{background:#fff6e3;color:#906d2c}.notice p:last-child{margin:0}.empty{padding:55px 30px;text-align:center;background:white;border:1px dashed #ccd8ea;border-radius:14px;color:#718099}.empty .icon{width:40px;height:40px;color:#97add1;margin-bottom:15px}.empty h3{color:#263f64}.empty .btn{margin-top:15px}.support-strip{margin-top:24px;display:flex;gap:12px;color:#8b97aa;font-size:.75rem;align-items:center;justify-content:center}.support-strip .icon{width:16px}.panel{background:white;border:1px solid var(--border);border-radius:14px;padding:25px;margin-bottom:22px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.stat{padding:22px;background:white;border:1px solid var(--border);border-radius:12px}.stat strong{display:block;font-family:Manrope;font-size:1.8rem;margin-top:12px;letter-spacing:-.8px}.stat .icon{color:var(--blue)}.stat-label{color:#7c8ba0;font-size:.875rem}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.field label{font-size:.875rem;font-weight:600;color:#566983}.field input,.field select,.field textarea{border:1px solid #dbe3f0;border-radius:8px;padding:12px 13px;width:100%;background:white;color:#223859;min-height:46px}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #83c99c;outline-offset:1px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field small{color:#8593a8;font-size:.75rem}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.tabbar{display:flex;gap:5px;border-bottom:1px solid var(--border);margin-bottom:24px;overflow:auto;padding-bottom:12px}.tabbar button{border:0;background:transparent;padding:10px 15px;white-space:nowrap;color:#73839b;border-radius:8px;font-weight:600}.tabbar button.active{background:#e7f3ea;color:var(--blue)}.booking-card{background:white;border:1px solid var(--border);padding:23px;border-radius:13px;margin-bottom:16px}.booking-top{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:18px}.booking-top h3{margin-bottom:7px}.booking-meta{display:flex;gap:25px;flex-wrap:wrap;color:#677995;font-size:.875rem;margin:15px 0}.booking-meta strong{display:block;color:#2c4569;font-size:.875rem;margin-top:5px}.file-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px;font-size:.875rem}.timeline{padding:12px 0;border-top:1px solid var(--border);margin-top:15px;display:flex;gap:12px;align-items:center;font-size:.875rem;color:#718099}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.875rem;white-space:nowrap}td,th{text-align:left;padding:14px 12px;border-bottom:1px solid #edf1f7}th{color:#7c8ba3;font-weight:500;font-size:.75rem;background:#fafbfe}td .btn{padding:7px 10px}dialog{border:0;border-radius:18px;padding:0;width:min(620px,calc(100vw - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 25px 100px #10204030}dialog::backdrop{background:#10244580;backdrop-filter:blur(3px)}.modal-head{padding:24px 26px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);position:sticky;top:0;background:white;z-index:1}.modal-head h2{margin:0}.close{border:0;background:#f1f4f9;border-radius:50%;width:32px;height:32px;font-size:1.3rem;color:#75829a}.modal-body{padding:24px 26px}.modal-body .btn[type=submit]{width:100%;margin-top:10px}.step-label{font-size:.75rem;text-transform:uppercase;letter-spacing:1.5px;color:#8695ad;margin:20px 0 14px}.seat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:500px;margin:20px 0}.seat{min-height:52px;padding:9px 12px;border:1px solid #cddbed;background:#f3f6fc;border-radius:8px;color:#526c90}.seat:nth-child(4n+3){grid-column:4}.seat.selected{background:var(--blue);color:white;border-color:var(--blue)}.total-row{display:flex;justify-content:space-between;margin:11px 0;font-size:.875rem}.total-row.total{font-size:1.2rem;font-weight:700;border-top:1px solid var(--border);padding-top:15px}.error{color:#ae3838;background:#fff0ef;padding:12px;border-radius:8px;margin:12px 0;font-size:.875rem}.error:empty{display:none}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#16305b;color:white;border-radius:10px;z-index:50;box-shadow:0 5px 30px #18335425;display:none;max-width:90vw}#toast.show{display:block}.bottom-nav{display:none}.mobile-only{display:none}.initial{display:grid;place-content:center;height:100vh;text-align:center;font-size:2rem;font-weight:800;color:var(--blue)}.initial span{font-size:1rem;color:#7c8ba3;margin-top:20px}.auth-panel{max-width:460px;margin:35px auto}.divider{border:0;border-top:1px solid var(--border);margin:20px 0}.account-code{font-family:monospace;font-size:1.6rem;letter-spacing:2px;color:var(--blue);padding:15px 0}.connection{background:#fff3db;color:#805f21;font-size:.875rem;padding:12px 20px;text-align:center}.filter-mask{display:none}.form-help{font-size:.875rem;color:#798aa2;margin-bottom:18px}.footer{font-size:.75rem;color:#98a3b5;margin-top:40px;display:flex;justify-content:space-between}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.readonly-note{border-left:3px solid #c2d5ff;padding-left:13px;color:#708099;font-size:.875rem;margin-bottom:20px}
@media(max-width:1050px){.topbar{padding:0 25px}.desktop-nav .nav-button{padding:12px 9px;font-size:.875rem}.workspace{grid-template-columns:210px 1fr;gap:20px}.route-main{padding:20px;gap:15px}.journey{gap:12px}.city{font-size:1.05rem}.price-box{padding-left:18px;min-width:150px}.search-grid{grid-template-columns:1fr auto 1fr}.search-grid .btn{grid-column:1/-1;justify-self:center;width:min(100%,220px);min-height:52px}.grid.three{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.topbar{height:68px;padding:0 18px;gap:10px}.brand{font-size:1.3rem}.brand img{width:32px;height:32px;object-fit:contain}.desktop-nav{display:none}.top-actions{gap:9px}.top-actions>.btn{padding:9px 12px;font-size:.875rem}.shell{padding:25px 17px 100px}.intro{margin-bottom:23px}.intro p{font-size:.875rem;line-height:1.55}.intro .country-pill{display:none}h1{font-size:1.8rem}.eyebrow{font-size:.7rem;letter-spacing:1.5px}.search-panel{padding:18px;margin-bottom:25px;border-radius:13px}.search-caption>span{display:none}.search-grid{grid-template-columns:1fr 1fr;gap:10px}.search-grid .period-field{grid-column:1/-1}.search-grid .swap{display:none}.search-grid .btn{grid-column:1/-1;justify-self:center;width:min(100%,220px);padding:12px;font-size:.875rem;min-height:52px}.search-field{padding:10px;min-width:0}.search-field input,.search-field select{font-size:.875rem}.workspace{display:block}.filters{display:none}.filters.open{display:block;position:fixed;top:0;left:0;bottom:0;width:min(320px,87vw);border-radius:0;z-index:31;overflow:auto}.filter-mask.open{display:block;position:fixed;inset:0;background:#10244570;z-index:30}.mobile-only{display:inline-flex}.results-head h2{font-size:1rem}.results-head select{font-size:.75rem;max-width:115px}.route-main{padding:18px;display:block}.company-line{margin-bottom:20px}.journey{max-width:none;gap:18px}.city{font-size:1.15rem}.price-box{display:flex;align-items:center;justify-content:space-between;border-left:0;border-top:1px dashed var(--border);padding:15px 0 0;margin-top:22px;text-align:left;gap:15px}.price-box .price{font-size:1.45rem;margin:4px 0}.price-box .btn{margin:0;width:auto;font-size:.875rem;padding:12px 18px}.route-footer{padding:12px 18px;font-size:.7rem;gap:8px}.route-footer span:last-child{display:none}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--border);z-index:20;padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -3px 20px #1c335405}.bottom-nav .nav-button{display:flex;flex-direction:column;gap:5px;padding:8px 12px;font-size:.7rem;min-width:60px}.bottom-nav .icon{width:22px;height:22px}.bottom-nav .nav-button.active{background:none;color:var(--blue)}.grid,.grid.three,.form-row{grid-template-columns:1fr;gap:0}.stats{gap:10px;grid-template-columns:repeat(2,1fr)}.stats .stat:last-child{grid-column:1/-1}.stat{padding:17px}.stat strong{font-size:1.5rem}.panel{padding:20px}.booking-card{padding:18px}.booking-top{flex-direction:column;gap:10px}.booking-meta{gap:18px}.modal-body{padding:20px}.modal-head{padding:20px}.footer{display:none}.support-strip{flex-wrap:wrap;font-size:.7rem}#toast{bottom:90px}.heading-actions .btn{font-size:.875rem}.intro:has(.heading-actions){align-items:start;flex-direction:column}.auth-panel{margin:10px auto}.search-caption{font-size:.8rem}.empty{padding:40px 20px}}

.form-page{max-width:680px;margin:0 auto}.form-page .btn[type=submit]{width:100%;margin-top:10px}.form-page .field textarea{min-height:100px}

@media(max-width:700px){.bottom-nav .nav-button{min-width:0;flex:1;padding:8px 3px;font-size:.66rem}.bottom-nav .icon{width:20px;height:20px}}

.time-row{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:16px;align-items:end}.time-row>.field{min-width:0}.time-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
@media(max-width:700px){.time-row{grid-template-columns:minmax(0,2.1fr) repeat(3,minmax(0,1fr));gap:7px}.time-row .field label{font-size:.72rem}.time-row input,.time-row select{min-width:0;padding:11px 7px;font-size:.83rem}.time-choice{display:contents}}

.global-loader{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;gap:12px;background:rgba(245,247,252,.82);color:#155e38;font-weight:700;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility .15s ease}.global-loader[aria-hidden="false"]{opacity:1;visibility:visible;pointer-events:all}.loader-spinner{display:inline-block;flex:none;width:26px;height:26px;border:3px solid #cbd8f2;border-top-color:var(--blue);border-radius:50%;animation:loader-spin .7s linear infinite}@keyframes loader-spin{to{transform:rotate(360deg)}}.busy{cursor:progress}.time-row{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:14px;align-items:end}.time-row>.field{min-width:0}.time-row input,.time-row select{min-width:0;width:100%}@media(max-width:700px){.time-row{grid-template-columns:minmax(0,2.1fr) repeat(3,minmax(0,1fr));gap:7px}.time-row .field label{font-size:.68rem;white-space:nowrap}.time-row input,.time-row select{min-width:0;padding:11px 6px;font-size:.78rem}.time-row input[type=date]{font-size:.72rem;padding-left:5px;padding-right:2px}}

/* Keep every route on the same centered page grid as the landing screen. */
#app{width:100%;min-width:0;overflow-x:clip}
.shell{width:min(100%,1260px);margin-inline:auto;padding-inline:clamp(16px,3vw,30px)}
.shell>*{min-width:0}
.shell .intro,.shell>.panel,.shell>.grid,.shell>.stats,.shell>.tabbar,.shell>.booking-card,.shell>.workspace{width:100%;max-width:100%;margin-inline:auto}
.shell .grid,.shell .stats,.shell .form-row,.shell .search-grid,.shell .workspace{min-width:0}
.shell .grid>*,.shell .stats>*,.shell .form-row>*,.shell .workspace>*{min-width:0}
.shell .table-wrap{max-width:100%;overscroll-behavior-inline:contain}
@media(max-width:700px){
  .shell{width:100%;padding:24px 16px calc(96px + env(safe-area-inset-bottom))}
  .shell .panel,.shell .booking-card{width:100%;padding:18px}
  .shell .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell .stats .stat:last-child{grid-column:1/-1}
  .shell .form-row,.shell .grid,.shell .grid.three{grid-template-columns:minmax(0,1fr);gap:0}
  .shell .form-row>*,.shell .grid>*{width:100%}
  .shell .tabbar{max-width:100%;padding-inline:0}
  .shell .intro{align-items:flex-start}
  .shell .intro>*{min-width:0;overflow-wrap:anywhere}
}

/* Match the reference: a centered, comfortable reading column on every page. */
.topbar{padding-inline:max(24px,calc((100vw - 1200px)/2))}
.shell{width:min(100%,1200px);max-width:1200px;margin-inline:auto;padding-inline:clamp(16px,2.5vw,30px)}
body{font-size:clamp(14px,1vw,16px)}
h1{font-size:clamp(1.55rem,2.5vw,2.45rem);text-wrap:balance}
h2,h3{ text-wrap:balance }
.intro p,.panel p,.booking-card p,.notice,.form-help{overflow-wrap:normal;word-break:normal;text-wrap:pretty}
.brand,.desktop-nav .nav-button,.bottom-nav .nav-button,.pill,.route-footer span{white-space:nowrap}
@media(max-width:700px){
  .topbar{padding-inline:16px}
  .shell{width:100%;padding-inline:clamp(16px,5vw,22px)}
  body{font-size:14px}
  h1{font-size:clamp(1.45rem,6vw,1.8rem)}
  h2{font-size:clamp(1.05rem,4.5vw,1.25rem)}
  .nav-button{font-size:clamp(.62rem,2.5vw,.72rem)}
  .panel,.booking-card,.stat{min-width:0}
  .table-wrap{max-width:100%;overflow-x:auto}
}
@media(max-width:700px){#route-filters.filters.open{left:0;right:auto;top:0;bottom:0;width:min(320px,88vw);max-width:calc(100vw - 48px);height:100dvh;box-shadow:12px 0 32px #10244524}.filter-mask.open{left:0;right:0}}




.document-preview-dialog{width:min(900px,calc(100vw - 28px));height:min(88dvh,900px);max-height:92dvh;padding:0;overflow:hidden}.document-preview-dialog::backdrop{background:#102445a8;backdrop-filter:blur(3px)}.document-preview-head{height:62px;padding:10px 16px 10px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:white}.document-preview-head h2{margin:0;font-size:1.1rem}.document-preview-dialog iframe{display:block;width:100%;height:calc(100% - 62px);border:0;background:white}

/* Search filters use the same comfortable controls as the booking forms. */
.filter-group > label{display:block}
.filter-group select,.amount-control{width:100%;min-height:46px;border:1px solid #dbe3f0;border-radius:8px;background:#fff;color:#223859}
.filter-group select{padding:11px 13px}
.filter-group select:focus,.amount-control:focus-within{outline:2px solid #83c99c;outline-offset:1px}
.amount-control{display:flex;align-items:center;overflow:hidden}
.amount-control span{padding:0 12px;color:#718099;font-size:.82rem;font-weight:700;border-right:1px solid var(--border);white-space:nowrap}
.amount-control input{width:100%;min-width:0;min-height:44px;border:0;outline:0;background:transparent;padding:10px 12px;color:#223859}
.filter-apply{width:100%;min-height:46px}
.page-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 18px;padding:9px 13px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#334968;font-weight:700}
.page-back:hover{background:#eaf5ee;color:var(--blue)}
@media(max-width:700px){.page-back{min-width:88px;min-height:46px;margin-bottom:15px}.filters.open{padding-bottom:calc(24px + env(safe-area-inset-bottom))}}

.notification-options{gap:6px 14px;flex-wrap:wrap;margin:0 0 12px}
.notification-options .check-label{margin:3px 0}

.lang{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:78px;padding:9px 11px;border:1px solid var(--border);border-radius:10px;background:#fff;color:#334968;font-weight:700}
.lang .icon{width:18px;height:18px;color:var(--blue)}
.lang-code{font-size:.78rem;letter-spacing:.04em;color:var(--blue)}
.lang-chevron{font-size:.85rem;color:#8090a8;line-height:1}
.search-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.search-copy-grid>div{min-width:0}
@media(max-width:700px){.lang{min-width:70px;padding:8px 9px;gap:5px}.search-copy-grid{grid-template-columns:minmax(0,1fr);gap:4px}}

@media(max-width:700px){.top-actions>[data-auth],.top-actions>.avatar{display:none!important}#show-filters{min-height:36px;padding:7px 10px;gap:6px;font-size:.75rem}#show-filters .icon{width:16px;height:16px}}

#booking-form>.actions{margin-bottom:16px}

.help-copy{white-space:pre-line;line-height:1.7}

.help-accordion{border-top:1px solid var(--border);padding:13px 0}.help-accordion:first-of-type{border-top:0}.help-accordion summary{cursor:pointer;font-weight:650;color:var(--ink);line-height:1.5;font-size:1.05rem}.help-accordion summary::marker{color:var(--green)}.help-accordion[open] summary{margin-bottom:10px}.help-accordion .help-copy{padding:0 2px}

.password-toggle{margin:-4px 0 12px}
.report-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.report-filter .field{flex:1 1 180px;margin:0}.report-filter-actions{display:flex;gap:10px;flex-wrap:wrap}.report-filter .error{flex-basis:100%}

.table-block{width:100%}.table-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:14px}.table-pagination span{color:var(--muted);font-size:.875rem;min-width:48px;text-align:center}.table-wrap tr[hidden]{display:none!important}@media(max-width:700px){.table-pagination{justify-content:center}.table-pagination .btn{min-width:108px}}

.bus-category-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:6px;padding:5px 12px;border-radius:999px;font-size:.78rem;font-weight:900;letter-spacing:.045em;line-height:1.25;border:1px solid transparent;white-space:nowrap}.bus-category-badge.normal{background:#e5f5eb;color:#08743c;border-color:#a9dabb}.bus-category-badge.vip{background:#fff2cc;color:#714900;border-color:#e9bd48;box-shadow:0 1px 4px #71490018}
.category-choices{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.category-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--border);background:#fff;color:var(--ink);border-radius:10px;padding:10px 13px;cursor:pointer;font:inherit}.category-choice strong{font-weight:900;font-size:.78rem}.category-choice span{color:var(--blue);font-weight:800}.category-choice.selected{border-color:var(--blue);background:#eaf5ef;box-shadow:0 0 0 1px var(--blue)}.route-category-panel{margin:16px 0;padding:18px}.ticket-page .results-head h1{margin:0}.internal-ticket{max-width:760px;margin:0 auto;padding:clamp(20px,5vw,38px)}.ticket-brand{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border);padding-bottom:18px}.ticket-brand img{width:42px;height:42px;object-fit:contain}.ticket-brand strong{font-size:1.15rem}.ticket-status{margin-left:auto}.ticket-code{margin-top:22px;color:var(--muted);font-size:.82rem}.internal-ticket h2{margin:9px 0 22px;font-size:clamp(1.4rem,4vw,2rem)}.ticket-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.ticket-grid>div{border:1px solid var(--border);border-radius:10px;padding:13px;min-width:0}.ticket-grid span{display:block;color:var(--muted);font-size:.8rem;margin-bottom:5px}.ticket-grid strong{display:block;overflow-wrap:anywhere}.internal-ticket>.actions{margin-top:20px}

@media(max-width:640px){.category-choices{gap:7px}.category-choice{flex:1 1 130px;padding:9px 10px;font-size:.82rem}.ticket-grid{grid-template-columns:1fr}.ticket-page .results-head{align-items:flex-start;gap:12px;flex-wrap:wrap}}
.agency-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.agency-card{padding:14px}.agency-open{display:flex;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer;flex-direction:column;gap:12px}.agency-card-banner{width:100%;height:140px;object-fit:cover;border-radius:10px;background:#edf2f7}.agency-card-brand{display:flex;align-items:center;gap:12px;min-height:48px}.agency-card-brand img,.agency-card-brand>.icon{width:44px;height:44px;object-fit:contain;border-radius:10px}.agency-card-brand strong{font-size:1.12rem}.agency-card .actions{margin-top:14px}.agency-hero{overflow:hidden;padding:0 0 18px}.agency-banner{display:block;width:100%;height:clamp(150px,27vw,300px);object-fit:cover;background:#e7f2eb}.agency-heading{display:flex;align-items:center;gap:18px;padding:20px clamp(16px,4vw,32px)}.agency-heading h1{margin:2px 0;font-size:clamp(1.4rem,3.8vw,2.2rem)}.agency-heading p{margin:4px 0;color:var(--muted)}.agency-logo{width:clamp(58px,10vw,92px);height:clamp(58px,10vw,92px);object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:14px;padding:5px}.agency-heading>.icon{width:54px;height:54px;color:var(--green)}.agency-hero>.actions{padding:0 clamp(16px,4vw,32px)}.agency-account-link{margin:0 0 18px}.agency-account-link .actions{margin-top:12px}.company-icon img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
@media(max-width:700px){.agency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-card-banner{height:125px}.agency-heading{gap:12px;padding:16px}.agency-hero>.actions{display:grid;grid-template-columns:1fr 1fr}.agency-hero>.actions .btn{padding-inline:8px;font-size:.86rem}.agency-account-link{margin-bottom:14px}}
.agency-search{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto auto;align-items:end;gap:12px;margin:18px 0;padding:18px}.agency-search .search-field{display:flex;flex-direction:column;gap:7px;min-width:0}.agency-search label{font-size:.75rem;color:var(--muted);font-weight:700}.agency-search select{width:100%;min-width:0;height:48px;border:1px solid var(--border);border-radius:9px;background:#fff;padding:0 12px;color:var(--ink)}@media(max-width:700px){.agency-search{grid-template-columns:1fr 1fr;gap:10px;padding:14px}.agency-search .period-field{grid-column:1/-1}.agency-search .btn{width:100%;min-height:44px}.agency-search .btn:nth-of-type(1){grid-column:1}.agency-search .btn:nth-of-type(2){grid-column:2}}

.report-type-card{display:flex;flex-direction:column;gap:12px;text-align:left;color:var(--ink);cursor:pointer;min-height:132px;border:1px solid var(--border)}.report-type-card strong{font-size:1.05rem}.report-open{color:var(--green);font-weight:700}.report-top-actions{margin:0 0 16px}.report-filter select{height:46px;border:1px solid var(--border);border-radius:9px;padding:0 12px;background:#fff;min-width:180px}@media(max-width:700px){.report-filter{display:grid;grid-template-columns:1fr 1fr}.report-filter .field{min-width:0}.report-filter .report-filter-actions{grid-column:1/-1}.report-type-card{min-height:96px}}

@media(max-width:700px){h1,.agency-heading h1{font-size:20px}}

@media(max-width:700px){.shell .intro{flex-direction:column;align-items:flex-start;gap:6px}.shell .intro>*{width:100%;overflow-wrap:normal;word-break:normal;hyphens:none}.shell .intro h1{font-size:20px}}

.agency-directory-search{margin:0 0 18px;padding:16px 18px}.agency-directory-search label{display:block;margin-bottom:8px}.agency-directory-search input{width:100%;min-height:46px;border:1px solid var(--border);border-radius:9px;padding:10px 13px;background:#fff;color:var(--ink)}[data-agency-search-card][hidden]{display:none!important}.profile-documents-panel{margin-bottom:22px}.profile-documents-panel .notice{margin-bottom:12px}.profile-documents-panel form{max-width:650px}.saved-profile-documents{display:grid;gap:8px;margin-top:18px}.document-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:#fff}.document-row span{font-size:.9rem}.identity-privacy-notice{margin:12px 0}.passenger-panel>.check-label{margin:10px 0}.passenger-panel [id$="-upload"][hidden]{display:none}

.mobile-help-button{display:none;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--blue)}.mobile-help-button .icon{width:21px;height:21px}@media(max-width:700px){.mobile-help-button{display:inline-flex}.top-actions{gap:8px}}

/* Mobile navigation emphasis and document preview fit/zoom controls */
@media(max-width:700px){.bottom-nav .nav-button{font-weight:750}.bottom-nav .nav-button.active{font-weight:850}.bottom-nav.five .nav-button.center-nav{background:#e8f5ed;color:#08783d;border-radius:12px;font-weight:850}.bottom-nav.five .nav-button.center-nav.active{background:#16834a;color:#fff}.bottom-nav.five .nav-button.center-nav.active .icon{color:#fff}}
.document-preview-dialog{display:flex;flex-direction:column}.document-preview-tools{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:12px}.document-preview-tools[hidden]{display:none}.document-preview-tools button{min-width:38px;height:36px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-weight:700}.document-preview-stage{position:relative;height:calc(100% - 62px);min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;background:#eef2f8;padding:12px;overscroll-behavior:contain}.document-preview-loader{position:absolute;inset:0;margin:auto;z-index:1;pointer-events:none}.document-preview-stage img{display:block;flex:none;max-width:none;max-height:none;width:auto;height:auto;object-fit:contain;image-rendering:auto}.document-preview-stage iframe{display:block;flex:none;width:100%;height:100%;border:0;background:#fff}.ticket-page .ticket-page-back{margin-bottom:16px}
.customer-search-results{display:grid;gap:6px;max-height:220px;overflow:auto;margin-top:-8px;border-radius:9px}.customer-search-result{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.customer-search-result:hover,.customer-search-result:focus-visible{border-color:var(--green);background:#f0f8f3}.customer-search-result span{color:#718099;font-size:.85rem;overflow-wrap:anywhere}.customer-search-results:empty{display:none}
.pwa-update-banner{position:fixed;z-index:1200;top:calc(env(safe-area-inset-top) + 88px);left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(560px,calc(100vw - 24px));padding:12px 14px 12px 18px;border:1px solid #b6ddc4;border-radius:12px;background:#fff;box-shadow:0 12px 36px #10204028;color:var(--ink);font-size:.9rem}.pwa-update-banner[hidden]{display:none}.pwa-update-banner .btn{flex:0 0 auto;white-space:nowrap}@media(max-width:420px){.pwa-update-banner{font-size:.82rem;gap:10px;padding:10px 11px}.pwa-update-banner .btn{padding:9px 11px}}

/* Invoice-style customer payment receipt */
.invoice-page{max-width:920px}.invoice-page>.ticket-page-back{margin-bottom:14px}.invoice-sheet{position:relative;overflow:hidden;padding:clamp(18px,4vw,42px);border:1px solid #d2e8f3;border-radius:14px;background:linear-gradient(145deg,#e8f6fd 0%,#f4fbff 72%,#e2f2fa 100%);box-shadow:0 16px 44px #14375312;color:#18304f}.invoice-masthead,.invoice-brand,.invoice-heading,.invoice-parties,.invoice-lower,.invoice-footer{display:flex;justify-content:space-between;gap:20px}.invoice-masthead{align-items:center;padding-bottom:20px;border-bottom:1px solid #c9e0eb}.invoice-brand{align-items:center;justify-content:flex-start;gap:13px}.invoice-brand img{width:56px;height:56px;object-fit:contain;border-radius:10px;background:#fff;padding:4px}.invoice-brand strong,.invoice-brand span,.invoice-agency span,.invoice-agency strong,.invoice-agency small{display:block}.invoice-brand strong{font-size:1.15rem}.invoice-brand span,.invoice-agency span,.invoice-date>span{color:#657b8d;font-size:.68rem;font-weight:800;letter-spacing:.08em}.invoice-brand span{margin-top:4px}.invoice-agency{text-align:right}.invoice-agency strong{margin:5px 0;font-size:1rem}.invoice-agency small{color:#657b8d}.invoice-heading{align-items:flex-end;padding:24px 0 17px}.invoice-heading h1{margin:4px 0 7px;font-size:clamp(1.8rem,5vw,2.55rem);line-height:1.05;color:#18304f}.invoice-heading p{margin:0;color:#60768a;font-size:.83rem}.invoice-kicker{color:#43809e;font-size:.72rem;font-weight:900;letter-spacing:.13em}.invoice-date{display:grid;gap:6px;justify-items:end;text-align:right}.invoice-date>strong{font-size:1.1rem}.invoice-status{max-width:100%;padding:6px 10px;border-radius:999px;background:#e2f3e8;color:#167245;font-size:.77rem;font-weight:800}.invoice-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 20px}.invoice-parties>div{min-width:0;padding:11px 13px;border:1px solid #d5e8f1;border-radius:8px;background:#ffffffa6}.invoice-parties span{display:block;margin-bottom:5px;color:#657b8d;font-size:.67rem;font-weight:800;letter-spacing:.06em}.invoice-parties strong{display:block;overflow-wrap:anywhere;font-size:.9rem}.invoice-table-wrap{overflow-x:auto}.invoice-table{width:100%;table-layout:fixed;border-collapse:collapse;background:#ffffffa8;white-space:normal;font-size:.82rem}.invoice-table th{padding:11px 9px;background:#438d0a;color:white;font-size:.72rem;font-weight:800;white-space:normal}.invoice-table td{padding:10px 9px;border-bottom:1px solid #c8dce5;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.invoice-table th:first-child,.invoice-table td:first-child{width:8%;text-align:center}.invoice-table th:nth-child(2){width:52%;text-align:left}.invoice-table th:nth-child(3),.invoice-table th:nth-child(4){width:20%;text-align:right}.invoice-table td:nth-child(3),.invoice-table td:nth-child(4){text-align:right;font-weight:700}.invoice-table tbody tr:nth-child(even){background:#eff8fc}.invoice-table td strong,.invoice-table td small{display:block}.invoice-table td small{margin-top:4px;color:#718395;font-size:.73rem}.invoice-lower{align-items:flex-start;margin-top:22px}.invoice-terms{flex:1 1 55%;min-width:0}.invoice-terms h2{margin:0 0 12px;font-size:1rem}.invoice-terms>p{margin:7px 0;color:#415b72;font-size:.84rem}.invoice-terms .bus-category-badge{margin:0 4px;padding:3px 8px}.invoice-policy{line-height:1.45}.invoice-notice{margin-top:14px;padding:13px 15px;border-radius:9px;background:#e4f3ea;color:#315c4b;font-size:.83rem;line-height:1.45}.invoice-notice p{margin:5px 0}.invoice-notice small{display:block;margin-top:6px}.invoice-totals{flex:0 1 300px;padding:15px 17px;border:1px solid #d2e4ec;border-radius:9px;background:#ffffffc9}.invoice-totals>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;color:#61778a;font-size:.83rem}.invoice-totals>div strong{text-align:right;color:#18304f}.invoice-totals .invoice-grand-total{margin:4px 0;border-top:1px solid #b9d1dc;border-bottom:1px solid #b9d1dc;color:#18304f;font-size:.95rem;font-weight:800}.invoice-totals .invoice-grand-total strong{font-size:1.05rem}.invoice-totals .invoice-refund strong{color:#167245}.invoice-totals>small{display:block;color:#74889a;font-size:.72rem}.invoice-footer{align-items:flex-end;margin-top:22px;padding-top:13px;border-top:1px solid #c9e0eb;color:#718597}.invoice-footer>div{display:grid;gap:4px;font-size:.73rem}.invoice-footer>div strong{color:#35536c}.invoice-bus-art{width:min(180px,34%);height:auto;color:#16834a}.invoice-actions{justify-content:center;margin-top:14px}
@media(max-width:640px){.invoice-sheet{padding:17px 13px;border-radius:10px}.invoice-masthead{gap:10px;padding-bottom:14px}.invoice-brand{gap:8px}.invoice-brand img{width:42px;height:42px}.invoice-brand strong{font-size:.92rem}.invoice-brand span,.invoice-agency span,.invoice-date>span{font-size:.57rem}.invoice-agency strong{font-size:.82rem}.invoice-agency small{font-size:.68rem}.invoice-heading{align-items:flex-start;gap:8px;padding:18px 0 13px}.invoice-heading h1{font-size:1.65rem}.invoice-heading p{font-size:.72rem}.invoice-date>strong{font-size:.88rem}.invoice-status{font-size:.66rem;padding:5px 8px}.invoice-parties{gap:7px;margin-bottom:14px}.invoice-parties>div{padding:9px}.invoice-parties span{font-size:.56rem}.invoice-parties strong{font-size:.77rem}.invoice-table th{padding:8px 4px;font-size:.61rem}.invoice-table td{padding:8px 4px;font-size:.67rem}.invoice-table td small{font-size:.62rem}.invoice-lower{flex-direction:column;gap:14px;margin-top:16px}.invoice-terms,.invoice-totals{width:100%;flex-basis:auto}.invoice-terms>p,.invoice-notice{font-size:.78rem}.invoice-totals{padding:12px}.invoice-totals>div{font-size:.78rem}.invoice-footer{margin-top:16px}.invoice-footer>div{font-size:.64rem}}

.search-field:has(select){padding:8px}.search-field select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--ink);font-weight:600;cursor:pointer}.search-field select:focus{outline:2px solid #83c99c;outline-offset:1px}.search-field select option{background:#fff;color:var(--ink)}
/* Accommodation public pages */
.stay-directory-search{margin:18px 0}.stay-directory-search label{display:block;font-weight:700;margin:0 0 8px}.stay-property-heading{margin-top:20px}.stay-property-banner{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:14px;margin-bottom:22px}.stay-property-title{display:flex;gap:18px;align-items:center}.stay-property-logo{width:76px;height:76px;object-fit:contain;border-radius:14px}.stay-location{color:var(--muted);display:flex;align-items:center;gap:8px}.stay-property-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:18px 0}.stay-property-gallery img{width:100%;height:190px;object-fit:cover;border-radius:12px}.stay-room-section{margin-top:28px}.stay-room-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,1fr) minmax(150px,.7fr) minmax(160px,.8fr);gap:12px;align-items:end}.stay-room-toolbar h2,.stay-room-toolbar p{margin:0 0 6px}.stay-room-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stay-room-card{overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:16px}.stay-room-cover{display:block;width:100%;height:190px;padding:0;border:0;background:#edf1f7;color:var(--muted)}.stay-room-cover img{width:100%;height:100%;object-fit:cover}.stay-room-card-body{padding:16px}.stay-room-card-body h3{margin:0 0 8px}.stay-room-card-body p{color:var(--muted);margin:8px 0}.stay-room-card-body .btn{margin-top:12px}.stay-room-detail{margin-top:20px}.stay-room-detail-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:20px 0}.stay-room-detail-gallery img{width:100%;height:260px;object-fit:cover;border-radius:14px}.stay-room-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.stay-room-facts>div{padding:16px;border:1px solid var(--border);border-radius:12px;display:grid;gap:8px}.stay-room-facts span{color:var(--muted)}
@media(max-width:900px){.stay-room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stay-room-toolbar{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.stay-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stay-room-cover{height:140px}.stay-room-card-body{padding:11px}.stay-room-card-body h3{font-size:1rem}.stay-room-toolbar{grid-template-columns:1fr 1fr}.stay-room-toolbar>div{grid-column:1/-1}.stay-property-title{align-items:flex-start}.stay-property-logo{width:56px;height:56px}.stay-property-gallery img{height:145px}.stay-room-detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stay-room-detail-gallery img{height:160px}.stay-room-facts{grid-template-columns:1fr}.stay-directory-search{padding:16px}}

/* Refined accommodation search controls and scrollable room gallery. */
.stay-directory-search{margin:18px 0}.stay-directory-search label{display:block;margin:0 0 8px}.stay-room-filter-panel{margin:18px 0 14px}.stay-room-filter-panel .form-row{align-items:end}.stay-room-filter-panel .field{flex:1 1 200px}.stay-room-heading{margin:24px 0 12px}.stay-room-heading h2,.stay-room-heading p{margin:0 0 6px}.stay-room-gallery{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:2px 2px 12px;margin:20px 0 4px;-webkit-overflow-scrolling:touch}.stay-room-gallery-item{flex:0 0 min(74%,420px);height:clamp(190px,34vw,340px);padding:0;border:0;border-radius:14px;overflow:hidden;background:#edf1f7;scroll-snap-align:start}.stay-room-gallery-item img{width:100%;height:100%;object-fit:cover;display:block}.stay-gallery-hint{font-size:.82rem;color:var(--muted);margin:4px 0 12px}.stay-room-share-row{margin:8px 0 22px}.stay-image-viewer{width:min(96vw,1180px);height:min(94dvh,900px);max-width:96vw;max-height:94dvh;padding:12px;background:#111827;color:white;border-radius:16px}.stay-image-viewer::backdrop{background:#0b1220e8}.stay-image-viewer-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:4px 4px 12px}.stay-image-viewer-toolbar span{min-width:72px;text-align:center}.stay-image-viewer-scroll{height:calc(100% - 58px);overflow:auto;display:grid;place-items:center;touch-action:pan-x pan-y pinch-zoom}.stay-image-viewer-scroll img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;transition:transform .15s ease}.stay-image-viewer .btn{color:var(--ink);background:white}
@media(max-width:640px){.stay-room-gallery-item{flex-basis:82%;height:220px}.stay-room-filter-panel .form-row{display:grid;grid-template-columns:1fr 1fr}.stay-room-filter-panel .field:first-child{grid-column:1/-1}.stay-room-filter-panel{padding:16px}.stay-image-viewer-toolbar{gap:5px}.stay-image-viewer-toolbar .btn{padding:8px 10px}}

/* Property directory cards and matching search controls. */
.stay-service-switch{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 10px}
.stay-service-switch .btn{min-height:48px;border-radius:12px}
.stay-property-tabs{margin:18px 0 20px}
.stay-property-tabs .btn{flex:1 1 auto;min-width:120px}
.stay-property-section-page .panel h1{margin-top:8px}
.stay-property-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0}
.stay-property-card{min-width:0;display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid var(--border);border-radius:16px;background:#fff}
.stay-property-card-cover{display:block;width:100%;height:150px;object-fit:cover;border-radius:12px;background:#edf1f7}
.stay-property-card h2,.stay-property-card p{margin:0}
.stay-property-card h2{font-size:1.08rem}
.stay-property-amenities,.stay-property-room-count{color:var(--muted);font-size:.9rem}
.stay-property-card-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--border)}
.stay-property-card-footer>div{flex:1 1 100%;display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted)}
.stay-property-card-footer>div strong{color:var(--ink);text-align:right}
.stay-property-card-footer .btn{flex:1 1 auto}
.stay-property-logo{width:56px;height:56px;flex:0 0 56px;object-fit:cover;border-radius:50%;background:#edf1f7}
.stay-property-share-row{margin:10px 0 16px}
@media(max-width:900px){.stay-property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:640px){.stay-property-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stay-property-card{padding:11px}.stay-property-card-cover{height:120px}.stay-property-card-footer{gap:6px}.stay-property-card-footer>div{display:block}.stay-property-card-footer>div strong{display:block;text-align:left;margin-top:3px}.stay-property-card-footer .btn{flex:1 1 100%;padding:9px 8px;font-size:.84rem}.stay-service-switch{margin-bottom:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stay-service-switch [data-stay-kind="bus"]{grid-column:1/-1}.stay-property-share-row .btn{min-width:100px}}
@media(max-width:640px){.stay-property-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stay-property-tabs [data-property-section="property"]{grid-column:1/-1}.stay-property-tabs .btn{width:100%;min-width:0;white-space:normal}}

/* Match the company selector and searchable directory grid across categories. */
.company-category-switch{margin-bottom:24px}
.stay-company-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0}
.stay-company-grid>.route-card{min-width:0;margin:0}
@media(max-width:900px){.stay-company-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:640px){.stay-company-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stay-company-grid>.route-card{padding:11px}.company-category-switch{margin-bottom:24px}}

.stay-request-estimate{display:grid;gap:7px;margin:12px 0 18px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:#edf7f1;color:var(--text)}.stay-request-estimate span{display:flex;justify-content:space-between;gap:12px;color:var(--muted)}.stay-request-estimate strong{padding-top:7px;border-top:1px solid var(--border);font-size:1.05rem}
/* Accommodation galleries advance one full image at a time; staged admin uploads remain visible before saving. */
.stay-room-gallery{scrollbar-width:none}.stay-room-gallery::-webkit-scrollbar{display:none}.stay-room-gallery-item{flex:0 0 100%;width:100%;height:clamp(220px,42vw,460px)}.stay-admin-image-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.stay-admin-image-list figure{margin:0;max-width:190px;padding:8px;border:1px solid var(--line);border-radius:12px;background:white}.stay-admin-image-list img{display:block;width:170px;height:120px;object-fit:cover;border-radius:8px}.stay-admin-image-list figcaption{font-size:.8rem;overflow-wrap:anywhere;padding-top:6px}.stay-property-policy{white-space:pre-wrap;padding:14px 16px;border-radius:12px;background:#f3f7fb;color:var(--ink);line-height:1.55}

.stay-room-gallery-shell{position:relative}.stay-gallery-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid var(--line,#dce5f3);border-radius:50%;background:rgba(255,255,255,.94);color:var(--ink,#17365d);font-size:1.7rem;line-height:1;box-shadow:0 2px 8px rgba(20,40,80,.15);cursor:pointer}.stay-gallery-prev{left:10px}.stay-gallery-next{right:10px}.stay-gallery-arrow:hover{background:#fff}
.bus-ai-fab{position:fixed;right:20px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:80;border:0;border-radius:999px;background:#16834a;color:#fff;padding:14px 20px;font:600 15px inherit;box-shadow:0 8px 28px #0b3d2870;cursor:pointer}.ai-chat-panel{max-width:760px;margin:0 auto}.ai-chat-log{min-height:180px;max-height:52vh;overflow:auto;padding:12px}.ai-user-message,.ai-assistant-message{max-width:88%;padding:12px 16px;border-radius:16px;background:#e8f5ed;margin:10px 0 10px auto;white-space:normal;line-height:1.5}.ai-assistant-message{margin:10px auto 10px 0;background:#f1f4fa}.ai-chat-panel textarea{width:100%;resize:vertical}@media(max-width:700px){.bus-ai-fab{right:14px;bottom:calc(86px + env(safe-area-inset-bottom));padding:12px 15px;font-size:14px}}
.settings-subtabs{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;min-width:0}.settings-subtabs .btn{width:100%;min-height:44px;text-align:left;justify-content:flex-start;white-space:normal}.settings-tab-panel{min-width:0}.settings-tab-panel[hidden]{display:none}
@media(min-width:701px){#management-content:has(.settings-subtabs){display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);column-gap:18px;align-items:start}#management-content:has(.settings-subtabs)>h2{grid-column:1/-1;grid-row:1}#management-content:has(.settings-subtabs)>.actions{grid-column:1/-1;grid-row:2}#management-content:has(.settings-subtabs)>.settings-subtabs{grid-column:1;grid-row:3}#management-content:has(.settings-subtabs)>.settings-tab-panel{grid-column:2;grid-row:3}#management-content:has(.settings-subtabs)>.settings-tab-panel[data-settings-panel="general"]:nth-of-type(6){grid-row:4}}
@media(max-width:700px){#management-content:has(.settings-subtabs){display:grid;grid-template-columns:minmax(0,1fr);row-gap:12px}#management-content:has(.settings-subtabs)>h2{grid-row:1}#management-content:has(.settings-subtabs)>.actions{grid-row:2}#management-content:has(.settings-subtabs)>.settings-subtabs{grid-row:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#management-content:has(.settings-subtabs)>.settings-tab-panel{grid-column:1;grid-row:4}#management-content:has(.settings-subtabs)>.settings-tab-panel[data-settings-panel="general"]:nth-of-type(6){grid-row:5}.settings-subtabs .btn{min-height:42px;padding:9px 11px;font-size:.9rem}}
