:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,a{font:inherit}button{cursor:default}a{color:inherit;text-decoration:none}.local-data-state{min-height:100vh;display:grid;place-items:center;padding:24px;color:#77777c;background:#f5f5f7;font-size:14px}.local-data-error{width:min(100%,360px);padding:24px;text-align:center;color:#1d1d1f;background:#fff;border:1px solid rgba(60,60,67,.12);border-radius:10px}.local-data-error h1{margin:0;font-size:18px}.local-data-error p{margin:8px 0 18px;color:#77777c;line-height:1.5}.local-data-error button{min-width:88px;min-height:38px;color:#fff;background:#0a84ff;border:0;border-radius:8px}.cloud-gate{min-height:100dvh;display:grid;place-items:center;padding:24px;padding-bottom:calc(24px + env(safe-area-inset-bottom));background:var(--surface-page, #f5f5f7);color:var(--text-primary, #1d1d1f)}.cloud-login,.cloud-status{width:min(100%,360px);display:grid;gap:16px;padding:24px;border:1px solid var(--border-subtle, #e5e5ea);border-radius:12px;background:#fff}.cloud-login h1,.cloud-status h1{margin:0;font-size:22px;line-height:1.25}.cloud-login label{display:grid;gap:7px;color:var(--text-secondary, #6e6e73);font-size:13px;font-weight:600}.cloud-login input{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--border-subtle, #d1d1d6);border-radius:8px;background:#fff;color:var(--text-primary, #1d1d1f);font:inherit;font-size:16px}.cloud-login button,.cloud-status button{min-height:42px;border:0;border-radius:8px;background:var(--accent, #007aff);color:#fff;font:inherit;font-weight:650}.cloud-status p{margin:0;color:var(--text-secondary, #6e6e73);font-size:14px;line-height:1.55}.cloud-login-error{margin:0;color:#c9342f;font-size:13px}.preview-app{--accent: #0a84ff;--accent-soft: rgba(10, 132, 255, .09);--success: #30a46c;--text: #1d1d1f;--muted: #77777c;--faint: #a2a2a8;--page-bg: #f5f5f7;--surface: #ffffff;--surface-muted: #f2f2f4;--border: rgba(60, 60, 67, .12);--border-strong: rgba(60, 60, 67, .18);--radius: 14px;--small-radius: 9px;--section-gap: 30px;--row-padding: 13px 2px;--page-title: 30px;--section-title: 15px;--sidebar-width: 222px;--panel-shadow: none;min-height:100vh;background:var(--page-bg);color:var(--text)}.theme-b{--accent: #2f6fdb;--accent-soft: rgba(47, 111, 219, .09);--text: #252421;--muted: #7d7972;--faint: #aaa59d;--page-bg: #f8f7f4;--surface-muted: #f6f4ef;--border: rgba(76, 69, 58, .11);--border-strong: rgba(76, 69, 58, .17);--radius: 13px;--small-radius: 9px;--section-gap: 27px;--row-padding: 14px 2px;--page-title: 32px;--section-title: 16px;--sidebar-width: 232px;--panel-shadow: 0 5px 20px rgba(61, 53, 43, .045)}.theme-c{--accent: #4f67e8;--accent-soft: rgba(79, 103, 232, .08);--success: #2f9e65;--text: #17171a;--muted: #68686e;--faint: #9a9aa1;--page-bg: #f7f7f8;--surface-muted: #f3f3f5;--border: rgba(33, 33, 38, .12);--border-strong: rgba(33, 33, 38, .2);--radius: 8px;--small-radius: 6px;--section-gap: 19px;--row-padding: 9px 0;--page-title: 26px;--section-title: 13px;--sidebar-width: 196px;--panel-shadow: none;letter-spacing:-.005em}.theme-d{--accent: #0a84ff;--accent-soft: rgba(10, 132, 255, .085);--success: #2f9e65;--text: #17171a;--muted: #68686f;--faint: #9d9da5;--page-bg: #f7f7f8;--surface: #ffffff;--surface-muted: #f3f3f5;--border: rgba(33, 33, 38, .12);--border-strong: rgba(33, 33, 38, .2);--radius: 8px;--small-radius: 6px;--section-gap: 20px;--row-padding: 9px 0;--page-title: 27px;--section-title: 13px;--sidebar-width: 196px;--panel-shadow: none;letter-spacing:-.005em}.desktop-sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:var(--sidebar-width);padding:24px 16px;background:color-mix(in srgb,var(--surface) 82%,var(--page-bg));border-right:1px solid var(--border);display:none;flex-direction:column}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:2px 10px 27px;font-weight:680;letter-spacing:-.02em}.brand-mark{width:28px;height:28px;display:grid;place-items:center;color:#fff;background:var(--accent);border-radius:8px}.brand-mark svg{width:17px}.desktop-sidebar nav{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:11px;min-height:42px;padding:0 11px;color:var(--muted);border-radius:9px;font-size:14px;font-weight:520}.nav-item svg{width:19px;height:19px;stroke-width:1.8}.nav-item.active{color:var(--accent);background:var(--accent-soft);font-weight:640}.nav-item.disabled{opacity:.58}.sidebar-add{margin-top:auto;border:0;min-height:42px;border-radius:10px;color:#fff;background:var(--accent);display:flex;align-items:center;justify-content:center;gap:7px;font-weight:620}.sidebar-add svg{width:18px}.mobile-navigation{position:fixed;z-index:30;inset:auto 0 0;height:calc(64px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--surface) 91%,transparent);border-top:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-navigation .nav-item{padding:3px 0 1px;min-height:52px;display:flex;flex-direction:column;justify-content:center;gap:2px;border-radius:0;font-size:10px;background:transparent}.mobile-navigation .nav-item svg{width:21px;height:21px}.floating-add{position:fixed;z-index:35;right:18px;bottom:calc(78px + env(safe-area-inset-bottom));width:49px;height:49px;border:0;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--accent);box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 30%,transparent)}.floating-add svg{width:23px}.mobile-header-add{flex:0 0 auto;width:44px;height:44px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--accent)}.mobile-header-add svg{width:21px;height:21px}.preview-switcher{position:fixed;z-index:50;top:12px;right:12px;height:34px;padding:4px;display:flex;align-items:center;gap:2px;background:color-mix(in srgb,var(--surface) 88%,transparent);border:1px solid var(--border);border-radius:10px;box-shadow:0 5px 18px #0000000e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.preview-switcher>span{display:none;padding:0 7px;color:var(--muted);font-size:11px}.preview-switcher a{width:27px;height:25px;display:grid;place-items:center;border-radius:7px;color:var(--muted);font-size:11px;font-weight:720}.preview-switcher a.active{color:#fff;background:var(--text)}.direction-label{position:absolute;z-index:10;top:19px;left:18px;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;font-weight:620}.direction-label svg{width:13px;height:13px;color:var(--accent)}.main-content{width:min(100%,790px);margin:0 auto;padding:70px 20px 118px}.main-content.wide{width:min(100%,1220px)}.page-header{min-height:72px;margin-bottom:var(--section-gap);display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.page-header h1{margin:0;font-size:var(--page-title);line-height:1.05;letter-spacing:-.045em;font-weight:710}.page-header p{margin:6px 0 0;color:var(--muted);font-size:14px}.planning-banner{min-height:44px;margin-bottom:var(--section-gap);padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text);background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:var(--small-radius);font-size:12px}.planning-banner strong{font-weight:680}.planning-banner span{display:flex;align-items:center;color:var(--accent);font-size:11px;font-weight:650}.planning-banner svg{width:14px;height:14px}.today-chip,.week-summary{margin-bottom:3px;padding:5px 9px;border-radius:99px;color:var(--accent);background:var(--accent-soft);font-size:11px;font-weight:650}.content-section{margin-top:var(--section-gap)}.section-heading{min-height:25px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.section-heading h2{margin:0;color:var(--text);font-size:var(--section-title);letter-spacing:-.015em;font-weight:680}.section-meta{color:var(--muted);font-size:12px}.section-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--panel-shadow)}.task-list{padding:0 14px}.task-row{min-height:48px;padding:var(--row-padding);display:flex;align-items:flex-start;gap:11px;border-bottom:1px solid var(--border)}.task-row:last-child{border-bottom:0}.status-icon{flex:0 0 auto;width:22px;height:22px;margin-top:1px;display:grid;place-items:center;color:var(--faint)}.status-icon svg{width:21px;height:21px;stroke-width:1.7}.status-icon.completed{border-radius:50%;color:#fff;background:var(--success)}.status-icon.completed svg{width:14px;height:14px;stroke-width:2.7}.task-copy{min-width:0;flex:1}.task-title{min-width:0;display:flex;align-items:flex-start;gap:5px;font-size:15px;line-height:1.42;font-weight:470}.task-title>span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.important-star{flex:0 0 auto;width:13px;height:13px;margin-top:3px;color:#e5a31b;fill:currentColor;stroke-width:1.5}.deadline{display:block;margin-top:2px;color:var(--muted);font-size:11px}.deadline.today{color:var(--accent);font-weight:620}.is-completed .task-title,.is-completed time{color:var(--faint)}.fixed-event-row{align-items:center}.fixed-event-row .status-icon{margin-top:0}.fixed-event-row time{width:44px;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums;font-weight:690}.fixed-event-row .task-title{flex:1}.progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.progress-item{min-width:0;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--small-radius)}.progress-copy{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px}.progress-copy span{color:var(--muted);font-weight:560}.progress-copy strong{font-size:12px;font-variant-numeric:tabular-nums;font-weight:700}.progress-goal-edit{padding:0;border:0;color:var(--muted);background:transparent;font:inherit;font-weight:560;text-align:left}.progress-track{height:3px;margin-top:10px;overflow:hidden;background:var(--surface-muted);border-radius:99px}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:inherit}.count-actions{margin-top:9px;display:flex;justify-content:flex-end;gap:5px}.count-actions button{min-width:42px;height:25px;padding:0 7px;border:1px solid var(--border);border-radius:6px;color:var(--muted);background:var(--surface-muted);font-size:10px}.count-actions button:last-child{color:var(--accent);font-weight:680}.count-actions button:disabled{opacity:.45;cursor:default}.goal-target-dialog .primary-button{width:100%}.week-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.day-card{min-width:0;min-height:154px;padding:10px 8px;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--panel-shadow)}.day-card:nth-child(7){grid-column:1 / -1;min-height:106px}.day-card>header,.day-card>a>header{margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.day-card>header strong,.day-card>a>header strong{width:24px;height:24px;display:grid;place-items:center;color:var(--text);border-radius:50%;font-size:12px;font-weight:700}.day-card.is-today{border-color:color-mix(in srgb,var(--accent) 30%,var(--border));background:color-mix(in srgb,var(--surface) 92%,var(--accent-soft))}.day-card.is-today>header,.day-card.is-today>a>header{color:var(--accent);font-weight:680}.day-card.is-today>header strong,.day-card.is-today>a>header strong{color:#fff;background:var(--accent)}.day-card.is-weekend:not(.is-today){background:color-mix(in srgb,var(--surface) 65%,var(--page-bg))}.day-preview-list{display:grid}.day-preview-row{min-width:0;height:25px;display:flex;align-items:center;gap:4px;color:var(--text);font-size:10px;width:100%;padding:0;text-align:left;background:transparent;border:0}.day-preview-row time{flex:0 0 auto;font-variant-numeric:tabular-nums;font-weight:760}.day-preview-row>span{min-width:0;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.day-preview-row .status-icon.compact{width:10px;height:10px;margin:0}.day-preview-row .status-icon.compact svg{width:10px;height:10px}.day-preview-row .status-icon.compact.completed svg{width:7px;height:7px}.day-preview-row .important-star{width:9px;height:9px;margin:0 2px 0 0}.day-preview-row.is-completed{color:var(--faint)}.day-overflow{margin-top:4px;color:var(--muted);font-size:10px;font-weight:620}.destination-row{min-height:62px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px}.destination-row>div:first-child{display:grid;gap:3px;font-size:14px;font-weight:650}.destination-row small{color:var(--muted);font-size:11px;font-weight:450}.destination-value{display:flex;align-items:center;gap:2px;color:var(--muted);font-size:12px;font-weight:580}.destination-value svg{width:16px}.theme-a .section-panel{background:color-mix(in srgb,var(--surface) 94%,transparent)}.theme-a .task-list{border-left:0;border-right:0}.theme-a .progress-item{background:#ffffffbd}.theme-b .section-heading h2{position:relative;padding-left:12px}.theme-b .section-heading h2:before{content:"";position:absolute;left:0;top:50%;width:4px;height:14px;border-radius:4px;background:var(--accent);transform:translateY(-50%)}.theme-b .section-panel,.theme-b .progress-item,.theme-b .day-card{border-color:#4c453a16}.theme-b .task-row{gap:12px}.theme-b .task-title{font-weight:520}.theme-b .status-icon.pending{color:color-mix(in srgb,var(--accent) 60%,var(--faint))}.theme-b .progress-track{height:5px}.theme-b .progress-track span{background:linear-gradient(90deg,var(--accent),#68a0ef)}:is(.theme-c,.theme-d) .desktop-sidebar{padding:18px 10px}:is(.theme-c,.theme-d) .sidebar-brand{padding:2px 8px 18px}:is(.theme-c,.theme-d) .nav-item{min-height:36px;border-radius:6px;font-size:13px}:is(.theme-c,.theme-d) .page-header{min-height:54px}:is(.theme-c,.theme-d) .section-heading{min-height:20px;margin-bottom:5px;text-transform:uppercase;letter-spacing:.045em}:is(.theme-c,.theme-d) .section-panel{border-radius:7px}:is(.theme-c,.theme-d) .task-list{padding:0 12px}:is(.theme-c,.theme-d) .task-row{min-height:40px;gap:8px}:is(.theme-c,.theme-d) .task-title{font-size:13px}:is(.theme-c,.theme-d) .status-icon{width:19px;height:19px}:is(.theme-c,.theme-d) .status-icon svg{width:18px;height:18px}:is(.theme-c,.theme-d) .fixed-event-row time{font-size:12px}:is(.theme-c,.theme-d) .progress-grid{gap:5px}:is(.theme-c,.theme-d) .progress-item{padding:9px 10px}:is(.theme-c,.theme-d) .progress-track{margin-top:7px;height:2px}:is(.theme-c,.theme-d) .day-card{min-height:137px;padding:8px 7px}:is(.theme-c,.theme-d) .day-card:nth-child(7){min-height:92px}:is(.theme-c,.theme-d) .day-card>header,:is(.theme-c,.theme-d) .day-card>a>header{margin-bottom:6px}:is(.theme-c,.theme-d) .day-preview-row{height:22px;font-size:9.5px}.theme-d .page-header h1{font-weight:750}.theme-d .section-heading{margin-bottom:6px;text-transform:none}.theme-d .section-heading h2{font-weight:720}.theme-d .task-title{font-weight:500}.theme-d .status-icon.pending{color:color-mix(in srgb,var(--accent) 68%,var(--faint))}.theme-d .destination-row>div:first-child{font-weight:690}@media(min-width:600px)and (max-width:899px){.week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.day-card:nth-child(7){grid-column:auto;min-height:154px}}@media(min-width:720px){.progress-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.week-page .progress-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(min-width:900px){.desktop-sidebar{display:flex}.mobile-navigation,.floating-add,.mobile-header-add{display:none}.main-content{margin-left:max(var(--sidebar-width),calc((100vw - 790px + var(--sidebar-width)) / 2));padding:72px 34px 80px}.main-content.wide{width:calc(100% - var(--sidebar-width));max-width:1280px;margin-left:var(--sidebar-width)}.preview-switcher{top:18px;right:20px}.preview-switcher>span{display:block}.direction-label{position:fixed;top:auto;bottom:18px;left:calc(var(--sidebar-width) + 24px)}.week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.day-card,.day-card:nth-child(7){grid-column:auto;min-height:178px}.day-preview-row{height:30px;font-size:11px}:is(.theme-c,.theme-d) .day-card,:is(.theme-c,.theme-d) .day-card:nth-child(7){min-height:155px}:is(.theme-c,.theme-d) .day-preview-row{height:25px;font-size:10px}}@media(max-width:420px){.main-content{padding-left:14px;padding-right:14px}.page-header h1{font-size:calc(var(--page-title) - 2px)}.week-page .page-header{margin-bottom:22px}.week-grid{gap:5px}.day-card{padding:8px 6px}.day-preview-row{gap:3px;font-size:9.5px}.direction-label{max-width:210px}.theme-d .task-row{min-height:44px}}.product-app .main-content{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.page-title-wrap,.page-header-actions{display:flex;align-items:center;gap:10px}.back-link{width:34px;height:34px;margin-left:-8px;display:grid;place-items:center;color:var(--muted);border-radius:7px}.back-link svg{width:20px}.utility-page{width:100%}.segmented-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:3px;background:var(--surface-muted);border:1px solid var(--border);border-radius:8px}.segmented-tabs a{min-height:34px;display:grid;place-items:center;color:var(--muted);border-radius:6px;font-size:12px;font-weight:580}.segmented-tabs a.active{color:var(--accent);background:var(--surface);font-weight:700}.utility-content{margin-top:14px}.row-end{flex:0 0 auto;color:var(--muted);font-size:11px}.dated-list{padding:0 12px}.dated-row{min-height:58px;padding:9px 0;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:12px;border-bottom:1px solid var(--border)}.dated-row:last-child{border-bottom:0}.date-column{display:grid;gap:2px;font-size:12px}.date-column time{color:var(--muted);font-size:11px}.history-stack,.inspiration-list{display:grid;gap:10px}.history-stack>.segmented-tabs{width:min(100%,330px);grid-template-columns:repeat(3,1fr);margin-bottom:2px}.week-group{overflow:hidden}.week-group>header{min-height:44px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.week-group>header svg{width:16px;color:var(--muted);transform:rotate(90deg)}.week-group.collapsed>header svg{transform:none}.week-group-content{padding:0 12px;border-top:1px solid var(--border)}.history-row{min-height:43px;display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:8px;border-bottom:1px solid var(--border)}.history-row:last-child{border-bottom:0}.history-row time,.history-result{color:var(--muted);font-size:10px}.result-已完成{color:var(--success)}.page-toolbar{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px}.primary-button,.secondary-button{min-height:40px;padding:0 14px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:680;font-size:13px}.primary-button{border:1px solid var(--accent);color:#fff;background:var(--accent)}.secondary-button{border:1px solid var(--border-strong);color:var(--text);background:var(--surface)}.secondary-button:disabled{opacity:.46;cursor:default}.secondary-button svg,.settings-row svg{width:16px;height:16px}.text-action,.modal-link{color:var(--accent);font-size:12px;font-weight:650}.inspiration-card{padding:12px 14px}.inspiration-card p,.inspiration-row p{margin:0;font-size:13px;line-height:1.5}.inspiration-card footer{margin-top:9px;display:flex;align-items:center;justify-content:space-between;gap:10px}.inspiration-card small,.inspiration-row small{color:var(--muted);font-size:10px}.inspiration-card footer span{display:flex;gap:4px}.inspiration-card footer button{min-height:28px;padding:0 8px;color:var(--muted);background:transparent;border:1px solid var(--border);border-radius:5px;font-size:10px}.inspiration-row{padding:10px 0;border-bottom:1px solid var(--border)}.inspiration-row:last-child{border-bottom:0}.inspiration-row small{display:block;margin-top:4px}.inspiration-row footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.inspiration-row footer button,.week-group-toggle,.dialog-close{padding:0;border:0;color:var(--muted);background:transparent}.inspiration-row footer button{min-height:28px;padding:0 6px;font-size:10px}.week-group-toggle{flex:1;min-height:44px;color:var(--text);font:inherit;font-weight:680;text-align:left}.settings-list{overflow:hidden}.settings-row{min-height:44px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--border);font-size:12px}.settings-row:last-child{border-bottom:0}.settings-row>span:first-child{display:flex;align-items:center;gap:8px}.settings-control{display:flex;align-items:center;gap:9px}.notification-time{flex:0 0 54px;width:54px;min-height:28px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;line-height:1.2;text-align:center}.settings-row[aria-disabled=true]{opacity:.48;cursor:default}.timezone-select{max-width:160px;border:0;color:var(--muted);background:transparent;font:inherit;text-align:right}.settings-control input[type=checkbox],.video-action input,.check-row input,.checklist-row input{accent-color:var(--accent)}.settings-control input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:32px;height:18px;margin:0;border:1px solid var(--border-strong);border-radius:99px;background:var(--surface-muted)}.settings-control input[type=checkbox]:before{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--surface);border:1px solid var(--border);transition:transform .12s ease}.settings-control input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}.settings-control input[type=checkbox]:checked:before{transform:translate(14px)}.settings-note{padding:10px 12px;color:var(--muted);background:var(--surface-muted);font-size:10px;line-height:1.45}.add-mode-grid{margin-bottom:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.add-mode{min-height:66px;padding:10px;border:1px solid var(--border);border-radius:7px;display:grid;align-content:center;gap:3px;color:var(--text);background:var(--surface);text-align:left}.add-mode.active{border-color:color-mix(in srgb,var(--accent) 48%,var(--border));background:var(--accent-soft)}.add-mode strong{font-size:12px}.add-mode span{color:var(--muted);font-size:10px}.item-form,.video-plan-card{padding:14px}.item-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-field{min-width:0;display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:620}.form-field input,.form-field select,.form-field textarea{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--border-strong);border-radius:6px;color:var(--text);background:var(--surface);font:inherit;font-weight:470;outline:none}.form-field textarea{resize:none;line-height:1.5}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--accent)}.form-field small{color:var(--faint);font-weight:450}.check-row{min-height:40px;display:flex;align-items:center;gap:8px;font-size:12px}.item-form .primary-button{align-self:end}.plan-layout{display:grid;gap:18px}.video-plan-card{display:grid;gap:14px}.video-plan-stack{display:grid;gap:9px}.video-card-header{display:flex;align-items:center;justify-content:space-between;font-size:12px}.video-card-header button{width:28px;height:28px;padding:0;display:grid;place-items:center;color:var(--muted);background:transparent;border:0}.video-card-header svg{width:15px;height:15px}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.video-action{min-height:76px;padding:8px 10px;display:grid;align-content:start;gap:7px;background:var(--surface-muted);border:1px solid var(--border);border-radius:6px}.video-action>label{display:flex;align-items:center;gap:7px}.video-action strong{font-size:11px}.action-fields{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:5px}.video-action:has(.action-fields input:only-child) .action-fields{grid-template-columns:1fr}.action-fields input,.action-fields select{width:100%;min-width:0;height:30px;padding:0 5px;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:5px;font-size:9px}.add-video{width:100%;margin-top:7px}.known-events,.goal-list,.plan-summary{padding:10px 12px}.known-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.known-events>div{min-height:46px;display:flex;align-items:center;gap:9px}.known-events svg{width:17px;color:var(--accent)}.known-events span{display:grid;gap:2px}.known-events strong{font-size:11px}.known-events small{color:var(--muted);font-size:10px}.goal-list{display:grid;gap:2px}.goal-stepper{min-height:46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);font-size:12px}.goal-stepper:last-child{border-bottom:0}.goal-stepper>div{display:grid;grid-template-columns:30px minmax(44px,auto) 30px;align-items:center;text-align:center}.goal-stepper button:disabled{opacity:.45}.goal-stepper button{height:28px;border:1px solid var(--border);border-radius:5px;color:var(--accent);background:var(--surface-muted)}.plan-summary p{margin:0;padding:7px 0;color:var(--muted);border-bottom:1px solid var(--border);font-size:10px}.plan-summary p:last-child{border-bottom:0}.confirm-plan{width:100%;margin-top:10px}.checklist{overflow:hidden}.checklist-row{min-height:50px;padding:0 14px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--border);font-size:13px}.checklist-row:last-child{border-bottom:0}.checklist-row input{width:18px;height:18px}.close-complete{margin-top:12px;padding:12px;color:var(--success);border:1px solid color-mix(in srgb,var(--success) 25%,var(--border));border-radius:7px;background:color-mix(in srgb,var(--success) 7%,var(--surface));font-size:12px;font-weight:680}.modal-backdrop{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;padding:16px;display:grid;place-items:center;background:#14141847;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.capture-modal{width:min(100%,470px);padding:16px;display:grid;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:10px}.capture-modal>header{display:flex;align-items:flex-start;justify-content:space-between}.capture-modal h2,.capture-modal p{margin:0}.capture-modal h2{font-size:17px}.capture-modal p{margin-top:4px;color:var(--muted);font-size:11px}.capture-modal>header>a{width:32px;height:32px;display:grid;place-items:center;color:var(--muted);font-size:23px}.dialog-close{width:32px;height:32px;font-size:23px}.save-success{color:var(--success);font-size:12px;font-weight:650;text-align:center}.modal-link{display:flex;align-items:center;justify-content:center}.modal-link svg{width:15px}@media(min-width:760px){.plan-layout{grid-template-columns:minmax(0,1.8fr) minmax(260px,.8fr);align-items:start}.plan-side{position:sticky;top:24px}}@media(min-width:900px){.product-app .main-content{padding-bottom:80px}}@media(max-width:520px){.item-form,.action-grid,.known-events{grid-template-columns:1fr}.item-form .primary-button,.item-form .check-row{grid-column:1}.history-row{grid-template-columns:47px minmax(0,1fr)}.history-row time{grid-column:2}.page-toolbar{align-items:stretch}.secondary-button{min-height:44px}}.real-task-row{align-items:center}.task-status-button{flex:0 0 auto;width:32px;height:40px;padding:0;display:grid;place-items:center;color:var(--faint);background:transparent;border:0}.task-status-button svg{width:21px;height:21px;stroke-width:1.7}.task-status-button.completed{color:var(--success)}.task-body-button,.history-row-button{min-width:0;padding:0;color:inherit;background:transparent;border:0;text-align:left}.task-body-button{min-height:40px;flex:1;display:flex;align-items:center}.task-row>.task-copy.task-body-button{display:grid;align-content:center}.real-task-row .date-column{flex:0 0 76px}.task-empty-state{min-height:92px;padding:24px;display:grid;place-items:center;color:var(--muted);font-size:12px;text-align:center}.task-empty-state button{color:var(--accent);background:transparent;border:0}.inline-notice,.form-error{color:#b5473c;font-size:11px}.inline-notice{margin-bottom:8px;padding:8px 10px;border:1px solid color-mix(in srgb,#b5473c 20%,var(--border));border-radius:7px;background:color-mix(in srgb,#b5473c 5%,var(--surface))}.item-form .form-error{grid-column:1 / -1;margin:0}.task-dialog{width:min(100%,390px);padding:18px;display:grid;gap:18px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px}.task-dialog h2{margin:0;font-size:15px;line-height:1.45}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.task-action-backdrop{position:fixed;z-index:70;top:0;right:0;bottom:0;left:0;background:transparent}.task-action-panel{position:absolute;top:76px;right:24px;width:min(300px,calc(100vw - 48px));overflow:hidden;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;box-shadow:0 8px 28px #1414181a}.task-action-panel>header{min-height:48px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--border);font-size:12px}.task-action-panel>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-action-panel>header button{width:30px;height:30px;padding:0;display:grid;place-items:center;color:var(--muted);background:transparent;border:0}.task-action-panel>header svg{width:16px}.task-action-list{padding:5px;display:grid}.task-action-list button,.task-action-list a,.action-subpanel>button{min-height:40px;padding:0 10px;display:flex;align-items:center;color:var(--text);background:transparent;border:0;border-radius:6px;font-size:12px;text-align:left}.task-action-list :is(button,a):hover,.action-subpanel>button:hover{background:var(--surface-muted)}.task-action-list .danger-action,.danger-button{color:#b42318}.action-confirm,.action-subpanel{padding:14px;display:grid;gap:10px;font-size:12px}.action-confirm p{margin:0;color:var(--muted);line-height:1.5}.danger-button{min-height:40px;padding:0 12px;background:color-mix(in srgb,#b42318 8%,var(--surface));border:1px solid color-mix(in srgb,#b42318 18%,var(--border));border-radius:7px;font-weight:680}.action-subpanel input{min-height:40px;padding:8px 10px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:6px}.week-group>summary{min-height:44px;padding:0 12px;display:flex;align-items:center;font-size:12px;font-weight:680;cursor:default}.week-group>summary::marker{color:var(--muted)}.history-row-button{width:100%}@media(max-width:759px){.task-action-backdrop{display:flex;align-items:flex-end;padding:12px 10px calc(12px + env(safe-area-inset-bottom));background:#14141847}.task-action-panel{position:static;width:100%;max-height:min(78vh,620px);overflow-y:auto;border-radius:12px;box-shadow:none}.task-action-list button,.task-action-list a,.action-subpanel>button{min-height:48px}.task-status-button,.task-body-button{min-height:44px}}
