/* PEP-MOBILE-APPLICATION-EXPERIENCE-ASSET-SEPARATION-09 */
:root{
  --kbm-mae-navy:#0b1f33;
  --kbm-mae-navy-2:#143451;
  --kbm-mae-yellow:#ffc400;
  --kbm-mae-yellow-2:#ffb800;
  --kbm-mae-bg:#f3f6fa;
  --kbm-mae-card:#fff;
  --kbm-mae-text:#101827;
  --kbm-mae-muted:#64748b;
  --kbm-mae-border:#e3e9f0;
  --kbm-mae-danger:#dc2626;
  --kbm-mae-success:#15803d;
  --kbm-mae-radius:20px;
  --kbm-mae-shadow:0 10px 32px rgba(15,23,42,.08);
  --kbm-mae-header-h:58px;
  --kbm-mae-appbar-h:72px;
  --kbm-mae-safe-bottom:env(safe-area-inset-bottom,0px);
}

@media(max-width:767px){
  html{scroll-behavior:smooth;scroll-padding-top:calc(var(--kbm-mae-header-h) + 10px);overflow-x:hidden;background:var(--kbm-mae-bg)}
  html.kbm-mae-keyboard-open{scroll-padding-bottom:12px}
  body.kbm-mae-app{
    width:100%;max-width:100%;overflow-x:hidden;background:var(--kbm-mae-bg)!important;color:var(--kbm-mae-text);
    padding-bottom:calc(var(--kbm-mae-appbar-h) + var(--kbm-mae-safe-bottom) + 18px)!important;
    -webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;
  }
  body.kbm-mae-focus-flow{padding-bottom:calc(20px + var(--kbm-mae-safe-bottom))!important}
  body.kbm-mae-focus-flow .kbm-quf-app-bar{display:none!important}
  body.kbm-mae-keyboard-open .kbm-quf-app-bar{transform:translateY(calc(100% + 24px))!important;opacity:0!important;pointer-events:none!important}
  body.kbm-mae-app *{max-width:100%}
  body.kbm-mae-app img{height:auto}
  body.kbm-mae-app :where(button,a,input,select,textarea){touch-action:manipulation}
  body.kbm-mae-app :where(input,select,textarea){font-size:16px!important}

  /* Suppress every legacy mobile shell except the Theme app bar. */
  body.kbm-mae-app :where(.kbm-mobile-bottom-nav,.kbm-app-mini-topbar,.kbm-mobile-app-nav,.kbm-pwa-bottom-nav,.kbm-app-bottom-nav,.kbm-bottom-nav,.kbm-f29-appbar,nav[aria-label="ناوبری اصلی موبایل"]):not([data-kbm-theme-mobile-appbar]){display:none!important;visibility:hidden!important;pointer-events:none!important}

  /* Compact app header. */
  
  
  
  
  
  body.kbm-mae-app:not(.kbm-header-one-authority-65) [data-kbm-theme-mobile-search] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}

  /* Offcanvas becomes a real app drawer. */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Search bottom sheet. */

  /* Main app canvas and vertical rhythm. */
  body.kbm-mae-app :where(main,.kbm-theme-main,.site-main,#primary,.content-area){width:100%!important;max-width:100%!important;min-width:0!important}
  body.kbm-mae-app :where(.kbm-container,.container,.kbm-shell,.kbm-page-shell,.kbm-home-container,.kbm-adsv2-container,.kbm-p3-container,.kbm-p8-container,.kbm-p13-container){width:100%!important;max-width:100%!important;padding-inline:12px!important;margin-inline:auto!important}
  body.kbm-mae-app :where(h1){font-size:clamp(25px,7.2vw,32px)!important;line-height:1.45!important;letter-spacing:-.04em!important}
  body.kbm-mae-app :where(h2){font-size:clamp(20px,5.8vw,26px)!important;line-height:1.55!important}
  body.kbm-mae-app :where(h3){font-size:16px!important;line-height:1.65!important}
  body.kbm-mae-app :where(p){line-height:1.9}
  body.kbm-mae-app :where(.kbm-hero,.kbm-ahc-home__hero,.kbm-adsv2-hero,.kbm-drivers-hero,.kbm-v08-hero){border-radius:0 0 26px 26px!important;margin-inline:0!important;overflow:hidden!important}

  /* Home: compact hero, horizontal service paths, no exhausting large sections. */
  body.kbm-mae-route-home .kbm-ahc-home{margin:0!important;padding:0 0 16px!important}
  body.kbm-mae-route-home .kbm-ahc-home__hero{min-height:0!important;padding:18px 12px 20px!important;display:block!important;background-position:36% center!important}
  body.kbm-mae-route-home .kbm-ahc-home__hero:before{background:linear-gradient(180deg,rgba(8,25,42,.28),rgba(8,25,42,.82))!important}
  body.kbm-mae-route-home .kbm-ahc-home__hero-copy{padding:8px 4px 18px!important;max-width:none!important}
  body.kbm-mae-route-home .kbm-ahc-home__hero-copy h1{font-size:29px!important;line-height:1.5!important;max-width:330px!important}
  body.kbm-mae-route-home .kbm-ahc-home__hero-copy p{font-size:14px!important;line-height:1.9!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  body.kbm-mae-route-home .kbm-ahc-home__hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.kbm-mae-route-home .kbm-ahc-home__hero-actions a{min-height:50px!important;padding:11px 8px!important;border-radius:15px!important;font-size:13px!important;text-align:center!important}
  body.kbm-mae-route-home .kbm-ahc-home__hero-actions a:nth-child(3){grid-column:1/-1!important}
  body.kbm-mae-route-home .kbm-ahc-home__proof{display:flex!important;overflow-x:auto!important;scroll-snap-type:x proximity;gap:7px!important;padding-bottom:4px!important;scrollbar-width:none}
  body.kbm-mae-route-home .kbm-ahc-home__proof::-webkit-scrollbar{display:none}
  body.kbm-mae-route-home .kbm-ahc-home__proof span{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}
  body.kbm-mae-route-home .kbm-ahc-calc{margin:0!important;padding:15px!important;border-radius:22px!important;box-shadow:0 18px 50px rgba(15,23,42,.16)!important}
  body.kbm-mae-route-home .kbm-ahc-calc form{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.kbm-mae-route-home .kbm-ahc-calc :where(input,select){min-height:50px!important;border-radius:14px!important}
  body.kbm-mae-route-home .kbm-ahc-calc button{min-height:52px!important;border-radius:15px!important}
  body.kbm-mae-route-home :where(.kbm-ahc-home__paths,.kbm-ahc-home__latest,.kbm-ahc-home__process,.kbm-ahc-home__cta){margin:14px 12px!important;padding:15px!important;border-radius:22px!important}

  /* Archive toolbar and filter bottom sheet. */
  body.kbm-mae-route-ads :where(.kbm-adsv2-toolbar,.kbm-p3-toolbar,.kbm-archive-toolbar),
  body.kbm-mae-route-drivers :where(.kbm-drivers-toolbar,.kbm-p13-toolbar,.kbm-archive-toolbar){position:sticky!important;top:calc(var(--kbm-mae-header-h) + var(--kbm-theme-adminbar,0px))!important;z-index:800!important;background:rgba(243,246,250,.94)!important;backdrop-filter:blur(14px)!important;border-radius:0!important;margin-inline:-12px!important;padding:8px 12px!important;border-bottom:1px solid #e2e8f0!important}
  .kbm-mae-filter-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:44px;padding:0 14px;border:0;border-radius:14px;background:var(--kbm-mae-navy);color:#fff;font-weight:950;box-shadow:0 8px 20px rgba(11,31,51,.18)}
  .kbm-mae-filter-trigger svg{width:18px;height:18px;fill:currentColor}
  .kbm-mae-filter-trigger__count{min-width:20px;height:20px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:99px;background:var(--kbm-mae-yellow);color:#111827;font-size:11px}
  .kbm-mae-filter-sheet{position:fixed!important;inset:auto 0 0!important;width:100%!important;max-width:none!important;max-height:min(88dvh,760px)!important;margin:0!important;padding:0!important;border-radius:26px 26px 0 0!important;background:#fff!important;box-shadow:0 -24px 70px rgba(15,23,42,.25)!important;overflow:hidden!important;transform:translateY(104%)!important;transition:transform .24s cubic-bezier(.2,.8,.2,1)!important;z-index:2147483600!important;display:flex!important;flex-direction:column!important;visibility:visible!important;opacity:1!important}
  .kbm-mae-filter-sheet.is-open{transform:translateY(0)!important}
  .kbm-mae-filter-sheet__head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:60px;padding:9px 14px;border-bottom:1px solid #e5eaf0;background:#fff;position:sticky;top:0;z-index:3}
  .kbm-mae-filter-sheet__head strong{font-size:17px;font-weight:950}.kbm-mae-filter-sheet__head button{width:42px;height:42px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;font-size:22px}
  .kbm-mae-filter-sheet__body{overflow-y:auto;overscroll-behavior:contain;padding:12px 14px 100px!important}
  .kbm-mae-filter-sheet__footer{position:absolute;inset:auto 0 0;padding:10px 14px calc(10px + var(--kbm-mae-safe-bottom));display:grid;grid-template-columns:1fr 2fr;gap:8px;background:linear-gradient(180deg,rgba(255,255,255,.7),#fff 25%);border-top:1px solid #e5eaf0;z-index:4}
  .kbm-mae-filter-sheet__footer button,.kbm-mae-filter-sheet__footer a{min-height:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-weight:950;text-decoration:none}.kbm-mae-filter-sheet__apply{border:0;background:var(--kbm-mae-yellow);color:#111827}.kbm-mae-filter-sheet__clear{border:1px solid #dbe3ec;background:#fff;color:#334155}
  .kbm-mae-filter-backdrop{position:fixed;inset:0;background:rgba(5,15,26,.52);backdrop-filter:blur(4px);z-index:2147483500;display:none}.kbm-mae-filter-backdrop.is-open{display:block}
  html.kbm-mae-sheet-open,html.kbm-mae-sheet-open body{overflow:hidden!important;overscroll-behavior:none!important}
  .kbm-mae-filter-sheet :where(label){display:grid;gap:6px;font-size:13px;font-weight:900;color:#334155}
  .kbm-mae-filter-sheet :where(input,select,textarea){width:100%!important;min-height:50px!important;border-radius:14px!important;border:1px solid #dbe3ec!important;background:#fff!important;padding:10px 12px!important}

  /* Rental and driver listing cards become compact touch-friendly app cards. */
  body.kbm-mae-app :where(.kbm-adsv2-grid,.kbm-ads-grid,.kbm-p3-grid,.kbm-drivers-grid,.kbm-p13-grid,.kbm-dashboard-grid){display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:0!important}
  body.kbm-mae-app :where(.kbm-adsv2-card,.kbm-ad-card,.kbm-p20p-card,.kbm-p20-card,.kbm-driver-card,.kbm-p13-driver-card,.kbm-dashboard-card,.kbm-dash-card){
    width:100%!important;min-height:0!important;margin:0!important;padding:10px!important;border:1px solid var(--kbm-mae-border)!important;border-radius:18px!important;
    background:var(--kbm-mae-card)!important;box-shadow:0 6px 20px rgba(15,23,42,.055)!important;overflow:hidden!important;
  }
  body.kbm-mae-route-ads :where(.kbm-adsv2-card,.kbm-ad-card,.kbm-p20p-card,.kbm-p20-card){display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;grid-template-areas:"media body"!important;gap:11px!important;align-items:stretch!important;direction:rtl!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__media,.kbm-ad-card__media,.kbm-p20p-card__media,.kbm-p20-card__media,.kbm-card-media){grid-area:media!important;width:112px!important;height:126px!important;min-height:126px!important;border-radius:14px!important;overflow:hidden!important;background:#e9eef4!important;margin:0!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__media img,.kbm-ad-card__media img,.kbm-p20p-card__media img,.kbm-p20-card__media img,.kbm-card-media img){width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__body,.kbm-ad-card__body,.kbm-p20p-card__body,.kbm-p20-card__body,.kbm-card-body){grid-area:body!important;min-width:0!important;padding:1px 0!important;display:flex!important;flex-direction:column!important;gap:5px!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card h2,.kbm-adsv2-card h3,.kbm-ad-card h2,.kbm-ad-card h3,.kbm-p20p-card h3,.kbm-p20-card h3){font-size:15px!important;line-height:1.55!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__meta,.kbm-ad-card__meta,.kbm-card-meta){display:flex!important;gap:5px!important;overflow:hidden!important;white-space:nowrap!important;font-size:11px!important;color:#64748b!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__price,.kbm-ad-card__price,.kbm-price){margin-top:auto!important;font-size:14px!important;font-weight:950!important;color:var(--kbm-mae-navy)!important;white-space:normal!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__actions,.kbm-ad-card__actions,.kbm-card-actions){display:flex!important;gap:6px!important;margin-top:4px!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__actions a,.kbm-ad-card__actions a,.kbm-card-actions a){min-height:38px!important;padding:7px 10px!important;border-radius:12px!important;font-size:12px!important;flex:1!important}

  body.kbm-mae-route-drivers :where(.kbm-driver-card,.kbm-p13-driver-card){display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:11px!important;align-items:center!important}
  body.kbm-mae-route-drivers :where(.kbm-driver-card img,.kbm-p13-driver-card img){width:64px!important;height:64px!important;border-radius:18px!important;object-fit:cover!important;background:#eef2f6!important}
  body.kbm-mae-route-drivers :where(.kbm-driver-card h3,.kbm-p13-driver-card h3){margin:0!important;font-size:15px!important}

  /* Chips are swipeable like native applications. */
  body.kbm-mae-app :where(.kbm-chips,.kbm-filter-chips,.kbm-adsv2-chips,.kbm-category-chips,.kbm-tags,.kbm-meta-chips){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:7px!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important;padding-bottom:3px!important}
  body.kbm-mae-app :where(.kbm-chips,.kbm-filter-chips,.kbm-adsv2-chips,.kbm-category-chips,.kbm-tags,.kbm-meta-chips)::-webkit-scrollbar{display:none!important}
  body.kbm-mae-app :where(.kbm-chips,.kbm-filter-chips,.kbm-adsv2-chips,.kbm-category-chips,.kbm-tags,.kbm-meta-chips)>*{flex:0 0 auto!important;scroll-snap-align:start!important;white-space:nowrap!important}

  /* Single ad / driver: gallery first, one clear sticky action area. */
  body.kbm-mae-route-ad-single :where(.kbm-single,.kbm-adsv2-single,.kbm-p20-single,.kbm-single-shell),
  body.kbm-mae-route-driver-single :where(.kbm-driver-single,.kbm-p13-single,.kbm-single-shell){padding:0 12px 90px!important;margin:0!important}
  body.kbm-mae-route-ad-single :where(.kbm-gallery,.kbm-ad-gallery,.kbm-adsv2-gallery,.kbm-single-gallery){margin-inline:-12px!important;width:calc(100% + 24px)!important;border-radius:0 0 22px 22px!important;overflow:hidden!important;background:#e8edf3!important}
  body.kbm-mae-route-ad-single :where(.kbm-gallery img,.kbm-ad-gallery img,.kbm-adsv2-gallery img,.kbm-single-gallery img){width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important;max-height:430px!important}
  body.kbm-mae-route-ad-single :where(.kbm-single-card,.kbm-adsv2-single__main,.kbm-p20-single__main,.kbm-single-main),
  body.kbm-mae-route-driver-single :where(.kbm-single-card,.kbm-driver-single__main,.kbm-single-main){margin:10px 0!important;padding:14px!important;border:1px solid var(--kbm-mae-border)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--kbm-mae-shadow)!important}
  body.kbm-mae-route-ad-single :where(.kbm-single-sidebar,.kbm-adsv2-single__sidebar,.kbm-p20-single__aside),
  body.kbm-mae-route-driver-single :where(.kbm-single-sidebar,.kbm-driver-single__aside){position:static!important;width:100%!important;max-width:none!important}
  .kbm-mae-single-actions{position:fixed;left:8px;right:8px;bottom:calc(8px + var(--kbm-mae-safe-bottom));z-index:2147479000;padding:7px;display:grid;grid-template-columns:1fr 1.45fr;gap:7px;border:1px solid rgba(226,232,240,.98);border-radius:21px;background:rgba(255,255,255,.98);box-shadow:0 -10px 34px rgba(15,23,42,.16);backdrop-filter:blur(16px)}
  .kbm-mae-single-actions a,.kbm-mae-single-actions button{min-height:50px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:950;text-decoration:none;border:1px solid #dce4ec;background:#fff;color:#10243a}
  .kbm-mae-single-actions .is-primary{border-color:var(--kbm-mae-yellow);background:linear-gradient(180deg,var(--kbm-mae-yellow),var(--kbm-mae-yellow-2));color:#111827}

  /* Forms: card sections, progress, thumb-friendly controls and sticky submit. */
  body.kbm-mae-route-submit :where(.kbm-submit-shell,.kbm-submit-ad,.kbm-submit-form,.kbm-ad-submit-form,.kbm-driver-submit-form,form[data-kbm-submit]){width:100%!important;max-width:none!important;margin:0!important;padding:12px 12px 100px!important}
  body.kbm-mae-route-submit :where(fieldset,.kbm-form-section,.kbm-submit-section,.kbm-form-card){margin:0 0 10px!important;padding:14px!important;border:1px solid var(--kbm-mae-border)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 5px 20px rgba(15,23,42,.045)!important}
  body.kbm-mae-route-submit :where(label){font-size:13px!important;font-weight:900!important;color:#334155!important}
  body.kbm-mae-route-submit :where(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%!important;min-height:52px!important;border:1px solid #dbe3ec!important;border-radius:15px!important;background:#fdfefe!important;padding:10px 13px!important;box-shadow:none!important}
  body.kbm-mae-route-submit textarea{min-height:110px!important;resize:vertical!important}
  body.kbm-mae-route-submit :where(input:focus,select:focus,textarea:focus){outline:none!important;border-color:#e7ad00!important;box-shadow:0 0 0 4px rgba(255,196,0,.16)!important}
  body.kbm-mae-route-submit :where(.kbm-upload-zone,.kbm-image-uploader,.kbm-dropzone){min-height:150px!important;border-radius:18px!important;border:2px dashed #cbd5e1!important;background:#f8fafc!important}
  .kbm-mae-form-progress{position:sticky;top:calc(var(--kbm-mae-header-h) + var(--kbm-theme-adminbar,0px));z-index:850;margin:0 -12px 10px;padding:8px 12px;background:rgba(243,246,250,.95);backdrop-filter:blur(12px);border-bottom:1px solid #e2e8f0}
  .kbm-mae-form-progress__row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:900;color:#475569}.kbm-mae-form-progress__bar{height:6px;border-radius:99px;background:#e2e8f0;overflow:hidden;margin-top:6px}.kbm-mae-form-progress__bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--kbm-mae-yellow-2),var(--kbm-mae-yellow));border-radius:inherit;transition:width .2s ease}
  .kbm-mae-submit-dock{position:fixed;left:8px;right:8px;bottom:calc(8px + var(--kbm-mae-safe-bottom));z-index:2147479500;padding:7px;border:1px solid #e2e8f0;border-radius:21px;background:rgba(255,255,255,.98);box-shadow:0 -10px 32px rgba(15,23,42,.16);backdrop-filter:blur(16px)}
  .kbm-mae-submit-dock button{width:100%;min-height:52px!important;border:0!important;border-radius:15px!important;background:linear-gradient(180deg,var(--kbm-mae-yellow),var(--kbm-mae-yellow-2))!important;color:#111827!important;font-weight:950!important;font-size:15px!important}

  /* Dashboard app layout. */
  body.kbm-mae-route-dashboard :where(.kbm-dashboard,.kbm-dashboard-shell,.kbm-p8-dashboard){padding:12px!important;margin:0!important}
  body.kbm-mae-route-dashboard :where(.kbm-dashboard-tabs,.kbm-dashboard-nav,.kbm-p8-tabs){display:flex!important;overflow-x:auto!important;gap:7px!important;scrollbar-width:none!important;margin:0 -12px 10px!important;padding:8px 12px!important;background:#fff!important;position:sticky!important;top:calc(var(--kbm-mae-header-h) + var(--kbm-theme-adminbar,0px))!important;z-index:780!important;border-bottom:1px solid #e2e8f0!important}
  body.kbm-mae-route-dashboard :where(.kbm-dashboard-tabs,.kbm-dashboard-nav,.kbm-p8-tabs)::-webkit-scrollbar{display:none}
  body.kbm-mae-route-dashboard :where(.kbm-dashboard-tabs a,.kbm-dashboard-nav a,.kbm-p8-tabs a){flex:0 0 auto!important;min-height:42px!important;padding:9px 13px!important;border-radius:14px!important;white-space:nowrap!important}
  body.kbm-mae-route-dashboard :where(.kbm-dashboard-card,.kbm-dash-card){display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important}
  body.kbm-mae-route-dashboard :where(.kbm-dashboard-card img,.kbm-dash-card img){width:92px!important;height:96px!important;object-fit:cover!important;border-radius:14px!important}
  body.kbm-mae-route-dashboard :where(.kbm-dashboard-card__actions,.kbm-dash-card__actions){grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.kbm-mae-route-dashboard :where(.kbm-dashboard-card__actions a,.kbm-dashboard-card__actions button,.kbm-dash-card__actions a,.kbm-dash-card__actions button){min-height:42px!important;border-radius:13px!important;font-size:12px!important}

  /* Authentication: rc81 leaves the canonical .kbm-auth-recode surface entirely
     to kbm-auth-otp-recode.css. The former generic mobile override zeroed its
     padding/radius and was the visual regression on /project-login/. */
  body.kbm-mae-route-auth :where(.kbm-ahc-auth,.kbm-auth-page){min-height:100dvh!important;padding:0!important;border-radius:0!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__topbar{min-height:56px!important;padding:8px 12px!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__topbar nav{display:none!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__grid{display:flex!important;flex-direction:column!important;min-height:calc(100dvh - 56px)!important;padding:0!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__visual{min-height:210px!important;padding:20px 14px 54px!important;border-radius:0 0 30px 30px!important;background-position:center!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__visual-content h1{font-size:26px!important;line-height:1.5!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__visual-content p{font-size:13px!important;line-height:1.8!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.kbm-mae-route-auth .kbm-ahc-auth__benefits{display:none!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__panel{width:calc(100% - 24px)!important;margin:-36px 12px 16px!important;padding:18px 15px!important;border-radius:24px!important;box-shadow:0 20px 60px rgba(15,23,42,.2)!important;position:relative!important;z-index:2!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__panel :where(input){min-height:54px!important;border-radius:16px!important}
  body.kbm-mae-route-auth .kbm-ahc-auth__panel :where(button){min-height:54px!important;border-radius:16px!important}

  /* About, Contact and Footer: mobile cards and accordions. */
  body.kbm-mae-route-static :where(.kbm-v08-page){padding:0 12px 24px!important}
  body.kbm-mae-route-static .kbm-v08-hero{margin-inline:-12px!important;padding:20px 14px!important;min-height:220px!important}
  body.kbm-mae-route-static :where(.kbm-v08-story,.kbm-v08-contact-hub,.kbm-v08-address){display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:14px!important;margin:12px 0!important;border-radius:22px!important}
  body.kbm-mae-route-static :where(.kbm-v08-machine-grid,.kbm-v08-process__grid,.kbm-v08-contact-hub__cards,.kbm-v08-contact-details,.kbm-v08-gallery){display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.kbm-mae-route-static .kbm-v08-machine-card{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
  body.kbm-mae-route-static .kbm-v08-machine-card img{width:72px!important;height:72px!important;object-fit:contain!important}
  body.kbm-mae-route-static .kbm-v08-gallery__item img{max-height:240px!important;object-fit:cover!important}
  body.kbm-mae-app .kbm-v08-footer{margin-top:18px!important;padding:18px 12px calc(var(--kbm-mae-appbar-h) + var(--kbm-mae-safe-bottom) + 20px)!important;border-radius:28px 28px 0 0!important}
  body.kbm-mae-focus-flow .kbm-v08-footer{padding-bottom:calc(18px + var(--kbm-mae-safe-bottom))!important}
  body.kbm-mae-app .kbm-v08-footer__trust{display:flex!important;overflow-x:auto!important;gap:8px!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;padding-bottom:4px!important}
  body.kbm-mae-app .kbm-v08-footer__trust::-webkit-scrollbar{display:none!important}
  body.kbm-mae-app .kbm-v08-footer__trust article{flex:0 0 82%!important;scroll-snap-align:start!important}
  body.kbm-mae-app .kbm-v08-footer__grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.kbm-mae-app .kbm-v08-footer__grid>section,body.kbm-mae-app .kbm-v08-footer__grid>nav{padding:12px!important;border-radius:17px!important;background:rgba(255,255,255,.05)!important}
  body.kbm-mae-app .kbm-v08-footer__links{display:block!important}
  body.kbm-mae-app .kbm-v08-footer__links h3{margin:0!important;min-height:38px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}
  body.kbm-mae-app .kbm-v08-footer__links h3:after{content:"⌄";font-size:18px;transition:transform .2s ease}
  body.kbm-mae-app .kbm-v08-footer__links:not(.is-open)>a{display:none!important}
  body.kbm-mae-app .kbm-v08-footer__links.is-open h3:after{transform:rotate(180deg)}
  body.kbm-mae-app .kbm-v08-footer__links a{min-height:42px!important;display:flex!important;align-items:center!important;border-top:1px solid rgba(255,255,255,.08)!important}


  /* Loading and touch feedback. */
  .kbm-mae-tap{transform:scale(.97)!important;transition:none!important}
  .kbm-mae-skeleton{position:relative;overflow:hidden;background:#e9eef4!important;color:transparent!important}.kbm-mae-skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:kbmMaeShimmer 1.35s infinite}
  @keyframes kbmMaeShimmer{to{transform:translateX(100%)}}
  @keyframes kbmMaeSheetIn{from{transform:translateY(20px);opacity:.7}to{transform:translateY(0);opacity:1}}
}

@media(max-width:380px){
  :root{--kbm-mae-header-h:56px;--kbm-mae-appbar-h:68px}
  
  body.kbm-mae-route-ads :where(.kbm-adsv2-card,.kbm-ad-card,.kbm-p20p-card,.kbm-p20-card){grid-template-columns:102px minmax(0,1fr)!important}
  body.kbm-mae-route-ads :where(.kbm-adsv2-card__media,.kbm-ad-card__media,.kbm-p20p-card__media,.kbm-p20-card__media,.kbm-card-media){width:102px!important;height:120px!important;min-height:120px!important}
}

@media(min-width:768px){
  .kbm-mae-filter-trigger,.kbm-mae-filter-backdrop,.kbm-mae-single-actions,.kbm-mae-form-progress,.kbm-mae-submit-dock{display:none!important}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* rc.100 — Search UI retired from Core. Theme native Header is the sole owner. */
[data-kbm-theme-mobile-search],.kbm-mae-search-sheet,.kbm-mae-search-trigger{display:none!important;visibility:hidden!important;pointer-events:none!important}
