:root{color:#202124;--page:#f7f7f5;--surface:#fff;--text:#202124;--muted:#6f7277;--border:#e6e7e4;--accent:#2f6b57;--yellow:#f4d85a;--pink:#e9a8cf;--blue:#afc9ea;--green:#b8cb9a;--nav:#202124;--radius:12px;--touch:44px;--mobile-nav-height:68px;background:#f7f7f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:16px}*{box-sizing:border-box}html,body,#root{min-height:100%}body{color:var(--text);background:var(--page);margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.app-shell{grid-template-columns:240px minmax(0,1fr);min-height:100svh;display:grid}.desktop-sidebar{min-height:100svh;color:var(--surface);background:var(--nav);padding:24px 16px}.desktop-sidebar__brand{min-width:var(--touch);min-height:var(--touch);color:var(--surface);align-items:center;margin:0 8px 28px;padding:8px;font-weight:700;text-decoration:none;display:inline-flex}.desktop-nav,.work-menu-list{gap:4px;display:grid}.desktop-global-search{border:1px solid color-mix(in srgb, var(--surface) 36%, transparent);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;margin:0 8px 12px;padding:7px 8px;display:grid}.desktop-global-search svg{width:18px;height:18px}.desktop-global-search input{width:100%;min-width:0;min-height:var(--touch);color:var(--surface);background:0 0;border:0;outline:0}.desktop-global-search input::placeholder{color:color-mix(in srgb, var(--surface) 65%, transparent)}.desktop-global-search button{clip:rect(0 0 0 0);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.desktop-global-new{min-width:var(--touch);min-height:var(--touch);color:var(--surface);background:var(--accent);border-radius:8px;justify-content:center;align-items:center;margin:0 8px 16px;text-decoration:none;display:flex}.desktop-nav-divider{background:color-mix(in srgb, var(--surface) 22%, transparent);height:1px;margin:12px 8px}.desktop-nav-link,.work-menu-link,.mobile-bottom-nav a,.mobile-bottom-nav button,.help-button,.help-drawer-close{cursor:pointer;border:0;border-radius:8px;text-decoration:none}.desktop-nav-link{min-height:var(--touch);color:var(--surface);align-items:center;gap:10px;padding:8px;display:flex}.desktop-nav-link:hover,.desktop-nav-link[aria-current=page]{background:color-mix(in srgb, var(--surface) 15%, transparent)}.shell-content{min-width:0;padding:32px}.page{max-width:960px;margin:0 auto}.page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.page-title{margin:0;font-size:clamp(1.75rem,4vw,2.5rem)}.mobile-bottom-nav{display:none}.mobile-bottom-nav a,.mobile-bottom-nav button{color:var(--text);background:0 0;font-size:.75rem}.mobile-bottom-nav svg{width:20px;height:20px}.work-menu-backdrop,.help-drawer-backdrop{background:#20212459;border:0;position:fixed;inset:0}.work-menu-backdrop{z-index:60}.work-menu{inset-inline:16px;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 8px);z-index:61;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:420px;margin-inline:auto;padding:12px;position:fixed;box-shadow:0 12px 32px #2021242e}.work-menu-link{min-height:var(--touch);align-items:center;gap:10px;padding:8px;display:flex}.work-menu-link:hover{background:var(--page)}.help-button{min-width:var(--touch);min-height:var(--touch);color:var(--accent);background:var(--surface);border:1px solid var(--border);place-items:center;display:inline-grid;position:relative}.help-tooltip{z-index:10;width:max-content;max-width:min(280px,80vw);color:var(--surface);background:var(--nav);text-align:left;border-radius:6px;padding:8px 10px;font-size:.875rem;position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0}.help-drawer-backdrop{z-index:70}.help-drawer{z-index:71;width:min(420px,100%);color:var(--text);background:var(--surface);padding:24px;position:fixed;inset-block:0;inset-inline-end:0;overflow-y:auto;box-shadow:-12px 0 32px #2021242e}.help-drawer-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.help-drawer-close{min-width:var(--touch);min-height:var(--touch);color:var(--text);background:var(--page)}.help-drawer section{margin-top:24px}.state-panel{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:32px}.state-panel-title{margin:0;font-size:1.125rem}.state-panel-description{color:var(--muted);margin:8px 0 0}.state-panel-action{margin-top:16px}.state-panel-action-control{min-width:var(--touch);min-height:var(--touch);color:var(--surface);background:var(--accent);border-radius:8px;justify-content:center;align-items:center;padding:8px 12px;text-decoration:none;display:inline-flex}.async-boundary-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.async-boundary-actions button{min-height:var(--touch)}.async-boundary-skeleton i,.async-boundary-skeleton dt,.async-boundary-skeleton dd{background:var(--page);border-radius:999px;min-height:14px;margin:0;display:block}.async-boundary-skeleton-board-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.async-boundary-skeleton-board-columns section{border:1px solid var(--border);border-radius:12px;gap:8px;min-height:92px;padding:10px;display:grid}.async-boundary-skeleton-form-fields{gap:12px;margin-top:16px;display:grid}.async-boundary-skeleton-form-fields label{min-height:42px;display:grid}.async-boundary-skeleton-detail-card{border:1px solid var(--border);border-radius:12px;gap:14px;margin-top:16px;padding:12px;display:grid}.async-boundary-skeleton-detail-card header i{min-height:28px}.async-boundary-skeleton-detail-card dl{gap:10px;display:grid}.async-boundary-skeleton-detail-card dl div{grid-template-columns:28% 1fr;gap:10px;display:grid}.async-boundary-skeleton-list-items{gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.async-boundary-skeleton-list-items li{border:1px solid var(--border);border-radius:10px;min-height:38px;padding:12px}.route-async-boundary{position:relative}.route-async-boundary-overlay{z-index:20;background:color-mix(in srgb, var(--page) 78%, transparent);align-content:start;padding:16px;display:grid;position:absolute;inset:0}@media (width<=767px){.app-shell{display:block}.desktop-sidebar{display:none}.shell-content{min-height:100svh;padding:20px 16px calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 16px)}.mobile-bottom-nav{inset-inline:0;padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);z-index:50;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0}.mobile-bottom-nav a,.mobile-bottom-nav button{min-width:0;min-height:var(--touch);white-space:nowrap;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}}@media (width<=767px){.inbox-layout{grid-template-columns:minmax(0,1fr)}.inbox-detail{z-index:70;border-radius:0;position:fixed;inset:0;overflow-y:auto}.page-header{align-items:flex-start}.inbox-header-actions{justify-content:flex-end}.routing-preview{border-radius:var(--radius) var(--radius) 0 0;align-self:end;max-height:90svh}}.goal-center .page-title{align-items:center;gap:10px;display:flex}.goal-center .page-title svg{color:var(--accent)}.goal-page-intro{color:var(--muted);margin:8px 0 0}.goal-page-actions{align-items:center;gap:8px;display:flex}.goal-button,.goal-button-secondary,.goal-link-button{min-height:var(--touch);cursor:pointer;font:inherit;border-radius:8px}.goal-button{color:var(--surface);background:var(--accent);border:1px solid var(--accent);padding:8px 14px}.goal-button-secondary{color:var(--text);background:var(--surface);border:1px solid var(--border);padding:8px 12px}.goal-link-button{color:var(--accent);background:0 0;border:0;padding:6px 8px;text-decoration:underline}.goal-filter{color:var(--muted);align-items:center;gap:8px;margin-bottom:24px;display:inline-flex}.goal-filter input{width:18px;height:18px}.goal-section{margin-top:32px}.goal-section>header{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.goal-section h2,.goal-card h3,.goal-milestone-list h4{margin:0}.goal-focus-warning{color:#925b00;margin:0;font-size:.875rem}.goal-section-empty{color:var(--muted)}.goal-card-list{gap:16px;display:grid}.goal-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}.goal-card-header{justify-content:space-between;gap:16px;display:flex}.goal-card-header p{color:var(--muted);margin:6px 0 0}.goal-summary{margin-top:16px}.goal-summary-heading{justify-content:space-between;gap:12px;display:flex}.goal-progress{background:var(--page);border-radius:999px;height:8px;margin:8px 0;overflow:hidden}.goal-progress span{background:var(--accent);border-radius:inherit;height:100%;display:block}.goal-derived-progress{color:var(--muted);margin:8px 0 0;font-size:.875rem}.goal-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:20px 0;display:grid}.goal-details div{min-width:0}.goal-details dt{color:var(--muted);font-size:.8125rem}.goal-details dd{overflow-wrap:anywhere;margin:3px 0 0}.goal-milestone-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.goal-milestone-list{background:var(--page);border-radius:8px;padding:12px}.goal-milestone-list ul{gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.goal-milestone-list li{justify-content:space-between;align-items:center;gap:8px;display:flex}.goal-milestone-list p{color:var(--muted);margin:8px 0 0}.goal-editor-backdrop,.goal-dialog-backdrop{z-index:80;background:#20212459;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.goal-editor,.goal-progress-dialog{background:var(--surface);border-radius:var(--radius);width:min(640px,100%);max-height:calc(100svh - 32px);padding:24px;overflow-y:auto;box-shadow:0 12px 32px #2021242e}.goal-editor-header,.goal-editor-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.goal-editor form,.goal-progress-dialog form{gap:14px;margin-top:20px;display:grid}.goal-editor label,.goal-progress-dialog label{gap:6px;font-weight:600;display:grid}.goal-editor input,.goal-editor select,.goal-editor textarea,.goal-progress-dialog input,.goal-progress-dialog textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:9px 10px}.goal-editor textarea,.goal-progress-dialog textarea{resize:vertical;min-height:72px}.goal-editor fieldset{border:1px solid var(--border);border-radius:8px;gap:12px;padding:14px;display:grid}.goal-form-error{color:#b42318;margin:0}.goal-editor-actions{justify-content:flex-end}@media (width<=640px){.goal-center .page-header,.goal-section>header{flex-direction:column;align-items:flex-start}.goal-page-actions{justify-content:space-between;width:100%}.goal-details,.goal-milestone-groups{grid-template-columns:1fr}}.growth-page .page-title{align-items:center;gap:10px;display:flex}.growth-page .page-title svg,.growth-section-heading svg{color:var(--accent)}.growth-header p{color:var(--muted);margin:8px 0 0}.growth-header-actions,.growth-section-heading,.growth-section-heading>div,.growth-card footer,.growth-editor header,.growth-editor footer,.growth-detail header{align-items:center;gap:10px;display:flex}.growth-header-actions{flex-wrap:wrap;justify-content:flex-end}.growth-button,.growth-button-secondary,.growth-icon-button,.growth-card button,.growth-card a,.growth-tabs button,.growth-trash button,.growth-toast button{min-height:var(--touch);cursor:pointer;font:inherit;border-radius:8px}.growth-button{color:var(--surface);background:var(--accent);border:1px solid var(--accent);padding:8px 14px}.growth-button-secondary{color:var(--text);background:var(--surface);border:1px solid var(--border);padding:8px 12px}.growth-tabs{background:#ecece8;border-radius:10px;gap:8px;margin:0 0 16px;padding:4px;display:none}.growth-tabs button{color:var(--muted);background:0 0;border:0;flex:1;padding:8px}.growth-tabs button[aria-selected=true]{color:var(--text);background:var(--surface);box-shadow:0 1px 3px #0000001a}.growth-insight{margin-bottom:20px}.growth-insight .state-panel{min-height:auto;padding:18px}.growth-chart{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);align-items:flex-end;gap:28px;min-height:130px;padding:18px 24px;display:flex}.growth-chart>div{color:var(--muted);flex-direction:column;align-items:center;gap:8px;font-size:.875rem;display:flex}.growth-chart span{background:var(--accent);border-radius:6px 6px 0 0;width:56px;max-height:80px}.growth-goals{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:20px;padding:18px}.growth-goals h2{margin:0 0 12px;font-size:1rem}.growth-goals>div{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.growth-goals .goal-summary{margin:0}.growth-goals .goal-summary-heading,.growth-goals .goal-progress{justify-content:space-between;display:flex}.growth-goals .goal-progress{background:var(--page);border-radius:99px;height:8px;margin-top:8px;overflow:hidden}.growth-goals .goal-progress span{background:var(--accent);height:100%}.growth-layout{grid-template-columns:minmax(0,1.35fr) minmax(360px,.9fr);align-items:start;gap:20px;display:grid}.content-schedule,.lead-pipeline{min-width:0}.growth-section-heading{justify-content:space-between;margin-bottom:12px}.growth-section-heading>div{gap:8px}.growth-section-heading h2,.content-stage h3,.lead-stage h3,.growth-card h4{margin:0}.growth-section-heading>span,.content-stage>header span,.lead-stage>header span{color:var(--muted);font-size:.8125rem}.content-stage-list{gap:12px;display:grid}.content-stage,.lead-stage{border-radius:var(--radius);background:#efefeb;min-width:0;padding:12px}.content-stage>header,.lead-stage>header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.content-stage h3,.lead-stage h3{font-size:.9rem}.lead-stage-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.growth-card-list{gap:8px;display:grid}.growth-card{background:var(--surface);border:1px solid var(--border);border-radius:9px;min-width:0;padding:12px}.growth-card p{overflow-wrap:anywhere;color:var(--muted);margin:5px 0;font-size:.85rem}.growth-card .growth-next{color:var(--text)}.content-date{font-variant-numeric:tabular-nums}.growth-card footer{flex-wrap:wrap;gap:2px 8px;margin-top:8px}.growth-card footer button,.growth-card footer a{color:var(--accent);background:0 0;border:0;align-items:center;gap:3px;padding:4px 5px;font-size:.8rem;text-decoration:underline;display:inline-flex}.growth-card footer svg{width:13px}.example-badge{color:#735c00;background:#fff4bf;border-radius:4px;margin-top:6px;padding:2px 6px;font-size:.75rem;display:inline-block}.growth-trash{margin-top:24px}.growth-trash h2{margin:16px 0 8px;font-size:1rem}.growth-trash ul{gap:8px;max-width:520px;padding:0;list-style:none;display:grid}.growth-trash li{background:var(--surface);border:1px solid var(--border);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}.growth-toast{z-index:70;color:#8a1c13;background:#fff3f1;border:1px solid #ffc8c2;border-radius:10px;align-items:center;gap:12px;max-width:min(520px,100vw - 40px);padding:12px 16px;display:flex;position:fixed;bottom:84px;right:20px;box-shadow:0 6px 20px #0000001f}.growth-dialog-backdrop{z-index:80;background:#20212459;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.growth-editor,.growth-detail{background:var(--surface);border-radius:var(--radius);width:min(620px,100%);max-height:calc(100svh - 32px);padding:22px;overflow-y:auto;box-shadow:0 12px 32px #2021242e}.growth-editor header,.growth-detail header{justify-content:space-between}.growth-editor h2,.growth-detail h2{margin:0}.growth-icon-button{width:var(--touch);color:var(--muted);background:0 0;border:0;padding:0;font-size:1.5rem}.growth-editor form{gap:13px;margin-top:18px;display:grid}.growth-editor label{gap:5px;font-weight:600;display:grid}.growth-editor input,.growth-editor select,.growth-editor textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:8px;padding:9px 10px}.growth-editor textarea{resize:vertical;min-height:68px}.growth-editor footer{justify-content:flex-end}.growth-form-error{color:#b42318;margin:0}.growth-detail dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.growth-detail dt{color:var(--muted);font-size:.8rem}.growth-detail dd{overflow-wrap:anywhere;margin:3px 0 0}@media (width<=760px){.growth-header{flex-direction:column;align-items:flex-start}.growth-header-actions{justify-content:flex-start;width:100%}.growth-tabs{display:flex}.growth-layout{display:block}.growth-pane{display:none}.growth-pane.is-active{display:block}.lead-stage-list{grid-template-columns:1fr}.content-stage-list,.lead-stage-list{gap:14px}.growth-detail dl{grid-template-columns:1fr}}.today-page{max-width:1180px}.today-header .page-title{align-items:center;gap:10px;display:flex}.today-header .page-title svg{color:var(--accent)}.today-eyebrow{color:var(--muted);letter-spacing:.1em;margin:0 0 6px;font-size:.75rem;font-weight:700}.today-intro{color:var(--muted);margin:8px 0 0}.today-plan-count{color:var(--accent);background:color-mix(in srgb, var(--green) 28%, var(--surface));border-radius:999px;margin:0 0 20px;padding:7px 11px;font-weight:700;display:inline-flex}.today-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:24px;display:grid}.today-main{gap:28px;min-width:0;display:grid}.today-section>header,.daily-plan-panel>header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.today-section h2,.daily-plan-panel h2,.today-item h3{margin:0}.today-section>header span{color:var(--muted);font-size:.8125rem}.today-list{gap:10px;margin-top:12px;display:grid}.today-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.today-item-copy{min-width:0}.today-item-title{align-items:center;gap:8px;display:flex}.today-item-copy p{color:var(--muted);flex-wrap:wrap;gap:6px 12px;margin:7px 0 0;font-size:.875rem;display:flex}.example-badge{color:#6d4c00;background:color-mix(in srgb, var(--yellow) 42%, var(--surface));border-radius:999px;padding:2px 7px;font-size:.75rem;font-weight:700;display:inline-flex}.today-item-actions{flex-wrap:wrap;gap:6px;margin-top:14px;display:flex}.today-item-actions button,.today-item-actions a,.today-inline-form button,.today-toast button{min-height:36px;color:var(--accent);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:7px;padding:6px 9px;text-decoration:none}.today-item-actions button:hover,.today-item-actions a:hover{background:var(--page)}.today-inline-form{border-top:1px solid var(--border);align-items:end;gap:8px;margin-top:12px;padding-top:12px;display:flex}.today-inline-form label{color:var(--muted);flex:1;gap:5px;font-size:.8125rem;display:grid}.today-inline-form input,.today-inline-form textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:8px}.today-inline-form textarea{resize:vertical;min-height:62px}.today-empty{color:var(--muted);background:color-mix(in srgb, var(--surface) 70%, transparent);border:1px dashed var(--border);border-radius:var(--radius);margin:10px 0 0;padding:18px}.daily-plan-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;position:sticky;top:24px}.daily-plan-panel>header strong{color:var(--accent)}.daily-plan-help,.today-muted{color:var(--muted);font-size:.875rem}.daily-plan-panel ul{gap:4px;max-height:420px;margin:14px 0 0;padding:0;list-style:none;display:grid;overflow-y:auto}.daily-plan-panel li label,.daily-plan-example{min-height:var(--touch);border-radius:7px;align-items:center;gap:9px;padding:7px;display:flex}.daily-plan-panel li label:hover{background:var(--page)}.daily-plan-panel input{width:18px;height:18px;accent-color:var(--accent)}.daily-plan-example{color:var(--muted);justify-content:space-between}.daily-plan-warning{color:#925b00;margin:12px 0 0;font-size:.8125rem}.today-goal-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.today-goal-list>div{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.today-goal-list .goal-summary{margin-top:8px}.today-toast{inset-inline-end:24px;z-index:65;color:var(--surface);background:var(--nav);border-radius:9px;align-items:center;gap:12px;padding:10px 12px;display:flex;position:fixed;bottom:24px;box-shadow:0 10px 28px #20212433}.today-toast button{color:var(--surface);border-color:color-mix(in srgb, var(--surface) 35%, transparent)}.today-toast-error{background:#8f251c}.today-toast-warning{color:var(--text);background:var(--yellow)}.today-toast-warning button{color:var(--text);border-color:color-mix(in srgb, var(--text) 35%, transparent)}@media (width<=900px){.today-layout{grid-template-columns:1fr}.daily-plan-panel{grid-row:1;position:static}}@media (width<=640px){.today-header{align-items:flex-start}.today-layout{gap:18px}.today-main{gap:22px}.today-section>header{flex-direction:column;align-items:flex-start;gap:4px}.today-item-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.today-item-actions button,.today-item-actions a{min-height:var(--touch);justify-content:center;align-items:center;display:inline-flex}.today-inline-form{flex-direction:column;align-items:stretch}.today-goal-list{grid-template-columns:1fr}.today-toast{inset-inline:16px;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 12px);justify-content:space-between}}.today-header-actions{align-items:center;gap:8px;display:flex}.today-header-actions>a{min-height:var(--touch);border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:center;padding:8px 12px;text-decoration:none;display:inline-flex}.delivery-page .page-title{align-items:center;gap:10px;display:flex}.delivery-page .page-header p{color:var(--muted)}.delivery-primary,.delivery-page button,.attachment-upload{min-width:var(--touch);min-height:var(--touch);border:1px solid var(--border);background:var(--surface);font:inherit;cursor:pointer;border-radius:8px;padding:8px 12px}.delivery-primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}.delivery-insights{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:18px;padding:14px;display:grid}.delivery-board{grid-template-columns:repeat(6,minmax(190px,1fr));gap:12px;padding-bottom:8px;display:grid;overflow-x:auto}.delivery-stage{border-radius:var(--radius);background:#efefeb;min-width:0;padding:10px}.delivery-stage header,.delivery-card footer,.project-detail header{justify-content:space-between;align-items:center;gap:8px;display:flex}.delivery-stage h2,.delivery-card h3,.project-detail h1{margin:0}.delivery-card{background:var(--surface);border:1px solid var(--border);border-radius:9px;margin-top:9px;padding:11px}.delivery-card p{color:var(--muted);overflow-wrap:anywhere}.delivery-card footer{flex-wrap:wrap}.delivery-card footer button{color:var(--accent);background:0 0;border:0;padding:4px 6px;text-decoration:underline}.risk-high{color:#b42318}.risk-medium{color:#9a6700}.risk-low{color:#175cd3}.delivery-backdrop{z-index:80;background:#20212459;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.delivery-editor,.project-detail{background:var(--surface);border-radius:var(--radius);width:min(680px,100%);max-height:calc(100svh - 32px);padding:20px;overflow:auto;box-shadow:0 12px 32px #0000002e}.delivery-editor form{gap:11px;display:grid}.delivery-editor label{gap:5px;display:grid}.delivery-editor input,.delivery-editor select,.delivery-editor textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;font:inherit;border-radius:7px;padding:9px}.delivery-editor textarea{min-height:60px}.delivery-editor footer{justify-content:flex-end;gap:10px;display:flex}.project-detail{z-index:75;border-radius:0;width:min(620px,100%);position:fixed;inset:0 0 0 auto}.project-detail.full-screen{width:100%;max-height:none;inset:0}.project-detail dt{color:var(--muted)}.project-detail dd{margin:4px 0 0}.project-detail li{overflow-wrap:anywhere}.project-detail section{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.attachment-list ul{padding-left:18px}.attachment-list span{color:var(--muted);font-size:.85rem}.attachment-upload{align-items:center;display:inline-flex}.attachment-upload input{opacity:0;width:1px;height:1px;position:absolute}.delivery-trash{margin-top:22px}.delivery-trash ul{padding:0;list-style:none}.delivery-trash li{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:8px;display:flex}@media (width<=767px){.delivery-page .page-header{flex-direction:column;align-items:flex-start}.delivery-board{grid-template-columns:1fr;display:grid;overflow:visible}.delivery-stage{padding:12px}.project-detail{box-sizing:border-box;width:100%;max-height:none;inset:0}.delivery-card footer button{min-height:var(--touch)}}.delivery-workspace{grid-template-columns:minmax(0,1fr) minmax(360px,620px);align-items:start;gap:16px;display:grid}.relation-form{gap:8px;display:flex}.relation-form select{flex:1;min-width:0}.compact-action,.relation-form button{min-width:var(--touch);min-height:var(--touch)}@media (width<=767px){.delivery-workspace{display:block}.delivery-workspace>.project-detail{display:none}}.review-page{max-width:1240px}.review-header{align-items:flex-start;gap:1rem}.review-range{color:var(--muted,#5d6470);overflow-wrap:anywhere;font-size:.86rem}.review-layout{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);align-items:start;gap:1rem;display:grid}.review-main,.review-side{gap:1rem;display:grid}.review-card{border:1px solid var(--border,#dfe4ea);background:var(--surface,#fff);border-radius:14px;padding:1rem}.review-card h2,.review-card h3{margin-top:0}.review-card h3{margin-bottom:.4rem;font-size:.95rem}.review-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1.2rem;display:grid}.review-facts ul,.review-source-list,.review-history ul{margin:0;padding-left:1.1rem}.review-facts p,.review-card>p{color:var(--muted,#5d6470);margin:.35rem 0}.review-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.review-fields label{gap:.35rem;font-weight:600;display:grid}.review-fields textarea{box-sizing:border-box;border:1px solid var(--border,#b8c0ca);width:100%;min-height:78px;font:inherit;border-radius:8px;padding:.55rem}.review-actions{flex-wrap:wrap;align-items:center;gap:.7rem;margin-top:1rem;display:flex}.review-primary,.review-secondary,.review-link,.review-history button,.review-detail button{min-width:44px;min-height:44px;font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:.5rem .8rem;display:inline-flex}.review-primary{color:#fff;background:#146c55;border:1px solid #135f4b}.review-secondary,.review-history button,.review-detail button{border:1px solid var(--border,#b8c0ca);color:inherit;background:0 0}.review-link{color:#075d9b}.review-source-list li{gap:.1rem;margin:.55rem 0;display:grid}.review-source-list a{align-items:center;min-width:44px;min-height:44px;display:inline-flex}.review-source-list small{color:var(--muted,#5d6470)}.review-history{margin-top:1rem}.review-history li{justify-content:space-between;align-items:center;gap:.8rem;padding:.45rem 0;display:flex}.review-history li>div{flex-wrap:wrap;gap:.4rem;display:flex}.review-dialog-backdrop{z-index:20;background:#0f172a73;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.review-detail{background:#fff;border-radius:14px;width:min(600px,100%);max-height:min(720px,90vh);padding:1rem;overflow:auto}.review-detail header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.review-detail footer{flex-wrap:wrap;justify-content:flex-end;gap:.7rem;margin-top:1rem;display:flex}.review-toast{color:#fff;z-index:25;background:#113b31;border-radius:8px;max-width:min(440px,100vw - 2rem);padding:.8rem 1rem;position:fixed;bottom:1rem;right:1rem}.review-toast-error{background:#8b1e2d}@media (width<=760px){.review-layout,.review-facts,.review-fields{grid-template-columns:1fr}.review-header{display:grid}.review-history li{flex-direction:column;align-items:flex-start}}.learning-page .page-title{align-items:center;gap:10px;display:flex}.learning-page button,.learning-page select,.learning-page input,.learning-page textarea,.learning-detail button,.learning-editor button{font:inherit}.learning-page button,.learning-detail button,.learning-editor button{min-width:var(--touch);min-height:var(--touch);border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;padding:8px 12px}.learning-primary{color:var(--surface)!important;background:var(--accent)!important;border-color:var(--accent)!important}.learning-current{background:var(--yellow);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:24px;display:flex}.learning-current h2,.learning-current p,.learning-section h2,.learning-detail h1,.learning-detail h2{margin-top:0}.learning-current p{color:var(--text)}.learning-muted{color:var(--muted)}.learning-eyebrow{color:var(--muted);margin:0 0 4px;font-size:.84rem;font-weight:700}.learning-goals{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:18px;padding:16px;display:grid}.learning-goals h2{grid-column:1/-1;margin:0}.learning-workspace{grid-template-columns:minmax(0,1fr) minmax(360px,560px);align-items:start;gap:16px;display:grid}.learning-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-top:16px;padding:16px}.learning-section>header,.learning-detail>header,.learning-detail section>header,.learning-topic-card>div:first-child,.learning-topic-card footer,.learning-timeline article>div,.learning-timeline footer,.learning-output-list footer,.learning-editor header,.learning-editor footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.learning-topic-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;display:grid}.learning-topic-card{background:var(--page);border:1px solid var(--border);border-radius:10px;gap:10px;padding:14px;display:grid}.learning-topic-card h3{margin:0}.learning-topic-card p{color:var(--muted);margin:5px 0 0}.learning-topic-card footer{flex-wrap:wrap}.learning-topic-card footer button,.learning-timeline footer button,.learning-output-list footer button{min-height:var(--touch);color:var(--accent);background:0 0;border:0;padding:6px 8px;text-decoration:underline}.learning-topic-progress{align-items:center;gap:8px;display:flex}.learning-topic-progress i{background:var(--border);border-radius:999px;flex:1;height:8px;overflow:hidden}.learning-topic-progress b{background:var(--accent);height:100%;display:block}.learning-recent ol,.learning-section>ul,.learning-output-list,.learning-detail ul{padding-left:20px}.learning-recent li,.learning-section>ul li{justify-content:space-between;gap:10px;padding:6px 0;display:flex}.learning-detail{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-height:calc(100svh - 32px);padding:20px;position:sticky;top:16px;overflow:auto;box-shadow:0 12px 32px #0000001f}.learning-detail.full-screen{z-index:75;border:0;border-radius:0;max-height:none;position:fixed;inset:0}.learning-detail section{border-top:1px solid var(--border);margin-top:16px;padding-top:14px}.learning-detail-action{background:var(--blue);border-radius:10px;padding:16px}.learning-stage-list,.learning-timeline{padding-left:22px}.learning-stage-list li{justify-content:space-between;gap:12px;padding:6px 0;display:flex}.learning-timeline article,.learning-output-list article{background:var(--page);border:1px solid var(--border);border-radius:8px;margin:8px 0;padding:12px}.learning-timeline p,.learning-output-list p{overflow-wrap:anywhere}.learning-relation-form{gap:8px;display:flex}.learning-relation-form select{flex:1;min-width:0}.learning-detail li button{min-height:var(--touch);color:var(--accent);background:0 0;border:0;margin-left:8px;padding:5px 8px;text-decoration:underline}.learning-trash{margin-top:22px}.learning-trash ul{padding:0;list-style:none}.learning-trash li{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:8px;display:flex}.learning-backdrop{z-index:90;background:#20212459;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.learning-editor{background:var(--surface);border-radius:var(--radius);width:min(650px,100%);max-height:calc(100svh - 32px);padding:20px;overflow:auto;box-shadow:0 12px 32px #0000002e}.learning-editor form,.learning-editor label{gap:6px;display:grid}.learning-editor form{gap:12px}.learning-editor input,.learning-editor select,.learning-editor textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;font:inherit;border-radius:7px;padding:9px}.learning-editor textarea{min-height:70px}.learning-editor fieldset{border:1px solid var(--border);border-radius:8px;gap:6px;display:grid}.learning-check{grid-template-columns:auto 1fr;align-items:center;gap:8px;display:flex!important}.learning-check input{width:auto}.learning-editor footer{justify-content:flex-end}@media (width<=767px){.learning-page .page-header,.learning-current{flex-direction:column;align-items:stretch}.learning-workspace{display:block}.learning-workspace>.learning-detail{display:none}.learning-topic-list{grid-template-columns:1fr}.learning-current{padding:18px}.learning-section{margin-top:14px}.learning-recent{order:2}.learning-archived{order:5}.learning-detail{z-index:75;border-radius:0;max-height:none;position:fixed;inset:0}.learning-relation-form{flex-wrap:wrap}.learning-relation-form select{flex-basis:100%}}.learning-page,.learning-page *,.learning-record-detail,.learning-record-detail *{box-sizing:border-box}.learning-page{overflow-x:hidden}.learning-filters{gap:12px;margin:0 0 16px;display:flex}.learning-filters label{flex:1;gap:5px;min-width:0;display:grid}.learning-filters input,.learning-filters select{width:100%;min-height:var(--touch);border:1px solid var(--border);font:inherit;border-radius:8px;padding:8px}.learning-record-detail{max-width:760px}.learning-record-detail dl{gap:12px;display:grid}.learning-record-detail dt{font-weight:700}.learning-record-detail dd{white-space:pre-wrap;margin:4px 0 0}.learning-record-detail section{border-top:1px solid var(--border);margin-top:18px;padding-top:14px}.learning-record-detail a,.learning-detail a{min-height:var(--touch);overflow-wrap:anywhere;align-items:center;display:inline-flex}@media (width<=767px){.learning-backdrop{padding:0}.learning-editor{border-radius:0;width:100%;height:100svh;max-height:none}.learning-editor form{padding-bottom:calc(var(--mobile-nav-height) + 16px)}.learning-filters{flex-direction:column}.learning-page .learning-goals{order:6}.learning-page main{flex-direction:column;display:flex}.learning-page .learning-section{width:100%;min-width:0}.learning-page .learning-recent{order:2}.learning-page .learning-archived{order:5}.learning-page .learning-section:nth-child(3){order:3}.learning-page .learning-section:first-child{order:1}.learning-editor input,.learning-editor select,.learning-editor textarea,.learning-relation-form select,.learning-detail a,.learning-record-detail a{min-height:var(--touch)}}.learning-query-state{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px}.learning-topic-context dl{gap:8px;display:grid}.learning-topic-context dt{font-weight:700}.learning-topic-context dd{white-space:pre-wrap;margin:2px 0 0}.learning-detail-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.learning-example-badge{min-height:24px;color:var(--muted);background:var(--yellow);border-radius:999px;align-items:center;margin-left:8px;padding:2px 7px;font-size:.75rem;font-weight:700;display:inline-flex}.learning-query-ready{display:none}@media (width<=767px){.learning-record-detail.full-screen{z-index:75;background:var(--page);max-width:none;padding-bottom:calc(var(--mobile-nav-height) + 16px);position:fixed;inset:0;overflow:auto}.learning-detail-controls{justify-content:flex-start}}.inbox-page button,.inbox-page input,.inbox-page select,.inbox-page textarea{font:inherit}.inbox-header-actions,.inbox-detail-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inbox-primary,.inbox-page button{min-height:var(--touch);border:1px solid var(--border);color:var(--text);background:var(--surface);cursor:pointer;border-radius:8px;padding:8px 12px}.inbox-primary{color:var(--surface);background:var(--accent);border-color:var(--accent);align-items:center;gap:6px;display:inline-flex}.inbox-search,.inbox-detail label,.quick-capture label,.relation-picker label{color:var(--muted);gap:6px;margin-bottom:12px;display:grid}.inbox-search{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:auto minmax(0,1fr);align-items:center;padding:10px}.inbox-search input,.inbox-detail input,.inbox-detail textarea,.quick-capture input,.quick-capture textarea,.quick-capture select,.relation-picker input{width:100%;min-height:var(--touch);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:9px}.inbox-layout{grid-template-columns:minmax(0,1fr) minmax(300px,390px);gap:20px;margin-top:20px;display:grid}.inbox-record-list,.relation-list ul,.relation-picker ul,.inbox-trash ul{gap:8px;padding:0;list-style:none;display:grid}.inbox-record-list button{text-align:left;gap:4px;width:100%;display:grid}.inbox-record-list span,.inbox-record-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inbox-detail,.relation-list,.relation-picker,.routing-preview{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.inbox-detail header,.inbox-modal header{justify-content:space-between;align-items:center;gap:12px;display:flex}.inbox-detail h2,.routing-preview h2{margin:0}.relation-list li,.relation-picker li,.inbox-trash li{justify-content:space-between;align-items:center;gap:8px;display:flex}.relation-list a{min-height:var(--touch);flex-direction:column;justify-content:center;display:inline-flex}.relation-list a,.relation-picker span{overflow-wrap:anywhere;min-width:0}.relation-list small,.relation-picker small{color:var(--muted);display:block}.relation-undo{align-items:center;gap:8px;display:flex}.inbox-modal-backdrop{z-index:80;background:#2021246b;place-items:center;padding:16px;display:grid;position:fixed;inset:0;overflow-y:auto}.inbox-modal,.routing-preview{width:min(560px,100%);max-height:calc(100svh - 32px);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;overflow-y:auto}.inbox-modal form{gap:8px;display:grid}.inbox-modal footer,.routing-preview footer{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.routing-preview dl{grid-template-columns:minmax(90px,1fr) minmax(0,3fr);gap:8px;display:grid}.routing-preview dt{color:var(--muted)}.routing-preview dd{overflow-wrap:anywhere;margin:0}.routing-preview code{white-space:pre-wrap}.relation-list button,.inbox-attachment-action button{min-width:var(--touch);min-height:var(--touch)}.inbox-trash{margin-top:20px}@media (width<=767px){.inbox-layout{grid-template-columns:minmax(0,1fr)}.inbox-detail{z-index:70;border-radius:0;position:fixed;inset:0;overflow-y:auto}.page-header{align-items:flex-start}.inbox-header-actions{justify-content:flex-end}.routing-preview{border-radius:var(--radius) var(--radius) 0 0;align-self:end;max-height:90svh}}.search-page button,.search-page input,.search-page select{font:inherit}.search-page{min-width:0;overflow-x:clip}.search-header .page-title{align-items:center;gap:10px;display:flex}.search-header .page-title svg{color:var(--accent)}.search-query{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px;display:grid}.search-query>svg{color:var(--muted)}.search-query input,.search-filter-controls input,.search-filter-controls select{width:100%;min-width:0;min-height:var(--touch);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 10px}.search-page button,.search-primary,.search-result__open{min-height:var(--touch);color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;text-decoration:none;display:inline-flex}.search-primary{color:var(--surface);background:var(--accent);border-color:var(--accent)}.search-filter-trigger{display:none!important}.search-layout{grid-template-columns:minmax(228px,280px) minmax(0,1fr);align-items:start;gap:20px;margin-top:20px;display:grid}.search-filters{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;position:sticky;top:16px}.search-filters>header,.search-filter-sheet>header,.search-drawer>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.search-filters h2{align-items:center;gap:8px;margin:0;font-size:1rem;display:flex}.search-filter-controls{gap:14px;margin-top:14px;display:grid}.search-filter-controls>label,.search-filter-dates label{color:var(--muted);gap:6px;font-size:.875rem;display:grid}.search-filter-controls fieldset{border:0;min-width:0;margin:0;padding:0}.search-filter-controls legend{color:var(--muted);margin-bottom:6px;font-size:.875rem}.search-filter-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.search-filter-options label,.search-real-only{min-height:var(--touch);overflow-wrap:anywhere;align-items:center;gap:6px;display:flex}.search-filter-options input,.search-real-only input{width:18px;min-height:18px;padding:0}.search-filter-dates{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.search-filter-chips{flex-wrap:wrap;gap:6px;margin-top:-8px;display:flex}.search-filter-chips button{min-height:var(--touch);padding:4px 8px;font-size:.8125rem}.search-filter-chips svg{width:14px;height:14px}.search-result-count{color:var(--muted);margin-top:0}.search-result-list{gap:10px;display:grid}.search-result{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-width:0;padding:16px;display:grid}.search-result:hover{border-color:color-mix(in srgb, var(--accent) 50%, var(--border))}.search-result__main{min-width:0}.search-result__heading{align-items:center;gap:8px;min-width:0;display:flex}.search-result h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:1.0625rem}.search-result__excerpt{color:var(--muted);overflow-wrap:anywhere;align-items:flex-start;gap:6px;margin:8px 0;display:flex}.search-result__excerpt svg{flex:none;width:18px;height:18px}.search-result__meta{color:var(--muted);flex-wrap:wrap;gap:4px 14px;margin:0;font-size:.8125rem;display:flex}.search-result__meta div{gap:4px;min-width:0;display:flex}.search-result__meta dt{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.search-result__meta dd{overflow-wrap:anywhere;margin:0}.search-result__open{min-width:var(--touch);white-space:nowrap}.search-result__open svg{width:17px;height:17px}.search-badge{color:#5e4b00;background:var(--yellow);border-radius:999px;flex:none;padding:2px 6px;font-size:.75rem}.search-badge--deleted{color:#7a2648;background:var(--pink)}.search-drawer-backdrop,.search-filter-sheet-backdrop{z-index:70;background:#20212461;border:0;position:fixed;inset:0}.search-drawer{z-index:71;width:min(460px,100%);color:var(--text);background:var(--surface);flex-direction:column;gap:18px;padding:24px;display:flex;position:fixed;inset-block:0;inset-inline-end:0;overflow-y:auto;box-shadow:-12px 0 32px #2021242e}.search-drawer header p{color:var(--muted);margin:0 0 4px}.search-drawer h2,.search-drawer h3{margin:0}.search-drawer>header button,.search-filter-sheet>header button{min-width:var(--touch);min-height:var(--touch)}.search-drawer section{gap:8px;display:grid}.search-drawer section p{overflow-wrap:anywhere;margin:0}.search-drawer footer{flex-wrap:wrap;gap:8px;display:flex}.search-callout{background:var(--page);border-radius:8px;margin:0;padding:10px}.search-filter-sheet-backdrop{display:block}.search-filter-sheet{z-index:71;padding:20px 16px calc(20px + env(safe-area-inset-bottom));color:var(--text);background:var(--surface);flex-direction:column;display:flex;position:fixed;inset:0;overflow-y:auto}@media (width<=767px){.search-query{grid-template-columns:auto minmax(0,1fr) auto}.search-query .search-primary{display:none}.search-filter-trigger{display:inline-flex!important}.search-layout{margin-top:16px;display:block}.search-filters{display:none}.search-result{grid-template-columns:minmax(0,1fr);gap:12px}.search-result__open{width:100%}.search-filter-sheet-backdrop{display:block}.search-filter-sheet{z-index:71;padding:20px 16px calc(20px + env(safe-area-inset-bottom));color:var(--text);background:var(--surface);flex-direction:column;display:flex;position:fixed;inset:0;overflow-y:auto}.search-filter-sheet h2{margin:0}.search-filter-controls--sheet{flex:1}.search-filter-sheet footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:20px;display:grid}.search-drawer{z-index:75;width:100%;padding-bottom:calc(20px + env(safe-area-inset-bottom))}.search-drawer-backdrop{z-index:74}}.reminders-page .page-title{align-items:center;gap:10px;display:flex}.notification-settings,.reminder-times,.reminder-toolbar,.reminder-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.notification-settings{margin-bottom:12px;padding:16px}.notification-settings h2{margin:0;font-size:1.1rem}.notification-settings p{margin:8px 0}.notification-settings__hint,.reminder-muted{color:var(--muted);font-size:.9rem}.reminder-times{flex-wrap:wrap;gap:12px;padding:12px 16px;display:flex}.reminder-times label{gap:4px;min-width:150px;display:grid}.reminder-times input,.reminder-times select{min-width:var(--touch);min-height:var(--touch);border:1px solid var(--border);border-radius:6px;padding:6px}.reminder-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:16px 0;padding:12px;display:flex}.reminder-search{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.reminder-search input{width:100%;min-width:0;min-height:var(--touch);border:1px solid var(--border);border-radius:6px;padding:8px}.reminder-message{background:color-mix(in srgb, var(--yellow) 28%, var(--surface));border-radius:6px;padding:10px 12px}.reminder-list{gap:12px;display:grid}.reminder-card{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.reminder-card--overdue{border-inline-start:4px solid #ba4b3a}.reminder-card h2{margin:0;font-size:1.05rem}.reminder-card p{margin:6px 0 0}.reminder-card__title,.reminder-card__actions,.reminder-reschedule{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.reminder-card__title{gap:6px}.reminder-example-badge{color:#6b4b00;background:color-mix(in srgb, var(--yellow) 35%, var(--surface));border-radius:999px;padding:2px 7px;font-size:.8rem;font-weight:700}.reminder-card__actions a,.reminder-card__actions button,.notification-settings button,.reminder-toolbar button,.reminder-reschedule button{min-width:var(--touch);min-height:var(--touch);border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:6px;align-items:center;padding:8px 12px;text-decoration:none;display:inline-flex}.reminder-card__actions button:disabled{color:var(--muted);cursor:not-allowed}.reminder-reschedule{width:100%;padding-top:8px}.reminder-reschedule label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.reminder-reschedule input{min-width:var(--touch);min-height:var(--touch);border:1px solid var(--border);border-radius:6px;padding:6px}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=767px){.reminder-toolbar{flex-direction:column;align-items:stretch}.reminder-card{align-items:stretch}.reminder-card__actions{width:100%}.reminder-card__actions>*{flex:44%;justify-content:center}.reminder-times label,.reminder-times input{width:100%}}.ai-page{gap:24px;display:grid}.ai-kicker{color:var(--accent);letter-spacing:.04em;margin:0 0 6px;font-size:.82rem;font-weight:700}.ai-disabled-actions,.ai-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.state-panel-action-control.secondary{color:var(--text);background:var(--surface);border:1px solid var(--border)}.ai-configuration-note,.ai-message,.ai-request,.ai-preview,.ai-history{overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}.ai-request{gap:16px;display:grid}.ai-request label{gap:7px;font-weight:700;display:grid}.ai-request select,.ai-request textarea{width:100%;min-height:var(--touch);color:var(--text);background:var(--surface);border:1px solid var(--border);resize:vertical;border-radius:8px;padding:10px 12px}.ai-request p,.ai-operation p,.ai-history span{color:var(--muted)}.ai-request button,.ai-actions button,.ai-history button{min-height:var(--touch);color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:9px 14px}.ai-request button.primary,.ai-actions button.primary{color:var(--surface);background:var(--accent);border-color:var(--accent)}.ai-request button:disabled{opacity:.65;cursor:wait}.ai-preview__header,.ai-operation header,.ai-history>header,.ai-history li{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-preview h2,.ai-history h2,.ai-operation h3{margin:0}.ai-explanation{background:var(--page);border-radius:8px;padding:12px 14px}.ai-operation-list,.ai-history ul{gap:14px;margin:18px 0;padding:0;list-style:none;display:grid}.ai-operation{border:1px solid var(--border);border-radius:10px;min-width:0;padding:16px}.ai-operation__kind{color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, transparent);border-radius:999px;padding:4px 8px;font-size:.8rem}.ai-diff{gap:10px;min-width:0;display:grid}.ai-diff__row{grid-template-columns:minmax(80px,.45fr) repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.ai-diff__row>div{min-width:0}.ai-diff__row span{color:var(--muted);margin-bottom:4px;font-size:.78rem;display:block}.ai-diff pre{white-space:pre-wrap;word-break:break-word;background:var(--page);border-radius:6px;max-height:220px;margin:0;padding:9px;overflow:auto}.ai-history li{border-top:1px solid var(--border);padding:14px 0}.ai-history li>div{gap:4px;min-width:0;margin-right:auto;display:grid}@media (width<=767px){.ai-preview__header,.ai-operation header,.ai-history li{flex-direction:column;align-items:flex-start}.ai-diff__row{grid-template-columns:1fr}.ai-actions,.ai-disabled-actions{flex-direction:column;align-items:stretch}.ai-actions button,.ai-disabled-actions a{width:100%}}.settings-page{overflow-wrap:anywhere;min-width:0}.settings-page button,.settings-page a,.settings-page select,.settings-page input{min-width:var(--touch);min-height:var(--touch)}.settings-page .page-header p{color:var(--muted);margin:6px 0 0}.settings-card,.notification-settings{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;margin-block:16px;padding:20px}.settings-card h2,.notification-settings h2{margin:0 0 12px;font-size:1.125rem}.settings-card p:last-child,.notification-settings p:last-child{margin-bottom:0}.settings-actions,.settings-links{flex-wrap:wrap;gap:8px;display:flex}.settings-action{min-width:var(--touch);min-height:var(--touch);color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:8px 14px;text-decoration:none;display:inline-flex}.settings-action.primary{color:var(--surface);background:var(--accent);border-color:var(--accent)}.settings-action.danger{color:#8b1e1e;border-color:#d7a6a6}.settings-action:disabled{cursor:not-allowed;opacity:.55}.notification-settings button{min-width:var(--touch);min-height:var(--touch);border:1px solid var(--border);font:inherit;border-radius:8px;padding:8px 14px}.settings-hint,.settings-card small,.trash-list time{color:var(--muted)}.settings-message{background:color-mix(in srgb, var(--green) 45%, white);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.settings-message.error{color:#8b1e1e;background:#fff1f1}.settings-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settings-form h2,.settings-form .confirm-check,.settings-form .settings-action{grid-column:1/-1}.settings-form label,.settings-dialog label{gap:6px;display:grid}.settings-form input,.settings-form select,.settings-dialog input,.import-preview select{width:100%;min-width:0;min-height:var(--touch);color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:8px;padding:8px 10px}.confirm-check{min-height:var(--touch);align-items:center;gap:10px;grid-template-columns:none!important;display:flex!important}.confirm-check input{width:var(--touch);min-height:var(--touch)}.preview-counts{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.preview-counts span{text-align:center;background:var(--page);border-radius:8px;padding:10px}.import-records,.trash-list{margin:16px 0;padding:0;list-style:none}.import-records li,.trash-list li{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex}.import-records li>div,.trash-list li>div:first-child{gap:4px;min-width:0;display:grid}.import-records label{min-width:160px}.file-picker{position:relative;overflow:hidden}.file-picker input{opacity:0;cursor:pointer;position:absolute;inset:0}.record-kind{width:max-content;color:var(--muted);background:var(--page);border-radius:999px;padding:2px 8px;font-size:.8125rem}.trash-list a{font-weight:700}.settings-dialog-backdrop{z-index:80;background:#2021246b;border:0;position:fixed;inset:0}.settings-dialog{z-index:81;background:var(--surface);border-radius:var(--radius);width:min(480px,100vw - 32px);max-height:calc(100svh - 32px);padding:24px;position:fixed;inset:50% auto auto 50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 18px 50px #2021243d}.settings-dialog h2{margin-top:0}.recovery-list{grid-template-columns:max-content minmax(0,1fr);gap:10px 16px;margin:0;display:grid}.recovery-list dt{font-weight:700}.recovery-list dd{margin:0}.changelog-list article time{color:var(--muted)}@media (width<=600px){.settings-card,.notification-settings{padding:16px}.settings-form,.preview-counts,.recovery-list{grid-template-columns:1fr}.import-records li,.trash-list li{flex-direction:column;align-items:stretch}.settings-actions .settings-action,.settings-links .settings-action{flex:140px}}
