/* R39.5: icon geometry is independent of font glyphs and anonymous grid rows. */
html body :is(.ag391-help-head>button,.ag392-tip-head>button,#agCheckout .ag-close,#ag38SchedulePicker .ag-close,#agPhoneDialog .ag-phone-close,#agOrderStatusDialog .ag-close,#agChat header>button,.ag-r11-close,#agPhotoCancel,#agListClose){
 --ag395-close-size:42px;position:relative!important;display:inline-block!important;box-sizing:border-box!important;flex:0 0 var(--ag395-close-size)!important;width:var(--ag395-close-size)!important;height:var(--ag395-close-size)!important;min-width:var(--ag395-close-size)!important;max-width:var(--ag395-close-size)!important;min-height:var(--ag395-close-size)!important;max-height:var(--ag395-close-size)!important;margin:0!important;padding:0!important;gap:0!important;font-size:0!important;line-height:0!important;text-indent:0!important;border-radius:50%!important;vertical-align:middle!important;
}
html body :is(.ag391-help-head>button,.ag392-tip-head>button){--ag395-close-size:32px}
html body :is(#agPhotoCancel,#agListClose){--ag395-close-size:40px}
html body .ag-r11-close{--ag395-close-size:36px;position:absolute!important}
/* R39.8: match the specificity of the shared icon geometry above. */
html body :is(#agR11Product,#agR11Cart) .ag-r11-close{position:absolute!important;inset:12px 12px auto auto!important;margin:0!important}
html body #agR11Product .ag-r11-product-panel{padding-top:62px}
html body #agR11Cart .ag-r11-cart-panel{padding-top:24px}
html body #agR11Cart .ag-r11-cart-panel>:is(h2,.ag-r11-kicker){padding-right:48px}
html body :is(.ag391-help-head>button,.ag392-tip-head>button,#agCheckout .ag-close,#ag38SchedulePicker .ag-close,#agPhoneDialog .ag-phone-close,#agOrderStatusDialog .ag-close,#agChat header>button,.ag-r11-close,#agPhotoCancel,#agListClose)::before{
 content:''!important;position:absolute!important;display:block!important;box-sizing:border-box!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;max-width:14px!important;max-height:14px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;float:none!important;pointer-events:none!important;background:linear-gradient(45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%),linear-gradient(-45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%)!important;
}
html body :is(.ag391-help-head>button,.ag392-tip-head>button,#agCheckout .ag-close,#ag38SchedulePicker .ag-close,#agPhoneDialog .ag-phone-close,#agOrderStatusDialog .ag-close,#agChat header>button,.ag-r11-close,#agPhotoCancel,#agListClose)::after{content:none!important}
@media(max-width:650px){html body :is(.ag391-help-head>button,.ag392-tip-head>button){--ag395-close-size:40px}}
/* Calendar arrows use the same geometric center instead of a line of text. */
html body #ag38SchedulePicker .ag38-calendar-nav button{position:relative!important;display:inline-block!important;font-size:0!important;line-height:0!important}
html body #ag38SchedulePicker .ag38-calendar-nav button::before{position:absolute!important;top:50%!important;left:50%!important;margin:0!important;width:8px!important;height:8px!important;box-sizing:border-box!important;transform:translate(calc(-50% - 2px),-50%) rotate(45deg)!important;pointer-events:none}
html body #ag38SchedulePicker .ag38-calendar-nav button:first-child::before{transform:translate(calc(-50% + 2px),-50%) rotate(-135deg)!important}
