/* Shared with the calculator detail dialog: centered cross on the top right corner. */
body.site-theme .site-detail-dialog{overflow:visible!important;position:relative}
body.site-theme dialog.site-detail-dialog{position:fixed}
body.site-theme .site-detail-dialog .site-detail-close{position:absolute!important;top:0!important;right:0!important;left:auto!important;bottom:auto!important;transform:translate(50%,-50%)!important;translate:none!important;display:grid!important;place-items:center!important;box-sizing:border-box;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px;margin:0!important;padding:0!important;line-height:1!important;border:1px solid #ed616b!important;border-radius:9px!important;background:#b52b3a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;z-index:40;cursor:pointer}
body.site-theme .site-detail-dialog .site-detail-close svg{display:block;flex:none}
body.site-theme .site-detail-dialog .site-detail-close:hover{background:#d33646!important;border-color:#ff929a!important}
body.site-theme .site-detail-dialog .site-detail-close:focus-visible{outline:2px solid #ffb0b6;outline-offset:3px}
.site-dialog-scroll{max-height:calc(90dvh - 64px);overflow-y:auto;min-height:0;scrollbar-color:#95617f #211925}
body.site-theme #ca-detail-content{max-height:none;overflow:visible}
body.site-theme .ca-arena.site-detail-dialog{max-height:90dvh}
body.site-theme .ca-arena-shell{position:static}
body.site-theme .modal-panel.site-detail-dialog{max-height:none}
@media(max-width:600px){.site-dialog-scroll{max-height:calc(90dvh - 48px)}}
/* Use the price list's back control as the companion to the corner close button. */
body.site-theme .site-detail-dialog>.site-detail-back{position:absolute;top:0;left:14px;transform:translateY(-50%);z-index:40;margin:0;font-size:13px;cursor:pointer}
body.site-theme .site-detail-back:focus-visible{outline:2px solid var(--pink2,#f3a4cf);outline-offset:3px}
@media(max-width:600px){body.site-theme .site-detail-dialog>.site-detail-back{left:10px;min-width:84px!important;height:32px!important;font-size:12px}}
/* Card dialogs all share the exact card-detail controls, including mission windows. */
body.site-theme #card-workbench .site-detail-dialog>.site-detail-close{width:36px!important;height:36px!important;min-height:36px!important;border:1px solid #ed616b!important;border-radius:9px!important;background:#b52b3a!important;color:#fff!important;box-shadow:none!important}
body.site-theme #card-workbench .site-detail-dialog>.site-detail-close:hover{background:#d33646!important;border-color:#ff929a!important}
body.site-theme #card-workbench .site-detail-dialog>.site-detail-back{font:900 13px/1 system-ui,sans-serif!important;height:36px!important;min-width:94px!important;padding:0 13px!important;border:1px solid var(--border)!important;border-radius:9px!important;background:#181a1f!important;color:#fff!important;clip-path:none!important;box-shadow:none!important}
@media(max-width:600px){body.site-theme #card-workbench .site-detail-dialog>.site-detail-back{font-size:12px!important;min-width:84px!important;height:32px!important}}
