.gc-billing-admin-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:8px}
.gc-billing-admin-row>.gc-billing-state{color:#155c4d;background:#e5eee0;border-radius:999px;padding:3px 9px;font-size:.83rem}
.gc-billing-admin-row>span{font-size:.86rem}
.gc-billing-admin-row>.mini-btn{font-size:.85rem;min-height:36px}
.gc-billing-admin-ticket{padding:10px 0;border-top:1px solid var(--stroke)}
#gcCourtesyDialog{max-width:min(480px,calc(100% - 24px));background:var(--panel);color:var(--text);padding:20px;border:1px solid var(--stroke);border-radius:18px}
#gcCourtesyDialog::backdrop{background:#302b2399}
#gcCourtesyDialog form{display:grid;gap:10px}
#gcCourtesyDialog label{display:grid;gap:3px;margin-bottom:8px}
#gcCourtesyDialog input{padding:8px;border:1px solid var(--stroke);border-radius:8px;font:inherit}
#gcCourtesyDialog [role="alert"],#gcBillingAccessError p{color:var(--danger)}
#gcBillingAccessError{margin:0 auto 12px;text-align:center}
#gcBillingAccessError a{color:#155c4d;font-weight:700}
#gcProfileBilling{margin:16px 0}
#gcProfileBilling a{display:inline-flex;align-items:center;min-height:42px;text-decoration:none}
/* Preserve the editable quantity and urgent badge while shortening closed cards. */
html[data-theme="cream"] #grocery .market-smart-card.gc-market-product-card:not(.details-open){padding:8px!important;gap:4px!important;min-height:0!important}
html[data-theme="cream"] #grocery .gc-market-product-card:not(.details-open) .gc-market-card-upper{min-height:45px!important;gap:7px!important}
html[data-theme="cream"] #grocery .gc-market-product-card:not(.details-open) .gc-market-product-illustration{width:42px!important;height:42px!important}
html[data-theme="cream"] #grocery .gc-market-product-card:not(.details-open) .gc-market-buy-button{min-height:38px!important;margin-top:0!important;padding-block:5px!important}
html[data-theme="cream"] #grocery .gc-market-product-card:not(.details-open) .gc-market-details-trigger{min-height:33px!important;margin-top:0!important;padding-block:4px!important}
html[data-theme="cream"] #grocery .gc-market-product-card.gc-market-urgent{border-color:#a64135!important;background:#fff2e9!important}
