/* Lich Viet Glass v13.6 - Unified Native Page Navigation & Departure Polish.
 * Presentation-only: keeps the calendar, filters, API and account state intact.
 */
:root,html[data-theme="light"]{
  --n136-surface:rgba(250,254,250,.94);
  --n136-ink:#183e35;
  --n136-sub:#537568;
  --n136-line:#cfe2d7;
  --n136-accent:#0b735b;
  --n136-soft:#e2f1e8;
  --n136-gold:#b98b3e;
  --n136-shadow:0 12px 26px rgba(0,42,29,.055);
}
html[data-theme="dark"]{
  --n136-surface:rgba(18,66,55,.94);
  --n136-ink:#f4f0e2;
  --n136-sub:#c0d9c9;
  --n136-line:#3d6d5d;
  --n136-accent:#ecd18b;
  --n136-soft:#225647;
  --n136-gold:#f2d68d;
  --n136-shadow:0 12px 28px rgba(0,18,15,.13);
}
/* One secondary navigation below the shared app header, never a nested card. */
body .lvg-page-context-v136 {
  box-sizing:border-box;display:flex;align-items:center;gap:10px;
  width:min(calc(100% - 20px),640px);max-width:640px;margin:0 auto 13px;
  padding:0;min-height:44px;color:var(--n136-ink);
  font:600 14px/1.4 'Bai Jamjuree',system-ui,sans-serif;
}
body .lvg-page-context-v136 a {
  display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;
  min-height:44px;max-width:100%;padding:0 11px;
  border:1px solid var(--n136-line);border-radius:12px;
  background:var(--n136-surface);color:var(--n136-accent);
  text-decoration:none;box-shadow:none;font-weight:650;
}
body .lvg-page-context-v136 a svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
body .lvg-page-context-v136 .lvg-page-context-title{font-size:13px;font-weight:500;color:var(--n136-sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
body .lvg-page-context-v136 a:hover{background:var(--n136-soft)}
body .lvg-page-context-v136 a:focus-visible{outline:3px solid var(--n136-accent);outline-offset:2px}
/* The toolbar is already provided by the shared navigation for public tools. */
body[data-page="departure"] .departure-native-v1202 .departure-back{display:none!important}
/* Maintain native app geometry across all previously mixed 640/680px screens. */
body .departure-native-v1202{
  box-sizing:border-box;max-width:640px!important;width:100%!important;
  margin:0 auto!important;padding:2px clamp(8px,1.5vw,10px) calc(122px + env(safe-area-inset-bottom,0px))!important;
  gap:14px!important;min-width:0;font-family:'Bai Jamjuree',system-ui,sans-serif;
}
body .departure-native-v1202 .departure-hero{
  margin:0!important;padding:0!important;background:transparent!important;
  border:0!important;box-shadow:none!important;display:block;
}
body .departure-native-v1202 .departure-eyebrow{
  display:block;font:700 12px/1.5 'Bai Jamjuree',system-ui,sans-serif;
  letter-spacing:.105em;color:var(--n136-accent);margin:1px 0 8px;
}
body .departure-native-v1202 .departure-hero h1{
  margin:0 0 8px;color:var(--n136-ink);
  font:700 clamp(26px,4.5vw,29px)/1.2 'Bai Jamjuree',system-ui,sans-serif;letter-spacing:-.035em;
}
body .departure-native-v1202 .departure-hero p{
  color:var(--n136-sub);font:400 14px/1.62 'Bai Jamjuree',system-ui,sans-serif;
  max-width:610px;margin:0;
}
/* Content surfaces are single-level; avoid cards within cards. */
body .departure-native-v1202 .departure-controls,
body .departure-native-v1202 .departure-method{
  box-sizing:border-box;border:1px solid var(--n136-line);border-radius:18px;
  background:var(--n136-surface);color:var(--n136-ink);box-shadow:var(--n136-shadow);
  min-width:0;padding:16px;
}
body .departure-native-v1202 .departure-label{font-size:12px;letter-spacing:.07em;font-weight:700}
body .departure-native-v1202 .departure-controls-title h2{font-size:18px;line-height:1.4}
body .departure-native-v1202 .departure-controls-title p,
body .departure-native-v1202 .departure-list-head p,
body .departure-native-v1202 .departure-filter-status,
body .departure-native-v1202 .departure-request-status{font-size:13px;line-height:1.6}
body .departure-native-v1202 .departure-form{gap:10px;margin-top:15px}
body .departure-native-v1202 .departure-form label{font-size:14px;gap:7px;color:var(--n136-ink)}
body .departure-native-v1202 .departure-form input,
body .departure-native-v1202 .departure-form select{font-size:15px;min-height:48px;width:100%;min-width:0;background:var(--n136-surface);color:var(--n136-ink);border-color:var(--n136-line)}
body .departure-native-v1202 .departure-submit{min-height:50px;font-size:15px;border-radius:12px}
body .departure-native-v1202 .departure-today{font-size:13px;min-height:44px;white-space:nowrap}
body .departure-native-v1202 .departure-jump{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:12px;padding-top:10px}
body .departure-native-v1202 .departure-jump a{justify-content:center;min-width:0;min-height:44px;font-size:12px;text-align:center;white-space:normal;line-height:1.4}
body .departure-native-v1202 .departure-jump a:first-child{justify-content:flex-start}
body .departure-native-v1202 .departure-jump a:last-child{justify-content:flex-end}
body .departure-native-v1202 .departure-summary{
  display:flex;flex-direction:column;min-height:0;height:auto;
  background:#105142;border:1px solid rgba(183,224,206,.18);border-radius:18px;
  padding:18px!important;color:#f7f2df;box-shadow:var(--n136-shadow);
}
html[data-theme="dark"] body .departure-native-v1202 .departure-summary{background:#104238}
body .departure-native-v1202 .departure-summary-main>strong{font-size:clamp(41px,7vw,49px);line-height:1;color:#f2d68e}
body .departure-native-v1202 .departure-summary-main>span{font-size:16px}
body .departure-native-v1202 .departure-summary-main small{font-size:13px}
body .departure-native-v1202 .departure-stat p{font-size:14px;line-height:1.6}
body .departure-native-v1202 .departure-directions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  height:auto;min-height:0;border:0;border-top:1px solid rgba(225,245,230,.2);
  margin-top:14px;padding-top:12px;
}
body .departure-native-v1202 .departure-directions>div{
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;
  min-height:0;border:0;background:transparent;padding:0;margin:0;
}
body .departure-native-v1202 .departure-directions>div+div{padding-left:12px;border-left:1px solid rgba(225,245,230,.2)}
body .departure-native-v1202 .departure-directions span{font-size:14px;color:#dbe9de}
body .departure-native-v1202 .departure-directions strong{font-size:17px;color:#f4d88f}
body .departure-native-v1202 .departure-summary-note{font-size:13px;line-height:1.6;color:#d1e3d6}
body .departure-native-v1202 .departure-list-head{margin-top:3px;margin-bottom:10px}
body .departure-native-v1202 .departure-list-head h2{font-size:19px;line-height:1.35}
body .departure-native-v1202 .departure-filters button{min-height:44px;font-size:13px}
body .departure-native-v1202 .departure-hour-top{min-height:74px}
body .departure-native-v1202 .departure-hour-time,
body .departure-native-v1202 .departure-hour-title small{font-size:13px}
body .departure-native-v1202 .departure-hour-title strong{font-size:17px}
body .departure-native-v1202 .departure-pill{font-size:12px}
body .departure-native-v1202 .departure-hour-bottom{font-size:13px}
body .departure-native-v1202 .departure-method>summary strong{font-size:14px}
body .departure-native-v1202 .departure-method-body p{font-size:14px;line-height:1.68}
body .departure-native-v1202 :is(button,a,input,select,summary){touch-action:manipulation}
body .departure-native-v1202 :is(button,a,input,select,summary):focus-visible{outline:3px solid var(--n136-accent);outline-offset:3px}
/* Preserve the fixed bottom nav's safe-area breathing room on every tool. */
body[data-page="departure"] #departure-list-title{scroll-margin-top:20px}
@media(max-width:390px){
  body .lvg-page-context-v136{width:calc(100% - 16px);margin-bottom:12px}
  body .departure-native-v1202{padding-inline:8px!important;gap:12px!important}
  body .departure-native-v1202 .departure-controls{padding:14px!important}
  body .departure-native-v1202 .departure-controls-title{align-items:flex-start}
  body .departure-native-v1202 .departure-controls-title h2{font-size:17px}
  body .departure-native-v1202 .departure-form{grid-template-columns:minmax(0,1fr)}
  body .departure-native-v1202 .departure-today span{display:inline!important}
  body .departure-native-v1202 .departure-jump a{font-size:12px}
  body .departure-native-v1202 .departure-directions{gap:7px}
  body .departure-native-v1202 .departure-directions>div+div{padding-left:10px}
}
@media(max-width:345px){body .departure-native-v1202 .departure-today span{display:none!important}}
@media(prefers-reduced-motion:reduce){body .departure-native-v1202 *,body .lvg-page-context-v136 *{transition:none!important;scroll-behavior:auto!important}}

/* Native font-size and focus consistency for all six secondary tool screens. */
body .lvg-page-context-v136 .lvg-page-context-title{font-size:14px;}
body .departure-native-v1202 .departure-label{font-size:13px;}
@media(min-width:681px){body .lvg-page-context-v136{margin-top:4px;}}
