/*
 * FIRSTPHNE Unified Client + Landing Theme
 * Scope: public landing, auth, client only. Admin is intentionally untouched.
 */
:root{
  --aw-primary:#0A6B54;
  --aw-primary-700:#07513F;
  --aw-primary-900:#06372D;
  --aw-primary-soft:#EAF6F1;
  --aw-secondary:#123C32;
  --aw-secondary-700:#0A6B54;
  --aw-accent:#C7A15A;
  --aw-accent-700:#A98236;
  --aw-accent-soft:#FBF5E7;
  --aw-bg:#F8FAF7;
  --aw-bg-2:#F1F5F2;
  --aw-surface:#FFFFFF;
  --aw-surface-2:#FCFDFB;
  --aw-border:#DDE7E0;
  --aw-border-2:#C8D7CF;
  --aw-text:#10231D;
  --aw-muted:#66746E;
  --aw-muted-2:#8B9B94;
  --aw-success:#14804A;
  --aw-warning:#B7791F;
  --aw-danger:#C53030;
  --aw-info:#2C7A9B;
  --aw-radius-xs:8px;
  --aw-radius-sm:12px;
  --aw-radius-md:16px;
  --aw-radius-lg:22px;
  --aw-radius-xl:30px;
  --aw-container:1180px;
  --aw-space-1:.25rem;
  --aw-space-2:.5rem;
  --aw-space-3:.75rem;
  --aw-space-4:1rem;
  --aw-space-5:1.25rem;
  --aw-space-6:1.5rem;
  --aw-space-8:2rem;
  --aw-shadow-sm:0 8px 20px rgba(9,59,45,.06);
  --aw-shadow-md:0 18px 44px rgba(9,59,45,.10);
  --aw-shadow-lg:0 28px 70px rgba(9,59,45,.14);
  --aw-font:'Tajawal','Cairo',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;

  /* compatibility with existing templates */
  --primary:var(--aw-primary);
  --primary-dark:var(--aw-primary-900);
  --primary-mid:var(--aw-primary-700);
  --accent:var(--aw-accent);
  --accent-dark:var(--aw-accent-700);
  --accent-light:var(--aw-accent-soft);
  --sky:var(--aw-info);
  --sky-light:#EEF7FA;
  --gold:var(--aw-accent);
  --bg:var(--aw-bg);
  --bg-card:var(--aw-surface);
  --text:var(--aw-text);
  --text-light:#fff;
  --muted:var(--aw-muted);
  --border:var(--aw-border);
  --success:var(--aw-success);
  --danger:var(--aw-danger);
  --warning:var(--aw-warning);
  --info:var(--aw-info);
  --shadow:var(--aw-shadow-sm);
  --shadow-md:var(--aw-shadow-md);
  --shadow-lg:var(--aw-shadow-lg);
  --radius:var(--aw-radius-sm);
  --radius-lg:var(--aw-radius-md);
  --font:var(--aw-font);
  --transition:.22s ease;
}

