#modal-host:has(.apk-stats-dialog),#modal-host:has(.apk-history-dialog) {align-items:center}
#modal-host:has(.apk-alert-dialog) {align-items:center}
#modal-host:has(.apk-common-confirm) {align-items:center}
.sheet.apk-common-confirm {width:min(calc(100% - 48px),432px);border-radius:20px;padding:24px;box-shadow:none}
.apk-common-confirm>.sheet-handle {display:none}.apk-common-confirm>.sheet-head {margin:0}
.apk-common-confirm>.sheet-head>h2 {font-size:20px;line-height:28px;color:#142541;font-weight:700}
.apk-common-confirm .sheet-close {width:36px;height:36px;border:1px solid #dfdfdf;background:white;color:#142541}.apk-common-confirm .sheet-close>svg {width:18px;height:18px}
.apk-common-confirm .apk-source-sheet {padding:0}.apk-common-confirm .apk-source-sheet>p {font-size:15px;line-height:22px;color:#6b7690;margin:10px 0 20px}
.apk-common-confirm .apk-cart-delete-actions {padding:0;display:flex;flex-direction:column;gap:10px}
.apk-common-confirm .apk-cart-delete-actions>button {height:48px;border-radius:10px;min-height:48px}
.sheet.apk-alert-dialog {width:min(calc(100% - 48px),432px);border-radius:28px;padding:24px;box-shadow:none}
.apk-alert-dialog>.sheet-handle,.apk-alert-dialog .sheet-close {display:none}
.apk-alert-dialog>.sheet-head {margin-bottom:16px}.apk-alert-dialog>.sheet-head h2 {font-size:24px;font-weight:400;line-height:32px}
.apk-alert-dialog .apk-biometric-dialog,.apk-alert-dialog .apk-source-sheet {padding:0}
.apk-bio-input {height:56px;width:100%;border:1px solid #7a8490;border-radius:4px;padding:16px;background:white;margin-top:12px;font-size:16px;color:#142541;outline:none}
.sheet.apk-stats-dialog,.sheet.apk-history-dialog {border-radius:24px;width:min(calc(100% - 32px),448px);padding:0;max-height:calc(100dvh - 48px);box-shadow:none;overflow:hidden}
.apk-stats-dialog>.sheet-head,.apk-stats-dialog>.sheet-handle,.apk-history-dialog>.sheet-head,.apk-history-dialog>.sheet-handle {display:none}
.apk-stats-content {height:calc(100dvh - 48px);display:flex;flex-direction:column;background:#fff;color:#142541}
.apk-stats-content h2,.apk-stats-content p,.apk-live-history-content h2,.apk-live-history-content p,.apk-biometric-dialog>p {margin:0}
.apk-stats-content>header {display:flex;align-items:flex-start;justify-content:space-between;padding:18px 16px 0 18px;gap:8px}
.apk-stats-content h2 {font-size:20px;font-weight:700;line-height:28px}.apk-stats-content>header p {font-size:15px;color:#9b0f26;line-height:22px;margin-top:4px}
.apk-stats-close {border:0;border-radius:50%;background:#f0f0f3;width:36px;height:36px;display:grid;place-items:center;padding:10px;color:inherit;flex:none;margin-top:6px}
.apk-stats-close>svg {width:16px;height:16px}
.apk-stats-cream {padding:10px 12px;background:#fff3d6;border-radius:12px;margin:14px 16px 0;color:#5b3b00}.apk-stats-cream>b {font-size:14px;font-weight:700;line-height:20px}.apk-stats-cream>small {display:block;margin-top:2px;font-size:12px;line-height:17px}
.apk-stats-tabs {display:flex;margin-top:10px;padding:0 12px}.apk-stats-tabs button {flex:1;min-width:0;border:0;background:none;border-bottom:2px solid transparent;padding:12px 3px;color:#6b7690;font-size:14px;font-weight:600;line-height:20px}
.apk-stats-tabs button.selected {color:#9b0f26;border-bottom-color:#9b0f26}
.apk-stats-error {padding:16px;font-size:14px;line-height:20px;color:#6b7690;flex:1}
.apk-stats-content>footer {padding:12px 16px;background:#fff8ea;font-size:11px;color:#5b3b00;line-height:16px}
.apk-stats-content.live {background:#fdf4e3}.apk-stats-content.live>header {padding:16px 18px;background:#fffbf0;border-bottom:1px solid #e2c27a;color:#6e0028;align-items:center}
.apk-stats-content.live h2 {font-size:18px;line-height:26px}.apk-stats-content.live .apk-stats-close {width:30px;height:30px;background:none;padding:6px;margin:0}.apk-stats-content.live .apk-stats-close svg {width:18px;height:18px}
.apk-stats-live-body {padding:14px;overflow:auto}.apk-stats-live-tabs {display:flex;gap:6px}
.apk-stats-live-tabs>button {height:36px;flex:1;border:1px solid #e2c98f;background:#fff;border-radius:6px;color:#4a3000;font-size:14px;font-weight:600}
.apk-stats-live-tabs>button.selected {background:#6e0028;color:#fff;border-color:#6e0028}
.apk-stats-period {display:block;width:76px;height:36px;margin-top:12px;background:white;border:1px solid #e2c98f;border-radius:6px;font-size:14px;color:#4a3000;padding:0 8px}
.apk-stats-live-body>small {display:block;margin-top:8px;font-size:11px;color:#4a3000;line-height:16px}.apk-stats-live-body>.apk-stats-error {padding:16px 0;color:#4a3000}
.sheet.apk-history-dialog {border-radius:20px}.apk-live-history-content {padding:20px;color:#142541}.apk-live-history-content>header {display:flex;align-items:center;gap:12px;justify-content:space-between}
.apk-live-history-content h2 {font-size:18px;line-height:26px;font-weight:700}.apk-live-history-content .apk-stats-close {width:26px;height:26px;background:none;padding:5px;margin:0}
.apk-live-history-content>p {padding:16px 0;font-size:14px;line-height:20px;color:#6b7690}.apk-live-history-content>.apk-commerce-outline {height:48px;border-radius:12px;margin-top:16px}
