.settings-page{width:100%;max-width:72rem;color:var(--foreground);animation:none}.settings-account-dialog textarea.settings-input{resize:vertical;width:100%;min-height:6rem;line-height:1.55}.settings-heading,.settings-tabs{max-width:64rem}.settings-eyebrow{color:var(--primary);letter-spacing:.15em;text-transform:uppercase;font-size:.68rem;font-weight:700}.settings-heading h1{margin-top:.55rem}.settings-tabs{border-bottom:1px solid var(--border);scrollbar-width:thin;white-space:nowrap;gap:1.4rem;margin-top:2rem;display:flex;overflow-x:auto}.settings-tabs button{min-height:48px;color:var(--text-secondary);flex:none;font-size:.86rem;font-weight:600;position:relative}.settings-tabs button:hover,.settings-tabs button[aria-selected=true]{color:var(--primary)}.settings-tabs button[aria-selected=true]:after{background:var(--primary);content:"";border-radius:2px;height:2px;position:absolute;bottom:0;left:0;right:0}.settings-content{outline:none;width:100%;max-width:56rem;min-height:16rem;padding-top:2rem}.settings-stack{gap:2.25rem;padding-bottom:3rem;display:grid}.settings-group{min-width:0}.settings-group-head{padding:0 .75rem .85rem}.settings-group-head h2{font-family:var(--font-heading);letter-spacing:-.01em;font-size:1rem;font-weight:650}.settings-group-head p,.settings-row p{max-width:40rem;color:var(--text-secondary);margin-top:.28rem;font-size:.79rem;line-height:1.55}.settings-group-body{border-top:1px solid var(--border);min-width:0;padding-inline:.75rem}.settings-group-body>.settings-grid,.settings-group-body>.settings-profile-single,.settings-group-body>.settings-profile-habits,.settings-group-body>.settings-profile-choice-group,.settings-group-body>.settings-profile-choices,.settings-group-body>.settings-profile-choice-head,.settings-group-body>.settings-profile-empty,.settings-group-body>.settings-themes,.settings-group-body>.settings-plan{margin-top:1rem}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem;display:grid}.settings-field{min-width:0;color:var(--foreground);flex-direction:column;gap:.42rem;font-size:.76rem;font-weight:650;display:flex}.settings-field small{color:var(--text-secondary);font-weight:400;line-height:1.4}.settings-input{border:1px solid var(--border);background:var(--surface-overlay);width:100%;min-height:42px;color:var(--foreground);border-radius:.6rem;padding:.5rem .75rem;font-size:.84rem;font-weight:500}.settings-input:disabled{background:var(--surface-subtle);color:var(--text-secondary)}.settings-row-select{width:min(17rem,100%)}.settings-input:focus-visible,.settings-button:focus-visible,.settings-tabs button:focus-visible,.settings-toggle:focus-visible,.settings-theme:focus-visible,.settings-profile-choices button:focus-visible,.settings-text-danger:focus-visible,.settings-modal-close:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.settings-themes{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.settings-theme{border:1px solid var(--border);background:var(--surface-card);text-align:left;border-radius:.75rem;justify-items:start;gap:.65rem;padding:.7rem;font-size:.8rem;font-weight:650;display:grid}.settings-theme:hover{border-color:color-mix(in oklab, var(--foreground) 30%, var(--border))}.settings-theme[aria-checked=true]{border-color:var(--primary);background:var(--selected);color:var(--selected-foreground);box-shadow:0 0 0 1px var(--primary) inset}.settings-theme-art{background:#f6f6f5;border:1px solid #e2e3e3;border-radius:.4rem;gap:.5rem;width:100%;height:72px;padding:.55rem;display:flex}.settings-theme-art span:first-child{background:#e2e3e2;border-radius:.2rem;width:22%}.settings-theme-art span:last-child{background:#fff;border-radius:.2rem;flex:1}.settings-theme-dark{background:#17181a;border-color:#34363a}.settings-theme-dark span:first-child{background:#2c2e32}.settings-theme-dark span:last-child{background:#222428}.settings-theme-system{background:linear-gradient(90deg,#f6f6f5 50%,#17181a 50%)}.settings-save{flex-wrap:wrap;align-items:center;gap:.8rem;margin-top:1rem;display:flex}.settings-button{border:1px solid var(--border);background:var(--surface-overlay);min-height:40px;color:var(--foreground);white-space:nowrap;border-radius:.6rem;justify-content:center;align-items:center;gap:.35rem;padding:.5rem .9rem;font-size:.78rem;font-weight:700;display:inline-flex}.settings-button:hover:not(:disabled){border-color:color-mix(in oklab, var(--foreground) 34%, var(--border));background:var(--surface-subtle)}.settings-button:disabled{cursor:not-allowed;opacity:.48}.settings-button-primary{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground)}.settings-button-primary:hover:not(:disabled){border-color:var(--primary);background:var(--accent-hover);color:var(--primary-foreground)}.settings-feedback{color:var(--status-positive);align-items:center;gap:.4rem;font-size:.78rem;font-weight:650;display:inline-flex}.settings-profile-single{max-width:32rem}.settings-profile-habits{gap:1.35rem;display:grid}.settings-profile-choice-head{color:var(--foreground);justify-content:space-between;align-items:baseline;gap:1rem;font-size:.76rem;font-weight:650;display:flex}.settings-profile-choice-head span:last-child{color:var(--text-secondary);font-size:.7rem;font-weight:600}.settings-profile-choices{flex-wrap:wrap;gap:.5rem;margin-top:.7rem;display:flex}.settings-profile-choices button{border:1px solid var(--border);background:var(--surface-overlay);min-height:39px;color:var(--text-secondary);border-radius:999px;padding:.45rem .75rem;font-size:.74rem;font-weight:650;transition:border-color .18s,background .18s,color .18s}.settings-profile-choices button:hover:not(:disabled){border-color:color-mix(in oklab, var(--primary) 55%, var(--border));color:var(--primary)}.settings-profile-choices button[aria-pressed=true]{border-color:var(--primary);background:var(--selected);color:var(--selected-foreground);box-shadow:inset 0 0 0 1px var(--primary)}.settings-profile-choices button:disabled{cursor:not-allowed;opacity:.42}.settings-profile-save{margin-top:-.5rem;padding-bottom:1rem}.settings-profile-status{color:var(--text-secondary);font-size:.78rem;font-weight:600}.settings-profile-status-error{color:var(--status-negative)}.settings-profile-empty{border:1px solid var(--border);background:var(--surface-subtle);border-radius:.75rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1rem;display:grid}.settings-profile-empty>span{background:var(--selected);width:44px;height:44px;color:var(--selected-foreground);border-radius:.7rem;place-items:center;display:grid}.settings-profile-empty>span svg{width:20px;height:20px}.settings-profile-empty h3{font-size:.88rem;font-weight:650}.settings-profile-empty p{max-width:34rem;color:var(--text-secondary);margin-top:.25rem;font-size:.77rem;line-height:1.55}.settings-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(12rem,17rem);align-items:center;gap:clamp(1rem,3vw,2.5rem);min-height:68px;padding:.9rem 0;display:grid}.settings-row:last-child{border-bottom:0}.settings-row h3,.settings-integration h3{font-size:.84rem;font-weight:650}.settings-row-action{justify-content:flex-end;align-items:center;gap:.65rem;min-width:0;display:flex}.settings-row-action .settings-row-select{width:100%}.settings-toggle{background:var(--tint-strong);border-radius:20px;flex:none;width:42px;height:25px;transition:background .2s;position:relative}.settings-toggle[aria-checked=true]{background:var(--primary)}.settings-toggle span{background:var(--primary-foreground);width:19px;height:19px;box-shadow:0 1px 3px color-mix(in oklab, var(--foreground) 20%, transparent);border-radius:50%;transition:transform .2s;position:absolute;top:3px;left:3px}.settings-toggle[aria-checked=true] span{transform:translate(17px)}.settings-toggle:disabled{cursor:not-allowed;opacity:.56}.settings-channels{display:flex}.settings-choice-dialog,.settings-account-dialog{background:var(--surface-card);max-height:calc(100dvh - 2rem);overflow-y:auto}.settings-choice-dialog .settings-profile-choices{margin-top:.5rem}.settings-note{color:var(--text-secondary);margin-top:.8rem;font-size:.76rem;line-height:1.5}.settings-integration-list{display:grid}.settings-integration{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.9rem;min-height:78px;padding:.9rem 0;display:grid}.settings-integration:last-child{border-bottom:0}.settings-integration-featured{background:0 0}.settings-platform-icon{flex:none;place-items:center;width:42px;height:42px;display:grid}.settings-platform-icon svg{width:32px;height:32px}.settings-integration-info{min-width:0}.settings-integration-info p,.settings-integration-info small{color:var(--text-secondary);margin-top:.2rem;font-size:.75rem;line-height:1.4;display:block}.settings-priority{background:var(--selected);color:var(--selected-foreground);border-radius:999px;margin-left:.45rem;padding:.14rem .42rem;font-size:.64rem}.settings-integration-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;max-width:18rem;display:flex}.settings-status{background:var(--status-neutral-bg);color:var(--status-neutral);white-space:nowrap;border-radius:999px;padding:.3rem .6rem;font-size:.69rem;font-weight:700;display:inline-flex}.settings-status-connected{background:var(--status-positive-bg);color:var(--status-positive)}.settings-status-connection-expired{background:var(--status-warning-bg);color:var(--status-warning)}.settings-text-danger{color:var(--status-negative);border-radius:.3rem;font-size:.72rem;font-weight:650}.settings-danger .settings-group-head{border-left:2px solid var(--status-negative);padding-left:.8rem}.settings-danger .settings-group-body{border-top-color:color-mix(in oklab, var(--status-negative) 30%, var(--border))}.settings-danger h2{color:var(--status-negative)}.settings-button-danger-outline{border-color:color-mix(in oklab, var(--status-negative) 35%, var(--border));color:var(--status-negative)}.settings-button-danger-outline:hover:not(:disabled),.settings-button-danger-outline:active,.settings-button-danger-outline:focus-visible{border-color:var(--status-negative);background:var(--status-negative-bg);color:var(--status-negative)}.settings-button-danger{border-color:var(--status-negative);background:var(--status-negative);color:#fff}.settings-plan{border:1px solid var(--border);background:var(--surface-subtle);border-radius:.75rem;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem;display:flex}.settings-plan-label,.settings-mini-label{color:var(--text-secondary);font-size:.72rem;font-weight:600}.settings-plan h3{font-family:var(--font-heading);margin-top:.15rem;font-size:1.4rem;font-weight:600}.settings-plan p{color:var(--text-secondary);font-size:.78rem}.settings-modal-backdrop{z-index:90;background:var(--overlay);place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.settings-modal{border:1px solid var(--border);background:var(--surface-overlay);width:min(100%,420px);box-shadow:var(--shadow-raised);border-radius:1rem;padding:1.5rem;position:relative}.settings-modal h2{font-family:var(--font-heading);padding-right:1.5rem;font-size:1.1rem;font-weight:600}.settings-modal p{color:var(--text-secondary);margin-top:.6rem;font-size:.83rem;line-height:1.5}.settings-modal-close{color:var(--text-secondary);position:absolute;top:1rem;right:1rem}.settings-modal-actions{justify-content:flex-end;gap:.5rem;margin-top:1.3rem;display:flex}@media (width<=860px){.settings-page,.settings-content{max-width:100%}.settings-tabs{gap:1.1rem;margin-right:-1.25rem;padding-right:1.25rem}.settings-content{padding-top:1.6rem}.settings-stack{gap:1.8rem}.settings-grid{grid-template-columns:1fr}.settings-input,.settings-button{min-height:44px}.settings-row{grid-template-columns:1fr;align-items:stretch;gap:.75rem;padding:1rem 0}.settings-row:has(.settings-toggle){grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem}.settings-row-action{justify-content:flex-start;width:100%}.settings-row:has(.settings-toggle) .settings-row-action{width:auto}.settings-row-select{width:100%}.settings-integration{grid-template-columns:auto minmax(0,1fr);align-items:start}.settings-integration-actions{grid-column:2;justify-content:flex-start;width:100%;max-width:none}.settings-plan{flex-direction:column}.settings-profile-empty{grid-template-columns:auto minmax(0,1fr);align-items:start}.settings-profile-empty .settings-button{grid-column:1/-1;width:100%}}@media (width<=440px){.settings-themes{grid-template-columns:1fr}.settings-theme{grid-template-columns:minmax(0,1fr) auto;align-items:center}.settings-theme-art{height:52px}}@media (prefers-reduced-motion:reduce){.settings-toggle,.settings-toggle span,.settings-profile-choices button{transition:none}}.circuit-avatar{border-radius:999px;display:inline-flex;overflow:hidden}.circuit-avatar-fallback{background:#ebe5ee;width:100%;height:100%;padding:0;position:absolute;inset:0}.circuit-avatar-fallback svg{width:100%;height:100%;display:block}.circuit-avatar img{z-index:1;position:relative}.settings-avatar-editor{align-items:center;gap:1.25rem;padding:.75rem 0 1.5rem;display:flex}.settings-avatar-preview{border:2px solid var(--border);flex:none;width:5rem;height:5rem}.settings-avatar-actions{gap:.45rem;min-width:0;display:grid}.settings-avatar-actions>strong{font-size:.86rem;font-weight:650}.settings-avatar-actions>p{color:var(--text-secondary);font-size:.76rem;line-height:1.55}.settings-avatar-buttons{flex-wrap:wrap;gap:.55rem;margin-top:.3rem;display:flex}@media (width<=550px){.settings-avatar-editor{align-items:flex-start;gap:.85rem}.settings-avatar-preview{width:3.9rem;height:3.9rem}}.app-shell .settings-page{max-width:72rem;display:block}.app-shell .settings-heading{border:0;padding-bottom:0}.app-shell .settings-tabs{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:stretch;gap:clamp(1.2rem,2.4vw,2.5rem);margin-top:1rem;padding:0;display:flex;overflow:auto hidden}.app-shell .settings-tabs button{width:auto;min-height:46px;color:var(--text-secondary);text-align:left;white-space:nowrap;background:0 0;border-radius:0;flex:none;padding:.65rem .12rem;font-size:.83rem;font-weight:550}.app-shell .settings-tabs button[aria-selected=true]{color:var(--foreground);background:0 0;font-weight:700}.app-shell .settings-tabs button[aria-selected=true]:after{background:var(--primary);display:block}.app-shell .settings-content{grid-area:auto;max-width:65rem;padding-top:1.6rem}.settings-value{color:var(--text-secondary);text-align:right;overflow-wrap:anywhere;font-size:.8rem}@media (width<=700px){.app-shell .settings-tabs{gap:1.25rem}.settings-value{text-align:left}}
