/* GREEN MILES TOURS | Visual Rescue 2026-11-01
   A single, final presentation layer. Existing business logic is untouched.
   Fallback fonts are self-hosted. Cairo may be installed locally with the CLI installer.
*/
/* Fonts are installed once from official SIL-OFL sources via tools/install_fonts.php. */
@font-face{font-family:'GMT Cairo';src:url('../fonts/Cairo-Variable.ttf') format('truetype');font-weight:200 1000;font-style:normal;font-display:swap}
@font-face{font-family:'GMT Noto Sans Arabic';src:url('../fonts/NotoSansArabic-Variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:'GMT Noto Kufi';src:url('../fonts/NotoKufiArabic-Variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:'GMT Noto Naskh';src:url('../fonts/NotoNaskhArabic-Variable.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:'GMT Amiri';src:url('../fonts/Amiri-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'GMT Amiri';src:url('../fonts/Amiri-Bold.ttf') format('truetype');font-style:normal;font-weight:700 900;font-display:swap}
@font-face{font-family:'GMT Inter';src:url('../fonts/Inter-Variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{
 --gmtr-ink:#172f42;--gmtr-muted:#536c7e;--gmtr-line:#dbe6ec;--gmtr-surface:#ffffff;
 --gmtr-soft:#f5f8fb;--gmtr-focus:#0e7892;--gmtr-rad:14px;
 --gmtr-shadow:0 4px 16px rgba(14,46,71,.055);
 --gmt-english-font:'GMT Inter','Cairo',Arial,sans-serif;
}
html,body{width:100%;min-width:0;overflow-x:clip}
html[lang=ar] body.gmt-ui-v10{font-family:var(--v8-font,'GMT Cairo','Cairo','GMT Noto Sans Arabic',sans-serif)!important;letter-spacing:normal;line-height:1.85}
html[lang=en] body.gmt-ui-v10{font-family:var(--gmt-english-font)!important;line-height:1.7;letter-spacing:normal}
body.gmt-ui-v10{font-size:calc(15px * var(--v8-text-scale,1) * var(--gmt-reader-factor,1));color:var(--gmtr-ink);background:var(--bg,#f4f7fa)}
body.gmt-ui-v10 :is(h1,h2,h3,h4,h5,h6){font-family:inherit;letter-spacing:normal;line-height:1.45;overflow-wrap:break-word;text-wrap:balance}
body.gmt-ui-v10 :is(a,button,input,select,textarea,option,summary,label,th,td){font-family:inherit}
body.gmt-ui-v10 :is(input,select,textarea){font-size:.94rem;line-height:1.6;box-sizing:border-box}
body.gmt-ui-v10 p{line-height:1.85}
body.gmt-ui-v10 :is(.muted,.help,small){line-height:1.65}
body.gmt-ui-v10 :is(.eyebrow,.gmt-overline){letter-spacing:.015em;text-transform:none;font-weight:800}
body.gmt-ui-v10 :is(button,.btn){font-weight:750;letter-spacing:normal}
body.gmt-ui-v10 :is(.btn,button:not(.gmt-icon-control)){min-height:40px}
body.gmt-ui-v10 .btn{padding:9px 15px;border-radius:10px;line-height:1.5;gap:8px;font-size:.87rem;white-space:normal;text-wrap:pretty}
body.gmt-ui-v10 .btn.navy{background:var(--navy,#12436b);border-color:var(--navy,#12436b);color:#fff}
body.gmt-ui-v10 .btn.outline{background:#fff;border-color:#cbd9e3;color:var(--navy,#12436b)}
body.gmt-ui-v10 :is(.btn,a,button,summary){transition:background-color .12s ease,border-color .12s ease,color .12s ease}
body.gmt-ui-v10 :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--gmtr-focus)!important;outline-offset:3px!important;box-shadow:0 0 0 5px rgba(14,120,146,.1)}
body.gmt-ui-v10 button:disabled,body.gmt-ui-v10 .btn:disabled{opacity:.6;cursor:not-allowed}
/* Header and brand: no cropping, no stretched logos, aligned nav actions. */
body.gmt-ui-v10>.gmt-topbar{background:#fff;border-bottom:1px solid var(--gmtr-line);box-shadow:0 1px 12px rgba(12,39,56,.055);gap:14px}
body.gmt-ui-v10 .gmt-brand,body.gmt-ui-v10 .gmt-admin-brand{min-width:0;gap:11px;line-height:1.35;flex-shrink:1}
body.gmt-ui-v10 :is(.gmt-brand img,.gmt-admin-brand img){object-fit:contain;object-position:center;background:#fff;border:1px solid #e2eaee;border-radius:12px;padding:3px;flex:none}
body.gmt-ui-v10 .gmt-brand span,body.gmt-ui-v10 .gmt-admin-brand strong{overflow-wrap:break-word}
body.gmt-ui-v10 .gmt-primary-nav{gap:clamp(8px,.9vw,15px);flex-wrap:wrap}
body.gmt-ui-v10 .gmt-primary-nav>a{line-height:1.6}
body.gmt-ui-v10 .gmt-menu-toggle{border:1px solid var(--gmtr-line);border-radius:9px;color:#153a56;background:white;padding:5px 11px;min-width:42px}
body.admin.gmt-ui-v10>.gmt-topbar{min-height:76px;height:auto;padding:9px clamp(15px,2.4vw,35px)}
body.gmt-ui-v10 .gmt-admin-brand strong{font-size:13px}
body.gmt-ui-v10 .gmt-admin-header-caption{white-space:normal;font-size:.74rem}
body.gmt-ui-v10 .gmt-admin-primary-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px}
body.gmt-ui-v10 .gmt-admin-primary-actions a{padding:7px 11px}
body.gmt-ui-v10 :is(.gmt-user-menu,.gmt-notification-menu,.gmt-nav-dropdown-links,.gmt-view-settings-panel){border:1px solid var(--gmtr-line);box-shadow:0 16px 35px #12334e22;border-radius:12px;min-width:0;max-width:min(92vw,370px)}
/* Sidebar and route menu: a readable 250px rail with clear active state and icons. */
body.admin.gmt-ui-v10{--gmt-e-sidebar-width:255px}
body.admin.gmt-ui-v10 .gmt-grouped-layout{grid-template-columns:var(--gmt-e-sidebar-width) minmax(0,1fr)}
body.admin.gmt-ui-v10 .gmt-grouped-sidebar{background:linear-gradient(160deg,#102e49,#133d5e);padding:16px 10px 24px}
body.admin.gmt-ui-v10 .gmt-grouped-sidebar .s-title{font-size:12px;line-height:1.65;text-wrap:pretty}
body.admin.gmt-ui-v10 .gmt-grouped-sidebar .gmt-nav-link{font-size:12.5px;line-height:1.75;padding:8px 11px;min-height:37px}
body.admin.gmt-ui-v10 .gmt-grouped-sidebar .gmt-nav-group{background:#ffffff08;border-color:#ffffff23;margin-bottom:6px}
body.admin.gmt-ui-v10 .gmt-grouped-sidebar .gmt-nav-group>summary{display:flex;align-items:center;gap:10px;line-height:1.7;font-size:12.4px;min-height:44px;padding:9px 10px}
body.gmt-ui-v10 .gmt-nav-symbol{display:grid;place-items:center;width:28px;height:28px;flex:none;background:#ffffff13;border:1px solid #ffffff26;border-radius:8px;color:#f2d6a0;font-size:15px;line-height:1}
body.admin.gmt-ui-v10 .gmt-grouped-sidebar .gmt-nav-group[open]>summary{color:#fff}
body.admin.gmt-ui-v10 .gmt-grouped-sidebar .gmt-nav-link.active{background:#ecf6fc!important;color:#103b5e!important;border-inline-start:3px solid var(--gold,#e5b45b)!important}
body.gmt-ui-v10 .gmt-nav-count{margin-inline-start:auto;flex:none}
/* Page surface, cards, tables, form components. */
body.admin.gmt-ui-v10 .main-panel{padding:clamp(18px,2.3vw,34px);min-width:0;max-width:none}
body.gmt-ui-v10 .page-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:22px}
body.gmt-ui-v10 .page-title h1{font-size:clamp(22px,2.2vw,30px);margin:0;color:#193a51;line-height:1.5}
body.gmt-ui-v10 .page-title .eyebrow{letter-spacing:.06em;font-size:.69rem;opacity:.75}
body.gmt-ui-v10 .gmt-title-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body.gmt-ui-v10 :is(.panel,.gmt-section-panel,.stat,.gmt-kpi,.gmt-shortcut,.auth-card,.gmt-v162-news-card){border:1px solid var(--gmtr-line);border-radius:var(--gmtr-rad);background:var(--gmtr-surface);box-shadow:var(--gmtr-shadow)}
body.gmt-ui-v10 :is(.panel,.gmt-section-panel){padding:clamp(15px,1.8vw,26px);margin-block:0 16px;min-width:0}
body.gmt-ui-v10 :is(.panel,.gmt-section-panel)>:first-child{margin-top:0}
body.gmt-ui-v10 .panel h2{font-size:clamp(17px,1.55vw,22px);line-height:1.5;color:#17364c}
body.gmt-ui-v10 .panel h3{font-size:clamp(15px,1.25vw,18px)}
body.gmt-ui-v10 .gmt-work-intro{border-radius:18px;gap:15px;min-height:130px;padding:clamp(20px,2.7vw,34px);background:linear-gradient(115deg,var(--navy,#102f52),#155b66)}
body.gmt-ui-v10 .gmt-work-intro h2{font-size:clamp(21px,2.2vw,29px)!important;line-height:1.45}
body.gmt-ui-v10 .gmt-work-intro p{font-size:.91rem;line-height:1.8}
body.gmt-ui-v10 :is(.stat,.gmt-kpi){min-width:0;padding:clamp(13px,1.5vw,22px)}
body.gmt-ui-v10 :is(.stat,.gmt-kpi) strong{font-size:clamp(22px,2.6vw,32px);font-variant-numeric:tabular-nums}
body.gmt-ui-v10 :is(.field,.studio-field,label){max-width:100%;min-width:0}
body.gmt-ui-v10 :is(.field label,.studio-field>span){font-size:.84rem;font-weight:700;color:#354e61;line-height:1.75}
body.gmt-ui-v10 :is(.field input,.field select,.field textarea,.search,.studio-field input,.studio-field select,.studio-field textarea){width:100%;max-width:100%;min-width:0;min-height:43px;background:#fff;border:1px solid #cbd9e3;border-radius:10px;padding:9px 12px;color:#1f3b50;box-shadow:none;outline:none}
body.gmt-ui-v10 :is(textarea,.field textarea){min-height:88px;resize:vertical;line-height:1.8}
body.gmt-ui-v10 :is(input,textarea,select)::placeholder{color:#6b7f8d;opacity:1;font-weight:400}
body.gmt-ui-v10 :is(.notice,.flash){line-height:1.8;font-size:.88rem;padding:13px 17px;border-radius:11px;overflow-wrap:break-word}
body.gmt-ui-v10 .notice{background:#fff8eb;border:1px solid #f1ddae;color:#624c25}
body.gmt-ui-v10 .table-wrap{width:100%;max-width:100%;overflow:auto;border:1px solid var(--gmtr-line);border-radius:12px}
body.gmt-ui-v10 .data-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.84rem}
body.gmt-ui-v10 .data-table :is(th,td){text-align:start;padding:11px 13px;vertical-align:middle;line-height:1.7;border-bottom:1px solid #e6ecf1}
body.gmt-ui-v10 .data-table th{font-size:.8rem;font-weight:800;background:#edf4f8;color:#34526a;white-space:normal}
body.gmt-ui-v10 .data-table tr:nth-child(even) td{background:#fafcfd}
body.gmt-ui-v10 :is(.table-wrap,.data-table,.field,.gmt-section-panel,.studio-fields){min-width:0}
body.gmt-ui-v10 :is(.field-grid,.cards-two,.stats,.gmt-kpi-grid,.gmt-dash-columns){max-width:100%;min-width:0}
body.gmt-ui-v10 :is(.field-grid,.cards-two,.stats,.gmt-kpi-grid)>*{min-width:0}
body.gmt-ui-v10 :is(.empty,.gmt-v163-empty){padding:23px;background:#f9fbfd;color:#5f7787;border:1px dashed #cedde6;box-shadow:none}
body.gmt-ui-v10 .gmt-admin-footer{border-top:1px solid var(--gmtr-line);font-size:.78rem}
/* Public header/banner/footer, visually coherent with admin. */
body.public.gmt-ui-v10 .topbar,body.portal.gmt-ui-v10 .topbar{max-width:100%;gap:14px}
body.gmt-ui-v10 :is(.hero,.public-title,.gmt-premium-hero){overflow:hidden}
body.gmt-ui-v10 .hero h1{font-size:clamp(30px,4.1vw,58px);line-height:1.35}
body.gmt-ui-v10 .hero p{font-size:clamp(15px,1.15vw,18px);line-height:1.85}
body.gmt-ui-v10 .hero-art img{object-fit:contain;max-width:100%;height:auto}
body.gmt-ui-v10 .offer-card{border:1px solid var(--gmtr-line);border-radius:16px;overflow:hidden;box-shadow:var(--gmtr-shadow)}
body.gmt-ui-v10 .offer-card img{object-fit:cover;max-width:100%}
body.gmt-ui-v10 .footer{background:linear-gradient(110deg,var(--navy,#122f53),#163b57);color:#ebf3f7;line-height:1.75}
body.gmt-ui-v10 .footer a{color:#eef6f9;text-underline-offset:3px}
body.gmt-ui-v10 .footer a:hover{text-decoration:underline}
/* Writing direction: preserve IDs, emails and dates while avoiding RTL collisions. */
html[lang=ar] body.gmt-ui-v10 :is(input[type=email],input[type=url],input[type=tel],input[type=number],input[type=date],input[type=datetime-local],input[name*=reference],input[name*=code],input[name*=pnr]){direction:ltr;text-align:start;unicode-bidi:isolate}
html[lang=ar] body.gmt-ui-v10 :is(.data-table td,.gmt-record-details dd){unicode-bidi:plaintext}
body.gmt-ui-v10 :is(.gmt-code,.gmt-ref,.gmt-phone,[data-gmt-ltr]){direction:ltr;unicode-bidi:isolate;display:inline-block;font-variant-numeric:tabular-nums}
/* Typography selector: actual visual option grid in existing Appearance center. */
.gmt-font-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;margin-top:13px}
.gmt-font-sample{display:grid;gap:5px;text-align:start;padding:14px;background:#f9fbfd;border:1px solid #d8e4eb;border-radius:12px;min-width:0;min-height:100px;cursor:pointer}
.gmt-font-sample strong{font-size:1.04rem;line-height:1.5}
.gmt-font-sample small{color:#627789;font-size:.75rem}
.gmt-font-sample[aria-pressed=true]{background:#eff8fa;border-color:#16819a;box-shadow:inset 0 0 0 2px #16819a}
.gmt-font-sample:hover{border-color:#4c9da8}
.gmt-font-note{color:#5a7283;font-size:.8rem;line-height:1.75;margin-top:10px}
html[lang=ar] .gmt-font-sample[data-font-choice='cairo']{font-family:'GMT Cairo','Cairo','GMT Noto Sans Arabic',sans-serif}
html[lang=ar] .gmt-font-sample[data-font-choice='noto']{font-family:'GMT Noto Sans Arabic',sans-serif}
html[lang=ar] .gmt-font-sample[data-font-choice='kufi']{font-family:'GMT Noto Kufi',sans-serif}
html[lang=ar] .gmt-font-sample[data-font-choice='naskh']{font-family:'GMT Noto Naskh',serif}
html[lang=ar] .gmt-font-sample[data-font-choice='amiri']{font-family:'GMT Amiri',serif}
.gmt-font-sample[data-font-choice='inter']{font-family:'GMT Inter','GMT Noto Sans Arabic',sans-serif}
/* Keep mobile / reader modes usable. */
@media(max-width:1120px){body.gmt-ui-v10 .gmt-admin-header-caption{display:none}body.gmt-ui-v10 .gmt-admin-primary-actions{gap:2px}}
@media(max-width:900px){body.gmt-ui-v10 .gmt-primary-nav{gap:7px}body.admin.gmt-ui-v10{--gmt-e-sidebar-width:225px}body.admin.gmt-ui-v10 .gmt-grouped-layout{grid-template-columns:minmax(200px,225px) minmax(0,1fr)}}
@media(max-width:780px){
 body.admin.gmt-ui-v10 .gmt-grouped-layout{display:block!important}
 body.admin.gmt-ui-v10 .gmt-grouped-sidebar{display:none!important}
 body.admin.gmt-ui-v10 .main-panel{padding:16px 13px 48px}
 body.gmt-ui-v10 .page-title{align-items:flex-start}
 body.gmt-ui-v10 .gmt-title-actions{max-width:100%}
 body.gmt-ui-v10 :is(.field-grid,.cards-two,.stats,.gmt-kpi-grid){grid-template-columns:1fr 1fr}
 body.gmt-ui-v10 .gmt-primary-nav{max-height:calc(100vh - 77px);overflow-y:auto;align-items:stretch}
 body.gmt-ui-v10 .gmt-brand span{font-size:.91rem}
 body.gmt-ui-v10 .gmt-brand img{width:44px;height:44px}
 body.gmt-ui-v10 .gmt-work-intro{flex-wrap:wrap;align-items:flex-start}
}
@media(max-width:520px){
 body.gmt-ui-v10 :is(.field-grid,.cards-two,.stats,.gmt-kpi-grid,.gmt-dash-columns){grid-template-columns:minmax(0,1fr)}
 body.gmt-ui-v10 .gmt-font-library{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.admin.gmt-ui-v10>.gmt-topbar{flex-wrap:wrap;gap:8px;min-height:74px}
 body.gmt-ui-v10 .gmt-admin-brand small{display:none}
 body.gmt-ui-v10 .gmt-admin-primary-actions a{padding:7px;font-size:.74rem}
 body.gmt-ui-v10 .gmt-enterprise-tools{margin-inline-start:auto}
 body.gmt-ui-v10 .btn{width:auto;max-width:100%}
 body.gmt-ui-v10 .form-actions>.btn{flex:1 1 100%}
}
@media(max-width:370px){body.gmt-ui-v10 .gmt-font-library{grid-template-columns:1fr}}
@media(min-width:1700px){body.admin.gmt-ui-v10 .main-panel{padding-inline:clamp(30px,5vw,90px)}body.gmt-ui-v10 .main-panel>.panel{max-width:1550px}}
@media(prefers-reduced-motion:reduce){body.gmt-ui-v10 :is(a,button,summary){transition:none}}
@media print{body.gmt-ui-v10{font-size:11pt}body.gmt-ui-v10 :is(.gmt-topbar,.gmt-grouped-sidebar,.gmt-mobile-nav){display:none!important}body.admin.gmt-ui-v10 .gmt-grouped-layout{display:block!important}}
