.settings-screen{max-width:680px;margin:0 auto;padding:10px 16px 64px}.settings-home{position:relative}.settings-close{position:absolute;top:6px;right:0;z-index:1;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text)}[data-touch] .settings-close{width:52px;height:52px}.settings-identity{display:grid;justify-items:center;gap:10px;padding:24px 52px 4px;text-align:center}.settings-identity .relay-avatar{width:76px;height:76px;font-size:1.7rem}.settings-identity-name{margin:0;font-size:1.25rem;font-weight:650;overflow-wrap:anywhere}.settings-group{margin-top:26px}.settings-group[aria-busy=true]{opacity:.6;transition:opacity .2s}.settings-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px 16px}.settings-group-title{margin:0 0 8px 16px;font-size:.9rem;font-weight:650;line-height:1.4;color:var(--muted)}.settings-group-heading .settings-group-title{margin:0}.settings-group-heading.is-scoped{justify-content:flex-start;gap:10px}.settings-scope{position:relative;display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:72%;min-height:36px;padding:0 12px 0 14px;border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:.9rem;font-weight:650;transition:background .15s}.settings-scope:hover{background:color-mix(in srgb,var(--accent) 18%,var(--surface))}.settings-scope:has(.settings-scope-select:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.settings-scope:has(.settings-scope-select:disabled){opacity:.7}[data-touch] .settings-scope{min-height:44px}.settings-scope-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-scope-chevron{flex-shrink:0}.settings-scope-select{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;font-size:1rem;cursor:pointer}.settings-scope-select:disabled{cursor:progress}.settings-group-note{margin:8px 16px 0;font-size:.82rem;line-height:1.45;color:var(--muted)}.settings-block,.settings-rows{border:1px solid var(--border);border-radius:18px;background:var(--surface)}.settings-rows{overflow:hidden}.settings-rows:empty{display:none}.settings-block{padding:18px 16px}.settings-block>:first-child{margin-top:0}.settings-block>:last-child{margin-bottom:0}.settings-row{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:52px;margin:0;padding:10px 16px;border:0;border-radius:0;background:none;color:var(--text);font:inherit;font-size:1rem;line-height:1.35;text-align:left;text-decoration:none;cursor:pointer}.settings-row+.settings-row:before{content:"";position:absolute;top:0;right:0;left:50px;border-top:1px solid var(--border)}.settings-row:hover{background:color-mix(in srgb,var(--text) 4%,transparent)}.settings-screen .settings-rows .settings-row:active{opacity:1;background:color-mix(in srgb,var(--text) 9%,transparent)}.settings-row:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.settings-row.is-control{cursor:default}.settings-row.is-control:hover{background:none}.settings-row.is-control .settings-row-label{flex-shrink:0;white-space:nowrap}[data-touch] .settings-row{min-height:60px}.settings-row-icon{flex-shrink:0;color:currentColor}.settings-row-label{flex:1 1 auto;overflow-wrap:break-word}.settings-row-detail{display:block;margin-top:2px;color:var(--muted);font-size:.875rem;font-weight:400}.settings-row-value{flex:0 1 auto;min-width:0;max-width:55%;overflow:hidden;color:var(--muted);text-align:right;text-overflow:ellipsis;white-space:nowrap}.settings-row-chevron{flex-shrink:0;margin-right:-4px;color:var(--muted)}.settings-row.is-accent{color:var(--accent);font-weight:600}.settings-row.is-danger{color:#a23728;font-weight:600}[data-theme=dark] .settings-row.is-danger{color:#f2b8b5}.settings-row-select{-webkit-appearance:none;appearance:none;flex:0 1 auto;min-width:0;max-width:60%;min-height:44px;margin:-10px 0;padding:0 24px 0 8px;overflow:hidden;border:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2359675e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E") no-repeat 100% /16px 16px;color:var(--muted);font:inherit;font-size:1rem;text-align:right;text-align-last:right;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}[data-theme=dark] .settings-row-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b5c1b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E")}[data-touch] .settings-row-select{min-height:52px}.settings-row-select:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}.settings-row-select option{color:var(--text)}.settings-switch{-webkit-appearance:none;appearance:none;position:relative;flex-shrink:0;width:51px;height:31px;margin:0;border-radius:999px;background:var(--border);cursor:pointer;transition:background .2s}.settings-switch:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgb(0 0 0/.25);transition:transform .2s}.settings-switch:checked{background:var(--accent)}.settings-switch:checked:after{transform:translateX(20px)}.settings-switch:focus-visible{outline:2px solid var(--accent);outline-offset:3px}:root:has(.settings-page){overflow:hidden}.settings-page{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:var(--canvas)}.settings-page-bar{flex-shrink:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:calc(52px + env(safe-area-inset-top, 0px));padding:env(safe-area-inset-top,0) max(8px,env(safe-area-inset-right,0px)) 0 max(4px,env(safe-area-inset-left,0px));border-bottom:1px solid var(--border);background:var(--canvas)}.settings-page-bar h1{grid-column:2;font-family:inherit;letter-spacing:normal;max-width:58vw;margin:0;overflow:hidden;font-size:1.05rem;font-weight:650;line-height:1.3;text-align:center;text-overflow:ellipsis;white-space:nowrap}.settings-page-bar h1:focus{outline:none}.settings-back{grid-column:1;grid-row:1;justify-self:start;display:inline-flex;align-items:center;gap:0;min-height:44px;padding:0 8px 0 0;border:0;background:none;color:var(--accent);font:inherit;font-size:1rem;cursor:pointer}[data-touch] .settings-back{min-height:52px}.settings-back:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}.settings-page-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 max(16px,env(safe-area-inset-right,0px)) calc(48px + env(safe-area-inset-bottom, 0px)) max(16px,env(safe-area-inset-left,0px))}.settings-page-content{max-width:680px;margin:0 auto}.settings-page-content>:first-child{margin-top:26px}.settings-page .section-stack{display:block}.settings-page .household-choices{margin:22px 0 0}.settings-alert,.settings-status{margin:16px 0 0;padding:12px 16px;border-radius:12px;font-size:.88rem;overflow-wrap:anywhere}.settings-alert{background:#f9e9e4;color:#a23728}[data-theme=dark] .settings-alert{background:#3a2622;color:#f2b8b5}.settings-status{background:var(--accent-soft);color:var(--accent)}.settings-screen>.settings-home>.notice{margin:18px 0 0}.settings-export{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.settings-export>p{flex:1 1 180px;margin:0;overflow-wrap:anywhere}.settings-export .account-circle-note{flex-basis:100%;margin:0}@media (prefers-reduced-motion:no-preference){.settings-page.is-entering{animation:settings-push .42s cubic-bezier(.32,.72,0,1) both}.settings-page.is-leaving{animation:settings-pop .3s cubic-bezier(.32,.72,0,1) both}.settings-home.is-covered{animation:settings-under .42s cubic-bezier(.32,.72,0,1) both}.settings-home.is-returning{animation:settings-return .3s cubic-bezier(.32,.72,0,1) both}}@keyframes settings-push{0%{transform:translateX(100%);box-shadow:-10px 0 30px rgb(0 0 0/.08)}to{transform:none;box-shadow:none}}@keyframes settings-pop{0%{transform:none}to{transform:translateX(100%)}}@keyframes settings-under{to{transform:translateX(-28%)}}@keyframes settings-return{0%{transform:translateX(-28%)}to{transform:none}}.account-delete-effects{margin:16px 0 0;padding:14px 16px 14px 34px;border-radius:12px;background:var(--canvas);font-size:.9rem;line-height:1.55;list-style:disc}.account-delete-effects li::marker{color:var(--muted)}.account-delete-effects li+li{margin-top:8px}.account-delete-effects a{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:3px}.account-delete-closing{margin-top:16px}.account-delete-closing h3{margin:0 0 4px;font-size:.95rem}.account-delete-closing .account-delete-effects{margin-top:10px;overflow-wrap:anywhere}.account-delete-step{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.account-delete-step h3{margin:0 0 4px;font-size:.95rem}.account-delete-successor{margin-top:14px}.account-delete-error{margin:0 0 14px;color:var(--rose)}.reminders-screen{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:24px}.reminders-screen .page-heading{margin:0}.reminder-agenda-link,.reminder-delivery a{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-size:.85rem;min-height:44px}.reminders-screen .relay-card{min-width:0}.reminders-screen h2{font:400 1.4rem/1.35 Georgia,serif}.reminders-screen .section-body p{line-height:1.7;font-size:.86rem}.reminder-recipient{display:flex;gap:8px;align-items:center;font-weight:600}.reminder-recipient svg{color:var(--accent)}.reminder-footnote,.reminder-note,.reminder-plan-dates{color:var(--muted);font-size:.8rem;line-height:1.7}.reminder-status{display:grid;gap:16px;margin:24px 0}.reminder-status>div{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:16px;font-size:.81rem;line-height:1.6}.reminder-status dt{color:var(--muted)}.reminder-status dd{margin:0;overflow-wrap:anywhere}.reminder-status small{display:block;margin-top:4px;color:var(--muted)}.reminder-plans ul{list-style:none;padding:0;margin:0}.reminder-plans li{padding:20px 0}.reminder-plans li+li{border-top:1px solid var(--border)}.reminder-plans li:last-child{padding-bottom:0}.reminder-plan-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 16px}.reminder-plan-heading h3{font-size:.95rem;margin:0;overflow-wrap:anywhere}.reminder-plan-heading>span{color:var(--muted);font-size:.73rem;border:1px solid var(--border);padding:4px 8px;border-radius:5px}.reminder-plans li>p{margin:8px 0}.reminder-plans li>small{font-size:.72rem;color:var(--muted)}.reminder-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}.reminder-editor form{display:grid;gap:20px}.reminder-editor .relay-field,.reminder-editor p{margin:0}.reminder-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reminder-editor fieldset{border:0;margin:0;padding:0;min-width:0}.reminder-editor legend{margin-bottom:12px;font-size:.82rem;font-weight:600}.reminder-weekdays>div{display:flex;gap:6px;flex-wrap:wrap}.reminder-weekdays label{position:relative;cursor:pointer}.reminder-weekdays input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.reminder-weekdays span{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--border);border-radius:8px;font-size:.8rem}.reminder-weekdays input:checked+span{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.reminder-weekdays input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.reminder-weekdays .relay-button{margin-top:8px}.reminder-times>div{display:flex;gap:8px;margin-bottom:8px;max-width:250px}.reminder-preview,.reminder-source{padding:16px;background:var(--canvas);border-radius:10px}.reminder-source small,.reminder-source strong{font-size:.78rem}.reminder-source p{white-space:pre-line;margin:8px 0!important}.reminder-source small{color:var(--muted);line-height:1.6}.reminder-preview{display:grid;gap:16px}.reminder-preview h3{margin:0;font-size:.9rem}.reminder-preview ol{margin:0;padding-left:20px;font-size:.83rem;line-height:1.9}.reminder-warning{border-left:3px solid var(--amber);padding-left:12px;font-size:.8rem;line-height:1.7}.reminder-error{color:var(--text);background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--rose);padding:16px;border-radius:8px;font-size:.85rem;line-height:1.7}.reminder-footnote{margin:0}.reminder-inbox{padding:16px;border-bottom:1px solid var(--border)}.reminder-inbox h2,.reminder-inbox h3{font-size:.85rem;margin:0 0 12px}.reminder-inbox ul{list-style:none;margin:0;padding:0}.reminder-inbox li{display:flex;gap:8px;align-items:center;padding:12px 0}.reminder-inbox li+li{border-top:1px solid var(--border)}.reminder-inbox li>a{min-width:0;flex:1;display:grid;gap:5px;font-size:.83rem;color:var(--text);overflow-wrap:anywhere}.reminder-taken{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:.78rem;font-weight:600}.reminder-inbox .reminder-given-today{padding-left:8px;border-left:3px solid var(--amber);font-size:.75rem;color:var(--text)}.reminder-inbox li>a span,.reminder-inbox time{font-size:.73rem;color:var(--muted)}@media (max-width:600px){.reminders-screen .page-heading{flex-wrap:wrap;gap:12px}.reminders-screen .page-heading>div{min-width:0}.reminders-screen .relay-button{white-space:normal}.reminders-screen{gap:16px}.reminder-fields,.reminder-status>div{grid-template-columns:1fr}.reminder-status>div{gap:4px}.reminder-plans .section-heading-row{flex-wrap:wrap}.reminder-plans .section-heading-row>.relay-button{order:3}}.notification-bell{position:relative;overflow:visible}.relay-modal:has(.notification-inbox){width:min(620px,calc(100vw - 24px))}.notification-inbox{margin-top:20px}.notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--border);padding-bottom:12px}.notification-toolbar>span{font-size:.76rem;color:var(--muted)}.notification-toolbar>div{display:flex;gap:4px}.notification-toolbar .relay-button{font-size:.72rem}.notification-list{list-style:none;padding:0;margin:0 -10px}.notification-list li{border-bottom:1px solid var(--border)}.notification-list .unread{background:var(--accent-soft)}.notification-household{margin:0;padding:14px 10px 6px;background:var(--surface);color:var(--muted);font-size:.67rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em}.notification-item{display:flex;align-items:flex-start;gap:12px;width:100%;padding:16px 10px;border:0;color:var(--text);background:none;text-align:left;border-radius:8px}.notification-item:hover{background:var(--accent-soft)}.notification-copy{flex:1;min-width:0}.notification-kind{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--accent);font-size:.67rem;margin-bottom:5px}.notification-copy>strong{display:block;font-size:.81rem;line-height:1.5;overflow-wrap:anywhere}.notification-copy>small{display:block;color:var(--muted);font-size:.65rem;margin-top:6px}.notification-unread-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;margin-top:25px;flex-shrink:0}.notification-read-check{color:var(--muted);margin-top:20px;flex-shrink:0}.notification-empty{text-align:center;padding:42px 16px;color:var(--muted)}.notification-empty>span{display:inline-flex;padding:14px;border-radius:50%;color:var(--accent);background:var(--accent-soft);margin-bottom:16px}.notification-empty p{font-size:.8rem;line-height:1.6}.notification-footer{border-top:1px solid var(--border);margin-top:16px;padding-top:16px;display:flex;flex-direction:column;gap:8px}.notification-footer a{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:.77rem;font-weight:600}.notification-error{color:#953c32;background:#fff0ec;border-radius:9px;padding:11px;font-size:.76rem}.notification-live{position:fixed;top:calc(env(safe-area-inset-top, 0px) + 88px);right:20px;z-index:65;display:flex;align-items:flex-start;gap:10px;width:min(340px,calc(100vw - 24px));padding:10px 6px 10px 12px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface) 90%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:var(--text);box-shadow:0 8px 24px #152b241f;animation:relay-live-in .22s ease-out both}@keyframes relay-live-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.notification-live-icon{display:inline-flex;flex-shrink:0;padding-top:2px;color:var(--accent)}.notification-live>div{min-width:0;flex:1}.notification-live small{display:block;font-size:.66rem;color:var(--muted);margin-bottom:2px}.notification-live strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.8rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.notification-live .relay-button-small{padding:4px 0 0;min-height:26px;font-size:.72rem}.notification-live>.relay-button{flex-shrink:0;width:30px;height:30px;min-height:30px}@media (prefers-reduced-motion:reduce){.notification-live{animation:none}}.conversation-preferences-title{display:flex;align-items:flex-start;gap:13px;margin-bottom:25px}.conversation-preferences-title>span{display:flex;padding:11px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}.conversation-preferences-title>div{flex:1;min-width:0}.conversation-preferences-title:has(+[hidden]){margin-bottom:0}.conversation-preferences-title h2{margin:1px 0 7px}.conversation-preferences-title p{font-size:.8rem;color:var(--muted);margin:0}.conversation-preferences fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}.conversation-preferences legend{font-size:.67rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:10px}.conversation-setting-row{display:flex;align-items:center;gap:13px;min-height:68px;padding:14px 0;border-bottom:1px solid var(--border);cursor:pointer}.conversation-setting-row>svg{color:var(--muted);flex-shrink:0}.conversation-setting-row>span{flex:1}.conversation-setting-row strong{display:block;font-size:.83rem;font-weight:600}.conversation-setting-row small{display:block;font-size:.72rem;line-height:1.5;color:var(--muted);margin-top:5px}.conversation-setting-row input{width:19px;height:19px;flex-shrink:0;accent-color:var(--accent);margin-left:8px}.conversation-preference-scope{font-size:.72rem;line-height:1.6;color:var(--muted);margin:0 0 18px}@media (max-width:767px){.notification-live{top:calc(env(safe-area-inset-top, 0px) + 74px);right:calc(12px + var(--duo-inset-right, 0px));left:calc(12px + var(--duo-inset-left, 0px));width:auto}.notification-toolbar{align-items:flex-start}.notification-toolbar>span{padding-top:9px}.notification-toolbar .relay-button{font-size:.65rem;padding:8px}.notification-copy>strong{font-size:.8rem}.notification-item{gap:8px}.conversation-setting-row{gap:10px}.conversation-setting-row strong{font-size:.79rem}}