.dy-voice-entry{--voice:#6558e8;position:relative;isolation:isolate;display:inline-flex!important;align-items:center;gap:8px;overflow:hidden;border:2px solid color-mix(in srgb,var(--voice) 70%,#fff)!important;background:linear-gradient(135deg,#fff 0%,color-mix(in srgb,var(--voice) 13%,#fff) 55%,color-mix(in srgb,var(--voice) 22%,#fff) 100%)!important;color:color-mix(in srgb,var(--voice) 86%,#182033)!important;box-shadow:0 6px 16px color-mix(in srgb,var(--voice) 20%,transparent),inset 0 0 0 1px rgba(255,255,255,.9);font-weight:900!important;white-space:nowrap}.dy-voice-entry::before{position:absolute;z-index:-1;inset:0;content:"";background:linear-gradient(110deg,transparent 18%,color-mix(in srgb,var(--voice) 22%,transparent) 46%,transparent 74%);transform:translateX(-120%);animation:dyVoiceEntrySweep 3.2s ease-in-out infinite}.dy-voice-entry-label{position:relative;z-index:1}.dy-voice-entry-new{position:relative;z-index:1;display:inline-grid;min-width:32px;height:20px;padding:0 6px;place-items:center;border-radius:999px;background:linear-gradient(135deg,#ff475d,#d71936);color:#fff;font:950 10px/1 Arial,sans-serif;letter-spacing:.04em;box-shadow:0 0 0 3px rgba(225,31,61,.12),0 3px 8px rgba(179,18,43,.28);animation:dyVoiceNewPulse 1.8s ease-in-out infinite}.dy-voice-entry.dy-voice-state-gray{--voice:#6558e8}.dy-voice-entry.dy-voice-state-orange{--voice:#d48600}.dy-voice-entry.dy-voice-state-green{--voice:#09946b}.dy-voice-entry.dy-voice-state-red{--voice:#d13c4b}.dy-voice-entry:focus-visible{outline:3px solid color-mix(in srgb,var(--voice) 24%,transparent);outline-offset:2px}@keyframes dyVoiceEntrySweep{0%,55%{transform:translateX(-120%)}82%,100%{transform:translateX(120%)}}@keyframes dyVoiceNewPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
.dy-voice-smart-tip{margin:0 0 12px;padding:10px 12px;border:1px solid #c9d7f4;border-left:4px solid #6259e7;border-radius:9px;background:#f1f4ff;color:#3e4c66;font-size:12px;font-weight:700;line-height:1.55}
.dy-voice-browser-advice{margin:10px 18px 0;padding:10px 13px;border:1px solid #b7c9f2;border-left:5px solid #4285f4;border-radius:10px;background:#eef5ff;color:#294f86;font-size:13px;font-weight:750;line-height:1.55}
.dy-voice-section-actions{display:flex;gap:8px;align-items:center}.dy-voice-help-toggle{height:40px;padding:8px 14px;border:1px solid #a9baf0;border-radius:9px;background:#eef2ff;color:#5046cf;font-weight:800;cursor:pointer}.dy-voice-help-toggle[aria-expanded=true]{border-color:#6259e7;background:#6259e7;color:#fff}.dy-voice-help{margin:0 0 12px;padding:13px 15px;border:1px solid #bfcdf2;border-radius:11px;background:linear-gradient(145deg,#f8f9ff,#edf2ff);color:#33425b}.dy-voice-help h4{margin:0 0 8px;color:#4f46ca;font-size:15px}.dy-voice-help-list{display:grid;gap:7px;margin:0;padding-left:22px;font-size:12px;font-weight:650;line-height:1.6}.dy-voice-help-list li::marker{color:#6259e7;font-weight:900}
body.dy-voice-modal-open{overflow:hidden}.dy-voice-overlay[hidden]{display:none!important}.dy-voice-overlay{position:fixed;z-index:2147483000;inset:0;display:grid;place-items:center;padding:18px;background:rgba(11,22,42,.54);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.dy-voice-dialog{width:min(1360px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid #cfdbea;border-radius:20px;background:#f7f9fd;box-shadow:0 30px 90px rgba(8,20,44,.3);color:#18263b}.dy-voice-dialog-head{position:sticky;z-index:4;top:0;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #dfe6f0;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dy-voice-dialog-head h2{margin:3px 0 0;font-size:25px}.dy-voice-kicker{color:#6259df;font-size:11px;font-weight:850;letter-spacing:.12em}.dy-voice-close{display:grid;width:38px;height:38px;padding:0;place-items:center;border:1px solid #ccd7e5;border-radius:50%;background:#fff;color:#44536a;font:800 26px/1 Arial;cursor:pointer}.dy-voice-close:hover{border-color:#7168e8;color:#554bdc}.dy-voice-banner{margin:15px 18px 0;padding:12px 14px;border:1px solid;border-left-width:5px;border-radius:11px;font-size:14px;font-weight:750;line-height:1.55}.dy-voice-banner.empty{border-color:#cdd5df;background:#f2f4f7;color:#5c6879}.dy-voice-banner.waiting{border-color:#efc565;background:#fff6df;color:#815000}.dy-voice-banner.ready{border-color:#8ad7bd;background:#eafbf5;color:#087653}.dy-voice-banner.error{border-color:#efa8af;background:#fff0f1;color:#a92d3b}.dy-voice-limit{margin:11px 18px 0;padding:11px 13px;border-radius:10px;background:#fff2d5;color:#6d4a08;font-size:13px;font-weight:650;line-height:1.55}.dy-voice-sound,.dy-voice-rules,.dy-voice-records{margin:14px 18px;padding:15px;border:1px solid #dbe4ef;border-radius:15px;background:#fff}.dy-voice-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.dy-voice-section-head h3{margin:0;font-size:18px}.dy-voice-section-head small{color:#74839a;font-size:12px}.dy-voice-sound-grid{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(150px,.7fr) minmax(150px,.7fr) auto;gap:10px;align-items:end}.dy-voice-field{display:flex;min-width:0;flex-direction:column;gap:6px;color:#637289;font-size:12px;font-weight:750}.dy-voice-field input,.dy-voice-field select{width:100%;height:40px;min-width:0;padding:7px 10px;border:1px solid #ced9e8;border-radius:9px;background:#fff;color:#1f2c40;font:650 13px/1.2 inherit}.dy-voice-field input[type=checkbox]{width:20px;height:20px;padding:0;accent-color:#6259e7}.dy-voice-field input[type=range]{padding:0;accent-color:#6259e7}.dy-voice-preview,.dy-voice-add,.dy-voice-clear,.dy-voice-delete{height:40px;padding:8px 14px;border:1px solid #cdd8e7;border-radius:9px;background:#fff;color:#34445b;font-weight:750;cursor:pointer}.dy-voice-preview,.dy-voice-add{border-color:#6259e7;background:linear-gradient(135deg,#6d64ed,#5148d7);color:#fff}.dy-voice-add:disabled{border-color:#ccd4df;background:#e7ebf1;color:#7d8898;cursor:not-allowed}.dy-voice-rule-list{display:grid;gap:12px}.dy-voice-rule{padding:13px;border:1px solid #d8e2ee;border-left:5px solid #6259e7;border-radius:12px;background:linear-gradient(140deg,#fbfcff,#f5f7fc)}.dy-voice-rule-head{display:flex;align-items:center;gap:12px;margin-bottom:11px}.dy-voice-rule-head>strong{margin-right:auto;font-size:15px}.dy-voice-rule-head .dy-voice-field{align-items:center;flex-direction:row}.dy-voice-delete{height:32px;padding:5px 10px;border-color:#efb4ba;color:#b4313f}.dy-voice-rule-grid{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:9px;align-items:end}.dy-voice-field-pair{grid-column:span 3}.dy-voice-field-direction{grid-column:span 2}.dy-voice-field-operator{grid-column:span 3}.dy-voice-field-threshold{grid-column:span 2}.dy-voice-field-confirmations,.dy-voice-field-cooldown{grid-column:span 2}.dy-voice-field-repeat{grid-column:1/span 3}.dy-voice-field-rearm-percent{grid-column:span 2}.dy-voice-field-rearm-confirmations{grid-column:span 2}.dy-voice-field-start,.dy-voice-field-end{grid-column:span 2}.dy-voice-rule-preview-wrap{display:flex;grid-column:span 3;min-width:0;flex-direction:column;gap:6px;color:#8b5b08;font-size:12px;font-weight:850}.dy-voice-rule-preview{height:40px;padding:8px 13px;border:1px solid #e39421;border-radius:9px;background:linear-gradient(135deg,#fff4c7,#ffcf63);color:#744300;font-weight:900;box-shadow:0 4px 11px rgba(192,119,15,.18);cursor:pointer}.dy-voice-rule-preview:hover{border-color:#c7740a;background:linear-gradient(135deg,#fff0b1,#ffc64a)}.dy-voice-runtime{margin:10px 0 0;color:#65748a;font-size:12px;font-weight:650}.dy-voice-record-list{display:grid;gap:7px}.dy-voice-record{display:grid;grid-template-columns:180px minmax(260px,1fr) minmax(180px,.7fr);gap:10px;align-items:center;padding:9px 11px;border:1px solid #e0e7f0;border-radius:9px;background:#fafbfd;font-size:12px}.dy-voice-record time{color:#6f7e93}.dy-voice-record strong{color:#26364d}.dy-voice-record span{justify-self:end;color:#5c54da;font-weight:800;font-variant-numeric:tabular-nums}.dy-voice-empty{margin:0;padding:18px;border:1px dashed #cbd7e6;border-radius:10px;color:#77859a;text-align:center}
@media(max-width:1180px){.dy-voice-rule-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dy-voice-rule-grid>*{grid-column:span 1}.dy-voice-field-pair,.dy-voice-field-operator,.dy-voice-field-repeat,.dy-voice-rule-preview-wrap{grid-column:span 2}.dy-voice-sound-grid{grid-template-columns:1.5fr 1fr 1fr}.dy-voice-preview{grid-column:1/-1}.dy-voice-record{grid-template-columns:150px 1fr}.dy-voice-record span{grid-column:2;justify-self:start}}
@media(max-width:760px){.dy-voice-overlay{padding:8px}.dy-voice-dialog{max-height:calc(100vh - 16px);border-radius:14px}.dy-voice-dialog-head{padding:13px 14px}.dy-voice-dialog-head h2{font-size:21px}.dy-voice-banner,.dy-voice-browser-advice,.dy-voice-limit,.dy-voice-sound,.dy-voice-rules,.dy-voice-records{margin-left:10px;margin-right:10px}.dy-voice-sound,.dy-voice-rules,.dy-voice-records{padding:11px}.dy-voice-sound-grid,.dy-voice-rule-grid{grid-template-columns:1fr 1fr}.dy-voice-rule-grid>*{grid-column:span 1}.dy-voice-field-pair,.dy-voice-field-operator,.dy-voice-field-repeat,.dy-voice-rule-preview-wrap{grid-column:1/-1}.dy-voice-preview{grid-column:1/-1}.dy-voice-record{grid-template-columns:1fr;gap:4px}.dy-voice-record span{grid-column:auto}.chart-view-tabs .dy-voice-entry{max-width:235px;white-space:normal;line-height:1.15}}
@media(max-width:430px){.dy-voice-sound-grid,.dy-voice-rule-grid{grid-template-columns:1fr}.dy-voice-rule-grid>*{grid-column:auto!important}.dy-voice-preview{grid-column:auto}.dy-voice-rule-head{flex-wrap:wrap}.dy-voice-rule-head>strong{width:100%}.dy-voice-section-head{align-items:flex-start}.dy-voice-section-actions{align-items:stretch;flex-direction:column}.dy-voice-help-toggle,.dy-voice-add{height:auto;min-height:38px}.dy-voice-limit{font-size:12px}.chart-view-tabs .dy-voice-entry{max-width:175px;font-size:11px!important}.dy-voice-entry-new{min-width:28px;height:18px;padding:0 5px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.dy-voice-entry::before,.dy-voice-entry-new{animation:none}.dy-voice-dialog,.dy-voice-entry{scroll-behavior:auto;transition:none}}

/* R4 紧凑布局：规则入口并入标题栏，减少纵向占用。 */
.dy-voice-overlay{padding:12px}.dy-voice-dialog{max-height:calc(100vh - 24px);border-radius:18px}
.dy-voice-dialog-head{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:18px;padding:10px 12px}
.dy-voice-dialog-head h2{margin:0;font-size:23px;white-space:nowrap}.dy-voice-header-rules{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:10px}.dy-voice-header-rules>strong{font-size:15px;white-space:nowrap}.dy-voice-close{width:36px;height:36px}
.dy-voice-smart-tip{margin:8px 12px 0;padding:8px 11px;line-height:1.45}.dy-voice-help{margin:7px 12px 0;padding:10px 13px}.dy-voice-help h4{margin-bottom:6px;font-size:14px}.dy-voice-help-list{gap:4px;line-height:1.45}
.dy-voice-banner{margin:7px 12px 0;padding:8px 11px;font-size:13px;line-height:1.45}.dy-voice-browser-advice,.dy-voice-limit{margin:7px 12px 0;padding:8px 11px;font-size:12px;line-height:1.45}
.dy-voice-sound,.dy-voice-rules,.dy-voice-records{margin:8px 12px;padding:10px;border-radius:13px}.dy-voice-section-head{gap:10px;margin-bottom:8px}.dy-voice-section-head h3{font-size:17px}
.dy-voice-sound-grid{gap:8px}.dy-voice-field{gap:4px}.dy-voice-field input,.dy-voice-field select{height:38px;padding:6px 9px}.dy-voice-preview,.dy-voice-add,.dy-voice-clear{height:38px;padding:7px 13px}
.dy-voice-rule-list{gap:8px}.dy-voice-rule{padding:10px}.dy-voice-rule-head{gap:10px;margin-bottom:7px}.dy-voice-delete{height:30px;padding:4px 10px}.dy-voice-rule-grid{gap:7px}.dy-voice-rule-preview-wrap{gap:4px}.dy-voice-rule-preview{height:38px;padding:7px 12px}.dy-voice-runtime{margin-top:7px}
@media(max-width:760px){.dy-voice-dialog-head h2{font-size:20px}.dy-voice-smart-tip{margin-left:8px;margin-right:8px}.dy-voice-help{margin-left:8px;margin-right:8px}}
@media(max-width:520px){.dy-voice-dialog-head{grid-template-columns:1fr max-content;gap:8px}.dy-voice-header-rules{grid-column:1/-1;grid-row:2;justify-content:flex-start;flex-wrap:wrap}.dy-voice-close{grid-column:2;grid-row:1}}

/* R5 阈值合理性二次确认。 */
.dy-voice-risk-confirm-overlay{position:fixed;z-index:2147483600;inset:0;display:grid;place-items:center;padding:18px;background:rgba(12,22,40,.62);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.dy-voice-risk-confirm{width:min(560px,100%);padding:22px;border:2px solid #e2a31c;border-left-width:7px;border-radius:16px;background:linear-gradient(145deg,#fffdf4,#fff2c9);box-shadow:0 24px 70px rgba(53,35,5,.35);color:#3c2c10}
.dy-voice-risk-confirm h3{margin:0 0 10px;color:#8a5200;font-size:22px}.dy-voice-risk-copy{margin:0;font-size:15px;font-weight:750;line-height:1.65}.dy-voice-risk-facts{margin:13px 0 0;padding:10px 12px;border:1px solid rgba(197,128,10,.34);border-radius:10px;background:rgba(255,255,255,.72);font-size:13px;font-weight:800;line-height:1.55}
.dy-voice-risk-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.dy-voice-risk-actions button{min-width:112px;height:42px;padding:8px 16px;border-radius:10px;font-weight:850;cursor:pointer}.dy-voice-risk-modify{border:1px solid #b7c2d1;background:#fff;color:#33445b}.dy-voice-risk-keep{border:1px solid #d9870b;background:linear-gradient(135deg,#f6b62d,#de8709);color:#fff;box-shadow:0 5px 14px rgba(197,118,0,.25)}
@media(max-width:520px){.dy-voice-risk-confirm{padding:17px}.dy-voice-risk-confirm h3{font-size:19px}.dy-voice-risk-actions{flex-direction:column-reverse}.dy-voice-risk-actions button{width:100%}}

/* R1：弹窗可拖拽、轻透明；提醒分区标签固定在标题右侧。 */
.dy-voice-overlay{background:rgba(11,22,42,.025);-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.dy-voice-dialog{opacity:1;background:rgba(247,249,253,.68);-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.dy-voice-dialog,.dy-voice-dialog *{box-sizing:border-box}
.dy-voice-dialog-head{grid-template-columns:max-content minmax(250px,.62fr) minmax(0,1fr) max-content;cursor:grab;touch-action:none}
.dy-voice-dialog-head{background:rgba(255,255,255,.7);-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.dy-voice-sound,.dy-voice-rules,.dy-voice-records{background:rgba(255,255,255,.6)}
.dy-voice-rule{background:linear-gradient(140deg,rgba(251,252,255,.64),rgba(245,247,252,.56))}
.dy-voice-field input,.dy-voice-field select{background:rgba(255,255,255,.72)}
.dy-voice-banner.empty,.dy-voice-banner.waiting,.dy-voice-banner.ready,.dy-voice-banner.error,.dy-voice-browser-advice,.dy-voice-limit,.dy-voice-help,.dy-voice-smart-tip{opacity:1;background-color:rgba(248,250,255,.68)}
.dy-voice-preview,.dy-voice-add,.dy-voice-clear,.dy-voice-delete,.dy-voice-help-toggle{background-color:rgba(255,255,255,.76)}
.dy-voice-record{background:rgba(250,251,253,.6)}
.dy-voice-dialog-head .dy-funding-tabs{background:rgba(236,242,255,.68)}
.dy-voice-dialog.is-dragging{transition:none!important;user-select:none}
.dy-voice-dialog.is-dragging .dy-voice-dialog-head{cursor:grabbing}
.dy-voice-preview-toast[hidden]{display:none!important}.dy-voice-preview-toast{position:fixed;z-index:30;top:88px;left:50%;max-width:min(760px,calc(100vw - 32px));padding:13px 22px;border:2px solid #e2a00a;border-radius:14px;background:linear-gradient(135deg,rgba(255,250,216,.94),rgba(255,222,115,.94));color:#674000;font-size:15px;font-weight:900;line-height:1.5;text-align:center;overflow-wrap:anywhere;box-shadow:0 12px 30px rgba(128,78,0,.28),0 0 0 5px rgba(255,202,60,.16);transform:translateX(-50%);animation:dyVoicePreviewToastIn .2s ease-out}.dy-voice-preview-toast::after{position:absolute;bottom:-11px;left:50%;width:18px;height:18px;border-right:2px solid #e2a00a;border-bottom:2px solid #e2a00a;background:#ffdf7c;content:"";transform:translateX(-50%) rotate(45deg)}@keyframes dyVoicePreviewToastIn{from{opacity:0;transform:translate(-50%,-10px) scale(.98)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(max-width:760px){.dy-voice-preview-toast{top:70px;max-width:calc(100vw - 20px);padding:11px 15px;font-size:13px}}
.dy-voice-dialog-head .dy-funding-tabs{display:grid;grid-template-columns:repeat(2,minmax(112px,1fr));gap:7px;align-self:center;margin:0;padding:4px;border:1px solid #c8d4eb;border-radius:13px;background:rgba(236,242,255,.9)}
.dy-voice-dialog-head .dy-funding-tabs button{min-height:38px;padding:6px 13px;border-width:1px;border-style:solid;border-radius:10px;font-weight:900;white-space:nowrap}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-spread{border-color:#a8cef7!important;background:linear-gradient(135deg,#edf7ff,#dceeff)!important;color:#1460a8!important}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-funding{border-color:#c9b9ff!important;background:linear-gradient(135deg,#f4f0ff,#e9e1ff)!important;color:#6540c7!important}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-spread.is-active{border-color:#1685e6!important;background:linear-gradient(135deg,#2f9ef2,#0f68ca)!important;color:#fff!important;box-shadow:0 6px 15px rgba(20,111,201,.25)}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-funding.is-active{border-color:#6547e8!important;background:linear-gradient(135deg,#7960f5,#543bd4)!important;color:#fff!important;box-shadow:0 6px 15px rgba(86,62,210,.27)}
.dy-voice-header-rules{justify-content:flex-end}
@media(max-width:900px){.dy-voice-dialog-head{grid-template-columns:1fr max-content}.dy-voice-dialog-head h2{grid-column:1;grid-row:1}.dy-voice-close{grid-column:2;grid-row:1}.dy-voice-dialog-head .dy-funding-tabs{grid-column:1/-1;grid-row:2;width:100%}.dy-voice-header-rules{grid-column:1/-1;grid-row:3;justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:430px){.dy-voice-dialog{background:rgba(247,249,253,.76)}.dy-voice-dialog-head .dy-funding-tabs{grid-template-columns:1fr 1fr}.dy-voice-dialog-head .dy-funding-tabs button{min-width:0;padding:6px 8px;font-size:12px}.dy-voice-header-rules .dy-voice-section-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.dy-voice-help-toggle,.dy-voice-add{width:100%}}

/* R2：打开或拖拽语音面板时不模糊主页；面板内各层一致透明。 */
.dy-voice-overlay{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.dy-voice-dialog{background:rgba(247,249,253,.66)!important}
.dy-voice-dialog-head,.dy-voice-sound,.dy-voice-rules,.dy-voice-records,.dy-voice-rule,.dy-voice-record,.dy-voice-dialog-head .dy-funding-tabs{background-color:rgba(255,255,255,.58)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.dy-voice-field input,.dy-voice-field select,.dy-voice-preview,.dy-voice-add,.dy-voice-clear,.dy-voice-delete,.dy-voice-help-toggle,.dy-voice-close{background-color:rgba(255,255,255,.7)!important}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-spread{background:linear-gradient(135deg,rgba(237,247,255,.72),rgba(220,238,255,.62))!important}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-funding{background:linear-gradient(135deg,rgba(244,240,255,.72),rgba(233,225,255,.62))!important}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-spread.is-active{background:linear-gradient(135deg,rgba(47,158,242,.82),rgba(15,104,202,.82))!important}
.dy-voice-dialog-head .dy-funding-tabs .dy-funding-tab-funding.is-active{background:linear-gradient(135deg,rgba(121,96,245,.82),rgba(84,59,212,.82))!important}

/* Readability hotfix: retain subtle layering without letting the chart obscure controls. */
.dy-voice-dialog{background:rgba(247,249,253,.96)!important}
.dy-voice-dialog-head,.dy-voice-sound,.dy-voice-rules,.dy-voice-records,.dy-voice-rule,.dy-voice-record,.dy-voice-dialog-head .dy-funding-tabs{background-color:rgba(255,255,255,.94)!important}
.dy-voice-field input,.dy-voice-field select{background:rgba(255,255,255,.98)!important}
.dy-voice-banner.empty,.dy-voice-banner.waiting,.dy-voice-banner.ready,.dy-voice-banner.error,.dy-voice-browser-advice,.dy-voice-limit,.dy-voice-help,.dy-voice-smart-tip{background-color:rgba(248,250,255,.96)!important}

/* Compact notices stay beside the control they explain. */
.dy-voice-sound-meta,.dy-voice-record-title{display:flex;min-width:0;align-items:center;gap:9px}.dy-voice-record-title h3{white-space:nowrap}.dy-voice-compact-chip,.dy-voice-browser-chip{display:inline-flex;min-width:0;align-items:center;padding:5px 9px;border:1px solid #b7c9ee;border-radius:999px;background:linear-gradient(135deg,#f5f8ff,#e9f0ff);color:#355a91;font-size:11px;font-weight:850;line-height:1.35}.dy-voice-sound-notice{border-color:#efc66f;background:linear-gradient(135deg,#fff8e9,#fff0c8);color:#80530a}.dy-voice-sound-notice.is-ready{border-color:#8fd6bb;background:linear-gradient(135deg,#effcf7,#daf7eb);color:#087653}.dy-voice-limit-chip{border-color:#e7c783;background:linear-gradient(135deg,#fffaf0,#fff1d5);color:#76500b}.dy-voice-dialog-head .dy-funding-tabs{grid-template-columns:repeat(2,minmax(96px,1fr))}.dy-voice-browser-chip{align-self:center;margin-right:4px;white-space:nowrap}
@media(max-width:900px){.dy-voice-dialog-head .dy-funding-tabs{grid-template-columns:1fr 1fr}.dy-voice-sound-meta,.dy-voice-record-title{align-items:flex-start;flex-direction:column}}
@media(max-width:430px){.dy-voice-compact-chip,.dy-voice-browser-chip{white-space:normal}.dy-voice-section-head{flex-wrap:wrap}.dy-voice-record-title{width:100%}}

/* Keep the longer funding tab label and the Chrome hint visually separate. */
@media(min-width:901px){.dy-voice-dialog-head .dy-funding-tabs{grid-template-columns:minmax(112px,1fr) minmax(156px,1.25fr);column-gap:14px}.dy-voice-dialog-head .dy-funding-tab-funding{min-width:156px}.dy-voice-header-rules .dy-voice-section-actions{flex-wrap:nowrap}}

/* Distinguish the active reminder type at the creation action. */
.dy-voice-add.dy-voice-add-spread{color:#fff;background:linear-gradient(135deg,#256fe6,#5147df);border-color:#3d58df}
.dy-voice-add.dy-voice-add-funding{color:#7b2fc1;background:linear-gradient(135deg,#fff2dd,#f0e4ff);border-color:#c897ee;box-shadow:0 5px 14px rgba(125,67,190,.16)}

/* Expanded help must remain legible over the layered translucent controls. */
.dy-voice-help-toggle[aria-expanded=true]{background:linear-gradient(135deg,#6d64ed,#5148d7)!important;color:#fff!important}

/* Three-second explanation anchored to the Chrome recommendation control. */
.dy-voice-section-actions{position:relative}.dy-voice-browser-chip{font-family:inherit;cursor:pointer}.dy-voice-browser-chip:focus-visible{outline:3px solid rgba(37,111,230,.28);outline-offset:2px}.dy-voice-browser-tip[hidden]{display:none!important}.dy-voice-browser-tip{position:absolute;z-index:12;top:calc(100% + 9px);right:0;width:min(380px,calc(100vw - 44px));padding:10px 12px;border:1px solid #83abe8;border-radius:11px;background:linear-gradient(135deg,#f4f8ff,#e8f0ff);color:#244b82;box-shadow:0 12px 28px rgba(35,72,125,.22);font-size:12px;font-weight:750;line-height:1.55;white-space:normal;animation:dyVoiceBrowserTipIn .2s ease-out}.dy-voice-browser-tip::before{position:absolute;top:-6px;right:28px;width:11px;height:11px;border-top:1px solid #83abe8;border-left:1px solid #83abe8;background:#eef4ff;content:"";transform:rotate(45deg)}@keyframes dyVoiceBrowserTipIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

/* Newly created rules are brought into view and highlighted without changing rule semantics. */
.dy-voice-add-toast[hidden]{display:none!important}.dy-voice-add-toast{position:fixed;z-index:31;top:88px;left:50%;max-width:min(620px,calc(100vw - 32px));padding:12px 20px;border:2px solid #54a98b;border-radius:13px;background:linear-gradient(135deg,rgba(235,255,248,.97),rgba(195,244,227,.97));color:#09694f;font-size:14px;font-weight:900;line-height:1.45;text-align:center;box-shadow:0 12px 28px rgba(13,112,82,.22);transform:translateX(-50%);animation:dyVoiceAddToastIn .2s ease-out}.dy-voice-rule.dy-voice-rule-new-focus{border-color:#2fa986!important;box-shadow:0 0 0 4px rgba(47,169,134,.16),0 12px 28px rgba(25,115,91,.16);animation:dyVoiceNewRuleFocus 1.15s ease-in-out 2}@keyframes dyVoiceAddToastIn{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes dyVoiceNewRuleFocus{0%,100%{background-color:rgba(255,255,255,.94)}50%{background-color:rgba(219,255,243,.96)}}
