:root{--bg:#f5f5f7;--surface:rgba(255,255,255,.78);--surface-strong:#fff;--text:#1d1d1f;--muted:#6e6e73;--line:rgba(0,0,0,.08);--accent:#0071e3;--accent-soft:rgba(0,113,227,.1);--shadow:0 12px 40px rgba(0,0,0,.06);--radius:24px}@media(prefers-color-scheme:dark){:root{--bg:#0b0b0c;--surface:rgba(28,28,30,.78);--surface-strong:#1c1c1e;--text:#f5f5f7;--muted:#a1a1a6;--line:rgba(255,255,255,.09);--accent:#2997ff;--accent-soft:rgba(41,151,255,.12);--shadow:0 18px 50px rgba(0,0,0,.25)}}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(circle at 10% 0,rgba(0,113,227,.08),transparent 26%),radial-gradient(circle at 92% 12%,rgba(175,82,222,.06),transparent 24%),var(--bg);font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:22px 14px;border-right:1px solid var(--line);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:color-mix(in srgb,var(--bg) 84%,transparent)}.brand{display:flex;align-items:center;gap:10px;padding:8px 12px 22px;font-weight:700;letter-spacing:-.03em}.logo{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,var(--accent),#67b8ff);color:#fff;box-shadow:0 8px 20px rgba(0,113,227,.24)}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;color:var(--muted);font-size:14px}.nav a:hover{background:var(--surface);color:var(--text)}.main{min-width:0;padding:34px clamp(18px,4vw,56px) 80px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:28px}.eyebrow{color:var(--muted);font-size:13px;font-weight:600;margin-bottom:5px}h1{font-size:clamp(32px,4vw,48px);margin:0;letter-spacing:-.05em;line-height:1.04}h2{letter-spacing:-.03em}.search-button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:14px;padding:10px 12px;display:flex;gap:12px;box-shadow:var(--shadow)}kbd{border:1px solid var(--line);background:var(--surface-strong);border-radius:7px;padding:2px 6px;font-size:11px}.capture{display:flex;align-items:center;gap:10px;padding:12px;margin-bottom:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--shadow)}.capture input{flex:1 1;min-width:0;border:0;outline:0;color:var(--text);background:transparent;padding:5px}.capture button,.primary{border:0;border-radius:12px;padding:10px 14px;background:var(--accent);color:#fff;font-weight:650;cursor:pointer}.grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr)}.grid,.stack{display:grid;gap:18px}.stack{align-content:start}.card{border:1px solid var(--line);background:var(--surface);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;margin-bottom:18px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.card h2{font-size:18px;margin:0}.link{font-size:13px;color:var(--accent)}.task{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:13px 0;border-top:1px solid var(--line)}.check{width:20px;height:20px;border:1.5px solid var(--muted);border-radius:50%;background:transparent;cursor:pointer}.check.done{background:var(--accent);border-color:var(--accent)}.task-title{font-weight:650;font-size:14px;margin-bottom:5px}.meta{display:flex;flex-wrap:wrap;gap:6px;color:var(--muted);font-size:12px}.pill{padding:4px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:600}.score{min-width:35px;text-align:center;padding:5px 7px;border-radius:10px;background:var(--surface-strong);color:var(--muted);font-size:12px;font-weight:700}.idea,.project,.waiting{padding:12px 0;border-top:1px solid var(--line)}.row{display:flex;justify-content:space-between;gap:12px;align-items:center}.progress{height:7px;background:var(--line);border-radius:999px;overflow:hidden;margin:9px 0}.progress>span{display:block;height:100%;background:var(--accent)}.idea{font-size:14px;line-height:1.5;display:block}.waiting{display:flex;gap:10px}.dot{width:8px;height:8px;border-radius:50%;background:#ff9f0a;margin-top:6px}.auth-form,.form-grid{display:grid;gap:12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.form-grid textarea{min-height:90px;grid-column:1/-1}.auth-form input,.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid var(--line);background:var(--surface-strong);color:var(--text);border-radius:12px;padding:11px 12px;outline:none}.form-grid label{display:grid;gap:6px;color:var(--muted);font-size:12px}.auth-wrap,.onboard-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card,.onboard-card{width:min(100%,460px);border:1px solid var(--line);background:var(--surface);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--shadow);border-radius:30px;padding:28px}.onboard-card{width:min(100%,900px)}.auth-copy{color:var(--muted);line-height:1.5}.auth-links{display:flex;justify-content:space-between;margin-top:18px;font-size:13px}.text-button{border:0;background:none;color:var(--accent);padding:0;cursor:pointer}.error{color:#ff453a}.onboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.onboard-grid article{border:1px solid var(--line);border-radius:18px;padding:16px;background:var(--surface-strong)}.onboard-grid p{color:var(--muted);font-size:14px;line-height:1.5}.mobile-nav{display:none}@media(max-width:900px){.shell{grid-template-columns:76px minmax(0,1fr)}.brand span:last-child,.nav span:last-child{display:none}.brand,.nav a{justify-content:center}.grid{grid-template-columns:1fr}.onboard-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.shell{display:block}.sidebar{display:none}.main{padding:22px 16px 96px}.topbar{align-items:center;margin-bottom:20px}h1{font-size:34px}.search-button{width:44px;height:44px;overflow:hidden;font-size:0;display:grid;place-items:center}.search-button kbd{font-size:10px}.capture{position:sticky;top:10px;z-index:5}.card{border-radius:20px;padding:17px}.form-grid{grid-template-columns:1fr}.mobile-nav{position:fixed;display:flex;left:12px;right:12px;bottom:12px;z-index:10;justify-content:space-around;border:1px solid var(--line);border-radius:22px;background:color-mix(in srgb,var(--surface-strong) 86%,transparent);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 18px 50px rgba(0,0,0,.14);padding:8px}.mobile-nav a{width:46px;height:42px;display:grid;place-items:center;color:var(--muted)}.onboard-grid{grid-template-columns:1fr}}.item-editor{min-width:0;margin:8px 0}.item-editor summary{color:var(--accent);cursor:pointer;font-size:13px}.item-editor[open]{grid-column:1/-1}.item-editor>form{margin-bottom:12px}.task>div,.waiting>div{min-width:0}.idea,.task-title,.waiting{overflow-wrap:anywhere}.auth-form label{display:grid;gap:6px;font-size:13px;color:var(--muted)}.auth-notice{padding:12px;border-radius:12px;background:var(--accent-soft);color:var(--text);font-size:14px;line-height:1.6}.auth-card button:disabled{opacity:.55;cursor:wait}.form-grid{gap:20px 18px;align-items:start;margin-top:22px}.form-grid .form-field{display:flex;flex-direction:column;gap:8px;min-width:0;align-self:start}.field-label{display:flex;align-items:baseline;gap:8px;color:var(--text);font-size:13px;font-weight:600;line-height:1.5}.field-optional{font-size:11px}.field-hint,.field-optional{color:var(--muted);font-weight:400}.field-hint{display:block;font-size:12px;line-height:1.6}.field-wide,.form-actions{grid-column:1/-1}.auth-form input,.form-grid input,.form-grid select,.form-grid textarea{min-width:0;min-height:44px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.form-grid textarea{resize:vertical;min-height:110px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}.form-grid select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;cursor:pointer}.auth-form input:focus-visible,.form-grid :is(input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--accent)}.form-grid .checkbox-field{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:28px;color:var(--text);font-size:13px;line-height:1.5;cursor:pointer}.form-grid .checkbox-field input{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:var(--accent)}.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:6px}.form-actions .primary{min-height:42px;min-width:112px}.section-copy{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.75;overflow-wrap:anywhere}.card-head{gap:12px;align-items:flex-start}.card-head h2{min-width:0;overflow-wrap:anywhere;line-height:1.4}.card-head>.pill{flex-shrink:0}.meta{gap:6px 12px;line-height:1.7}.meta,.pill{align-items:center;overflow-wrap:anywhere}.pill{display:inline-flex;line-height:1.4;font-size:11px;max-width:100%}.tag-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.task-title{line-height:1.6}.task:has(>.item-content){grid-template-columns:20px minmax(0,1fr)}.task>.item-content,.waiting>.item-content{min-width:0;width:100%}.task .check{margin-top:3px}.waiting{align-items:flex-start;gap:12px;padding:18px 0}.waiting>.item-content{flex:1 1}.waiting>.item-actions{flex-shrink:0;padding-top:2px}.item-text{white-space:pre-wrap;line-height:1.75;margin-bottom:8px}.item-actions{margin-top:10px}.resource-link{display:block;margin-bottom:8px}.item-editor{margin-top:12px}.item-editor>summary{display:inline-flex;align-items:center;gap:8px;list-style:none;font-weight:500;padding:4px 0}.item-editor>summary::-webkit-details-marker{display:none}.item-editor>summary:after{content:"＋";font-size:14px}.item-editor[open]>summary:after{content:"−"}.item-editor[open]{margin-top:14px;padding:14px 16px;background:var(--surface-strong);border:1px solid var(--line);border-radius:16px}.item-editor .form-grid{margin-top:16px}.item-editor .editor-delete{padding-top:12px;margin-bottom:0;border-top:1px solid var(--line)}.danger-button{color:#d83b32}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.project-grid>.card{margin-bottom:0}.empty-state{padding:24px 0;color:var(--muted);font-size:14px;line-height:1.7}.page-actions{justify-content:flex-end;gap:12px;flex-shrink:0}.help-link,.page-actions{display:flex;align-items:center}.help-link{gap:7px;font-size:13px;color:var(--muted);white-space:nowrap}.help-link:hover,.help-toc a:hover{color:var(--accent)}.search-button{align-items:center;white-space:nowrap}.settings-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:24px;line-height:1.5}.session-logout{margin-top:22px}.onboard-card>form{display:inline-block;margin-right:18px;margin-bottom:10px}.auth-help{display:block;margin-top:22px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}.help-content{width:100%;max-width:1120px;margin:0 auto}.help-public{width:min(1180px,100%);margin:0 auto;padding:26px clamp(18px,4vw,40px) 64px}.help-public-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:36px}.help-public-header .brand{padding:0}.help-public-header>.primary{font-size:13px;white-space:nowrap}.help-heading h1{margin-top:10px}.help-toc{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 32px}.help-toc a{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:9px 13px;color:var(--muted);font-size:13px}.help-section{scroll-margin-top:24px;margin-bottom:26px}.help-section>h2,.section-heading h2{margin:0;font-size:21px;line-height:1.5}.section-heading{margin-bottom:18px}.help-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.help-module{margin:0;-webkit-backdrop-filter:none;backdrop-filter:none}.help-module-title{display:flex;align-items:center;gap:12px}.help-module-title h3{margin:0;font-size:16px;letter-spacing:-.02em}.help-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}.help-faq p,.help-list,.help-module p,.help-steps p{font-size:14px;line-height:1.85;color:var(--muted)}.help-module p{margin:14px 0 0}.help-module .help-example{padding-top:12px;border-top:1px solid var(--line);font-size:12px}.relationship-map{margin:24px 0;background:var(--accent-soft);border-radius:18px;padding:22px}.relationship-project{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;font-size:15px}.relationship-project>svg{color:var(--accent)}.relationship-project>span{font-size:13px;color:var(--muted)}.relationship-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.relationship-children>span{padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface-strong);font-size:13px;line-height:1.6}.help-list{padding-left:20px;margin-bottom:0}.help-list li+li{margin-top:8px}.help-steps{list-style:none;counter-reset:help-step;padding:0;margin:24px 0}.help-steps li{counter-increment:help-step;position:relative;padding:0 0 22px 46px}.help-steps li:last-child{padding-bottom:0}.help-steps li:before{content:counter(help-step);display:grid;place-items:center;position:absolute;left:0;top:0;width:30px;height:30px;border-radius:10px;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:700}.help-steps strong{font-size:14px;line-height:1.7}.help-steps p{margin:4px 0 0}.help-tip{padding:15px 18px;background:var(--accent-soft);border-radius:14px;font-size:13px;line-height:1.85}.help-faq{padding:18px 0;border-bottom:1px solid var(--line)}.help-faq:last-child{border-bottom:0;padding-bottom:0}.help-faq summary{font-size:14px;font-weight:600;line-height:1.7;cursor:pointer}.help-faq p{margin:12px 0 0}.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.contact-item{display:flex;align-items:flex-start;gap:12px;padding:18px;background:var(--accent-soft);border-radius:16px;min-width:0}.contact-item>svg{color:var(--accent);flex-shrink:0;margin-top:2px}.contact-item>div{min-width:0}.contact-value{display:block;margin-top:8px;font:inherit;font-size:14px;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.contact-note{margin:20px 0 0}@media(max-width:1100px){.project-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.form-grid{gap:18px;margin-top:20px}.form-actions{gap:10px}.form-actions>.primary{min-width:112px}.topbar{gap:12px;align-items:flex-start}.topbar>div:first-child{min-width:0}.topbar h1{overflow-wrap:anywhere;line-height:1.15}.page-actions{gap:8px;padding-top:2px}.help-link{width:36px;height:42px;justify-content:center}.help-link span{display:none}.search-button{display:flex;width:42px;height:42px;padding:0;justify-content:center}.search-button kbd,.search-button span{display:none}.item-editor[open]{padding:14px 12px}.waiting{gap:8px}.waiting>.item-actions{font-size:12px;white-space:nowrap}.contact-grid,.help-module-grid,.relationship-children{grid-template-columns:minmax(0,1fr)}.help-public-header .brand span:last-child{display:inline}.help-public-header .brand{font-size:14px}.help-section>h2,.section-heading h2{font-size:19px}.help-module-title h3{font-size:15px}.relationship-map{padding:17px}.help-content .topbar{margin-bottom:20px}}@media(forced-colors:active){.form-grid select{appearance:auto;background-image:none;padding-right:12px}}.form-grid .form-field :is(input,select,textarea){font-size:14px;color:var(--text)}.auth-form input{font-size:16px}.auth-card .brand span:last-child,.help-public-header .brand span:last-child,.onboard-card .brand span:last-child{display:inline}@media(max-width:640px){.form-grid .form-field :is(input,select,textarea){font-size:16px}}@media(max-width:640px){.mobile-more>summary,.mobile-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:46px;height:44px;color:var(--muted)}.mobile-more>summary>span,.mobile-nav>a>span{font-size:10px;line-height:1.2}.mobile-more{position:relative}.mobile-more>summary{list-style:none;cursor:pointer}.mobile-more>summary::-webkit-details-marker{display:none}.mobile-more[open]>summary{color:var(--accent)}.mobile-more-menu{position:absolute;bottom:calc(100% + 18px);right:-4px;width:200px;border:1px solid var(--line);border-radius:18px;padding:7px;background:var(--surface-strong);box-shadow:var(--shadow)}.mobile-nav .mobile-more-menu a{display:flex;flex-direction:row;justify-content:flex-start;gap:10px;width:auto;height:auto;min-height:44px;padding:10px 12px;border-radius:11px;font-size:13px}.mobile-more-menu a:hover{background:var(--accent-soft);color:var(--accent)}}.grid>.card,.stack>.card{margin-bottom:0}.workspace-frame{--action-color:var(--accent)}.workspace-frame[data-theme=DARK]{--action-color:color-mix(in srgb,var(--accent) 65%,white)}.workspace-frame .help-steps li:before,.workspace-frame .item-editor>summary,.workspace-frame :is(.link,.help-icon,.pill){color:var(--action-color)}.workspace-frame .text-button:not(.danger-button){color:var(--action-color)}@media(prefers-color-scheme:dark){.workspace-frame[data-theme=SYSTEM]{--action-color:color-mix(in srgb,var(--accent) 65%,white)}}.editor-fields:disabled{opacity:.7}.item-editor[aria-busy=true]{cursor:wait}.item-editor button:disabled{opacity:.6;cursor:wait}.record-groups{display:grid;gap:26px}.record-group{min-width:0}.record-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:4px 0 2px;border-radius:12px;background:var(--accent-soft)}.record-group-head h3{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere;min-width:0}.record-group-head>.meta{flex-shrink:0;font-size:12px}.task-tree-row[data-depth]:not([data-depth="0"]){border-inline-start:2px solid var(--line);padding-inline-start:10px}.project-status-group{margin:26px 0;min-width:0}.project-status-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.project-status-head h2{font-size:18px;margin:0}.project-grid .card-head h3{margin:0;font-size:18px;line-height:1.5;min-width:0;overflow-wrap:anywhere}.notifications{position:fixed;inset:auto 24px 24px auto;z-index:1000;max-width:min(420px,calc(100vw - 32px));pointer-events:none}.save-notice{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid rgba(34,139,80,.24);border-radius:16px;background:#f1fcf5;color:#185b32;box-shadow:0 10px 40px rgba(0,0,0,.12);font-size:14px;line-height:1.6;pointer-events:auto}.notice-check{font-weight:700;font-size:18px;flex-shrink:0}.save-notice>button{display:grid;place-items:center;flex:0 0 28px;height:28px;margin-left:8px;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font-size:22px;cursor:pointer}.save-notice>button:hover{background:rgba(0,0,0,.06)}@media(prefers-color-scheme:dark){.save-notice{background:#15291c;color:#b8f5c9;border-color:#31573e}}@media(max-width:640px){.notifications{inset:14px 16px auto 16px;max-width:none}.save-notice{padding:12px 14px}.record-group-head{padding:11px 12px}.record-groups{gap:22px}}.ai-workspace{margin:0 auto}.ai-settings,.ai-workspace{max-width:1000px}.ai-entry{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--accent);padding:7px 10px;margin:10px 0 0;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft)}.ai-dashboard-entry{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:-10px 0 20px}.ai-dashboard-entry .ai-entry{margin:0}.ai-secondary{min-height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface-strong);color:var(--text);padding:9px 14px;cursor:pointer}.ai-settings button:disabled,.ai-workspace button:disabled{opacity:.5;cursor:default}.ai-workspace input:disabled,.ai-workspace select:disabled,.ai-workspace textarea:disabled{opacity:.7}.ai-context{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--surface-strong);font-size:13px;min-width:0}.ai-context summary{cursor:pointer;font-weight:600;line-height:1.7}.ai-context pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.8;max-height:280px;overflow:auto;margin-bottom:0;color:var(--muted)}.ai-notice{background:var(--accent-soft)}.ai-error,.ai-notice{padding:14px 16px;border-radius:12px;font-size:13px;line-height:1.8}.ai-error{background:color-mix(in srgb,#d83b32 10%,var(--surface-strong));color:var(--text);border:1px solid color-mix(in srgb,#d83b32 35%,transparent);overflow-wrap:anywhere}.ai-delete{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding-top:16px;border-top:1px solid var(--line);margin-top:20px;font-size:12px;color:var(--muted)}.ai-result>.item-text{font-size:15px;margin:22px 0 14px}.ai-points{padding-left:22px;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.ai-draft{background:var(--accent-soft);padding:16px;border-radius:14px;margin-top:20px}.ai-draft h3{font-size:14px;margin-top:0}.ai-draft p{font-size:13px}.ai-task{border:1px solid var(--line);border-radius:16px;padding:12px 16px 16px;min-width:0;display:grid;gap:16px;background:var(--surface-strong)}.ai-task legend{padding:0 8px}.ai-task .form-field{width:100%}.ai-settings .field-hint{line-height:1.8}@media(max-width:640px){.ai-context{padding:12px}.ai-task{padding:10px 12px 14px}.ai-result .card-head{flex-wrap:wrap}.ai-result .form-actions{align-items:flex-start}.ai-workspace .pill{max-width:180px}}.ai-settings,.ai-workspace>.card{-webkit-backdrop-filter:none;backdrop-filter:none}a,button,input,select,summary,textarea{-webkit-tap-highlight-color:transparent}a,button,summary{transition:background-color .15s,color .15s,box-shadow .15s,opacity .15s,transform .12s}button:not(:disabled):active{transform:translateY(1px) scale(.98)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.5;cursor:default}.primary:not(:disabled):hover{filter:brightness(1.12);box-shadow:0 5px 18px var(--accent-soft)}.text-button:not(:disabled):hover{text-decoration:underline;text-underline-offset:4px}.nav a:hover{background:var(--accent-soft)}.action-form{min-width:0}.editor-fields{display:contents;border:0;margin:0;padding:0;min-width:0}.action-progress{font-size:12px;color:var(--muted);line-height:1.6}.action-form:not(.form-grid)>.action-progress{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}.action-form[aria-busy=true] .check{border-style:dashed;animation:action-spin 1s linear infinite}.item-editor:has(>.action-form[aria-busy=true])>.editor-delete{display:none}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:var(--surface-strong);color:var(--muted);cursor:pointer}.icon-button:not(:disabled):hover{color:var(--accent);background:var(--accent-soft)}.create-toolbar{position:sticky;top:10px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-bottom:22px;border:1px solid var(--line);border-radius:16px;background:var(--surface-strong);box-shadow:var(--shadow)}.create-toolbar>.primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:42px}.create-dialog{color:var(--text);background:var(--surface-strong);border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 90px #0004;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;overflow:auto;overscroll-behavior:contain}.create-dialog::backdrop{background:rgba(0,0,0,.45)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 18px;position:sticky;top:0;z-index:2;background:var(--surface-strong);border-bottom:1px solid var(--line)}.dialog-head h2{font-size:21px;line-height:1.5;margin:0}.dialog-head .section-copy{margin-top:6px}.dialog-form{padding:0 24px 24px}.dialog-form .form-actions{position:sticky;bottom:-1px;z-index:1;background:var(--surface-strong);padding:14px 0 2px;border-top:1px solid var(--line)}.create-dialog input,.create-dialog select,.create-dialog textarea{font-size:16px}body:has(.create-dialog[open]){overflow:hidden}.timezone-control>.text-button{margin-top:10px;font-size:13px}.timezone-control p{margin-bottom:0}.dashboard-mode{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.7;font-weight:600}.dashboard-mode input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.recommendation-hint{line-height:1.85;margin:12px 0}.dashboard-task{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:start;gap:12px;padding:17px 0;border-top:1px solid var(--line);scroll-margin-top:100px}.dashboard-task-list{margin-top:20px}.dashboard-task-content{min-width:0}.dashboard-task .task-title{display:block;overflow-wrap:anywhere}.dashboard-task .check{margin-top:3px}.dashboard-task.is-complete .task-title{text-decoration:line-through;color:var(--muted)}.dashboard-task.is-dragging{opacity:.4;background:var(--accent-soft)}.task-order-controls{display:flex;gap:5px}.drag-handle{cursor:grab;touch-action:pan-y}.drag-handle:active{cursor:grabbing}.dashboard-tasks{-webkit-backdrop-filter:none;backdrop-filter:none}.task-tree-row{scroll-margin-top:90px}.workspace-loading{display:flex;align-items:center;gap:12px;color:var(--muted);padding:24px}.loading-spinner{width:20px;height:20px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:action-spin .7s linear infinite}@keyframes action-spin{to{transform:rotate(1turn)}}@media(max-width:640px){.create-toolbar{top:8px;padding:10px 12px}.create-toolbar>.field-hint{font-size:11px;max-width:52%;line-height:1.6}.create-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:20px}.dialog-head{padding:16px}.dialog-form{padding:0 16px 18px}.dashboard-task{grid-template-columns:20px minmax(0,1fr);gap:10px}.task-order-controls{grid-column:2;justify-content:flex-end}.task-order-controls>.icon-button{width:38px;height:36px}.dashboard-task>.score{grid-column:2;justify-self:end}.dialog-head>.icon-button{width:36px;height:36px}.dialog-head h2{font-size:19px}}@media(prefers-reduced-motion:reduce){a,button,summary{transition:none}.action-form[aria-busy=true] .check,.loading-spinner{animation:none}}