/* Preferences: scoped to the settings scene, with optional account accents. */
body{--chroma-accent:#c4c8d4}
body[data-accent=violet]{--chroma-accent:#bba1ff}
body[data-accent=ocean]{--chroma-accent:#88bbff}
body[data-accent=mint]{--chroma-accent:#85dcb9}
body[data-accent=rose]{--chroma-accent:#f2a6bd}
body[data-motion=reduced] *,body[data-motion=reduced] *::before,body[data-motion=reduced] *::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
body[data-chat-density=compact] .community-main .community-message{padding-block:3px;gap:7px}
body[data-chat-density=compact] .community-main .social-log{gap:1px}
body[data-chat-density=compact] .community-message .social-avatar{width:26px;height:26px}
body[data-accent]:not([data-accent=neutral]) .sidebar-tab-indicator{background:var(--chroma-accent)}
body[data-accent]:not([data-accent=neutral]) .community-nav-item.active{color:var(--chroma-accent)}
.pref-shell{display:grid;grid-template-columns:minmax(190px,245px) minmax(0,1fr);height:100%;min-height:0;max-width:1440px;margin:auto;color:#f2f2f5;background:linear-gradient(135deg,#15151bc7,#0c0c10ab)}
.pref-sidebar{display:flex;flex-direction:column;min-height:0;padding:28px 16px 16px;border-right:1px solid #ffffff12;background:#0c0c10a8;overflow:auto;gap:20px}
.pref-side-head{padding:0 8px}.pref-eyebrow{font-size:9px;font-weight:700;letter-spacing:.18em;color:var(--chroma-accent)}
.pref-side-head h1{font-size:29px;font-weight:650;letter-spacing:-.055em;margin:7px 0 3px}.pref-side-head p{font-size:12px;color:#92929d}
.pref-search{display:flex;align-items:center;gap:8px;border:1px solid #ffffff1b;background:#ffffff08;border-radius:10px;padding:0 10px;min-height:40px}.pref-search svg{width:16px;flex-shrink:0;color:#94949f}.pref-search input{color:#eee;border:0;background:none;min-width:0;width:100%;outline:none;font:inherit;font-size:13px}.pref-search:focus-within{border-color:var(--chroma-accent)}
.pref-nav{display:grid;gap:4px}.pref-nav-item{display:flex;align-items:center;gap:11px;text-align:left;background:none;border:1px solid transparent;color:#a0a0ac;padding:10px;border-radius:10px;cursor:pointer;font:inherit;min-height:52px}.pref-nav-item svg{width:19px;flex-shrink:0}.pref-nav-item strong,.pref-nav-item small{display:block}.pref-nav-item strong{font-size:13px;font-weight:600}.pref-nav-item small{font-size:10px;color:#858591;margin-top:3px}.pref-nav-item:hover{background:#ffffff09}.pref-nav-item[aria-current=page]{background:color-mix(in srgb,var(--chroma-accent) 12%,transparent);border-color:#ffffff13;color:var(--chroma-accent)}
.pref-profile{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff13;padding:15px 7px 0;margin-top:auto;min-width:0}.pref-avatar{width:35px;height:35px;flex-shrink:0;display:grid;place-items:center;background:#ffffff12;border-radius:11px;color:var(--chroma-accent);font-weight:700}.pref-profile div{min-width:0}.pref-profile strong,.pref-profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pref-profile strong{font-size:13px}.pref-profile small{color:#9696a1;font-size:11px;text-transform:capitalize}
.pref-main{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:clamp(18px,3vw,42px);position:relative}.pref-panel{max-width:860px;margin:0 auto}.pref-status{max-width:860px;margin:0 auto 12px;color:#a7cdb6;font-size:12px;text-align:right;min-height:16px}.pref-status:empty{display:none}.pref-status.pref-warning{color:#e8bd8a}
.pref-page-head{display:flex;align-items:center;gap:14px;margin:0 0 30px}.pref-page-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;border:1px solid #ffffff18;background:#ffffff09;color:var(--chroma-accent);flex-shrink:0}.pref-page-icon svg{width:24px}.pref-page-head h2{font-size:clamp(24px,3vw,34px);font-weight:650;letter-spacing:-.045em}.pref-page-head p{color:#a4a4af;font-size:13px;margin-top:3px}
.pref-group{margin-bottom:26px}.pref-group-heading{margin:0 0 10px 2px}.pref-group-heading h3{font-size:15px;font-weight:600}.pref-group-heading p{color:#9696a2;font-size:12px;margin-top:4px;line-height:1.5}.pref-card{border:1px solid #ffffff16;border-radius:14px;background:#17171ed1;overflow:hidden}.pref-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 18px;min-width:0}.pref-row+.pref-row{border-top:1px solid #ffffff10}.pref-copy{flex:1;min-width:0}.pref-copy strong{font-weight:550;font-size:14px}.pref-copy p{font-size:12px;line-height:1.5;color:#a1a1ad;margin-top:4px;overflow-wrap:anywhere}
.pref-select,.pref-button{background:#ffffff0a;border:1px solid #ffffff22;border-radius:8px;color:#e6e6ed;font:inherit;font-size:12px;padding:9px 12px;max-width:100%;min-height:36px}.pref-select{min-width:145px;color-scheme:dark}.pref-select option{background:#19191e;color:white}.pref-button{cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.pref-button:hover{background:#ffffff16}.pref-button.danger{color:#ffb5b5;border-color:#ee777744}.pref-pill{border:1px solid #ffffff1e;background:#ffffff08;border-radius:20px;padding:5px 9px;font-size:11px;color:#b8b8c4;white-space:nowrap;text-transform:capitalize}.pref-pill.ready{color:#ace0be;border-color:#9bdda43b}
.pref-switch{flex-shrink:0;position:relative;width:44px;height:25px;display:inline-block;cursor:pointer}.pref-switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1;margin:0}.pref-track{position:absolute;inset:0;border:1px solid #ffffff22;border-radius:18px;background:#ffffff13;transition:background .18s}.pref-track::after{content:'';position:absolute;width:17px;height:17px;border-radius:50%;top:3px;left:3px;background:#b7b7c3;transition:transform .18s}.pref-switch input:checked+.pref-track{background:var(--chroma-accent)}.pref-switch input:checked+.pref-track::after{background:#16161d;transform:translateX(19px)}.pref-switch input:focus-visible+.pref-track{outline:2px solid white;outline-offset:3px}

.pref-swatches{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.pref-swatch{width:25px;height:25px;border-radius:50%;background:var(--swatch);border:2px solid #17171e;cursor:pointer}.pref-swatch[aria-pressed=true]{outline:2px solid var(--swatch);outline-offset:1px}.pref-provider-info{padding:15px 18px;color:#a1a1ad;font-size:12px;display:grid;gap:12px}.pref-provider-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.pref-provider-line strong{color:#ddd;font-weight:500}.pref-provider-info small{overflow-wrap:anywhere}.pref-search-section+.pref-search-section{border-top:1px solid #fff2;padding-top:25px}.pref-empty{padding:40px 0;text-align:center;color:#aaa}
@media(max-width:850px){.pref-shell{grid-template-columns:180px minmax(0,1fr)}.pref-sidebar{padding:20px 10px}.pref-main{padding:20px 14px}.pref-row{padding:15px 13px;gap:12px}}
@media(max-width:760px){.pref-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.pref-sidebar{gap:10px;overflow:hidden;border-right:0;border-bottom:1px solid #ffffff14;padding:12px}.pref-side-head{padding:0 2px}.pref-eyebrow{display:none}.pref-side-head h1{font-size:23px;margin:0}.pref-side-head p,.pref-profile,.pref-nav-item small{display:none}.pref-search{min-height:40px}.pref-nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:3px;scrollbar-width:none}.pref-nav-item{flex-shrink:0;min-height:40px;padding:7px 10px;gap:6px;white-space:nowrap}.pref-nav-item svg{width:15px}.pref-nav-item strong{font-size:12px}.pref-main{padding:16px 12px 24px}.pref-page-head{margin-bottom:22px}.pref-page-icon{width:38px;height:38px;border-radius:11px}.pref-page-icon svg{width:20px}.pref-row{flex-wrap:wrap;gap:12px}.pref-copy{flex-basis:65%}.pref-select{width:100%;min-height:42px}.pref-button{min-height:42px}.pref-switch{width:44px;min-height:25px}.pref-swatches{gap:8px}.pref-swatch{width:29px;height:29px}}