body.front-theme{margin:0;direction:rtl;text-align:right;font-family:var(--aw-font);font-size:16px;line-height:1.78;color:var(--aw-text);background:linear-gradient(180deg,#fbfdfb 0%,var(--aw-bg) 42%,#f6f8f5 100%);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
body.front-theme *{box-sizing:border-box}
body.front-theme a{text-decoration:none;color:var(--aw-primary);transition:color .22s ease,background .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease}
body.front-theme a:hover{color:var(--aw-primary-900)}
body.front-theme img{max-width:100%;height:auto;display:block}
body.front-theme button,body.front-theme input,body.front-theme select,body.front-theme textarea{font-family:var(--aw-font)}
body.front-theme button{cursor:pointer}
body.front-theme h1,body.front-theme h2,body.front-theme h3,body.front-theme h4,body.front-theme h5,body.front-theme h6{margin:0 0 .65rem;line-height:1.35;color:var(--aw-secondary);letter-spacing:-.01em}
body.front-theme h1{font-size:clamp(2.05rem,4.4vw,4.55rem);font-weight:900;line-height:1.13}
body.front-theme h2{font-size:clamp(1.45rem,2.55vw,2.55rem);font-weight:900}
body.front-theme h3{font-size:1.12rem;font-weight:800}
body.front-theme p{margin:.15rem 0 0;color:var(--aw-muted);line-height:1.95}
body.front-theme .front-shell,body.front-theme .container,body.scope-client .client-nav-wrapper{width:min(calc(100% - 2rem),var(--aw-container));margin-inline:auto}

/* Core controls */
body.front-theme .btn,body.front-theme .front-btn,body.front-theme button[type=submit],body.front-theme .page-btn,body.front-theme .copy-btn,body.front-theme .client-menu-btn,body.front-theme .client-logout-btn,body.front-theme .client-notif-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;padding:.78rem 1.15rem;border-radius:var(--aw-radius-sm);border:1px solid transparent;font-weight:800;font-size:.94rem;line-height:1.2;white-space:nowrap;transition:all .22s ease}
body.front-theme .btn:hover,body.front-theme .front-btn:hover,body.front-theme .page-btn:hover,body.front-theme .copy-btn:hover{transform:translateY(-1px)}
body.front-theme .btn-primary,body.front-theme .front-btn--primary{background:linear-gradient(135deg,var(--aw-primary),var(--aw-primary-700));border-color:var(--aw-primary);color:#fff!important;box-shadow:0 14px 30px rgba(10,107,84,.20)}
body.front-theme .btn-primary:hover,body.front-theme .front-btn--primary:hover{background:linear-gradient(135deg,var(--aw-primary-700),var(--aw-primary-900));color:#fff!important;box-shadow:0 18px 38px rgba(10,107,84,.24)}
body.front-theme .btn-outline,body.front-theme .front-btn--ghost,body.front-theme .btn-muted{background:#fff;border-color:var(--aw-border-2);color:var(--aw-secondary)!important;box-shadow:var(--aw-shadow-sm)}
body.front-theme .btn-outline:hover,body.front-theme .front-btn--ghost:hover,body.front-theme .btn-muted:hover{background:var(--aw-primary-soft);border-color:#bad7cd;color:var(--aw-primary-700)!important}
body.front-theme .front-btn--light,body.front-theme .btn-light{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.34);color:#fff!important;backdrop-filter:blur(10px)}
body.front-theme .front-btn--light:hover,body.front-theme .btn-light:hover{background:#fff;color:var(--aw-secondary)!important}
body.front-theme .btn-accent{background:linear-gradient(135deg,var(--aw-accent),var(--aw-accent-700));border-color:var(--aw-accent);color:#fff!important;box-shadow:0 14px 30px rgba(199,161,90,.22)}
body.front-theme .btn-sm{min-height:36px;padding:.52rem .8rem;border-radius:10px;font-size:.8rem}
body.front-theme .btn-block{width:100%}

/* Forms */
body.front-theme .form-group{margin-bottom:1rem}
body.front-theme label,body.front-theme .label{display:block;margin-bottom:.45rem;color:var(--aw-secondary);font-weight:800;font-size:.92rem}
body.front-theme input[type=text],body.front-theme input[type=email],body.front-theme input[type=tel],body.front-theme input[type=password],body.front-theme input[type=number],body.front-theme input[type=date],body.front-theme input[type=search],body.front-theme select,body.front-theme textarea{width:100%;min-height:48px;padding:.86rem 1rem;border:1px solid var(--aw-border-2);border-radius:var(--aw-radius-sm);background:#fff;color:var(--aw-text);outline:none;font-size:.95rem;transition:border-color .22s ease,box-shadow .22s ease,background .22s ease}
body.front-theme textarea{min-height:128px;resize:vertical}
body.front-theme input:focus,body.front-theme select:focus,body.front-theme textarea:focus{border-color:rgba(10,107,84,.55);box-shadow:0 0 0 4px rgba(10,107,84,.10);background:#fff}
body.front-theme input::placeholder,body.front-theme textarea::placeholder{color:#95A49D}
body.front-theme .password-field{position:relative}
body.front-theme .password-field input{padding-left:3.15rem!important}
body.front-theme .password-toggle{position:absolute;left:.55rem;top:50%;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:10px;background:var(--aw-primary-soft);color:var(--aw-primary);padding:0}
body.front-theme .password-toggle:hover,body.front-theme .password-toggle:focus{background:#dcefe7;color:var(--aw-primary-900);outline:none}
body.front-theme input[type=checkbox]{width:18px;height:18px;accent-color:var(--aw-primary)}

/* Alerts / badges / cards */
body.front-theme .card,body.front-theme .front-section__card,body.front-theme .cl-card,body.front-theme .auth-card,body.front-theme .stat-card,body.front-theme .pr-card,body.front-theme .cdoc-sign-sec,body.front-theme .cdoc-cl,body.front-theme .cdoc-sig{background:var(--aw-surface);border:1px solid var(--aw-border);border-radius:var(--aw-radius-lg);box-shadow:var(--aw-shadow-sm)}
body.front-theme .alert{display:flex;align-items:flex-start;gap:.65rem;position:relative;padding:1rem 1.15rem;border-radius:var(--aw-radius-md);border:1px solid transparent;box-shadow:var(--aw-shadow-sm);margin-bottom:1rem}
body.front-theme .alert-success{background:#edf9f2;border-color:#cdebd8;color:#17653e}
body.front-theme .alert-danger{background:#fff1f1;border-color:#f1c9c9;color:#9d2b2b}
body.front-theme .alert-warning{background:#fff8e8;border-color:#efd9a7;color:#87540d}
body.front-theme .alert-info{background:#eef8fb;border-color:#cde8ef;color:#1b5f78}
body.front-theme .alert-close{position:absolute;left:.8rem;top:.7rem;background:transparent;border:none;color:inherit;opacity:.65;font-size:1.15rem}
body.front-theme .badge{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.36rem .62rem;font-size:.74rem;font-weight:900;border:1px solid transparent;line-height:1.1}
body.front-theme .badge-success{background:#e9f7ef;color:#17653e;border-color:#ccebd8}
body.front-theme .badge-warning{background:#fff7e7;color:#84500b;border-color:#efd8a8}
body.front-theme .badge-danger{background:#fff0f0;color:#9d2b2b;border-color:#f0caca}
body.front-theme .badge-info{background:#eef7fb;color:#1b5f78;border-color:#cae6ee}
body.front-theme .badge-secondary{background:#f1f4f3;color:#5d6b66;border-color:#dfe7e3}
body.front-theme .text-primary{color:var(--aw-primary)!important}
body.front-theme .text-muted{color:var(--aw-muted)!important}
body.front-theme .text-sm{font-size:.86rem!important}
body.front-theme .link{font-weight:800;color:var(--aw-primary);border-bottom:1px solid rgba(10,107,84,.18)}
body.front-theme .link:hover{border-bottom-color:rgba(10,107,84,.45)}

/* Landing/public navigation */
body.scope-public .front-topbar,body.scope-auth .front-topbar,body.scope-client .client-shell-nav{position:sticky;top:0;z-index:100;background:rgba(248,250,247,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(221,231,224,.88)}
body.scope-public .front-topbar__inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:1rem;width:min(calc(100% - 2rem),var(--aw-container));margin-inline:auto}
body.front-theme .front-brand,body.front-theme .client-nav-brand{display:flex;align-items:center;gap:.82rem;color:var(--aw-secondary);min-width:0}
body.front-theme .front-brand img,body.front-theme .client-nav-brand img{width:48px!important;height:48px!important;min-width:48px;object-fit:contain;border-radius:14px;background:#fff;padding:.36rem;border:1px solid var(--aw-border);box-shadow:var(--aw-shadow-sm)}
body.front-theme .front-brand__title,body.front-theme .client-nav-brand strong{display:block;color:var(--aw-secondary);font-size:1rem;font-weight:900;line-height:1.25;white-space:nowrap}
body.front-theme .front-brand__sub,body.front-theme .client-nav-brand span span{display:block;color:var(--aw-muted);font-size:.76rem;font-weight:600;line-height:1.35}
body.scope-public .front-topbar__nav{display:flex;align-items:center;gap:.25rem;flex-wrap:wrap}
body.scope-public .front-topbar__nav a{display:inline-flex;align-items:center;min-height:40px;padding:.58rem .78rem;border-radius:999px;color:var(--aw-muted);font-size:.9rem;font-weight:800}
body.scope-public .front-topbar__nav a:hover,body.scope-public .front-topbar__nav a.active-link{background:var(--aw-primary-soft);color:var(--aw-primary)}
body.scope-public .front-topbar__actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}

/* Landing page */
body.scope-public .front-landing{padding-bottom:3.5rem}
body.scope-public .front-hero{position:relative;overflow:hidden;padding:clamp(2rem,5vw,4.2rem) 0 1.25rem;background:radial-gradient(circle at 92% 4%,rgba(10,107,84,.13),transparent 34rem),radial-gradient(circle at 8% 12%,rgba(199,161,90,.14),transparent 28rem)}
body.scope-public .front-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:1.35rem;align-items:center}
body.scope-public .front-pill,body.scope-public .front-section__eyebrow{display:inline-flex;align-items:center;gap:.45rem;padding:.46rem .82rem;border-radius:999px;background:var(--aw-primary-soft);border:1px solid rgba(10,107,84,.12);color:var(--aw-primary);font-size:.82rem;font-weight:900;margin-bottom:.85rem}
body.scope-public .front-hero h1{max-width:13ch;margin-bottom:1rem;color:var(--aw-secondary)}
body.scope-public .front-hero h1 .grad{background:linear-gradient(135deg,var(--aw-primary),var(--aw-secondary));-webkit-background-clip:text;background-clip:text;color:transparent}
body.scope-public .front-hero p{max-width:68ch;font-size:1.04rem;color:var(--aw-muted)}
body.scope-public .front-hero__actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}
body.scope-public .front-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1.35rem}
body.scope-public .front-kpi{padding:1rem;background:#fff;border:1px solid var(--aw-border);border-radius:var(--aw-radius-md);box-shadow:var(--aw-shadow-sm)}
body.scope-public .front-kpi strong{display:block;color:var(--aw-secondary);font-size:1.25rem;font-weight:900;margin-bottom:.18rem}
body.scope-public .front-kpi span{display:block;color:var(--aw-muted);font-size:.83rem;line-height:1.6}
body.scope-public .front-reservation-card,body.scope-public .journey-card{position:relative;overflow:hidden;background:linear-gradient(155deg,var(--aw-secondary) 0%,#EAF6F1 44%,var(--aw-primary) 100%);border:1px solid rgba(255,255,255,.14);border-radius:var(--aw-radius-xl);box-shadow:var(--aw-shadow-lg);padding:1.25rem;color:#fff}
body.scope-public .front-reservation-card:before{content:"";position:absolute;left:-80px;top:-80px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08)}
body.scope-public .front-reservation-card__head{display:flex;justify-content:space-between;align-items:center;gap:1rem;position:relative;z-index:1;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.13)}
body.scope-public .front-reservation-card__head strong{display:block;font-size:1rem;font-weight:900;color:#fff}
body.scope-public .front-reservation-card__head span{display:block;font-size:.82rem;color:rgba(255,255,255,.75)}
body.scope-public .front-reservation-card__head i{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff}
body.scope-public .front-timeline{position:relative;z-index:1;display:grid;gap:.7rem;list-style:none;margin:0;padding:0}
body.scope-public .front-timeline__item{display:flex;gap:.75rem;align-items:flex-start;padding:.86rem .9rem;border-radius:var(--aw-radius-md);background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.095)}
body.scope-public .front-timeline__num{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#fff;color:var(--aw-primary);font-weight:900;flex-shrink:0}
body.scope-public .front-timeline__item strong{display:block;color:#fff;font-size:.92rem;font-weight:900;margin-bottom:.12rem}
body.scope-public .front-timeline__item p{color:rgba(255,255,255,.78);font-size:.82rem;line-height:1.65;margin:0}
body.scope-public .front-section{padding:1rem 0}
body.scope-public .front-section__card{padding:clamp(1.15rem,2.5vw,1.85rem);border-radius:var(--aw-radius-xl);background:#fff;border:1px solid var(--aw-border);box-shadow:var(--aw-shadow-sm)}
body.scope-public .front-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:1.25rem;margin-bottom:1.25rem}
body.scope-public .front-section__head p{max-width:760px}
body.scope-public .front-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
body.scope-public .front-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
body.scope-public .front-step-card,body.scope-public .front-detail-card,body.scope-public .front-faq,body.scope-public .front-story-card{padding:1.15rem;background:linear-gradient(180deg,#fff 0%,var(--aw-surface-2) 100%);border:1px solid var(--aw-border);border-radius:var(--aw-radius-lg);box-shadow:var(--aw-shadow-sm)}
body.scope-public .front-icon,body.scope-public .front-detail-card>i{width:50px;height:50px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,var(--aw-primary-soft),#f5fbf8);color:var(--aw-primary);font-size:1.1rem;margin-bottom:.85rem}
body.scope-public .front-detail-card strong{display:block;color:var(--aw-secondary);font-size:.98rem;font-weight:900;margin-bottom:.35rem}
body.scope-public .front-detail-card span{display:block;color:var(--aw-muted);font-size:.88rem;line-height:1.75}
body.scope-public .front-split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
body.scope-public .model-panel,body.scope-public .contract-panel{background:linear-gradient(180deg,#fff 0%,#fbfdfb 100%)}
body.scope-public .front-finance-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}
body.scope-public .front-finance-strip>div{padding:1rem;background:var(--aw-accent-soft);border:1px solid #ecdcb9;border-radius:var(--aw-radius-md)}
body.scope-public .front-finance-strip strong{display:block;color:var(--aw-accent-700);font-size:1.2rem;font-weight:900;margin-bottom:.2rem}
body.scope-public .front-finance-strip span{display:block;color:#72562a;font-size:.82rem;line-height:1.6}
body.scope-public .front-cta{position:relative;overflow:hidden;padding:1.7rem;border-radius:var(--aw-radius-xl);background:linear-gradient(135deg,var(--aw-secondary) 0%,#F7FBF8 48%,var(--aw-primary) 100%);color:#fff;box-shadow:var(--aw-shadow-lg);border:1px solid rgba(255,255,255,.10)}
body.scope-public .front-cta h2,body.scope-public .front-cta p{color:#fff}
body.scope-public .front-footer{padding:1.5rem;background:#fff;border:1px solid var(--aw-border);border-radius:var(--aw-radius-xl);box-shadow:var(--aw-shadow-sm)}
body.scope-public .front-footer__grid{display:grid;grid-template-columns:1.4fr repeat(2,1fr);gap:1.2rem}
body.scope-public .front-footer__list{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
body.scope-public .front-footer__list a,body.scope-public .front-footer__list li{font-size:.9rem;color:var(--aw-muted);font-weight:650}
body.scope-public .front-footer__meta{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--aw-border);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:var(--aw-muted);font-size:.82rem}

/* Auth */
body.scope-auth{background:radial-gradient(circle at 92% 8%,rgba(10,107,84,.12),transparent 30rem),radial-gradient(circle at 8% 16%,rgba(199,161,90,.14),transparent 24rem),linear-gradient(180deg,#fbfdfb 0%,var(--aw-bg) 100%)}
body.scope-auth .auth-wrapper{min-height:100vh;display:grid;place-items:center;padding:clamp(1.25rem,4vw,3rem) 1rem;background:transparent}
body.scope-auth .auth-card{width:min(100%,560px);padding:clamp(1.25rem,3vw,1.9rem);border-radius:var(--aw-radius-xl);background:#fff;border:1px solid var(--aw-border);box-shadow:var(--aw-shadow-md)}
body.scope-auth .auth-logo{text-align:center;margin-bottom:1.25rem}
body.scope-auth .auth-logo img{width:72px!important;height:72px!important;object-fit:contain;margin:0 auto .55rem;border-radius:18px;background:#fff;border:1px solid var(--aw-border);padding:.42rem;box-shadow:var(--aw-shadow-sm)}
body.scope-auth .auth-logo h1{font-size:1.25rem!important;margin:.2rem 0 .2rem!important;color:var(--aw-secondary)}
body.scope-auth .auth-logo p{margin:0;color:var(--aw-muted);font-size:.92rem}
body.scope-auth .divider{border:none;border-top:1px solid var(--aw-border);margin:1.25rem 0}
body.scope-auth [style*="color:var(--muted)"]{color:var(--aw-muted)!important}

/* Client shell */
body.scope-client{background:linear-gradient(180deg,#fbfdfb 0%,var(--aw-bg) 100%)}
body.scope-client .client-shell-nav__inner{width:min(calc(100% - 2rem),var(--aw-container));min-height:78px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}
body.scope-client .client-shell-nav__links{display:flex;align-items:center;gap:.25rem;flex-wrap:wrap}
body.scope-client .client-shell-nav__links a{display:inline-flex;align-items:center;gap:.45rem;min-height:40px;padding:.6rem .78rem;border-radius:999px;color:var(--aw-muted);font-size:.88rem;font-weight:900}
body.scope-client .client-shell-nav__links a.active,body.scope-client .client-shell-nav__links a:hover{background:var(--aw-primary-soft);color:var(--aw-primary)}
body.scope-client .client-shell-nav__actions{display:flex;align-items:center;gap:.5rem}
body.scope-client .client-notif-btn,body.scope-client .client-menu-btn,body.scope-client .client-logout-btn{background:#fff;border-color:var(--aw-border);color:var(--aw-secondary)!important;box-shadow:var(--aw-shadow-sm);padding:.72rem .86rem}
body.scope-client .client-logout-btn{color:#9f2c2c!important}
body.scope-client .client-logout-btn__text{display:inline-block;line-height:1}
body.scope-client #client-sidebar-overlay{background:rgba(6,55,45,.40)!important;backdrop-filter:blur(3px)}
body.scope-client .client-mobile-nav{display:none;position:fixed;z-index:120;top:86px;right:1rem;left:1rem;background:#fff;border:1px solid var(--aw-border);border-radius:var(--aw-radius-xl);padding:.85rem;box-shadow:var(--aw-shadow-lg)}
body.scope-client .client-mobile-nav a,body.scope-client .client-mobile-nav button{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:.6rem;min-height:44px;padding:.78rem .95rem;border:1px solid var(--aw-border);border-radius:var(--aw-radius-sm);background:#fff;color:var(--aw-secondary);font-weight:850;margin-bottom:.5rem;text-align:right}
body.scope-client .client-mobile-nav a.active,body.scope-client .client-mobile-nav a:hover{background:var(--aw-primary-soft);color:var(--aw-primary);border-color:#cfe2db}
body.scope-client .client-nav-wrapper{margin-top:1.25rem;margin-bottom:5.2rem}
body.scope-client .client-bottom-nav{position:fixed;right:0;left:0;bottom:0;z-index:90;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-top:1px solid var(--aw-border);display:none}
body.scope-client .client-bottom-nav-inner{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem;padding:.45rem .65rem max(.45rem,env(safe-area-inset-bottom))}
body.scope-client .client-bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem .35rem;border-radius:12px;color:var(--aw-muted);font-size:.72rem;font-weight:900}
body.scope-client .client-bottom-nav a.active,body.scope-client .client-bottom-nav a:hover{background:var(--aw-primary-soft);color:var(--aw-primary)}
body.scope-client .cl-section-title{display:flex;align-items:center;gap:.55rem;color:var(--aw-secondary);font-size:1.45rem}
body.scope-client .cl-card{overflow:hidden;background:#fff;border-color:var(--aw-border);border-radius:var(--aw-radius-lg);box-shadow:var(--aw-shadow-sm)}
body.scope-client .cl-card>div[style*="border-bottom"]{border-bottom-color:var(--aw-border)!important;background:linear-gradient(180deg,#fff,#fbfdfb)}
body.scope-client .stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem!important}
body.scope-client .stat-card{padding:1.15rem!important;border-radius:var(--aw-radius-lg)!important;border:1px solid var(--aw-border)!important;background:linear-gradient(180deg,#fff,#fbfdfb)!important;box-shadow:var(--aw-shadow-sm)!important}
body.scope-client .stat-card .value,body.scope-client .value{font-size:1.55rem;font-weight:900;color:var(--aw-secondary)}
body.scope-client .stat-card .label,body.scope-client .label{color:var(--aw-muted);font-size:.86rem;font-weight:800}
body.scope-client .table-wrapper{overflow:auto;border:1px solid var(--aw-border);border-radius:var(--aw-radius-md)}
body.scope-client table{width:100%;border-collapse:collapse;background:#fff}
body.scope-client th,body.scope-client td{padding:.92rem .85rem;text-align:right;border-bottom:1px solid var(--aw-border);vertical-align:middle}
body.scope-client thead th{background:#f8faf8;color:var(--aw-secondary);font-size:.82rem;font-weight:900;white-space:nowrap}
body.scope-client tbody tr:hover{background:#fbfdfb}
body.scope-client code{direction:ltr;background:#f2f6f3;color:var(--aw-primary-700);border:1px solid var(--aw-border);border-radius:8px;padding:.18rem .42rem;font-size:.82rem}

/* Client/profile/payment/cards compatibility */
body.scope-client .pr-card,body.scope-client .p-card,body.scope-client .bank-detail,body.scope-client .setup-step,body.scope-client .bs-action,body.scope-client .bs-amount-item,body.scope-client .status-box{background:#fff;border:1px solid var(--aw-border);border-radius:var(--aw-radius-lg);box-shadow:var(--aw-shadow-sm)}
body.scope-client .pr-card-hdr,body.scope-client .pr-card-body{padding:1rem 1.1rem}
body.scope-client .pr-card-hdr{border-bottom:1px solid var(--aw-border);display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fbfdfb}
body.scope-client .pr-data-row,body.scope-client .bank-detail-row,body.scope-client .bank-row,body.scope-client .booking-summary-row,body.scope-client .bs-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px dashed var(--aw-border)}
body.scope-client .pr-data-row:last-child,body.scope-client .bank-detail-row:last-child,body.scope-client .bank-row:last-child,body.scope-client .booking-summary-row:last-child,body.scope-client .bs-row:last-child{border-bottom:none;padding-bottom:0}
body.scope-client .pr-data-label,body.scope-client .bank-detail-label,body.scope-client .bank-lbl,body.scope-client .bs-lbl{color:var(--aw-muted);font-weight:800}
body.scope-client .pr-data-val,body.scope-client .bank-detail-val,body.scope-client .bank-val,body.scope-client .bs-val{color:var(--aw-secondary);font-weight:900;text-align:left;direction:ltr}
body.scope-client .p-link-box,body.scope-client .p-btns{display:flex;gap:.6rem;flex-wrap:wrap;margin:.65rem 0}
body.scope-client .p-progress{height:9px;border-radius:999px;background:#edf3ef;overflow:hidden}
body.scope-client .p-progress-fill{height:100%;border-radius:999px;background:linear-gradient(135deg,var(--aw-primary),var(--aw-accent))}
body.scope-client .p-evt,body.scope-client .p-sett{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.82rem 0;border-top:1px dashed var(--aw-border)}
body.scope-client .p-evt-icon,body.scope-client .setup-step-num{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:var(--aw-primary-soft);color:var(--aw-primary);font-weight:900;flex-shrink:0}
body.scope-client .cdoc-sigs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
body.scope-client .cdoc-tbl{width:100%;border-collapse:collapse;border:1px solid var(--aw-border);border-radius:var(--aw-radius-md);overflow:hidden;background:#fff}
body.scope-client .cdoc-sig-line{height:2px;background:var(--aw-border);margin:1.4rem 0 .5rem}
body.scope-client .lbl{background:#f8faf8;color:var(--aw-secondary);font-weight:900}

/* Legal/public docs */
body.scope-public .legal-shell,body.scope-public .public-doc-shell{width:min(calc(100% - 2rem),920px);margin:1.5rem auto 3rem}
body.scope-public .legal-page,body.scope-public .public-doc-card,body.scope-public .public-doc-shell>div:first-child{background:#fff;border:1px solid var(--aw-border);border-radius:var(--aw-radius-xl);box-shadow:var(--aw-shadow-sm);padding:clamp(1rem,2.5vw,1.7rem)}

/* PWA banner inline override */
body.scope-client #pwa-banner{background:linear-gradient(135deg,#ffffff,var(--aw-primary-soft))!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:var(--aw-radius-lg)!important;box-shadow:var(--aw-shadow-lg)!important}

/* Responsive */
@media (max-width:1100px){
  body.scope-public .front-hero__grid,body.scope-public .front-split-grid,body.scope-public .front-footer__grid{grid-template-columns:1fr}
  body.scope-public .front-grid-4,body.scope-public .front-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.scope-public .front-finance-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:992px){
  body.scope-public .front-topbar__nav,body.scope-client .client-shell-nav__links{display:none!important}
  body.scope-client .hamburger-btn{display:inline-flex!important}
  body.scope-client .client-bottom-nav{display:block}
  body.scope-client .cl-desktop-table{display:none!important}
  body.scope-client .cl-mobile-cards{display:block!important}
  body.scope-client .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:768px){
  body.front-theme .front-shell,body.front-theme .container,body.scope-client .client-nav-wrapper,body.scope-public .front-topbar__inner,body.scope-client .client-shell-nav__inner{width:min(calc(100% - 1rem),var(--aw-container))}
  body.scope-public .front-topbar__inner,body.scope-client .client-shell-nav__inner{min-height:72px}
  body.scope-public .front-grid-4,body.scope-public .front-grid-3,body.scope-public .front-kpis,body.scope-public .front-finance-strip,body.scope-client .stat-grid{grid-template-columns:1fr!important}
  body.scope-public .front-section__head{flex-direction:column;align-items:flex-start}
  body.front-theme .front-brand img,body.front-theme .client-nav-brand img{width:42px!important;height:42px!important;min-width:42px}
  body.scope-client .cdoc-sigs{grid-template-columns:1fr}
  body.scope-client .pr-data-row,body.scope-client .bank-detail-row,body.scope-client .bank-row,body.scope-client .booking-summary-row,body.scope-client .bs-row,body.scope-client .p-evt,body.scope-client .p-sett{flex-direction:column;align-items:flex-start}
}
@media (max-width:560px){
  body.front-theme{font-size:15px}
  body.scope-public .front-topbar__inner{align-items:flex-start;flex-direction:column;padding:.7rem 0}
  body.scope-public .front-topbar__actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  body.scope-public .front-topbar__actions .front-btn{width:100%;font-size:.84rem;padding:.72rem .75rem}
  body.scope-public .front-hero__actions{display:grid;grid-template-columns:1fr;width:100%}
  body.scope-public .front-hero__actions .front-btn{width:100%}
  body.scope-client .client-shell-nav__actions{gap:.35rem}
  body.scope-client .client-logout-btn{width:44px;min-width:44px;padding:0;gap:0}
  body.scope-client .client-logout-btn__text{display:none}
  body.scope-client .client-logout-btn i{font-size:.95rem}
}

/* FIRSTPHNE PWA/mobile polish - 2026-05-03 */
body.front-theme{min-height:100svh;-webkit-tap-highlight-color:transparent;text-size-adjust:100%}
body.front-theme *{scrollbar-width:thin}
body.scope-auth{
  background:
    radial-gradient(circle at 18% 12%, rgba(10,107,84,.08), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(199,161,90,.10), transparent 34%),
    linear-gradient(180deg,#f8faf7 0%,#f5f8f4 100%)!important;
}
body.scope-auth .auth-wrapper{
  min-height:100svh!important;
  padding:clamp(1rem,3vw,2rem)!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
}
body.scope-auth .auth-card{
  width:min(100%,440px)!important;
  max-width:440px!important;
  padding:clamp(1.15rem,4vw,1.65rem)!important;
  border-radius:28px!important;
  box-shadow:0 24px 64px rgba(6,55,45,.10)!important;
  border:1px solid rgba(10,107,84,.12)!important;
}
body.scope-auth .auth-logo{margin-bottom:1.05rem!important;text-align:center!important}
body.scope-auth .auth-logo img{
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  padding:.4rem!important;
  object-fit:contain!important;
  margin-inline:auto!important;
  border-radius:18px!important;
  border:1px solid rgba(10,107,84,.12)!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(6,55,45,.10)!important;
}
body.scope-auth .auth-logo h1{font-size:1.35rem!important;margin:.55rem 0 .2rem!important;line-height:1.25!important;color:#10231d!important}
body.scope-auth .auth-logo p{font-size:.9rem!important;color:#66746e!important;line-height:1.6!important}
body.scope-auth .form-group{margin-bottom:.9rem!important}
body.scope-auth label{font-size:.92rem!important;margin-bottom:.42rem!important;color:#10231d!important}
body.scope-auth input[type="email"],
body.scope-auth input[type="password"],
body.scope-auth input[type="text"],
body.scope-auth input[type="tel"]{
  min-height:48px!important;
  height:48px!important;
  border-radius:14px!important;
  font-size:.95rem!important;
  background:#f9fbf8!important;
  border-color:#d6e4dc!important;
}
body.scope-auth input:focus{background:#fff!important;border-color:#0a6b54!important;box-shadow:0 0 0 4px rgba(10,107,84,.10)!important}
body.scope-auth .btn,body.scope-auth .btn-primary{min-height:48px!important;border-radius:14px!important;font-size:.96rem!important}
body.scope-auth .divider{margin:1rem 0!important}
body.scope-auth .text-muted,body.scope-auth [style*="color:var(--muted)"]{color:#66746e!important}
body.scope-auth .link{color:#0a6b54!important;border-bottom:1px solid rgba(10,107,84,.20)}
body.scope-auth .password-toggle{
  width:38px!important;height:38px!important;display:grid!important;place-items:center!important;
  border-radius:12px!important;background:#edf7f2!important;color:#0a6b54!important;left:.45rem!important;
}
body.scope-auth .password-toggle:hover{background:#e1f1eb!important}

body.scope-client .client-shell-nav{min-height:64px!important;background:rgba(255,255,255,.94)!important;border-bottom:1px solid #dde7e0!important;box-shadow:0 10px 24px rgba(9,59,45,.04)!important}
body.scope-client .client-shell-nav__inner{min-height:64px!important;gap:.65rem!important}
body.scope-client .client-nav-brand img{width:42px!important;height:42px!important;min-width:42px!important;border-radius:13px!important}
body.scope-client .client-nav-brand strong{font-size:.95rem!important;line-height:1.1!important}
body.scope-client .client-nav-brand span span{font-size:.72rem!important;line-height:1.2!important}
body.scope-client .client-shell-nav__actions{display:flex!important;align-items:center!important;gap:.45rem!important;flex-shrink:0!important}
body.scope-client .client-notif-btn,
body.scope-client .client-menu-btn,
body.scope-client .client-logout-btn{
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-size:0!important;background:#fff!important;border:1px solid #dde7e0!important;box-shadow:0 6px 16px rgba(9,59,45,.06)!important;
}
body.scope-client .client-logout-btn{color:#b42318!important}
body.scope-client .client-notif-btn i,
body.scope-client .client-menu-btn i,
body.scope-client .client-logout-btn i{font-size:.95rem!important}
body.scope-client .client-nav-wrapper{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
body.scope-client .client-bottom-nav{height:auto!important;padding-bottom:env(safe-area-inset-bottom)!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px)!important}
body.scope-client .client-bottom-nav-inner{min-height:64px!important;align-items:center!important}
body.scope-client .client-bottom-nav a{font-size:.72rem!important;gap:.28rem!important;color:#66746e!important}
body.scope-client .client-bottom-nav a.active{color:#0a6b54!important;background:#e9f5f1!important}
body.scope-client .client-mobile-nav{top:72px!important;max-height:calc(100svh - 92px)!important;overflow:auto!important}
body.scope-client #pwa-banner{
  right:1rem!important;left:1rem!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;
  max-width:480px!important;margin-inline:auto!important;background:linear-gradient(135deg,#ffffff,#eaf5ef 48%,#0a6b54)!important;
  border-radius:18px!important;box-shadow:0 18px 44px rgba(9,59,45,.22)!important;
}
@media(max-width:420px){
  body.scope-auth .auth-wrapper{padding:.85rem!important}
  body.scope-auth .auth-card{border-radius:24px!important;padding:1.05rem!important;max-width:330px!important}
  body.scope-auth .auth-logo img{width:56px!important;height:56px!important;min-width:56px!important}
  body.scope-auth .auth-logo h1{font-size:1.18rem!important}
  body.scope-auth .auth-logo p{font-size:.82rem!important}
  body.scope-auth input[type="email"],body.scope-auth input[type="password"],body.scope-auth input[type="text"],body.scope-auth input[type="tel"]{height:46px!important;min-height:46px!important;font-size:.9rem!important}
  body.scope-auth .btn,body.scope-auth .btn-primary{min-height:46px!important}
  body.scope-client .client-shell-nav__inner{width:min(calc(100% - .75rem),var(--aw-container))!important}
  body.scope-client .client-nav-brand{gap:.55rem!important;min-width:0!important}
  body.scope-client .client-nav-brand span{min-width:0!important}
  body.scope-client .client-nav-brand strong,body.scope-client .client-nav-brand span span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:132px!important}
  body.scope-client .client-shell-nav__actions{gap:.32rem!important}
  body.scope-client .client-notif-btn,body.scope-client .client-menu-btn,body.scope-client .client-logout-btn{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:12px!important}
}
@media(prefers-reduced-motion:reduce){body.front-theme *,body.front-theme *::before,body.front-theme *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* =====================================================================
   FIRSTPHNE Client Pages Unified Theme - mobile/desktop polish
   Scope: client pages only. Admin is intentionally untouched.
   ===================================================================== */
body.scope-client{
  --cl-primary:#0E5A45;
  --cl-primary-2:#157254;
  --cl-primary-dark:#093B2D;
  --cl-navy:#123C32;
  --cl-gold:#B7904F;
  --cl-gold-soft:#FBF6EC;
  --cl-bg:#F6F8F6;
  --cl-bg-2:#EEF3F1;
  --cl-surface:#FFFFFF;
  --cl-surface-soft:#FBFCFA;
  --cl-text:#183228;
  --cl-muted:#66756E;
  --cl-border:#D8E2DB;
  --cl-border-strong:#C7D7CF;
  --cl-danger:#DC2626;
  --cl-warning:#D97706;
  --cl-success:#157254;
  --cl-radius-sm:12px;
  --cl-radius:18px;
  --cl-radius-lg:26px;
  --cl-shadow:0 12px 30px rgba(9,59,45,.08);
  --cl-shadow-lg:0 24px 58px rgba(9,59,45,.13);
  background:
    radial-gradient(circle at top right, rgba(14,90,69,.08), transparent 330px),
    radial-gradient(circle at 10% 20%, rgba(183,144,79,.07), transparent 320px),
    linear-gradient(180deg,#FBFCFA 0%, var(--cl-bg) 100%) !important;
  color:var(--cl-text);
  min-height:100vh;
}
body.scope-client a{color:var(--cl-primary);font-weight:700}
body.scope-client a:hover{color:var(--cl-primary-dark)}
body.scope-client .client-nav-wrapper{
  width:min(calc(100% - 2rem),1180px);
  margin:1.35rem auto 6.25rem;
  padding:0;
}
body.scope-client .client-shell-nav{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid rgba(216,226,219,.9)!important;
  box-shadow:0 8px 24px rgba(9,59,45,.045);
  backdrop-filter:blur(16px);
}
body.scope-client .client-shell-nav__inner{
  min-height:76px;
  width:min(calc(100% - 2rem),1180px);
}
body.scope-client .client-nav-brand img{
  width:46px!important;height:46px!important;object-fit:contain!important;
  border-radius:16px!important;background:#fff!important;padding:.36rem!important;
  border:1px solid var(--cl-border)!important;box-shadow:0 8px 18px rgba(9,59,45,.08)!important;
}
body.scope-client .client-nav-brand strong{color:var(--cl-navy);font-size:1rem;font-weight:900;line-height:1.25}
body.scope-client .client-nav-brand span span{font-size:.76rem;color:var(--cl-muted);font-weight:700}
body.scope-client .client-shell-nav__links a{
  border-radius:999px!important;padding:.7rem .92rem!important;
  color:var(--cl-muted)!important;background:transparent!important;font-weight:800!important;
}
body.scope-client .client-shell-nav__links a.active,
body.scope-client .client-shell-nav__links a:hover{
  color:var(--cl-primary)!important;background:var(--cl-bg-2)!important;
}
body.scope-client .client-notif-btn,
body.scope-client .client-menu-btn,
body.scope-client .client-logout-btn{
  width:44px;height:44px;min-height:44px;min-width:44px;padding:0!important;
  border-radius:15px!important;background:#fff!important;border:1px solid var(--cl-border)!important;
  color:var(--cl-navy)!important;box-shadow:0 8px 18px rgba(9,59,45,.06)!important;
}
body.scope-client .client-logout-btn{color:var(--cl-danger)!important}
body.scope-client .client-notif-btn:hover,
body.scope-client .client-menu-btn:hover,
body.scope-client .client-logout-btn:hover{transform:translateY(-1px);box-shadow:var(--cl-shadow)!important;background:var(--cl-surface-soft)!important}
body.scope-client #notif-badge{background:var(--cl-danger)!important;border-color:#fff!important;color:#fff!important}

body.scope-client .cl-section-title,
body.scope-client .card-title,
body.scope-client .pr-card-hdr,
body.scope-client .bs-header{
  color:var(--cl-navy)!important;font-weight:900!important;letter-spacing:-.01em;
}
body.scope-client .cl-section-title{
  display:flex;align-items:center;gap:.65rem;margin-bottom:1rem;font-size:clamp(1.12rem,2vw,1.55rem);
}
body.scope-client .cl-section-title i,
body.scope-client .card-title i{color:var(--cl-primary)}
body.scope-client .card,
body.scope-client .cl-card,
body.scope-client .pr-card,
body.scope-client .cancel-card,
body.scope-client .status-box,
body.scope-client .gateway-box,
body.scope-client .bank-box,
body.scope-client .bank-option,
body.scope-client .result-card,
body.scope-client .payment-result-page .result-card,
body.scope-client .cdoc-inner,
body.scope-client .cdoc-sign-sec,
body.scope-client .cdoc-cl,
body.scope-client .cdoc-sig,
body.scope-client .notif-wrap,
body.scope-client .notif-item{
  background:rgba(255,255,255,.96)!important;
  border:1px solid var(--cl-border)!important;
  border-radius:var(--cl-radius-lg)!important;
  box-shadow:var(--cl-shadow)!important;
}
body.scope-client .card,
body.scope-client .cl-card,
body.scope-client .pr-card-body,
body.scope-client .gateway-box,
body.scope-client .bank-box,
body.scope-client .cancel-card,
body.scope-client .status-box,
body.scope-client .payment-result-page .result-card{padding:clamp(1rem,2vw,1.35rem)!important}
body.scope-client .card-title{
  padding-bottom:.9rem!important;margin-bottom:1.05rem!important;border-bottom:1px solid var(--cl-border)!important;
  font-size:1.02rem!important;
}

body.scope-client .stat-grid,
body.scope-client .bs-amounts,
body.scope-client .pay-methods,
body.scope-client .bs-grid{
  gap:1rem!important;
}
body.scope-client .stat-card,
body.scope-client .bs-amount-item,
body.scope-client .bs-action,
body.scope-client .pay-option,
body.scope-client .setup-step,
body.scope-client .pr-verify-item{
  background:linear-gradient(180deg,#fff 0%, var(--cl-surface-soft) 100%)!important;
  border:1px solid var(--cl-border)!important;
  border-radius:var(--cl-radius)!important;
  box-shadow:0 10px 22px rgba(9,59,45,.055)!important;
}
body.scope-client .stat-card{padding:1.1rem!important;min-height:110px;display:flex;flex-direction:column;justify-content:center}
body.scope-client .stat-card .value,
body.scope-client .value,
body.scope-client .bs-amount-val{
  color:var(--cl-navy)!important;font-weight:900!important;font-size:clamp(1.25rem,2vw,1.75rem)!important;
}
body.scope-client .stat-card .label,
body.scope-client .label,
body.scope-client .bs-amount-label,
body.scope-client .bs-lbl,
body.scope-client .bank-lbl,
body.scope-client .bank-detail-label,
body.scope-client .pr-data-label{color:var(--cl-muted)!important;font-weight:800!important}
body.scope-client .bs-val,
body.scope-client .bank-val,
body.scope-client .bank-detail-val,
body.scope-client .pr-data-val{color:var(--cl-navy)!important;font-weight:900!important}

body.scope-client .btn,
body.scope-client button[type=submit],
body.scope-client .mf-pay-btn,
body.scope-client .mf-btn,
body.scope-client .copy-btn{
  min-height:44px;border-radius:15px!important;font-weight:900!important;
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body.scope-client .btn:hover,
body.scope-client button[type=submit]:hover,
body.scope-client .mf-pay-btn:hover,
body.scope-client .mf-btn:hover{transform:translateY(-1px)}
body.scope-client .btn-primary,
body.scope-client .mf-pay-btn,
body.scope-client .mf-btn{
  background:linear-gradient(135deg,var(--cl-primary),var(--cl-primary-2))!important;
  color:#fff!important;border:1px solid var(--cl-primary)!important;box-shadow:0 14px 28px rgba(14,90,69,.18)!important;
}
body.scope-client .btn-muted,
body.scope-client .btn-outline,
body.scope-client .copy-btn{
  background:#fff!important;color:var(--cl-navy)!important;border:1px solid var(--cl-border-strong)!important;
}
body.scope-client .btn-accent,
body.scope-client .btn-warning{
  background:linear-gradient(135deg,var(--cl-gold),#C9A460)!important;color:#fff!important;border-color:var(--cl-gold)!important;
}
body.scope-client .btn-danger{background:var(--cl-danger)!important;color:#fff!important;border-color:var(--cl-danger)!important}
body.scope-client .btn-success{background:var(--cl-success)!important;color:#fff!important;border-color:var(--cl-success)!important}
body.scope-client .btn-block{width:100%}

body.scope-client input[type="text"],
body.scope-client input[type="email"],
body.scope-client input[type="tel"],
body.scope-client input[type="password"],
body.scope-client input[type="number"],
body.scope-client input[type="date"],
body.scope-client select,
body.scope-client textarea{
  width:100%;min-height:46px;border-radius:15px!important;
  border:1px solid var(--cl-border-strong)!important;background:#fff!important;color:var(--cl-text)!important;
  padding:.82rem .95rem!important;box-shadow:none!important;
}
body.scope-client input:focus,
body.scope-client select:focus,
body.scope-client textarea:focus{
  border-color:rgba(14,90,69,.55)!important;box-shadow:0 0 0 4px rgba(14,90,69,.10)!important;outline:none!important;
}
body.scope-client .form-group{margin-bottom:1rem!important}
body.scope-client label{color:var(--cl-navy)!important;font-weight:900!important;margin-bottom:.45rem!important}
body.scope-client .text-muted,
body.scope-client .text-sm{color:var(--cl-muted)!important}
body.scope-client .text-primary{color:var(--cl-primary)!important}

body.scope-client .badge,
body.scope-client .pay-badge{
  border-radius:999px!important;padding:.38rem .68rem!important;font-weight:900!important;font-size:.75rem!important;border:1px solid transparent!important;
}
body.scope-client .badge-success{background:#ECF7F1!important;color:#10623E!important;border-color:#CDECDD!important}
body.scope-client .badge-danger{background:#FFF1F1!important;color:#B91C1C!important;border-color:#F7CDCD!important}
body.scope-client .badge-warning{background:#FFF7E8!important;color:#9A5A00!important;border-color:#F3DCA7!important}
body.scope-client .badge-info,
body.scope-client .badge-secondary{background:var(--cl-bg-2)!important;color:var(--cl-navy)!important;border-color:var(--cl-border)!important}

body.scope-client .alert{
  border-radius:18px!important;border:1px solid var(--cl-border)!important;box-shadow:0 10px 22px rgba(9,59,45,.055)!important;
  align-items:flex-start;
}
body.scope-client .alert-success{background:#ECF7F1!important;color:#10623E!important;border-color:#CDECDD!important}
body.scope-client .alert-danger{background:#FFF1F1!important;color:#B91C1C!important;border-color:#F7CDCD!important}
body.scope-client .alert-warning{background:#FFF8EA!important;color:#9A5A00!important;border-color:#F3DCA7!important}
body.scope-client .alert-info{background:#EEF3F1!important;color:var(--cl-navy)!important;border-color:var(--cl-border)!important}

body.scope-client .table-wrapper{border-radius:22px!important;border:1px solid var(--cl-border)!important;box-shadow:var(--cl-shadow)!important;background:#fff!important;overflow:auto}
body.scope-client table{background:#fff!important;border-collapse:separate!important;border-spacing:0!important}
body.scope-client th{background:var(--cl-surface-soft)!important;color:var(--cl-navy)!important;font-weight:900!important;white-space:nowrap}
body.scope-client td,body.scope-client th{padding:.95rem .9rem!important;border-bottom:1px solid var(--cl-border)!important;vertical-align:middle!important}
body.scope-client tbody tr:hover{background:#FAFCFA!important}

/* booking details / payment flow */
body.scope-client .bs-wrap,
body.scope-client .pay-page,
body.scope-client .pr-wrap,
body.scope-client .cdoc,
body.scope-client .cancel-wrap{max-width:1040px;margin-inline:auto}
body.scope-client .bs-header{
  background:linear-gradient(135deg,var(--cl-primary-dark),var(--cl-primary))!important;
  color:#fff!important;border-radius:28px!important;padding:1.1rem!important;box-shadow:var(--cl-shadow-lg)!important;overflow:hidden;
}
body.scope-client .bs-header *{color:#fff!important}
body.scope-client .bs-product{font-size:1.05rem;font-weight:900!important}
body.scope-client .bs-ref{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.20)!important;color:#fff!important;border-radius:999px!important;padding:.35rem .7rem!important;display:inline-flex}
body.scope-client .bs-progress,
body.scope-client .steps-bar{background:var(--cl-surface-soft)!important;border:1px solid var(--cl-border)!important;border-radius:22px!important;padding:.85rem!important;box-shadow:var(--cl-shadow)!important}
body.scope-client .bs-step-circle,
body.scope-client .step-bar-item.done .up-icon,
body.scope-client .step-bar-item.active .up-icon{background:var(--cl-primary)!important;color:#fff!important;border-color:var(--cl-primary)!important}
body.scope-client .upload-zone,
body.scope-client .upload-drop{
  border:1.5px dashed var(--cl-border-strong)!important;border-radius:22px!important;background:#fff!important;padding:1.1rem!important;
}
body.scope-client .upload-zone:hover,
body.scope-client .upload-drop:hover{border-color:var(--cl-primary)!important;background:var(--cl-surface-soft)!important}
body.scope-client .bank-row,
body.scope-client .bank-detail-row,
body.scope-client .bs-row,
body.scope-client .pr-data-row{
  padding:.9rem 0!important;border-bottom:1px dashed var(--cl-border)!important;
}
body.scope-client .bank-row:last-child,
body.scope-client .bank-detail-row:last-child,
body.scope-client .bs-row:last-child,
body.scope-client .pr-data-row:last-child{border-bottom:0!important}

/* products */
body.scope-client.route-products .card{height:100%;display:flex;flex-direction:column;gap:.65rem}
body.scope-client.route-products .card img{border-radius:20px!important;background:var(--cl-surface-soft)!important;object-fit:contain!important;max-height:210px!important;margin-inline:auto}
body.scope-client.route-products .card .btn{margin-top:auto}

/* contract */
body.scope-client .cdoc-hdr,
body.scope-client .cdoc-bar,
body.scope-client .cdoc-ft{border-radius:22px!important;background:var(--cl-surface-soft)!important;border:1px solid var(--cl-border)!important;padding:1rem!important}
body.scope-client .cdoc-tbl{border:1px solid var(--cl-border)!important;border-radius:18px!important;overflow:hidden;background:#fff!important}
body.scope-client .cdoc-tbl td{border-color:var(--cl-border)!important}
body.scope-client .lbl{background:var(--cl-surface-soft)!important;color:var(--cl-navy)!important;font-weight:900!important}
body.scope-client .otp-box input{text-align:center!important;font-weight:900!important;font-size:1.1rem!important}

/* notifications */
body.scope-client .notif-item{padding:1rem!important;margin-bottom:.75rem!important}
body.scope-client .notif-title{font-weight:900!important;color:var(--cl-navy)!important}
body.scope-client .notif-meta{color:var(--cl-muted)!important;font-size:.82rem!important}
body.scope-client .notif-dot{background:var(--cl-primary)!important}

/* mobile polish */
@media (max-width: 992px){
  body.scope-client .client-shell-nav__inner{width:min(calc(100% - 1rem),1180px);min-height:70px;gap:.6rem}
  body.scope-client .client-nav-brand{gap:.55rem;min-width:0;flex:1}
  body.scope-client .client-nav-brand img{width:42px!important;height:42px!important;border-radius:14px!important}
  body.scope-client .client-nav-brand strong{font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}
  body.scope-client .client-nav-brand span span{font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:155px}
  body.scope-client .client-shell-nav__actions{gap:.42rem;flex-shrink:0}
  body.scope-client .client-notif-btn,
  body.scope-client .client-menu-btn,
  body.scope-client .client-logout-btn{width:40px;height:40px;min-width:40px;min-height:40px;border-radius:13px!important}
  body.scope-client .client-mobile-nav{
    display:none;position:fixed;top:76px;right:.75rem;left:.75rem;z-index:120;
    background:#fff!important;border:1px solid var(--cl-border)!important;border-radius:24px!important;
    box-shadow:var(--cl-shadow-lg)!important;padding:.75rem!important;
  }
  body.scope-client .client-mobile-nav a,
  body.scope-client .client-mobile-nav button{
    width:100%;justify-content:flex-start;min-height:46px;border-radius:15px!important;margin-bottom:.45rem!important;
    border:1px solid var(--cl-border)!important;background:var(--cl-surface-soft)!important;color:var(--cl-navy)!important;font-weight:900!important;
  }
  body.scope-client .client-mobile-nav a.active{background:var(--cl-bg-2)!important;color:var(--cl-primary)!important;border-color:rgba(14,90,69,.25)!important}
  body.scope-client .client-nav-wrapper{width:min(calc(100% - 1rem),1180px);margin-top:1rem;margin-bottom:6.2rem}
  body.scope-client .client-bottom-nav{background:rgba(255,255,255,.96)!important;border-top:1px solid var(--cl-border)!important;box-shadow:0 -10px 25px rgba(9,59,45,.08)!important;backdrop-filter:blur(14px)}
  body.scope-client .client-bottom-nav-inner{padding:.45rem .55rem max(.45rem,env(safe-area-inset-bottom))!important;gap:.25rem!important}
  body.scope-client .client-bottom-nav a{border-radius:14px!important;color:var(--cl-muted)!important;font-weight:900!important;font-size:.68rem!important;min-height:54px!important}
  body.scope-client .client-bottom-nav a i{font-size:1.05rem!important;margin-bottom:.15rem!important}
  body.scope-client .client-bottom-nav a.active,
  body.scope-client .client-bottom-nav a:hover{background:var(--cl-bg-2)!important;color:var(--cl-primary)!important}
  body.scope-client .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important}
  body.scope-client .cl-desktop-table{display:none!important}
  body.scope-client .cl-mobile-cards{display:block!important}
  body.scope-client .cl-mobile-cards .card,
  body.scope-client .cl-mobile-cards .cl-card{margin-bottom:.85rem!important}
  body.scope-client .bs-grid,
  body.scope-client .bs-amounts,
  body.scope-client .pay-methods{grid-template-columns:1fr!important}
  body.scope-client .p-link-box,
  body.scope-client .p-btns,
  body.scope-client .cancel-actions{display:grid!important;grid-template-columns:1fr!important;gap:.65rem!important}
  body.scope-client .btn,
  body.scope-client button[type=submit],
  body.scope-client .mf-pay-btn,
  body.scope-client .mf-btn{width:100%}
  body.scope-client .btn-sm{width:auto;min-height:38px;padding:.55rem .75rem!important}
  body.scope-client .table-wrapper{box-shadow:none!important}
}
@media (max-width: 640px){
  body.scope-client .client-nav-wrapper{width:min(calc(100% - .75rem),1180px)}
  body.scope-client .card,
  body.scope-client .cl-card,
  body.scope-client .pr-card,
  body.scope-client .gateway-box,
  body.scope-client .bank-box,
  body.scope-client .cancel-card,
  body.scope-client .status-box{border-radius:22px!important;padding:1rem!important}
  body.scope-client .stat-grid{grid-template-columns:1fr!important}
  body.scope-client .cl-section-title{font-size:1.15rem!important;align-items:flex-start}
  body.scope-client .bs-header{border-radius:24px!important;padding:1rem!important}
  body.scope-client .bs-header-inner,
  body.scope-client .pr-card-hdr,
  body.scope-client .p-evt,
  body.scope-client .p-sett,
  body.scope-client .bank-row,
  body.scope-client .bank-detail-row,
  body.scope-client .bs-row,
  body.scope-client .pr-data-row{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:.35rem!important;text-align:right!important}
  body.scope-client .bs-val,
  body.scope-client .bank-val,
  body.scope-client .bank-detail-val,
  body.scope-client .pr-data-val{text-align:right!important;direction:rtl!important}
  body.scope-client .cdoc-sigs{grid-template-columns:1fr!important}
  body.scope-client .otp-box{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:.35rem!important}
  body.scope-client .otp-box input{padding:.6rem .2rem!important;min-height:44px!important}
}
@media (min-width: 993px){
  body.scope-client .client-menu-btn{display:none!important}
  body.scope-client .client-bottom-nav{display:none!important}
  body.scope-client .cl-mobile-cards{display:none!important}
}

/* FirstPhone requested cleanup: refined trust and review blocks */
body.scope-public .trust-showcase{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:1rem;align-items:stretch}
body.scope-public .trust-showcase__copy{padding:clamp(1.2rem,2.6vw,2rem);border-radius:var(--aw-radius-xl);background:linear-gradient(135deg,#fff 0%,#fbf7ef 100%);border:1px solid #eadfca;box-shadow:var(--aw-shadow-sm);display:flex;flex-direction:column;justify-content:center;min-height:100%}
body.scope-public .trust-showcase__copy h2{font-size:clamp(1.55rem,3vw,2.35rem);font-weight:900;line-height:1.25;margin:.5rem 0;color:var(--aw-ink)}
body.scope-public .trust-showcase__copy p{color:var(--aw-muted);line-height:1.9;margin:0;max-width:46rem}
body.scope-public .trust-profile-card{background:#fff;border:1px solid var(--aw-border);border-radius:var(--aw-radius-xl);box-shadow:var(--aw-shadow-md);padding:clamp(1rem,2.4vw,1.6rem);position:relative;overflow:hidden}
body.scope-public .trust-profile-card:before{content:"";position:absolute;inset:0 auto auto 0;width:150px;height:150px;background:radial-gradient(circle,rgba(178,133,55,.18),transparent 68%);pointer-events:none}
body.scope-public .trust-profile-card__head{display:flex;align-items:center;gap:.85rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid var(--aw-border)}
body.scope-public .trust-profile-card__head strong{display:block;font-size:1.05rem;font-weight:900;color:var(--aw-ink)}
body.scope-public .trust-profile-card__head small{display:block;color:var(--aw-muted);margin-top:.2rem}
body.scope-public .trust-profile-card__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
body.scope-public .trust-profile-card__grid>div{padding:.9rem;border-radius:var(--aw-radius-md);background:#faf7f0;border:1px solid #eee2cd}
body.scope-public .trust-profile-card__grid span{display:block;color:#7b6748;font-size:.78rem;margin-bottom:.28rem}
body.scope-public .trust-profile-card__grid strong{display:block;color:var(--aw-ink);font-weight:900;line-height:1.55;word-break:break-word}
body.scope-public .trust-profile-card__grid a,body.scope-public .trust-profile-card__footer a{color:var(--aw-accent-700);text-decoration:none;font-weight:800}
body.scope-public .trust-profile-card__footer{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
body.scope-public .trust-profile-card__footer a{display:inline-flex;align-items:center;gap:.45rem;padding:.62rem .85rem;border-radius:999px;background:var(--aw-accent-soft);border:1px solid #ead8b6;font-size:.86rem}
body.scope-public .front-review{position:relative;overflow:hidden;border:1px solid #eadfca;background:linear-gradient(180deg,#fff 0%,#fbf8f1 100%);border-radius:var(--aw-radius-lg);padding:1.05rem;box-shadow:var(--aw-shadow-sm)}
body.scope-public .front-review:before{content:"“";position:absolute;top:-.35rem;inset-inline-end:.9rem;color:rgba(178,133,55,.16);font-size:5rem;font-weight:900;line-height:1}
body.scope-public .front-review__stars{display:inline-flex;gap:.16rem;color:#b28537;background:#fff7e8;border:1px solid #ead8b6;border-radius:999px;padding:.32rem .55rem;margin-bottom:.75rem}
body.scope-public .front-review h3{font-size:1rem;font-weight:900;margin:0 0 .45rem;color:var(--aw-ink)}
body.scope-public .front-review p{color:var(--aw-muted);line-height:1.8;margin:0 0 .8rem;position:relative;z-index:1}
body.scope-public .front-review__meta{display:inline-flex;align-items:center;gap:.35rem;color:#7b6748;background:#fff;border:1px solid var(--aw-border);border-radius:999px;padding:.32rem .62rem;font-size:.78rem;font-weight:800}
@media (max-width: 768px){body.scope-public .trust-showcase{grid-template-columns:1fr}body.scope-public .trust-profile-card__grid{grid-template-columns:1fr}body.scope-public .trust-profile-card__footer a{width:100%;justify-content:center}}


/* Sharia-safe purchase/agency polish */
.front-note{background:#fff8e8;border:1px solid #ead4a6;border-right:4px solid var(--accent);border-radius:16px;padding:.8rem 1rem;color:#6c552b!important;font-size:.92rem;line-height:1.85}
.front-highlight{background:linear-gradient(180deg,#ffffff 0%,#f6fbf8 100%)}
.client-finance-card,.agency-option-card{background:linear-gradient(180deg,#fff,#f9fcfb);border:1px solid var(--border);border-radius:18px;padding:1rem;box-shadow:var(--shadow-sm)}
.value-number,.money-value,[data-money]{font-variant-numeric:tabular-nums;font-weight:900;color:var(--primary)}
.badge-agency{background:#e9f5f1;color:#0d5c4a;border:1px solid #cce3dc}
.badge-risk{background:#fff8e8;color:#8a621f;border:1px solid #ecd9aa}
.metric-chart{height:8px;background:#edf3f0;border-radius:99px;overflow:hidden;margin-top:.5rem}.metric-chart>span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:99px}


/* Phase 2 sharia agency completion */
body.scope-client .agency-action-options{display:grid;gap:.55rem}
body.scope-client .agency-action-options label{display:flex;align-items:center;gap:.55rem;padding:.78rem .9rem;border:1px solid var(--aw-border, var(--border));border-radius:14px;background:#fff;color:var(--aw-text, var(--text));font-weight:800;font-size:.88rem;box-shadow:0 6px 16px rgba(9,59,45,.04)}
body.scope-client .agency-action-options input{accent-color:var(--aw-primary, var(--primary));width:18px;height:18px}
body.scope-client .bs-progress{border:1px solid rgba(255,255,255,.14)}
body.scope-client .bs-step-circle.done{background:var(--aw-gold, var(--accent))!important;color:#FFFFFF!important}
body.scope-client .bs-step-circle.active{background:#fff!important;color:var(--aw-primary, var(--primary))!important}
body.scope-client .bs-action.cancel{background:#fff7ed!important;border-color:#fed7aa!important}
body.scope-client .bs-action.cancel .bs-action-title{color:#9a3412!important}
body.scope-client .metric-chart{height:8px;background:#edf3f0;border-radius:999px;overflow:hidden;margin-top:.55rem}
body.scope-client .metric-chart > span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--aw-primary, var(--primary)),var(--aw-gold, var(--accent)))}
body.scope-client .stat-card .metric-chart{margin-top:.8rem}

/* Phase 3: unified sharia/agency UI controls */
.agency-risk-note{
  display:flex;align-items:flex-start;gap:.65rem;
  background:linear-gradient(135deg,rgba(10,107,84,.08),rgba(199,161,90,.08));
  border:1px solid rgba(10,107,84,.16);
  border-right:4px solid var(--primary);
  color:var(--text);border-radius:18px;
  padding:.9rem 1rem;margin:.8rem 0 1.1rem;
  font-size:.86rem;line-height:1.85;box-shadow:var(--shadow-sm)
}
.agency-risk-note i{color:var(--primary);margin-top:.25rem;flex-shrink:0}
.agency-lifecycle-card{
  margin:1rem 0 1.25rem;padding:1rem;
  background:linear-gradient(180deg,#fff,#fbfdfc);
  border:1px solid rgba(10,107,84,.16);
  border-radius:22px;box-shadow:var(--shadow-sm)
}
.agency-lifecycle-card__head{display:flex;align-items:center;gap:.55rem;color:var(--primary);font-weight:900;margin-bottom:.85rem}
.agency-lifecycle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.agency-lifecycle-grid>div{background:var(--bg);border:1px solid var(--border);border-radius:16px;padding:.8rem;min-height:110px}
.agency-lifecycle-grid span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:10px;background:var(--primary);color:#fff;font-weight:900;margin-bottom:.45rem}
.agency-lifecycle-grid strong{display:block;color:var(--text);font-size:.86rem;margin-bottom:.25rem}
.agency-lifecycle-grid small{display:block;color:var(--muted);line-height:1.65;font-size:.76rem}
.agency-lifecycle-card p{margin:.75rem 0 0;color:var(--muted);font-size:.82rem;line-height:1.8}
.metric-chart,.dashboard-metric-chart{height:7px;background:rgba(10,107,84,.10);border-radius:999px;overflow:hidden;margin-top:.75rem}
.metric-chart span,.dashboard-metric-chart span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--primary),var(--accent))}
@media(max-width:900px){.agency-lifecycle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.agency-lifecycle-grid{grid-template-columns:1fr}.agency-risk-note{font-size:.8rem;padding:.75rem}.agency-lifecycle-card{padding:.85rem}}

/* FIRSTPHNE 2FA polish */
body.scope-auth .twofa-card{max-width:420px!important}
body.scope-auth .twofa-trust-row{display:flex;justify-content:center;gap:.65rem;flex-wrap:wrap;margin-bottom:1rem;font-size:.75rem;color:var(--aw-muted)}
body.scope-auth .twofa-trust-row span{display:inline-flex;align-items:center;gap:.35rem;background:#f6faf7;border:1px solid var(--aw-border);border-radius:999px;padding:.42rem .62rem}
body.scope-auth .twofa-trust-row i{color:var(--aw-primary)}
body.scope-auth .twofa-code-group label{font-size:.88rem;font-weight:800;color:var(--aw-secondary);margin-bottom:.45rem}
body.scope-auth .twofa-code-input{width:100%!important;min-height:54px!important;height:54px!important;text-align:center!important;letter-spacing:.32em!important;direction:ltr!important;border:2px solid var(--aw-border-2)!important;border-radius:16px!important;font-family:Consolas,'Courier New',monospace!important;font-size:1.35rem!important;font-weight:900!important;color:var(--aw-primary)!important;background:#fff!important;outline:none!important;transition:.18s ease!important;padding:.75rem 1rem!important}
body.scope-auth .twofa-code-input:focus{border-color:var(--aw-primary)!important;box-shadow:0 0 0 4px rgba(10,107,84,.12)!important}
body.scope-auth .twofa-mode-switch,body.scope-auth .twofa-cancel{text-align:center;margin-top:1rem}
body.scope-auth .link-button{background:transparent;border:none;font-family:inherit;color:var(--aw-primary);font-weight:800;text-decoration:underline;cursor:pointer;padding:.35rem .5rem}
body.scope-auth .muted-link{color:var(--aw-muted)!important;font-size:.86rem!important;font-weight:700!important}
@media(max-width:420px){body.scope-auth .twofa-card{max-width:340px!important}body.scope-auth .twofa-trust-row{gap:.4rem}body.scope-auth .twofa-trust-row span{font-size:.68rem;padding:.35rem .5rem}body.scope-auth .twofa-code-input{min-height:50px!important;height:50px!important;font-size:1.15rem!important;letter-spacing:.24em!important}}

/* FIRSTPHNE screenshot fixes: booking readability and contract standalone document */
body.scope-client .bs-header{background:linear-gradient(135deg,#08392f 0%,#0d5c4a 72%,#0f7059 100%)!important;color:#fff!important;border-radius:28px!important;box-shadow:0 22px 46px rgba(8,57,47,.18)!important}
body.scope-client .bs-ref{display:flex!important;align-items:center!important;gap:.45rem!important;flex-wrap:wrap!important;color:rgba(255,255,255,.82)!important}
body.scope-client .bs-ref code{background:rgba(255,255,255,.94)!important;color:#08392f!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:999px!important;font-weight:900!important;padding:.14rem .5rem!important}
body.scope-client .bs-ref .badge{background:#fff4dc!important;border-color:#e8c777!important;color:#7a5620!important;box-shadow:0 6px 18px rgba(0,0,0,.10)!important}
body.scope-client .bs-product{color:#fff!important;font-weight:900!important}
body.scope-client .bs-amounts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1rem!important}
body.scope-client .bs-amount-item{background:#fff!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:18px!important;padding:1rem!important;box-shadow:0 16px 30px rgba(3,28,22,.14)!important;color:#10231d!important}
body.scope-client .bs-amount-item *{color:inherit!important}
body.scope-client .bs-amount-label{color:#5f6d78!important;font-size:.76rem!important;font-weight:800!important;margin-bottom:.32rem!important}
body.scope-client .bs-amount-val{color:#10231d!important;font-size:clamp(1rem,1.8vw,1.22rem)!important;font-weight:900!important;white-space:nowrap!important;direction:rtl!important}
body.scope-client .bs-amount-val.green{color:#b28537!important}
body.scope-client .bs-progress{background:rgba(255,255,255,.95)!important;border:1px solid rgba(255,255,255,.70)!important;border-radius:18px!important;box-shadow:0 12px 26px rgba(3,28,22,.10)!important}
body.scope-client .bs-step:not(:last-child)::after{background:#dce7e2!important}
body.scope-client .bs-step-circle.pending{background:#eef4f1!important;color:#8aa097!important}
body.scope-client .bs-step-lbl{color:#66746e!important;font-weight:800!important}
body.scope-client .bs-step-lbl.active{color:#0d5c4a!important;font-weight:900!important}
body.scope-client .bs-step-lbl.done{color:#b28537!important}
body.scope-client .client-logout-btn{font-size:0!important;width:40px!important;min-width:40px!important;padding:0!important;gap:0!important;color:#b42318!important}
body.scope-client .client-logout-btn i{font-size:.95rem!important}
body.scope-client .client-bottom-nav a[href="/products"]{font-size:.64rem!important}
@media(max-width:580px){body.scope-client .bs-amounts{grid-template-columns:1fr!important;gap:.65rem!important}body.scope-client .bs-amount-item{padding:.9rem!important}body.scope-client .bs-header{padding:1rem!important;border-radius:24px!important}}
body.route-contract .cdoc-bar,body.route-contract .cdoc,body.route-contract .cdoc-sign-sec{max-width:920px!important}
body.route-contract .cdoc{box-shadow:0 18px 44px rgba(9,59,45,.10)!important;border-radius:22px!important;border:1px solid #d8e2db!important}
@media(max-width:768px){body.route-contract .cdoc-bar{padding:.75rem .6rem!important}body.route-contract .cdoc{margin:0 .5rem!important;border-radius:18px!important}body.route-contract .cdoc-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}}


/* FIRSTPHONE notifications redesign */
body.scope-client{
  --aw-secondary:#123C32;
  --aw-secondary-700:#0A6B54;
}
body.scope-public .front-reservation-card,
body.scope-public .journey-card,
body.scope-public .front-cta{
  background:linear-gradient(135deg,#ffffff 0%,#f8fcf9 48%,#eaf6f1 100%)!important;
  color:var(--aw-text)!important;
  border-color:var(--aw-border)!important;
}
body.scope-public .front-reservation-card *,
body.scope-public .journey-card *,
body.scope-public .front-cta *{color:inherit}
body.scope-client #pwa-banner{
  background:linear-gradient(135deg,#ffffff 0%,#f8fcf9 54%,#eaf6f1 100%)!important;
  color:var(--aw-text)!important;
  border:1px solid var(--aw-border)!important;
}
body.scope-client #pwa-banner button:first-of-type{
  background:var(--aw-primary)!important;
  color:#fff!important;
}
body.scope-client #pwa-banner button:last-of-type{color:var(--aw-muted)!important}

body.route-notifications .client-nav-wrapper{padding-bottom:7rem}
body.route-notifications .notif-page{max-width:980px;margin:0 auto;padding:1.15rem 0 2.5rem}
body.route-notifications .notif-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;background:linear-gradient(135deg,#ffffff 0%,#fbfdfb 48%,#edf7f1 100%);border:1px solid var(--aw-border);border-radius:28px;padding:1.25rem;box-shadow:0 18px 42px rgba(10,107,84,.08);margin-bottom:1rem}
body.route-notifications .notif-hero::before{content:"";position:absolute;inset:auto -50px -80px auto;width:190px;height:190px;border-radius:999px;background:rgba(199,161,90,.12);pointer-events:none}
body.route-notifications .notif-kicker{display:inline-flex;align-items:center;gap:.42rem;width:max-content;background:var(--aw-primary-soft);color:var(--aw-primary-700);border:1px solid #cae6dc;border-radius:999px;padding:.34rem .7rem;font-size:.76rem;font-weight:900;margin-bottom:.55rem}
body.route-notifications .notif-hero h1{display:flex;align-items:center;gap:.58rem;font-size:clamp(1.35rem,3vw,2.05rem);font-weight:950;margin:0;color:var(--aw-secondary)}
body.route-notifications .notif-hero p{margin:.25rem 0 0;font-size:.94rem;color:var(--aw-muted);max-width:52ch}
body.route-notifications .notif-hero-icon{width:64px;height:64px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--aw-primary),var(--aw-primary-700));color:#fff;box-shadow:0 16px 34px rgba(10,107,84,.20);font-size:1.35rem;position:relative;z-index:1}
body.route-notifications .notif-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:#fff;border:1px solid var(--aw-border);border-radius:22px;padding:.75rem;margin-bottom:1rem;box-shadow:var(--aw-shadow-sm)}
body.route-notifications .notif-tabs{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
body.route-notifications .notif-tab{display:inline-flex;align-items:center;gap:.4rem;min-height:38px;border-radius:999px;padding:.48rem .78rem;background:#f8fbf9;border:1px solid var(--aw-border);color:var(--aw-text);font-size:.82rem;font-weight:900}
body.route-notifications .notif-tab strong{color:var(--aw-primary);font-weight:950}
body.route-notifications .notif-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}
body.route-notifications .notif-list{display:grid;gap:.72rem}
body.route-notifications .notif-card{position:relative;overflow:hidden;display:grid;grid-template-columns:44px 1fr;gap:.8rem;background:#fff;border:1px solid var(--aw-border);border-radius:22px;padding:1rem;box-shadow:0 10px 24px rgba(10,107,84,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease}
body.route-notifications .notif-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(10,107,84,.09);border-color:#c8ddd2}
body.route-notifications .notif-card.unread{background:linear-gradient(135deg,#fff 0%,#fbfefc 58%,#eff8f2 100%);border-color:#b9d9cb}
body.route-notifications .notif-card.unread::before{content:"";position:absolute;top:0;bottom:0;right:0;width:5px;background:linear-gradient(180deg,var(--aw-primary),var(--aw-accent))}
body.route-notifications .notif-icon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:var(--aw-primary-soft);color:var(--aw-primary);border:1px solid #d6ece3;font-size:1rem}
body.route-notifications .notif-card.unread .notif-icon{background:linear-gradient(135deg,var(--aw-primary),var(--aw-primary-700));color:#fff;border-color:transparent;box-shadow:0 10px 24px rgba(10,107,84,.18)}
body.route-notifications .notif-content{min-width:0;padding-left:1.3rem}
body.route-notifications .notif-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.18rem}
body.route-notifications .notif-title{font-size:.98rem;color:var(--aw-secondary);font-weight:950;line-height:1.5;margin:0}
body.route-notifications .notif-status{display:inline-flex;align-items:center;gap:.28rem;border-radius:999px;padding:.28rem .55rem;font-size:.68rem;font-weight:950;white-space:nowrap;border:1px solid var(--aw-border);color:var(--aw-muted);background:#f8fbf9}
body.route-notifications .notif-card.unread .notif-status{background:#fff8e8;color:#8a5a12;border-color:#efd9a7}
body.route-notifications .notif-body{color:var(--aw-muted);font-size:.88rem;line-height:1.85;margin:.15rem 0 0;word-break:break-word}
body.route-notifications .notif-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.75rem;padding-top:.75rem;border-top:1px dashed var(--aw-border);color:var(--aw-muted);font-size:.76rem;flex-wrap:wrap}
body.route-notifications .notif-time{display:inline-flex;align-items:center;gap:.36rem}
body.route-notifications .notif-read-form{margin:0}
body.route-notifications .notif-empty{display:grid;place-items:center;text-align:center;min-height:320px;background:#fff;border:1px dashed #c9d9d1;border-radius:28px;padding:2rem;box-shadow:var(--aw-shadow-sm)}
body.route-notifications .notif-empty-icon{width:82px;height:82px;border-radius:28px;display:grid;place-items:center;background:linear-gradient(135deg,#fff,#edf7f1);color:var(--aw-primary);border:1px solid var(--aw-border);font-size:2rem;margin-bottom:.9rem}
body.route-notifications .notif-empty h2{font-size:1.25rem;margin:0 0 .35rem;color:var(--aw-secondary)}
body.route-notifications .notif-empty p{font-size:.92rem;color:var(--aw-muted);margin:0;max-width:40ch}
@media(max-width:768px){
  body.route-notifications .notif-page{padding:.75rem 0 6rem}
  body.route-notifications .notif-hero{grid-template-columns:1fr;padding:1rem;border-radius:22px}
  body.route-notifications .notif-hero-icon{width:54px;height:54px;border-radius:18px;order:-1}
  body.route-notifications .notif-toolbar{align-items:stretch;flex-direction:column;border-radius:18px;padding:.65rem}
  body.route-notifications .notif-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:.45rem}
  body.route-notifications .notif-tab{justify-content:center;padding:.5rem .55rem;font-size:.76rem}
  body.route-notifications .notif-actions .btn{width:100%;min-height:42px}
  body.route-notifications .notif-card{grid-template-columns:38px 1fr;gap:.65rem;padding:.82rem;border-radius:18px}
  body.route-notifications .notif-icon{width:38px;height:38px;border-radius:14px}
  body.route-notifications .notif-title-row{display:block}
  body.route-notifications .notif-status{margin-top:.35rem}
  body.route-notifications .notif-content{padding-left:0}
  body.route-notifications .notif-body{font-size:.82rem;line-height:1.75}
  body.route-notifications .notif-meta{display:grid;grid-template-columns:1fr;align-items:stretch}
  body.route-notifications .notif-read-form .btn{width:100%;min-height:38px}
}

/* FIRSTPHONE dashboard + settlements mobile/desktop rebuild */
body.scope-client.route-dashboard,
body.scope-client.route-settlements{
  background:
    radial-gradient(circle at top right, rgba(14,90,69,.08), transparent 30%),
    radial-gradient(circle at 12% 10%, rgba(194,154,91,.10), transparent 24%),
    #f7faf8!important;
}
body.scope-client.route-dashboard .client-nav-wrapper,
body.scope-client.route-settlements .client-nav-wrapper{padding-bottom:7rem}
body.scope-client.route-dashboard .client-hero,
body.scope-client.route-settlements .client-hero{
  position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;
  background:linear-gradient(135deg,#fff 0%,#fbfdfb 54%,#edf7f1 100%);
  border:1px solid var(--aw-border,#d8e2db);border-radius:30px;padding:1.25rem;margin:0 0 1rem;
  box-shadow:0 18px 42px rgba(10,107,84,.08)
}
body.scope-client.route-dashboard .client-hero::before,
body.scope-client.route-settlements .client-hero::before{content:"";position:absolute;inset:auto -70px -85px auto;width:220px;height:220px;border-radius:999px;background:rgba(194,154,91,.11);pointer-events:none}
body.scope-client .client-kicker{display:inline-flex;align-items:center;gap:.4rem;width:max-content;background:#eef8f3;color:var(--primary,#0e5a45);border:1px solid #cfe8dd;border-radius:999px;padding:.34rem .72rem;font-size:.76rem;font-weight:900;margin-bottom:.55rem}
body.scope-client .client-hero h1{font-size:clamp(1.35rem,3vw,2.15rem);font-weight:950;color:#0e5a45;margin:0;letter-spacing:-.02em}
body.scope-client .client-hero p{max-width:58ch;margin:.35rem 0 0;color:var(--muted,#66756e);font-size:.94rem;line-height:1.9}
body.scope-client .client-hero-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:.9rem}
body.scope-client .btn-soft{background:#fff;color:var(--primary,#0e5a45);border:1px solid var(--border,#d8e2db);box-shadow:0 8px 20px rgba(10,107,84,.06)}
body.scope-client .btn-soft:hover{background:#f3faf6;color:var(--primary,#0e5a45);transform:translateY(-1px)}
body.scope-client .hero-chart-card{position:relative;z-index:1;min-width:178px;background:#fff;border:1px solid var(--border,#d8e2db);border-radius:24px;padding:1rem;text-align:center;box-shadow:0 14px 34px rgba(10,107,84,.10)}
body.scope-client .hero-chart-card strong{display:block;margin-top:.55rem;color:#0e5a45;font-weight:950;font-size:.92rem}
body.scope-client .hero-chart-card small{display:block;color:var(--muted,#66756e);font-size:.75rem;margin-top:.15rem}
body.scope-client .mini-donut{--p:0;width:86px;height:86px;margin:0 auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--primary,#0e5a45) calc(var(--p)*1%), #eaf3ef 0);position:relative}
body.scope-client .mini-donut::after{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #eef3f0}
body.scope-client .mini-donut.gold{background:conic-gradient(var(--accent,#c29a5b) calc(var(--p)*1%), #f2eadc 0)}
body.scope-client .mini-donut span{position:relative;z-index:1;color:#0e5a45;font-size:1.05rem;font-weight:950}
body.scope-client .client-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin:1rem 0 1rem}
body.scope-client .client-stat-card{position:relative;overflow:hidden;background:#fff;border:1px solid var(--border,#d8e2db);border-radius:24px;padding:1rem;box-shadow:0 12px 28px rgba(10,107,84,.065);display:grid;grid-template-columns:auto 1fr;gap:.85rem;align-items:center}
body.scope-client .client-stat-card::after{content:"";position:absolute;left:-40px;bottom:-55px;width:120px;height:120px;border-radius:999px;background:rgba(14,90,69,.05)}
body.scope-client .client-stat-card.highlight{border-color:#cfe3d9;background:linear-gradient(135deg,#fff 0%,#f9fffb 100%)}
body.scope-client .stat-icon{width:46px;height:46px;border-radius:17px;display:grid;place-items:center;background:#edf7f1;color:var(--primary,#0e5a45);border:1px solid #d2eadf;font-size:1.05rem}
body.scope-client .stat-icon.gold{background:#fff7e9;color:var(--accent,#c29a5b);border-color:#f0ddbc}
body.scope-client .stat-label{display:block;color:var(--muted,#66756e);font-size:.78rem;font-weight:800;margin-bottom:.08rem}
body.scope-client .stat-value{display:block;color:#153a2e;font-size:1.35rem;font-weight:950;line-height:1.15}
body.scope-client .stat-value.money{font-size:1.02rem;color:var(--primary,#0e5a45)}
body.scope-client .stat-progress{grid-column:1/-1;height:8px;border-radius:999px;background:#edf4f0;overflow:hidden}
body.scope-client .stat-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary,#0e5a45),#2d8d70)}
body.scope-client .stat-progress.gold span{background:linear-gradient(90deg,var(--accent,#c29a5b),#d9b66d)}
body.scope-client .dashboard-visual-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:.85rem;margin:0 0 1rem}
body.scope-client .visual-card{background:#fff;border:1px solid var(--border,#d8e2db);border-radius:26px;padding:1rem;box-shadow:0 12px 28px rgba(10,107,84,.06)}
body.scope-client .visual-card.soft{background:linear-gradient(135deg,#fff 0%,#fbf8f0 100%)}
body.scope-client .visual-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.9rem}
body.scope-client .visual-head strong{display:block;color:#0e5a45;font-size:1rem;font-weight:950}
body.scope-client .visual-head small{display:block;color:var(--muted,#66756e);font-size:.76rem;margin-top:.12rem}
body.scope-client .visual-head>i{width:40px;height:40px;border-radius:15px;display:grid;place-items:center;background:#edf7f1;color:var(--primary,#0e5a45)}
body.scope-client .bar-set{display:grid;gap:.7rem}
body.scope-client .bar-row{display:grid;grid-template-columns:90px 1fr 28px;align-items:center;gap:.55rem;font-size:.78rem;color:var(--muted,#66756e);font-weight:800}
body.scope-client .bar-row div{height:10px;background:#eef4f1;border-radius:999px;overflow:hidden}
body.scope-client .bar-row b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary,#0e5a45),#2d8d70);min-width:7px}
body.scope-client .bar-row b.gold{background:linear-gradient(90deg,var(--accent,#c29a5b),#ddb969)}
body.scope-client .bar-row b.amber{background:linear-gradient(90deg,#d97706,#f4b04f)}
body.scope-client .bar-row em{font-style:normal;color:#153a2e;font-weight:950;text-align:left}
body.scope-client .money-total{font-size:1.3rem;font-weight:950;color:#0e5a45;margin:.3rem 0 .8rem}
body.scope-client .sparkline{height:52px;display:flex;align-items:flex-end;gap:.34rem;padding:.25rem .1rem 0}
body.scope-client .sparkline i{display:block;flex:1;border-radius:999px 999px 6px 6px;background:linear-gradient(180deg,rgba(14,90,69,.75),rgba(14,90,69,.16));min-height:18px}
body.scope-client .sparkline i:nth-child(1){height:34%}body.scope-client .sparkline i:nth-child(2){height:52%}body.scope-client .sparkline i:nth-child(3){height:44%}body.scope-client .sparkline i:nth-child(4){height:72%}body.scope-client .sparkline i:nth-child(5){height:58%}body.scope-client .sparkline i:nth-child(6){height:86%}
body.scope-client .client-section-card{background:#fff;border:1px solid var(--border,#d8e2db);border-radius:28px;box-shadow:0 12px 30px rgba(10,107,84,.065);padding:1rem;margin:0 0 1rem;overflow:hidden}
body.scope-client .section-card-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:0 0 .85rem;margin-bottom:.85rem;border-bottom:1px solid #edf3ef}
body.scope-client .section-card-head strong{display:flex;align-items:center;gap:.45rem;color:#0e5a45;font-size:.98rem;font-weight:950}
body.scope-client .section-card-head small{display:block;color:var(--muted,#66756e);font-size:.75rem;margin-top:.12rem}
body.scope-client .mobile-list-cards{display:none;gap:.65rem}
body.scope-client .mobile-item-card{display:block;background:linear-gradient(135deg,#fff 0%,#fbfdfb 100%);border:1px solid #dce8e1;border-radius:20px;padding:.85rem;color:inherit;box-shadow:0 8px 22px rgba(10,107,84,.05)}
body.scope-client .mobile-item-card strong{display:block;color:#183228;font-size:.88rem;font-weight:950;line-height:1.55;margin:.48rem 0}
body.scope-client .item-top,.item-bottom{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
body.scope-client .item-top code{font-size:.72rem;color:#0e5a45;background:#eff8f3;border:1px solid #d5eadf;border-radius:999px;padding:.2rem .5rem;direction:ltr}
body.scope-client .item-bottom span{color:#0e5a45;font-weight:950;font-size:.86rem}
body.scope-client .item-bottom em{font-style:normal;color:var(--muted,#66756e);font-size:.73rem;font-weight:800}
body.scope-client .desktop-polished-table{overflow:auto;border:1px solid #edf3ef;border-radius:20px;background:#fff}
body.scope-client .desktop-polished-table table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px}
body.scope-client .desktop-polished-table th{background:#f7fbf8;color:#0e5a45;font-size:.78rem;font-weight:950;padding:.85rem;text-align:right;border-bottom:1px solid #e6eee9}
body.scope-client .desktop-polished-table td{padding:.85rem;font-size:.84rem;border-bottom:1px solid #f0f4f2;color:#183228;vertical-align:middle}
body.scope-client .desktop-polished-table tr:last-child td{border-bottom:0}
body.scope-client .desktop-polished-table code{color:#0e5a45;background:#eff8f3;border:1px solid #d5eadf;border-radius:999px;padding:.22rem .55rem;font-size:.76rem;direction:ltr;display:inline-flex}
body.scope-client .contract-chip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
body.scope-client .contract-chip-card{display:block;background:#fbfdfb;border:1px solid #dce8e1;border-radius:20px;padding:.85rem;color:inherit}
body.scope-client .contract-chip-card div{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}
body.scope-client .contract-chip-card code{color:#0e5a45;background:#eff8f3;border-radius:999px;padding:.2rem .52rem;font-size:.72rem;direction:ltr}
body.scope-client .contract-chip-card strong{display:block;color:#183228;font-size:.85rem;margin-bottom:.25rem}
body.scope-client .contract-chip-card small{color:var(--muted,#66756e);font-size:.74rem}
body.scope-client .finance-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin:.3rem 0 .7rem}
body.scope-client .finance-mini-grid div{background:#fff;border:1px solid #eadfc9;border-radius:16px;padding:.7rem;text-align:center}
body.scope-client .finance-mini-grid span{display:block;color:var(--muted,#66756e);font-size:.72rem;font-weight:800}
body.scope-client .finance-mini-grid strong{display:block;color:#0e5a45;font-size:.82rem;font-weight:950;margin-top:.16rem}
body.scope-client .settlement-values{display:grid;grid-template-columns:repeat(3,1fr);gap:.45rem;margin:.65rem 0}
body.scope-client .settlement-values div{background:#f8fbf9;border:1px solid #e1ebe5;border-radius:15px;padding:.55rem;text-align:center}
body.scope-client .settlement-values span{display:block;color:var(--muted,#66756e);font-size:.66rem;font-weight:800;line-height:1.4}
body.scope-client .settlement-values b{display:block;color:#0e5a45;font-size:.75rem;font-weight:950;margin-top:.15rem}
body.scope-client .settlement-values b.gold,.gold-text{color:var(--accent,#c29a5b)!important}
body.scope-client .settlement-action{width:100%;min-height:42px;margin-top:.25rem}
body.scope-client .settlement-note{display:inline-flex;align-items:center;gap:.35rem;color:var(--muted,#66756e);font-size:.75rem;font-weight:800}
body.scope-client .settlement-note.success,.credit-text,.ledger-amount.credit{color:var(--success,#157254)!important}
body.scope-client .debit-text,.ledger-amount.debit{color:var(--danger,#dc2626)!important}
body.scope-client .ledger-mobile-cards{display:none}
body.scope-client .ledger-card{display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:#fff;border:1px solid #e1ebe5;border-radius:18px;padding:.78rem}
body.scope-client .ledger-card strong{display:block;color:#183228;font-size:.82rem;line-height:1.55}
body.scope-client .ledger-card small{display:block;color:var(--muted,#66756e);font-size:.7rem;margin-top:.12rem}
body.scope-client .ledger-amount{text-align:left;font-weight:950;font-size:.82rem;white-space:nowrap}
body.scope-client .ledger-amount small{text-align:left}
body.scope-client .polished-empty{min-height:180px;display:grid;place-items:center;text-align:center;color:var(--muted,#66756e);border-radius:22px;background:#fbfdfb;border:1px dashed #cddfd5}
body.scope-client .polished-empty i{font-size:2rem;color:#0e5a45;margin-bottom:.45rem}
body.scope-client .dashboard-alert{display:flex;align-items:center;gap:.55rem;border-radius:18px;margin-bottom:.8rem}
body.scope-client .dashboard-alert .link{margin-right:auto;font-weight:900}
body.scope-client .iban-alert{border-radius:18px;margin-top:1rem}
@media(max-width:900px){
  body.scope-client.route-dashboard .client-hero,
  body.scope-client.route-settlements .client-hero{grid-template-columns:1fr;border-radius:24px;padding:1rem}
  body.scope-client .hero-chart-card{display:grid;grid-template-columns:auto 1fr;align-items:center;text-align:right;min-width:0;gap:.7rem;padding:.82rem;border-radius:20px}
  body.scope-client .hero-chart-card .mini-donut{width:66px;height:66px;margin:0}.mini-donut span{font-size:.9rem!important}
  body.scope-client .client-stats-grid{grid-template-columns:1fr}.dashboard-visual-grid{grid-template-columns:1fr!important}
  body.scope-client .contract-chip-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  body.scope-client.route-dashboard .client-nav-wrapper,
  body.scope-client.route-settlements .client-nav-wrapper{padding-bottom:7.5rem!important}
  body.scope-client.route-dashboard .client-hero,
  body.scope-client.route-settlements .client-hero{margin-top:.35rem;border-radius:22px}
  body.scope-client .client-kicker{font-size:.7rem;padding:.3rem .6rem}
  body.scope-client .client-hero h1{font-size:1.38rem}
  body.scope-client .client-hero p{font-size:.82rem;line-height:1.8}
  body.scope-client .client-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:.45rem}
  body.scope-client .client-hero-actions .btn{width:100%;min-height:42px;padding:.55rem .55rem;font-size:.78rem;border-radius:14px}
  body.scope-client .client-stat-card{border-radius:20px;padding:.85rem;gap:.68rem}
  body.scope-client .stat-icon{width:42px;height:42px;border-radius:15px}.stat-value{font-size:1.18rem!important}.stat-value.money{font-size:.95rem!important}
  body.scope-client .visual-card,.client-section-card{border-radius:22px!important;padding:.82rem!important}
  body.scope-client .visual-head strong,.section-card-head strong{font-size:.88rem!important}.visual-head small,.section-card-head small{font-size:.7rem!important}
  body.scope-client .bar-row{grid-template-columns:82px 1fr 24px;font-size:.72rem;gap:.4rem}
  body.scope-client .desktop-polished-table{display:none!important}.mobile-list-cards{display:grid!important}.ledger-mobile-cards{display:grid!important}
  body.scope-client .mobile-item-card{border-radius:18px;padding:.78rem}.mobile-item-card strong{font-size:.82rem!important}
  body.scope-client .badge{font-size:.62rem!important;padding:.25rem .48rem!important}
  body.scope-client .settlement-values{grid-template-columns:1fr;gap:.35rem}.settlement-values div{text-align:right;padding:.5rem .6rem}.settlement-values b{font-size:.78rem!important}
  body.scope-client .finance-mini-grid{grid-template-columns:1fr}
  body.scope-client .section-card-head{align-items:flex-start}.section-card-head .btn{padding:.42rem .7rem;font-size:.72rem}
  body.scope-client .dashboard-alert{align-items:flex-start;font-size:.78rem;padding:.75rem!important;flex-wrap:wrap}.dashboard-alert .link{margin-right:0}
}
@media(max-width:390px){
  body.scope-client .client-hero-actions{grid-template-columns:1fr}
  body.scope-client .item-top{align-items:flex-start;flex-direction:column}.item-bottom{align-items:flex-start;flex-direction:column;gap:.25rem}
}

/* FIRSTPHONE hotfix: visible action labels + refined booking create layout */
body.scope-client .btn-primary,
body.scope-client .btn-primary *,
body.scope-client .mf-pay-btn,
body.scope-client .mf-pay-btn *,
body.scope-client .mf-btn,
body.scope-client .mf-btn *,
body.scope-client .bookings-btn--primary,
body.scope-client .bookings-btn--primary *,
body.scope-client .bc-btn--primary,
body.scope-client .bc-btn--primary *{
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  text-indent:0!important;
}
body.scope-client .btn-primary,
body.scope-client .bookings-btn--primary,
body.scope-client .bc-btn--primary{
  min-width:max-content;
  overflow:visible!important;
}
body.scope-client .bookings-btn--primary{
  background:linear-gradient(135deg,#0E5A45,#157254)!important;
  border-color:#0E5A45!important;
  box-shadow:0 12px 25px rgba(14,90,69,.18)!important;
}
body.scope-client .bookings-btn--primary:hover{background:linear-gradient(135deg,#157254,#093B2D)!important;color:#fff!important}
body.scope-client .booking-card__foot .bookings-btn{white-space:nowrap;line-height:1.15;text-align:center}
body.scope-client.route-booking-create-84 .client-nav-wrapper,
body.scope-client.route-booking-create-7 .client-nav-wrapper,
body.scope-client[class*="route-booking-create"] .client-nav-wrapper{max-width:1180px!important;width:min(calc(100% - 1rem),1180px)!important}
@media(max-width:560px){
  body.scope-client .booking-card__foot .bookings-btn{min-height:42px!important;font-size:.78rem!important;padding:.6rem .7rem!important}
  body.scope-client .bookings-btn--primary{min-width:0!important}
}

/* FIRSTPHONE landing contrast fix - scoped to public prebooking page only */
body.scope-public .firstphone-prebook-page .journey-card,
body.scope-public .firstphone-prebook-page .front-reservation-card.journey-card{
  background:linear-gradient(135deg,#ffffff 0%,#fbfdf9 56%,#eef8f3 100%)!important;
  color:#183228!important;
  border:1px solid rgba(14,90,69,.14)!important;
  box-shadow:0 22px 55px rgba(9,59,45,.10)!important;
}
body.scope-public .firstphone-prebook-page .journey-card:before{background:rgba(14,90,69,.055)!important}
body.scope-public .firstphone-prebook-page .journey-card .front-reservation-card__head{border-bottom:1px solid rgba(14,90,69,.12)!important}
body.scope-public .firstphone-prebook-page .journey-card .front-reservation-card__head strong,
body.scope-public .firstphone-prebook-page .journey-card .front-timeline__item strong{
  color:#123c32!important;
}
body.scope-public .firstphone-prebook-page .journey-card .front-reservation-card__head span,
body.scope-public .firstphone-prebook-page .journey-card .front-timeline__item p{
  color:#5f716b!important;
}
body.scope-public .firstphone-prebook-page .journey-card .front-reservation-card__head i{
  background:#eef7f2!important;
  color:#0e5a45!important;
  border:1px solid rgba(14,90,69,.10)!important;
}
body.scope-public .firstphone-prebook-page .journey-card .front-timeline__item{
  background:#ffffff!important;
  border:1px solid rgba(14,90,69,.10)!important;
  box-shadow:0 10px 24px rgba(9,59,45,.045)!important;
}
body.scope-public .firstphone-prebook-page .journey-card .front-timeline__num{
  background:#f3faf6!important;
  color:#0e5a45!important;
  border:1px solid rgba(14,90,69,.10)!important;
}
body.scope-public .firstphone-prebook-page .front-cta{
  background:linear-gradient(135deg,#ffffff 0%,#f8fcf9 58%,#eaf6f1 100%)!important;
  color:#183228!important;
  border:1px solid rgba(14,90,69,.14)!important;
  box-shadow:0 22px 52px rgba(9,59,45,.09)!important;
}
body.scope-public .firstphone-prebook-page .front-cta h2{
  color:#123c32!important;
}
body.scope-public .firstphone-prebook-page .front-cta p{
  color:#5f716b!important;
}
body.scope-public .firstphone-prebook-page .front-cta .front-section__eyebrow{
  background:#eef7f2!important;
  color:#0e5a45!important;
  border:1px solid rgba(14,90,69,.12)!important;
}
body.scope-public .firstphone-prebook-page .front-cta .front-btn--primary,
body.scope-public .firstphone-prebook-page .front-hero__actions .front-btn--primary{
  color:#ffffff!important;
}
body.scope-public .firstphone-prebook-page .front-cta .front-btn--primary *,
body.scope-public .firstphone-prebook-page .front-hero__actions .front-btn--primary *{
  color:#ffffff!important;
}
body.scope-public .firstphone-prebook-page .front-cta .front-btn--light,
body.scope-public .firstphone-prebook-page .front-cta .front-btn--ghost,
body.scope-public .firstphone-prebook-page .front-hero__actions .front-btn--ghost{
  color:#0e5a45!important;
  background:#ffffff!important;
  border-color:rgba(14,90,69,.16)!important;
}
body.scope-public .firstphone-prebook-page .front-cta .front-btn--light *,
body.scope-public .firstphone-prebook-page .front-cta .front-btn--ghost *,
body.scope-public .firstphone-prebook-page .front-hero__actions .front-btn--ghost *{
  color:#0e5a45!important;
}
@media(max-width:720px){
  body.scope-public .firstphone-prebook-page .journey-card,
  body.scope-public .firstphone-prebook-page .front-cta{border-radius:22px!important;padding:1rem!important}
  body.scope-public .firstphone-prebook-page .front-timeline__item{padding:.72rem!important;gap:.55rem!important}
  body.scope-public .firstphone-prebook-page .front-timeline__num{width:30px!important;height:30px!important;border-radius:10px!important}
}

/* FIRSTPHONE 2026-05-06: Consistent typography scale - size-only fixes, no color overrides */
:root{
  --fp-h1-size:clamp(1.75rem,3.35vw,3.25rem);
  --fp-public-hero-size:clamp(2rem,4.2vw,3.35rem);
  --fp-h2-size:clamp(1.28rem,2.25vw,2.05rem);
  --fp-h3-size:clamp(1rem,1.45vw,1.18rem);
  --fp-lead-size:clamp(.94rem,1.18vw,1.04rem);
}
body.front-theme h1{
  font-size:var(--fp-h1-size)!important;
  line-height:1.22!important;
  letter-spacing:-.025em!important;
  text-wrap:balance;
}
body.front-theme h2{
  font-size:var(--fp-h2-size)!important;
  line-height:1.35!important;
  letter-spacing:-.015em!important;
  text-wrap:balance;
}
body.front-theme h3{
  font-size:var(--fp-h3-size)!important;
  line-height:1.55!important;
}
body.scope-public .front-hero h1,
body.scope-public .front-hero__copy h1,
body.scope-public #hero-title{
  font-size:var(--fp-public-hero-size)!important;
  line-height:1.28!important;
  max-width:10.5em;
}
body.scope-public .front-hero p,
body.scope-public .front-section__head p,
body.scope-public .front-cta p{
  font-size:var(--fp-lead-size)!important;
  line-height:1.9!important;
}
body.scope-public .front-section__card,
body.scope-public .front-cta,
body.scope-public .front-footer{
  text-wrap:pretty;
}
body.scope-public .legal-title,
body.scope-public .public-doc-shell h1,
body.scope-public .legal-page h1{
  font-size:clamp(1.55rem,3vw,2.35rem)!important;
  line-height:1.3!important;
}
body.scope-client .client-hero h1,
body.scope-client .profile-hero h1,
body.scope-client .products-hero h1,
body.scope-client .bookings-title,
body.scope-client .bc-title,
body.scope-auth .auth-hero-copy h1,
body.scope-auth .side-copy h1{
  font-size:clamp(1.35rem,2.75vw,2.15rem)!important;
  line-height:1.35!important;
  letter-spacing:-.015em!important;
  text-wrap:balance;
}
body.scope-client .cl-section-title{
  font-size:clamp(1.08rem,2vw,1.45rem)!important;
  line-height:1.45!important;
}
@media (max-width: 767.98px){
  :root{
    --fp-h1-size:clamp(1.45rem,7vw,2.05rem);
    --fp-public-hero-size:clamp(1.85rem,8.2vw,2.35rem);
    --fp-h2-size:clamp(1.18rem,5vw,1.55rem);
    --fp-h3-size:clamp(.96rem,3.8vw,1.08rem);
    --fp-lead-size:.92rem;
  }
  body.scope-public .front-hero h1,
  body.scope-public .front-hero__copy h1,
  body.scope-public #hero-title{
    max-width:100%;
    line-height:1.34!important;
  }
  body.scope-public .front-hero{padding-top:1.5rem!important;}
  body.scope-public .front-hero__copy{gap:.65rem;}
}
@media (min-width: 1200px){
  body.scope-public .front-hero h1,
  body.scope-public .front-hero__copy h1,
  body.scope-public #hero-title{
    font-size:3.18rem!important;
  }
}

/* FIRSTPHONE 2026-05-07: Final balanced typography reduction - size-only, no color overrides */
:root{
  --fp-h1-size:clamp(1.58rem,2.75vw,2.65rem);
  --fp-public-hero-size:clamp(1.72rem,3.35vw,2.72rem);
  --fp-h2-size:clamp(1.18rem,1.95vw,1.82rem);
  --fp-h3-size:clamp(.96rem,1.25vw,1.08rem);
  --fp-lead-size:clamp(.9rem,1.02vw,.98rem);
}
body.front-theme h1{
  font-size:var(--fp-h1-size)!important;
  line-height:1.28!important;
  letter-spacing:-.018em!important;
}
body.scope-public .front-hero h1,
body.scope-public .front-hero__copy h1,
body.scope-public #hero-title{
  font-size:var(--fp-public-hero-size)!important;
  line-height:1.34!important;
  max-width:11.8em!important;
}
body.scope-public .front-hero p,
body.scope-public .front-section__head p,
body.scope-public .front-cta p{
  font-size:var(--fp-lead-size)!important;
  line-height:1.9!important;
}
body.scope-public .front-hero{
  padding-top:clamp(1.35rem,3.7vw,3rem)!important;
}
body.scope-client .client-hero h1,
body.scope-client .profile-hero h1,
body.scope-client .products-hero h1,
body.scope-client .bookings-title,
body.scope-client .bc-title,
body.scope-auth .auth-hero-copy h1,
body.scope-auth .side-copy h1{
  font-size:clamp(1.22rem,2.25vw,1.82rem)!important;
  line-height:1.42!important;
}
body.scope-client .cl-section-title{
  font-size:clamp(1rem,1.65vw,1.3rem)!important;
  line-height:1.5!important;
}
@media (max-width: 767.98px){
  :root{
    --fp-h1-size:clamp(1.32rem,5.8vw,1.78rem);
    --fp-public-hero-size:clamp(1.48rem,6.3vw,1.92rem);
    --fp-h2-size:clamp(1.08rem,4.25vw,1.38rem);
    --fp-h3-size:clamp(.92rem,3.35vw,1.02rem);
    --fp-lead-size:.88rem;
  }
  body.scope-public .front-hero h1,
  body.scope-public .front-hero__copy h1,
  body.scope-public #hero-title{
    line-height:1.42!important;
    max-width:100%!important;
  }
  body.scope-public .front-hero{padding-top:1.15rem!important;}
  body.scope-public .front-hero p{font-size:.9rem!important;line-height:1.85!important;}
}
@media (min-width: 1200px){
  body.scope-public .front-hero h1,
  body.scope-public .front-hero__copy h1,
  body.scope-public #hero-title{
    font-size:2.72rem!important;
  }
}

/* FIRSTPHONE: polished "before completing order" section */
body.scope-public .front-clarity-card{
  position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:1rem;align-items:stretch;
  padding:clamp(1rem,2.4vw,1.55rem);border-radius:var(--aw-radius-xl);background:linear-gradient(135deg,#ffffff 0%,#fbfdfb 55%,#f8f2e7 100%);
  border:1px solid var(--aw-border);box-shadow:0 18px 45px rgba(9,59,45,.075)
}
body.scope-public .front-clarity-card:before{content:"";position:absolute;inset:auto -75px -95px auto;width:240px;height:240px;border-radius:999px;background:radial-gradient(circle,rgba(199,161,90,.16),transparent 70%);pointer-events:none}
body.scope-public .front-clarity-main{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;background:#fff;border:1px solid #e7eee9;border-radius:24px;padding:clamp(1rem,2.5vw,1.45rem);box-shadow:0 12px 30px rgba(9,59,45,.045)}
body.scope-public .front-clarity-main h2{font-size:clamp(1.2rem,2.2vw,1.82rem);line-height:1.45;color:var(--aw-secondary);font-weight:950;margin:.15rem 0 .55rem;letter-spacing:-.012em;text-wrap:balance}
body.scope-public .front-clarity-main p{color:var(--aw-muted);line-height:1.9;margin:0;font-size:.93rem}
body.scope-public .front-clarity-summary{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}
body.scope-public .front-clarity-summary span{display:inline-flex;align-items:center;gap:.38rem;min-height:34px;padding:.42rem .65rem;border-radius:999px;background:var(--aw-primary-soft);border:1px solid #cfe5dd;color:var(--aw-primary);font-size:.78rem;font-weight:900;white-space:nowrap}
body.scope-public .front-clarity-list{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
body.scope-public .front-clarity-item{display:flex;gap:.7rem;align-items:flex-start;background:#fff;border:1px solid #e3ece6;border-radius:20px;padding:.82rem;box-shadow:0 8px 20px rgba(9,59,45,.04);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
body.scope-public .front-clarity-item:hover{transform:translateY(-2px);border-color:#cce2d8;box-shadow:0 14px 30px rgba(9,59,45,.07)}
body.scope-public .front-clarity-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;flex:0 0 38px;background:linear-gradient(135deg,var(--aw-primary-soft),#fff8e9);color:var(--aw-primary);border:1px solid #d7e8df}
body.scope-public .front-clarity-item h3{font-size:.92rem;line-height:1.45;color:var(--aw-secondary);font-weight:950;margin:0 0 .18rem}
body.scope-public .front-clarity-item p{font-size:.8rem;line-height:1.78;color:var(--aw-muted);margin:0}
@media(max-width:900px){body.scope-public .front-clarity-card{grid-template-columns:1fr}.front-clarity-main{min-height:auto}}
@media(max-width:560px){body.scope-public .front-clarity-card{padding:.82rem;border-radius:24px;gap:.75rem}body.scope-public .front-clarity-main{padding:.9rem;border-radius:20px}body.scope-public .front-clarity-main h2{font-size:1.12rem;line-height:1.55}body.scope-public .front-clarity-main p{font-size:.84rem;line-height:1.85}body.scope-public .front-clarity-summary{display:grid;grid-template-columns:1fr;gap:.38rem}body.scope-public .front-clarity-summary span{justify-content:center;width:100%;font-size:.76rem}body.scope-public .front-clarity-list{grid-template-columns:1fr;gap:.5rem}body.scope-public .front-clarity-item{padding:.72rem;border-radius:18px}.front-clarity-icon{width:34px;height:34px;flex-basis:34px;border-radius:12px}body.scope-public .front-clarity-item h3{font-size:.86rem}body.scope-public .front-clarity-item p{font-size:.76rem}}

/* FIRSTPHONE geo address UX fix */
.front-theme.scope-client.route-addresses .address-hero h1{font-size:clamp(1.35rem,3vw,2.15rem)}
.front-theme.scope-client.route-addresses .geo-helper-card{display:grid;grid-template-columns:auto 1fr;gap:.75rem;align-items:start;background:#fff;border:1px solid rgba(14,90,69,.12);border-radius:18px;padding:1rem;margin:0 0 1rem;box-shadow:0 10px 26px rgba(9,59,45,.06);color:#315349}
.front-theme.scope-client.route-addresses .geo-helper-card i{width:38px;height:38px;border-radius:14px;background:#edf8f4;color:#0e5a45;display:inline-flex;align-items:center;justify-content:center}
.front-theme.scope-client.route-addresses .geo-helper-card p{margin:0;line-height:1.8}
.front-theme.scope-client.route-addresses .national-search-box{background:#fbfdfc;border:1px solid rgba(14,90,69,.10);border-radius:18px;padding:.85rem;margin:.7rem 0}
.front-theme.scope-client.route-addresses .national-actions{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:.55rem}
.front-theme.scope-client.route-addresses .geo-results{display:grid;gap:.45rem;margin-top:.7rem}
.front-theme.scope-client.route-addresses .geo-result-item{width:100%;text-align:right;border:1px solid rgba(14,90,69,.13);background:#fff;border-radius:14px;padding:.7rem .85rem;cursor:pointer;color:#123a2f;box-shadow:0 6px 16px rgba(9,59,45,.045)}
.front-theme.scope-client.route-addresses .geo-result-item strong{display:block;color:#0e5a45;margin-bottom:.18rem}
.front-theme.scope-client.route-addresses .geo-result-item span{display:block;color:#52675f;font-size:.87rem;line-height:1.6}
.front-theme.scope-client.route-addresses .geo-result-empty{background:#fff7e8;border:1px solid #f1ddb1;color:#755822;border-radius:14px;padding:.7rem .85rem}
.front-theme.scope-client.route-addresses .map-shell{position:relative;margin:.75rem 0}.front-theme.scope-client.route-addresses .address-map{min-height:330px;background:#eef8f3;position:relative;z-index:1}.front-theme.scope-client.route-addresses .leaflet-container{font-family:inherit;z-index:1}.front-theme.scope-client.route-addresses .map-fallback{min-height:240px;border:1px dashed rgba(14,90,69,.25);border-radius:18px;background:#f8fbf9;display:flex;flex-direction:column;gap:.4rem;align-items:center;justify-content:center;text-align:center;color:#315349;padding:1rem}.front-theme.scope-client.route-addresses .map-fallback i{font-size:1.6rem;color:#0e5a45}.front-theme.scope-client.route-addresses #map-status{font-weight:800;color:#315349}.front-theme.scope-client.route-addresses #map-status.map-status-ok{color:#0e5a45}.front-theme.scope-client.route-addresses #map-status.map-status-warn{color:#9a6100}.front-theme.scope-client.route-addresses #map-status.map-status-info{color:#386255}.front-theme.scope-client.route-addresses .form-row-4{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}.front-theme.scope-client.route-addresses .address-card-actions{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.65rem}.front-theme.scope-client.route-addresses .address-note{display:block;margin-top:.35rem;color:#6a7d75;line-height:1.6}
@media(max-width:900px){.front-theme.scope-client.route-addresses .form-row-4{grid-template-columns:repeat(2,1fr)}.front-theme.scope-client.route-addresses .address-map{min-height:290px}}
@media(max-width:520px){.front-theme.scope-client.route-addresses .geo-helper-card{grid-template-columns:1fr}.front-theme.scope-client.route-addresses .national-actions .btn{width:100%;justify-content:center}.front-theme.scope-client.route-addresses .form-row-4{grid-template-columns:1fr}.front-theme.scope-client.route-addresses .address-map{min-height:255px}.front-theme.scope-client.route-addresses .btn-wide-mobile{width:100%;justify-content:center}}

/* FirstPhone address/shipping responsive polish - audit clean */
.front-theme.scope-client.route-addresses .client-grid-2,
.front-theme.scope-client.route-shipping .client-grid-2{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:1rem;align-items:start}
.front-theme.scope-client.route-addresses .client-form-card input,
.front-theme.scope-client.route-addresses .client-form-card textarea,
.front-theme.scope-client.route-addresses .client-form-card select,
.front-theme.scope-client.route-shipping .client-form-card input,
.front-theme.scope-client.route-shipping .client-form-card textarea,
.front-theme.scope-client.route-shipping .client-form-card select{width:100%;border:1.5px solid var(--border);border-radius:14px;padding:.8rem;background:#fff;color:var(--text)}
.front-theme.scope-client .address-map-toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:#f8fbf9;border:1px solid var(--border);border-radius:16px;padding:.75rem;margin:.6rem 0}
.front-theme.scope-client .address-card,.front-theme.scope-client .shipment-card{border:1px solid var(--border);border-radius:18px;padding:1rem;margin-bottom:.75rem;background:#fff;box-shadow:0 8px 22px rgba(9,59,45,.06)}
.front-theme.scope-client .shipment-card{display:flex;justify-content:space-between;gap:1rem;align-items:center}
.front-theme.scope-client .address-card p,.front-theme.scope-client .shipment-card p{margin:.25rem 0;color:var(--muted)}
.front-theme.scope-client .pill{display:inline-flex;align-items:center;background:#eef8f3;color:var(--primary);border-radius:999px;padding:.25rem .55rem;font-size:.75rem;font-weight:800;margin:.15rem}
.front-theme.scope-client .pill.success{background:#e8f7ef;color:#157254}
.front-theme.scope-client .client-check{display:flex;align-items:center;gap:.5rem;margin:.75rem 0;font-weight:700;color:var(--primary-dark)}
.front-theme.scope-client .client-check input{width:auto;accent-color:var(--primary)}
@media(max-width:900px){.front-theme.scope-client.route-addresses .client-grid-2,.front-theme.scope-client.route-shipping .client-grid-2{grid-template-columns:1fr}.front-theme.scope-client .shipment-card{display:block}.front-theme.scope-client .address-map{height:280px}}
@media(max-width:520px){.front-theme.scope-client .address-map{height:240px}.front-theme.scope-client .client-bottom-nav-inner{grid-template-columns:repeat(5,1fr)!important}.front-theme.scope-client .client-bottom-nav a span{font-size:.62rem}}
/* Shipping/notifications responsive polish */
.shipping-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0 auto 1rem;max-width:1100px;padding:0 1rem}.shipping-kpis>div{background:#fff;border:1px solid #dbe6df;border-radius:18px;padding:.9rem;box-shadow:0 8px 24px rgba(9,59,45,.06)}.shipping-kpis span{display:block;color:#66756e;font-weight:800;font-size:.78rem}.shipping-kpis strong{display:block;color:#0e5a45;font-size:1.35rem;font-weight:900}.shipping-page-card{max-width:1100px;margin-inline:auto}.shipment-card{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:#fff;border:1px solid #dbe6df;border-radius:18px;padding:1rem;margin-bottom:.75rem;box-shadow:0 8px 20px rgba(9,59,45,.045)}.shipment-main strong{color:#0e5a45;font-size:1rem}.shipment-main p{margin:.25rem 0;color:#142b22}.shipment-main small{color:#66756e}.shipment-side{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.tracking-code{width:100%;margin:.25rem 0 0;color:#0e5a45;font-weight:900}.pill{display:inline-flex;align-items:center;border-radius:999px;background:#eef8f3;color:#0e5a45;border:1px solid #cfe4da;padding:.24rem .6rem;font-weight:900;font-size:.78rem}.pill.success{background:#e8f7ef;color:#0e6b50}.notif-card.unread{border-color:#cfe4da!important;background:linear-gradient(135deg,#fff,#f4fbf8)!important}.notif-status{white-space:nowrap}.notif-title{font-size:1rem!important}@media(max-width:700px){.shipping-kpis{grid-template-columns:1fr;padding:0 .85rem}.shipment-card{display:block;padding:.9rem}.shipment-side{justify-content:flex-start;margin-top:.7rem}.shipping-hero{margin-inline:.85rem}.notif-toolbar{display:block!important}.notif-actions{margin-top:.75rem}.notif-card{grid-template-columns:1fr!important}.notif-icon{margin-bottom:.5rem}.notif-title-row{display:block!important}.notif-status{display:inline-flex;margin-top:.35rem}}

/* FirstPhone notifications PWA install prompt + live popup polish */
body.route-notifications .notif-pwa-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem;background:linear-gradient(135deg,#fff 0%,#fbfdfb 52%,#eef8f3 100%);border:1px solid #dbe9e2;border-radius:24px;padding:1rem;box-shadow:0 14px 34px rgba(10,107,84,.075);position:relative;overflow:hidden}
body.route-notifications .notif-pwa-card::before{content:"";position:absolute;inset:auto -44px -64px auto;width:150px;height:150px;border-radius:999px;background:rgba(199,161,90,.12);pointer-events:none}
body.route-notifications .notif-pwa-main{display:flex;align-items:center;gap:.85rem;min-width:0;position:relative;z-index:1}
body.route-notifications .notif-pwa-icon{width:58px;height:58px;border-radius:20px;background:#fff;border:1px solid #dbe9e2;box-shadow:0 10px 22px rgba(10,107,84,.10);display:grid;place-items:center;flex:0 0 58px}
body.route-notifications .notif-pwa-icon img{width:42px;height:42px;border-radius:14px;display:block}
body.route-notifications .notif-pwa-kicker{display:inline-flex;align-items:center;gap:.35rem;width:max-content;background:#fff8e8;color:#8a5a12;border:1px solid #efd9a7;border-radius:999px;padding:.22rem .58rem;font-size:.68rem;font-weight:950;margin-bottom:.28rem}
body.route-notifications .notif-pwa-card h2{font-size:1rem;line-height:1.45;margin:0;color:var(--aw-secondary);font-weight:950}
body.route-notifications .notif-pwa-card p{font-size:.84rem;line-height:1.75;margin:.15rem 0 0;color:var(--aw-muted);max-width:64ch}
body.route-notifications .notif-pwa-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;justify-content:flex-end;position:relative;z-index:1}
body.route-notifications .notif-pwa-status{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border-radius:999px;padding:.35rem .7rem;background:#f8fbf9;border:1px solid #dbe9e2;color:#315349;font-size:.74rem;font-weight:900;white-space:nowrap}
body.route-notifications .notif-pwa-card.is-installed{background:#fff;border-style:dashed}.notif-pwa-card.is-installed .notif-pwa-status{background:#eef8f3;color:#0e5a45;border-color:#cfe4da}
@media(max-width:700px){body.route-notifications .notif-pwa-card{display:grid;grid-template-columns:1fr;padding:.85rem;border-radius:20px}body.route-notifications .notif-pwa-main{align-items:flex-start}.notif-pwa-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%}body.route-notifications .notif-pwa-actions .btn,body.route-notifications .notif-pwa-status{width:100%;min-height:40px}}

/* === FirstPhone client bottom nav v3: centered cart, no finance/shipping === */
body.scope-client .client-bottom-nav{
  background:rgba(255,255,255,.97)!important;
  border-top:1px solid rgba(14,90,69,.13)!important;
  box-shadow:0 -14px 34px rgba(9,59,45,.10)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
body.scope-client .client-bottom-nav-inner{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:center!important;
  gap:.18rem!important;
  max-width:520px!important;
  margin:0 auto!important;
  min-height:70px!important;
  padding:.45rem .55rem max(.5rem,env(safe-area-inset-bottom))!important;
}
body.scope-client .client-bottom-nav a{
  position:relative!important;
  min-height:54px!important;
  border-radius:18px!important;
  padding:.38rem .24rem!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:.22rem!important;
  color:#68766f!important;
  font-size:.66rem!important;
  font-weight:900!important;
  text-decoration:none!important;
  transition:transform .16s ease, background .16s ease, color .16s ease!important;
}
body.scope-client .client-bottom-nav a i{
  width:30px!important;
  height:30px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  font-size:1rem!important;
  background:transparent!important;
  color:inherit!important;
}
body.scope-client .client-bottom-nav a.active,
body.scope-client .client-bottom-nav a:hover{
  color:#0e5a45!important;
  background:#eef8f3!important;
}
body.scope-client .client-bottom-nav a.bottom-cart-center{
  margin-top:-24px!important;
  min-height:74px!important;
  color:#ffffff!important;
  background:linear-gradient(135deg,#0e5a45,#13785d)!important;
  border:4px solid #ffffff!important;
  box-shadow:0 14px 28px rgba(14,90,69,.24)!important;
  border-radius:24px!important;
  transform:translateY(-2px)!important;
}
body.scope-client .client-bottom-nav a.bottom-cart-center i{
  width:42px!important;
  height:34px!important;
  font-size:1.22rem!important;
  background:rgba(255,255,255,.14)!important;
  border-radius:16px!important;
}
body.scope-client .client-bottom-nav a.bottom-cart-center span{
  color:#ffffff!important;
  font-size:.70rem!important;
  line-height:1!important;
}
body.scope-client .client-bottom-nav a.bottom-cart-center.active,
body.scope-client .client-bottom-nav a.bottom-cart-center:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg,#0b4f3d,#c29a5b)!important;
  transform:translateY(-4px)!important;
}
@media(max-width:380px){
  body.scope-client .client-bottom-nav-inner{gap:.08rem!important;padding-right:.28rem!important;padding-left:.28rem!important}
  body.scope-client .client-bottom-nav a{font-size:.60rem!important;min-height:50px!important;border-radius:15px!important}
  body.scope-client .client-bottom-nav a i{width:27px!important;height:27px!important;font-size:.92rem!important}
  body.scope-client .client-bottom-nav a.bottom-cart-center{min-height:68px!important;margin-top:-20px!important;border-radius:22px!important}
  body.scope-client .client-bottom-nav a.bottom-cart-center i{width:38px!important;height:32px!important;font-size:1.08rem!important}
}

/* === FirstPhone v4: fixed client nav precedence + circular cart bottom action === */
body.scope-client .client-shell-nav{
  position:sticky!important;top:0!important;z-index:100!important;width:100%!important;
  background:rgba(255,255,255,.96)!important;border-bottom:1px solid rgba(14,90,69,.12)!important;
  box-shadow:0 10px 26px rgba(9,59,45,.045)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;
}
body.scope-client .client-shell-nav__inner{
  width:min(calc(100% - 2rem),1180px)!important;min-height:76px!important;margin-inline:auto!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem!important;direction:rtl!important;
}
body.scope-client .client-nav-brand{display:flex!important;align-items:center!important;gap:.68rem!important;text-decoration:none!important;color:#0e5a45!important;min-width:max-content!important}
body.scope-client .client-nav-brand img{width:46px!important;height:46px!important;border-radius:16px!important;object-fit:contain!important;background:#fff!important;border:1px solid rgba(14,90,69,.13)!important;box-shadow:0 8px 20px rgba(9,59,45,.08)!important}
body.scope-client .client-nav-brand strong{display:block!important;font-size:.95rem!important;color:#0d3f32!important;font-weight:950!important;line-height:1.15!important}
body.scope-client .client-nav-brand span span{display:block!important;font-size:.72rem!important;color:#68766f!important;font-weight:800!important;line-height:1.25!important}
body.scope-client .client-shell-nav__links{display:flex!important;align-items:center!important;justify-content:center!important;gap:.28rem!important;flex:1 1 auto!important;min-width:0!important;flex-wrap:wrap!important}
body.scope-client .client-shell-nav__links a{display:inline-flex!important;align-items:center!important;gap:.42rem!important;min-height:40px!important;padding:.55rem .75rem!important;border-radius:999px!important;color:#65766e!important;font-size:.86rem!important;font-weight:900!important;text-decoration:none!important;white-space:nowrap!important}
body.scope-client .client-shell-nav__links a.active,body.scope-client .client-shell-nav__links a:hover{background:#eef8f3!important;color:#0e5a45!important;box-shadow:inset 0 0 0 1px rgba(14,90,69,.08)!important}
body.scope-client .client-shell-nav__actions{display:flex!important;align-items:center!important;gap:.48rem!important;min-width:max-content!important}
body.scope-client .client-notif-btn,body.scope-client .client-menu-btn,body.scope-client .client-logout-btn{width:44px!important;height:44px!important;min-width:44px!important;border-radius:16px!important;display:inline-grid!important;place-items:center!important;background:#fff!important;border:1px solid rgba(14,90,69,.13)!important;color:#0e5a45!important;box-shadow:0 8px 20px rgba(9,59,45,.055)!important;padding:0!important;position:relative!important}
body.scope-client .client-logout-btn{color:#b42318!important}
body.scope-client .client-nav-wrapper{width:min(calc(100% - 2rem),1180px)!important;margin:1.2rem auto 5.5rem!important;display:block!important;clear:both!important}
body.route-cart .client-nav-wrapper,body.route-checkout .client-nav-wrapper{width:min(calc(100% - 1.4rem),1180px)!important;margin-top:1rem!important}
body.route-cart .cart-shell,body.route-checkout .checkout-shell{width:100%!important;max-width:1180px!important;margin-inline:auto!important;box-sizing:border-box!important}
body.route-cart .cart-layout,body.route-checkout .checkout-grid{align-items:start!important;box-sizing:border-box!important}
body.route-cart .cart-card,body.route-checkout .co-card{box-sizing:border-box!important;overflow:hidden!important}
body.route-cart .cart-controls select,body.route-cart .cart-controls input,body.route-checkout input,body.route-checkout select{max-width:100%!important;box-sizing:border-box!important}
@media(max-width:992px){
  body.scope-client .client-shell-nav__inner{width:min(calc(100% - 1rem),1180px)!important;min-height:70px!important}
  body.scope-client .client-shell-nav__links{display:none!important}
  body.scope-client .hamburger-btn{display:inline-grid!important}
  body.scope-client .client-nav-brand img{width:42px!important;height:42px!important;border-radius:15px!important}
  body.scope-client .client-nav-brand strong{font-size:.86rem!important}
  body.scope-client .client-nav-brand span span{font-size:.66rem!important}
  body.scope-client .client-nav-wrapper{width:min(calc(100% - .8rem),1180px)!important;margin-top:.7rem!important;margin-bottom:6.35rem!important}
  body.scope-client .client-bottom-nav{display:block!important;background:rgba(255,255,255,.98)!important;border-top:1px solid rgba(14,90,69,.14)!important;box-shadow:0 -18px 40px rgba(9,59,45,.12)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
  body.scope-client .client-bottom-nav-inner{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;gap:.12rem!important;width:min(100%,540px)!important;max-width:540px!important;margin:0 auto!important;min-height:74px!important;padding:.48rem .55rem max(.58rem,env(safe-area-inset-bottom))!important}
  body.scope-client .client-bottom-nav a{min-height:52px!important;border-radius:17px!important;padding:.36rem .18rem!important;color:#69786f!important;font-size:.64rem!important;font-weight:950!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:.2rem!important;text-decoration:none!important;background:transparent!important;box-shadow:none!important;transform:none!important}
  body.scope-client .client-bottom-nav a i{width:29px!important;height:29px!important;border-radius:13px!important;font-size:1rem!important;background:transparent!important;color:inherit!important;display:grid!important;place-items:center!important;box-shadow:none!important;transform:none!important}
  body.scope-client .client-bottom-nav a.active:not(.bottom-cart-center),body.scope-client .client-bottom-nav a:hover:not(.bottom-cart-center){color:#0e5a45!important;background:#eef8f3!important;box-shadow:inset 0 0 0 1px rgba(14,90,69,.08)!important}
  body.scope-client .client-bottom-nav a.bottom-cart-center,
  body.scope-client .client-bottom-nav a.bottom-cart-center.active,
  body.scope-client .client-bottom-nav a.bottom-cart-center:hover{
    width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;max-width:72px!important;
    justify-self:center!important;align-self:center!important;margin:-26px auto 0!important;padding:.42rem!important;border-radius:999px!important;
    color:#fff!important;background:radial-gradient(circle at 30% 25%,#1f8c6e 0,#0e5a45 58%,#093b2d 100%)!important;
    border:5px solid #fff!important;box-shadow:0 14px 30px rgba(14,90,69,.28),0 0 0 1px rgba(194,154,91,.24)!important;
    transform:none!important;animation:fpCartPulse 2.8s ease-in-out infinite!important;overflow:visible!important;
  }
  body.scope-client .client-bottom-nav a.bottom-cart-center i{width:34px!important;height:34px!important;border-radius:999px!important;background:rgba(255,255,255,.15)!important;color:#fff!important;font-size:1.18rem!important;box-shadow:none!important;margin:0!important}
  body.scope-client .client-bottom-nav a.bottom-cart-center span{display:block!important;color:#fff!important;font-size:.63rem!important;line-height:1!important;margin-top:.1rem!important;max-width:58px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  body.route-cart .cart-shell,body.route-checkout .checkout-shell{padding:.55rem .1rem 6.55rem!important}
  body.route-cart .cart-layout,body.route-checkout .checkout-grid{grid-template-columns:1fr!important;gap:.85rem!important}
  body.route-cart .cart-summary,body.route-checkout .co-submit{position:static!important;order:-1!important}
}
@media(min-width:993px){body.scope-client .client-bottom-nav{display:none!important}body.scope-client .hamburger-btn{display:none!important}}
@media(max-width:520px){
  body.scope-client .client-bottom-nav a{font-size:.59rem!important;min-height:50px!important}
  body.scope-client .client-bottom-nav a i{width:27px!important;height:27px!important;font-size:.92rem!important}
  body.scope-client .client-bottom-nav a.bottom-cart-center,body.scope-client .client-bottom-nav a.bottom-cart-center.active,body.scope-client .client-bottom-nav a.bottom-cart-center:hover{width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important;max-width:68px!important;margin-top:-23px!important;border-width:4px!important}
  body.scope-client .client-bottom-nav a.bottom-cart-center i{width:31px!important;height:31px!important;font-size:1.06rem!important}
  body.scope-client .client-bottom-nav a.bottom-cart-center span{font-size:.59rem!important}
}
@keyframes fpCartPulse{0%,100%{box-shadow:0 14px 30px rgba(14,90,69,.28),0 0 0 1px rgba(194,154,91,.24)}50%{box-shadow:0 16px 34px rgba(14,90,69,.34),0 0 0 7px rgba(14,90,69,.08)}}

/* fallback import marker: client nav hardfix is loaded separately in head */

/* v20260511-paynotify-header-v7: notification center typography, client shipping/address polish */
body.scope-client .notif-page{max-width:1120px;margin-inline:auto;padding:1rem 0 5.5rem}
body.scope-client .notif-hero{padding:1.15rem 1.25rem;border-radius:28px;background:linear-gradient(135deg,#fff,#f5fbf8 62%,rgba(194,154,91,.08));border:1px solid rgba(14,90,69,.13);box-shadow:0 18px 45px rgba(9,59,45,.07);display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
body.scope-client .notif-hero h1{font-size:clamp(1.28rem,2.2vw,1.78rem)!important;line-height:1.35!important;margin:.25rem 0!important;color:var(--primary)!important}
body.scope-client .notif-hero p{font-size:.9rem!important;line-height:1.85!important;color:var(--muted)!important;max-width:720px}
body.scope-client .notif-kicker,body.scope-client .notif-pwa-kicker{font-size:.75rem!important;font-weight:900!important;color:var(--primary)!important;background:#f0f8f4!important;border:1px solid rgba(14,90,69,.14)!important;border-radius:999px!important;padding:.4rem .7rem!important;display:inline-flex;align-items:center;gap:.35rem}
body.scope-client .notif-hero-icon{width:58px;height:58px;min-width:58px;border-radius:20px;background:#0e5a45;color:#fff;display:grid;place-items:center;box-shadow:0 14px 28px rgba(14,90,69,.18)}
body.scope-client .notif-pwa-card,body.scope-client .notif-toolbar,body.scope-client .notif-card,body.scope-client .notif-empty{border-radius:24px!important;border:1px solid var(--border)!important;background:#fff!important;box-shadow:0 16px 40px rgba(9,59,45,.06)!important}
body.scope-client .notif-pwa-card{padding:1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;background:linear-gradient(135deg,#fff,#f8fcfa)!important}
body.scope-client .notif-pwa-main{display:flex;align-items:center;gap:.85rem}.notif-pwa-icon{width:54px;height:54px;border-radius:18px;border:1px solid var(--border);display:grid;place-items:center;background:#fff;box-shadow:0 10px 24px rgba(9,59,45,.06)}.notif-pwa-icon img{width:42px;height:42px;object-fit:contain}.notif-pwa-card h2{font-size:1rem!important;line-height:1.45!important;margin:.35rem 0 .2rem!important;color:var(--text)!important}.notif-pwa-card p{font-size:.84rem!important;line-height:1.75!important;color:var(--muted)!important;margin:0!important}.notif-pwa-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.notif-pwa-status{font-size:.72rem;font-weight:900;color:var(--primary);background:#eef8f3;border:1px solid var(--border);border-radius:999px;padding:.38rem .62rem}
body.scope-client .notif-toolbar{padding:.85rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:1rem}.notif-tabs{display:flex;gap:.45rem;flex-wrap:wrap}.notif-tab{display:inline-flex;align-items:center;gap:.35rem;background:#f8fbf9;border:1px solid var(--border);border-radius:999px;padding:.42rem .7rem;color:var(--muted);font-size:.76rem;font-weight:900}.notif-tab strong{color:var(--primary)}.notif-actions{display:flex;gap:.45rem;flex-wrap:wrap}
body.scope-client .notif-list{display:grid;gap:.72rem}.notif-card{display:grid;grid-template-columns:46px 1fr;gap:.8rem;padding:.9rem!important;position:relative}.notif-card.unread{background:linear-gradient(135deg,#fff,#f4fbf7)!important;border-color:rgba(14,90,69,.18)!important}.notif-card.unread:before{content:"";position:absolute;right:0;top:18px;bottom:18px;width:4px;background:#0e5a45;border-radius:999px}.notif-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#eef8f3;color:#0e5a45;border:1px solid rgba(14,90,69,.12)}.notif-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem;margin-bottom:.35rem}.notif-title{font-size:.98rem!important;line-height:1.55!important;margin:0!important;color:var(--text)!important;font-weight:900!important}.notif-status{font-size:.68rem;font-weight:900;border-radius:999px;padding:.32rem .55rem;background:#f4f8f6;color:var(--muted);white-space:nowrap}.notif-card.unread .notif-status{background:#eaf7f1;color:#0e5a45}.notif-body{font-size:.84rem!important;line-height:1.85!important;color:#596961!important}.notif-meta{display:flex;align-items:center;gap:.48rem;flex-wrap:wrap;margin-top:.65rem}.notif-time{font-size:.72rem;color:var(--muted);font-weight:800}.notif-action-link{min-height:32px!important;padding:.35rem .72rem!important;font-size:.74rem!important}.notif-read-form{margin:0}.notif-empty{padding:2rem;text-align:center}.notif-empty h2{font-size:1.08rem!important;color:var(--text)!important}.notif-empty p{font-size:.86rem;color:var(--muted)}
body.scope-client .client-hero.clean-hero.address-hero,body.scope-client .client-hero.clean-hero.shipping-hero{max-width:1120px;margin-inline:auto;border-radius:28px!important;background:linear-gradient(135deg,#fff,#f6fbf8 62%,rgba(194,154,91,.08))!important;border:1px solid rgba(14,90,69,.13)!important;box-shadow:0 18px 45px rgba(9,59,45,.07)!important;padding:1.1rem 1.2rem!important}
body.scope-client .client-hero.clean-hero h1{font-size:clamp(1.28rem,2.35vw,1.76rem)!important;line-height:1.38!important}.geo-helper-card,.address-smart-form,.address-saved-list,.shipping-card,.shipment-card{border-radius:24px!important;border:1px solid var(--border)!important;box-shadow:0 16px 40px rgba(9,59,45,.06)!important}.address-layout-grid,.shipping-grid{max-width:1120px;margin-inline:auto}.address-smart-form label,.shipping-card label{font-size:.82rem!important;font-weight:900!important;color:var(--text)!important}.address-smart-form input,.address-smart-form textarea,.address-smart-form select{font-size:.88rem!important;border-radius:15px!important}.address-smart-form .btn,.shipping-card .btn{border-radius:15px!important}.address-smart-form #address-map{min-height:320px!important;border-radius:22px!important;border:1px solid var(--border)!important;overflow:hidden!important;background:#f4f8f6!important}.geo-results{border-radius:18px!important;border:1px solid var(--border)!important;background:#fff!important;box-shadow:0 12px 28px rgba(9,59,45,.08)!important;padding:.55rem!important;margin-top:.6rem}.geo-results button,.geo-result{font-size:.82rem!important;line-height:1.7!important}
@media(max-width:768px){body.scope-client .notif-page{padding:.7rem .45rem 5.7rem}body.scope-client .notif-hero{border-radius:22px;align-items:flex-start;padding:1rem}.notif-hero-icon{display:none!important}.notif-pwa-card,.notif-toolbar{align-items:stretch!important;flex-direction:column!important}.notif-card{grid-template-columns:38px 1fr;padding:.78rem!important;border-radius:20px!important}.notif-icon{width:38px;height:38px;border-radius:14px}.notif-title-row{align-items:flex-start}.notif-title{font-size:.88rem!important}.notif-body{font-size:.78rem!important}.notif-status{font-size:.62rem}.notif-tab{font-size:.7rem}.notif-actions .btn{width:100%;justify-content:center}body.scope-client .client-hero.clean-hero.address-hero,body.scope-client .client-hero.clean-hero.shipping-hero{margin:.6rem .45rem!important;border-radius:22px!important;padding:1rem!important}.geo-helper-card,.address-layout-grid,.shipping-grid{margin-inline:.45rem!important}.address-smart-form #address-map{min-height:260px!important}}

/* === FirstPhone geo/profile/shipping refinement v8 === */
body.scope-client.route-addresses .map-fallback[hidden]{display:none!important}
body.scope-client.route-addresses .map-shell{position:relative;overflow:hidden;border-radius:24px;border:1px solid var(--border,#dce8e2);background:#f6fbf8;box-shadow:inset 0 0 0 1px rgba(14,90,69,.035)}
body.scope-client.route-addresses #address-map{width:100%;height:360px;min-height:360px;border-radius:24px;overflow:hidden;z-index:1;background:#eef8f3}
body.scope-client.route-addresses .leaflet-marker-icon{filter:drop-shadow(0 8px 12px rgba(9,59,45,.28))}
body.scope-client.route-addresses .pin-accuracy-card{display:flex;align-items:flex-start;gap:.75rem;padding:.85rem 1rem;border:1px solid rgba(14,90,69,.12);border-radius:18px;background:linear-gradient(135deg,#fff,#f5fbf8);color:#315349;margin:.7rem 0;font-size:.86rem;line-height:1.75}
body.scope-client.route-addresses .pin-accuracy-card i{color:#0e5a45;margin-top:.22rem}
body.scope-client .security-profile-box{display:grid;gap:.85rem}.security-login-card{border:1px solid rgba(14,90,69,.12);background:linear-gradient(135deg,#fff,#f7fbf9);border-radius:20px;padding:.9rem;display:grid;gap:.25rem}.security-login-card span{color:#60756d;font-size:.78rem;font-weight:900}.security-login-card strong{color:#123a2f;font-size:.98rem}.security-login-card small{color:#6b7f77;font-weight:800;word-break:break-all}.security-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.security-profile-note{margin:0;background:#fff8e8;border:1px solid #f1ddb1;color:#70561e;border-radius:16px;padding:.72rem .85rem;font-size:.78rem;line-height:1.75}
body.scope-client.route-shipping .enhanced-shipping-kpis{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1120px;margin-inline:auto}body.scope-client.route-shipping .enhanced-shipping-kpis div{background:#fff;border:1px solid var(--border,#dce8e2);border-radius:22px;box-shadow:0 16px 36px rgba(9,59,45,.06);padding:1rem}body.scope-client.route-shipping .enhanced-shipping-kpis small{display:block;color:#6b7f77;font-size:.72rem;margin-top:.15rem}.shipping-card-list{display:grid;gap:1rem}.enhanced-shipment-card{display:grid!important;gap:.85rem;border:1px solid var(--border,#dce8e2)!important;border-radius:24px!important;background:#fff!important;padding:1rem!important;box-shadow:0 14px 34px rgba(9,59,45,.055)!important}.shipment-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:.8rem}.shipment-topline strong{font-size:1rem;color:#123a2f}.shipment-topline small{display:block;color:#7a8b84;font-size:.75rem;margin-top:.2rem}.ship-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef8f3;color:#0e5a45;border:1px solid rgba(14,90,69,.12);padding:.35rem .7rem;font-size:.74rem;font-weight:900;white-space:nowrap}.shipment-meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem}.shipment-meta-grid div{background:#f8fbf9;border:1px solid rgba(14,90,69,.09);border-radius:16px;padding:.65rem}.shipment-meta-grid span{display:block;color:#6b7f77;font-size:.72rem;font-weight:900;margin-bottom:.2rem}.shipment-meta-grid strong{font-size:.84rem;color:#123a2f;word-break:break-word}.mini-timeline{display:grid;gap:.45rem;background:#fbfdfc;border:1px dashed rgba(14,90,69,.14);border-radius:18px;padding:.7rem}.mini-timeline div{display:grid;grid-template-columns:10px 1fr auto;gap:.45rem;align-items:center}.mini-timeline span{width:9px;height:9px;border-radius:50%;background:#0e5a45}.mini-timeline p{margin:0;font-size:.78rem;font-weight:900;color:#315349}.mini-timeline small{font-size:.68rem;color:#7d8f88}.shipment-actions{display:flex;gap:.45rem;flex-wrap:wrap}.shipping-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:1120px;margin:1rem auto}.shipping-summary-list{display:grid;grid-template-columns:repeat(2,1fr);gap:.65rem}.shipping-summary-list div{background:#f8fbf9;border:1px solid rgba(14,90,69,.1);border-radius:16px;padding:.75rem}.shipping-summary-list span{display:block;color:#6b7f77;font-size:.72rem;font-weight:900}.shipping-summary-list strong{color:#123a2f;font-size:.92rem}.shipping-detail-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.9rem}.address-readable-card{display:grid;gap:.4rem;color:#315349}.address-readable-card strong{color:#123a2f}.address-readable-card small,.address-readable-card em{color:#667a72;line-height:1.7}.shipping-map-frame{width:100%;height:260px;border:0;border-radius:20px;margin-top:.9rem;background:#eef8f3}.shipping-timeline-card{max-width:1120px;margin:1rem auto}.shipping-timeline{display:grid;gap:.75rem}.shipping-event{display:grid;grid-template-columns:18px 1fr;gap:.65rem;align-items:flex-start}.shipping-event .event-dot{width:13px;height:13px;border-radius:50%;background:#0e5a45;margin-top:.35rem;box-shadow:0 0 0 6px #eef8f3}.shipping-event strong{color:#123a2f}.shipping-event p{margin:.12rem 0;color:#52675f;font-size:.84rem}.shipping-event small{color:#7d8f88;font-size:.72rem}
@media(max-width:820px){body.scope-client.route-shipping .enhanced-shipping-kpis{grid-template-columns:repeat(2,1fr);margin-inline:.5rem}.shipping-detail-grid{grid-template-columns:1fr;margin-inline:.5rem}.shipment-meta-grid,.shipping-summary-list{grid-template-columns:1fr}.shipment-topline{align-items:flex-start}.shipping-detail-actions .btn,.shipment-actions .btn{flex:1 1 auto;justify-content:center}.security-actions-grid{grid-template-columns:1fr}}
@media(max-width:520px){body.scope-client.route-addresses #address-map{height:300px;min-height:300px}.shipping-event{grid-template-columns:14px 1fr}.mini-timeline div{grid-template-columns:10px 1fr}.mini-timeline small{grid-column:2}.shipment-topline{flex-direction:column}.ship-status-pill{width:max-content}}
