.aa-trigger{display:flex;align-items:center;gap:8px;min-height:40px;border:1px solid #34485f;border-radius:7px;background:#18273a;color:#e5edf8;padding:9px 12px;font:550 13px/1.4 Inter,-apple-system,sans-serif;cursor:pointer;text-align:left;box-sizing:border-box}
.sidebar .aa-trigger{width:100%;margin-top:8px}
.aa-trigger[hidden]{display:none!important}
.aa-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#94a3b8}
.aa-trigger[data-status=online] .aa-dot{background:#20c49b}.aa-trigger[data-status=pause] .aa-dot,.aa-trigger[data-status=light_pause] .aa-dot{background:#f6be4f}
.aa-toolbar-trigger{background:#fff;color:#25354b;border-color:#dce3ed;flex:0 0 auto;margin:0 6px 0 0;min-height:36px;padding:7px 10px;font-size:12px}
.aa-dialog{box-sizing:border-box;width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 36px);overflow:auto;padding:0;border:1px solid #dce3ed;border-radius:14px;background:#fff;color:#172238;font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 20px 70px #14243a40}
.aa-dialog::backdrop{background:#0f172a65}
.aa-dialog *{box-sizing:border-box}
.aa-dialog header{display:flex;align-items:start;justify-content:space-between;gap:14px;padding:22px 24px;border-bottom:1px solid #e5eaf1}
.aa-dialog h2{font:700 20px/1.3 Inter,-apple-system,sans-serif;margin:0 0 6px;letter-spacing:-.3px}
.aa-dialog p{margin:6px 0 12px;color:#5b6b83;font-size:13px}
.aa-dialog section{padding:20px 24px;border-bottom:1px solid #e5eaf1}
.aa-dialog h3{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:0 0 14px;font-weight:650}
.aa-dialog [data-aa-current]{font-size:12px;font-weight:600;color:#3a506b}
.aa-dialog button,.aa-order-notice button{font:550 13px/1.5 Inter,-apple-system,sans-serif;cursor:pointer;border:1px solid #dbe3ee;border-radius:7px;background:#fff;color:#23354f;padding:9px 12px;min-height:42px}
.aa-dialog button:disabled{opacity:.5;cursor:not-allowed}
.aa-dialog header>button{font-size:22px;padding:3px;width:38px;min-height:38px}
.aa-status-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.aa-status-options button[aria-pressed=true]{background:#fff1e9;color:#c53b08;border-color:#e94b0c;box-shadow:inset 0 0 0 1px #e94b0c}
.aa-audio-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.aa-dialog [data-aa-sound][aria-pressed=true]{background:#ecfbf5;color:#08785b;border-color:#a6e1ce}
.aa-dialog .aa-hint{font-size:12px;margin-top:12px;margin-bottom:0}
.aa-dialog [data-aa-feedback]{padding:0 24px;color:#253f60;min-height:20px}
.aa-dialog footer{display:flex;justify-content:space-between;gap:12px;padding:14px 24px 20px}
.aa-dialog footer button:last-child{background:#e94b0c;color:#fff;border-color:#e94b0c}
.aa-order-notice{position:fixed;right:20px;bottom:86px;z-index:2147482000;width:min(420px,calc(100% - 32px));padding:16px 44px 16px 18px;border:1px solid #b7dccf;border-left:4px solid #0b9d78;border-radius:9px;background:#fff;color:#172238;box-shadow:0 8px 30px #12283d26;font:14px/1.5 Inter,-apple-system,sans-serif;box-sizing:border-box}
.aa-order-notice strong{font-weight:650}.aa-order-notice p{font-size:13px;color:#566980;margin:5px 0 12px}.aa-order-notice .aa-notice-close{position:absolute;right:6px;top:6px;font-size:20px;min-height:34px;width:34px;padding:0;border:0}
.aa-trigger:focus-visible,.aa-dialog :is(button,input):focus-visible,.aa-order-notice button:focus-visible{outline:3px solid #81aaf3;outline-offset:3px}
@media(max-width:600px){.aa-dialog header,.aa-dialog section{padding:18px}.aa-dialog footer{padding:14px 18px}.aa-dialog [data-aa-feedback]{padding:0 18px}.aa-order-notice{right:16px}.aa-toolbar-trigger{padding:6px 8px}.aa-toolbar-trigger .aa-trigger-label{max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

.aa-dialog [data-aa-desktop]{max-width:100%;white-space:normal}

/* Override the historical global margin reset and keep the close control visible. */
.aa-dialog{margin:auto!important}
.aa-dialog>header{position:sticky;top:0;z-index:2;background:#fff}

.aa-audio-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid #d6dfea;border-radius:7px;background:#fff;color:#25415d;font:550 13px/1.4 Inter,-apple-system,sans-serif;cursor:pointer;box-sizing:border-box}
.sidebar .aa-audio-toggle{width:100%;margin-top:6px}
.aa-audio-toggle[hidden]{display:none!important}
.aa-audio-toggle[data-audio-state=enabled]{color:#08785b;background:#ecfbf5;border-color:#a6e1ce}
.aa-audio-toggle[data-audio-state=blocked]{color:#965a0b;background:#fff8e7;border-color:#efd59a}
.aa-toolbar-audio{flex:0 0 auto;margin-right:6px;font-size:12px;min-height:36px;padding:7px 10px}
.aa-audio-toggle:focus-visible{outline:3px solid #81aaf3;outline-offset:3px}

.aa-attention{border:1px solid #b45309;background:#fff7ed;color:#7c2d12;border-radius:8px;padding:9px 12px;font:inherit;cursor:pointer}.aa-attention:focus-visible{outline:2px solid currentColor;outline-offset:3px}.aa-attention[hidden]{display:none!important}
