@charset "UTF-8";
:root{color-scheme:light;--paper:#FDFDFC;--surface:#F4F4F0;--line:#E5E6DF;--ink:#292F2B;--muted:#697169;--green:#52675C;--soft:#EAF0E9;--clay:#825D48;--clay-soft:#F5EEE7;--blue:#526678;--blue-soft:#ECF0F4;--danger:#A04137;--radius:12px}
*{box-sizing:border-box}body{margin:0;background:#EDEEE9;color:var(--ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC",sans-serif;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid var(--green);outline-offset:1px}button:disabled{opacity:.5;cursor:wait}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.3;letter-spacing:-1.3px;font-weight:600}h2{font-size:24px;line-height:1.4;letter-spacing:-.6px;font-weight:600}h3{font-size:17px;font-weight:600}small,.small{font-size:14px}.muted{color:var(--muted)}.eyebrow{display:block;font-size:11px;font-weight:600;letter-spacing:2px;color:var(--muted);margin-bottom:8px}.app{max-width:520px;min-height:100dvh;margin:auto;background:var(--paper);position:relative}.topbar{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 18px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:650;letter-spacing:3px;line-height:1.1}.brand-en{display:block;font-size:9px;letter-spacing:3.5px;font-weight:500;margin-top:5px}.brand-mark{position:relative;width:29px;height:29px;border:2px solid var(--green);border-top:0;border-right:0}.brand-mark:before{content:"";position:absolute;left:0;top:0;width:12px;height:2px;background:var(--green)}.brand-mark:after{content:"";position:absolute;right:0;top:0;width:8px;height:8px;background:var(--green)}.top-right{display:flex;align-items:center;gap:8px}.local-label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.local-label i{height:5px;width:5px;background:var(--green);border-radius:50%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;flex-shrink:0}.icon-btn:hover{background:var(--surface)}main{padding:14px 24px 180px;min-height:70vh}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:6px 0 24px}.page-heading p{color:var(--muted);font-size:14px;margin-top:8px}.date-index{font-size:44px;font-weight:300;line-height:1;color:var(--green);letter-spacing:-2px}.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding-bottom:22px;border-bottom:1px solid var(--line)}.day{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0 8px;min-height:78px;border-radius:9px;position:relative}.day .weekday{font-size:12px;color:var(--muted)}.day .number{font-size:17px;font-weight:500}.day .dot{width:3px;height:3px;border-radius:50%;background:var(--green)}.day.selected{background:var(--green);color:white}.day.selected .weekday{color:#E2E8E1}.day.selected .dot{background:white}.day.is-today:not(.selected){box-shadow:inset 0 0 0 1px var(--line)}.daily-note{display:flex;align-items:center;gap:16px;margin:24px 0;padding:20px;background:var(--soft);border:1px solid #DFE6DB;border-radius:var(--radius)}.daily-note h3{font-size:17px;letter-spacing:.1px}.daily-note p{font-size:13px;color:#596750;margin-top:5px}.progress-ring{width:48px;height:48px;flex:none;border-radius:50%;background:conic-gradient(var(--green) var(--progress),#D2DBCF 0);display:grid;place-items:center}.progress-ring span{display:grid;place-items:center;background:var(--soft);border-radius:50%;height:40px;width:40px;font-size:13px;font-weight:600;color:var(--green)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 18px}.section-head h2{font-size:18px;letter-spacing:0}.section-head span{font-size:13px;color:var(--muted)}.text-btn{color:var(--green);font-size:14px;min-height:44px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.text-btn svg{width:17px}.timeline-item{display:grid;grid-template-columns:47px minmax(0,1fr);gap:12px;margin-bottom:12px;position:relative}.time{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;padding-top:17px}.time small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:2px}.event{position:relative;border:1px solid var(--line);border-radius:var(--radius);background:white;padding:16px 13px 14px 16px;min-width:0;display:flex;gap:8px;align-items:center}.event:before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:2px;background:var(--green);border-radius:2px}.event.life:before{background:var(--clay)}.event.self:before{background:var(--blue)}.event-body{min-width:0;flex:1;text-align:left;padding:0}.event-title{font-size:16px;font-weight:550;overflow-wrap:anywhere;line-height:1.5}.event-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:9px;font-size:12px;color:var(--muted)}.category{font-size:11px;padding:1px 6px;border-radius:4px;background:var(--soft);color:var(--green);white-space:nowrap}.life .category{background:var(--clay-soft);color:var(--clay)}.self .category{background:var(--blue-soft);color:var(--blue)}.event-meta svg{width:13px;height:13px}.check{flex:none;width:44px;height:44px;display:grid;place-items:center;padding:0}.check-circle{width:20px;height:20px;border:1px solid #929B91;border-radius:50%;display:grid;place-items:center}.check-circle svg{width:13px;height:13px}.event.done{background:var(--surface)}.event.done .event-title{text-decoration:line-through;color:var(--muted)}.event.done .check-circle{background:var(--green);border-color:var(--green);color:white}.gap{margin:4px 0 12px 59px;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);min-height:32px}.gap:before{content:"";height:24px;width:1px;background:var(--line);margin-left:16px;margin-right:6px}.gap svg{width:14px;height:14px}.overlap{color:var(--clay)}.closing{display:flex;align-items:center;gap:12px;margin:28px 0 0 59px;color:var(--muted);font-size:12px}.closing:before{content:"";width:24px;height:1px;background:var(--line)}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);z-index:5;background:rgba(253,253,252,.97);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding:10px 16px calc(12px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}.bottom-nav button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;font-size:11px;color:var(--muted);min-height:48px}.bottom-nav button.active{color:var(--green);font-weight:650}.bottom-nav button.active svg{stroke-width:2.2}.create{position:fixed;bottom:calc(94px + env(safe-area-inset-bottom));right:max(24px,calc((100vw - 520px)/2 + 24px));height:50px;background:var(--ink);color:#fff;display:flex;gap:10px;align-items:center;padding:0 20px;border-radius:10px;box-shadow:0 4px 12px #292F2B14;z-index:4;font-size:14px}.create svg{width:19px}.create[hidden]{display:none}.empty{text-align:center;padding:42px 16px;border:1px dashed var(--line);border-radius:12px}.empty .empty-icon{display:grid;place-items:center;margin:0 auto 18px;height:60px;width:60px;border:1px solid var(--line);border-radius:50%;color:var(--green)}.empty p{font-size:14px;color:var(--muted);margin:10px 0 18px}.primary,.secondary{min-height:48px;padding:12px 20px;border-radius:9px;font-size:15px;font-weight:550;display:inline-flex;justify-content:center;align-items:center;gap:12px}.primary{background:var(--green);color:white}.primary:hover{background:#41574B}.secondary{background:var(--surface);border:1px solid var(--line)}.primary svg{width:18px}.block{display:flex;width:100%}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin:20px 0}.calendar-toolbar h2{font-size:22px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-grid .day{min-height:52px;padding:8px 0;gap:3px}.calendar-grid .weekday{min-height:30px;text-align:center;font-size:12px;color:var(--muted)}.calendar-grid .outside{color:#868D83}.calendar-grid .dot{height:3px}.legend{display:flex;gap:20px;margin:18px 0 26px;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.legend i{display:inline-block;height:6px;width:6px;background:var(--green);border-radius:50%;margin-right:6px}.ai-hero{padding:12px 0 28px;border-bottom:1px solid var(--line)}.ai-glyph{width:58px;height:58px;background:var(--soft);color:var(--green);border-radius:16px;display:grid;place-items:center;margin:0 0 24px}.ai-glyph svg{width:28px;height:28px}.ai-hero h1{font-size:32px;line-height:1.5}.ai-hero p{font-size:14px;color:var(--muted);margin-top:14px}.segmented{display:flex;gap:4px;background:var(--surface);padding:4px;border-radius:10px;margin:24px 0}.segmented button{flex:1;min-height:44px;border-radius:7px;font-size:14px;color:var(--muted)}.segmented button.selected{background:white;box-shadow:0 1px 3px #00000009;color:var(--ink)}label{display:block;font-size:13px;color:var(--muted);font-weight:500;margin:16px 0 8px}input,select,textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:12px;background:white;min-height:48px;font-size:16px;line-height:1.5}input::placeholder,textarea::placeholder{color:#7A8078}textarea{resize:vertical}input[type=date],input[type=time]{appearance:none;min-height:50px}.prompt-examples{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.prompt-examples button{background:var(--surface);font-size:12px;border:1px solid var(--line);border-radius:6px;min-height:40px;padding:8px 10px;text-align:left}.privacy-note{font-size:12px;line-height:1.8;color:var(--muted);margin-top:16px}.privacy-note svg{width:14px;height:14px;margin-right:4px}.ai-output{margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:12px;background:white;white-space:pre-wrap;font-size:14px;overflow-wrap:anywhere}.ai-output:empty{display:none}.ai-output h3{margin-bottom:12px}.draft{padding:14px 0;border-top:1px solid var(--line);white-space:normal}.draft p{font-size:13px;color:var(--muted);margin:6px 0 10px}.settings-group{margin:24px 0 30px}.settings-group h3{margin-bottom:14px;font-size:15px}.setting-card{border:1px solid var(--line);border-radius:12px;padding:18px;background:white}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.setting-row:first-child{padding-top:0}.setting-row:last-child{padding-bottom:0;border-bottom:0}.setting-row p{font-size:12px;color:var(--muted);margin-top:5px}.setting-row strong{font-size:14px;font-weight:500}.setting-row .text-btn{white-space:nowrap;padding:0}.status-tag{font-size:12px;color:var(--green);background:var(--soft);padding:4px 8px;border-radius:4px;white-space:nowrap}.key-row{display:flex;gap:8px}.key-row input{flex:1;min-width:0}.palette{display:flex;gap:9px;margin-top:14px}.swatch{flex:1}.swatch i{height:38px;display:block;border:1px solid var(--line);border-radius:6px}.swatch span{font-size:10px;color:var(--muted)}.about{text-align:center;font-size:12px;color:var(--muted);line-height:2;margin:32px 0}.preview-tag{display:block;background:var(--clay-soft);padding:12px 16px;border-radius:8px;color:var(--clay);font-size:12px;margin:16px 0}.optional{font-weight:400;margin-left:5px}.field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}dialog{position:fixed;border:1px solid var(--line);border-radius:18px 18px 0 0;padding:24px 24px max(24px,env(safe-area-inset-bottom));max-width:520px;width:100%;max-height:92dvh;background:var(--paper);color:var(--ink);margin:auto auto 0;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#26342B55;backdrop-filter:blur(3px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.sheet-head .eyebrow{font-size:9px;letter-spacing:1.4px}.sheet-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.sheet-actions .primary{flex:1}.sheet-actions .ghost{padding:10px 16px;min-height:48px}.danger{color:var(--danger)}.danger-fill{background:var(--danger)}.form-message{font-size:13px;color:var(--clay);margin-top:14px}.form-message:empty{display:none}#toast{position:fixed;left:50%;transform:translateX(-50%) translateY(12px);bottom:160px;z-index:99;background:var(--ink);color:white;font-size:14px;max-width:calc(100% - 48px);width:max-content;padding:12px 18px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.busy{display:inline-block;width:16px;height:16px;border:2px solid #ffffff66;border-top-color:white;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:640px){body{padding:32px 0}.app{min-height:calc(100dvh - 64px);border:1px solid #E0E3DB;border-radius:20px;overflow:hidden;box-shadow:0 8px 40px #29362906}.bottom-nav{bottom:32px;border-radius:0 0 20px 20px;width:518px}.create{bottom:126px}dialog{margin:auto;border-radius:16px;max-height:90dvh}main{padding-bottom:180px}}@media(max-width:359px){.topbar{padding-left:16px;padding-right:16px}main{padding-left:16px;padding-right:16px}.local-label{font-size:11px}.daily-note{padding:16px}.timeline-item{grid-template-columns:42px minmax(0,1fr);gap:8px}.event{padding-left:12px}.gap{margin-left:50px}h1{font-size:30px}dialog{padding:20px 16px}.field-row{gap:8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Keep navigation outside the scrollport; no schedule can sit behind an action. */
.app{height:100dvh;min-height:0;display:flex;flex-direction:column}.topbar{flex:none}main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:32px;scrollbar-width:thin}.bottom-nav{position:static;transform:none;width:100%;flex:none}.topbar .create{position:static;width:44px;height:44px;min-height:44px;padding:0;display:flex;justify-content:center;border-radius:9px;box-shadow:none}.topbar .create span+span{display:none}.topbar .create[hidden]{display:none}.event-body{min-height:48px}.local-label{font-size:12px}.bottom-nav button{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.65px}.daily-note p{font-size:14px}.event-meta{font-size:13px}.category{font-size:12px}.gap{font-size:13px}.time small{font-size:12px}.event-title{font-size:16px}.closing{font-size:13px}.bottom-nav{padding-bottom:12px}body{height:100dvh;overflow:hidden}@media(min-width:640px){.app{height:calc(100dvh - 64px)}.bottom-nav{width:100%}main{padding-bottom:32px}}

.ai-hero{padding:4px 0 20px}.ai-glyph{height:44px;width:44px;border-radius:12px;margin-bottom:16px}.ai-glyph svg{height:25px;width:25px}.ai-hero h1{font-size:30px;line-height:1.35}.ai-hero p{margin-top:10px}.segmented{margin:20px 0}

/* v1.1 · Motion and a richer, still quiet workspace. */
:root{--ease-out:cubic-bezier(.2,.75,.2,1)}button{transition:background-color 180ms,color 180ms,transform 140ms var(--ease-out),box-shadow 180ms}button:active{transform:scale(.97)}.day{transition:background-color 180ms,color 180ms,box-shadow 180ms}.event{transition:background-color 220ms,border-color 220ms}.check-circle{transition:background-color 180ms,border-color 180ms,transform 180ms}.bottom-nav button{position:relative}.bottom-nav button.active:after{content:"";position:absolute;bottom:-4px;width:4px;height:4px;border-radius:50%;background:var(--green);animation:dot-in 240ms var(--ease-out)}dialog[open]{animation:sheet-in 280ms var(--ease-out)}dialog[open]::backdrop{animation:backdrop-in 200ms ease-out}.busy{animation:spin 1s linear infinite}.quick-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;padding:4px;background:#fff;gap:4px;margin:0 0 8px}.quick-tools button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-size:13px;color:var(--green);border-radius:7px}.quick-tools button:hover{background:var(--soft)}.quick-tools svg{width:17px;height:17px}.top-right{gap:6px}.inbox-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 20px}.inbox-intro h2{font-size:21px;line-height:1.5}.inbox-intro .eyebrow{font-size:9px;letter-spacing:1.2px}.square-soft{border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--green)}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}.filter-row button{font-size:14px;min-height:44px;padding:8px 14px;border-radius:7px;border:1px solid transparent;color:var(--muted)}.filter-row .chosen{background:var(--soft);color:var(--green);border-color:#DAE3D8}.task-list{display:grid;gap:12px}.task-card{padding:12px;background:white;border:1px solid var(--line);border-radius:12px;animation:card-in 220ms var(--ease-out)}.task-top{display:flex;align-items:center;gap:4px}.task-title{text-align:left;min-width:0;overflow-wrap:anywhere;flex:1;font-size:16px;line-height:1.6;padding:6px 0;min-height:44px}.priority-label{font-size:11px;color:var(--clay);background:var(--clay-soft);padding:3px 6px;border-radius:4px;white-space:nowrap}.task-footer{margin:6px 0 0 44px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.task-footer>span{font-size:12px;color:var(--muted)}.task-footer .text-btn{font-size:13px;padding:0}.task-card.done{background:var(--surface)}.task-card.done .task-title{text-decoration:line-through;color:var(--muted)}.task-card.done .check-circle{background:var(--green);color:white;border-color:var(--green)}.focus-intro{text-align:center;margin:28px 0 24px}.focus-intro h2{font-size:24px}.focus-intro p{margin-top:8px}.focus-orbit{--focus-progress:0%;height:244px;width:244px;margin:24px auto 28px;border-radius:50%;padding:3px;background:conic-gradient(var(--green) var(--focus-progress),#E4E9E0 0);position:relative}.focus-orbit:before{content:"";position:absolute;inset:-10px;border:1px solid #E6ECE3;border-radius:50%;pointer-events:none}.focus-orbit.running:before{animation:breathe 6s ease-in-out infinite}.focus-core{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:var(--paper)}.focus-caption{font-size:12px;color:var(--muted);letter-spacing:1px}.focus-core strong{font-size:58px;letter-spacing:-2px;font-weight:350;line-height:1.5;font-variant-numeric:tabular-nums;color:var(--green)}.duration-options{display:flex;gap:8px;justify-content:center;margin-bottom:20px}.duration-options button{min-height:44px;min-width:74px;font-size:14px;border:1px solid var(--line);border-radius:7px}.duration-options button.selected{background:var(--soft);color:var(--green);border-color:#CCD7C8}.focus-actions{display:flex;gap:10px;max-width:320px;margin:auto}.focus-actions .primary{flex:1}.focus-disclaimer{text-align:center;font-size:12px;max-width:330px;margin:16px auto 24px}.focus-summary{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;gap:12px}.focus-summary>span{color:var(--muted);font-size:14px}.focus-summary strong{font-size:26px;color:var(--green);font-weight:500}.focus-summary small{font-size:13px}.focus-history>div{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;font-size:14px}.focus-history>div strong{margin-left:auto;font-weight:500}.focus-history svg{width:17px;color:var(--green)}.template-intro{margin:28px 0 20px}.template-intro h2{font-size:21px;line-height:1.5}.template-intro p{margin-top:8px}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card{text-align:left;border:1px solid var(--line);background:white;border-radius:12px;padding:18px 14px;display:flex;flex-direction:column;min-width:0;gap:8px}.template-card:hover{border-color:#AAB9A7;background:#FAFCF8}.template-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--soft);color:var(--green);margin-bottom:8px}.template-icon svg{width:20px;height:20px}.template-card strong{font-size:16px;font-weight:600}.template-card>span:not(.template-icon){font-size:12px;color:var(--muted);line-height:1.7}.template-card>div{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;margin-top:auto;padding-top:10px;font-size:11px;color:var(--green)}.template-card>div svg{width:16px;height:16px}.diagnostic-actions{display:flex;gap:8px;flex-wrap:wrap}.diagnostic-actions button{padding:10px 12px;flex:1;font-size:13px;gap:7px;white-space:nowrap}.diagnostic-actions svg{width:17px;height:17px}.diagnostic-result{background:var(--surface);border-left:2px solid var(--green);border-radius:4px;padding:14px;margin-top:18px;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}#available-models{font-size:13px}#search-dialog{min-height:440px}.search-result{display:block;border:1px solid var(--line);border-radius:10px;padding:16px;width:100%;text-align:left;margin:10px 0;background:white}.search-result strong{display:block;overflow-wrap:anywhere;font-size:16px;font-weight:500}.search-result span{display:block;color:var(--muted);font-size:12px;margin-top:8px}.space-tabs button{font-size:14px}.calendar-grid .outside{color:#6F786C}input::placeholder,textarea::placeholder{color:var(--muted)}.check-circle{border-color:#7D877B}#motion-preference{font-size:14px}.settings-group .setting-card>label:first-child{margin-top:0}.daily-note{padding:16px 20px;margin:20px 0}.daily-note .progress-ring{width:44px;height:44px}.daily-note .progress-ring span{width:36px;height:36px}.section-head{margin-top:22px}.about{font-size:13px}
@keyframes sheet-in{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@keyframes card-in{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes dot-in{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes breathe{0%,100%{transform:scale(1);opacity:.5}50%{transform:scale(1.035);opacity:1}}
html[data-motion="reduce"] *,html[data-motion="reduce"] *::before,html[data-motion="reduce"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:359px){.inbox-intro h2{font-size:19px}.template-grid{gap:8px}.template-card{padding:14px 10px}.focus-orbit{height:218px;width:218px}.focus-core strong{font-size:52px}.quick-tools{gap:0}.quick-tools button{font-size:12px;gap:4px}.quick-tools svg{width:15px}.task-footer{margin-left:12px}.priority-label{font-size:10px}.inbox-intro .eyebrow{letter-spacing:.5px}.template-card>div{font-size:10px}}

.event.done .check-circle svg{animation:check-pop 240ms var(--ease-out)}@keyframes check-pop{from{opacity:.1;transform:scale(.5)}to{opacity:1;transform:scale(1)}}

.focus-intro{display:none}

[hidden]{display:none!important}

/* Web 2.0: AI lives at the center, not behind another tab. */
:root{--paper:#FAFBF8;--green:#4D705C;--ink:#27382F;--muted:#657268;--soft:#EAF0E8;--line:#E0E6DD}.app{max-width:560px}.topbar{padding:18px 22px 12px;min-height:70px}.brand{font-size:22px;letter-spacing:2px}.brand small{font-size:11px;letter-spacing:0;padding:3px 5px;background:#E0EADB;border-radius:4px;color:var(--green)}.top-right{gap:6px}.connection{font-size:11px;border:1px solid var(--line);background:white;border-radius:8px;padding:7px 10px;min-height:38px;color:var(--muted)}.connection.connected{color:var(--green);background:var(--soft)}main{padding:8px 22px 28px}.welcome{margin:0 0 20px}.welcome-label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--green);margin:5px 0 18px}.welcome-label span:last-child{margin-left:auto;letter-spacing:1.5px;font-size:9px;color:var(--muted)}.welcome-label svg{width:17px;height:17px}.welcome h1{font-size:33px;font-weight:550;line-height:1.4;letter-spacing:-1.3px}.welcome h1 em{font-style:normal;color:var(--green)}.welcome p{color:var(--muted);font-size:13px;margin-top:12px}.intents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}.intent{display:flex;align-items:center;gap:10px;padding:14px 12px;min-height:74px;text-align:left;border:1px solid var(--line);border-radius:10px;background:white;min-width:0}.intent.selected{background:#ECF2E8;border-color:#C8D8C1}.intent svg{height:22px;width:22px;color:var(--green)}.intent strong{display:block;font-size:14px;font-weight:550}.intent small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.up-next{border-top:1px solid var(--line);padding-top:14px}.up-next header{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;margin-bottom:10px}.up-next header button{font-size:11px;color:var(--green);min-height:32px}.up-next h3{font-size:15px}.up-next p{font-size:12px;color:var(--muted);margin-top:6px}.next-row{display:flex;align-items:center;gap:16px}.next-row>strong{font-size:27px;font-weight:400;color:var(--green)}.next-row>div{border-left:1px solid var(--line);padding-left:16px}.connect-note{font-size:11px;color:var(--muted);margin-top:20px;display:flex;gap:6px;align-items:center}.connect-note svg{height:13px;width:13px}.composer{flex:none;border-top:1px solid var(--line);padding:8px 18px 7px;background:var(--paper)}.composer-top{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--green);margin-bottom:5px}.composer-top label{display:flex;gap:5px;align-items:center;margin:0 0 0 auto;font-size:10px}.composer-top input{height:14px;width:14px;min-height:14px;padding:0;accent-color:var(--green)}.composer-top .icon-btn{width:32px;height:32px}.composer-top .icon-btn svg{height:16px;width:16px}.input-box{display:flex;gap:8px;padding:8px;border:1px solid #C5D4BF;border-radius:11px;background:white;align-items:flex-end}.input-box textarea{border:0;background:transparent;padding:6px 2px;min-height:34px;max-height:110px;resize:none;font-size:14px;line-height:1.6;outline:0!important}.send{height:40px;width:40px;min-width:40px;display:grid;place-items:center;background:var(--green);color:white;border-radius:8px}.send svg{width:18px;height:18px}.composer-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;color:var(--muted);margin-top:4px}.composer-foot button{font-size:10px;color:var(--green);padding:4px 0;min-height:28px}.bottom-nav{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.bottom-nav button{font-size:10px;min-height:46px}.bottom-nav button svg{height:21px;width:21px}.mode-strip{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding-bottom:8px;margin-bottom:18px}.mode-strip button{white-space:nowrap;font-size:11px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;min-height:38px}.mode-strip button.active{background:var(--soft);color:var(--green)}.chat-title{font-size:23px;margin:8px 0 20px}.user-msg{margin:22px 0 24px auto;max-width:90%;width:fit-content;white-space:pre-wrap;font-size:14px;line-height:1.9;padding:12px 15px;border:1px solid #DEE7D7;background:#ECF1E8;border-radius:12px 12px 3px 12px;overflow-wrap:anywhere}.ai-msg{margin-bottom:26px;animation:card-in .25s var(--ease-out)}.ai-label{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600;margin-bottom:12px}.ai-label svg{width:17px;color:var(--green)}.ai-label small{font-size:10px;color:var(--muted);font-weight:400}.reply{white-space:pre-wrap;font-size:14px;line-height:1.95;overflow-wrap:anywhere}.draft-list{display:grid;gap:10px;margin-top:16px}.draft-card{padding:16px;border:1px solid #D2DFCC;border-radius:11px;background:white}.draft-card.done{background:var(--surface)}.draft-card header{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--green);margin-bottom:10px}.draft-card header svg{width:14px;height:14px}.draft-card h3{font-size:16px;overflow-wrap:anywhere}.draft-card p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.9}.draft-card footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:8px}.draft-card footer button{font-size:13px;min-height:40px;color:var(--green);width:100%;text-align:left}.batch-steps{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:18px}.batch-steps button{font-size:12px;color:var(--green);min-height:40px}.thinking{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding:18px 0}.thinking i{height:6px;width:6px;background:#8A9F83;border-radius:50%;animation:breathe 1.5s ease-in-out infinite}.event-body h3{font-size:15px;overflow-wrap:anywhere}.search-input{margin:16px 0 0;font-size:14px;min-height:44px}.filters{display:flex;gap:5px;margin:12px 0 18px}.filters button{font-size:12px;min-height:38px;padding:7px 10px;border-radius:7px;color:var(--muted)}.filters .active{background:var(--soft);color:var(--green)}.calendar-grid .day{min-height:43px;padding:6px 0}.section-head h2{font-size:17px}.goal-card{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;margin:16px 0}.goal-card h2{font-size:20px;overflow-wrap:anywhere}.goal-card>p{font-size:12px;color:var(--muted);margin-top:8px}.goal-line{height:4px;background:var(--surface);border-radius:2px;margin:20px 0 12px;overflow:hidden}.goal-line i{display:block;height:100%;background:var(--green);transition:width .3s}.goal-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.goal-meta button{font-size:12px;color:var(--green);min-height:40px}.task-row{display:flex;gap:7px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.task-row>button:nth-child(2){flex:1;text-align:left;font-size:14px;min-width:0;overflow-wrap:anywhere}.task-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.task-row.done>button:nth-child(2){text-decoration:line-through;color:var(--muted)}.task-row .check-circle.yes{background:var(--green);border-color:var(--green);color:white}.context-list{display:grid;gap:10px;margin:20px 0}.context-list p{padding:12px;border:1px solid var(--line);background:white;border-radius:7px;font-size:13px}.notice{font-size:12px;line-height:1.9;color:var(--muted);margin-top:14px}.check-label{display:flex;align-items:center;gap:8px;margin:14px 0;font-size:13px}.check-label input{width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--green)}.diagnostic{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border-left:2px solid var(--green);padding:14px;font-size:13px;line-height:1.9;margin-top:18px}.setting-actions{display:grid;gap:0;border:1px solid var(--line);border-radius:12px;padding:0 16px;background:white}.setting-actions button{display:flex;align-items:center;justify-content:space-between;font-size:14px;min-height:60px;border-bottom:1px solid var(--line);text-align:left}.setting-actions button:last-child{border:0}.setting-actions svg{width:18px;height:18px;color:var(--green)}.sidebar{display:none}.date-note{font-size:12px;color:var(--muted);margin:12px 0}.form-message{color:var(--danger)}.event.locked{border-color:#B7C8AF}.pill{font-size:10px;color:var(--green);background:var(--soft);padding:3px 6px;border-radius:4px}.main-title{margin:8px 0 24px;font-size:30px;line-height:1.45}.header-actions{display:flex;gap:6px;align-items:center}.event .event-meta{font-size:11px}.message-actions{display:flex;gap:10px;margin-top:16px}.primary svg{width:17px}.key-row{display:flex;gap:8px}.model-select{font-size:13px}.settings-group .primary.block{margin-top:16px}.primary.block{margin-top:18px}#toast{bottom:180px}.app{height:var(--web-height,100dvh)}.check-label[hidden],[hidden]{display:none!important}@media(min-width:900px){body{padding:0;background:var(--paper)}.web-shell{max-width:1120px;margin:auto;display:grid;grid-template-columns:230px minmax(0,1fr);height:100dvh;border-left:1px solid var(--line);border-right:1px solid var(--line)}.sidebar{display:flex;flex-direction:column;background:#F0F3EC;padding:42px 28px;border-right:1px solid var(--line)}.sidebar p{font-size:14px;color:var(--muted);line-height:2;margin:30px 0 46px}.sidebar nav{display:grid;gap:10px}.sidebar nav button{display:flex;align-items:center;gap:12px;padding:14px;border-radius:9px;min-height:48px;font-size:15px;color:var(--muted);text-align:left}.sidebar nav button.active{background:#DFE8DB;color:var(--ink)}.sidebar small{margin-top:auto;font-size:10px;color:var(--muted);letter-spacing:1px}.app{max-width:none;width:100%;height:100dvh;border:0;border-radius:0;box-shadow:none}.topbar{padding:26px 36px;min-height:90px}main{padding:16px 40px 40px}.composer{padding:16px 40px 20px}.bottom-nav{display:none}.welcome h1{font-size:43px}.welcome{margin-bottom:28px}.welcome p{font-size:15px}.intent{padding:18px;min-height:86px;gap:14px}.intent strong{font-size:16px}.intent small{font-size:12px}.intent svg{height:26px;width:26px}.intents{gap:12px}.draft-list{grid-template-columns:repeat(2,minmax(0,1fr))}.reply{font-size:15px}.composer-foot{font-size:11px}.composer-foot button{font-size:12px}.composer-top{font-size:13px}.composer-top label{font-size:12px}.input-box textarea{font-size:16px}.connection{font-size:12px}.main-title{font-size:34px}}@media(max-width:359px){.topbar{padding-left:16px;padding-right:16px}main{padding-left:16px;padding-right:16px}.welcome h1{font-size:29px}.intent{gap:6px;padding:10px 8px;min-height:69px}.intent strong{font-size:13px}.intent small{font-size:10px}.intent svg{height:19px;width:19px}.brand{font-size:20px;gap:10px}.connection{font-size:10px;padding:5px 7px}.composer{padding-left:12px;padding-right:12px}.composer-top{font-size:10px}.composer-top label{font-size:9px}.up-next h3{font-size:14px}.composer-foot{font-size:9px}}html[data-motion=reduce] *,html[data-motion=reduce] *:before,html[data-motion=reduce] *:after{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.model-select+.secondary.block{margin-top:14px}

/* Studio 03: warm sand, charcoal and terracotta — a desktop website. */
:root{--paper:#FAF8F4;--surface:#F2EEE7;--line:#E4DED5;--ink:#292521;--muted:#71695F;--green:#A4492E;--soft:#F5E8E0;--clay:#865824;--clay-soft:#F4EADB;--blue:#535E71;--blue-soft:#EBEEF3;--danger:#A32F2F;color-scheme:light}html,body{padding:0;height:100%;background:var(--paper)}.web-shell{width:100%;max-width:none;display:grid;grid-template-columns:224px minmax(0,1fr);height:100dvh;margin:0;border:0}.sidebar{display:flex;flex-direction:column;padding:30px 20px;background:#EEE9E1;border-right:1px solid var(--line);min-width:0}.sidebar .brand{min-height:44px;font-size:23px}.brand small{background:transparent;color:var(--ink);font-size:11px;padding:0}.sidebar-caption{margin:10px 0 44px 40px;font-size:11px;letter-spacing:2px;color:var(--muted)}.sidebar p.nav-caption{font-size:12px;letter-spacing:1px;margin:0 12px 12px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{display:flex;gap:12px;align-items:center;text-align:left;padding:12px;border-radius:8px;font-size:15px;color:var(--muted);min-height:48px}.sidebar nav button.active{background:#DED7CE;color:var(--ink);font-weight:550}.sidebar nav button.active svg{color:var(--green)}.sidebar-rule{height:1px;background:#D9D1C6;margin:28px 12px}.sidebar p.sidebar-note{font-size:14px;line-height:1.9;padding:0 12px;margin:4px 0;color:var(--muted)}.side-new{margin:0 8px 20px;border:1px solid #CFC5B8;background:#F8F5F0;font-size:14px}.sidebar-foot{margin-top:auto;padding:24px 12px 0;font-size:12px;color:var(--muted)}.sidebar-foot strong{display:block;font-size:14px;font-weight:500;color:var(--ink);margin-bottom:4px}.app{display:grid;grid-template-columns:minmax(0,1fr) 286px;grid-template-rows:76px minmax(0,1fr) auto;min-width:0;min-height:0;height:100dvh;width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;background:#FFF}.topbar{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:14px 32px;gap:20px;min-height:0}.breadcrumbs{display:flex;align-items:center;gap:14px;font-size:14px;color:var(--muted)}.breadcrumbs strong{color:var(--ink);font-weight:500}.breadcrumbs>span{color:#A99B8B}.header-actions{gap:12px}.local-badge{font-size:12px;color:var(--muted)}.connection{font-size:13px;min-height:40px;padding:8px 12px;border-radius:7px;border:1px solid var(--line);background:var(--paper);white-space:nowrap}.connection.connected{background:var(--soft);border-color:#DCC2B1;color:var(--green)}#new-event{width:auto;min-width:110px;padding:0 12px;border:1px solid var(--line);font-size:14px;gap:7px;border-radius:7px}#new-event svg{width:17px}#new-event:after{content:'新建日程'}main{grid-column:1;grid-row:2;min-width:0;min-height:0;overflow:auto;padding:36px 40px 28px;scrollbar-width:thin;scrollbar-color:#D8CFC3 transparent}.app:not([data-route=assistant]) main{grid-column:1/-1}.app:not([data-route=assistant]) .inspector{display:none}.bottom-nav{display:none!important}.primary{background:var(--ink);color:white}.secondary{color:var(--ink);background:var(--paper);border:1px solid var(--line)}.primary,.secondary,.icon-btn{border-radius:8px}.eyebrow{font-size:12px;letter-spacing:2px}.text-btn{font-size:14px}
.studio-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:28px}.studio-heading .eyebrow{font-size:12px;letter-spacing:2.2px;margin-bottom:12px;color:var(--green)}.studio-heading h1{font-size:40px;line-height:1.35;letter-spacing:-1.5px;font-weight:550}.studio-heading h1 em{color:var(--green);font-style:normal}.studio-heading p{font-size:15px;color:var(--muted);margin-top:16px;line-height:1.8}.studio-index{font-family:Georgia,serif;color:#C8B9A7;font-size:64px;line-height:1;margin-top:30px}.canvas-label{display:flex;justify-content:space-between;align-items:center;margin:8px 0 14px;font-size:14px;font-weight:500}.canvas-label span{font-size:12px;letter-spacing:1px;color:var(--muted);font-weight:400}.intents{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.intent{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:18px 16px;min-height:128px;border:1px solid var(--line);border-radius:9px;background:var(--paper);transition:transform .18s,background .18s}.intent:hover{transform:translateY(-2px);background:var(--surface)}.intent.selected{background:#F7EBE3;border-color:#D7B7A7}.intent-top{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;color:var(--green)}.intent-top>span{font-size:11px;color:#8E7F70;letter-spacing:1px}.intent svg{width:23px;height:23px}.intent strong{font-size:16px;font-weight:550}.intent small{font-size:13px;margin-top:4px;color:var(--muted)}.example-prompts{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}.example-prompts>p{font-size:13px;color:var(--muted);margin-bottom:8px}.example-prompts>div{display:flex;flex-wrap:wrap;gap:8px}.example-prompts button{font-size:13px;min-height:40px;padding:7px 12px;border:1px solid var(--line);border-radius:6px;color:var(--muted);text-align:left}.composer{grid-column:1;grid-row:3;min-width:0;padding:16px 40px 22px;background:#FFF;border-top:1px solid var(--line)}.composer-top{font-size:14px;color:var(--ink);gap:12px;margin-bottom:10px}.composer-top strong{font-weight:500;display:flex;align-items:center;gap:7px}.composer-top strong:before{content:'';height:6px;width:6px;background:var(--green);border-radius:50%}.composer-top label{font-size:13px;color:var(--muted)}.composer-top input{width:16px;height:16px}.composer-top .icon-btn{height:36px;width:36px}.input-box{padding:10px 12px 10px 16px;border:1px solid #CBBCAF;border-radius:9px;background:var(--paper)}.input-box textarea{font-size:15px;padding:7px 0;min-height:36px;max-height:110px}.send{height:42px;width:42px;min-width:42px;border-radius:7px;background:var(--green)}.composer-foot,.composer-foot button{font-size:12px}.composer-foot{gap:12px;margin-top:6px}.composer-foot button{min-height:28px}.mode-strip{flex-wrap:wrap;overflow:visible;gap:8px;margin:4px 0 24px}.mode-strip button{font-size:13px;min-height:40px}.chat-title{font-size:26px;margin:0 0 20px}.user-msg{font-size:15px;background:var(--surface);border-color:var(--line);border-radius:9px 9px 2px 9px;padding:13px 18px}.reply{font-size:16px;line-height:1.95}.ai-label{font-size:15px}.ai-label small{font-size:12px}.draft-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.draft-card{padding:20px;border-color:#DCC4B6;border-radius:9px;background:#FFFCF8}.draft-card header{font-size:13px}.draft-card h3{font-size:18px}.draft-card p,.draft-card footer button{font-size:14px}.batch-steps,.batch-steps button{font-size:13px}.thinking i{background:var(--green)}
.inspector{grid-column:2;grid-row:2/4;border-left:1px solid var(--line);background:var(--paper);overflow:auto;padding:28px 22px;min-height:0;scrollbar-width:thin}.inspector-title{display:flex;justify-content:space-between;font-size:14px;color:var(--muted);margin-bottom:8px}.inspector-title svg{width:17px}.inspector-date{font-size:23px;font-weight:500;letter-spacing:-.8px;margin-bottom:4px}.inspector-weekday{font-size:13px;color:var(--muted)}.inspector-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:22px 0 26px}.inspector-days button{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;border-radius:6px;min-height:57px;padding:5px 0;font-size:13px}.inspector-days small{font-size:11px;color:var(--muted)}.inspector-days .selected{background:var(--ink);color:white}.inspector-days .selected small{color:#D8CCC1}.inspector-section{border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.inspector-section>header{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:12px}.inspector-section>header span{font-size:12px;color:var(--muted)}.inspector-event{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;text-align:left;padding:11px 0;align-items:start;min-height:60px}.inspector-event time{font-size:13px;color:var(--muted);padding-top:3px}.inspector-event strong{display:block;font-weight:500;font-size:14px;overflow-wrap:anywhere}.inspector-event small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.inspector-event>div{border-left:2px solid #CFB09C;padding-left:10px}.inspector-empty{border:1px dashed #D4C9BB;padding:19px 14px;border-radius:8px;color:var(--muted);font-size:14px;line-height:1.9;margin-top:14px}.inspector-action{font-size:13px;min-height:44px;color:var(--green);width:100%;text-align:left;padding:10px 0}.pending-note{font-size:13px;line-height:1.9;color:var(--muted)}.inspector-task{display:flex;gap:8px;align-items:flex-start;text-align:left;width:100%;font-size:14px;padding:9px 0;min-height:44px}.inspector-task svg{width:16px;height:16px;color:var(--muted);margin-top:3px}.inspector-task span{overflow-wrap:anywhere}.inspector-footnote{font-size:12px;color:var(--muted);line-height:1.9;margin-top:28px}
.workspace-agenda{display:grid;grid-template-columns:310px minmax(0,1fr);gap:40px;align-items:start}.calendar-panel{border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:18px;position:sticky;top:0}.calendar-toolbar{flex-wrap:wrap;gap:8px}.calendar-toolbar h2{font-size:18px}.calendar-toolbar .icon-btn{width:32px;min-width:32px}.calendar-toolbar .text-btn{padding:0 4px}.calendar-grid .day{min-height:44px;font-size:14px}.day.selected{background:var(--ink)}.day.selected .dot{background:white}.day.outside{color:#A89E90}.day-panel>.section-head{margin-top:0}.day-panel>.secondary.block{margin-top:0}.main-title{font-size:32px;line-height:1.4;margin:0 0 30px}.main-title br{display:none}.section-head h2{font-size:18px}.search-input{font-size:15px}.filters button{font-size:14px;min-height:40px}.filters .active{background:var(--surface);color:var(--ink)}.time{font-size:14px}.time small{font-size:12px}.event{border-radius:8px}.event.locked{border-color:#CCB8A9}.event-body h3{font-size:16px}.event .event-meta,.category{font-size:12px}.event.done .check-circle,.check-circle.yes{background:var(--ink);border-color:var(--ink)}.segmented{display:inline-flex;border-bottom:1px solid var(--line);gap:24px;margin:0 0 8px;max-width:100%;padding:0;background:transparent;border-radius:0}.segmented button{position:relative;padding:10px 4px;font-size:15px;background:transparent!important;box-shadow:none!important;border-radius:0}.segmented .selected:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.goals-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.goal-card{padding:24px;background:var(--paper);margin:0;min-width:0}.goal-card h2{font-size:22px}.goal-card>p,.task-row small{font-size:14px}.goal-line{background:#E4DACD}.goal-meta,.goal-meta button{font-size:13px}.pill{background:var(--surface);color:var(--muted);font-size:12px}.task-row>button:nth-child(2){font-size:15px}.settings-grid{display:grid;grid-template-columns:minmax(350px,1.05fr) minmax(280px,1fr);gap:28px;align-items:start}.settings-group{margin:0}.settings-group:first-child{grid-row:span 2}.setting-card{background:var(--paper);padding:24px}.setting-actions{background:var(--paper)}.diagnostic{font-size:14px;background:var(--soft)}.model-select{font-size:14px}.notice{font-size:14px;line-height:1.9}.about{font-size:13px;text-align:left}.empty{padding:52px 24px;border:1px dashed #D5C9BA;border-radius:10px;background:var(--paper)}.empty h3{font-size:20px}.empty p{font-size:15px}.preview-tag{margin-bottom:24px}.context-list p{font-size:14px}dialog{position:fixed;inset:0;margin:auto;width:min(600px,calc(100vw - 48px));max-height:calc(100dvh - 64px);height:fit-content;border-radius:12px;padding:28px;background:#FFF;border:1px solid var(--line);box-shadow:0 20px 70px #29252122;animation:studio-dialog .22s ease-out}dialog::backdrop{background:#29252144;backdrop-filter:blur(3px)}.sheet-head h2{font-size:25px}.check-label,.form-message{font-size:14px}#toast{bottom:28px}.field-row{gap:18px}@keyframes studio-dialog{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}
@media(min-width:1700px){main{padding:44px 56px 32px}.composer{padding-left:56px;padding-right:56px}.studio-heading h1{font-size:48px}.intent{min-height:142px;padding:20px}.app{grid-template-columns:minmax(0,1fr) 316px}}
@media(max-width:1250px){.web-shell{grid-template-columns:194px minmax(0,1fr)}.sidebar{padding:26px 14px}.app{grid-template-columns:minmax(0,1fr) 252px}.inspector{padding:26px 16px}main{padding:30px 28px 24px}.composer{padding-left:28px;padding-right:28px}.intent{padding:15px 12px}.intent small{font-size:12px}.studio-heading h1{font-size:35px}.studio-index{font-size:54px}.workspace-agenda{grid-template-columns:280px minmax(0,1fr);gap:24px}.local-badge{display:none}}
@media(max-width:1050px){.app{grid-template-columns:minmax(0,1fr)}.inspector{display:none}.settings-grid{grid-template-columns:1fr}.settings-group:first-child{grid-row:auto}.workspace-agenda{grid-template-columns:260px minmax(0,1fr)}.goals-board{grid-template-columns:1fr}}
@media(max-width:760px){html,body{height:auto;overflow:visible}.web-shell{display:block;height:auto;min-height:100dvh}.sidebar{display:flex;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:21px}.sidebar-caption,.sidebar p.nav-caption,.sidebar-rule,.sidebar p.sidebar-note,.sidebar-foot,.side-new{display:none}.sidebar nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.sidebar nav button{padding:9px 12px;min-height:46px;font-size:14px;border-radius:7px 7px 0 0;gap:8px}.sidebar nav button svg{width:18px;height:18px}.app{display:flex;flex-direction:column;height:auto;min-height:0}.topbar{padding:14px 20px;min-height:70px;gap:12px}.breadcrumbs{font-size:13px;gap:8px}.crumb-root,.breadcrumbs>span{display:none}.header-actions{gap:7px}.connection{font-size:12px;padding:7px 9px}#new-event{font-size:12px;min-width:92px;padding:0 9px}main{overflow:visible;min-height:0;padding:28px 24px}.composer{padding:20px 24px 28px;position:static}.studio-heading{gap:12px;margin-bottom:24px}.studio-heading h1{font-size:33px;letter-spacing:-1px}.studio-heading p{font-size:15px}.studio-index{display:none}.intents{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.intent{padding:16px;min-height:128px}.intent small{font-size:13px}.composer-top{gap:8px}.composer-top label{font-size:12px}.composer-foot{font-size:11px;gap:8px}.composer-foot button{font-size:12px}.workspace-agenda{grid-template-columns:1fr;gap:28px}.calendar-panel{position:static;padding:20px}.calendar-toolbar{flex-wrap:nowrap}.main-title{font-size:28px}.draft-list{grid-template-columns:1fr}.settings-grid{gap:24px}.setting-card,.goal-card{padding:20px}.segmented{gap:18px}.segmented button{font-size:14px}.section-head h2{font-size:16px}.empty{padding:32px 18px}.empty h3{font-size:20px}dialog{width:calc(100vw - 32px);max-height:calc(100dvh - 48px);padding:22px;border-radius:12px}.sheet-head h2{font-size:22px}.field-row{gap:12px}.example-prompts>div{display:grid}.example-prompts button{font-size:13px}.inspector{display:none}}
/* Keep desktop section tabs on one line, including their counters. */
.segmented{width:fit-content;max-width:100%;gap:24px}.segmented button{flex:none;white-space:nowrap;min-width:116px;padding:12px 8px}@media(max-width:760px){.segmented{gap:12px}.segmented button{min-width:0;font-size:14px}}

/* Stable setup forms and practical touch layout, Studio 3.1 */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.setup-intro{font-size:15px;color:var(--muted);margin:-14px 0 28px}.setup-status{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line)}.setup-status strong{font-size:18px;font-weight:550}.setup-status>span{font-size:13px;color:var(--muted);max-width:52%;text-align:right}.setup-step{margin-top:24px}.setup-step h2{font-size:17px;letter-spacing:0;display:flex;gap:9px;align-items:center;margin-bottom:14px}.setup-step h2>span{display:grid;place-items:center;font-size:13px;width:26px;height:26px;background:var(--soft);color:var(--green);border-radius:6px}.field-help{font-size:14px;line-height:1.85;color:var(--muted);margin-top:10px;overflow-wrap:anywhere}.setup-connect{display:flex;align-items:center;gap:10px;margin-top:16px}.setup-connect>.primary{flex:1}.show-key{flex:none;width:62px;padding:6px;font-size:14px}.model-row{display:flex;gap:8px;align-items:center}.model-row select{flex:1;min-width:0}.model-row button{white-space:nowrap;font-size:14px;padding:8px 12px;min-height:48px}.setup-step #test-model{margin-top:0}.ai-setup #api-key,.ai-setup #model{font-size:16px;min-height:50px}.ai-setup .setting-card{padding:24px}.settings-grid>.ai-setup{grid-row:auto}.settings-details{border:1px solid var(--line);border-radius:10px;background:var(--paper);margin:0 0 18px;overflow:hidden}.settings-details>summary{padding:18px 20px;font-size:16px;min-height:60px;cursor:pointer}.settings-details>.settings-group{padding:0 18px 20px}.settings-details .setting-card,.settings-details .setting-actions{padding:14px;border-color:var(--line);background:#FFF}.preview-explainer{padding:26px;border:1px solid #DCC2B1;border-radius:10px;background:var(--paper)}.preview-explainer h2{margin:20px 0 16px;font-size:24px}.preview-explainer p,.preview-explainer li{font-size:15px;line-height:1.95;color:var(--muted)}.preview-explainer li{margin-bottom:12px}.preview-explainer code{font-size:14px;background:var(--surface);padding:3px 5px;border-radius:4px;overflow-wrap:anywhere}.app[data-route=settings] main{scroll-behavior:auto}.app[data-route=settings] .settings-grid{grid-template-columns:minmax(380px,1.15fr) minmax(280px,1fr)}.settings-details input,.settings-details select,.settings-details textarea{font-size:16px}.diagnostic{min-height:76px}.app[data-route=settings] .main-title{margin-bottom:26px}
@media(max-width:1050px){.app[data-route=settings] .settings-grid{grid-template-columns:1fr}.other-settings{min-width:0}}
@media(max-width:760px){html,body{scroll-padding-top:12px}.sidebar{padding:12px 16px 0}.sidebar .brand{font-size:20px;min-height:34px;gap:10px}.brand-mark{width:24px;height:24px}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;flex-wrap:nowrap;margin-top:10px}.sidebar nav button{font-size:14px;justify-content:center;gap:5px;min-height:48px;padding:8px 3px;border-radius:7px 7px 0 0;white-space:nowrap}.sidebar nav button svg{width:17px;height:17px}.app{display:flex;flex-direction:column;min-height:0;height:auto}.topbar{order:0;min-height:58px;padding:8px 16px;gap:8px}.connection{min-height:44px;padding:8px 10px;font-size:13px}.breadcrumbs strong{font-size:14px}.header-actions{gap:6px}#new-event{min-width:44px;width:44px;padding:0;height:44px}#new-event:after{content:none}.composer{order:1;padding:14px 16px 16px;background:var(--paper);border-top:0;border-bottom:1px solid var(--line)}main{order:2;min-height:0;overflow:visible;padding:24px 16px 32px;background:#FFF}.composer-top{gap:8px;margin-bottom:8px;font-size:14px}.composer-top label{font-size:13px}.composer-top .icon-btn{width:44px;height:44px;min-width:44px}.input-box{padding:8px 8px 8px 12px;gap:8px;background:#FFF}.input-box textarea{font-size:16px;min-height:48px;line-height:1.6;padding:10px 0;max-height:128px}.send{height:48px;width:48px;min-width:48px}.composer-foot{font-size:11px;margin-top:6px;gap:8px}.composer-foot button{font-size:13px;min-height:40px}.studio-heading{margin-bottom:20px}.studio-heading h1{font-size:28px;line-height:1.35}.studio-heading p{font-size:14px;margin-top:12px}.studio-heading p br{display:none}.studio-heading .eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:10px}.canvas-label{font-size:14px;margin-bottom:12px}.canvas-label span{font-size:10px}.intents{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.intent{min-height:110px;padding:12px 8px;border-radius:8px}.intent-top{margin-bottom:10px}.intent-top>span{font-size:10px}.intent svg{height:20px;width:20px}.intent strong{font-size:14px}.intent small{font-size:12px;line-height:1.6;margin-top:6px}.example-prompts{margin-top:20px}.example-prompts button{min-height:46px;font-size:14px}.mode-strip{gap:6px;margin-bottom:18px}.mode-strip button{font-size:14px;min-height:44px;padding:7px 11px}.chat-title{font-size:23px}.user-msg{font-size:16px;max-width:96%}.reply{font-size:16px}.draft-card footer button,.batch-steps button{min-height:46px;font-size:14px}.main-title{font-size:25px;margin-bottom:24px}.setup-intro{font-size:14px;margin:-10px 0 20px}.app[data-route=settings] .settings-grid{display:block}.ai-setup .setting-card{padding:18px 16px}.setup-status{padding-bottom:16px}.setup-status strong{font-size:17px}.setup-status>span{font-size:12px}.setup-step{margin-top:22px}.setup-step h2{font-size:16px}.field-help{font-size:14px}.setup-connect .primary{font-size:15px;min-height:50px;padding:10px 12px}.setup-connect .text-btn{min-height:48px;padding:8px}.model-row{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px}.model-row button{padding:8px 5px;font-size:14px}.setup-step #test-model{min-height:50px;font-size:15px}.ai-setup #api-key,.ai-setup #model,input:not([type=checkbox]),select,textarea{font-size:16px!important;min-height:48px}.show-key{min-height:50px;font-size:14px;width:56px}.other-settings{margin-top:22px}.settings-details{margin-bottom:14px}.settings-details>summary{padding:16px;font-size:16px;min-height:58px}.settings-details>.settings-group{padding:0 12px 16px}.settings-details .notice{font-size:14px}.settings-details .primary{min-height:48px}.diagnostic{font-size:14px;line-height:1.85;padding:14px;overflow-wrap:anywhere}.preview-explainer{padding:20px 16px}.preview-explainer h2{font-size:22px}.preview-explainer ol{padding-left:22px}.preview-explainer .pill{font-size:12px;white-space:normal}.calendar-panel{padding:16px}.calendar-toolbar .icon-btn{min-width:44px;width:44px;height:44px}.calendar-toolbar .text-btn{min-height:44px}.calendar-toolbar h2{font-size:16px}.calendar-grid .day{min-height:46px;font-size:16px}.filters{gap:4px}.filters button{font-size:14px;min-height:44px;padding:8px 10px}.event-body h3,.task-row>button:nth-child(2){font-size:16px}.task-row .icon-btn{width:46px;height:46px;min-width:46px}.segmented button{min-height:48px}.sheet-actions .primary,.sheet-actions .secondary{min-height:48px}dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;border-radius:12px;scroll-padding:14px}.sheet-head{margin-bottom:18px}.sheet-head h2{font-size:22px}.sheet-head .icon-btn{height:44px;width:44px}.check-label{min-height:44px;font-size:14px}.field-row{gap:12px}#toast{bottom:18px;font-size:14px}}
@media(max-width:360px){.sidebar nav button{font-size:13px;gap:3px}.sidebar nav button svg{width:15px}.studio-heading h1{font-size:26px}.composer-top{font-size:13px}.composer-top label{font-size:12px}.intent{padding:12px 6px}.intent small{font-size:11px}.model-row{grid-template-columns:minmax(0,1fr)}.model-row button{width:100%}.calendar-toolbar{flex-wrap:wrap}}
