/* Scoped candidate styles; Nest's existing coral cards and navigation remain authoritative. */
[data-nest-offer-card],[data-nest-offer-market]{font:inherit;text-align:left;color:inherit}
.nest-offer-card-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;font:inherit}
[data-nest-offer-card] button.deal-code-copy-row{width:100%;font:inherit;text-align:left;color:inherit}
.nest-offer-image{background-color:#fce9e2;background-size:cover;background-position:center;position:relative}
.nest-offer-image .nest-offer-icon{position:absolute;inset:0;margin:auto;width:30px;height:30px;color:#bd442b}
.nest-offer-image .sponsored{position:relative;z-index:1}
[data-nest-offer-market] .market-photo{overflow:hidden}
[data-nest-offer-market] .nest-offer-market-badge{position:absolute;top:8px;left:8px;z-index:1;max-width:calc(100% - 16px);box-sizing:border-box;margin:0;border-radius:999px;background:#fff;color:#bd442b;padding:5px 8px;font-size:11px;line-height:1.2;font-weight:700;pointer-events:none}
.nest-offer-dot{min-width:28px;min-height:28px;width:28px;height:28px;padding:10px;border:0;background:transparent;font-size:0;position:relative}
.nest-offer-dot::after{content:'';position:absolute;inset:10px;border-radius:50%;background:#d3c4bd}
.nest-offer-dot.active::after{background:#bd442b}
.nest-offer-dot:focus-visible{outline:2px solid #182340;outline-offset:1px}
.nest-offer-count{color:#626773;font-size:12px;line-height:1.35}
.nest-offer-detail-state{font-size:14px;line-height:1.4;color:#182340}
.nest-offer-detail-state:empty{display:none}
.nest-offer-report{min-height:44px;margin-top:16px}
[data-offer-slide]{touch-action:pan-y}
[data-offer-slide]:focus-visible{outline:2px solid #182340;outline-offset:3px}
.nest-offer-dialog{position:fixed;inset:0;z-index:10000;background:#18234066;display:flex;align-items:center;justify-content:center;padding:16px}
.nest-offer-dialog .modal-card{max-width:420px;max-height:90dvh;overflow:auto;background:#fff;border-radius:24px;padding:20px;width:100%;box-sizing:border-box}
.nest-offer-dialog label{display:block;margin:12px 0;color:#182340}
.nest-offer-dialog select,.nest-offer-dialog textarea{width:100%;box-sizing:border-box;min-height:44px;margin-top:6px;border:1px solid #f4cbbd;border-radius:12px;background:#fff9f5;padding:10px;font:inherit;color:#182340}
.nest-offer-dialog textarea{min-height:96px}
.nest-offer-dialog button{min-height:44px;margin:4px}
.nest-offer-dialog [role=status]{color:#a83d2a}
/* Existing app display:...!important rules must not override availability/one-dot hiding. */
#deal-detail-screen [hidden],#deals-screen [hidden],#saved-deals-screen [hidden],
[data-deals-section][hidden],[data-deals-section] [hidden],
#discover-screen [data-discover-slide][hidden],#discover-screen [data-discover-slide] [hidden]{display:none!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide{height:auto!important;min-height:168px!important;max-height:none!important;padding:16px!important;grid-template-columns:minmax(0,1fr) 76px!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide::after{content:none!important;display:none!important;background:none!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide.has-deal-image{grid-template-columns:1fr!important;background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.96) 48%,rgba(255,255,255,.65) 78%,rgba(255,255,255,.2) 100%),var(--discover-slide-image)!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide .discover-slide-copy{padding:0!important;max-width:100%!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide.has-deal-image .discover-slide-copy{max-width:76%!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide .discover-slide-copy button{position:static!important;min-height:44px!important;left:auto!important;bottom:auto!important;margin-top:6px!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide .discover-slide-art{width:76px!important;height:76px!important}
html:not(.nest-provider-mode) #discover-screen [data-discover-slide].nest-family-offer-slide .discover-dots{position:static!important;grid-column:1/-1!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;overflow-x:auto!important;margin:4px 0 0!important;left:auto!important;bottom:auto!important;pointer-events:auto!important;justify-content:center!important}
[data-deals-section] .dots .nest-offer-dot,[data-discover-slide] .dots .nest-offer-dot{flex:0 0 28px;background:transparent!important}
/* Approved compact Saved/history rows, matching Nest profile mini rows. */
.nest-perk-library-row{display:flex;align-items:center;gap:0;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff;margin-bottom:12px}
.nest-perk-library-open{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;border:0;padding:0;background:transparent;text-align:left;color:var(--ink);font:inherit}
.nest-perk-library-open .thumb{width:42px;height:42px;flex:0 0 42px;border-radius:13px;overflow:hidden;background-size:cover;background-position:center}
.nest-perk-library-copy{min-width:0;flex:1}
.nest-perk-library-copy strong{display:block;font-size:14px;line-height:1.25;font-weight:650;overflow-wrap:anywhere}
.nest-perk-library-copy small{display:block;font-size:12px;line-height:1.35;color:var(--muted);margin-top:2px}
.nest-perk-library-remove{display:grid;place-items:center;width:44px;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--nest-coral,#E85D3F);padding:8px}
.nest-perk-library-remove .feature-icon{width:20px;height:20px;margin:0}
.nest-perk-library-chevron{color:var(--nest-coral,#E85D3F);font-size:20px}
.nest-perk-library-tabs{display:flex;gap:8px;margin-bottom:12px}
.nest-perk-library-tabs button{flex:1;min-width:0;min-height:44px;font-size:14px;white-space:normal}
.nest-perk-library-tabs [aria-pressed=true]{background:var(--nest-coral,#E85D3F)!important;color:white!important;border-color:var(--nest-coral,#E85D3F)!important}
#saved-deals-screen .helper{margin:0 0 12px;font-size:14px;line-height:1.5;color:var(--muted)}
.nest-perk-receipt-heading{font-size:18px;margin:0 0 12px;padding:16px;border-radius:16px;background:#FDE9E1}
.nest-perk-receipt{margin:0 0 16px}.nest-perk-receipt div{padding:12px 0;border-bottom:1px solid var(--line)}
.nest-perk-receipt dt{font-size:14px;color:var(--muted)}.nest-perk-receipt dd{font-size:16px;margin:4px 0 0;overflow-wrap:anywhere}
#saved-deals-screen [data-saved-deals-list]{display:flex;flex-direction:column;gap:12px}
#saved-deals-screen .nest-perk-library-row,#saved-deals-screen .nest-perk-library-tabs,#saved-deals-screen .helper{margin:0}
.nest-perk-library-tabs button{padding:8px 12px;border-radius:12px;line-height:1.3}
#saved-deals-screen .topbar h1{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.2;min-width:0}
#saved-deals-screen .topbar{height:auto;min-height:44px}
/* Approved lighter Family Perks presentation, 24 October 2026. Scoped to Perks only. */
#deal-detail-screen,#deals-screen,#saved-deals-screen,.nest-offer-dialog{font-weight:400}
#deal-detail-screen .topbar h1,#deals-screen .topbar h1,#saved-deals-screen .topbar h1{font-size:20px!important;font-weight:400!important;line-height:1.3!important}
#deal-detail-screen .deal-detail-card{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#deal-detail-screen .nest-perk-identity{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:12px;align-items:center;margin:8px 0 16px}
#deal-detail-screen .nest-perk-identity [data-deal-detail-photo]{grid-column:1;grid-row:1/3;width:42px!important;height:42px!important;min-height:42px!important;aspect-ratio:auto!important;border-radius:10px!important;margin:0!important;background-color:#FDE9E1!important;position:relative}
#deal-detail-screen .nest-perk-identity [data-deal-detail-photo]:not(.has-image) .sponsored{display:none!important}
#deal-detail-screen .nest-perk-identity .nest-offer-icon{position:absolute;inset:0;margin:auto;width:22px!important;height:22px!important;color:var(--nest-coral,#E85D3F)}
#deal-detail-screen .nest-perk-identity h2{grid-column:2;font-size:18px!important;line-height:1.4!important;font-weight:400!important;margin:0!important}
#deal-detail-screen .nest-perk-identity .deal-detail-business{grid-column:2;margin:2px 0 0!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important}
#deal-detail-screen .nest-perk-identity:has(.has-image){grid-template-columns:minmax(0,1fr)}
#deal-detail-screen .nest-perk-identity [data-deal-detail-photo].has-image{grid-column:1;grid-row:auto;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;max-height:240px!important;margin:0 0 12px!important;background-size:cover;background-position:center}
#deal-detail-screen .nest-perk-identity:has(.has-image) :is(h2,.deal-detail-business){grid-column:1}
#deal-detail-screen .deal-detail-description{font-size:16px!important;font-weight:400!important;line-height:1.5!important;margin:12px 0!important}
#deal-detail-screen :is(.deal-detail-expiry,.nest-offer-count,.deal-info-block p){font-size:14px!important;line-height:1.5!important;font-weight:400!important}
#deal-detail-screen .deal-info-block strong{font-size:16px!important;font-weight:400!important}
#deal-detail-screen .deal-redeem-panel{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;margin:12px 0!important}
#deal-detail-screen [data-offer-slide]{height:auto!important;min-height:44px!important;padding:12px 42px!important;background:var(--nest-coral,#E85D3F)!important;border-radius:24px!important;box-shadow:none!important;color:#fff!important}
#deal-detail-screen [data-offer-slide] span{font-size:15px!important;font-weight:400!important;line-height:1.35!important;white-space:normal!important}
#deal-detail-screen [data-offer-slide] i{width:34px!important;height:34px!important;left:5px;top:5px;font-size:22px!important;box-shadow:none!important;background:#fff!important;color:var(--nest-coral,#E85D3F)!important}
#deal-detail-screen [data-offer-slide][aria-disabled=true]{opacity:.65}
#deal-detail-screen [data-offer-redeem]{background:transparent!important;color:var(--nest-coral,#E85D3F)!important;border:0!important;box-shadow:none!important;font-size:14px!important;font-weight:400!important;min-height:44px!important;margin:0!important;padding:8px!important}
#deal-detail-screen [data-deal-detail-save]{min-height:44px!important;border-radius:12px!important;font-size:14px!important;font-weight:400!important;padding:10px 14px!important}
#deal-detail-screen .nest-offer-report{display:block;margin:12px auto 0!important;font-size:14px!important;font-weight:400!important;background:transparent!important;color:var(--muted)!important;border:0!important}
#deals-screen :is(h2,h3),#saved-deals-screen :is(h2,strong,button){font-weight:400!important}
#deals-screen :is(h2,h3){font-size:18px!important}
#saved-deals-screen .nest-perk-library-copy strong{font-size:14px!important}
.nest-perk-location{margin:12px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nest-perk-location h3{font-size:16px!important;font-weight:400!important;margin:0 0 4px!important}
.nest-perk-location p{font-size:14px!important;line-height:1.5!important;font-weight:400!important;margin:0!important;overflow-wrap:anywhere}
.nest-perk-map{display:inline-flex;align-items:center;min-height:44px;color:var(--nest-coral,#E85D3F)!important;font-size:14px;text-decoration:underline;text-underline-offset:3px;font-weight:400}
.nest-offer-dialog .modal-card{padding:16px!important;border-radius:16px!important;max-width:380px!important;box-shadow:0 8px 28px #17213b16!important}
.nest-offer-dialog .modal-card h2{font-size:20px!important;font-weight:400!important;line-height:1.3!important;margin:0 0 12px!important}
.nest-offer-dialog .modal-card :is(p,label){font-size:14px!important;font-weight:400!important;line-height:1.5!important}
.nest-offer-dialog .modal-card button{font-size:14px!important;font-weight:400!important;min-height:44px!important;padding:10px 12px!important;border-radius:12px!important;white-space:normal!important;box-shadow:none!important}
.nest-offer-dialog .modal-card .primary{background:var(--nest-coral,#E85D3F)!important;color:#fff!important}
.nest-offer-dialog .nest-perk-confirm-actions{display:grid!important;grid-template-columns:minmax(72px,.65fr) minmax(0,1.6fr)!important;gap:8px!important}
.nest-offer-dialog .nest-perk-confirm-actions button{margin:0!important;width:100%!important}
@media(max-width:340px){.nest-offer-dialog .nest-perk-confirm-actions{grid-template-columns:1fr!important}}
/* Match specificity of the shared family-theme rules without changing other screens. */
html:not(.nest-provider-mode):not(.nest-admin-web) body .screen:is(#deal-detail-screen,#deals-screen,#saved-deals-screen) :is(h1,h2,h3,h4,strong,button){font-weight:400!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen.screen .deal-redeem-panel{background:transparent!important;border:0!important;gap:8px!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen.screen .deal-detail-description{color:var(--ink)!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body .nest-offer-dialog .modal-card :is(h2,p,label,button){font-weight:400!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body .nest-offer-dialog .modal-card .nest-perk-confirm-actions{grid-template-columns:minmax(72px,.65fr) minmax(0,1.6fr)!important}
@media(max-width:340px){html:not(.nest-provider-mode):not(.nest-admin-web) body .nest-offer-dialog .modal-card .nest-perk-confirm-actions{grid-template-columns:1fr!important}}

/* Approved separate partner identity and inset redemption handle, 24 Oct. */
html:not(.nest-provider-mode):not(.nest-admin-web) body #deals-screen .nest-perk-list-identity{display:flex;align-items:center;gap:10px;padding:12px 0 2px}
html:not(.nest-provider-mode):not(.nest-admin-web) body :is(#deals-screen,#deal-detail-screen) .nest-perk-logo{display:block;flex:none;width:40px!important;height:40px!important;min-width:40px;border-radius:10px;background-color:#fff;background-size:contain!important;background-repeat:no-repeat;background-position:center;border:1px solid #e7ddd8;position:relative}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deals-screen .nest-perk-list-identity :is(h3,p){margin:0!important;font-size:16px!important;font-weight:400!important;line-height:1.5!important;text-align:left}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deals-screen .nest-perk-list-identity p{font-size:14px!important;color:#737780!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deals-screen .deal-card-list .deal-image{aspect-ratio:16/9!important;height:auto!important;min-height:0!important;max-height:none!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-perk-identity{grid-template-columns:40px minmax(0,1fr)!important;column-gap:10px}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-perk-identity [data-deal-detail-photo]{grid-column:1/-1!important;grid-row:1!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-perk-identity .nest-perk-logo{grid-column:1;grid-row:2/4;align-self:center}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-perk-identity h2{grid-column:2!important;grid-row:2!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-perk-identity .deal-detail-business{grid-column:2!important;grid-row:3!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen.screen .deal-redeem-panel{border-top:1px solid #e9e0d9!important;padding-top:16px!important;margin-top:22px!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen [data-offer-slide]{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;height:auto!important;padding:14px 48px!important;border:0!important;box-sizing:border-box!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen [data-offer-slide] i{position:absolute!important;left:calc(4px + var(--slide-offset,0px))!important;top:50%!important;transform:translateY(-50%)!important;width:40px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;line-height:1!important;border:0!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-perk-redeem-heading{font-size:16px!important;font-weight:400!important;margin:0!important}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-offer-count{margin:6px 0 12px!important}

#deal-detail-screen .nest-perk-location{border-bottom:0;margin-bottom:0;padding-bottom:0}
html:not(.nest-provider-mode):not(.nest-admin-web) body #deal-detail-screen .nest-perk-redeem-heading{color:#182340!important}

/* Text-only profile states have no thumbnail or trailing action column. */
[data-profile-saved-deals] > .profile-mini-row{grid-template-columns:minmax(0,1fr);}
