/* Explicit plan/offer grouping; all availability still comes from merchant stock. */
body[data-storefront-home="compact"] .compact-brand-icon{display:inline-flex;flex:0 0 18px;width:18px;height:18px;align-items:center;justify-content:center;font-style:normal;line-height:1;background:currentColor;mask:var(--brand-logo) center/contain no-repeat;-webkit-mask:var(--brand-logo) center/contain no-repeat}
body[data-storefront-home="compact"] .compact-brand-icon[data-brand="chatgpt"]{color:#6254ff;--brand-logo:url('/img/brand/chatgpt.svg')}
body[data-storefront-home="compact"] .compact-brand-icon[data-brand="grok"]{color:#9391aa;--brand-logo:url('/img/brand/grok.svg')}
body[data-storefront-home="compact"] .compact-brand-icon[data-brand="x"]{color:var(--market-ink);--brand-logo:url('/img/brand/x.svg')}
body[data-storefront-home="compact"] .compact-brand-icon[data-brand="cursor"]{color:#54c2ef;--brand-logo:url('/img/brand/cursor.svg')}
body[data-storefront-home="compact"] .compact-brand-icon[data-brand="claude"]{color:#da997c;--brand-logo:url('/img/brand/claude.svg')}
body[data-storefront-home="compact"] .compact-brand-icon[data-brand="gemini"]{background:none;mask:none;-webkit-mask:none}
body[data-storefront-home="compact"] .compact-brand-icon img{display:block;width:18px;height:18px;object-fit:contain}
body[data-storefront-home="compact"] .compact-offers{display:flex;flex-direction:column;gap:6px;margin-top:9px}
body.marketplace-page[data-storefront-home="compact"] .compact-offers .compact-price-button{margin-top:0;min-height:46px}
body[data-storefront-home="compact"] .market-grid:has(.compact-offers){row-gap:9px;align-items:start}
body[data-storefront-home="compact"] .compact-product:has(.compact-offers){display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:9px}
body[data-storefront-home="compact"] .compact-product:has(.compact-offers)>.market-product-body{height:100%;min-height:346px}
body[data-storefront-home="compact"] .compact-product>.compact-offers{margin-top:0;align-self:start}
@media(min-width:1300px){body.marketplace-page[data-storefront-home="compact"] .market-grid[data-kind="membership"]:has(>.compact-product:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;row-gap:9px}}
body.marketplace-page[data-storefront-home="compact"] .compact-price-period{flex:none;font-size:13px;white-space:nowrap}
body.marketplace-page[data-storefront-home="compact"] .compact-offers .compact-price-button strong{font-size:15px}
body.marketplace-page[data-storefront-home="compact"] .market-categories button{font-size:13px}
body[data-storefront-home="compact"] .compact-price-channel{font-size:11px;opacity:.8;flex:1;min-width:0;overflow-wrap:anywhere}
body[data-storefront-home="compact"] .compact-price-button.is-out{background:#eeedf7;color:#77748b;box-shadow:none}
body[data-storefront-home="compact"] #market-grid.compact-account-layout{display:block}
.compact-account-group+.compact-account-group{margin-top:28px}
.compact-account-group-heading{display:flex;align-items:center;gap:10px;margin:3px 0 14px}
.compact-account-group-heading h3{font-size:16px;margin:0}
.compact-account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.compact-account-card{min-width:0;border:1px solid var(--market-line);border-radius:16px;background:var(--market-panel);overflow:hidden}
body[data-storefront-home="compact"] .compact-account-card>.market-product-body{padding:20px;display:flex;flex-direction:column;height:100%;gap:14px;cursor:pointer;min-width:0;box-sizing:border-box}
.compact-account-warranty{font-size:10px;color:#71649c}
.compact-account-title{font-size:15px;color:var(--market-ink);font-weight:700;line-height:1.55;overflow-wrap:anywhere}
.compact-account-tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:auto}
.compact-account-tags span{border-radius:6px;background:var(--market-panel-soft);font-size:10px;color:var(--market-muted);padding:4px 6px;line-height:1.5}
.compact-account-bottom,.compact-account-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.compact-account-bottom strong{font-size:19px;color:var(--market-ink)}
.compact-account-actions{border-top:1px solid var(--market-line);padding-top:12px;font-size:11px}
.compact-account-actions a{color:var(--clear-accent);padding:4px 0;white-space:nowrap}
body[data-storefront-design="clear"] .market-product-drawer{width:min(660px,100%)}
body[data-storefront-design="clear"] .market-drawer-details{border-bottom:1px solid var(--market-line);padding:18px 0}
.market-drawer-details summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:15px;font-weight:650;list-style:none}
.market-drawer-details summary::-webkit-details-marker{display:none}
.market-drawer-details summary:after{content:'⌄';font-weight:400;color:var(--market-muted);transition:transform .2s}
.market-drawer-details[open] summary:after{transform:rotate(180deg)}
.market-drawer-details .market-drawer-rich{margin-top:16px}
.market-drawer-guide{color:var(--clear-accent);font-size:13px}
@supports(interpolate-size:allow-keywords){
 .market-drawer-details{interpolate-size:allow-keywords}
 .market-drawer-details::details-content{height:0;opacity:0;overflow:clip;transition:height .28s cubic-bezier(.22,1,.36,1),opacity .2s,content-visibility .28s allow-discrete}
 .market-drawer-details[open]::details-content{height:auto;opacity:1}
}
@media(prefers-reduced-motion:reduce){.market-drawer-details::details-content{transition:none!important}}
@media(max-width:1050px){.compact-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.compact-account-grid{grid-template-columns:minmax(0,1fr)}.compact-account-card>.market-product-body{padding:20px}body[data-storefront-home="compact"] .compact-home-tools{justify-content:center;padding-top:20px}body[data-storefront-home="compact"] .compact-home-links{gap:20px}}
