/* Account and preferences use the same surfaces and controls as menu browsing. */
#app.preferences-page{max-width:780px}
.preferences-page .you-heading{margin:8px 0 22px}
.preferences-page .you-heading h1{margin:0 0 6px;font-size:clamp(30px,5vw,38px);letter-spacing:-1px}
.preferences-page .you-heading p,.preferences-page .you-section-heading p,.preferences-page .you-setting p{margin:0;color:var(--muted);font-size:14px}
.you-layout{display:grid;gap:12px}
.preferences-page .you-card,.preferences-page .browser-account{min-width:0;margin:0;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:none}
.preferences-page .browser-account:empty{display:none}
.preferences-page .you-card h2,.preferences-page .browser-account h2{margin:0 0 12px;font-size:19px;letter-spacing:-.35px}
.preferences-page .browser-account .account-signin-trigger{min-height:44px;margin:0;padding:10px 16px;border:0;border-radius:12px;background:var(--green);color:var(--canvas);font-weight:700}
.you-section-heading{display:flex;align-items:center;gap:12px}
.preferences-page .you-section-heading h2{margin:0 0 3px}
.you-spot-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:var(--surface-soft);color:var(--green)}
.you-spot-icon svg{width:22px;height:22px}
.preferences-page .you-spot>p{margin:16px 0 10px;font-size:14px;color:var(--muted)}
.you-spot label{display:block;margin:12px 0 6px;font-weight:650;font-size:14px}
.you-spot select{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}
.you-setting{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.you-setting>div{min-width:0;max-width:100%}
.you-setting:last-child{padding-bottom:0}
.you-setting h3{font-size:15px;margin:0 0 3px}
.you-setting #appearance-slot{min-width:132px}
.preferences-page .you-setting .theme-control select{width:100%}
.you-setting .cookie-preferences-button{flex:none;min-height:44px;max-width:100%;white-space:normal}
.you-sources{padding:14px 4px;color:var(--text)}
.preferences-page .you-sources summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.you-sources summary::before{content:'▸';margin-right:8px;color:var(--green)}
.you-sources[open] summary::before{content:'▾'}
.you-sources p{font-size:14px;color:var(--muted)}
@media(min-width:800px){.you-layout{grid-template-columns:1fr 1fr}.you-settings,.you-sources,.you-layout>.preview-tools{grid-column:1/-1}}
@media(max-width:359px){.preferences-page .you-card,.preferences-page .browser-account{padding:16px}.you-setting{align-items:stretch;flex-direction:column}.you-setting #appearance-slot{width:100%}.you-setting .cookie-preferences-button{align-self:flex-start}}
