/* handling.ge — VIP Aviation palette
   orange #F3801E, warm grey #5C5856, Manrope + Inter (same as vipaviation.ge) */
:root{
  --orange:#F3801E;
  --orange-dk:#C4620B;
  --orange-lt:#FDF2E7;
  --grey:#5C5856;
  --grey-dk:#2A2724;
  --black:#3A3634;
  --black2:#EFEBE5;
  --ink:#211E1C;
  --soft:#8B8580;
  --bg:#F7F5F2;
  --paper:#FFFFFF;
  --line:#E8E3DC;
  --line2:#F2EEE8;
  --surface2:#FBF9F6;
  --edit-bg:#FFFCF7;
  --edit-bd:#E6C9A4;
  --orange-bd:#F0DCC4;
  --ok-bg:#EFF7F3;   --ok-bd:#C3DFD2;
  --warn-bg:#FDF7EA; --warn-bd:#EBD8AF;
  --stop-bg:#FDEFEC; --stop-bd:#EEC6BF;
  --body-ink:#332F2C;
  --util:#3A3634;
  --util-line:#4E4844;
  --brand:#46423F;
  --shadow:33,30,28;
  --go:#2E7D5B;
  --warn:#A8730B;
  --stop:#B23A2E;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,.m{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
button{font:inherit}
a{color:var(--orange-dk)}

/* header */
.top{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
.topin{display:flex;align-items:center;gap:18px;height:68px;flex-wrap:wrap}
.brandbox{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.brandbox .bar{color:#4A443F;font-size:18px}
.powered{color:var(--grey);text-decoration:none;font-size:11px;font-family:Manrope,system-ui,sans-serif;font-weight:700;letter-spacing:.07em;text-transform:uppercase;line-height:1.5}
.powered:hover{color:var(--orange)}
.hcontact{margin-left:auto;display:flex;gap:18px;flex-wrap:wrap}
.hcontact a{color:var(--ink);text-decoration:none;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:14px}
.hcontact a:hover{color:var(--orange)}
.brandbox .lg i{color:var(--orange)}
@media(max-width:760px){.topin{height:auto;padding:12px 0}.hcontact{margin-left:0;width:100%}}
.lg{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:22px;letter-spacing:-.025em;color:var(--ink);text-decoration:none}
.lg i{color:var(--orange);font-style:normal}
.tagline{font-size:12.5px;color:var(--soft);border-left:1px solid var(--line);padding-left:20px}
.topnav{margin-left:auto;display:flex;align-items:center;gap:22px}
.topnav .ph{color:var(--ink);font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:14px}
@media(max-width:900px){.tagline{display:none}}

.mtabs{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:68px;z-index:39}
.mtabs .wrap{display:flex;gap:4px;overflow-x:auto}
.mtabs button{background:none;border:0;padding:13px 16px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;
  font-size:14.5px;color:var(--grey);cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.mtabs button[aria-selected=true]{color:var(--black);border-bottom-color:var(--orange)}

/* hero */
.hero{background:linear-gradient(180deg,var(--paper),var(--bg));border-bottom:1px solid var(--line);padding:42px 0 38px}
.hero h1{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;letter-spacing:-.035em;
  font-size:clamp(29px,4.6vw,46px);line-height:1.07;max-width:19ch}
.hero p{color:var(--grey);max-width:60ch;margin-top:15px;font-size:16.5px}
.stats{display:flex;flex-wrap:wrap;gap:36px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.stats .n{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:27px;line-height:1;color:var(--ink)}
.stats .n em{font-style:normal;color:var(--orange)}
.stats .k{font-size:13px;color:var(--soft);margin-top:4px}

/* control sheet */
.sheet{background:var(--paper);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 14px 34px -26px rgba(33,30,28,.4);margin-top:24px;overflow:hidden}
.ctl{display:flex;flex-wrap:wrap;gap:18px;padding:20px 22px;align-items:flex-end}
.f label{display:block;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:12px;color:var(--soft);margin-bottom:6px}
.f select,.f input{height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;background:var(--paper);color:var(--ink);min-width:170px}
.seg{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;height:44px;background:var(--paper)}
.seg button{border:0;background:transparent;padding:0 14px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;
  font-size:13.5px;color:var(--grey);cursor:pointer;border-right:1px solid var(--line);white-space:nowrap}
.seg button:last-child{border-right:0}
.seg button[aria-pressed=true]{background:var(--orange);color:#fff}
.ctlbar{background:var(--surface2);border-top:1px solid var(--line);padding:11px 22px;
  display:flex;flex-wrap:wrap;gap:18px;align-items:center;font-size:13.5px;color:var(--grey)}
.ctlbar b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--go);display:inline-block;margin-right:7px}

/* recommendation */
.rec{border-top:1px solid var(--line);display:grid;grid-template-columns:1.2fr 1fr}
@media(max-width:840px){.rec{grid-template-columns:1fr}}
.recL{padding:24px 22px}
.recR{padding:24px 22px;border-left:1px solid var(--line);background:var(--orange-lt)}
@media(max-width:840px){.recR{border-left:0;border-top:1px solid var(--line)}}
.reck{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:12px;color:var(--orange-dk);margin-bottom:8px}
.recL h2{font-size:31px;font-weight:800;letter-spacing:-.03em;line-height:1.08}
.recL .city{color:var(--grey);font-size:15px;margin-top:3px}
.recL .why{margin-top:14px;font-size:15px;color:var(--grey);max-width:48ch}
.recflags{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.amt{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:38px;letter-spacing:-.035em;line-height:1;color:var(--ink)}
.amtk{color:var(--grey);font-size:13.5px;margin-top:5px}
.lines{margin-top:16px;font-size:14px}
.lines .r{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dotted var(--orange-bd)}
.lines .r span:first-child{color:var(--grey)}
.lines .r span:last-child{font-variant-numeric:tabular-nums}
.lines .r.sum{border-bottom:0;border-top:1px solid var(--orange-bd);margin-top:5px;padding-top:11px;
  font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:16px}
.lines .r.sum span:last-child{color:var(--orange-dk)}
.recbtn{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.btn{background:var(--orange);color:#fff;border:0;height:42px;padding:0 20px;border-radius:8px;
  font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:14.5px;cursor:pointer}
.btn:hover{background:var(--orange-dk)}
.btn.ghost{background:var(--paper);border:1px solid var(--line);color:var(--grey)}
.btn.ghost:hover{border-color:var(--ink);color:var(--ink)}
.alertbox{margin-top:14px;border-left:3px solid var(--stop);background:var(--stop-bg);
  padding:10px 13px;font-size:13.5px;color:#7E2C20;border-radius:0 6px 6px 0}

/* winners */
.winners{display:grid;grid-template-columns:repeat(auto-fit,minmax(212px,1fr));gap:14px;margin-top:24px}
.win{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:15px 17px;cursor:pointer;text-align:left}
.win:hover{border-color:var(--orange)}
.win[aria-pressed=true]{border-color:var(--orange);background:var(--orange-lt);box-shadow:0 0 0 2px rgba(243,128,30,.14)}
.win .k{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:12px;color:var(--orange-dk);margin-bottom:7px}
.win .v{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:20px;letter-spacing:-.02em}
.win .s{color:var(--grey);font-size:13px;margin-top:2px}
.win .n{color:var(--soft);font-size:12.5px;margin-top:5px}

/* results */
.reshead{display:flex;flex-wrap:wrap;gap:14px;align-items:baseline;padding:30px 0 14px}
.reshead h3{font-size:20px;font-weight:700;letter-spacing:-.02em}
.reshead .hint{color:var(--soft);font-size:13.5px}
.reshead .views{margin-left:auto}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}

.stop{background:var(--paper);border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;overflow:hidden}
.stop.best{border-color:var(--orange);box-shadow:0 0 0 3px rgba(243,128,30,.13)}
.sh{display:flex;align-items:flex-start;gap:12px;padding:15px 17px 10px}
.fg{width:30px;height:20px;border-radius:3px;flex-shrink:0;overflow:hidden;display:block;
  box-shadow:0 0 0 1px rgba(0,0,0,.14)}
.fg svg{width:100%;height:100%;display:block}
.cflag{width:20px;height:14px;border-radius:2px;overflow:hidden;display:inline-block;
  vertical-align:-2px;margin-right:8px;box-shadow:0 0 0 1px rgba(0,0,0,.14)}
.cflag svg{width:100%;height:100%;display:block}
.sh .id{flex:1;min-width:0}
.sh .id b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:18px;letter-spacing:-.01em;display:block}
.sh .id small{color:var(--soft);font-size:12.5px}
.rib{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:10.5px;color:#fff;background:var(--orange);
  padding:3px 9px;border-radius:20px;white-space:nowrap}
.stop .price{padding:0 17px 13px}
.stop .price .big{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:28px;letter-spacing:-.03em}
.stop .price .u{color:var(--soft);font-size:12.5px;margin-top:2px}
.stop .bd{border-top:1px solid var(--line2);padding:11px 17px;font-size:13px;display:flex;flex-direction:column;gap:5px}
.stop .bd .r{display:flex;justify-content:space-between;gap:10px;color:var(--grey)}
.stop .bd .r span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}
.tags{border-top:1px solid var(--line2);padding:11px 17px;display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.tag{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;padding:3px 9px;border-radius:20px;border:1px solid}
.t-ok{color:var(--go);border-color:var(--ok-bd);background:var(--ok-bg)}
.t-limited{color:var(--warn);border-color:var(--warn-bd);background:var(--warn-bg)}
.t-short{color:var(--stop);border-color:var(--stop-bd);background:var(--stop-bg)}
.t-request{color:var(--grey);border-color:var(--line);background:var(--bg)}
.t-n{color:var(--grey);border-color:var(--line);background:var(--paper)}
.stopf{border-top:1px solid var(--line2);padding:11px 17px}
.stopf button{width:100%;height:36px;border-radius:7px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;
  font-size:13px;cursor:pointer;background:var(--grey-dk);color:#fff;border:0}
.stopf button:hover{background:var(--orange)}

.tablewrap{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:auto}
table.board{width:100%;border-collapse:collapse;font-size:14px}
table.board th{text-align:left;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:12px;color:var(--grey);
  padding:11px 12px;border-bottom:1px solid var(--line);background:var(--surface2);white-space:nowrap;cursor:pointer;user-select:none}
table.board th.n{text-align:right}
table.board th:hover{color:var(--orange-dk)}
table.board th[aria-sort]{color:var(--ink)}
table.board th .car{opacity:.3;font-size:9px}
table.board th[aria-sort] .car{opacity:1;color:var(--orange)}
table.board td{padding:11px 12px;border-bottom:1px solid var(--line2);vertical-align:middle}
table.board td.n{text-align:right;font-variant-numeric:tabular-nums}
table.board tbody tr{cursor:pointer}
table.board tbody tr:hover td{background:var(--surface2)}
table.board tbody tr.best td{background:linear-gradient(90deg,rgba(243,128,30,.12),transparent 60%)}
table.board .ap{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700}
table.board .ap small{display:block;color:var(--soft);font-weight:400;font-size:12px;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
table.board .tot{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700}
table.board td.win{color:var(--orange-dk);font-weight:700}
.sdot{display:inline-flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}
.sdot i{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}
.s-ok i{background:var(--go)} .s-ok{color:var(--go)}
.s-limited i{background:var(--warn)} .s-limited{color:var(--warn)}
.s-short i{background:var(--stop)} .s-short{color:var(--stop)}
.s-request i{background:var(--soft)} .s-request{color:var(--soft)}
.delta{font-size:12.5px;color:var(--soft);font-weight:400}

.empty{background:var(--paper);border:1px dashed var(--line);border-radius:12px;
  padding:44px 24px;text-align:center;color:var(--grey)}
.empty b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;display:block;color:var(--ink);font-size:16px;margin-bottom:6px}

/* dictionary */
.dict{display:grid;grid-template-columns:250px 1fr;gap:24px;padding:26px 0 0}
@media(max-width:860px){.dict{grid-template-columns:1fr}}
.dnav{display:flex;flex-direction:column;gap:3px;align-self:start;position:sticky;top:132px}
@media(max-width:860px){.dnav{position:static;flex-direction:row;flex-wrap:wrap}}
.dnav button{display:flex;align-items:center;gap:11px;background:none;border:1px solid transparent;
  border-radius:9px;padding:10px 12px;cursor:pointer;text-align:left;width:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.dnav button:hover{background:var(--paper)}
.dnav button[aria-pressed=true]{background:var(--paper);border-color:var(--line);box-shadow:0 0 0 2px rgba(243,128,30,.12)}
.dnav .cn{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:14.5px;display:block}
.dnav .cs{color:var(--soft);font-size:12px}
@media(max-width:860px){.dnav button{width:auto}.dnav .cs{display:none}}

.dbody{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.dhead{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:flex-start;flex-wrap:wrap}
.dhead .fg{width:46px;height:31px}
.dhead h2{font-size:25px;font-weight:800;letter-spacing:-.025em}
.dhead .sub{color:var(--grey);font-size:14px;margin-top:2px}
.dfacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;background:var(--line);border-bottom:1px solid var(--line)}
.dfacts .c{background:var(--paper);padding:13px 16px}
.dfacts .c .k{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;color:var(--soft);margin-bottom:4px}
.dfacts .c .v{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:16px}
.dfacts .c.acc{background:var(--orange-lt)}
.dfacts .c.acc .v{color:var(--orange-dk)}
.dsec{padding:20px 24px;border-bottom:1px solid var(--line2)}
.dsec:last-child{border-bottom:0}
.dsec h3{font-size:15px;font-weight:700;margin-bottom:10px;display:flex;align-items:center;gap:9px}
.dsec h3::before{content:"";width:4px;height:15px;background:var(--orange);border-radius:2px;flex-shrink:0}
.dsec .body{font-size:14.5px;color:var(--body-ink);max-width:78ch}
.dsec .body p{margin-bottom:10px}
.dsec .body ul,.dsec .body ol{margin:6px 0 10px 4px;display:flex;flex-direction:column;gap:7px}
.dsec .body li{list-style:none;position:relative;padding-left:20px}
.dsec .body ul li::before{content:"";position:absolute;left:3px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--orange)}
.dsec .body ol{counter-reset:s}
.dsec .body ol li{counter-increment:s}
.dsec .body ol li::before{content:counter(s);position:absolute;left:0;top:1px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:700;font-size:12px;color:var(--orange-dk)}
.dsec .body table.kv{border-collapse:collapse;font-size:14px;width:100%;max-width:640px}
.dsec .body table.kv td{padding:7px 10px;border-bottom:1px solid var(--line2);vertical-align:top}
.dsec .body table.kv td:first-child{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;color:var(--grey);width:26%;white-space:nowrap}
.dsec .body .todo{background:var(--warn-bg);border:1px dashed var(--warn-bd);color:#7A5408;padding:11px 14px;border-radius:7px}
.dsec .body b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700}
.dprices{padding:20px 24px;border-bottom:1px solid var(--line2)}
table.fuel{width:100%;border-collapse:collapse;font-size:14px}
table.fuel th{text-align:left;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;color:var(--soft);
  padding:8px 10px;border-bottom:1px solid var(--line)}
table.fuel th.n{text-align:right}
table.fuel td{padding:10px;border-bottom:1px solid var(--line2)}
table.fuel td.n{text-align:right;font-variant-numeric:tabular-nums}
table.fuel .ap{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700}
table.fuel .ap small{display:block;color:var(--soft);font-weight:400;font-size:12px;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}

/* care */
.care{background:var(--black2);border:1px solid var(--line);color:#EDE9E4;border-radius:12px;padding:32px 28px;margin:34px 0 0}
.care h3{color:var(--ink);font-size:22px;font-weight:800;letter-spacing:-.025em;max-width:27ch;line-height:1.2}
.care>p{color:var(--grey);max-width:64ch;margin-top:12px;font-size:15px}
.carecols{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:24px;margin-top:26px}
.carecols h4{color:var(--ink);font-size:15px;font-weight:700;margin-bottom:6px}
.carecols p{color:var(--grey);font-size:13.5px}
.careft{margin-top:26px;padding-top:20px;border-top:1px solid var(--line);font-size:15px;color:var(--ink)}
.careft b{color:var(--ink)}
footer{color:var(--soft);font-size:12.5px;padding:26px 0 48px;line-height:1.7}

/* modal */
.mask{position:fixed;inset:0;background:rgba(33,30,28,.5);display:none;z-index:60;
  align-items:center;justify-content:center;padding:20px}
.mask.on{display:flex}
.modal{background:var(--paper);border-radius:12px;max-width:520px;width:100%;max-height:90vh;overflow:auto}
.modalh{padding:20px 22px 0}
.modalh h3{font-size:20px;font-weight:800;letter-spacing:-.02em}
.modalh p{color:var(--grey);font-size:14px;margin-top:6px}
.modalb{padding:18px 22px}
.modalb label{display:block;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:12px;color:var(--soft);margin:12px 0 5px}
.modalb input,.modalb textarea{width:100%;border:1px solid var(--line);border-radius:8px;
  padding:10px 12px;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14.5px;background:var(--paper);color:var(--ink)}
.modalf{padding:0 22px 20px;display:flex;gap:10px}
.modalf .btn{flex:1}
.msg{margin-top:12px;font-size:13.5px;padding:10px 13px;border-radius:7px;display:none}
.msg.ok{display:block;background:var(--ok-bg);border:1px solid var(--ok-bd);color:#1B5C40}
.msg.bad{display:block;background:var(--stop-bg);border:1px solid var(--stop-bd);color:#7E2C20}
.recap{background:var(--orange-lt);border:1px solid var(--orange-bd);border-radius:8px;padding:12px 14px;font-size:13.5px;color:var(--grey)}
.recap b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}

/* ---------- country page: permits, visa, crew ---------- */
.srcline{font-size:12.5px;color:var(--soft);margin-top:8px}
.pcard{border:1px solid var(--line);border-radius:9px;padding:14px 16px;margin-bottom:12px;background:var(--surface2)}
.pcard .ph{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.pcard .ph b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:15px}
.ptag{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;padding:3px 9px;border-radius:20px;border:1px solid}
.pnote{font-size:13.5px;color:var(--grey);margin-top:9px}

.calc{border:1px dashed var(--orange);background:var(--orange-lt);border-radius:9px;padding:14px 16px;margin-top:4px}
.calcrow{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end}
.calcrow .f label{display:block;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;color:var(--grey);margin-bottom:5px}
.calcrow select,.calcrow input{height:40px;border:1px solid var(--line);border-radius:7px;padding:0 11px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;background:var(--paper);color:var(--ink);min-width:200px}
.calcout{margin-top:12px;padding-top:11px;border-top:1px solid var(--orange-bd);font-size:14px;color:var(--grey)}
.calcout b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}
.calcout.ok b{color:var(--go)}
.calcout.warn{color:var(--warn)} .calcout.warn b{color:var(--warn)}
.calcout.bad{color:var(--stop)} .calcout.bad b{color:var(--stop)}

table.vmat{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:10px}
table.vmat th{text-align:left;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;color:var(--soft);
  padding:8px 10px;border-bottom:1px solid var(--line)}
table.vmat td{padding:9px 10px;border-bottom:1px solid var(--line2);vertical-align:top}
.vstat{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;padding:2px 8px;border-radius:20px;border:1px solid;white-space:nowrap}
.vstat.ok{color:var(--go);border-color:var(--ok-bd);background:var(--ok-bg)}
.vstat.req{color:var(--warn);border-color:var(--warn-bd);background:var(--warn-bg)}

.wrow{display:flex;flex-direction:column;gap:3px;padding:11px 14px;border-radius:8px;margin-bottom:9px;
  border:1px solid;font-size:13.5px}
.wrow b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:13.5px}
.wrow.high{background:var(--stop-bg);border-color:var(--stop-bd);color:#7E2C20}
.wrow.medium{background:var(--warn-bg);border-color:var(--warn-bd);color:#7A5408}
.wrow.low{background:var(--bg);border-color:var(--line);color:var(--grey)}
.req{color:var(--warn);font-style:italic;font-size:12.5px}


/* fuel rate shown, never calculated */
.fuelrate{border:1px solid var(--orange-bd);background:var(--paper);border-radius:9px;padding:12px 14px;margin-bottom:16px}
.fuelrate .fk{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;color:var(--soft)}
.fuelrate .fv{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:24px;letter-spacing:-.02em;margin-top:2px}
.fuelrate .fv span{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:400;font-size:13px;color:var(--grey);letter-spacing:0}
.fuelrate .fs{font-size:12.5px;color:var(--soft);margin-top:3px}

.twin{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line2);
  border-top:1px solid var(--line2);border-bottom:1px solid var(--line2)}
.twin>div{background:var(--paper);padding:12px 17px}
.twin .tk{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11px;color:var(--soft)}
.twin .tv{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;font-size:21px;letter-spacing:-.02em;margin-top:3px}
.twin .tu{font-size:12px;color:var(--soft)}

.reflink{margin-top:14px;font-size:13.5px;color:var(--grey)}
.reflink a{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600}

.careft a{color:var(--orange);text-decoration:none;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700}
.careft a:hover{text-decoration:underline}
.careft b{color:var(--orange);font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800}

/* site footer */
footer.site{background:var(--util);color:#CFC7BF;border-top:3px solid var(--orange);margin-top:38px;padding:34px 0 28px}
footer.site .fmain{color:#B9B2AA;font-size:13.5px;max-width:78ch;margin:0 auto;line-height:1.75;text-align:justify;text-justify:inter-word}
footer.site .fmain a{color:var(--orange);font-family:Manrope,system-ui,sans-serif;font-weight:600;text-decoration:none}
.fcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:26px auto 0;padding-top:24px;
  border-top:1px solid var(--util-line);max-width:620px;text-align:center}
.fcols h5{font-family:Manrope,system-ui,sans-serif;font-weight:700;font-size:12px;color:var(--orange);margin-bottom:9px;
  letter-spacing:.04em;text-transform:uppercase}
.fcols h5+h5{margin-top:16px}
.fcols a,.fcols span{display:block;font-size:13.5px;color:#E4DED7;text-decoration:none;margin-bottom:5px}
.fcols a:hover{color:var(--orange)}
.fbase{margin-top:26px;padding-top:20px;border-top:1px solid var(--util-line);display:flex;flex-direction:column;align-items:center;gap:14px}
.fbase .slogan{font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:16px;color:var(--orange);letter-spacing:-.01em}
.fsocial{display:flex;gap:12px;align-items:center;justify-content:center}
.fsocial a{width:36px;height:36px;border-radius:9px;border:1px solid var(--util-line);display:grid;place-items:center;color:#CFC7BF}
.fsocial a:hover{border-color:var(--orange);color:var(--orange);background:rgba(243,128,30,.12)}
.fsocial svg{width:18px;height:18px;display:block;fill:currentColor}
.fbase .copy{color:#9E968E;font-size:12.5px;text-align:center}

/* =================================================================
   Signed-in editing
   ================================================================= */
.adminbar{position:sticky;top:0;z-index:70;background:#211E1C;color:#EDE9E4;display:none}
body.editing .adminbar{display:block}
body.editing .top{top:48px}
body.editing .mtabs{top:116px}
.adminbar .wrap{display:flex;align-items:center;gap:14px;height:48px;flex-wrap:wrap}
.adminbar .who{font-size:13px;color:#B5AFA9}
.adminbar .who b{color:#fff;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700}
.adminbar .state{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:13px;padding:4px 10px;border-radius:20px}
.adminbar .state.clean{background:#1f3a2e;color:#9FE0C0}
.adminbar .state.dirty{background:#4a3212;color:#FFC98A}
.adminbar .acts{margin-left:auto;display:flex;gap:8px}
.adminbar button{height:32px;padding:0 14px;border-radius:7px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:13px;
  cursor:pointer;border:1px solid #4E4844;background:transparent;color:#EDE9E4}
.adminbar button:hover{border-color:#B5AFA9}
.adminbar button.save{background:var(--orange);border-color:var(--orange);color:#fff}
.adminbar button.save:disabled{opacity:.45;cursor:default}
.previewnote{background:var(--warn-bg);border-bottom:1px solid var(--warn-bd);color:#7A5408;font-size:13px;padding:8px 0;display:none}
body.preview.editing .previewnote{display:block}
@media(max-width:760px){body.editing .top{top:0;position:static}body.editing .mtabs{top:48px}}

/* editable fields look like the text they replace, with a clear edge */
.ed{width:100%;border:1px solid var(--edit-bd);background:var(--edit-bg);border-radius:6px;padding:7px 9px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;color:var(--ink);line-height:1.5}
.ed:focus{outline:2px solid var(--orange);outline-offset:1px;background:var(--paper)}
textarea.ed{resize:vertical;min-height:40px}
input.ed[type=number]{text-align:right}
.ed.sm{width:auto;min-width:0;padding:5px 7px;font-size:13.5px}
.edhint{font-size:12px;color:var(--soft);margin-top:4px}
.chg{outline:2px solid var(--edit-bd);outline-offset:1px}

/* ---------- country page, fixed template ---------- */
.rq{display:grid;grid-template-columns:230px 1fr;gap:0;border-top:1px solid var(--line2)}
.rq:first-of-type{border-top:0}
.rq .rl{padding:9px 14px 9px 0;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:13px;color:var(--grey)}
.rq .rv{padding:9px 0;font-size:14.5px;color:var(--body-ink);min-width:0;overflow-wrap:anywhere}
.rq .rv ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px}
.rq .rv li{position:relative;padding-left:17px}
.rq .rv li::before{content:"";position:absolute;left:3px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--orange)}
@media(max-width:700px){.rq{grid-template-columns:1fr}.rq .rl{padding-bottom:0}}
.sechead{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.sechead h3{margin:0!important}
.secempty{color:var(--soft);font-size:13.5px;font-style:italic;padding:4px 0}
.secmeta{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px;padding-top:9px;border-top:1px dashed var(--line);
  font-size:12.5px;color:var(--soft)}
.secmeta a{color:var(--orange-dk)}
.editing .secmeta{display:grid;grid-template-columns:230px 1fr;gap:6px 0;align-items:center}
.choice{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:12px;padding:3px 10px;border-radius:20px;border:1px solid;display:inline-block}
.choice.yes{color:var(--go);border-color:var(--ok-bd);background:var(--ok-bg)}
.choice.no{color:var(--stop);border-color:var(--stop-bd);background:var(--stop-bg)}
.choice.conditional{color:var(--warn);border-color:var(--warn-bd);background:var(--warn-bg)}
.choice.confirm{color:var(--grey);border-color:var(--line);background:var(--bg)}
.choice.plainyes{color:var(--stop);border-color:var(--stop-bd);background:var(--stop-bg)}
.choice.plainno{color:var(--go);border-color:var(--ok-bd);background:var(--ok-bg)}
.rowdel{background:none;border:0;color:var(--stop);cursor:pointer;font-size:17px;line-height:1;padding:3px 7px;border-radius:5px}
.rowdel:hover{background:var(--stop-bg)}
.addrow td{background:var(--warn-bg)}
.minibtn{height:32px;padding:0 13px;border-radius:7px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:13px;cursor:pointer;
  background:var(--orange);color:#fff;border:0}
.minibtn.ghost{background:var(--paper);border:1px solid var(--line);color:var(--grey)}
.minibtn.ghost:hover{border-color:var(--ink);color:var(--ink)}
.minibtn.danger{background:var(--paper);border:1px solid var(--stop-bd);color:var(--stop)}

/* ---------- operations tab ---------- */
.ops{padding:24px 0 10px}
.opsnav{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}
.opsnav button{padding:8px 14px;border-radius:20px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:13.5px;
  border:1px solid var(--line);background:var(--paper);color:var(--grey);cursor:pointer}
.opsnav button[aria-pressed=true]{border-color:var(--orange);background:var(--orange-lt);color:var(--orange-dk)}
.opcard{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:16px}
.opcard>h2{font-size:17px;font-weight:800;letter-spacing:-.02em;padding:16px 20px;border-bottom:1px solid var(--line)}
.opcard>h2 small{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:400;font-size:13px;color:var(--grey);margin-left:8px;letter-spacing:0}
.opnote{background:var(--orange-lt);border:1px solid var(--orange-bd);border-radius:9px;padding:12px 15px;margin:16px 20px;
  font-size:13.5px;color:var(--grey)}
.opnote b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}
.opbody{padding:16px 20px}
.optable{width:100%;border-collapse:collapse;font-size:13.5px}
.optable th{text-align:left;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:12px;color:var(--grey);padding:9px 8px;
  border-bottom:1px solid var(--line);background:var(--surface2);white-space:nowrap}
.optable td{padding:6px 8px;border-bottom:1px solid var(--line2);vertical-align:middle}
.optable tr.grp td{background:var(--orange-lt);border-left:3px solid var(--orange);font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:700;font-size:13px}
.opbar{padding:13px 20px;border-top:1px solid var(--line);background:var(--surface2);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.opbar .hint{font-size:13px;color:var(--grey)}
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chips button{padding:6px 12px;border-radius:20px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:13px;border:1px solid var(--line);
  background:var(--paper);color:var(--grey);cursor:pointer;display:flex;align-items:center;gap:7px}
.chips button[aria-pressed=true]{border-color:var(--orange);background:var(--orange-lt);color:var(--orange-dk)}
.chips button.none{border-color:var(--stop-bd);color:var(--stop);background:var(--stop-bg)}
.chips .cf{width:18px;height:12px;border-radius:2px;overflow:hidden;display:block;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.chips .cf svg{width:100%;height:100%;display:block}
.drop{border:2px dashed var(--edit-bd);border-radius:12px;padding:30px 20px;text-align:center;background:var(--edit-bg);color:var(--grey);cursor:pointer}
.drop:hover,.drop.over{border-color:var(--orange);background:var(--orange-lt)}
.drop b{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);display:block;font-size:15px;margin-bottom:4px}
.replist{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px;font-size:13.5px}
.replist li{padding:7px 11px;border-radius:7px}
.replist.err li{background:var(--stop-bg);color:#7E2C20}
.replist.warn li{background:var(--warn-bg);color:#7A5408}
.replist.ok li{background:var(--ok-bg);color:#1B5C40}
.vpill{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:11.5px;padding:2px 9px;border-radius:20px;border:1px solid var(--line);background:var(--bg);color:var(--grey)}
.vpill.cur{border-color:var(--ok-bd);background:var(--ok-bg);color:var(--go)}

/* ---------- hidden sign-in ---------- */
.staff{background:none;border:0;color:inherit;font:inherit;cursor:default;padding:0 2px}
.staff:focus-visible{outline:2px solid var(--orange);outline-offset:2px;cursor:pointer}
.toast{position:fixed;right:20px;bottom:20px;z-index:120;background:#1B5C40;color:#fff;padding:12px 18px;border-radius:9px;
  font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:600;font-size:13.5px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;
  box-shadow:0 10px 28px -14px rgba(0,0,0,.5);max-width:420px}
.toast.on{opacity:1;transform:none}
.toast.bad{background:#8C2F22}
.livebanner{background:var(--stop-bg);border-bottom:1px solid var(--stop-bd);color:#7E2C20;font-size:13.5px;padding:10px 0;display:none}
.livebanner.on{display:block}
/* keep focused fields and anchors clear of the sticky bars */
html{scroll-padding-top:140px}
html:has(body.editing){scroll-padding-top:190px}

.choice.need{color:var(--orange-dk);border-color:var(--orange-bd);background:var(--orange-lt)}

/* ---------- shared intro shown on every page ---------- */
.pageintro{color:var(--grey);font-size:15px;line-height:1.7;text-align:justify;text-justify:inter-word;max-width:96ch}
.pageintro a{color:var(--orange-dk);font-weight:600}
.dictintro{padding:22px 0 0}
.bestline{display:flex;align-items:baseline;gap:10px;margin:26px 0 -4px}
.bestline h3{font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:18px;letter-spacing:-.02em}
.bestline span{color:var(--soft);font-size:13px}
.estnote{margin-top:10px;font-size:13px;color:var(--warn);background:var(--warn-bg);border:1px solid var(--warn-bd);
  border-radius:8px;padding:9px 13px}
.ctlbar .warnnote{color:var(--warn);font-weight:600}
.care h3,.care p,.careft{text-align:justify;text-justify:inter-word}

/* ---------- mobile ---------- */
@media(max-width:760px){
  .topin{height:auto;padding:10px 24px;gap:8px}
  .brandbox{gap:7px;align-items:baseline;flex-wrap:wrap}
  .brandbox .lg{font-size:19px}
  .tagline{display:none}
  .powered{display:inline;font-size:11.5px;line-height:1.35;color:#B9B2AA}
  .brandbox .bar{display:none}
  .hcontact{margin-left:0;width:100%;gap:14px;flex-wrap:wrap}
  .hcontact a{font-size:13px}

  .mtabs .wrap{padding:0 12px}
  .mtabs button{padding:12px 10px;font-size:13.5px}
  .stats{gap:16px 22px}
  .stats>div{flex:1 1 40%}
  .hero{padding:26px 0 26px}
  .hero h1{font-size:26px;line-height:1.15}
  .hero p,.pageintro{text-align:justify;text-justify:inter-word;font-size:14.5px}
  .stats{gap:20px;margin-top:20px}
  .stats .n{font-size:22px}.stats .k{font-size:12px}

  .ctl{flex-direction:column;align-items:stretch;gap:14px;padding:16px}
  .ctl .f{width:100%}
  .ctl .f select,.ctl .f input{width:100%;min-width:0}
  .seg{width:100%;height:auto;flex-wrap:wrap}
  .seg button{flex:1 1 33%;min-width:110px;padding:11px 8px;border-bottom:1px solid var(--line)}
  .ctlbar{flex-direction:column;align-items:flex-start;gap:7px;font-size:13px;padding:12px 16px}
  .ctlbar span[style]{margin-left:0!important}

  .rec{grid-template-columns:1fr}
  .recL,.recR{padding:18px 16px}
  .recL h2{font-size:26px}
  .winners{grid-template-columns:1fr}

  /* cards only on phones, the comparison table stays on desktop */
  #views{display:none}
  #table{display:none!important}
  #cards{display:grid!important;grid-template-columns:1fr}

  .care{padding:24px 18px}
  .care h3{font-size:19px}
  .carecols{grid-template-columns:1fr;gap:18px}

  .fcols{grid-template-columns:1fr 1fr;gap:18px;text-align:left;max-width:none}
  .fcols h5{font-size:11px}
  .fcols a,.fcols span{font-size:13px}
  footer.site .fmain{font-size:13px}
  .dict{grid-template-columns:1fr}
  .dnav{flex-direction:row;overflow-x:auto;padding-bottom:4px}
  .dnav button{width:auto;flex:0 0 auto}
}


/* =================================================================
   Dark mode. Light is the default; this only swaps the tokens.
   ================================================================= */
html[data-theme="dark"]{
  --bg:#141110;
  --paper:#1C1917;
  --surface2:#231F1C;
  --ink:#F2EDE7;
  --grey:#B5ADA5;
  --soft:#8C847C;
  --line:#332E2A;
  --line2:#272321;
  --orange-lt:#2C1F13;
  --edit-bg:#241D15;
  --edit-bd:#6B4D28;
  --orange-bd:#5A3F22;
  --ok-bg:#16271F;   --ok-bd:#2C4B3C;
  --warn-bg:#2A2114;  --warn-bd:#54421F;
  --stop-bg:#2C1B18;  --stop-bd:#5A322B;
  --go:#5FC79B; --warn:#E0A94A; --stop:#E5806F;
  --orange-dk:#FF9A3D;
  --black:#2A2724; --black2:#211E1C;
  --body-ink:#E7E1DA;
  --util:#1A1716;
  --util-line:#332E2A;
  --brand:#EDE7E0;
  --shadow:0,0,0;
}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .hero{background:linear-gradient(180deg,var(--paper),var(--bg))}
html[data-theme="dark"] .sheet{box-shadow:0 14px 34px -26px rgba(0,0,0,.8)}
html[data-theme="dark"] .stop .price .big,html[data-theme="dark"] .amt,
html[data-theme="dark"] .twin .tv,html[data-theme="dark"] .win .v{color:var(--ink)}
html[data-theme="dark"] .lines .r.sum span:last-child{color:var(--orange)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{
  background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .board tbody tr.best td{background:linear-gradient(90deg,rgba(243,128,30,.18),transparent 60%)}
html[data-theme="dark"] .alertbox{background:var(--stop-bg);color:#F3BDB1}
html[data-theme="dark"] .todo,html[data-theme="dark"] .estnote{color:#E8C98A}
html[data-theme="dark"] .msg.ok{background:var(--ok-bg);color:#8FD9B6}
html[data-theme="dark"] .msg.bad{background:var(--stop-bg);color:#F0B3A7}
html[data-theme="dark"] .empty{background:var(--paper)}
html[data-theme="dark"] .care{background:var(--surface2);border-color:var(--line)}
html[data-theme="dark"] .dnav button[aria-pressed=true]{background:var(--paper)}

/* =================================================================
   Utility bar and header, following vipaviation.ge
   ================================================================= */
.utilbar{background:var(--util);color:#CFC7BF;font-size:12.5px;border-bottom:1px solid var(--util-line)}
.utilbar .wrap{display:flex;align-items:center;gap:16px;height:38px;flex-wrap:nowrap;overflow:hidden}
.utilbar .status{display:flex;align-items:center;gap:7px;font-family:Manrope,system-ui,sans-serif;font-weight:700;
  font-size:11.5px;letter-spacing:.06em;color:#E4DED7;text-transform:uppercase;white-space:nowrap}
.utilbar .status i{width:7px;height:7px;border-radius:50%;background:var(--go);display:block;flex:0 0 auto}
.utilbar a{color:#CFC7BF;text-decoration:none;white-space:nowrap}
.utilbar a:hover{color:var(--orange)}
.utilbar b{color:#fff;font-family:Manrope,system-ui,sans-serif;font-weight:700}
.utilbar .sep{width:1px;height:16px;background:var(--util-line);flex:0 0 auto}
.utilbar .right{margin-left:auto;display:flex;align-items:center;gap:12px}
.usocial{display:flex;gap:8px}
.usocial a{width:26px;height:26px;border-radius:6px;display:grid;place-items:center;color:#B7AFA7;border:1px solid var(--util-line)}
.usocial a:hover{color:var(--orange);border-color:var(--orange)}
.usocial svg{width:14px;height:14px;fill:currentColor;display:block}
.themebtn{display:flex;align-items:center;gap:7px;background:transparent;border:1px solid var(--util-line);color:#CFC7BF;
  height:26px;padding:0 10px;border-radius:6px;font-family:Manrope,system-ui,sans-serif;font-weight:600;font-size:11.5px;cursor:pointer}
.themebtn:hover{border-color:var(--orange);color:var(--orange)}
.themebtn svg{width:13px;height:13px;fill:currentColor}

/* brand mark */
.mark{width:34px;height:34px;border-radius:8px;flex:0 0 auto;display:block}
.brandbox{display:flex;align-items:center;gap:11px}
.brandtext{display:flex;flex-direction:column;line-height:1.15}
.brandtext .lg{font-size:20px}
.brandtext .powered{font-size:11.5px}

/* tabs live in the dark header, as the site's nav does */
.mtabs{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:39}
.mtabs .wrap{display:flex;gap:2px;overflow-x:auto}
.mtabs button{color:var(--grey);padding:13px 16px}
.mtabs button:hover{color:var(--ink)}
.mtabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--orange)}

body.editing .mtabs{top:48px}
@media(max-width:760px){
  .utilbar .wrap{height:auto;padding-top:8px;padding-bottom:8px;overflow-x:auto;gap:12px}
  .utilbar .hideph{display:none}
  .topin{padding-top:12px;padding-bottom:12px}
  .mtabs{top:0}
}

html[data-theme="dark"] .dnav .cn{color:var(--ink)}
html[data-theme="dark"] .secempty,html[data-theme="dark"] .edhint{color:var(--soft)}
html[data-theme="dark"] .rq .rl{color:var(--grey)}
html[data-theme="dark"] .dfacts .c .v{color:var(--ink)}
html[data-theme="dark"] .fuel td,html[data-theme="dark"] .board td{color:var(--body-ink)}

/* =================================================================
   Header, following the vipaviation.ge layout
   ================================================================= */
.topin{display:flex;align-items:center;gap:26px;height:74px;flex-wrap:nowrap}
.brandbox{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.brandtext{display:flex;flex-direction:column;gap:2px;line-height:1.1}
.brandtext .lg{line-height:1.05}
.mtabs{position:static;background:transparent;border:0;display:flex;gap:2px;flex:1 1 auto;min-width:0;overflow-x:auto}
.mtabs button{background:none;border:0;padding:10px 14px;font-family:Manrope,system-ui,sans-serif;font-weight:600;
  font-size:14.5px;color:var(--grey);cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.mtabs button:hover{color:var(--ink)}
.mtabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--orange)}
.hreq{flex:0 0 auto;background:var(--orange);color:#fff;text-decoration:none;font-family:Manrope,system-ui,sans-serif;
  font-weight:700;font-size:14px;padding:12px 20px;border-radius:8px;white-space:nowrap}
.hreq:hover{background:var(--orange-dk);color:#fff}
body.editing .top{top:48px}

/* =================================================================
   Page intro and figures, centred and full width
   ================================================================= */
.pagetitle{font-family:Manrope,system-ui,sans-serif;font-weight:800;letter-spacing:-.03em;
  font-size:clamp(24px,3.4vw,34px);line-height:1.12;max-width:34ch;margin:0 auto 14px;text-align:center}
.pageintro{max-width:none;text-align:justify;text-justify:inter-word}
.introlink{color:var(--orange-dk);font-family:Manrope,system-ui,sans-serif;font-weight:700;text-decoration:none}
.introlink:hover{text-decoration:underline}
.intromid{display:block;text-align:center;margin-top:10px}
.stats{justify-content:center;text-align:center;gap:44px}
.dictintro{padding:26px 0 4px}
.dictintro .stats{margin-bottom:6px}

/* care band as a titled section */
.care{border-radius:12px}
.care h3{font-size:clamp(20px,2.6vw,25px);text-align:center;max-width:32ch;margin:0 auto 4px}
.carecols{margin-top:28px}
.careft{text-align:center}
.careft a{color:var(--orange);font-family:Manrope,system-ui,sans-serif;font-weight:800;text-decoration:none}
.careft a:hover{text-decoration:underline}
.careft .plain{color:var(--ink);font-family:Inter,system-ui,sans-serif;font-weight:500}
.vip{color:var(--orange);font-weight:700}

/* country list scrolls under the pointer */
.dnav{max-height:calc(100vh - 190px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
.dnav::-webkit-scrollbar{width:8px}
.dnav::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}
.dnav::-webkit-scrollbar-thumb:hover{background:var(--soft)}

/* =================================================================
   Mobile, front end and operations panel
   ================================================================= */
@media(max-width:900px){
  .topin{height:auto;padding-top:12px;padding-bottom:12px;flex-wrap:wrap;gap:12px}
  .brandbox{flex:1 1 auto}
  .hreq{order:2;padding:10px 16px;font-size:13.5px}
  .mtabs{order:3;flex:1 1 100%;border-top:1px solid var(--line);padding-top:4px}
  .mtabs button{padding:10px 12px;font-size:14px}
}
@media(max-width:760px){
  .pagetitle{font-size:24px;text-align:left;max-width:none}
  .stats{gap:18px 26px;justify-content:flex-start;text-align:left}
  .stats>div{flex:0 0 auto}
  .care h3{text-align:left;max-width:none}
  .careft{text-align:left}
  .dnav{max-height:none;overflow:visible;flex-direction:row;overflow-x:auto}

  /* operations panel on a phone */
  .opsnav{gap:5px}
  .opsnav button{padding:7px 11px;font-size:13px}
  .opcard>h2{font-size:15px;padding:13px 15px}
  .opnote{margin:12px 15px;padding:11px 13px;font-size:13px}
  .opbody{padding:14px 15px}
  .opbar{padding:12px 15px}
  .optable{display:block;overflow-x:auto;white-space:nowrap}
  .optable input,.optable select{min-width:90px}
  .adminbar .wrap{height:auto;padding-top:8px;padding-bottom:8px;gap:8px}
  .adminbar .acts{margin-left:0;width:100%;flex-wrap:wrap}
  .adminbar button{flex:1 1 auto;min-width:88px}
  body.editing .top{top:0;position:static}
  .rq{grid-template-columns:1fr}
  .secmeta{grid-template-columns:1fr!important}
  .modal{max-height:86vh}
}

/* handling request links, styled as the buttons they replace */
.stopf a{display:block;width:100%;height:36px;line-height:34px;text-align:center;border-radius:7px;
  font-family:Manrope,system-ui,sans-serif;font-weight:700;font-size:13px;background:transparent;
  border:1px solid var(--orange);color:var(--orange-dk);text-decoration:none}
.stopf a:hover{background:var(--orange);border-color:var(--orange);color:#fff}
a.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.board .aplink{color:inherit;text-decoration:none}
.board .aplink:hover{color:var(--orange-dk);text-decoration:underline}

/* intro spans the page, not a column */
.hero h1,.hero p.pageintro{max-width:none}
.hero h1{max-width:28ch}
.powered .vip{color:var(--orange)}

/* =================================================================
   October corrections
   ================================================================= */
/* both pages share one title treatment */
.hero h1.pagetitle{max-width:30ch;margin-left:auto;margin-right:auto;text-align:center}
.pageintro strong.intromid{font-weight:700;color:var(--ink)}
#dictView .pagetitle{margin-bottom:12px}
#dictView .pageintro{text-align:center;max-width:92ch;margin:0 auto}

/* footer contacts: one centred list, no headings */
.fcols{display:flex;flex-direction:column;align-items:center;gap:0;grid-template-columns:none;max-width:none}
.fcols a,.fcols span{display:block;font-size:14px;color:#E4DED7;text-decoration:none;margin:0 0 7px}
.fcols a:hover{color:var(--orange)}
.fbase .slogan{text-decoration:none}
.fbase .slogan:hover{text-decoration:underline}

@media(max-width:760px){
  /* top bar fits without sideways scrolling */
  .utilbar .wrap{overflow:visible;flex-wrap:nowrap;gap:10px;justify-content:space-between}
  .utilbar .usocial{display:none}
  .utilbar .sep{display:none}
  .utilbar .status{font-size:11px}
  .utilbar a{font-size:12.5px}
  .themebtn{padding:0 9px}

  /* figures stay on one line */
  .stats{display:flex;flex-wrap:nowrap;gap:12px;justify-content:space-between;text-align:center}
  .stats>div{flex:1 1 0;min-width:0}
  .stats .n{font-size:20px}
  .stats .k{font-size:11px;line-height:1.3}

  /* headings keep their title weight */
  .hero h1.pagetitle,#dictView .pagetitle{font-size:25px;text-align:left;max-width:none;margin-left:0;margin-right:0}
  #dictView .pageintro{text-align:justify}
  .care h3{font-size:21px;font-weight:800;text-align:left}

  /* the operations panel is a desktop tool: the symbol stays, the way in does not */
  .staff{pointer-events:none;cursor:default}
  .fsocial{display:none}
  .fcols a,.fcols span{font-size:13.5px}
}

/* =================================================================
   Contacts in three columns, mobile titles
   ================================================================= */
.fcols{display:grid;grid-template-columns:repeat(3,auto);justify-content:center;
  gap:10px 54px;align-items:start;max-width:none;text-align:left}
.fcols>div{display:flex;flex-direction:column;gap:7px}
.fcols a,.fcols span{display:block;font-size:14px;color:#E4DED7;text-decoration:none;margin:0;white-space:nowrap}
.fcols a:hover{color:var(--orange)}
.introline{display:block;margin-top:6px}

@media(max-width:760px){
  /* the header button belongs to the desktop layout */
  .hreq{display:none}

  /* headings read as titles, matching the desktop treatment */
  .hero h1.pagetitle,#dictView .pagetitle{font-size:27px;line-height:1.14;text-align:center;
    max-width:none;margin:0 auto 14px;letter-spacing:-.03em}
  .care h3{font-size:23px;line-height:1.18;text-align:center;letter-spacing:-.025em;margin:0 auto 6px}
  #dictView .pageintro{text-align:center}
  .introline{margin-top:8px}

  /* contacts stay in three columns, using the full width to fit */
  .fcols{grid-template-columns:repeat(3,auto);gap:8px 10px;justify-content:space-between;
    margin-left:-10px;margin-right:-10px}
  .fcols a,.fcols span{font-size:11.5px}
}
@media(max-width:380px){
  .fcols{grid-template-columns:1fr 1fr;gap:8px 16px;justify-content:center}
  .fcols>div:last-child{grid-column:1 / -1;align-items:center}
}

/* brand mark: HANDLING in dark grey, .GE in carrot orange */
.lg{color:var(--brand);text-transform:uppercase;letter-spacing:.005em}
.lg i{color:var(--orange);font-style:normal}
