.settings-form{max-width:580px}.settings-form>.primary{justify-self:start}.reset-section{margin-top:45px;border-top:1px solid var(--line);padding-top:25px;max-width:700px}.reset-section p{color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0 18px}.apps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:22px}.apps-grid article{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:8px;padding:18px}.apps-grid article>div:nth-child(2){flex:1}.apps-grid h3{font-size:13px}.apps-grid p{font-size:11px;color:var(--muted);line-height:1.5;margin-top:5px}.app-monogram{width:38px;height:38px;border-radius:9px;background:var(--selection-bg);color:var(--link);display:grid;place-items:center;font-weight:600;flex:none}.apps-grid button{font-size:11px}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.preference-row small{display:block;color:var(--muted);margin-top:6px;font-size:11px}.preference-row input{width:18px;height:18px}.settings-panel .section-heading{padding:0}@media(max-width:1100px){.apps-grid{grid-template-columns:1fr}}@media(max-width:600px){.apps-grid article{flex-wrap:wrap}.apps-grid button{margin-left:51px}.settings-panel .section-heading{align-items:start}}
.appearance-settings{max-width:660px;padding:8px 0 20px}
.appearance-settings h2{font-size:18px}
.appearance-description{color:var(--muted);font-size:13px;line-height:1.7;margin:10px 0 28px;max-width:570px}
.theme-preference{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;border:1px solid var(--line);border-radius:8px;background:var(--paper);cursor:pointer}
.theme-preference strong{display:block;font-size:14px}
.theme-preference small{display:block;max-width:420px;margin-top:7px;font-size:12px;line-height:1.6}
.theme-switch{position:relative;display:block;flex:none;width:48px;height:44px}
.theme-switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:1;cursor:pointer}
.switch-track{display:block;position:absolute;top:9px;width:48px;height:26px;border:1px solid var(--control-border);border-radius:20px;background:var(--control-border)}
.switch-track::after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;background:#fff;border-radius:50%}
.theme-switch input:checked+.switch-track{background:var(--primary);border-color:var(--primary)}
.theme-switch input:checked+.switch-track::after{transform:translateX(22px)}
.theme-switch input:focus-visible+.switch-track{outline:3px solid var(--focus);outline-offset:4px}
.theme-current{margin-top:14px;font-size:12px;color:var(--muted)}
@media(forced-colors:active){.theme-switch input{opacity:1;appearance:auto}.switch-track{display:none}}

.density-preference{margin-top:24px}.density-preference select{width:auto;min-width:150px;margin:0}@media(max-width:600px){.density-preference{align-items:flex-start;flex-direction:column}}
.apps-grid .instantly-card{align-items:flex-start}.integration-content{min-width:0}.connection-status{display:inline-flex;align-items:center;gap:6px;margin-top:13px;padding:4px 8px;border-radius:20px;font-size:11px;font-weight:600;background:var(--selection-bg);color:var(--muted)}.connection-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.connection-online{background:var(--success-bg);color:var(--success-ink)}.connection-offline,.connection-error{background:var(--error-bg);color:var(--error-ink)}.connection-checking{color:var(--link)}.integration-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:13px}.integration-actions a{font-size:11px;color:var(--link)}.apps-grid .integration-actions button{margin-left:0}.apps-grid .connection-reason{font-size:12px;line-height:1.6;margin-top:9px}
.integration-status-line{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:11px}.integration-status-line .connection-status{margin-top:0}.webhook-address{margin-top:12px;font-size:11px;color:var(--muted)}.webhook-address summary{cursor:pointer}.webhook-address code{display:block;margin-top:8px;overflow-wrap:anywhere;font-size:10px;line-height:1.6}
