
#counter-sales { --counter-ink:#162840; --counter-midnight:#20244e; --counter-line:#dce3ec; --counter-muted:#4b5c70; --counter-wash:#f1f4f9; --counter-gold:#f5d38e; color:var(--counter-ink); }
#counter-sales :is(button,a,input,select,summary):focus-visible { outline:2px solid #525b9d; outline-offset:3px; }
#counter-sales :is(h2,h3,h4,p) { margin:0; }
.counter-hero { display:flex; justify-content:space-between; align-items:end; gap:1.4rem; padding:1.85rem 1.65rem; background:var(--counter-midnight); color:#fff; border-radius:1rem; }
.counter-hero h2,.counter-wizard h2 { font-size:1.95rem; letter-spacing:-.038em; line-height:1.15; }
#counter-sales .counter-hero p { margin-top:.45rem; color:#e4e8f9; font-size:.88rem; }
.counter-hero button { white-space:nowrap; }
.counter-inbox { margin-top:1rem; border:1px solid var(--counter-line); border-radius:1rem; background:#fff; padding:1.05rem; }
.counter-queue { display:flex; flex-wrap:wrap; gap:.45rem; padding-bottom:1rem; border-bottom:1px solid var(--counter-line); }
.counter-queue button { display:flex; align-items:center; gap:.4rem; min-height:42px; border:1px solid var(--counter-line); border-radius:.55rem; background:#fff; padding:.42rem .6rem; font:inherit; font-size:.76rem; color:var(--counter-ink); cursor:pointer; }
.counter-queue button b { color:var(--counter-midnight); background:#e8ebf7; border-radius:.3rem; padding:.12rem .33rem; font-variant-numeric:tabular-nums; }
.counter-queue button[aria-pressed=true] { background:#eef0fa; border-color:#919bc0; font-weight:650; }
.counter-search { max-width:27rem; margin-top:.85rem; }
#counter-sales .office-field :is(input,select) { color:var(--counter-ink); border-color:#bac8db; border-radius:.62rem; min-height:45px; }
.counter-records { list-style:none; margin:.75rem 0 0; padding:0; }
.counter-records button { display:grid; grid-template-columns:minmax(6rem,.75fr) minmax(0,1.55fr) max-content minmax(6rem,.6fr) 1rem; gap:.8rem; align-items:center; text-align:left; width:100%; background:#fff; border:0; border-top:1px solid var(--counter-line); padding:.85rem .35rem; font:inherit; color:inherit; cursor:pointer; }
.counter-records button:hover { background:#f1f4fb; }
.counter-records :is(.counter-record-route,.counter-record-person) { display:grid; gap:.2rem; min-width:0; }
.counter-records small { color:var(--counter-muted); font-size:.72rem; overflow-wrap:anywhere; }
.counter-records b { white-space:nowrap; text-align:right; font-variant-numeric:tabular-nums; }
.counter-badge { display:inline-flex; justify-self:start; align-items:center; border-radius:.38rem; background:#e9edf8; color:#34436a; padding:.34rem .48rem; font-size:.72rem; line-height:1.4; font-weight:620; }
.counter-badge[data-state=complete] { background:#e7f2ea; color:#285843; }
.counter-badge:is([data-state=verify],[data-state=review],[data-state=expired]) { background:#f7ecd5; color:#65451d; }
.counter-badge[data-state=cancelled] { color:#713b47; background:#f5e7e9; }
#counter-sales .counter-empty { padding:1.4rem .1rem .5rem; color:var(--counter-muted); font-size:.85rem; }
.counter-wizard-head { display:flex; gap:1rem; align-items:center; margin:0 0 1.15rem; }
.counter-wizard-head .counter-badge { margin-top:.3rem; }
.counter-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); list-style:none; gap:0; margin:0 0 1rem; padding:.65rem .75rem; border:1px solid var(--counter-line); background:#fff; border-radius:.8rem; }
.counter-steps li { display:flex; align-items:center; gap:.45rem; min-width:0; padding:.25rem .45rem; color:var(--counter-muted); font-size:.76rem; }
.counter-steps li span { display:grid; place-items:center; flex:none; width:1.65rem; height:1.65rem; border-radius:50%; border:1px solid var(--counter-line); font-size:.69rem; }
.counter-steps li[aria-current] { color:var(--counter-midnight); }
.counter-steps li[aria-current] span { color:#fff; background:var(--counter-midnight); border-color:var(--counter-midnight); }
.counter-steps li[data-complete=true] span { color:#265a48; background:#eaf2ed; border-color:#d4e7da; }
.counter-work { display:grid; grid-template-columns:minmax(0,1fr) minmax(15.2rem,.47fr); align-items:start; gap:.9rem; }
.counter-form { background:#fff; border:1px solid var(--counter-line); border-radius:.85rem; padding:1.15rem; min-width:0; }
#counter-sales .counter-form h3 { margin-bottom:1rem; font-size:1.17rem; color:var(--counter-midnight); letter-spacing:-.023em; }
.counter-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:0 0 .8rem; }
.counter-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.55rem; margin-top:1rem; padding-top:.7rem; border-top:1px solid var(--counter-line); }
#counter-sales[aria-busy=true] :is(.counter-submit,[data-counter-confirm],[data-counter-new],[data-counter-flight],[data-counter-back]) { opacity:.58; cursor:progress; }
.counter-person,.counter-flight-group { margin:0 0 .8rem; padding:.7rem; min-width:0; border:1px solid var(--counter-line); border-radius:.65rem; }
.counter-person legend { padding:0 .25rem; font-size:.84rem; font-weight:650; }
.counter-flight-group { margin-top:1rem; }
#counter-sales .counter-flight-group h4 { margin:0 0 .5rem; font-size:.83rem; }
.counter-flight { display:grid; align-items:center; text-align:left; grid-template-columns:minmax(0,1.2fr) minmax(0,.65fr) auto; width:100%; gap:.4rem; margin-top:.38rem; padding:.62rem .55rem; background:#fff; color:var(--counter-ink); border:1px solid var(--counter-line); border-radius:.55rem; font:inherit; font-size:.78rem; cursor:pointer; }
.counter-flight[aria-pressed=true] { border-color:#4d5790; background:#eef0fa; }
.counter-flight:disabled { color:#626d7e; background:#f4f5f7; cursor:default; }
.counter-cabin { margin-top:.65rem; }
.counter-cabin summary { color:var(--counter-midnight); min-height:43px; padding:.6rem .45rem; border-radius:.45rem; background:var(--counter-wash); cursor:pointer; font-size:.79rem; font-weight:620; }
.counter-seat-map { width:max-content; margin:.65rem auto .15rem; padding:.6rem .62rem; background:#f4f7fb; border:1px solid var(--counter-line); border-radius:2.2rem 2.2rem .8rem .8rem; }
.counter-seat-row { display:grid; grid-template-columns:1.35rem repeat(3,43px); align-items:center; gap:.29rem; margin:.23rem 0; }
.counter-seat-row > :nth-child(3) { margin-left:.24rem; }
.counter-seat-row button { color:var(--counter-midnight); background:#fff; border:1px solid #b8c4d7; border-radius:.5rem .5rem .3rem .3rem; min-height:38px; font:inherit; font-size:.74rem; cursor:pointer; }
.counter-seat-row button[aria-pressed=true] { color:#fff; background:var(--counter-midnight); border-color:var(--counter-midnight); }
.counter-seat-row button:disabled { color:#687588; background:#e9edf1; border-style:dashed; cursor:default; }
.counter-summary { position:sticky; top:1rem; min-width:0; border:1px solid var(--counter-line); border-radius:.85rem; background:#fff; overflow:hidden; }
.counter-summary-head { background:var(--counter-midnight); color:#fff; padding:1rem; }
.counter-summary-head span:first-child { font-size:.83rem; }
.counter-summary-head small { color:#d8dff5; }
.counter-route { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.6rem; margin:.65rem 0 .35rem; }
.counter-route .counter-airport,.counter-route span:first-child { font-size:1.8rem; letter-spacing:-.055em; font-weight:650; line-height:1; }
.counter-route-line { position:relative; border-bottom:1px dashed #c1c6e6; }
.counter-route-line::after { content:""; position:absolute; right:1px; width:.38rem; height:.38rem; border-top:1.5px solid var(--counter-gold); border-right:1.5px solid var(--counter-gold); transform:translateY(-44%) rotate(45deg); }
.counter-summary-body { padding:1rem; color:var(--counter-muted); }
.counter-summary-body ul { list-style:none; padding:0; margin:0 0 .55rem; }
.counter-summary-body li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.24rem .4rem; font-size:.75rem; border-bottom:1px dashed var(--counter-line); padding:0 0 .58rem; margin:0 0 .58rem; }
.counter-summary-body li span { font-variant-numeric:tabular-nums; }
.counter-summary-body li small { grid-column:1/-1; }
.counter-summary-body p { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:.3rem; font-size:.8rem; }
.counter-summary-body p strong { font-size:1.2rem; color:var(--counter-midnight); font-variant-numeric:tabular-nums; }
.counter-summary-body > small { display:block; word-break:break-word; margin:.45rem 0 0; font-size:.71rem; }
.counter-review,.counter-receipt,.counter-note,.counter-issued,.counter-error:not(:empty) { padding:.68rem .75rem; font-size:.82rem; line-height:1.5; border-radius:.5rem; background:var(--counter-wash); }
#counter-sales :is(.counter-note,.counter-issued,.counter-error:not(:empty)) { margin:.62rem 0; }
.counter-review { margin:0 0 .8rem; }
.counter-review ul { margin:.28rem 0 0; }
.counter-issued { background:#eaf3ee; color:#25563f; }
.counter-error:not(:empty) { background:#faebee; color:#852a42; }
.counter-document { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.55rem; border-bottom:1px solid var(--counter-line); padding:.55rem 0 .7rem; margin:0 0 .6rem; font-size:.82rem; }
.counter-document div { display:flex; gap:.36rem; flex-wrap:wrap; }
.counter-document a { display:inline-flex; align-items:center; text-decoration:none; }
@media(max-width:750px) {
  .counter-work { grid-template-columns:1fr; }
  .counter-summary { position:static; grid-row:1; }
  .counter-summary-head,.counter-summary-body { padding:.72rem .9rem; }
  .counter-summary-head { display:flex; align-items:center; flex-wrap:wrap; column-gap:.8rem; }
  .counter-summary-head small { display:none; }
  .counter-route { flex:1; margin:0; }
  .counter-route .counter-airport,.counter-route span:first-child { font-size:1.32rem; }
  .counter-summary-body li { margin:0 0 .38rem; padding:0 0 .38rem; }
  .counter-records button { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 1rem; gap:.45rem; }
  .counter-records button > :last-child { grid-row:1; grid-column:3; }
  .counter-steps { padding:.4rem .24rem; }
  .counter-steps li { justify-content:center; padding:.18rem; }
  .counter-steps li:not([aria-current]) b { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
  .counter-steps li[aria-current] { grid-column:span 2; }
  .counter-steps { grid-template-columns:repeat(6,minmax(0,1fr)); }
}
@media(max-width:475px) {
  .counter-hero { align-items:start; flex-direction:column; padding:1.15rem; gap:1rem; }
  .counter-hero h2,.counter-wizard h2 { font-size:1.5rem; }
  .counter-form { padding:.8rem; }
  .counter-fields { grid-template-columns:1fr; gap:.55rem; }
  .counter-actions button { flex:1; }
  .counter-flight { font-size:.73rem; }
  .counter-wizard-head { gap:.5rem; }
}

#counter-sales .counter-mobile-total { display:none; }
@media(max-width:820px) {
  body:has(#counter-sales:not([hidden]) .counter-wizard) .office-header #office-nav { display:none; }
  .counter-actions { position:sticky; bottom:env(safe-area-inset-bottom); z-index:1; background:#fff; padding:.65rem .2rem; box-shadow:0 -7px 12px #fff; }
  #counter-sales .counter-mobile-total { display:block; flex:1 1 100%; text-align:right; font-size:.84rem; color:var(--counter-midnight); }
}

/* Guided selection */
.counter-mode,.counter-methods { min-width:0; border:0; padding:0; margin:0 0 1rem; }
.counter-mode legend,.counter-methods legend { padding:0; margin-bottom:.45rem; color:var(--counter-muted); font-size:.8rem; font-weight:620; }
.counter-mode > div { display:inline-grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.2rem; padding:.24rem; background:var(--counter-wash); border:1px solid var(--counter-line); border-radius:.73rem; }
.counter-mode label,.counter-methods label { position:relative; cursor:pointer; }
.counter-mode input,.counter-methods input { position:absolute; width:1px; height:1px; margin:0; opacity:0; }
.counter-mode label span { display:grid; place-items:center; padding:.5rem .86rem; min-height:42px; border:1px solid transparent; border-radius:.51rem; font-size:.83rem; white-space:nowrap; }
.counter-mode label:has(:checked) span { border-color:#d6dfeb; background:#fff; color:var(--counter-midnight); font-weight:680; }
.counter-mode label:has(:focus-visible) span,.counter-methods label:has(:focus-visible) { outline:2px solid #525b9d; outline-offset:2px; }
.counter-endpoints { display:grid; grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr); align-items:end; gap:.52rem; margin-bottom:.88rem; }
#counter-sales .office-field { gap:.34rem; }
#counter-sales .office-field :is(select,input) { min-height:48px; }
#counter-sales .office-field :is(select,input):hover:not(:disabled) { border-color:#899bb8; }
.counter-date { position:relative; }
#counter-sales .counter-date input:not(:focus) { color:transparent; }
#counter-sales .counter-date input:not(:focus)::-webkit-datetime-edit { opacity:0; }
.counter-date-value { position:absolute; bottom:0; inset-inline:.74rem 1.9rem; height:48px; display:flex; align-items:center; color:var(--counter-ink); pointer-events:none; white-space:nowrap; font-weight:560; overflow:hidden; }
.counter-date:focus-within .counter-date-value { visibility:hidden; }
.counter-swap,.counter-count-button { display:grid; place-items:center; min-width:40px; min-height:44px; border-radius:.65rem; border:1px solid var(--counter-line); padding:0; background:#fff; color:var(--counter-midnight); font:inherit; cursor:pointer; }
.counter-swap { align-self:end; min-height:46px; }
.counter-swap:hover,.counter-count-button:hover:not(:disabled) { background:#edf0fa; }
.counter-travel-dates { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; }
.counter-travel-dates:has([data-counter-return][hidden]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.counter-travellers > div { display:grid; align-items:center; grid-template-columns:42px minmax(35px,1fr) 42px; gap:.14rem; min-width:0; padding:.12rem; border-radius:.66rem; border:1px solid #bac8db; background:#f8fafc; }
#counter-sales input#counter-count { border:0; border-radius:.32rem; background:transparent; appearance:textfield; min-height:42px; padding:0 .1rem; text-align:center; font-variant-numeric:tabular-nums; }
#counter-count::-webkit-inner-spin-button { appearance:none; margin:0; }
.counter-count-button { min-height:42px; min-width:42px; border-radius:.5rem; }
.counter-count-button:disabled { color:#708096; background:#f4f6fa; cursor:default; }
.counter-query-strip { display:flex; align-items:center; justify-content:space-between; gap:.62rem; border-radius:.66rem; background:var(--counter-wash); padding:.65rem .75rem; }
.counter-query-strip div { display:grid; gap:.24rem; }
.counter-query-strip strong { font-size:.88rem; }
.counter-query-strip small,.counter-flight-group header p { color:var(--counter-muted); font-size:.76rem; }
.counter-query-strip button { min-height:40px; padding:.43rem .56rem; white-space:nowrap; font-size:.76rem; }
.counter-leg-switch { display:grid; grid-template-columns:1fr 1fr; gap:.3rem; margin-top:.9rem; }
.counter-leg-switch button { min-height:43px; background:#fff; color:var(--counter-midnight); border:1px solid var(--counter-line); border-radius:.5rem; font:inherit; font-size:.8rem; cursor:pointer; }
.counter-leg-switch button[aria-pressed=true] { background:#eceffc; border-color:#a1acd1; font-weight:680; }
.counter-leg-switch button:disabled { color:#617187; background:#f5f7fa; cursor:default; }
.counter-leg-switch button span { color:#286250; margin-left:.22rem; }
.counter-flight-group { padding:0; margin:.95rem 0 0; border:0; }
.counter-flight-group header { margin-bottom:.62rem; }
#counter-sales .counter-flight-group h4 { margin:0 0 .27rem; font-size:1.02rem; }
.counter-flight { grid-template-columns:minmax(0,1fr) minmax(0,.8fr) auto; gap:.55rem; padding:.76rem .8rem; margin-top:.45rem; border-radius:.65rem; }
.counter-flight:hover:not(:disabled):not([aria-pressed=true]) { border-color:#98a8c6; background:#f7f8fc; }
.counter-flight:disabled { opacity:1; }
.counter-flight-timing,.counter-flight-stock { display:grid; gap:.24rem; }
.counter-flight-timing strong { font-size:.98rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.counter-flight-timing strong span { margin-inline:.12rem; color:#526781; }
.counter-flight-timing small,.counter-flight-stock small { color:var(--counter-muted); font-size:.71rem; }
.counter-flight-stock small { color:#275c4c; font-weight:630; }
.counter-flight-price { display:inline-flex; align-items:center; justify-content:flex-end; gap:.58rem; text-align:right; white-space:nowrap; }
.counter-flight-price b { font-variant-numeric:tabular-nums; }
.counter-choice-indicator { display:grid; place-items:center; width:1.1rem; height:1.1rem; border:1px solid #9baac4; border-radius:50%; }
.counter-flight[aria-pressed=true] .counter-choice-indicator { background:var(--counter-midnight); border-color:var(--counter-midnight); }
.counter-flight[aria-pressed=true] .counter-choice-indicator::before { content:""; width:.38rem; height:.38rem; border-radius:50%; background:#fff; }
.counter-flight:disabled .counter-choice-indicator { visibility:hidden; }
.counter-cabin { border:1px solid var(--counter-line); border-radius:.65rem; }
.counter-cabin summary { padding:.64rem .7rem; }
.counter-cabin summary span { display:inline-grid; gap:.24rem; vertical-align:middle; }
.counter-cabin summary small { font-size:.72rem; color:var(--counter-muted); font-weight:500; }
#counter-sales .counter-seat-hint { padding:.58rem .68rem 0; color:var(--counter-muted); font-size:.77rem; }
.counter-cabin[open] .counter-seat-map { margin-bottom:.78rem; }
.counter-actions button { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; }
#counter-sales .counter-form-intro { margin:0 0 .9rem; color:var(--counter-muted); font-size:.83rem; line-height:1.5; }
.counter-person { padding:.8rem .9rem .2rem; }
.counter-doc-fields { border-top:1px solid var(--counter-line); padding-top:.65rem; }
.counter-methods { margin-top:.9rem; }
.counter-methods > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap:.5rem; }
.counter-methods label { display:grid; grid-template-columns:2rem 1fr; align-items:center; gap:.56rem; border:1px solid var(--counter-line); padding:.52rem .63rem; background:#fff; border-radius:.63rem; min-height:60px; }
.counter-methods label:hover,.counter-methods label:has(:checked) { border-color:#8998c1; background:#edf0fa; }
.counter-methods label:has(:checked) { box-shadow:inset 0 0 0 1px #8998c1; }
.counter-methods label b,.counter-methods label small { display:block; }
.counter-methods label b { font-size:.83rem; }
.counter-methods label small { color:var(--counter-muted); font-size:.67rem; margin-top:.2rem; }
.counter-method-mark { display:grid; place-items:center; background:#fff; width:2rem; height:2rem; border-radius:.42rem; }
.counter-method-mark svg { width:20px; height:20px; }
.counter-method-mark img { display:block; width:100%; height:100%; padding:.12rem; object-fit:contain; border-radius:inherit; }
.counter-method-mark[data-method=mpesa] { background:#bd171e; }
.counter-method-mark[data-method=mpesa] img { padding:.29rem; }
@media(max-width:475px) {
  .counter-endpoints { grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr); gap:.35rem; }
  #counter-sales .counter-endpoints select { font-size:.77rem; padding-inline:.43rem; }
  .counter-travel-dates { grid-template-columns:1fr 1fr; }
  .counter-travellers { grid-column:1/-1; max-width:12rem; }
  .counter-travel-dates:has([data-counter-return][hidden]) .counter-travellers { grid-column:auto; }
  .counter-flight { grid-template-columns:minmax(0,1fr) minmax(0,.76fr) auto; padding:.6rem .5rem; gap:.35rem; }
  .counter-flight-timing strong { font-size:.82rem; }
  .counter-flight-price { gap:.32rem; }
  .counter-choice-indicator { width:.87rem; height:.87rem; }
  .counter-methods > div { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:no-preference) {
  .counter-swap,.counter-mode label span,.counter-flight,.counter-count-button,.counter-methods label { transition:background-color 150ms ease-out,border-color 150ms ease-out,color 150ms ease-out; }
  .counter-flight:active:not(:disabled),.counter-swap:active,.counter-count-button:active:not(:disabled) { scale:.995; }
}

.counter-search { position:relative; }
.counter-search .app-icon { position:absolute; inset-inline-start:.72rem; bottom:16px; color:var(--counter-muted); pointer-events:none; }
#counter-sales .counter-search input { padding-inline-start:2.15rem; }
.counter-wizard-head > button,.counter-hero > button,.counter-leg-switch button { display:inline-flex; align-items:center; justify-content:center; gap:.42rem; }
.counter-document a { gap:.37rem; }

.counter-demo-banner { margin-block: .25rem .75rem; }
.counter-demo-people { margin: .75rem 0; padding: 0; list-style: none; }
.counter-demo-people li { padding: .72rem 0; border-bottom: 1px solid var(--counter-line); }
.counter-demo-people small { display: block; margin-top: .25rem; color: var(--counter-muted); }
