.app-install-trigger{border:1px solid #d6e1ed;border-radius:24px;background:#edf3fa;color:#102c50;padding:11px 16px;min-height:44px;font:700 14px/1.2 Arial,sans-serif;white-space:nowrap;cursor:pointer}
.app-install-dialog{box-sizing:border-box;width:min(440px,calc(100% - 28px));border:0;border-radius:24px;padding:28px;color:#102c50;background:#fff;box-shadow:0 24px 80px #0b234344;font:16px/1.55 Arial,sans-serif;max-height:85dvh;overflow:auto}
.app-install-dialog::backdrop{background:#0b234380}.app-install-dialog h2{font-size:25px;line-height:1.2;margin:18px 0 12px}.app-install-dialog p{margin:12px 0}.app-install-dialog ol{padding-left:24px}.app-install-dialog li{padding:5px 0}.app-dialog-close{position:absolute;right:14px;top:14px;width:44px;height:44px;border:0;background:#edf3fa;border-radius:50%;font-size:26px;color:#102c50;cursor:pointer}.app-native-install{width:100%;min-height:48px;border:0;border-radius:12px;background:#e97700;color:#fff;font-size:16px;font-weight:700;cursor:pointer}.app-install-note{font-size:14px;color:#53677d}.app-connection,.app-update{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:110;max-width:calc(100% - 32px);width:max-content;border:0;border-radius:12px;padding:12px 18px;background:#102c50;color:#fff;font:600 14px/1.4 Arial,sans-serif;box-shadow:0 5px 25px #10233f30}.app-update{background:#e97700;cursor:pointer}.app-connection:not([hidden])~.app-update{bottom:calc(80px + env(safe-area-inset-bottom))}
@media(display-mode:standalone){html{background:#fff}header.flyers-header{padding-top:env(safe-area-inset-top)!important}.app-install-trigger{display:none!important}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}
@media(max-width:760px) and (display-mode:standalone){body{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}header.flyers-header .flyers-main-nav{position:fixed;left:0;right:0;bottom:0;width:auto;z-index:50;margin:0;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce4ed;box-shadow:0 -4px 16px #10233f08;gap:5px}header.flyers-header .flyers-main-nav a{min-height:44px;font-size:14px}.flyers-header .flyers-wordmark{width:128px}.app-connection,.app-update{bottom:calc(84px + env(safe-area-inset-bottom))}html{scroll-padding-top:140px}.country-flags{max-width:none}}
button.app-install-trigger:focus-visible,.app-install-dialog button:focus-visible,.app-update:focus-visible{outline:3px solid #ff850a;outline-offset:3px}
@media(max-width:760px) and (display-mode:standalone){.comparison-bar{bottom:calc(84px + env(safe-area-inset-bottom))}body:has(.comparison-bar:not([hidden])){padding-bottom:calc(190px + env(safe-area-inset-bottom))!important}body:has(.comparison-bar:not([hidden])) .app-connection,body:has(.comparison-bar:not([hidden])) .app-update{bottom:calc(178px + env(safe-area-inset-bottom))}}
.app-install-dialog .app-install-wordmark{display:block;width:190px;max-width:calc(100% - 46px);height:auto;object-fit:contain;margin:8px 0 24px}.app-install-dialog{height:auto;min-height:0}
/* Compact install sheet, isolated from the full-screen flyer viewer dialog. */
dialog.app-install-dialog{position:fixed;inset:auto 0 14px;margin:0 auto;width:min(430px,calc(100% - 24px));height:auto;min-height:0;max-height:calc(100dvh - 28px);padding:22px 24px 20px;border-radius:24px;overflow:auto;line-height:1.4}
dialog.app-install-dialog[open]{display:block}
.app-install-dialog .app-install-wordmark{width:130px;height:auto;max-width:calc(100% - 54px);margin:4px 0 16px}
.app-install-dialog h2{font-size:23px;line-height:1.2;letter-spacing:-.4px;margin:0 0 7px;padding-right:6px}
.app-install-dialog .app-install-subtitle{font-size:16px;line-height:1.4;color:#53677d;margin:0 0 20px}
.app-install-dialog .app-install-steps{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.app-install-dialog .app-install-steps li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:center;padding:0}
.app-step-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf3fa;color:#1261c9;font-size:27px;line-height:1}
.app-step-icon svg{display:block;width:25px;height:25px}.app-step-icon.app-step-add{font-size:16px;font-weight:700}
.app-install-steps strong{display:block;font-size:16px;line-height:1.3;color:#102c50}.app-install-steps small{display:block;font-size:14px;line-height:1.4;color:#53677d;margin-top:3px}
.app-install-help{border-top:1px solid #e2e7ee;margin-top:20px;padding-top:13px;font-size:14px;color:#53677d}.app-install-help summary{cursor:pointer;color:#102c50;min-height:24px}.app-install-dialog .app-install-help p{font-size:14px;line-height:1.5;margin:9px 0 0}
.app-native-install{margin-top:14px}.app-install-dialog [hidden]{display:none!important}
@media(min-width:761px){dialog.app-install-dialog{inset:0;margin:auto}}
.flyer-alert-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:10px 12px;border:1px solid #d6e1ed;border-radius:24px;background:#fff;color:#102c50;font:700 14px/1.2 Arial,sans-serif;cursor:pointer;flex-shrink:0}.flyer-alert-trigger svg{width:20px;height:20px}.flyer-alert-trigger.alerts-on{background:#eaf7ef;border-color:#b9deca;color:#166b40}.flyer-alert-trigger:focus-visible,.flyer-alert-dialog select:focus-visible{outline:3px solid #ff850a;outline-offset:3px}.flyers-header-top .app-install-trigger{margin-inline:0}.flyer-alert-label{display:block;font-weight:700;font-size:15px;margin:15px 0 7px}.flyer-alert-dialog select{width:100%;min-height:48px;border:1px solid #cbd8e8;border-radius:12px;padding:10px 12px;background:#f5f8fc;color:#102c50;font:600 16px Arial,sans-serif}.flyer-alert-dialog .flyer-alert-status{font-size:15px;line-height:1.45;margin:14px 0 0;color:#415873}.flyer-alert-off{width:100%;min-height:44px;border:0;background:none;color:#53677d;font:600 15px Arial,sans-serif;cursor:pointer;margin-top:7px}.flyer-alert-dialog .flyer-alert-note{font-size:13px;color:#64768b;text-align:center;margin:13px 0 0}.flyer-alert-dialog button:disabled{opacity:.65;cursor:default}
@media(max-width:420px){.flyer-alert-trigger span{display:none}.flyer-alert-trigger{padding:10px}.flyers-header-top{gap:8px}.flyers-header-top .app-install-trigger{font-size:13px;padding:10px 12px}}
/* Compact, scrollable alert preferences. All countries remain visible. */
.flyer-alert-dialog{max-height:90dvh!important;overflow-y:auto!important;padding:24px!important}.flyer-alert-dialog h2{font-size:26px!important;margin:18px 0 8px!important}.flyer-alert-dialog .app-install-subtitle{font-size:16px!important;margin:0 0 15px!important}.alert-schedule{font-size:13px!important;line-height:1.6;background:#eff5fb;border-radius:12px;padding:12px;color:#304f70;margin:12px 0 20px!important}.alert-country-fieldset{border:0;padding:0;margin:0 0 20px}.alert-country-fieldset legend,.alert-store-section h3{font-size:17px;font-weight:750;margin:0 0 10px}.alert-countries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.alert-countries label{display:flex;align-items:center;gap:5px;min-height:48px;padding:8px;border:1px solid #cad8e8;border-radius:10px;font-size:13px;line-height:1.3;cursor:pointer}.alert-countries label:has(input:checked){background:#eaf2fc;border-color:#102c50;font-weight:700}.flyer-alert-dialog input[type=checkbox]{width:17px;height:17px;accent-color:#102c50;flex-shrink:0}.alert-market{border:1px solid #d6e1ed;border-radius:12px;margin:8px 0;overflow:hidden}.alert-market summary{padding:14px;font-weight:700;cursor:pointer;font-size:15px}.alert-market summary span{font-weight:400;font-size:12px;color:#53677d;margin-left:8px}.alert-store-search{display:block;padding:0 12px 8px}.alert-store-search input{width:100%;min-height:44px;border:1px solid #cad8e8;border-radius:8px;padding:10px;font-size:16px}.alert-store-list{max-height:240px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #e5edf5}.alert-store-list label,.alert-store-all{display:flex;align-items:center;gap:10px;padding:10px 14px;min-height:44px;font-size:14px;cursor:pointer}.alert-store-list label[hidden]{display:none}.alert-store-all{font-weight:700;background:#f4f7fb}.alert-actions{position:sticky;bottom:-24px;background:#fff;padding:8px 0 18px;margin-top:12px;box-shadow:0 -8px 12px #ffffffea}.alert-actions .app-native-install{margin-top:10px}.flyer-alert-dialog .flyer-alert-status{font-size:13px;margin:5px 0}.alert-update-countries{display:flex;gap:12px;flex-wrap:wrap;padding:12px 20px;background:#eaf2fc;font-size:14px}.alert-update-countries a{color:#12375f;font-weight:700}.alert-store-empty{padding:0 14px;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* One scroll surface; fixed heading and actions stay outside it. */
dialog.flyer-alert-dialog[open]{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;padding:0!important;overflow:hidden!important;max-height:calc(100dvh - 24px)!important;width:min(480px,calc(100% - 20px));inset:0;margin:auto}
.alert-dialog-head{position:relative;padding:20px 64px 16px 20px;border-bottom:1px solid #e1e8f0}.alert-dialog-head h2{font-size:21px!important;margin:0!important}.alert-dialog-head .app-dialog-close{top:10px;inset-inline-end:10px;inset-inline-start:auto}.alert-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 20px 18px;scrollbar-gutter:stable}.flyer-alert-dialog .alert-schedule{margin:16px 0!important;font-size:14px!important;line-height:1.5}.alert-actions{position:static;margin:0;padding:10px 20px max(10px,env(safe-area-inset-bottom));border-top:1px solid #e1e8f0;box-shadow:none}.alert-actions .flyer-alert-status{font-size:13px;line-height:1.35}.alert-actions .app-native-install{margin-top:8px}.alert-actions .flyer-alert-off{margin-top:0;min-height:38px}.alert-countries label{font-size:14px}.alert-market{padding:14px;margin:12px 0;border-radius:14px;overflow:visible}.alert-market h4{margin:0 0 6px;font-size:18px}.alert-selected{font-size:14px!important;line-height:1.6;margin:0 0 12px!important;color:#28597e;background:#eef5fb;padding:8px 10px;border-radius:8px;overflow-wrap:anywhere}.alert-city-picker{margin:8px 0 16px;border-block:1px solid #e2e9f2;padding:8px 0}.alert-city-picker summary{padding:7px 0;font-size:15px}.alert-city-picker summary span{font-size:14px;margin:0}.alert-city-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.alert-city-options label{display:flex;align-items:center;gap:7px;min-height:44px;font-size:14px}.alert-city-note{font-size:13px;color:#53677d}.alert-store-search{padding:0 0 8px}.alert-store-search>span{display:block;font-size:14px;font-weight:bold;margin-bottom:6px}.alert-store-search input{box-sizing:border-box;background:#fff;color:#102c50}.alert-store-list{max-height:none;overflow:visible;border:0}.alert-store-list label,.alert-store-all{padding:8px 5px;font-size:15px}.alert-more-stores{display:block;width:100%;min-height:44px;background:#f1f6fc;color:#102c50;border:1px solid #d6e1ed;border-radius:9px;font:600 14px Arial,sans-serif;margin-top:8px}.alert-country-fieldset legend,.alert-store-section h3{font-size:16px}.alert-country-fieldset{margin-bottom:18px}body:has(.flyer-alert-dialog[open]){overflow:hidden}
html[dir=rtl] .alert-dialog-head{padding:20px 20px 16px 64px}html[dir=rtl] .alert-countries,html[dir=rtl] .alert-market{text-align:right}
@media(max-width:360px){.alert-countries{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-scroll{padding-inline:14px}.alert-actions{padding-inline:14px}}

/* One country editor; each country's saved selections remain independent. */
.flyer-alert-dialog input[type=radio]{width:17px;height:17px;accent-color:#102c50;flex-shrink:0}.alert-countries label{position:relative;flex-wrap:wrap}.alert-countries label>span{flex:1;min-width:0}.alert-countries small{font-size:12px;font-weight:700;color:#156143;width:100%;padding-inline-start:22px}.alert-countries small[hidden]{display:none}.alert-country-help{font-size:13px!important;line-height:1.45;color:#52677f;margin:10px 0 0!important}

/* The install guide shows one illustrated step at a time, with a fixed heading. */
dialog.app-guide-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr);padding:0;overflow:hidden;max-height:calc(100dvh - 28px)}
.app-guide-head{position:relative;padding:20px 22px 14px;border-bottom:1px solid #e1e8f0}.app-guide-head .app-install-wordmark{width:110px;margin:0 0 13px}.app-guide-head h2{font-size:21px}.app-guide-scroll{overflow-y:auto;overscroll-behavior:contain;padding:16px 22px 20px;min-height:0}.app-guide-tabs{display:flex;gap:10px;justify-content:center}.app-guide-tabs button{width:44px;height:44px;border:1px solid #cad8e8;background:#f4f7fb;border-radius:50%;font:700 16px Arial,sans-serif;color:#102c50;cursor:pointer}.app-guide-tabs button[aria-current]{background:#102c50;border-color:#102c50;color:white}.app-guide-step .app-guide-count{font-size:12px;letter-spacing:.3px;color:#64768b;margin:14px 0 5px}.app-guide-step h3{font-size:19px;line-height:1.3;margin:0 0 7px}.app-guide-step>p{font-size:14px;line-height:1.5;margin:0 0 12px;color:#415873}.app-guide-step figure{margin:0}.app-guide-step figure img{display:block;width:100%;height:auto;border-radius:14px}.app-guide-step figcaption{font-size:11px;color:#68788b;margin-top:7px}.app-guide-controls{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin:14px 0 0}.app-guide-controls button{min-height:46px;border:1px solid #cad8e8;border-radius:10px;background:#f4f7fb;color:#102c50;font:700 15px Arial,sans-serif;cursor:pointer}.app-guide-controls [data-install-next]{background:#e97700;border-color:#e97700;color:#fff}.app-guide-controls button:disabled{opacity:.4;cursor:default}.app-guide-step .app-share-tip{display:flex;align-items:center;gap:10px;font-size:13px;margin:12px 0 0}.app-share-tip svg{width:21px;height:25px;flex:none;color:#1675e8}.app-guide-dialog .app-install-help{margin-top:14px}.app-install-help a{display:inline-block;color:#1261c9;margin-top:8px}.alert-city-store-note{font-size:12px!important;line-height:1.4;color:#53677d;margin:8px 0!important}
html[dir=rtl] .app-guide-dialog .app-dialog-close{right:auto;left:14px}html[dir=rtl] .app-guide-head h2{padding-right:0}body:has(.app-guide-dialog[open]){overflow:hidden}

.alert-selection-details{margin:0 0 12px;background:#eef5fb;border-radius:9px;padding:0 10px}.alert-selection-details summary{font-size:13px;line-height:1.5;padding:10px 0;color:#28597e}.alert-selection-details .alert-selected{padding:0 0 10px;margin:0!important;font-size:13px!important}

.app-install-nudge{position:fixed;z-index:30;bottom:calc(90px + env(safe-area-inset-bottom));inset-inline:16px;max-width:520px;margin:auto;background:#102a48;color:white;box-shadow:0 5px 22px #0003;border-radius:14px;padding:14px;display:flex;align-items:center;gap:12px;font-size:14px}.app-install-nudge button{border:0;border-radius:8px;padding:9px;background:#ff8709;color:#102a48;font:inherit;font-weight:700}.app-install-nudge [data-dismiss]{background:transparent;color:white;font-size:24px}@media(min-width:769px){.app-install-nudge{display:none}}
