.vxProfilePreferencesGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.vxProfilePreferenceField{display:grid;gap:6px}.vxProfilePreferenceField span{font-size:11px;color:#91a0b5}.vxProfilePreferenceField select,.vxProfilePreferenceField input[type="time"]{width:100%;min-height:38px;border:1px solid #2d3a50;border-radius:10px;background:#0d1522;color:#eef2ff;padding:8px 10px;color-scheme:dark}.vxProfilePreferenceHint{margin-top:8px;color:#8190a6;font-size:11px;line-height:1.45}.vxProfilePreferenceField.is-disabled{opacity:.5}.vxProfileQuietHead{display:flex;align-items:center;justify-content:space-between;gap:14px}.vxProfileQuietHead>div{display:grid;gap:3px}.vxProfileQuietHead b{font-size:12px;color:#eef3ff}.vxProfileQuietHead span{font-size:10px;line-height:1.4;color:#8392a8}.vxProfileQuietGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.vxProfileQuietCritical{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:11px;color:#b5c0d1}.vxProfileSwitch{position:relative;width:38px;height:22px;flex:0 0 auto}.vxProfileSwitch input{position:absolute;opacity:0;pointer-events:none}.vxProfileSwitch span{position:absolute;inset:0;border-radius:999px;background:#26344a;transition:.16s}.vxProfileSwitch span:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#dbe4f4;transition:.16s}.vxProfileSwitch input:checked+span{background:#3276ff}.vxProfileSwitch input:checked+span:after{transform:translateX(16px);background:#fff}html[data-vx-density="comfortable"] .sidebar .tab{min-height:38px}html[data-vx-density="compact"] .sidebar .tab{min-height:32px}

/* Keep the old mini-profile geometry intact. Only the gear participates in the existing head row. */
#profile-panel>.vxProfileSettingsRow{display:none!important}.vxProfileSettingsGear{margin-left:auto;flex:0 0 auto;width:30px;height:30px;padding:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.055);color:#d9e1ef;font-size:15px;line-height:1;cursor:pointer}.vxProfileSettingsGear:hover{background:rgba(109,133,255,.14);border-color:rgba(109,133,255,.35);color:#fff}.vxProfileSettingsGear svg{display:block;pointer-events:none}

.vxProfileSettingsModal{position:fixed;inset:0;z-index:10120;display:grid;place-items:center;padding:22px;background:rgba(5,9,16,.76);backdrop-filter:blur(10px)}.vxProfileSettingsModal[hidden]{display:none!important}.vxProfileSettingsDialog{width:min(980px,96vw);height:min(760px,92vh);display:flex;flex-direction:column;border:1px solid rgba(127,148,198,.2);border-radius:20px;background:linear-gradient(150deg,#121a28,#0c121d);box-shadow:0 34px 90px rgba(0,0,0,.55);overflow:hidden;color:#e9eef7}.vxProfileSettingsDialog>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px 20px 15px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.018)}.vxProfileSettingsDialog>header span{font-size:10px;letter-spacing:.13em;color:#78879e}.vxProfileSettingsDialog>header h2{margin:3px 0 2px;font-size:20px}.vxProfileSettingsDialog>header p{margin:0;color:#8290a4;font-size:12px}.vxProfileSettingsDialog>header button{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.055);color:#aeb9ca;font-size:24px;cursor:pointer}
.vxProfileSettingsLayout{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:0;flex:1}.vxProfileSettingsNav{padding:13px;border-right:1px solid rgba(255,255,255,.07);display:flex;flex-direction:column;gap:6px;background:rgba(255,255,255,.012)}.vxProfileSettingsNav button{border:1px solid transparent;background:transparent;color:#8f9caf;text-align:left;border-radius:10px;padding:10px 11px;font-size:12px;cursor:pointer}.vxProfileSettingsNav button:hover{background:rgba(255,255,255,.035);color:#dfe7f5}.vxProfileSettingsNav button.is-active{background:rgba(88,113,255,.13);border-color:rgba(103,126,255,.28);color:#fff}.vxProfileSettingsScroll{min-height:0;overflow:auto;padding:16px}.vxProfileSettingsPane{display:none;gap:12px}.vxProfileSettingsPane.is-active{display:grid}.vxProfileSettingsCard,.vxProfileSettingsPane>.vxProfileSettingsRow{display:block!important;margin:0!important;border:1px solid rgba(117,139,188,.16)!important;border-radius:15px!important;background:rgba(255,255,255,.025)!important;padding:15px!important}.vxProfileSettingsTitle{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.vxProfileSettingsTitle>b{font-size:14px}.vxProfilePreferenceSection{display:grid;gap:7px;padding:12px;margin-top:10px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.018)}.vxProfilePreferenceSection>b{font-size:13px}.vxProfilePreferenceSection>span{font-size:11px;color:#7f8ca0;line-height:1.45}.vxProfileToggleGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.vxProfileToggleGrid label{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 9px;border:1px solid rgba(255,255,255,.065);border-radius:9px;background:#0f1724;color:#aeb9ca;font-size:11px}.vxProfileToggleGrid input{accent-color:#728cff}.vxProfileTimePreview{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 14px;padding:13px 14px;border:1px solid rgba(98,214,148,.16);border-radius:14px;background:rgba(52,168,105,.055)}.vxProfileTimePreview span{grid-column:1;color:#8291a7;font-size:11px}.vxProfileTimePreview strong{grid-column:1;color:#dff7e9;font-size:19px;font-variant-numeric:tabular-nums}.vxProfileTimePreview small{grid-column:2;grid-row:1/3;color:#75c99c;font-size:11px}.vxProfileSettingsOriginalActions{display:none!important}
.vxProfileSettingsFooter{min-height:62px;display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid rgba(255,255,255,.07);background:rgba(8,13,21,.86)}.vxProfileSettingsFooter>span{min-width:0;flex:1;color:#93a4bb;font-size:11px}.vxProfileSettingsFooterActions{display:flex;align-items:center;gap:8px}.vxProfileSettingsFooter button,#profile-preferences-save{min-height:36px;border-radius:10px;padding:0 13px;cursor:pointer}.vxProfileSettingsSecondary{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);color:#b7c2d3}#profile-preferences-save{border:1px solid rgba(107,132,255,.35);background:rgba(82,108,255,.18);color:#f5f7ff}.vxProfileSettingsOpen{overflow:hidden!important}

@media(max-width:700px){.vxProfileSettingsModal{padding:0;align-items:end}.vxProfileSettingsDialog{width:100%;height:96vh;max-height:96vh;border-radius:18px 18px 0 0}.vxProfileSettingsDialog>header{padding:13px 14px 11px}.vxProfileSettingsDialog>header p{display:none}.vxProfileSettingsLayout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.vxProfileSettingsNav{border-right:0;border-bottom:1px solid rgba(255,255,255,.07);padding:8px 9px;display:flex;flex-direction:row;overflow-x:auto;gap:5px}.vxProfileSettingsNav button{flex:0 0 auto;padding:8px 10px;white-space:nowrap}.vxProfileSettingsScroll{padding:10px}.vxProfilePreferencesGrid,.vxProfileToggleGrid{grid-template-columns:1fr}.vxProfileQuietGrid{grid-template-columns:1fr 1fr}.vxProfileSettingsFooter{padding:8px 9px;flex-wrap:wrap}.vxProfileSettingsFooter>span{order:3;flex-basis:100%;min-height:0}.vxProfileSettingsFooterActions{margin-left:auto}.vxProfileTimePreview{grid-template-columns:1fr}.vxProfileTimePreview small{grid-column:1;grid-row:auto}}

.vxProfileEventDeliveryCard button{justify-self:start;margin-top:4px}
