:root{--secretary-color-material-primary:#2563d9;--secretary-color-material-secondary:#32735f;--secretary-color-material-tertiary:#8a5a16;--secretary-color-screen-background:#f7f8fa;--secretary-color-surface:#fff;--secretary-color-surface-variant:#e7ecf2;--secretary-color-on-screen:#17212b;--secretary-color-on-surface:#17212b;--secretary-color-on-surface-muted:#5e6875;--secretary-color-panel-background:#e4ebf5;--secretary-color-panel-border:#b9c6d6;--secretary-color-control-container:#fff;--secretary-color-on-control-container:#263442;--secretary-color-control-border:#d4dce6;--secretary-color-selected-mode-container:#1957c2;--secretary-color-on-selected-mode-container:#fff;--secretary-color-selected-filter-container:#d3e2ff;--secretary-color-on-selected-filter-container:#12336d;--secretary-color-primary-action-container:#1957c2;--secretary-color-on-primary-action-container:#fff;--secretary-color-secondary-action-container:#eaf0f7;--secretary-color-on-secondary-action-container:#1e3043;--secretary-color-dismiss-action-container:#ffe1b9;--secretary-color-on-dismiss-action-container:#5e3b00;--secretary-color-danger-action-container:#ffdad6;--secretary-color-on-danger-action-container:#6e1510;--secretary-color-success:#1b7f5a;--secretary-color-warning:#9a6400;--secretary-color-danger:#b3261e;--secretary-color-info:#6f3f86;--secretary-radius-control:6px;--secretary-radius-chip:10px;--secretary-radius-panel:8px;--secretary-radius-bottom-panel:16px;--secretary-radius-action:12px;--secretary-radius-pill:999px;--secretary-spacing-screen-padding:16px;--secretary-spacing-content:12px;--secretary-spacing-panel-padding:10px;--secretary-spacing-bottom-panel-padding:8px;--secretary-spacing-compact-gap:6px;--secretary-size-web-control-height:36px;--secretary-size-web-compact-control-height:32px;--bg:var(--secretary-color-screen-background);--surface:var(--secretary-color-surface);--surface-soft:var(--secretary-color-surface-variant);--text:var(--secretary-color-on-surface);--muted:var(--secretary-color-on-surface-muted);--line:var(--secretary-color-control-border);--line-strong:var(--secretary-color-panel-border);--accent:var(--secretary-color-primary-action-container);--accent-strong:var(--secretary-color-selected-mode-container);--blue:var(--secretary-color-selected-mode-container);--red:var(--secretary-color-danger);--amber:var(--secretary-color-warning);--green:var(--secretary-color-success);--violet:var(--secretary-color-info);--selected-soft:var(--secretary-color-selected-filter-container);--selected-soft-text:var(--secretary-color-on-selected-filter-container);--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{min-width:320px;margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--text);cursor:pointer;border-radius:6px;padding:0 13px}button:hover{border-color:var(--accent)}button.primary{border-color:var(--accent);background:var(--accent);color:#fff}button.primary:hover{background:var(--accent-strong)}input,select,textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--text);border-radius:6px}input,select{height:36px;padding:0 10px}textarea{resize:vertical;min-height:96px;padding:9px 10px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:4px;font-size:28px;line-height:1.15}h2{margin-bottom:0;font-size:20px;line-height:1.2}p,.empty{color:var(--muted);margin-bottom:0;font-size:13px}.field{color:var(--muted);gap:5px;font-size:13px;display:grid}.form-error{color:var(--red)}.auth-screen,.loading-screen{place-items:center;height:100dvh;min-height:100dvh;padding:24px;display:grid;overflow:auto}.auth-card,.panel{border:1px solid var(--line);background:var(--surface);border-radius:8px}.auth-card{gap:14px;width:min(420px,100%);padding:24px;display:grid}.app-shell{grid-template-rows:auto minmax(0,1fr);width:100%;max-width:none;height:100dvh;margin:0 auto;padding:12px;display:grid;overflow:hidden}.topbar{justify-content:space-between;align-items:end;gap:16px;min-height:56px;margin-bottom:10px;padding:0 4px;display:flex}.topbar-actions,.quick-row{flex-wrap:wrap;gap:8px;display:flex}.topbar-actions{align-items:center}.topbar-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.topbar-mode-tabs button{min-height:36px;padding:0 11px}.topbar-mode-tabs .active{border-color:var(--blue);color:var(--selected-soft-text);background:var(--selected-soft)}.workspace{grid-template-columns:clamp(400px,23vw,520px) minmax(880px,1fr) clamp(320px,18vw,420px);align-items:stretch;gap:10px;min-width:0;min-height:0;display:grid;overflow:hidden}.panel{min-width:0;height:100%;min-height:0;padding:10px;overflow:hidden}.task-sidebar{flex-direction:column;min-height:0;display:flex}.planner,.inspector,.open-tasks-workspace{grid-template-rows:auto minmax(0,1fr);align-content:stretch;display:grid}.panel-header{margin-bottom:10px}.task-sidebar .panel-header{justify-content:space-between;align-items:start;gap:10px;display:flex}.panel-header h2{font-size:18px}.sidebar-add-button{flex:none;min-height:32px;padding:0 10px;font-size:12px}.segmented{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:10px;display:grid}.segmented button,.sidebar-tools select,.sidebar-tools input{min-height:32px;font-size:12px}.segmented .active,.sidebar-tag.active{border-color:var(--blue);color:var(--selected-soft-text);background:var(--selected-soft)}.sidebar-tools{grid-template-columns:minmax(0,1fr) 128px;gap:7px;margin-bottom:8px;display:grid}.active-filter{border:1px solid var(--line);background:var(--selected-soft);color:var(--selected-soft-text);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:7px;font-size:12px;display:flex}.task-list,.tag-list,.week-day-list,.inspector-list{gap:6px;min-height:0;display:grid}.task-list,.tag-list{flex:auto;align-content:start;padding-right:2px;overflow:auto}.sidebar-task,.sidebar-tag,.week-task,.inspector-list button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:6px;gap:4px;width:100%;min-height:44px;padding:6px 8px;display:grid}.sidebar-task[draggable=true],.week-task[draggable=true],.month-task[draggable=true],.day-task-main[draggable=true],.time-task[draggable=true],.day-untimed-task[draggable=true]{cursor:grab}.sidebar-task[draggable=true]:active,.week-task[draggable=true]:active,.month-task[draggable=true]:active,.day-task-main[draggable=true]:active,.time-task[draggable=true]:active,.day-untimed-task[draggable=true]:active{cursor:grabbing;opacity:.96;outline-offset:2px;outline:2px solid #1f6f636b;transform:scale(1.01)}.task-drag-preview{z-index:10000;opacity:.94;pointer-events:none;outline-offset:2px;outline:2px solid #1f6f637a;width:280px;max-width:360px;position:fixed;top:-1000px;left:-1000px;box-shadow:0 16px 34px #151f2b47}.task-drag-preview.day-task-row{width:320px}.task-drag-preview.sidebar-task.child{width:280px;margin-left:0}.task-drag-preview *{pointer-events:none}.task-list,.tag-list,.week-grid,.month-grid,.week-day-list,.month-day-list,.day-task-list,.day-time-grid,.day-unscheduled-list,.open-task-groups,.structure-outline,.structure-inspector,.inspector{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}.task-list::-webkit-scrollbar{width:8px;height:8px}.tag-list::-webkit-scrollbar{width:8px;height:8px}.week-grid::-webkit-scrollbar{width:8px;height:8px}.month-grid::-webkit-scrollbar{width:8px;height:8px}.week-day-list::-webkit-scrollbar{width:8px;height:8px}.month-day-list::-webkit-scrollbar{width:8px;height:8px}.day-task-list::-webkit-scrollbar{width:8px;height:8px}.day-time-grid::-webkit-scrollbar{width:8px;height:8px}.day-unscheduled-list::-webkit-scrollbar{width:8px;height:8px}.open-task-groups::-webkit-scrollbar{width:8px;height:8px}.structure-outline::-webkit-scrollbar{width:8px;height:8px}.structure-inspector::-webkit-scrollbar{width:8px;height:8px}.inspector::-webkit-scrollbar{width:8px;height:8px}.task-list::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.tag-list::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.week-grid::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.month-grid::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.week-day-list::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.month-day-list::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.day-task-list::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.day-time-grid::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.day-unscheduled-list::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.open-task-groups::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.structure-outline::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.structure-inspector::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.inspector::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}.sidebar-task.child{border-left:3px solid var(--line-strong);width:calc(100% - 14px);margin-left:14px}.sidebar-task.selected{border-color:var(--blue);box-shadow:inset 3px 0 0 var(--blue)}.sidebar-task.done,.week-task.done{opacity:.68}.sidebar-task strong,.sidebar-tag strong,.week-task strong{overflow-wrap:anywhere;color:var(--text);font-size:13px}.sidebar-task span,.sidebar-tag span,.week-task span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.tag-depth-1{padding-left:24px}.tag-depth-2{padding-left:38px}.tag-depth-3{padding-left:52px}.tag-depth-4{padding-left:66px}.tag-depth-5{padding-left:80px}.tag-depth-6{padding-left:94px}.planner-toolbar{justify-content:space-between;align-items:center;gap:10px;min-height:38px;margin-bottom:8px;display:flex}.planner-actions{align-items:center;gap:8px;display:flex}.planner-period{align-items:baseline;gap:8px;min-width:0;display:flex}.planner-period span{color:var(--muted);font-size:12px}.planner-period strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.2;overflow:hidden}.period-nav{grid-template-columns:32px auto 32px;gap:4px;display:grid}.period-nav button,.calendar-mode-tabs button{min-height:32px;padding:0 10px;font-size:12px}.period-nav button:first-child,.period-nav button:last-child{padding:0;font-size:18px;line-height:1}.calendar-mode-tabs{width:216px;margin-bottom:0}.week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;min-width:0;min-height:0;padding-bottom:2px;display:grid;overflow:hidden}.week-day{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;grid-template-rows:auto minmax(0,1fr);align-content:start;gap:0;min-width:0;min-height:0;padding:0;display:grid;overflow:hidden}.week-day.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px #1f6f6338}.week-day.selected .week-day-header{background:#d9f0e9}.week-day.today{border-color:#8fbfb3}.week-day.today .week-day-header{color:#fff;background:var(--accent)}.week-day.drop-ready{border-style:dashed}.week-day.drop-ready:hover{border-color:var(--accent);background:#e4f4ef;box-shadow:inset 0 0 0 2px #1f6f6329}.week-task[draggable=true]:hover,.month-task[draggable=true]:hover,.day-task-row:hover,.time-task:hover,.day-untimed-task:hover{border-color:var(--line-strong)}.open-tasks-workspace{grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:8px}.open-tasks-toolbar,.open-task-tools,.open-task-row{gap:8px;display:grid}.open-tasks-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:start}.open-tasks-title{gap:3px;display:grid}.open-tasks-title span{color:var(--muted);font-size:12px}.open-tasks-title strong{font-size:18px}.open-task-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.open-task-metrics span{border:1px solid var(--line);min-width:0;color:var(--muted);background:var(--surface-soft);border-radius:6px;gap:2px;padding:7px;font-size:11px;display:grid}.open-task-metrics strong{color:var(--text);font-size:17px;line-height:1}.open-task-tools{grid-template-columns:minmax(220px,.7fr) minmax(360px,1fr);align-items:center}.open-task-tools input{min-height:32px}.open-task-slices{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:0}.open-task-groups{align-content:start;gap:10px;min-height:0;padding-right:2px;display:grid;overflow:auto}.open-task-groups.drop-ready{outline:1px dashed var(--accent);outline-offset:3px}.open-task-group,.open-task-list{gap:6px;display:grid}.open-task-row{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:minmax(260px,1fr) minmax(190px,.46fr) auto;align-items:center;min-width:0;padding:7px}.open-task-row:hover{border-color:var(--line-strong)}.open-task-row.selected{border-color:var(--blue);box-shadow:inset 3px 0 0 var(--blue)}.open-task-main{cursor:grab;gap:3px;min-width:0;display:grid}.open-task-main:active{cursor:grabbing}.open-task-main strong,.open-task-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.open-task-main strong{font-size:13px}.open-task-main span{color:var(--muted);font-size:11px}.open-task-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.open-task-fields select{min-width:0;min-height:30px;font-size:12px}.open-task-row-actions{flex-wrap:wrap;justify-content:end;gap:6px;display:flex}.open-task-row-actions button,.open-task-footer button{min-height:30px;padding:0 8px;font-size:12px}.open-task-empty{place-items:center;gap:10px;min-height:180px;display:grid}.open-task-footer{justify-content:flex-end;display:flex}.week-day-header{text-align:left;border:0;border-bottom:1px solid var(--line);background:#eef2f6;border-radius:0;gap:3px;width:100%;min-height:42px;padding:7px 9px;display:grid}.week-day-header:hover{border-color:var(--line);background:#e8edf3}.week-day-header strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.2;overflow:hidden}.week-day-header span{color:var(--muted);font-size:11px}.structure-board,.structure-inspector{align-content:stretch;gap:8px;display:grid}.structure-board{grid-template-rows:auto auto minmax(360px,1fr) auto auto;position:relative}.structure-workspace-shell{display:contents}.structure-workspace-shell.fullscreen{z-index:80;background:#e6edf3;grid-template-columns:minmax(0,1fr) clamp(320px,24vw,430px);gap:10px;min-width:0;min-height:0;padding:12px;display:grid;position:fixed;inset:0}.structure-workspace-shell.fullscreen .structure-board,.structure-workspace-shell.fullscreen .structure-inspector{height:auto}.structure-workspace-shell.fullscreen .structure-board{grid-template-rows:auto auto minmax(0,1fr) auto auto}.structure-inspector{grid-template-rows:auto;align-content:start;overflow:auto}.structure-toolbar{justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.structure-toolbar h2{font-size:18px}.structure-actions,.structure-inspector-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.structure-actions button,.structure-inspector-actions button{min-height:30px;padding:0 8px;font-size:12px}.structure-create-row{grid-template-columns:minmax(0,1fr) minmax(160px,.36fr) auto;gap:6px;display:grid}.structure-create-row button{min-height:36px}.structure-canvas-shell{height:100%;min-height:0;display:grid;position:relative}.structure-outline{overscroll-behavior:contain;background-color:#eef3f7;background-image:linear-gradient(#5a70841f 1px,#0000 1px),linear-gradient(90deg,#5a70841f 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:32px 32px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border-radius:8px;grid-area:1/1;height:auto;min-height:0;padding:2px;overflow:auto}.structure-floating-controls{z-index:8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffeb;border:1px solid #8d9eb09e;border-radius:7px;grid-area:1/1;grid-template-columns:30px 52px 30px 34px;place-self:start end;gap:4px;width:max-content;margin:8px 14px 0 0;padding:4px;display:grid;position:relative;box-shadow:0 8px 20px #1d2d3c2e}.structure-floating-controls button{min-height:30px;padding:0;font-size:13px;line-height:1}.structure-floating-controls button:nth-child(2){font-size:12px}.structure-outline.panning,.structure-outline.panning *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}.structure-outline.drop-ready{outline:1px dashed var(--accent);outline-offset:3px}.structure-project-group{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:6px;min-width:0;padding:7px;display:grid}.structure-canvas-scale-space{width:var(--canvas-scaled-width);height:var(--canvas-scaled-height);min-width:100%;min-height:100%;position:relative}.structure-canvas{top:var(--canvas-world-padding);left:var(--canvas-world-padding);width:var(--canvas-width);height:var(--canvas-height);min-width:0;min-height:0;transform:scale(var(--canvas-scale));transform-origin:0 0;position:absolute}.structure-canvas-links{pointer-events:none;position:absolute;inset:0;overflow:visible}.structure-link line{stroke:var(--line-strong);stroke-width:1.5px}.structure-link text{fill:var(--muted);paint-order:stroke;stroke:var(--surface);stroke-width:3px;font-size:10px}.structure-link.parent line{stroke:var(--blue);stroke-dasharray:4 4}.structure-link.blocks line,.structure-link.after line{marker-end:url(#structure-arrow)}.structure-link.blocks line{stroke:var(--red)}.structure-link.after line{stroke:var(--amber)}.structure-link.related line{stroke:var(--green)}.structure-link path{fill:var(--line-strong)}.structure-canvas-project{z-index:1;border:1px solid var(--line);max-width:220px;color:var(--muted);pointer-events:none;background:#ffffffd1;border-radius:999px;align-items:center;gap:6px;padding:3px 7px;font-size:11px;display:inline-flex;position:absolute}.structure-canvas-project strong,.structure-canvas-project span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.structure-node{border:1px solid #c4d0dc;border-left:6px solid var(--line-strong);background:#fff;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px 9px 9px 11px;display:grid;box-shadow:0 5px 16px #1d2d3c29,0 1px 2px #1d2d3c1f}.structure-canvas-node{z-index:2;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;width:228px;min-height:84px;position:absolute}.structure-canvas-node:hover{border-color:#8ea4b8;box-shadow:0 8px 22px #1d2d3c33,0 2px 4px #1d2d3c1f}.structure-canvas-node:active{cursor:grabbing}.structure-canvas-node.dragging{z-index:4;box-shadow:0 14px 32px #1d2d3c42,0 3px 8px #1d2d3c29}.structure-node.selected{border-color:var(--blue);border-left-color:var(--blue);box-shadow:0 8px 24px #2f5e8d3b,0 0 0 2px #2f5e8d33}.structure-node.status-new{border-left-color:var(--green)}.structure-node.status-changed{border-left-color:var(--amber)}.structure-node.status-applied{opacity:.86}.structure-node-main{text-align:left;background:0 0;border:0;align-content:start;gap:6px;min-width:0;min-height:36px;padding:0;display:grid}.structure-node-main:hover{background:0 0;border-color:#0000}.structure-node-main strong{overflow-wrap:anywhere;color:var(--text);font-size:14px;font-weight:650;line-height:1.24}.structure-status,.structure-message,.dependency-list span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.structure-node-main .structure-node-meta{color:#4d6174;text-overflow:ellipsis;white-space:nowrap;background:#f2f6fa;border:1px solid #d3dde7;border-radius:999px;width:fit-content;max-width:100%;padding:3px 7px;font-size:11px;line-height:1.2;display:block;overflow:hidden}.structure-node-actions{grid-template-columns:repeat(2,28px);gap:4px;display:grid}.structure-node-actions button{min-height:28px;padding:0;font-size:13px}.structure-children{grid-column:1/-1;gap:6px;padding-left:16px;display:grid}.structure-status{flex-wrap:wrap;gap:8px;display:flex}.structure-status span,.structure-message{border:1px solid var(--line);background:var(--surface-soft);border-radius:999px;padding:5px 7px}.structure-staged{gap:7px;min-height:0;display:grid}.structure-staged-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.structure-staged-list article{border:1px solid var(--line);border-left:3px solid var(--line-strong);background:var(--surface-soft);border-radius:6px;gap:3px;min-height:52px;padding:7px;display:grid}.structure-staged-list article.status-new{border-left-color:var(--green)}.structure-staged-list article.status-changed{border-left-color:var(--amber)}.structure-staged-list article.status-edge{border-left-color:var(--blue)}.structure-staged-list article.status-conflict{border-left-color:var(--red);background:#fff7f6}.structure-staged-list strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.structure-staged-list span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.structure-dependencies{gap:8px;display:grid}.dependency-list{gap:6px;display:grid}.dependency-list article{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;gap:7px;padding:7px;display:grid}.dependency-row-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.dependency-row-head button{min-height:28px;padding:0 7px;font-size:11px}.dependency-list strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.field.compact{gap:3px;font-size:11px}.field.compact input,.field.compact select{min-height:30px;font-size:12px}.structure-apply-modal{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;width:min(720px,100%);max-height:min(760px,100dvh - 48px);display:grid;overflow:hidden;box-shadow:0 20px 52px #151f2b47}.structure-apply-body{gap:10px;min-height:0;padding:14px 16px;display:grid;overflow:auto}.structure-apply-section{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:7px;padding:10px;display:grid}.structure-apply-section ul{gap:5px;margin:0;padding-left:18px;display:grid}.structure-apply-section li{overflow-wrap:anywhere;color:var(--text);font-size:12px}.structure-conflict-list{gap:7px;display:grid}.structure-conflict-list article{border:1px solid #f0b8b2;border-left:3px solid var(--red);background:#fff7f6;border-radius:6px;gap:6px;padding:8px;display:grid}.structure-conflict-list article.resolved{border-color:var(--line);border-left-color:var(--amber);background:#fffaf0}.structure-conflict-list strong{overflow-wrap:anywhere;color:var(--text);font-size:13px}.structure-conflict-list span{overflow-wrap:anywhere;color:var(--muted);font-size:12px}.structure-conflict-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.structure-conflict-actions button{text-overflow:ellipsis;white-space:nowrap;min-height:30px;padding:0 6px;font-size:11px;overflow:hidden}.empty.compact{margin:0;font-size:12px}.week-task{border-left-width:3px;min-width:0}.week-task strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;display:-webkit-box;overflow:hidden}.week-task span{min-width:0}.week-day-list{align-content:start;padding:6px;overflow:auto}.week-day-list,.month-day-list,.inspector-list{min-width:0}.month-grid{grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;min-width:0;min-height:0;display:grid;overflow:hidden}.month-day{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.month-day.outside{opacity:.7;background:#f1f4f7}.month-day.selected-week{background:#f1f8f5}.month-day.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px #1f6f6338}.month-day.selected .month-day-header{background:#d9f0e9}.month-day.today{border-color:#8fbfb3}.month-day.today .month-day-header{color:#fff;background:var(--accent)}.month-day.drop-ready{border-style:dashed}.month-day.drop-ready:hover{border-color:var(--accent);background:#e4f4ef;box-shadow:inset 0 0 0 2px #1f6f6329}.month-day-header{text-align:left;border:0;border-bottom:1px solid var(--line);background:#eef2f6;border-radius:0;justify-content:space-between;align-items:center;gap:5px;width:100%;min-height:28px;padding:4px 7px;display:flex}.month-day-header:hover{border-color:var(--line);background:#e8edf3}.month-day-header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;line-height:1.15;overflow:hidden}.month-day-header span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:none;font-size:10px;overflow:hidden}.month-day.today .month-day-header span,.week-day.today .week-day-header span{color:#ffffffd1}.month-day-list{align-content:start;gap:4px;padding:5px;display:grid;overflow:auto}.month-task,.month-more{text-align:left;border-color:var(--line);border-left:3px solid var(--accent);width:100%;min-height:24px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;border-radius:5px;padding:0 6px;font-size:11px;line-height:1.15;overflow:hidden}.month-task.done{opacity:.68}.month-more{border-left-color:var(--blue);color:var(--blue)}.inspector{align-content:start;gap:10px;overflow:auto}.inspector>*{min-width:0}.inspector-task-head,.reminder-section{gap:8px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:8px;min-height:28px;display:flex}.section-heading h3{color:var(--text);margin:0;font-size:14px;line-height:1.2}.section-heading span{border:1px solid var(--line);background:var(--surface-soft);min-width:26px;height:24px;color:var(--muted);border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.reminder-compose{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.reminder-compose button{min-height:36px;padding:0 10px}.reminder-list{gap:6px;min-height:0;display:grid}.reminder-row{border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--surface);border-radius:6px;gap:7px;padding:8px;display:grid}.reminder-row.status-snoozed{border-left-color:var(--blue)}.reminder-row.status-dismissed{opacity:.7}.reminder-row strong,.reminder-row span{min-width:0;display:block}.reminder-row strong{overflow-wrap:anywhere;color:var(--text);font-size:13px}.reminder-row span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.reminder-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.reminder-actions button{min-height:30px;padding:0 5px;font-size:11px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.metrics span{border:1px solid var(--line);background:var(--surface-soft);min-height:62px;color:var(--muted);border-radius:6px;gap:3px;padding:7px;font-size:12px;display:grid}.metrics strong{color:var(--text);font-size:16px}.selected-day-summary{border:1px solid var(--line);border-left:3px solid var(--accent);background:#f1f8f5;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;min-height:34px;padding:7px 8px;display:flex}.selected-day-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.selected-day-summary span{color:var(--muted);flex:none;font-size:11px}.day-task-list{border-radius:8px;align-content:start;gap:7px;min-height:48px;padding:2px;overflow:auto}.day-task-list.drop-ready{outline:1px dashed var(--accent);outline-offset:3px}.day-task-row{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:7px;display:grid}.day-task-row.done{opacity:.72}.day-task-row strong,.day-task-row span{overflow-wrap:anywhere;display:block}.day-task-row span{color:var(--muted);font-size:11px}.day-task-main{min-width:0}.row-edit,.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.row-edit input{width:82px;height:30px;padding:0 7px;font-size:12px}.row-edit input[type=number]{width:66px}.row-actions{grid-column:1/-1}.row-actions button{min-height:30px;padding:0 8px;font-size:12px}.day-view{grid-template-columns:minmax(620px,1fr) minmax(280px,360px);gap:10px;min-width:0;min-height:0;display:grid;overflow:hidden}.day-timeline,.day-unscheduled{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid}.day-section-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:8px 10px;display:flex}.day-section-header strong{font-size:13px}.day-section-header span{color:var(--muted);font-size:12px}.day-time-grid,.day-unscheduled-list{min-height:0;overflow:auto}.day-time-grid{padding:8px}.day-time-grid.drop-ready,.day-unscheduled-list.drop-ready{outline:1px dashed var(--accent);outline-offset:-4px}.day-time-surface{min-height:var(--day-height);position:relative}.time-slot{height:15px;color:var(--muted);border-top:0;grid-template-columns:64px minmax(0,1fr);align-items:start;font-size:10px;display:grid}.time-slot span{text-align:right;padding-right:8px;line-height:15px;display:block;transform:translateY(1px)}.time-slot:after{content:"";border-top:1px solid #d9e0e8b8;align-self:start}.time-slot.minor{border-top-color:#d9e0e894}.time-slot.minor span{visibility:hidden}.time-slot.major{color:#405163;font-weight:650}.time-slot.major:after{border-top-color:var(--line-strong)}.time-task,.day-untimed-task{text-align:left;border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--surface);border-radius:6px;gap:3px;min-width:0;display:grid;box-shadow:0 4px 12px #151f2b14}.time-task{top:var(--task-top);left:calc(72px + ((100% - 80px) / var(--task-lanes) * var(--task-lane)));width:calc(((100% - 80px) / var(--task-lanes)) - 4px);min-height:24px;height:var(--task-height);grid-template-columns:42px minmax(0,1fr) minmax(80px,auto);align-items:center;padding:3px 7px;position:absolute;overflow:hidden}.time-task.point{border-left-color:var(--blue)}.time-task.short{border-left-color:var(--amber)}.time-task.conflict{box-shadow:inset 0 0 0 1px #2457a629,0 4px 12px #151f2b14}.time-task.done,.day-untimed-task.done{opacity:.72}.time-task strong,.day-untimed-task strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2;overflow:hidden}.time-task-time,.day-untimed-task span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.time-task-time{color:var(--text);font-weight:650}.time-task-badges{justify-content:flex-end;gap:4px;min-width:0;display:flex;overflow:hidden}.time-task-badge{background:var(--surface-soft);min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;flex:0 auto;padding:1px 5px;font-size:10px;line-height:1.4;overflow:hidden}.day-unscheduled-list{align-content:start;gap:6px;padding:8px;display:grid}.day-untimed-task{min-height:44px;padding:6px 8px}.modal-backdrop{z-index:5000;background:#17202a47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.task-editor-modal{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto auto;width:min(680px,100%);min-height:0;max-height:min(820px,100dvh - 48px);display:grid;overflow:hidden;box-shadow:0 20px 52px #151f2b47}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:12px;min-width:0;padding:14px 16px 12px;display:flex}.modal-header h2{font-size:18px}.modal-header button{width:34px;min-height:34px;padding:0;font-size:20px;line-height:1}.task-editor-form{gap:12px;min-height:0;padding:14px 16px;display:grid;overflow:auto}.editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.wide-field{grid-column:1/-1}.choice-field{align-content:start}.choice-field>span{color:var(--muted)}.choice-group{gap:5px;display:grid}.choice-group.three{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-group.four{grid-template-columns:repeat(4,minmax(0,1fr))}.choice-group.two{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-button,.state-toggle{min-width:0;min-height:32px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:0 8px;font-size:12px;overflow:hidden}.choice-button.active,.state-toggle.active{border-color:var(--accent);color:var(--accent);background:#e4f4ef;box-shadow:inset 0 0 0 1px #1f6f631f}.choice-button.priority-high.active,.choice-button.importance-high.active,.choice-button.urgency-now.active,.choice-button.urgency-soon.active{border-color:var(--red);color:var(--red);background:#fff1f0}.choice-button.priority-medium.active,.choice-button.urgency-planned.active{border-color:var(--amber);color:var(--amber);background:#fff7e6}.choice-button.status-done.active{border-color:var(--green);color:var(--green);background:#edf7ee}.choice-button.status-archived.active{border-color:var(--line-strong);color:var(--muted);background:#eef2f6}.editor-note{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;min-height:34px;padding:7px 8px}.editor-note strong{color:var(--text);font-size:12px}.editor-section{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:10px;padding:10px;display:grid}.editor-section.enabled{background:#f6fbf9;border-color:#b8d8d0}.editor-section-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.editor-section-header h3{margin:0 0 2px;font-size:14px;line-height:1.2}.editor-section-header p{font-size:12px}.section-actions{flex:none;gap:6px;display:flex}.section-actions button,.editor-section-header>button{min-height:30px;padding:0 9px;font-size:12px}.task-editor-modal .form-error{padding:0 16px}.modal-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:12px 16px 14px;display:flex}@media (width>=2200px){.app-shell{padding:14px 18px}.workspace{grid-template-columns:clamp(460px,21vw,560px) minmax(1100px,1fr) clamp(360px,16vw,460px)}.week-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.day-view{grid-template-columns:minmax(900px,1fr) minmax(340px,420px)}}@media (width<=1600px){.workspace{grid-template-columns:340px minmax(560px,1fr) 300px}.week-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.day-view{grid-template-columns:minmax(520px,1fr) minmax(260px,320px)}}@media (width<=1180px){body{overflow:auto}.app-shell{height:auto;min-height:100dvh;overflow:visible}.workspace{grid-template-columns:280px minmax(0,1fr);overflow:visible}.inspector{grid-column:1/-1;height:auto;min-height:280px;overflow:visible}.panel{height:auto}.week-grid{grid-template-columns:repeat(2,minmax(0,1fr));overflow-x:auto}.month-grid{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.day-view{grid-template-columns:1fr;overflow:visible}.day-timeline,.day-unscheduled{min-height:360px}.structure-workspace-shell.fullscreen{grid-template-rows:minmax(520px,1fr) minmax(300px,.6fr);grid-template-columns:1fr;overflow:auto}.structure-workspace-shell.fullscreen .structure-board,.structure-workspace-shell.fullscreen .structure-inspector{min-height:0}}@media (width<=760px){.app-shell{width:100%;padding:10px}.topbar,.workspace,.planner-toolbar,.sidebar-tools,.week-grid,.planner-actions{grid-template-columns:1fr;display:grid}.calendar-mode-tabs{width:100%}.modal-backdrop{padding:10px}.task-editor-modal{max-height:calc(100dvh - 20px)}.editor-grid{grid-template-columns:1fr}}
