.dashboard-page{--dashboard-panel:var(--glass-panel,var(--surface-raised));--dashboard-control:var(--glass-control,var(--surface-raised));--dashboard-edge:var(--glass-edge,var(--line));width:100%;min-width:0;max-width:1120px;color:var(--text);margin:0 auto}.dashboard-header{align-items:center;gap:16px;display:flex}.dashboard-header>div,.dashboard-pending-copy{min-width:0}.dashboard-icon{flex:none;width:44px;height:44px;display:block}.dashboard-eyebrow{color:var(--muted);margin:0 0 4px}.dashboard-header h1,.dashboard-card h2{margin:0}.dashboard-slogan{color:var(--text);margin:8px 0 0}.dashboard-intro{color:var(--muted);margin:4px 0 24px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.dashboard-card{border:1px solid var(--dashboard-edge);background:var(--dashboard-panel);min-width:0;box-shadow:var(--glass-shadow,none);border-radius:20px;flex-direction:column;align-items:flex-start;padding:24px;display:flex}.dashboard-card-header{flex-wrap:wrap;align-items:center;gap:8px 16px;width:100%;display:flex}.dashboard-status{border:1px solid var(--selected-border,var(--line));background:var(--dashboard-control);border-radius:8px;max-width:100%;margin:0;padding:4px 8px}.dashboard-description{color:var(--muted);margin:8px 0 16px}.dashboard-metrics{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(min(100%,96px),1fr));gap:16px;width:100%;margin:0 0 24px;padding:16px 0;display:grid}.dashboard-metrics>div{min-width:0}.dashboard-metrics dt{color:var(--muted)}.dashboard-metrics dd{margin:8px 0 0}.dashboard-save-note{margin:0 0 16px}.dashboard-action{border:1px solid var(--line);background:var(--dashboard-control);max-width:100%;min-height:44px;color:var(--text);overflow-wrap:anywhere;border-radius:12px;justify-content:center;align-items:center;gap:12px;margin-top:auto;padding:12px 16px;text-decoration:none;display:inline-flex}.dashboard-action>span{flex-shrink:0}.dashboard-action-primary{background:var(--accent);color:var(--accent-text)}.dashboard-action:hover{border-color:var(--muted)}.dashboard-action:focus-visible{outline:3px solid var(--text);outline-offset:4px}.dashboard-pending-card{flex-flow:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px}.dashboard-pending-card .dashboard-action{margin-top:0}.dashboard-pending-status{color:var(--muted);margin:8px 0 0}.dashboard-pending-card .dashboard-description{margin-bottom:0}.dashboard-storage-note{color:var(--muted);margin:24px 0 0}@media (max-width:760px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-card{padding:16px}.dashboard-action{width:100%}}.jeff-page{min-width:0;color:var(--text)}.jeff-page :is(h1,h2,h3,h4){margin:0}.jeff-header,.jeff-section-heading,.jeff-connection,.jeff-actions,.jeff-footer{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.jeff-header,.jeff-section-heading,.jeff-footer{justify-content:space-between}.jeff-header>div,.jeff-section-heading>*,.jeff-footer>*,.jeff-activity-grid>section{min-width:0}.jeff-eyebrow{color:var(--muted);margin:0 0 8px}.jeff-intro{color:var(--muted);margin:8px 0 0}.jeff-muted{color:var(--muted)}.jeff-last-seen{color:var(--muted);margin:16px 0 0}.jeff-panel,.jeff-scope,.jeff-notice{border:1px solid var(--glass-edge,var(--line));background:var(--glass-panel,var(--surface-raised));box-shadow:var(--glass-shadow,none);border-radius:20px;padding:24px}.jeff-panel{min-width:0}.jeff-panel[hidden]{display:none}.jeff-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.jeff-work-grid>#jeff-panel-activity{grid-column:1/-1}.jeff-tabs[hidden]{display:none}.jeff-pairing{max-width:640px;margin-top:24px}.jeff-pairing form{gap:16px;display:grid}.jeff-pairing button[type=submit]{justify-self:start}.jeff-scope{flex-wrap:wrap;gap:8px 16px;margin:24px 0 16px;padding:16px;display:flex}.jeff-notice{border-color:var(--selected-border,var(--line));margin:16px 0;padding:16px}.jeff-worker-notice{border:1px solid var(--line);background:var(--glass-control,var(--surface));border-radius:12px;gap:6px;margin-top:16px;padding:16px;display:grid}.jeff-worker-notice[data-online=false]{border-color:var(--selected-border,var(--line))}.jeff-notice ul{margin-bottom:0;padding-left:20px}.jeff-status{border:1px solid var(--line);background:var(--glass-control,var(--surface));border-radius:8px;max-width:100%;padding:4px 8px;display:inline-flex}.jeff-status[data-state=connected]{border-color:var(--muted)}.jeff-status:is([data-state=stale],[data-state=offline]){border-color:var(--selected-border,var(--line))}.jeff-tabs{border:1px solid var(--line);background:var(--glass-panel,var(--surface-raised));border-radius:16px;gap:4px;width:-moz-fit-content;width:fit-content;max-width:100%;margin-bottom:16px;padding:4px;display:flex}.jeff-tabs button{min-height:44px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:12px;padding:8px 16px}.jeff-tabs button[aria-selected=true]{color:var(--text);border-color:var(--line);background:var(--glass-control,var(--surface))}.jeff-button{border:1px solid var(--line);background:var(--glass-control,var(--surface-raised));max-width:100%;min-height:44px;color:var(--text);overflow-wrap:anywhere;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:8px 16px;text-decoration:none;display:inline-flex}.jeff-button:hover:not(:disabled){border-color:var(--muted)}.jeff-button:disabled{cursor:not-allowed}.jeff-primary{color:var(--accent-text);background:var(--accent)}.jeff-page :is(button,a,summary,input,textarea):focus-visible{outline:3px solid var(--text);outline-offset:4px}.jeff-field{gap:8px;min-width:0;display:grid}.jeff-field :is(input,textarea){width:100%;min-width:0;min-height:44px;color:var(--text);background:var(--glass-control,var(--surface));border:1px solid var(--line);border-radius:12px;padding:12px}.jeff-field textarea{resize:vertical}.jeff-current-task,.jeff-empty{margin-top:16px}.jeff-empty{background:var(--glass-control,var(--surface));border:1px solid var(--line);border-radius:12px;padding:16px}.jeff-empty p{margin-bottom:0}.jeff-current-task>p:first-child{margin:0 0 8px}.jeff-metrics{border-block:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0;padding:16px 0;display:grid}.jeff-metrics dt{color:var(--muted)}.jeff-metrics dd{margin:8px 0 0}.jeff-task-list,.jeff-result-list,.jeff-event-list,.jeff-file-list{margin:16px 0 0;padding:0;list-style:none}.jeff-task-list{gap:16px;display:grid}.jeff-task-card{border:1px solid var(--line);background:var(--glass-control,var(--surface));border-radius:16px;min-width:0;padding:16px}.jeff-task-title{flex-wrap:wrap;align-items:baseline;gap:8px 12px;display:flex}.jeff-task-title h3{flex:1;min-width:0}.jeff-task-card .jeff-actions,.jeff-run-controls{margin-top:16px}.jeff-detail{border:1px solid var(--line);border-radius:12px;min-width:0;margin:16px 0;padding:0 12px}.jeff-detail summary{cursor:pointer;min-height:44px;padding:12px 0}.jeff-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border-radius:8px;max-width:100%;max-height:440px;padding:12px;overflow:auto}.jeff-preserve-lines{white-space:pre-wrap}.jeff-activity-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;margin-top:24px;display:grid}.jeff-result-list{gap:8px;display:grid}.jeff-result-button{border:1px solid var(--line);background:var(--glass-control,var(--surface));text-align:left;border-radius:12px;gap:4px;width:100%;min-height:44px;padding:12px;display:grid}.jeff-result-button[aria-pressed=true]{border-color:var(--selected-border,var(--text));background:var(--selected-surface,var(--surface))}.jeff-result{margin-top:24px}.jeff-evidence{min-width:0}.jeff-file-list li{border-bottom:1px solid var(--line);gap:4px;padding:8px 0;display:grid}.jeff-evidence>div{margin-top:24px}.jeff-event-list li{border-left:1px solid var(--line);padding:0 0 16px 16px}.jeff-event-list p{margin:8px 0 0}.jeff-footer{margin-top:24px}.jeff-footer p{flex:260px;margin:0}.jeff-dialog{width:min(640px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);background:var(--glass-dialog,var(--surface-raised));border:1px solid var(--glass-edge,var(--line));box-shadow:var(--glass-dialog-shadow,none);border-radius:20px;padding:0}.jeff-dialog::backdrop{background:#0c16235c}.jeff-dialog header,.jeff-dialog footer{padding:24px}.jeff-dialog header{border-bottom:1px solid var(--line)}.jeff-dialog footer{border-top:1px solid var(--line);justify-content:flex-end}.jeff-editor-body{gap:16px;padding:24px;display:grid}.jeff-editor-body p{margin:0}@media (max-width:1023px){.jeff-work-grid,.jeff-activity-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:900px){.jeff-dialog{background:var(--surface-raised);border:0;border-radius:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;position:fixed;inset:0}.jeff-dialog form{flex-direction:column;min-height:100%;display:flex}.jeff-dialog header{padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left))}.jeff-editor-body{padding:16px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));flex:1}.jeff-dialog footer{padding:16px max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left))}}@media (max-width:760px){.jeff-panel{padding:16px}.jeff-header{align-items:flex-start}.jeff-tabs{width:100%}.jeff-tabs button{flex:1;padding-inline:8px}.jeff-task-title h3{flex-basis:calc(100% - 32px)}}.welcome-page{width:100%;min-width:0;max-width:1240px;color:var(--text);margin:0 auto}.welcome-hero{border:1px solid var(--line);background:var(--surface-raised);border-radius:24px;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);align-items:center;gap:24px;min-height:auto;padding:32px;display:grid}.welcome-hero-copy,.welcome-section-heading>div,.welcome-guide-step-content,.welcome-guide-tip>div{min-width:0}.welcome-eyebrow{color:var(--muted);align-items:center;gap:8px;margin:0 0 16px;display:flex}.welcome-eyebrow-mark{background:var(--accent);border-radius:50%;flex-shrink:0;width:7px;height:7px}.welcome-title{margin:0}.welcome-hero-description{color:var(--muted);margin:8px 0 16px}.welcome-primary-button{background:var(--accent);max-width:100%;min-height:44px;color:var(--accent-text);cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:16px;padding:12px 16px;transition:box-shadow .16s;display:inline-flex}.welcome-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.welcome-primary-button>span,.welcome-feature-label>span:first-child{min-width:0}.welcome-primary-button>svg,.welcome-feature-label>span[aria-hidden]{flex-shrink:0}.welcome-primary-button:hover{box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent)}.welcome-guide-link{max-width:100%;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;margin-top:16px;padding:8px 0;display:block}.welcome-guide-link span{margin-left:8px}.welcome-primary-button:focus-visible{outline:2px solid var(--text);outline-offset:4px}.welcome-brand-art{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:0;display:flex}.welcome-brand-ball{width:280px;max-width:100%;height:auto;display:block}.welcome-brand-caption{color:var(--muted);text-align:center}.welcome-foundation{margin-top:24px}.welcome-section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px;display:flex}.welcome-kicker{color:var(--muted);margin:0 0 8px}.welcome-section-heading h2{margin:0}.welcome-section-heading>p{color:var(--muted);margin:0}.welcome-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.welcome-feature-card{border:1px solid var(--line);background:var(--surface-raised);border-radius:16px;flex-direction:column;min-width:0;padding:24px;display:flex}.welcome-feature-top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.welcome-feature-icon{border:1px solid var(--line);background:var(--surface);border-radius:11px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.welcome-feature-number{color:var(--muted)}.welcome-feature-card h3{margin:0}.welcome-feature-card>p{color:var(--muted);margin:8px 0 16px}.welcome-feature-label{border:1px solid var(--line);max-width:100%;min-height:44px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:5px;justify-content:center;align-self:flex-start;align-items:center;gap:8px;margin-top:auto;padding:8px 12px;display:inline-flex}.welcome-feature-label:hover{border-color:var(--muted)}.welcome-footnote{color:var(--muted);text-align:center;margin:24px 0 0}.welcome-guide-page{max-width:880px}.welcome-guide-header{margin-bottom:24px;padding-top:16px}.welcome-guide-title{margin:0}.welcome-guide-header>p:last-child{color:var(--muted);margin:8px 0 0}.welcome-guide-steps{gap:16px;margin:0;padding:0;list-style:none;display:grid}.welcome-guide-step{border:1px solid var(--line);background:var(--surface-raised);border-radius:16px;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:16px;padding:24px;display:grid}.welcome-guide-number{background:var(--accent);width:40px;height:40px;color:var(--accent-text);border-radius:50%;justify-content:center;align-items:center;display:flex}.welcome-guide-step-content h2{margin:0}.welcome-guide-description{max-width:610px;color:var(--muted);margin:8px 0 16px}.welcome-command-panel{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:16px}.welcome-command-label{color:var(--muted);margin-bottom:8px;display:block}.welcome-command-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.welcome-guide-note{color:var(--muted);margin:16px 0 0}.welcome-guide-tip{border:1px solid var(--line);border-radius:13px;align-items:flex-start;gap:16px;margin:24px 0 0;padding:24px;display:flex}.welcome-tip-marker{border:1px solid var(--muted);width:20px;height:20px;color:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.welcome-guide-tip h2{margin:0}.welcome-guide-tip p{color:var(--muted);margin:8px 0 0}@media (max-width:1000px){.welcome-hero{grid-template-columns:minmax(0,1.15fr) minmax(180px,.85fr);gap:16px}.welcome-feature-card{padding:16px}}@media (max-width:760px){.welcome-hero{border-radius:19px;grid-template-columns:minmax(0,1fr);gap:24px;padding:24px}.welcome-brand-ball{width:210px}.welcome-section-heading{display:block}.welcome-section-heading>p{margin-top:8px}.welcome-feature-grid{grid-template-columns:minmax(0,1fr)}.welcome-feature-card{padding:24px}.welcome-guide-header{padding-top:0}.welcome-guide-step{grid-template-columns:minmax(0,1fr);padding:24px}.welcome-guide-tip{padding:16px}}@media (prefers-reduced-motion:reduce){.welcome-primary-button{transition:none}}.rescue-page{width:100%;max-width:1240px;color:var(--text);overflow-wrap:anywhere;margin:0 auto}.rescue-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;display:flex}.rescue-header>div{min-width:0}.rescue-header>.rescue-button{flex-shrink:0}.rescue-eyebrow,.rescue-kicker{color:var(--muted);margin:0 0 8px}.rescue-header h1{margin:0}.rescue-intro{color:var(--muted);overflow-wrap:anywhere;margin:8px 0 0}.rescue-button{border:1px solid var(--line);background:var(--surface-raised);min-height:44px;color:var(--text);white-space:normal;overflow-wrap:anywhere;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:12px;padding:12px 16px;display:inline-flex}.rescue-button-primary{background:var(--accent);color:var(--accent-text);border-color:#0000}.rescue-page button:disabled{cursor:not-allowed;opacity:.45}.rescue-page button:focus-visible,.rescue-page input:focus-visible,.rescue-page textarea:focus-visible{outline:2px solid var(--text);outline-offset:3px}.rescue-toolbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin:24px 0;padding:16px 0;display:flex}.rescue-save-status{color:var(--muted);align-items:center;gap:8px;display:inline-flex}.rescue-save-status>span{background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px}.rescue-status-unsaved,.rescue-status-conflict,.rescue-status-blocked{color:var(--text)}.rescue-backup-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.rescue-text-button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:8px 0}.rescue-text-button:hover{color:var(--text);text-underline-offset:4px;text-decoration:underline}.rescue-notice{border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--surface-raised);border-radius:10px;margin:0 0 24px;padding:16px}.rescue-notice p{overflow-wrap:anywhere;margin:0}.rescue-notice p+p{color:var(--muted);margin-top:4px}.rescue-notice .rescue-orphan-text{border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);border-radius:6px;margin-top:12px;padding:12px}.rescue-notice-actions{flex-wrap:wrap;gap:12px;display:flex}.rescue-notice-actions:not(:empty){margin-top:12px}.rescue-notice-actions button,.rescue-detail-actions button{color:var(--text);text-underline-offset:4px;cursor:pointer;background:0 0;border:0;padding:8px 0;text-decoration:underline}.rescue-empty{border:1px solid var(--line);background:var(--surface-raised);text-align:center;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;min-height:384px;padding:44px 28px;display:flex}.rescue-empty-symbol{border:1px solid var(--line);background:var(--surface);border-radius:20px;justify-content:center;align-items:center;width:68px;height:68px;margin-bottom:24px;display:inline-flex}.rescue-empty .rescue-kicker{margin-bottom:8px}.rescue-empty h2{overflow-wrap:anywhere;margin:0}.rescue-empty>p:not(.rescue-kicker){max-width:400px;color:var(--muted);overflow-wrap:anywhere;margin:8px 0 24px}.rescue-workspace{grid-template-columns:minmax(210px,.7fr) minmax(0,1.7fr);align-items:start;gap:24px;display:grid}.rescue-goals{min-width:0}.rescue-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;display:flex}.rescue-list-heading h2{margin:0}.rescue-list-heading>span{color:var(--muted)}.rescue-goals ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.rescue-goal-button{border:1px solid var(--line);background:var(--surface-raised);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:12px;padding:8px 16px;display:block}.rescue-goal-button[aria-current]{border-color:var(--text);box-shadow:inset 3px 0 0 var(--accent)}.rescue-goal-name{overflow-wrap:anywhere;display:block}.rescue-goal-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:8px 0;display:flex}.rescue-complete-badge{background:var(--accent);color:var(--accent-text);border-radius:4px;padding:4px 8px}.rescue-page progress{background:var(--line);width:100%;height:4px;color:var(--accent);border:0;border-radius:4px;display:block;overflow:hidden}.rescue-page progress::-webkit-progress-bar{background:var(--line);border-radius:4px}.rescue-page progress::-webkit-progress-value{background:var(--accent);border-radius:4px}.rescue-page progress::-moz-progress-bar{background:var(--accent);border-radius:4px}.rescue-detail{border:1px solid var(--line);background:var(--surface-raised);border-radius:17px;min-width:0;padding:24px}.rescue-detail-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.rescue-detail-heading>div:first-child{min-width:0}.rescue-detail-heading h2{overflow-wrap:anywhere;margin:0}.rescue-detail-actions{flex-wrap:wrap;flex-shrink:0;gap:12px;max-width:100%;padding-top:0;display:flex}.rescue-criteria{background:var(--surface);border-radius:9px;margin:24px 0;padding:16px}.rescue-criteria h3{color:var(--muted);margin:0 0 8px}.rescue-criteria p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.rescue-progress-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.rescue-progress-heading h3{margin:0}.rescue-progress-heading h3 span{color:var(--muted);margin-left:8px}.rescue-page .rescue-main-progress{height:5px;margin-bottom:16px}.rescue-no-steps{color:var(--muted);text-align:center;overflow-wrap:anywhere;margin:0;padding:24px 0}.rescue-steps{margin:0;padding:0;list-style:none}.rescue-step{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:8px 0;display:flex}.rescue-step-check{cursor:pointer;flex:12rem;align-items:flex-start;gap:8px;min-width:0;display:flex}.rescue-step-check input{width:17px;height:17px;accent-color:var(--accent);flex-shrink:0;margin:4px 0 0}.rescue-step-check>span{overflow-wrap:anywhere}.rescue-step.is-done .rescue-step-check>span{color:var(--muted);text-decoration:line-through}.rescue-step-actions{flex-wrap:wrap;flex-shrink:0;gap:4px;max-width:100%;display:flex}.rescue-step-actions button{min-width:28px;min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:4px}.rescue-step-actions button:hover:not(:disabled){background:var(--surface);color:var(--text)}.rescue-add-step{margin-top:24px}.rescue-add-step>label{color:var(--muted);margin-bottom:4px;display:block}.rescue-add-step>div{align-items:stretch;gap:8px;display:flex}.rescue-add-step input{flex:1;min-width:0}.rescue-add-step>p{color:var(--muted);margin:8px 0 0}.rescue-page input:not([type=checkbox]),.rescue-page textarea{border:1px solid var(--line);background:var(--surface-raised);color:var(--text);border-radius:8px;padding:12px}.rescue-page input::placeholder,.rescue-page textarea::placeholder{color:var(--muted)}.rescue-storage-note{color:var(--muted);text-align:center;overflow-wrap:anywhere;margin:24px 0 0}.rescue-select-prompt{color:var(--muted)}.rescue-dialog{border:1px solid var(--line);background:var(--surface-raised);width:min(500px,100% - 32px);max-height:calc(100dvh - 40px);color:var(--text);border-radius:19px;margin:auto;padding:24px;overflow-y:auto;box-shadow:0 20px 80px #0003}.rescue-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1118}.rescue-dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.rescue-dialog-heading>div{min-width:0}.rescue-dialog-heading .rescue-kicker{margin-bottom:8px}.rescue-dialog h2{margin:0}.rescue-dialog-close{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;margin:-4px -4px 0 0;display:inline-flex}.rescue-field{margin-bottom:16px;display:block}.rescue-field>span{color:var(--muted);margin-left:4px}.rescue-field input,.rescue-field textarea{width:100%;margin-top:4px;display:block}.rescue-field textarea{resize:vertical;min-height:104px}.rescue-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.rescue-dialog-error{border-left:3px solid var(--accent);background:var(--surface);color:var(--text);margin:8px 0 0;padding:12px}@media (max-width:1000px){.rescue-workspace{grid-template-columns:minmax(180px,.7fr) minmax(0,1.4fr);gap:16px}.rescue-detail{padding:24px}.rescue-step{flex-wrap:wrap;align-items:flex-start;gap:8px}.rescue-step-actions{margin-left:auto}}@media (max-width:760px){.rescue-page button,.rescue-page input:not([type=checkbox]),.rescue-page textarea,.rescue-step-check{min-height:44px}.rescue-dialog-close{min-width:44px}.rescue-header{align-items:flex-start;gap:16px}.rescue-header>.rescue-button{padding:12px}.rescue-intro{margin-top:8px}.rescue-eyebrow{margin-bottom:8px}.rescue-toolbar{flex-direction:column;align-items:flex-start;gap:8px;margin-top:24px;padding:12px 0}.rescue-backup-actions{gap:24px}.rescue-workspace{grid-template-columns:1fr;gap:24px}.rescue-goals ul{grid-template-columns:repeat(2,minmax(0,1fr))}.rescue-goal-button{height:100%;padding:8px 16px}.rescue-detail{padding:24px 16px}.rescue-detail-heading{flex-wrap:wrap;gap:12px}.rescue-detail-actions{margin-left:auto}.rescue-step-actions button{min-width:44px;min-height:44px}.rescue-add-step>div{flex-direction:column}.rescue-add-step .rescue-button{align-self:flex-end}.rescue-empty{min-height:352px;padding:32px 24px}.rescue-dialog{padding:24px}}@media (max-width:380px){.rescue-header{flex-direction:column}.rescue-header>.rescue-button{align-self:flex-end}.rescue-goals ul{grid-template-columns:1fr}}.security-page{min-width:0;padding-top:16px}.security-header,.security-rule-heading,.security-stage-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.security-header>div,.security-rule-card,.security-stage-heading>div,.security-dialog header>div{min-width:0}.security-header>div:first-child{gap:8px;display:grid}.security-header h1,.security-header .page-eyebrow,.security-header .page-intro{margin:0}.security-primary{border:1px solid var(--accent);background:var(--accent);min-height:44px;color:var(--accent-text);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;display:inline-flex}.security-primary:hover:not(:disabled){filter:brightness(.97)}.security-page button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.security-page button:disabled{cursor:not-allowed}.security-status-line{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 16px;display:flex}.security-status-line>div,.security-recovery{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.security-save-status{color:var(--muted)}.security-save-status:before{content:"";background:#73915d;border-radius:50%;width:8px;height:8px;margin-right:8px;display:inline-block}.security-save-status:not(.status-saved):before{background:#b48c2a}.security-page .notice>p{overflow-wrap:anywhere;margin:0}.security-recovery{margin-top:16px}.security-header-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.security-count{color:var(--muted)}.security-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;margin-bottom:24px;padding-bottom:8px;display:flex}.security-tabs button,.security-filters button{min-height:44px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:8px;padding:8px 12px}.security-tabs button[aria-pressed=true]{color:var(--surface-raised);background:var(--text)}.security-focus-grid{grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);align-items:start;gap:24px;display:grid}.security-focus-list{min-width:0}.security-filters{flex-wrap:wrap;gap:4px;margin-bottom:16px;display:flex}.security-filters button[aria-pressed=true]{color:var(--text);background:var(--surface-raised);border-color:var(--line)}.security-back{display:none}.security-detail-empty,.security-empty-filter{border:1px dashed var(--line);color:var(--muted);border-radius:12px;margin:0;padding:24px 16px}.security-rule-heading{margin-bottom:16px}.security-rule-heading>h2,.security-stage-heading h2,.security-dialog header h2{overflow-wrap:anywhere;margin:0}.security-page select,.security-page textarea,.security-page input:not([type=checkbox]):not([type=file]){border:1px solid var(--line);width:100%;min-width:0;max-width:100%;min-height:44px;color:var(--text);background:var(--surface-raised);border-radius:8px;padding:8px 12px}.security-page input::placeholder,.security-page textarea::placeholder{color:var(--muted);opacity:.8}.security-page select:focus-visible,.security-page textarea:focus-visible{outline-offset:4px;outline:3px solid #ad8b00}.security-empty{text-align:center;border:1px dashed var(--line);border-radius:12px;justify-items:center;gap:16px;padding:32px 16px;display:grid}.security-empty-icon{background:var(--accent);width:52px;height:52px;color:var(--accent-text);border-radius:12px;place-items:center;display:grid}.security-empty h3,.security-empty p,.security-empty .secondary-button{margin:0}.security-empty p,.security-empty-filter{color:var(--muted)}.security-rule-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.security-rule-list>li{min-width:0}.security-rule-select{text-align:left;width:100%;color:var(--text);background:var(--surface-raised);border:1px solid var(--line);border-radius:12px;padding:16px;display:block}.security-rule-select[aria-pressed=true]{border-color:var(--text);box-shadow:inset 3px 0 0 var(--text)}.security-list-title{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.security-list-title>span:first-child{overflow-wrap:anywhere;min-width:0}.security-list-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:8px;display:flex}.security-rule-card{border:1px solid var(--line);background:var(--surface-raised);border-radius:12px;flex-direction:column;padding:16px;display:flex}.security-rule-top,.security-rule-top>div{flex-wrap:wrap;align-items:center;gap:8px 16px;min-width:0;display:flex}.security-rule-top{justify-content:space-between}.security-action{border-radius:4px;align-items:center;padding:4px 8px;display:inline-flex}.security-action.action-allow{color:#3e6b35;background:#eaf2e4}.security-action.action-deny{color:#806219;background:#f7efd5}:root[data-theme=dark] .security-action.action-allow{color:#c0dcb0;background:#2c3c28}:root[data-theme=dark] .security-action.action-deny{color:#ebd487;background:#3d3522}.security-protocol{color:var(--muted)}.security-review{min-height:36px;color:var(--muted);cursor:pointer;align-items:center;gap:8px;display:flex}.security-page input[type=checkbox]{accent-color:#8c7517;flex-shrink:0;width:20px;height:20px;margin:0}.security-rule-card>.page-eyebrow{margin:0 0 8px}.security-rule-card h2{overflow-wrap:anywhere;margin:0 0 16px}.security-rule-detail{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 0;padding-top:16px;display:grid}.security-rule-detail>div{align-content:start;gap:4px;min-width:0;display:grid}.security-rule-detail>.security-detail-wide{grid-column:1/-1}.security-rule-detail dt{color:var(--muted)}.security-rule-detail dd{overflow-wrap:anywhere;min-width:0;margin:0}.security-rule-reason{background:var(--surface);color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:16px 0 0;padding:16px}.security-card-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:16px;padding-top:8px;display:flex}.security-card-actions .security-review{flex:auto;min-height:44px}.security-card-actions>span{min-width:0;color:var(--muted);flex:auto}.security-stages{border:1px solid var(--line);background:var(--surface-raised);border-radius:12px;padding:16px}.security-stage-heading{align-items:flex-end;margin-bottom:16px}.security-stage-heading .page-eyebrow{margin:0 0 8px}.security-stage-heading>span{color:var(--muted)}.security-stages progress{background:var(--line);accent-color:#b5981d;border:0;border-radius:4px;width:100%;height:8px;margin-bottom:16px;display:block;overflow:hidden}.security-stages progress::-webkit-progress-bar{background:var(--line);border-radius:4px}.security-stages progress::-webkit-progress-value{background:#b5981d;border-radius:4px}.security-stages progress::-moz-progress-bar{background:#b5981d;border-radius:4px}.security-complete{color:var(--muted);margin:0 0 16px}.security-stage-empty{border:1px dashed var(--line);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.security-stage-empty p{color:var(--muted);flex:256px;margin:0}.security-stage-list{margin:16px 0 0;padding:0;list-style:none}.security-stage-list>li{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:16px;min-width:0;padding:8px 0;display:flex}.security-stage-check{cursor:pointer;flex:240px;align-items:flex-start;gap:8px;min-width:0;padding-block:8px;display:flex}.security-stage-check span{overflow-wrap:anywhere;min-width:0}.security-stage-list>.is-done .security-stage-check span{color:var(--muted);text-decoration:line-through}.security-stage-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.security-stage-actions button{border:1px solid var(--line);background:var(--surface-raised);border-radius:8px;min-width:40px;min-height:40px;padding:8px 12px}.security-stage-actions button:hover:not(:disabled){border-color:var(--muted)}.security-stage-edit{flex-wrap:wrap;flex:100%;align-items:center;gap:16px;min-width:0;display:flex}.security-stage-edit input{flex:240px}.security-add-stage{margin-top:24px}.security-add-stage>label{margin-bottom:4px;display:block}.security-add-stage>div{gap:16px;display:flex}.security-add-stage input{flex:1}.security-footnote{border-top:1px solid var(--line);color:var(--muted);overflow-wrap:anywhere;margin:24px 0 0;padding-top:24px}.security-dialog{border:1px solid var(--line);width:min(720px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--text);background:var(--surface-raised);overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:16px;margin:auto;padding:0;overflow:hidden auto;box-shadow:0 24px 100px #00000030}.security-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#131a146b}.security-dialog form,.security-dialog fieldset{min-width:0}.security-dialog header{background:var(--surface-raised);border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:24px;display:flex}.security-dialog header .page-eyebrow{margin:0 0 8px}.security-dialog header>button{flex-shrink:0;min-width:40px;min-height:40px;padding:8px;text-decoration:none}.security-dialog fieldset{border:0;gap:16px;margin:0;padding:24px;display:grid}.security-dialog label{gap:4px;min-width:0;display:grid}.security-dialog textarea{resize:vertical;min-height:112px}.security-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.security-form-hint{color:var(--muted);margin:0}.security-form-error{overflow-wrap:anywhere;border:1px solid #bda240;border-radius:8px;margin:0 24px 16px;padding:12px 16px}.security-dialog footer{border-top:1px solid var(--line);background:var(--surface-raised);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.security-dialog footer>span{min-width:0;color:var(--muted);flex:200px}@media (max-width:900px){.security-focus-grid{grid-template-columns:minmax(0,1fr)}.security-focus-grid[data-mobile-detail=true] .security-focus-list,.security-focus-grid[data-mobile-detail=false] .security-rule-card,.security-focus-grid[data-mobile-detail=false] .security-detail-empty{display:none}.security-back{align-self:flex-start;align-items:center;gap:8px;margin-bottom:16px;display:inline-flex}.security-dialog{scrollbar-gutter:auto;border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh;margin:0;position:fixed;inset:0}.security-dialog form{flex-direction:column;min-height:100%;display:flex}.security-dialog header{padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left))}.security-dialog fieldset{padding:24px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));flex:1}.security-dialog footer{padding:16px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left))}.security-form-grid{grid-template-columns:minmax(0,1fr)}.security-page button,.security-review,.security-stage-check{min-height:44px}.security-stage-actions button,.security-dialog header>button{min-width:44px;min-height:44px}}@media (max-width:600px){.security-page{padding-top:4px}.security-header{align-items:flex-start}.security-add-stage>div{flex-direction:column}.security-form-grid{grid-template-columns:minmax(0,1fr)}.security-dialog footer .security-primary{width:100%}.security-form-error{margin-inline:16px}}.shopping-page{min-width:0;color:var(--text)}.shopping-page :is(h1,h2,h3,h4){margin:0}.shopping-page :is(p,li,dd,code,label,button,strong,time){overflow-wrap:anywhere}.shopping-header,.shopping-section-heading,.shopping-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.shopping-header,.shopping-section-heading{justify-content:space-between}.shopping-header>*,.shopping-section-heading>*{min-width:0}.shopping-eyebrow{color:var(--muted);margin:0 0 8px}.shopping-muted{color:var(--muted)}.shopping-panel,.shopping-notice{border:1px solid var(--glass-edge,var(--line));background:var(--glass-panel,var(--surface-raised));box-shadow:var(--glass-shadow,none);border-radius:20px;min-width:0;padding:24px}.shopping-panel[hidden]{display:none}.shopping-task-picker,.shopping-task-summary{margin:24px 0}.shopping-notice{margin:16px 0;padding:16px}.shopping-status{border:1px solid var(--line);border-radius:8px;max-width:100%;padding:4px 8px;display:inline-flex}.shopping-button,.shopping-task-choice{color:var(--text);background:var(--glass-control,var(--surface));border:1px solid var(--line);border-radius:12px;max-width:100%;min-height:44px;padding:8px 16px;text-decoration:none}.shopping-button{justify-content:center;align-items:center;display:inline-flex}.shopping-primary{color:var(--accent-text);background:var(--accent)}.shopping-page :is(button,a,input,textarea,summary):focus-visible,.shopping-mode-switch a:focus-visible{outline:3px solid var(--text);outline-offset:4px}.shopping-task-list,.shopping-messages,.shopping-candidates,.shopping-packages{gap:16px;margin:16px 0;padding:0;list-style:none;display:grid}.shopping-task-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px}.shopping-task-choice{text-align:left;gap:4px;width:100%;display:grid}.shopping-task-choice[aria-pressed=true],.shopping-candidate[data-selected=true]{border-color:var(--text)}.shopping-work-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:16px;display:grid}.shopping-delivery{grid-column:1/-1}.shopping-tabs,.shopping-mode-switch{border:1px solid var(--line);background:var(--glass-panel,var(--surface));border-radius:16px;gap:4px;width:-moz-fit-content;width:fit-content;max-width:100%;margin:0 0 24px;padding:4px;display:flex}.shopping-tabs[hidden]{display:none}.shopping-tabs button,.shopping-mode-switch a{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:8px 16px;text-decoration:none;display:inline-flex}.shopping-tabs button[aria-selected=true],.shopping-mode-switch a[aria-current=page]{border-color:var(--line);color:var(--text);background:var(--glass-control,var(--surface))}.shopping-field{gap:8px;min-width:0;display:grid}.shopping-field :is(input,textarea){border:1px solid var(--line);background:var(--glass-control,var(--surface));width:100%;min-width:0;max-width:100%;min-height:44px;color:var(--text);border-radius:12px;padding:12px}.shopping-field textarea{resize:vertical}.shopping-page form,.shopping-editor-body{gap:16px;display:grid}.shopping-page form{margin:16px 0}.shopping-preserve{white-space:pre-wrap}.shopping-message,.shopping-candidate,.shopping-quote,.shopping-private{border:1px solid var(--line);background:var(--glass-control,var(--surface));border-radius:16px;min-width:0;padding:16px}.shopping-message-user{margin-left:16px}.shopping-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.shopping-facts dt{color:var(--muted)}.shopping-facts dd{margin:4px 0 0}.shopping-product-url{word-break:break-all}.shopping-quote,.shopping-private{margin-top:24px}.shopping-check{align-items:flex-start;gap:12px;margin:16px 0;display:flex}.shopping-check input{flex:0 0 20px;width:20px;height:20px}.shopping-remote-screen{border:1px solid var(--line);border-radius:12px;width:100%;margin:16px 0;overflow:hidden}.shopping-remote-screen img{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.shopping-dialog{border:1px solid var(--line);width:min(600px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);background:var(--surface-raised);border-radius:20px;padding:24px;overflow:auto}.shopping-dialog::backdrop{background:#0008}.shopping-dialog form{margin:0}.shopping-dialog footer{border-top:1px solid var(--line);padding-top:16px}.shopping-input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}@media (max-width:1023px){.shopping-work-grid{grid-template-columns:minmax(0,1fr)}.shopping-delivery{grid-column:auto}}@media (max-width:900px){.shopping-dialog{width:100%;height:100dvh;max-height:100dvh;padding:calc(24px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));border:0;border-radius:0;margin:0;position:fixed;inset:0}}@media (max-width:760px){.shopping-panel{padding:16px}.shopping-tabs{width:100%}.shopping-tabs button{flex:1;padding-inline:8px}.shopping-facts,.shopping-input-grid{grid-template-columns:minmax(0,1fr)}}:root{--font-ui:-apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;--font-code:"SFMono-Regular", Menlo, Consolas, monospace;--type-display-size:2.5rem;--type-display-line:1.1;--type-display-weight:700;--type-page-size:1.75rem;--type-page-line:1.21429;--type-page-weight:700;--type-section-size:1.125rem;--type-section-line:1.33333;--type-section-weight:700;--type-item-size:1rem;--type-item-line:1.375;--type-item-weight:600;--type-body-size:.875rem;--type-body-line:1.5;--type-body-weight:400;--type-control-size:.875rem;--type-control-line:1.42857;--type-control-weight:600;--type-input-size:1rem;--type-input-line:1.5;--type-input-weight:400;--type-meta-size:.75rem;--type-meta-line:1.5;--type-meta-weight:400;--type-wordmark-size:1.25rem;--type-wordmark-line:1.2;--type-wordmark-weight:700;font-size:100%}body{font-family:var(--font-ui);font-size:var(--type-body-size);font-weight:var(--type-body-weight);line-height:var(--type-body-line);letter-spacing:0;overflow-wrap:anywhere}:where(button,input,select,textarea){font-family:var(--font-ui);letter-spacing:inherit}:where(button,summary),.type-control{font-size:var(--type-control-size);font-weight:var(--type-control-weight);line-height:var(--type-control-line)}:where(input,select,textarea),.type-input{font-size:var(--type-input-size);font-weight:var(--type-input-weight);line-height:var(--type-input-line)}.type-display{font-size:var(--type-display-size);font-weight:var(--type-display-weight);line-height:var(--type-display-line)}.type-page{font-size:var(--type-page-size);font-weight:var(--type-page-weight);line-height:var(--type-page-line)}.type-section{font-size:var(--type-section-size);font-weight:var(--type-section-weight);line-height:var(--type-section-line)}.type-item{font-size:var(--type-item-size);font-weight:var(--type-item-weight);line-height:var(--type-item-line)}.type-body,.type-code{font-size:var(--type-body-size);font-weight:var(--type-body-weight);line-height:var(--type-body-line)}.type-meta{font-size:var(--type-meta-size);font-weight:var(--type-meta-weight);line-height:var(--type-meta-line)}.type-alert{font-size:var(--type-body-size);font-weight:var(--type-control-weight);line-height:var(--type-body-line)}.type-wordmark{font-size:var(--type-wordmark-size);font-weight:var(--type-wordmark-weight);line-height:var(--type-wordmark-line)}.type-code{font-family:var(--font-code)}.type-numeric{font-variant-numeric:tabular-nums}@media (max-width:760px){:root{--type-display-size:2rem;--type-display-line:1.125;--type-page-size:1.5rem;--type-page-line:1.25}}:root{color:#20241f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--surface:#f7f7f3;--surface-raised:#fff;--text:#20241f;--muted:#6c7068;--line:#e2e4dd;--accent:#ffdf24;--accent-text:#252817;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f7f7f3}:root[data-theme=dark]{--surface:#171917;--surface-raised:#20231f;--text:#f1f2e9;--muted:#a2a89b;--line:#393d34;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--surface)}*{box-sizing:border-box}body{min-width:320px;margin:0}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:progress;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:5px;outline:3px solid #ad8b00}a,button{color:inherit}.app-shell{min-height:100dvh}.skip-link{z-index:50;background:var(--accent);color:var(--accent-text);padding:16px 24px;position:fixed;top:0;left:20px;transform:translateY(-200%)}.skip-link:focus{top:16px;transform:none}.sidebar{z-index:2;width:calc(208px + env(safe-area-inset-left));padding:max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));border-right:1px solid var(--line);background:var(--surface-raised);flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand-lockup{align-items:center;gap:12px;width:-moz-fit-content;width:fit-content;margin-left:8px;text-decoration:none;display:flex}.sidebar-divider{background:var(--line);height:1px;margin:24px 8px}.nav-caption{color:var(--muted);margin:0 16px 8px}.sidebar nav{gap:8px;display:grid}.sidebar nav a{min-width:0;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:12px 16px;text-decoration:none;display:flex;position:relative}.sidebar nav svg{flex-shrink:0}.sidebar nav a:hover{color:var(--text);background:var(--surface-raised)}.sidebar nav a[aria-current]{background:var(--accent);color:var(--accent-text)}.nav-dot{background:currentColor;border-radius:50%;width:5px;height:5px;position:absolute;right:10px}.sidebar-bottom{margin-top:auto;padding:32px 12px 0}.workspace-mark{color:var(--muted)}.sidebar-bottom p{margin:16px 0 24px}.version-tag{color:var(--muted);justify-content:space-between;align-items:center;display:flex}.topbar{border-bottom:1px solid var(--line);min-height:64px;padding:max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 16px 24px;background:var(--surface-raised);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.breadcrumb{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;display:flex}.breadcrumb strong{color:var(--text)}.connection-status{align-items:center;gap:8px;display:inline-flex}.connection-status i{background:#4b8456;border-radius:50%;width:6px;height:6px}.connection-status.is-offline i{background:#a18017}main{max-width:1416px;padding:24px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 24px;outline:none;margin:0 auto}.notice{background:var(--surface-raised);border:1px solid var(--line);border-radius:8px;margin:0 0 16px;padding:16px}.notice-warning{border-color:#bda240}.update-notice{justify-content:space-between;align-items:center;gap:16px;display:flex}.update-notice button{background:var(--accent);color:var(--accent-text);border:0;border-radius:6px;padding:10px 15px}.install-status{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:16px;margin-top:24px;padding:16px 0 0;display:flex}.offline-ready{color:var(--muted);flex:12rem;display:block}.secondary-button{border:1px solid var(--line);background:var(--surface-raised);white-space:normal;border-radius:6px;padding:12px 16px}.secondary-button span{margin-left:8px}.secondary-button:hover{background:var(--surface)}.install-help{background:var(--surface-raised);border:1px solid var(--line);border-radius:12px;margin-top:12px;padding:24px}.install-help h3{margin:0 0 16px}.install-help p{color:var(--muted)}.text-button{background:0 0;border:none;padding:6px 0;text-decoration:underline}.app-footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin-top:24px;padding-top:24px;display:flex}.page-eyebrow,.small-label{color:var(--muted)}.settings-page{padding-top:16px}.settings-page h1{margin:8px 0}.page-intro{max-width:65ch;color:var(--muted);margin:0}.theme-fieldset{border:0;min-width:0;margin:24px 0 16px;padding:0}.theme-fieldset>p{color:var(--muted);margin:8px 0 16px}.theme-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:16px;display:grid}.theme-option{border:1px solid var(--line);cursor:pointer;background:var(--surface-raised);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:8px;padding:16px;display:grid}.theme-option input{accent-color:#907600;grid-area:2/2;align-self:center;width:16px;height:16px;margin:0}.theme-miniature{background:#f1f2ed;border:1px solid #d9dcd3;border-radius:5px;grid-area:1/1/auto/-1;gap:8px;height:108px;margin-bottom:8px;padding:10px;display:flex}.theme-miniature>span:first-child{border-right:1px solid #d3d6cb;width:21%}.theme-miniature>span:last-child{flex-direction:column;flex:1;gap:8px;padding-top:8px;display:flex}.theme-miniature i{background:#c9cdbd;border-radius:2px;width:70%;height:7px}.theme-miniature i:first-child{background:#dfc333;width:44%;height:13px;margin-bottom:8px}.theme-miniature i:last-child{width:45%}.theme-option-dark .theme-miniature{background:#252a24;border-color:#4c5247}.theme-option-dark .theme-miniature i:not(:first-child){background:#58614f}.theme-option-system .theme-miniature{background:linear-gradient(90deg,#f1f2ed 50%,#252a24 50%)}.theme-option-description{color:var(--muted);grid-column:1/-1}.settings-footnote{color:var(--muted)}.settings-info{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.settings-info h2{margin:8px 0}.settings-info p{color:var(--muted)}.mobile-brand,.mobile-navigation{display:none}.more-dialog{width:min(100%,28rem);max-width:100%;max-height:100dvh;padding:24px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));border:1px solid var(--line);background:var(--surface-raised);color:var(--text);border-radius:16px 16px 0 0;margin:auto auto 0;overflow-y:auto}.more-dialog::backdrop{background:#0006}.more-dialog header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.more-dialog h2{margin:0}.more-dialog nav{gap:8px;display:grid}.more-dialog nav a{border-radius:8px;align-items:center;gap:12px;min-height:48px;padding:12px;text-decoration:none;display:flex}.more-dialog nav a[aria-current]{background:var(--accent);color:var(--accent-text)}.more-dialog nav svg{flex-shrink:0}@media (max-width:900px){html{scroll-padding-bottom:var(--mobile-nav-height,80px)}.sidebar{display:none}.app-shell{padding-bottom:var(--mobile-nav-height,calc(80px + env(safe-area-inset-bottom)));scroll-padding-bottom:var(--mobile-nav-height,80px)}.brand-lockup{gap:8px;margin-left:0}.brand-lockup img{width:32px;height:32px}.workspace{margin-left:0}.topbar{min-height:56px;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left))}.breadcrumb{display:none}main{padding:24px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left))}.mobile-brand{display:flex}.mobile-navigation{z-index:5;padding:8px max(8px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));border-top:1px solid var(--line);background:var(--surface-raised);grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid;position:fixed;inset:auto 0 0}.mobile-navigation a,.mobile-navigation button{min-width:0;min-height:52px;color:var(--muted);text-align:center;overflow-wrap:anywhere;background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px 0;text-decoration:none;display:flex}.mobile-navigation :is(a,button)[aria-current]{background:var(--accent);color:var(--accent-text)}.app-shell:has(dialog[open]) .mobile-navigation{visibility:hidden}.mobile-navigation svg{flex-shrink:0}.app-footer{gap:16px}.theme-options{gap:8px}.theme-option{padding:12px}.theme-miniature{gap:4px;height:75px;padding:8px}.theme-fieldset{margin-top:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.sidebar nav a>span:not(.nav-dot){min-width:0}.brand-lockup{max-width:100%}.brand-lockup img{flex-shrink:0}.update-notice{flex-wrap:wrap}.install-help{min-width:0}.theme-option-label{grid-area:2/1}@media (max-width:900px){button,select,input:not([type=checkbox]):not([type=radio]):not([type=file]),summary{min-height:44px}}:root{--surface:#eaf0f5;--surface-raised:#f8fafc;--text:#18232d;--muted:#53616d;--line:#44576b30;--glass-chrome:#f7fafdcc;--glass-panel:#ffffffe0;--glass-control:#ffffffe6;--glass-dialog:#fafcfff5;--glass-edge:#ffffffe0;--glass-shadow:0 8px 28px #23374f12, inset 0 1px 0 var(--glass-edge);--glass-float-shadow:0 16px 48px #23374f1a, inset 0 1px 0 var(--glass-edge);--glass-dialog-shadow:0 32px 100px #0c192b40, inset 0 1px 0 var(--glass-edge);--glass-blur:blur(22px) saturate(145%);--atmosphere-gold:#ffda4642;--atmosphere-blue:#8cb7eb4d;--atmosphere-mint:#9ccfc338;--selected-surface:#fff3a7;--selected-border:#947800;--motion-fast:.16s;--motion-enter:.36s;--motion-ease:cubic-bezier(.22, 1, .36, 1);color:var(--text);background:var(--surface)}:root[data-theme=dark]{--surface:#101923;--surface-raised:#222d3b;--text:#f3f6fa;--muted:#b8c4ce;--line:#bed2e633;--glass-chrome:#1b2430d6;--glass-panel:#222d3be6;--glass-control:#273444f5;--glass-dialog:#1a232ff7;--glass-edge:#dcedff2b;--glass-shadow:0 8px 28px #00000024, inset 0 1px 0 var(--glass-edge);--glass-float-shadow:0 16px 48px #00000038, inset 0 1px 0 var(--glass-edge);--glass-dialog-shadow:0 32px 100px #0000007a, inset 0 1px 0 var(--glass-edge);--atmosphere-gold:#ab83272e;--atmosphere-blue:#2c5b9b40;--atmosphere-mint:#23787326;--selected-surface:#514827;--selected-border:#d8bd4f}body{isolation:isolate;background:var(--surface)}body:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 83% 5%, var(--atmosphere-gold), transparent 52%), radial-gradient(ellipse at 8% 32%, var(--atmosphere-blue), transparent 58%), radial-gradient(ellipse at 82% 100%, var(--atmosphere-mint), transparent 54%);position:fixed;inset:0}.sidebar,.topbar,.mobile-navigation{background:var(--glass-chrome);border:1px solid var(--glass-edge);box-shadow:var(--glass-float-shadow);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.sidebar{border-radius:24px;inset:12px auto 12px 12px}.workspace{margin-left:calc(232px + env(safe-area-inset-left))}.topbar{margin:12px max(24px, env(safe-area-inset-right)) 0 24px;border-radius:20px}.sidebar nav a,.more-dialog nav a{border-radius:14px}.sidebar nav a:hover,.more-dialog nav a:hover{background:var(--glass-control)}.sidebar nav a[aria-current],.more-dialog nav a[aria-current],.mobile-navigation :is(a,button)[aria-current]{background:linear-gradient(155deg, #ffe970, var(--accent));color:var(--accent-text);box-shadow:inset 0 1px #ffffffa6,0 3px 9px #775e0021}.connection-status{border:1px solid var(--line);background:var(--glass-control);border-radius:20px;padding:4px 8px}.welcome-hero,.welcome-feature-card,.welcome-guide-step,.welcome-guide-tip,.wooden-entry,.theme-option,.rescue-empty,.rescue-detail,.security-rule-card,.security-stages,.security-empty,.install-help,.notice,.rescue-notice{background:var(--glass-panel);border-color:var(--glass-edge);box-shadow:var(--glass-shadow)}.welcome-hero{border-radius:28px}.welcome-feature-card,.welcome-guide-step,.wooden-entry,.rescue-detail,.security-rule-card,.security-stages,.theme-option{border-radius:20px}.notice-warning,.security-form-error{border-color:var(--selected-border)}.rescue-notice{border-left-color:var(--accent)}.welcome-feature-icon,.rescue-empty-symbol{background:var(--glass-control);border-color:var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-edge), 0 4px 12px #1423320d}.welcome-brand-ball{filter:drop-shadow(0 18px 18px #5d4a0026)}.welcome-brand-caption{border:1px solid var(--line);background:var(--glass-control);border-radius:24px;padding:8px 12px}.welcome-command-panel,.rescue-criteria,.security-rule-reason{background:var(--glass-control);border:1px solid var(--line);border-radius:12px}.secondary-button,.rescue-button,.welcome-feature-label,.security-rule-select,.rescue-goal-button,.security-stage-actions button{background:var(--glass-control);box-shadow:inset 0 1px 0 var(--glass-edge);border-radius:12px}.welcome-primary-button,.security-primary,.rescue-button-primary{background:linear-gradient(155deg, #ffed83, var(--accent));color:var(--accent-text);border-color:#9c7e0040;border-radius:14px;box-shadow:inset 0 1px #ffffffb3,0 4px 12px #775e001f}.security-rule-select[aria-pressed=true],.rescue-goal-button[aria-current]{border-color:var(--selected-border);background:var(--selected-surface);box-shadow:inset 3px 0 0 var(--selected-border), inset 0 1px 0 var(--glass-edge)}.security-tabs{border:1px solid var(--line);background:var(--glass-panel);border-radius:16px;width:-moz-fit-content;width:fit-content;max-width:100%;padding:4px}.security-tabs button{border-radius:12px}.security-tabs button[aria-pressed=true],.security-filters button[aria-pressed=true]{color:var(--text);background:var(--glass-control);border-color:var(--line);box-shadow:0 2px 6px #14233214}.rescue-page input:not([type=checkbox]):not([type=file]),.rescue-page textarea,.security-page input:not([type=checkbox]):not([type=file]),.security-page textarea,.security-page select{background:var(--glass-control);border-radius:12px;box-shadow:inset 0 1px 2px #1423320d}.theme-option:has(input:checked){border-color:var(--selected-border);box-shadow:0 0 0 1px var(--selected-border), var(--glass-shadow)}.rescue-dialog,.security-dialog,.more-dialog{background:var(--glass-dialog);border-color:var(--glass-edge);box-shadow:var(--glass-dialog-shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.security-dialog header,.security-dialog footer{background:0 0}.rescue-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0c16235c}.security-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0c16235c}.more-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0c16235c}.dashboard-page,.welcome-page,.welcome-guide-page,.rescue-page,.security-page,.wooden-page,.settings-page{animation:warrior-enter var(--motion-enter) var(--motion-ease)}#security-rules-panel:not([hidden]),#security-steps-panel:not([hidden]){animation:warrior-panel-in .24s var(--motion-ease)}.rescue-dialog[open],.security-dialog[open],.more-dialog[open]{animation:warrior-dialog-in .24s var(--motion-ease)}button,.sidebar nav a,.mobile-navigation a,.more-dialog nav a{transition:background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) var(--motion-ease)}@media (hover:hover) and (pointer:fine){:is(.welcome-primary-button,.security-primary,.rescue-button,.secondary-button):hover:not(:disabled){transform:translateY(-1px)}}button:active:not(:disabled),.sidebar nav a:active,.mobile-navigation a:active,.more-dialog nav a:active{transform:translateY(1px)}@keyframes warrior-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes warrior-panel-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes warrior-dialog-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes warrior-sheet-in{0%{opacity:0}to{opacity:1}}@media (max-width:900px){:root{--glass-blur:blur(14px) saturate(130%)}.workspace{margin-left:0}.topbar{margin:8px max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));border-radius:20px}.mobile-navigation{border-radius:24px 24px 0 0}.mobile-navigation :is(a,button){border-radius:16px}.security-dialog{background:var(--surface-raised);-webkit-backdrop-filter:none;backdrop-filter:none}.security-dialog[open]{animation-name:warrior-sheet-in}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){:root,:root[data-theme=dark]{--glass-chrome:var(--surface-raised);--glass-panel:var(--surface-raised);--glass-control:var(--surface-raised);--glass-dialog:var(--surface-raised)}}@media (prefers-reduced-transparency:reduce),(forced-colors:active){:root,:root[data-theme=dark]{--glass-chrome:var(--surface-raised);--glass-panel:var(--surface-raised);--glass-control:var(--surface-raised);--glass-dialog:var(--surface-raised);--glass-edge:var(--line)}body:before{display:none}.sidebar,.topbar,.mobile-navigation,.rescue-dialog,.security-dialog,.more-dialog{-webkit-backdrop-filter:none;backdrop-filter:none}.rescue-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.security-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.more-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}@media (prefers-contrast:more){:root,:root[data-theme=dark]{--muted:var(--text);--line:var(--text);--glass-edge:var(--text);--glass-chrome:var(--surface-raised);--glass-panel:var(--surface-raised);--glass-control:var(--surface-raised);--glass-dialog:var(--surface-raised)}}@media (forced-colors:active){*,:before,:after{box-shadow:none!important;text-shadow:none!important}.welcome-brand-ball{filter:none}.sidebar nav a[aria-current],.more-dialog nav a[aria-current],.mobile-navigation :is(a,button)[aria-current],.security-rule-select[aria-pressed=true],.rescue-goal-button[aria-current],.security-tabs button[aria-pressed=true],.security-filters button[aria-pressed=true]{outline-offset:-3px;outline:2px solid highlight}:is(button,a,input,textarea,select):focus-visible{outline-offset:4px!important;outline:3px solid highlight!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}button:active:not(:disabled),:is(.welcome-primary-button,.security-primary,.rescue-button,.secondary-button):hover:not(:disabled),.sidebar nav a:active,.mobile-navigation a:active,.more-dialog nav a:active{transform:none}}.app-context{align-items:center;gap:12px;min-width:0;display:flex}.app-context>div{gap:4px;min-width:0;display:grid}.app-context .brand-lockup{flex-shrink:0;justify-content:center;min-width:44px;min-height:44px;margin:0}.app-context .type-meta,.app-offline-status{color:var(--muted)}.app-offline-status{margin:16px 0 0}.app-shell[data-display-mode=standalone] .sidebar-bottom{display:none}.install-help:focus-visible{outline:3px solid var(--selected-border);outline-offset:4px}@media (min-width:901px){.web-landing .sidebar{width:auto;margin:max(12px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));flex-flow:wrap;align-items:center;gap:16px;padding:16px;position:relative;inset:auto;overflow:visible}.web-landing .sidebar nav{flex-wrap:wrap;flex:600px;justify-content:flex-end;gap:4px;display:flex}.web-landing .sidebar nav a{min-height:44px;padding:8px 12px}.web-landing .sidebar :is(.sidebar-divider,.nav-caption,.sidebar-bottom,.nav-dot),.web-landing .topbar{display:none}.web-landing .workspace{margin-left:0}.app-shell[data-display-mode=standalone] main{padding:16px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 16px}.app-shell[data-display-mode=standalone] .topbar{margin-right:max(16px, env(safe-area-inset-right));padding:max(12px, env(safe-area-inset-top)) 16px 12px;margin-left:16px}}@media (max-width:900px){.app-shell[data-display-mode=standalone] .topbar{margin-top:max(8px, env(safe-area-inset-top));gap:8px;padding:8px 12px}.app-shell[data-display-mode=standalone] main{padding-top:16px}}
