.qm-profile-preferences{margin-top:16px;padding:20px;border:1px solid #dfe1e7;border-radius:20px;background:#fff;color:#12141f}
.qm-profile-preferences h2{font-size:20px;font-weight:750;margin:0 0 18px;outline:none}.qm-profile-preferences h3{font-size:14px;font-weight:700;margin:18px 0 12px}
.qm-pref-menu{display:flex;flex-direction:column;margin:0 -4px 18px}.qm-pref-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 4px;min-height:68px;border-bottom:1px solid #e4e5e9;font-size:15px;font-weight:700}.qm-pref-row small,.qm-pref-choice small,.qm-pref-toggle small{display:block;margin-top:5px;font-size:13px;font-weight:400;color:#656a78}.qm-pref-chevron{font-size:28px;color:#9b6445}html[dir=rtl] .qm-pref-chevron{transform:rotate(180deg)}
.qm-settings-main{max-width:600px;margin:0 auto;padding:12px 16px 160px}.qm-pref-back{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:650;margin-bottom:18px;color:#a8431d;text-decoration:none}.qm-pref-screen{margin-top:12px;min-height:340px}
.qm-pref-body{display:flex;flex-direction:column;gap:10px}.qm-pref-toggle{position:relative;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:56px;font-size:14px;cursor:pointer}.qm-pref-toggle>span:first-child{flex:1}.qm-pref-toggle input{position:absolute;inset-inline-end:0;width:48px;height:30px;opacity:0;cursor:pointer}.qm-pref-switch{display:block;position:relative;width:48px;height:28px;border-radius:18px;background:#9297a1;pointer-events:none;flex-shrink:0;transition:background .2s}.qm-pref-switch:after{content:'';position:absolute;width:22px;height:22px;top:3px;left:3px;background:white;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .2s}.qm-pref-toggle input:checked+.qm-pref-switch{background:#d96322}.qm-pref-toggle input:checked+.qm-pref-switch:after{transform:translateX(20px)}.qm-pref-toggle input:focus-visible+.qm-pref-switch{outline:3px solid #ef9b56;outline-offset:3px}.qm-pref-sound-toggle{padding:0 0 18px;border-bottom:1px solid #e4e5e9;margin-bottom:20px}
.qm-pref-choices{display:flex;flex-direction:column;gap:12px}.qm-pref-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:16px;border:1px solid #dfe1e7;border-radius:14px;cursor:pointer}.qm-pref-choice b{font-size:15px;font-weight:650}.qm-pref-choice input{appearance:auto;width:22px;height:22px;accent-color:#d96322;flex-shrink:0}.qm-pref-choice.is-selected,.qm-pref-tone-card.is-selected{border-color:#d96322;background:#fff7ef;box-shadow:0 0 0 1px #d9632222}.qm-pref-tone-card{border:1px solid #dfe1e7;border-radius:14px;padding:0 0 12px}.qm-pref-tone-card .qm-pref-choice{border:0;background:none;min-height:58px;padding:14px 16px 10px}.qm-pref-preview{display:inline-flex;align-items:center;gap:6px;margin-inline-start:16px;min-height:44px;padding:9px 16px;border-radius:10px;background:#f1f2f5;color:#222633;font-size:13px;font-weight:650}.qm-pref-preview:hover{background:#e5e7ec}.qm-pref-note{font-size:13px;line-height:1.85;color:#656a78;margin-top:14px}.qm-pref-status{font-size:13px;line-height:1.7;color:#74604c;margin-top:12px;min-height:1.7em}.qm-pref-alerts{list-style:none;margin:0;padding:0}.qm-pref-alerts a{display:flex;justify-content:space-between;gap:16px;min-height:48px;padding:12px 0;border-bottom:1px solid #e5e6ea;font-size:14px}.qm-pref-alerts time{font-size:12px;color:#737887;white-space:nowrap}
html.qm-night .qm-profile-preferences{background:#151516;color:#f2eee2;border-color:#ffffff24}html.qm-night .qm-pref-row,html.qm-night .qm-pref-sound-toggle,html.qm-night .qm-pref-alerts a{border-color:#ffffff24}html.qm-night .qm-pref-choice,html.qm-night .qm-pref-tone-card{border-color:#ffffff30}html.qm-night .qm-pref-choice.is-selected,html.qm-night .qm-pref-tone-card.is-selected{background:#2e231a;border-color:#ff8a32}html.qm-night .qm-pref-preview{background:#302d28;color:#ffd1ac}html.qm-night .qm-pref-note,html.qm-night .qm-pref-row small,html.qm-night .qm-pref-choice small,html.qm-night .qm-pref-toggle small,html.qm-night .qm-pref-alerts time{color:#b6b3a9}html.qm-night .qm-pref-status,html.qm-night .qm-pref-back,html.qm-night .qm-pref-chevron{color:#e3bd96}
@media(prefers-reduced-motion:reduce){.qm-pref-switch,.qm-pref-switch:after{transition:none}}@media(max-width:359px){.qm-profile-preferences{padding:16px}.qm-settings-main{padding-inline:12px}}
/* 2026-11-22: the glass dock and WhatsApp shortcut stay visible on profile/settings again.
   Overlap safety is dynamic instead of a blanket hide: qm-dock-hide slides the dock away
   only while it would cover a primary action, the dock hides while a field has focus, and
   .qm-settings-main keeps 160px of bottom clearance so every control scrolls above the dock. */
