/* Scoped account preferences: existing page and profile styles stay intact. */
#cogoPrefsR1{--surface:#fff;--bg:#f5f7fc;--line:#dce3f1;--muted:#60708b;--cp-blue:#435bdd;color:var(--text,var(--ink,#263858));font-size:.8125rem;line-height:1.5}
#cogoPrefsR1 *{box-sizing:border-box}
#cogoPrefsR1 [hidden]{display:none!important}
#cogoPrefsR1 button,#cogoPrefsR1 select,#cogoPrefsR1 input{font:inherit}
#cogoPrefsR1 button{cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
#cogoPrefsR1 button:active{transform:scale(.98)}
#cogoPrefsR1 :focus-visible{outline:3px solid #8c9dff;outline-offset:3px}
#cogoPrefsR1 h3,#cogoPrefsR1 h4,#cogoPrefsR1 p{margin:0}
html body .compact-account301 #cogoPrefsR1 h3{font-size:1rem;margin:0 0 3px}
#cogoPrefsR1 h4{font-size:.8125rem;font-weight:700;margin:0 0 8px}
#cogoPrefsR1 .cp-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
#cogoPrefsR1 .cp-top p,#cogoPrefsR1 .cp-note{color:var(--muted,#74829a);font-size:.6875rem;line-height:1.6}
#cogoPrefsR1 .cp-quiet{display:flex;align-items:center;gap:6px;flex-shrink:0;border:1px solid var(--line,#dce3f1);background:var(--bg,#f5f7fc);color:inherit;border-radius:10px;padding:8px 10px;font-size:.6875rem;font-weight:650}
#cogoPrefsR1 .cp-quiet svg{width:15px;height:15px}
#cogoPrefsR1 .cp-categories{display:flex;gap:5px;margin-bottom:14px;background:var(--bg,#f4f6fc);border-radius:10px;padding:4px}
#cogoPrefsR1 .cp-categories button{border:0;border-radius:7px;padding:7px 16px;background:transparent;color:var(--muted,#75829c);font-weight:650;flex:1}
#cogoPrefsR1 .cp-categories button[aria-selected=true]{background:var(--surface,#fff);color:var(--cp-blue);box-shadow:0 2px 8px #1327560a}
#cogoPrefsR1 .cp-theme{margin-bottom:15px}
#cogoPrefsR1 .cp-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#cogoPrefsR1 .cp-options button{display:grid;gap:6px;padding:9px;border:1px solid var(--line,#dde4f1);border-radius:11px;color:inherit;background:var(--surface,#fff);font-weight:600;font-size:.75rem;min-width:0}
#cogoPrefsR1 .cp-options button[aria-pressed=true]{border-color:var(--cp-blue);box-shadow:0 0 0 1px var(--cp-blue);color:var(--cp-blue);background:var(--surface,#fff)}
#cogoPrefsR1 .cp-mini{display:block;width:100%;height:48px;background:#eef2fa;position:relative;border-radius:5px;overflow:hidden;border:1px solid #dce3f1}
#cogoPrefsR1 .cp-mini em{position:absolute;inset:0 auto 0 0;width:24%;background:#203250}
#cogoPrefsR1 .cp-mini b{position:absolute;left:31%;top:10px;width:54%;height:6px;background:#8394db;border-radius:2px}
#cogoPrefsR1 .cp-mini s{position:absolute;left:31%;right:8%;bottom:9px;height:13px;background:#fff;border-radius:3px}
#cogoPrefsR1 .cp-dark{background:#182238;border-color:#3d4a64}
#cogoPrefsR1 .cp-dark em{background:#0e1729}#cogoPrefsR1 .cp-dark s{background:#34415c}
#cogoPrefsR1 .cp-system{background:linear-gradient(90deg,#eef2fa 50%,#182238 50%)}#cogoPrefsR1 .cp-system s{background:linear-gradient(90deg,#fff 32%,#34415c 32%)}
#cogoPrefsR1 .cp-note{display:block;margin-top:7px}
#cogoPrefsR1 .cp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}
#cogoPrefsR1 .cp-grid>div{min-width:0}
#cogoPrefsR1 .cp-grid>div+div{border-left:1px solid var(--line,#e2e7f1);padding-left:22px}
#cogoPrefsR1 .cp-size .cp-options button{padding:8px 3px;font-size:.6875rem}
#cogoPrefsR1 .cp-size{margin-bottom:8px}
#cogoPrefsR1 .cp-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;cursor:pointer;min-height:53px;margin:0}
#cogoPrefsR1 .cp-toggle b{display:block;font-size:.75rem;font-weight:650}
#cogoPrefsR1 .cp-toggle small{display:block;color:var(--muted,#79859b);font-size:.625rem;line-height:1.5;margin-top:2px}
#cogoPrefsR1 .cp-toggle input{position:absolute;right:0;top:50%;transform:translateY(-50%);width:36px;height:24px;margin:0;opacity:0;cursor:pointer;z-index:1}
#cogoPrefsR1 .cp-toggle i{display:block;flex:none;width:36px;height:22px;border-radius:20px;background:#a3aec2;position:relative;transition:background .15s}
#cogoPrefsR1 .cp-toggle i:after{content:'';position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:3px;top:3px;transition:transform .15s}
#cogoPrefsR1 .cp-toggle input:checked+i{background:var(--cp-blue)}#cogoPrefsR1 .cp-toggle input:checked+i:after{transform:translateX(14px)}
#cogoPrefsR1 .cp-toggle input:focus-visible+i{outline:3px solid #8c9dff;outline-offset:3px}
#cogoPrefsR1 input:disabled+i,#cogoPrefsR1 button:disabled,#cogoPrefsR1 select:disabled,#cogoPrefsR1 input:disabled{opacity:.45;cursor:not-allowed}
#cogoPrefsR1 .cp-select{display:grid;gap:6px;margin:0 0 12px;font-size:.75rem;font-weight:650}
#cogoPrefsR1 select{width:100%;min-width:0;padding:8px 10px;min-height:37px;border:1px solid var(--line,#dce4f0);border-radius:9px;background:var(--surface,#fff);color:inherit;font-size:.6875rem;font-weight:400}
#cogoPrefsR1 .cp-volume{display:grid;grid-template-columns:1fr auto;gap:5px 8px;margin:5px 0 17px;font-size:.6875rem;color:var(--muted,#718098)}
#cogoPrefsR1 .cp-volume>span{grid-column:1/-1}#cogoPrefsR1 .cp-volume input{width:100%;height:18px;min-height:0;padding:0;margin:0;accent-color:var(--cp-blue)}#cogoPrefsR1 .cp-volume output{min-width:35px;text-align:right;font-variant-numeric:tabular-nums;color:inherit}
#cogoPrefsR1 .cp-secondary{padding:8px 12px;border:1px solid var(--line,#dfe5f0);border-radius:8px;background:var(--surface,#fff);color:var(--cp-blue);font-size:.6875rem}
#cogoPrefsR1 .cp-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line,#e0e5ef);padding-top:12px;margin-top:15px;color:var(--muted,#74829a);font-size:.625rem}
#cogoPrefsR1 .cp-bottom button{flex-shrink:0;border:0;background:transparent;color:var(--muted,#71809a);font-size:.6875rem;padding:5px 0}
#cogoPrefsR1 .cp-error{color:#cf4758}
#cogoPrefsR1 .cp-reset{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:10px;padding:10px;background:var(--bg,#f3f6fb);border-radius:9px;font-size:.6875rem}
#cogoPrefsR1 .cp-reset>div{display:flex;gap:6px;flex-shrink:0}#cogoPrefsR1 .cp-reset button{border:1px solid var(--line,#dce4ef);border-radius:6px;padding:5px 9px;background:var(--surface,#fff);color:inherit}
html body #modal.cp-modal .account-footer285{display:none}
html body #modal.cp-modal .account-hero285{min-height:82px;padding-top:10px;padding-bottom:10px}
html body #modal.cp-modal .account-avatar285{height:62px;width:46px}
html body #modal.cp-modal .account-hero285 h2{font-size:1.25rem}
html body #modal.cp-modal .account-body285{padding-top:14px;padding-bottom:14px}
html[data-theme=dark] #cogoPrefsR1{--cp-blue:#acb9ff;--surface:#243149;--bg:#152139;--line:#3a4964;--muted:#acbad1;color:#eef2ff}
@media(max-width:520px){#cogoPrefsR1 .cp-grid{grid-template-columns:1fr;gap:6px}#cogoPrefsR1 .cp-grid>div+div{border-left:0;border-top:1px solid var(--line,#e2e7f1);padding-left:0;padding-top:13px}#cogoPrefsR1 .cp-mini{height:37px}#cogoPrefsR1 .cp-mini b{top:6px}#cogoPrefsR1 .cp-mini s{height:10px;bottom:6px}#cogoPrefsR1 .cp-top{gap:6px}#cogoPrefsR1 .cp-top p{font-size:.625rem}#cogoPrefsR1 .cp-quiet{padding:7px;font-size:.625rem}html body .account-tabs301{padding-left:12px;padding-right:12px}html body .account-tabs301 button{flex:1;padding:10px 5px;font-size:.75rem}#cogoPrefsR1 .cp-reset{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){#cogoPrefsR1 button,#cogoPrefsR1 i,#cogoPrefsR1 i:after{transition:none!important}}

#cogoPrefsR1 .cp-toggle input{appearance:none!important;border:0!important;background:transparent!important;box-shadow:none!important}html[data-theme=dark] #modal.cp-modal .account-tabs301 button[aria-selected=true]{color:#acb9ff;border-color:#acb9ff}
html[data-contrast=high] #cogoPrefsR1{--muted:#324666}
html[data-theme=dark][data-contrast=high] #cogoPrefsR1{--muted:#d6e2f7}
@media(min-width:600px) and (max-height:820px){
html body #modal.cp-modal>.dialog-head{min-height:44px!important;padding:8px 18px!important}
html body #modal.cp-modal .account-hero285{min-height:72px!important;padding:8px 20px!important}
html body #modal.cp-modal .account-avatar285{height:50px!important;width:40px!important}
html body #modal.cp-modal .account-tabs301{padding-top:3px!important}
html body #modal.cp-modal .account-tabs301 button{padding-top:7px!important;padding-bottom:7px!important}
#cogoPrefsR1 .cp-top{margin-bottom:8px}#cogoPrefsR1 .cp-categories{margin-bottom:9px}
#cogoPrefsR1 .cp-mini{height:36px}#cogoPrefsR1 .cp-mini b{top:6px}#cogoPrefsR1 .cp-mini s{height:10px;bottom:6px}
#cogoPrefsR1 .cp-volume{margin-bottom:10px}#cogoPrefsR1 .cp-select{margin-bottom:9px}
}
