/* The live product adapts on first paint; no device switch or installation is needed. */
.mobile-menu-button{display:none}
.mobile-menu-nav{gap:7px;margin-top:22px}
.mobile-menu-nav .nav-item{min-height:48px;font-size:14px;background:#f5f8fc;color:#355b80}
.mobile-menu-nav .nav-item.active{background:#e8f0ff;color:#164f98}

@media(max-width:1024px){
 body[data-product="true"]{background:#f5f7fb;-webkit-text-size-adjust:100%;text-size-adjust:100%;--mobile-nav-height:76px}
 body[data-product="true"] .preview-stage{padding:0;background:var(--canvas,#f5f7fb)}
 body[data-product="true"] .app-frame{width:100%;max-width:none;border:0;border-radius:0;box-shadow:none}
 body[data-product="true"] .app-shell{min-height:100svh;min-height:100dvh}
 body[data-product="true"] .app-header{position:sticky;top:0;z-index:25;height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left));background:#fffffff2;backdrop-filter:blur(16px);border-top:0;border-bottom:1px solid #dfe7f1;gap:12px}
 body[data-product="true"] .mobile-brand{gap:8px}
 body[data-product="true"] .mobile-brand .wordmark{font-size:20px}
 body[data-product="true"] .mobile-brand .nato-compass{width:29px;height:29px}
 body[data-product="true"] .header-right{gap:8px}
 body[data-product="true"] .header-right>.avatar,
 body[data-product="true"] .reminder-head{display:none}
 body[data-product="true"] .product-language{width:44px;height:44px;border:0;border-radius:13px;background:#edf3fb;font-size:12px}
 body[data-product="true"] .mobile-menu-button{display:grid;width:44px;height:44px;background:#edf3fb;border-radius:13px;color:#254e7c}
 body[data-product="true"] .mobile-menu-button .icon{width:21px;height:21px}
 body[data-product="true"] .main-content{padding:22px max(18px,env(safe-area-inset-right)) 28px max(18px,env(safe-area-inset-left));min-height:0}
 body[data-product="true"] .install-promo{display:none}
 body[data-product="true"] .page-heading{margin-bottom:20px;gap:12px}
 body[data-product="true"] .page-heading h1{font-size:28px;line-height:1.2;margin:6px 0 8px}
 body[data-product="true"] .page-heading p:not(.eyebrow){font-size:14px;line-height:1.55}
 body[data-product="true"] .view-daily>.page-heading>.allied-identity{display:none}
 body[data-product="true"] .view-daily>.page-heading .eyebrow{font-size:9px;letter-spacing:.09em}
 body[data-product="true"] .view-daily>.page-heading p:not(.eyebrow){max-width:540px;font-size:13px}

 /* Keep the day's action close to the greeting while retaining the NATO artwork. */
 body[data-product="true"] .deep .week-hero{border-radius:18px;padding:20px;margin-bottom:24px!important;background:#0a3263}
 body[data-product="true"] .deep .week-hero .briefing-photo{width:calc(100% + 40px);height:132px;margin:-20px -20px 0;object-position:70% 45%;mask-image:linear-gradient(#000 65%,transparent)}
 body[data-product="true"] .deep .week-hero>.hero-copy{margin-top:-5px;max-width:100%!important}
 body[data-product="true"] .week-hero .briefing-kicker{font-size:8px;gap:9px}
 body[data-product="true"] .deep .week-hero .hero-copy>.eyebrow{display:none}
 body[data-product="true"] .deep .week-hero h2{font-size:clamp(25px,6.8vw,32px);line-height:1.15;margin:13px 0 12px;max-width:100%;text-wrap:balance}
 body[data-product="true"] .deep .week-hero p:not(.eyebrow){font-size:14px;line-height:1.55;max-width:520px;margin-bottom:18px}
 body[data-product="true"] .deep .week-hero .btn{width:100%;min-height:50px;border-radius:12px;font-size:14px;justify-content:space-between;padding:13px 17px}
 body[data-product="true"] .deep .week-hero .hero-meta{font-size:10px;line-height:1.5;margin-top:13px;gap:7px;max-width:100%}
 body[data-product="true"] .week-hero .hero-corner-mark{top:14px;right:14px}
 body[data-product="true"] .week-hero:after{border-radius:12px}

 body[data-product="true"] .bottom-nav{position:fixed;inset:auto 0 0;display:flex;padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));min-height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));background:#fffffff7;backdrop-filter:blur(18px);border-top:1px solid #dce5f0;box-shadow:0 -5px 28px #15375408;z-index:30;gap:3px;border-radius:0}
 body[data-product="true"] .deep .bottom-nav>.nav-item{flex:1;min-width:0;min-height:58px;gap:5px;padding:7px 2px;font-size:11px;line-height:1.2;font-weight:500;text-align:center;color:#6b7f98;border-radius:14px;flex-direction:column}
 body[data-product="true"] .deep .bottom-nav>.nav-item>.icon{width:22px;height:22px}
 body[data-product="true"] .deep .bottom-nav>.nav-item.active{background:#eaf1fe;color:#174e95;font-weight:700}
 body[data-product="true"] .app-footer{padding:20px 18px calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 24px);font-size:9px;line-height:1.6}
 body[data-product="true"] .app-footer>button{font-size:9px;min-height:44px;min-width:44px}
 body[data-product="true"] .btn,
 body[data-product="true"] .text-btn{min-height:44px}
 body[data-product="true"] .text-btn{font-size:12px}
 body[data-product="true"] .setting>.toggle{box-sizing:content-box;border-block:11px solid transparent;background-clip:padding-box;min-width:36px}
 body[data-product="true"] input,
 body[data-product="true"] textarea,
 body[data-product="true"] select{font-size:16px}
 body[data-product="true"] .chat-prompts>button{min-height:44px;font-size:12px}
 body[data-product="true"] .mentor-composer textarea{min-height:88px;font-size:16px}
 body[data-product="true"] .send-button{width:44px;height:44px}
 body[data-product="true"] .session-title{scroll-margin-top:calc(82px + env(safe-area-inset-top))}
 body[data-product="true"] .session-actions>.btn{min-height:48px;border-radius:12px;font-size:13px}
 body[data-product="true"] #toast{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 12px)}
 body[data-product="true"] .modal-backdrop{align-items:flex-end;padding:0}
 body[data-product="true"] .modal{border-radius:24px 24px 0 0;padding:28px max(22px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));max-width:640px;max-height:calc(100dvh - 30px - env(safe-area-inset-top))}
 body[data-product="true"] .modal h2{font-size:25px;padding-right:25px}
 body[data-product="true"] .modal>p{font-size:14px;line-height:1.65}
 body[data-product="true"] .modal-close{min-width:44px;min-height:44px;top:12px;right:12px}
 body[data-product="true"] .modal .btn{min-height:46px;font-size:13px}
 body[data-product="true"] .modal:has(.mobile-menu-nav)>.modal-emblem{display:none}
}

@media(min-width:600px) and (max-width:1024px){
 body[data-product="true"] .main-content{max-width:680px;margin-inline:auto}
 body[data-product="true"] .deep .week-hero{padding:24px}
 body[data-product="true"] .deep .week-hero .briefing-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:.24;mask-image:linear-gradient(90deg,transparent,#000)}
 body[data-product="true"] .deep .week-hero>.hero-copy{margin-top:0}
 body[data-product="true"] .deep .week-hero .btn{max-width:360px}
}

@media(max-width:359px){
 body[data-product="true"] .mobile-brand .wordmark{font-size:18px}
 body[data-product="true"] .mobile-brand .nato-compass{width:25px;height:25px}
 body[data-product="true"] .header-right{gap:5px}
 body[data-product="true"] .deep .bottom-nav>.nav-item{font-size:10px}
 body[data-product="true"] .deep .week-hero{padding:18px}
 body[data-product="true"] .deep .week-hero .briefing-photo{width:calc(100% + 36px);height:105px;margin:-18px -18px 0}
}
