/* App controls use the admin semantic palette. 44px touch targets, slim visual chrome. */
.ma-app-header,.ma-app-button,.ma-app-offer__action {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--theme-primary-border,var(--theme-border));border-radius:12px;background:var(--theme-primary-bg);color:var(--theme-primary-text);font-family:inherit;font-weight:700;font-size:12px;line-height:1.3;cursor:pointer;text-decoration:none;padding:8px 12px}
.ma-app-header {flex-shrink:0;white-space:nowrap;font-size:11px;padding:5px 10px}.ma-app-header img {border-radius:7px;object-fit:contain;background:#fff}
[data-app-promotion][hidden],[data-module-app-action][hidden],.ma-app-offer[hidden],.ma-app-dialog [hidden] {display:none!important}
html.ma-app-enabled .master-header {height:64px}
html.ma-app-enabled .cw-header {min-height:64px;padding-block:8px}
.ma-app-offer {position:fixed;right:20px;bottom:20px;display:flex;align-items:center;gap:9px;z-index:1050;width:min(410px,calc(100vw - 32px));padding:7px 9px;background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:16px;box-shadow:0 8px 30px #0002}
.ma-app-offer>img {flex:none;border-radius:9px;object-fit:contain;background:white}.ma-app-offer>span {flex:1;min-width:0}.ma-app-offer strong {display:block;font-size:12px;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ma-app-offer small {display:block;font-size:10px;color:var(--theme-text-muted);line-height:1.4}
.ma-app-offer__action {font-size:11px;padding:6px 9px;border-radius:10px;flex:none}.ma-app-offer__dismiss,.ma-app-dialog__header>button {width:44px;min-height:44px;border:0;background:transparent;color:var(--theme-text);font-size:24px;cursor:pointer;flex:none;padding:0}
.ma-app-dialog {margin:auto;max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px);overflow:auto;width:min(540px,calc(100vw - 24px));padding:0;border:1px solid var(--theme-border);border-radius:24px;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 24px 90px #0005}
.ma-app-dialog::backdrop {background:#080a12a6;backdrop-filter:blur(4px)}
.ma-app-dialog__header {position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:20px;background:var(--theme-surface-muted);border-bottom:1px solid var(--theme-border)}
.ma-app-dialog__header img {border-radius:16px;object-fit:contain;background:#fff;flex:none}.ma-app-dialog__header div {flex:1;min-width:0}.ma-app-dialog__header span,.ma-app-eyebrow {font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--theme-text-muted)}
.ma-app-dialog h2 {font-size:clamp(18px,3vw,24px);line-height:1.2;overflow-wrap:anywhere;margin:5px 0 0}.ma-app-dialog__tagline {padding:0 22px;margin:18px 0;font-size:15px;font-weight:700}.ma-app-dialog span[lang=hi],.ma-app-online span,.ma-app-launch__tagline span {display:block;font-size:.85em;font-weight:400;margin-top:6px}
.ma-app-guide {margin:0 22px;padding:14px 16px;background:var(--theme-surface-muted);border:1px solid var(--theme-border);border-radius:14px;font-size:13px;line-height:1.65}
.ma-app-dialog__facts {margin:18px 22px;font-size:12px;line-height:1.7}.ma-app-dialog h3 {font-size:14px;margin:0 0 8px}.ma-app-dialog p {color:var(--theme-text);overflow-wrap:anywhere}.ma-app-dialog__actions {display:flex;flex-wrap:wrap;gap:8px;margin:0 22px 16px}.ma-app-dialog__actions>.ma-app-button {flex:1;min-width:170px;text-align:center;font-size:12px}
.ma-app-button--soft {background:var(--theme-surface-muted);color:var(--theme-text);border-color:var(--theme-border)}
.ma-app-reset,.ma-app-never {min-height:44px;border:0;color:var(--theme-link);background:transparent;font:inherit;font-size:11px;text-align:center;cursor:pointer;padding:8px 12px}.ma-app-never {display:block;width:100%;border-block:1px solid var(--theme-border)}
.ma-app-dialog__privacy {display:block;padding:14px 22px;font-size:10px;line-height:1.6;color:var(--theme-text-muted)}
.ma-app-launch {max-width:1040px;margin:32px auto 60px;padding:clamp(20px,4vw,48px);border:1px solid var(--theme-border);border-radius:28px;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 16px 45px #0001}
.ma-app-launch__mark {display:flex;align-items:center;gap:18px;margin-bottom:28px}.ma-app-launch__mark img {border-radius:25px;object-fit:contain;background:white;box-shadow:0 10px 25px #0002}.ma-app-launch__mark>span {color:var(--theme-text-muted);font-size:12px;line-height:1.5}
.ma-app-launch h1 {font-size:clamp(30px,5vw,60px);letter-spacing:-.035em;line-height:1.05;margin:8px 0 18px}.ma-app-launch__tagline {font-size:clamp(16px,2vw,23px);line-height:1.5;margin:0 0 24px}.ma-app-launch__details {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0}.ma-app-launch__details article {padding:22px;border:1px solid var(--theme-border);border-radius:18px;background:var(--theme-surface-muted)}
.ma-app-launch__details article>span {display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--theme-primary-bg);color:var(--theme-primary-text);font-weight:800}.ma-app-launch h2 {font-size:18px;margin:15px 0 8px}.ma-app-launch p {color:var(--theme-text);overflow-wrap:anywhere}.ma-app-launch__details p {font-size:13px;line-height:1.7}.ma-app-launch__actions {display:flex;flex-wrap:wrap;gap:12px}.ma-app-online {font-size:11px;line-height:1.6;margin:18px 0 0}
.ma-app-header:focus-visible,.ma-app-button:focus-visible,.ma-app-offer button:focus-visible,.ma-app-dialog button:focus-visible {outline:3px solid var(--theme-link);outline-offset:3px}
@media(max-width:1199px){
 .ma-app-header{display:none}.ma-app-offer {left:12px;right:12px;bottom:var(--ma-app-dock-offset,calc(74px + env(safe-area-inset-bottom,0px)));width:auto;max-width:var(--ma-app-dock-width,560px);margin-inline:auto;border-radius:13px;padding:3px 7px;gap:7px}.ma-app-offer>img{width:28px;height:28px}.ma-app-offer small{display:none}.ma-app-offer strong{font-size:11px}.ma-app-offer__action{min-height:44px;padding:5px 8px;font-size:10px}.ma-app-offer__dismiss{width:44px;min-height:44px}
 html.ma-app-enabled .mobile-dock {min-height:62px;padding-block:4px}
 html.ma-app-enabled .mobile-dock__link {min-height:44px;padding-block:3px}
 html.ma-app-enabled .mobile-dock__icon {width:24px;height:24px}
 html.ma-app-enabled .mobile-dock__label{font-size:9px;line-height:1.3}
 html.ma-app-enabled .cw-float,html.ma-app-enabled .cw-dock,html.ma-app-enabled .pw-dock,html.ma-app-enabled .uw-dock {padding-block:5px}
 body.ma-app-offer-visible {padding-bottom:var(--ma-app-content-clearance,170px)!important}
 .ma-app-launch {margin:18px 10px 32px;padding:22px;border-radius:22px}.ma-app-launch__details{gap:12px}.ma-app-launch__details article{padding:18px}
}
@media(max-width:540px){.ma-app-launch__details{grid-template-columns:1fr}.ma-app-launch__mark img{width:72px;height:72px;border-radius:20px}.ma-app-launch__mark{gap:12px;margin-bottom:22px}.ma-app-dialog__header{padding:16px;gap:10px}.ma-app-dialog__header img{width:44px;height:44px}.ma-app-dialog__tagline,.ma-app-dialog__facts,.ma-app-guide,.ma-app-dialog__actions{margin-inline:16px}.ma-app-dialog__tagline{padding:0}.ma-app-launch__actions>.ma-app-button{width:100%}}
@media(prefers-reduced-motion:reduce){.ma-app-dialog,.ma-app-offer{scroll-behavior:auto;animation:none;transition:none}}

@media(min-width:1200px){.ma-app-offer{display:none!important}}
