:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:#243b3c;background:#f8faf9;--teal:#086565;--mint:#e7f2ec;--muted:#687a77;--line:#e3e9e6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:#fff;min-height:40px;padding:9px 13px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:7px}@media (hover:hover) and (pointer:fine){button:hover{background:#f0f5f2}}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--teal)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #67b6ae;outline-offset:3px}.primary{color:white;background:var(--teal);border-color:var(--teal)}@media (hover:hover) and (pointer:fine){.primary:hover{background:#064e4e}}.secondary{color:var(--teal);background:var(--mint);border-color:#cee3d8}.subtle{background:transparent;border-color:transparent;justify-content:flex-start;color:var(--muted)}.text-button{background:transparent;border:0;padding:3px 0;min-height:28px;color:var(--teal);font-size:12px}.icon-button{background:transparent;border-color:transparent;width:38px;min-height:38px;padding:8px;flex-shrink:0}.small{min-height:34px;font-size:12px;padding:6px 11px}.icon{width:18px;height:18px;display:block;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[data-icon]{display:inline-flex}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:20px;padding:12px;background:#fff;z-index:100}.skip-link:focus{top:10px}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:#f1f5f2;border-right:1px solid var(--line);padding:30px 17px 20px;display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;margin:0 7px 31px;text-decoration:none;color:#243b3c;font-size:20px;font-weight:800;letter-spacing:-.7px}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--teal);color:#fff;border-radius:12px;font-size:30px;line-height:40px;width:40px;height:40px;letter-spacing:-3px;padding-right:4px}.brand-mark span{color:#b9d8c2}.brand small{display:block;font-size:8px;font-weight:650;letter-spacing:1.8px;color:var(--muted);margin-top:5px}.create-button{width:100%;margin-bottom:24px;justify-content:flex-start;border-radius:10px;min-height:43px}.create-button kbd{margin-left:auto;border:1px solid #ffffff40;border-radius:4px;padding:1px 5px;font-size:11px;color:#ffffffa8}.nav-item{display:flex;width:100%;justify-content:flex-start;background:transparent;border:0;gap:11px;padding:10px 12px;margin:2px 0;color:#536763;font-size:13px;min-height:41px}.nav-item.active{background:#ddebe3;color:var(--teal);font-weight:700}.nav-item .count{margin-left:auto;font-size:11px;color:#6e817b;font-weight:500}.nav-item .name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-section-title{margin:27px 10px 6px;display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:700;color:#82918a;text-transform:uppercase;letter-spacing:1.6px}.nav-section-title .icon-button{width:27px;min-height:27px;padding:4px}.space-item{font-weight:650}.space-symbol{width:23px;height:23px;border-radius:7px;background:#e0e9e3;color:#4b7565;display:grid;place-items:center}.project-nav-item{padding:7px 10px 7px 46px;min-height:34px;font-size:12px}.project-dot{width:7px;height:7px;border-radius:50%;background:#97a5bb;flex-shrink:0}.project-nav-item:nth-child(3n) .project-dot{background:#ba9bd0}.project-nav-item:nth-child(3n+1) .project-dot{background:#7eaf9c}.new-project-link{font-size:12px;margin:8px 8px 10px}.sidebar-bottom{margin-top:auto;padding-top:35px;display:flex;flex-direction:column;gap:3px}.sidebar-bottom button{font-size:12px}.sidebar-caption{font-size:10px;color:#88968e;margin:15px 11px 0}.main-shell{min-width:0}.demo-bar{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:6px 34px;background:#eaf1ed;color:#657b70;font-size:10px}.demo-bar b{font-size:9px;letter-spacing:1.5px;margin-right:9px;font-weight:750}.demo-bar .text-button{font-size:10px;min-height:0;color:#657b70;text-decoration:underline;text-underline-offset:3px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 34px;border-bottom:1px solid var(--line);min-height:74px;background:#ffffffb5}.topbar-left{display:flex;align-items:center;gap:6px}.breadcrumb{font-size:12px;color:var(--muted)}.role-switch{display:flex;align-items:center;gap:9px;min-width:0}.role-switch label{font-size:11px;color:var(--muted);margin:0}.avatar{display:inline-flex;width:29px;height:29px;align-items:center;justify-content:center;border-radius:50%;background:#dcebe3;color:#315e4c;font-size:10px;font-weight:750;flex-shrink:0;border:2px solid #fff}.avatar.marketing{background:#eee3f4;color:#825d9e}.avatar.purchase{background:#e0ecf4;color:#427392}.avatar.employee{background:#faead9;color:#946c39}.role-switch select{background:transparent;border:0;margin:0;padding:6px 20px 6px 0;width:auto;font-size:12px;font-weight:650;min-height:36px;max-width:220px}.demo-badge{font-size:9px;border:1px solid #dce5de;color:#839489;border-radius:4px;padding:2px 5px}.mobile-menu{display:none!important}main{max-width:1500px;padding:38px 42px 30px;margin:auto;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:#8a9b91;margin:0 0 9px;text-transform:uppercase}h1{font-size:31px;letter-spacing:-1px;line-height:1.18;margin:0;color:#203c35;font-weight:720}h2{font-size:20px;letter-spacing:-.4px;margin:0}h3{font-size:13px;margin:0;font-weight:650}.subtitle{color:var(--muted);font-size:13px;line-height:1.65;margin:10px 0 0}.heading-actions{display:flex;align-items:center;gap:8px}.heading-actions .small{font-weight:500}.overview{display:grid;grid-template-columns:minmax(200px,1.7fr) repeat(2,minmax(130px,1fr));gap:12px;margin-bottom:28px}.focus-card{position:relative;border:1px solid #d6e7db;border-radius:14px;padding:21px 24px;background:#edf5ef;overflow:hidden}.focus-card .sun{position:absolute;right:24px;top:22px;width:46px;height:46px;color:#9ab79b}.focus-card p{font-size:12px;margin:7px 50px 0 0;color:#62816d;line-height:1.6}.focus-card strong{font-size:15px;font-weight:650;letter-spacing:-.3px}.metric-card{border:1px solid var(--line);border-radius:14px;padding:19px 20px;text-align:left;justify-content:flex-start;align-items:flex-start;flex-direction:column;background:#fff;gap:8px}.metric-heading{display:flex;align-items:center;gap:7px;font-size:12px;color:#708178}.metric-card strong{font-size:25px;line-height:1;font-weight:650;color:#2c4c42}.metric-card small{font-size:11px;font-weight:400;color:#8c9892}.metric-card.attention .icon{color:#b08a5c}.draft-shelf{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #e9ddbc;background:#fffdf5;border-radius:10px;margin-bottom:18px;flex-wrap:wrap;font-size:12px}.draft-shelf button{font-size:11px;padding:5px 8px;min-height:29px}.workspace-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:16px}.view-switch{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:8px;align-self:stretch}.view-switch button{background:transparent;border:0;border-radius:0;font-size:12px;font-weight:500;color:#84928a;padding:11px 9px 13px;margin-bottom:-1px;border-bottom:2px solid transparent}.view-switch button[aria-pressed=true]{border-bottom-color:var(--teal);color:var(--teal);font-weight:700}.view-switch .icon{width:16px;height:16px}.toolbar-end{display:flex;align-items:center;gap:8px}.search-box{display:flex;gap:7px;align-items:center;width:183px;margin:0;color:#97a69c}.search-box input{border:0;min-height:35px;background:transparent;padding:5px 0;font-size:12px;margin:0;outline-offset:1px}.search-box .icon{width:16px;height:16px}.board-direction{display:flex;border:1px solid var(--line);border-radius:7px;padding:2px;background:white}.board-direction button{min-height:29px;border:0;background:none;border-radius:5px;padding:4px 6px}.board-direction button.active{background:var(--mint);color:var(--teal)}.board-direction .icon{width:15px;height:15px}.quick-add{display:flex;align-items:center;gap:12px;border:1px solid #dbe5df;background:white;border-radius:11px;min-height:54px;padding:8px 11px 8px 16px;box-shadow:0 2px 2px #23463102}.quick-plus{color:#6da28c}.quick-add input{border:0;padding:5px 0;margin:0;flex:1;min-width:0;font-size:13px;background:transparent}.quick-add input::placeholder{color:#97a79b}.quick-scope{font-size:10px;color:#83968a;max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.quick-submit{background:#eff6f1;border:0;border-radius:7px;width:33px;min-height:33px;padding:6px;color:var(--teal)}.results-line{display:flex;gap:10px;justify-content:space-between;color:#8a998f;font-size:11px;margin:17px 1px 11px;min-height:20px;align-items:center}.results-line .text-button{font-size:11px;min-height:20px}.results-line #view-hint{margin-left:auto}.task-group{margin:21px 0}.task-group:first-child{margin-top:0}.group-title{display:flex;align-items:center;gap:9px;font-size:12px;color:#61776a;margin:0 0 10px;font-weight:650}.group-count{font-size:10px;font-weight:500;color:#96a298}.group-title.late{color:#ac6350}.task-list{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.task-row{display:flex;align-items:center;gap:12px;min-height:73px;padding:14px 17px;border-bottom:1px solid #edf0ed;transition:background .15s}.task-row:last-child{border-bottom:0}@media (hover:hover) and (pointer:fine){.task-row:hover{background:#fafcfb}}.task-row.highlight,.kanban-card.highlight{background:#f0f9ef;box-shadow:inset 3px 0 #70a97a}.task-check{width:20px;height:20px;min-height:20px;border-radius:50%;border:1.5px solid #c7d6cc;padding:0;background:transparent;color:#fff;flex-shrink:0}.task-check .icon{width:12px;height:12px;opacity:0}@media (hover:hover) and (pointer:fine){.task-check:hover{border-color:var(--teal);background:#eaf5ed}}@media (hover:hover) and (pointer:fine){.task-check:hover .icon{opacity:1;color:var(--teal)}}.task-check.is-done{background:#80ad92;border-color:#80ad92}.task-check.is-done .icon{opacity:1}.task-open{background:none;border:0;min-height:0;padding:0;text-align:left;display:block;flex:1;min-width:0;outline-offset:5px}@media (hover:hover) and (pointer:fine){.task-open:hover{background:none}}.task-title{font-size:13px;font-weight:580;line-height:1.5;color:#2c4238;overflow-wrap:anywhere}.is-done .task-title{color:#9aa79e;text-decoration:line-through}.task-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:#8b9a90;font-weight:400;margin-top:6px}.task-meta .icon{width:12px;height:12px}.meta-piece,.meta-project{display:inline-flex;align-items:center;gap:4px}.meta-project i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#99b3a6}.due-pill{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px;color:#718a7b;min-height:23px;padding:3px 6px;border-radius:5px;background:#eff5f0}.due-pill.late{background:#fcf0eb;color:#af6754}.due-pill .icon{width:12px;height:12px}.status-pill{font-size:10px;color:#799085;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.status-dot{width:5px;height:5px;border-radius:50%;background:#a4b6ac;display:inline-block}.status-work .status-dot{background:#7198b5}.status-review .status-dot{background:#b29bcb}.status-blocked .status-dot{background:#d6a870}.status-done .status-dot{background:#74a68a}.priority-flag{color:#bd775c}.row-end{display:flex;align-items:center;gap:12px}.row-end .plan-button{width:28px;min-height:28px;padding:5px;border:0;background:transparent;color:#b7c2b8;opacity:0}.plan-button.planned{opacity:1}@media (hover:hover) and (pointer:fine){.task-row:hover .plan-button{opacity:1}}.plan-button.planned{color:#b49457}.row-end .avatar{width:27px;height:27px;font-size:9px}.row-end .status-pill{min-width:80px}.empty-state{text-align:center;padding:48px 22px;border:1px dashed #d5e1d7;border-radius:13px;background:#fff;color:#87998b}.empty-state>.icon{width:35px;height:35px;margin:0 auto 14px;color:#abc3af}.empty-state h3{font-size:17px;color:#55705e}.empty-state p{font-size:12px;line-height:1.7;max-width:400px;margin:9px auto 17px}.local-note{font-size:10px;line-height:1.6;color:#9aaa9e;margin:26px 0 0}.filters{display:flex;align-items:end;gap:15px;flex-wrap:wrap;padding:15px;margin-bottom:15px;background:#fff;border:1px solid var(--line);border-radius:10px}.filters label{font-size:11px;margin:0;min-width:145px}.filters select{font-size:12px;padding:7px;min-height:36px}.filters .check-label{min-width:0;margin-bottom:8px}.board{display:flex;gap:14px;align-items:flex-start;overflow-x:auto;padding:2px 2px 16px;scrollbar-width:thin}.kanban-column{background:#eff3f0;min-width:250px;flex:1;border:1px solid #e7ece7;border-radius:12px;padding:12px;min-height:180px}.column-heading{display:flex;align-items:center;gap:7px;margin:1px 2px 12px;font-size:12px;font-weight:650;color:#5a7263}.column-heading .count{margin-left:auto;color:#9bad9e;font-size:11px}.column-heading button{border:0;background:transparent;padding:0;min-height:23px;gap:7px;font:inherit;justify-content:flex-start;flex:1}.column-heading .column-chevron{width:13px;height:13px;color:#9bad9e}.kanban-card{position:relative;background:white;border:1px solid #e0e8e0;border-radius:10px;padding:15px 13px 12px;margin-bottom:9px;box-shadow:0 2px 4px #253e2d03;cursor:grab}@media (hover:hover) and (pointer:fine){.kanban-card:hover{border-color:#b7cebc;box-shadow:0 3px 10px #253e2d09}}.kanban-card .task-open{display:block;width:100%;padding-right:8px}.kanban-card .task-title{font-size:13px;line-height:1.55}.kanban-card .task-meta{margin-top:8px}.card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:6px}.card-footer-right{display:flex;align-items:center;gap:6px}.card-footer .avatar{width:25px;height:25px;font-size:9px}.card-footer .task-check{width:18px;height:18px;min-height:18px}.drag-handle{position:absolute;top:8px;right:4px;padding:3px;width:20px;min-height:26px;border:0;background:transparent;color:#a0afa3;touch-action:none;cursor:grab}.drag-handle .icon{width:14px;height:14px}.column-add{width:100%;justify-content:flex-start;font-size:11px;color:#8a9e8d;border:0;background:transparent;min-height:33px;padding:6px}@media (hover:hover) and (pointer:fine){.column-add:hover{background:#e5ede6}}.drop-empty{font-size:11px;color:#a7b5a8;padding:20px 8px;min-height:60px;text-align:center}.drag-over{outline:2px solid #68a885;outline-offset:-2px;background:#e5f1e7}.dragging{opacity:.35}.drag-ghost{position:fixed;z-index:99;pointer-events:none;max-width:240px;padding:13px 18px;box-shadow:0 12px 48px #193d3622;border:1px solid #88b294;background:white;border-radius:10px;font-size:13px;opacity:.95}.block-note{display:flex;gap:5px;align-items:flex-start;border-radius:6px;background:#fbf4e9;color:#99784d;font-size:10px;line-height:1.5;padding:7px 8px;margin-top:11px}.block-note .icon{width:12px;height:12px;margin-top:2px}.board.vertical{display:block;overflow:visible}.vertical .kanban-column{width:100%;min-height:0;margin-bottom:15px;background:transparent;padding:0;border:0}.vertical .column-heading{margin:0 0 10px;padding:8px 5px;border-bottom:1px solid var(--line)}.vertical .column-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.vertical .kanban-card{margin:0}.vertical .column-add{width:auto;margin:5px 0}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin:20px 0 13px}.calendar-toolbar strong{text-transform:capitalize;font-size:15px;font-weight:600}.calendar-controls{display:flex;gap:6px}.calendar-controls button{min-height:31px;padding:5px 10px;font-size:11px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden}.weekday{background:#f2f6f2;text-align:center;padding:9px;font-size:10px;color:#91a08f}.calendar-cell{min-height:115px;padding:9px;background:white;min-width:0}.calendar-cell.other{background:#f6f8f5}.calendar-cell.selected{box-shadow:inset 0 0 0 2px #88ad94;background:#f5faf4}.day-number{width:26px;min-height:26px;font-size:11px;padding:0;border:0;border-radius:50%;background:transparent;color:#68826c;margin-bottom:5px}.today .day-number{background:var(--teal);color:white}.calendar-task{width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;min-height:23px;padding:3px 5px;border:0;border-left:2px solid #96b49b;border-radius:3px;margin:3px 0;background:#edf4ed;color:#58735c;font-size:10px}.calendar-task.late{background:#fbefeb;border-left-color:#d2a08b;color:#a36c57}.day-count{display:none}.agenda-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 10px}.undated{margin-top:24px}label{display:block;font-size:12px;font-weight:550;margin-bottom:17px;min-width:0}input,select,textarea{display:block;width:100%;min-width:0;max-width:100%;padding:10px 12px;border:1px solid #dce5de;border-radius:8px;background:#fff;margin-top:6px;font-size:14px;min-height:42px}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#a1aea3}input[type=date]{appearance:none;-webkit-appearance:none;min-inline-size:0}input[type=date]::-webkit-date-and-time-value{text-align:left}input[type=checkbox]{appearance:auto;width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--teal);flex-shrink:0}.check-label{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:450}.check-label span{color:#9aa79d;font-size:10px}.hint{color:#94a095;font-size:11px;line-height:1.6;margin:8px 0}.error-text{font-size:12px;color:#b14b3b;line-height:1.6}.notice{font-size:12px;line-height:1.7;border-radius:9px;border:1px solid #dfeadd;background:#f0f6ed;padding:12px 14px;color:#6a8067;margin-bottom:15px}.notice.error{color:#a65641;background:#fff2ed;border-color:#efd6cb}dialog{border:0;padding:0;color:#243b3c;max-height:94dvh;box-shadow:0 24px 100px #20362930;max-width:100vw}dialog::backdrop{background:#1f382f50;backdrop-filter:blur(2px)}.standard-dialog{width:min(520px,calc(100vw - 24px));border-radius:16px}.task-drawer{width:min(640px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:18px 0 0 18px}.dialog-layout{display:flex;flex-direction:column;max-height:94dvh}.task-drawer .dialog-layout{height:100dvh;max-height:100dvh}.drawer-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 25px 18px;border-bottom:1px solid var(--line);background:white}.drawer-top .eyebrow{display:block;margin-bottom:6px;font-size:9px}.drawer-top h2{font-size:18px}.drawer-body{padding:25px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}.drawer-footer{display:flex;justify-content:space-between;gap:8px;padding:15px 25px max(15px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}.footer-right{display:flex;gap:7px;margin-left:auto}.drawer-footer button{font-size:12px}.title-input{font-size:23px;font-weight:650;line-height:1.4;padding:0;border:0;border-radius:0;margin:0 0 10px;min-height:62px;resize:vertical;background:transparent;letter-spacing:-.5px}.visibility-line{display:flex;gap:6px;align-items:center;font-size:11px;line-height:1.6;color:#6c8c74;padding:5px 0 20px}.visibility-line .icon{width:14px;height:14px}.task-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 15px}.task-fields select,.task-fields input{font-size:13px}.plan-check{border-radius:8px;background:#faf9ef;padding:12px;margin:0 0 20px;flex-wrap:wrap;color:#8a855c}.plan-check span{margin-left:25px;margin-top:-4px;flex-basis:100%;font-size:10px}.task-section{padding:16px 0;border-top:1px solid #edf0eb}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-title button{font-size:11px}.check-row{display:flex;align-items:center;gap:9px;margin-bottom:7px}.check-row input[type=text]{margin:0;border-color:transparent;background:#fafcf9;min-height:36px;font-size:12px;padding:6px 8px}.check-row button{border:0;padding:3px;width:26px;min-height:26px;font-size:17px;color:#a5b0a7;background:transparent}.check-row.done input[type=text]{text-decoration:line-through;color:#98a49a}.files-list{display:flex;flex-direction:column;gap:8px}.file-row{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #e2e9df;border-radius:9px;min-width:0}.file-thumb{width:43px;height:43px;object-fit:cover;border-radius:6px;background:#f0f5ed;flex-shrink:0}.file-thumb.placeholder{display:grid;place-items:center;font-size:9px;color:#96a58e}.file-name{min-width:0;flex:1;font-size:12px;overflow-wrap:anywhere}.file-name small{font-size:10px;color:#99a48f;display:block;margin-top:4px}.file-row button{width:29px;min-height:29px;padding:5px;border:0;background:transparent}.file-picker{position:relative;display:inline-flex;font-size:11px;color:var(--teal);margin:0;cursor:pointer;padding:8px 0;overflow:hidden}.file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;min-height:100%;margin:0}.file-picker:focus-within{outline:2px solid #72b38d;outline-offset:3px}.task-options{border-top:1px solid var(--line);margin:0 0 17px}.task-options summary{cursor:pointer;font-size:12px;padding:16px 0;color:#72876e;font-weight:550}.task-options summary span{font-size:10px;margin-left:8px;color:#a3b19e;font-weight:400}.details-body{padding:4px 0}.block-fields{border:1px solid #ecdfc5;background:#fffcf4;border-radius:10px;padding:15px 15px 0;margin-bottom:18px}.comment{font-size:12px;padding:13px 0;border-bottom:1px solid #edf0e9}.comment small{font-size:10px;color:#93a28c}.comment p{line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.history-list{font-size:11px;color:#8c9c87;line-height:1.8}.history-list p{margin:7px 0}.history-list strong{font-weight:550;color:#6f8268}fieldset{padding:0;margin:0 0 15px;border:0}legend{font-size:12px;font-weight:550;margin-bottom:12px}.member-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e4eade;border-radius:9px;margin-bottom:7px;font-weight:450}.member-row small{margin-left:auto;font-size:10px;color:#98a28c}.member-row .avatar{border:0}#info-body p{font-size:13px;line-height:1.8}.access-row{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:13px 0;border-bottom:1px solid var(--line)}.access-row span:last-child{color:#72946e;font-size:11px;flex-shrink:0}.info-list{padding-left:18px;font-size:12px;line-height:1.9}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:calc(50% + 70px);transform:translateX(-50%);max-width:calc(100vw - 28px);z-index:200;background:#234e3e;color:#fff;padding:14px 16px;border-radius:12px;box-shadow:0 8px 35px #203d3830;display:flex;align-items:center;gap:13px;font-size:12px;line-height:1.5;min-width:270px}.toast button{color:#d7edc5;background:transparent;border:0;padding:4px;min-height:26px;white-space:nowrap;text-decoration:underline;font-size:12px}.toast .toast-close{margin-left:auto;text-decoration:none;font-size:20px;color:#a8c3ad}.nav-scrim{display:none}.muted{color:var(--muted)}
@media(min-width:1500px){main{padding-left:55px;padding-right:55px}}
@media(max-width:1150px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.brand{font-size:18px;gap:8px}.brand-mark{width:36px;height:36px}main{padding:28px 25px}.topbar,.demo-bar{padding-left:25px;padding-right:25px}.overview{grid-template-columns:1.4fr 1fr 1fr}.focus-card{padding:18px}.focus-card .sun{right:15px;top:17px;width:36px;height:36px}.metric-card{padding:17px}.role-switch label{display:none}.row-end .status-pill{display:none}.search-box{width:135px}.workspace-toolbar{gap:7px}.view-switch{gap:2px}.view-switch button{padding-left:7px;padding-right:7px}}
@media(max-width:760px){:root{font-size:15px}.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:270px;z-index:80;transform:translateX(-100%);transition:transform .18s;box-shadow:10px 0 40px #253e2b20}.sidebar.open{transform:translateX(0)}.nav-scrim:not([hidden]){position:fixed;inset:0;display:block;background:#193a2d66;border:0;border-radius:0;z-index:79}.mobile-menu{display:inline-flex!important}.demo-bar{padding:8px 16px;min-height:31px;font-size:9px;gap:8px}.demo-bar b{font-size:8px;letter-spacing:1.2px;margin:0}.demo-detail{display:none}.demo-bar .text-button{font-size:9px}.topbar{padding:8px 13px;min-height:59px}.breadcrumb{font-size:11px}.role-switch{gap:6px}.role-switch select{font-size:11px;max-width:182px}.role-switch .avatar{width:27px;height:27px}.role-switch .demo-badge{display:none}main{padding:25px 17px 30px}.page-heading{margin-bottom:20px;align-items:flex-start;gap:10px}h1{font-size:28px}.eyebrow{font-size:9px;letter-spacing:1.2px}.subtitle{font-size:12px;line-height:1.7;margin-top:8px}.heading-actions{flex-direction:column;gap:3px}.heading-actions .small{font-size:10px;padding:5px 8px;min-height:30px}.heading-actions .small .icon{width:12px;height:12px}.overview{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:23px}.focus-card{grid-column:span 2;padding:17px 19px}.focus-card p{margin-top:5px}.focus-card .sun{right:22px;width:42px;height:42px;top:15px}.metric-card{padding:14px 16px;gap:8px}.metric-card .metric-heading{font-size:11px}.metric-card strong{font-size:23px}.metric-card small{font-size:10px}.workspace-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:14px}.view-switch{flex:1;gap:7px}.view-switch button{font-size:12px;padding:9px 7px 12px;min-height:42px}.toolbar-end{justify-content:flex-end;margin-left:auto;gap:5px;flex:1 1 100%}.search-box{width:auto;flex:1;border:1px solid #e0e8df;border-radius:8px;padding:0 9px;background:white}.search-box input{min-height:35px;font-size:13px}.quick-add{gap:9px;padding:8px 9px 8px 13px;min-height:54px}.quick-add input{font-size:14px}.quick-scope{display:none}.results-line{margin-top:14px;font-size:10px}.results-line #view-hint{display:none}.task-row{padding:13px 12px;gap:10px;min-height:77px}.task-title{font-size:13px}.task-meta{font-size:10px;gap:7px}.task-check{width:21px;height:21px;min-height:21px}.row-end{gap:5px;flex-direction:column;align-items:flex-end}.row-end .due-pill{font-size:9px;padding:3px 4px}.row-end .avatar{width:23px;height:23px;font-size:8px}.row-end .plan-button{display:none}.task-group{margin-top:20px}.task-drawer{border-radius:0;width:100vw}.drawer-top{padding:17px 18px}.drawer-body{padding:21px 18px}.drawer-footer{padding-left:15px;padding-right:15px;gap:4px}.drawer-footer button{font-size:12px;padding:9px 10px}.title-input{font-size:22px}.task-fields{gap:0 12px}.task-fields input,.task-fields select{font-size:14px}.standard-dialog,.dialog-layout{max-height:92dvh}.task-drawer .dialog-layout{max-height:100dvh}.toast{left:50%;bottom:max(15px,env(safe-area-inset-bottom));min-width:0;width:calc(100% - 30px);font-size:12px;padding:12px 13px}.board.horizontal .kanban-column{min-width:270px}.vertical .column-cards{grid-template-columns:1fr}.vertical .kanban-card{padding:16px}.kanban-card .task-title{font-size:14px}.kanban-card .task-meta{font-size:11px}.card-footer .avatar{width:27px;height:27px}.drag-handle{width:28px;min-height:35px;right:4px;top:7px}.drag-handle .icon{width:16px;height:16px}.kanban-card .task-open{padding-right:17px}.calendar-cell{padding:6px 2px;min-height:65px;text-align:center}.calendar-task{display:none}.day-count{display:block;font-size:9px;color:#8da285}.weekday{padding:8px 1px}.day-number{margin-bottom:5px;width:27px;min-height:27px;font-size:12px}.calendar-toolbar strong{font-size:14px}.filters{gap:12px;padding:12px}.filters label{flex:1;min-width:125px}.filters .check-label{flex-basis:100%;margin:5px 0}.nav-item{min-height:43px}.project-nav-item{min-height:37px}}
.task-title{font-size:14px}.task-meta{font-size:11px;color:#74857a}.due-pill,.status-pill{font-size:11px}.results-line{color:#708376}.hint{color:#71816e}.local-note{color:#788b7b}.task-options summary span{color:#7d8e77}.sidebar-caption{color:#6f8172}.task-fields label{color:#5c7060}
@media(max-width:760px){.task-title,.kanban-card .task-title{font-size:14px}.task-meta{font-size:11px}.row-end .due-pill{font-size:10px}.task-drawer input,.task-drawer select,.task-drawer textarea,.standard-dialog input,.standard-dialog select{font-size:16px}.task-drawer .title-input{font-size:22px}.role-switch select{font-size:12px}.quick-add input,.search-box input{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.favorite-row{display:flex;align-items:center;min-width:0}.favorite-row .nav-item{flex:1;min-width:0}.pin-button{background:transparent;border:0;color:#718579;font-size:25px;padding:4px;min-width:42px;min-height:42px;flex-shrink:0}.pin-button.pinned{color:#087170}.favorites-hint{font-size:12px;line-height:1.6;color:#65776d;padding:0 15px}.space-tabs{display:flex;gap:22px;border-bottom:1px solid #dce6de;margin:4px 0 24px}.space-tabs button{background:none;border:0;border-radius:0;color:#617569;padding:14px 2px;border-bottom:2px solid transparent}.space-tabs button[aria-pressed=true]{color:#086565;border-bottom-color:#086565;font-weight:700}.directory-search{max-width:440px;margin:8px 0 18px}.directory-search input{width:100%}.directory-summary{font-size:12px;color:#697c6f;margin:16px 0}.directory-list{border:1px solid #dce6de;border-radius:16px;background:#fff;overflow:hidden}.directory-row{display:flex;gap:18px;align-items:center;padding:22px;border-bottom:1px solid #edf1ed;min-width:0}.directory-row:last-child{border:0}.directory-symbol{width:46px;height:46px;background:#edf5ef;border-radius:12px;display:grid;place-items:center;color:#136d62;flex-shrink:0}.directory-open{border:0;background:none;text-align:left;flex:1;min-width:0;padding:0;display:flex;flex-direction:column;gap:7px}.directory-open strong{font-size:16px;overflow-wrap:anywhere}.directory-open>span{font-size:12px;color:#718174;overflow-wrap:anywhere}.directory-meta{display:flex;flex-direction:column;gap:8px;color:#758477;font-size:12px;min-width:160px}.visibility-badge{display:inline-flex;gap:6px;align-items:center;color:#526b5b;font-size:11px}.visibility-badge .icon{width:14px;height:14px}.directory-avatars{display:flex}.directory-avatars .avatar{margin-left:-7px;border:2px solid white}.space-members{border:1px solid #dce6de;border-radius:14px;background:#fff;padding:20px}.space-member{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #edf1ed}.space-member:last-child{border:0}.space-member strong{flex:1}.space-member>span:last-child{font-size:12px;color:#6f7e73}#space-panel:empty{display:none}#space-panel .empty-state{padding:48px 22px}
@media(max-width:1000px){.directory-avatars{display:none}.directory-row{gap:12px;padding:18px}.directory-meta{min-width:130px}}
@media(max-width:760px){.directory-row{display:grid;grid-template-columns:38px minmax(0,1fr) 42px;gap:10px;padding:16px 12px}.directory-symbol{width:38px;height:38px;grid-row:1/3;align-self:start}.directory-open{grid-column:2}.directory-row>.pin-button{grid-column:3;grid-row:1/3;align-self:start}.directory-meta{grid-column:2;min-width:0;gap:5px}.directory-open strong{font-size:15px}.space-tabs{gap:24px}.space-tabs button{min-height:46px}.space-member{flex-wrap:wrap}.space-member>span:last-child{width:100%;padding-left:46px}.directory-search{max-width:none}.directory-list{border-radius:12px}}

/* Prototype 04 — compact workspace, persistent context, accessible contrast. */
:root{--bg:#f8faf9;--surface:#fff;--panel:#f1f5f3;--ink:#243631;--muted:#62766f;--line:#e0e7e3;--teal:#08786d;--mint:#e6f4ee;--danger:#b3463c;--shadow:0 8px 32px #193b2c0d;color:var(--ink);background:var(--bg)}
body{background:var(--bg);color:var(--ink)}
.app-shell{grid-template-columns:252px minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}
.sidebar{padding:24px 14px 16px;background:#f2f6f4;border-color:var(--line);overscroll-behavior:contain}
.main-shell{height:100dvh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:smooth}
.brand{margin:0 10px 24px;font-size:21px;color:var(--ink)}
.brand small{font-size:9px;letter-spacing:1.3px}
.brand-mark{border-radius:10px;box-shadow:0 4px 12px #08786d18}
.create-button{margin-bottom:14px;min-height:40px;box-shadow:0 3px 8px #08786d12}
.primary{background:#08786d;border-color:#08786d;color:#fff}@media (hover:hover) and (pointer:fine){.primary:hover{background:#08665e;border-color:#08665e}}
button{transition:background-color .15s,border-color .15s,box-shadow .15s;line-height:1.35}
button,input,select,textarea{color:var(--ink)}button{border-color:var(--line);background:var(--surface)}
.nav-item{font-size:13px;min-height:37px;padding:9px 11px;gap:10px;border-radius:7px;color:#4d645b;background:transparent;margin:1px 0}
.nav-item.active{color:#066a61;background:#dcefe6;box-shadow:inset 3px 0 #128473}@media (hover:hover) and (pointer:fine){
.nav-item:hover{background:#e8efeb}}@media (hover:hover) and (pointer:fine){.nav-item.active:hover{background:#dcefe6}}
.nav-item .count{color:#62766f;font-size:11px;min-width:18px;text-align:center}
.nav-item .icon{width:17px;height:17px}
.nav-section-title{letter-spacing:.9px;font-size:10px;margin:20px 11px 7px;color:#657b70}
.tree-space{display:flex;align-items:center;gap:2px}.tree-space>.nav-item{flex:1;width:auto;min-width:0;padding-left:2px;gap:8px}
.tree-toggle{width:24px;min-height:30px;padding:4px;color:var(--muted)}.tree-toggle .icon{width:14px;height:14px;transition:transform .16s}.tree-toggle[aria-expanded=false] .icon{transform:rotate(-90deg)}
.tree-add{width:26px;min-height:30px;padding:5px;color:var(--muted);opacity:.65}@media (hover:hover) and (pointer:fine){.tree-space:hover .tree-add{opacity:1}}
.tree-projects{margin:1px 0 9px 24px;padding-left:12px;border-left:1px solid var(--line)}
.project-nav-item{padding:8px 9px;min-height:35px;font-size:13px;gap:8px}
.private-icon{width:12px!important;height:12px!important;margin-left:auto;opacity:.7}
.tree-empty{display:block;padding:9px;font-size:11px;color:var(--muted)}
.entity-symbol{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;flex-shrink:0;background:#e5f1eb;color:#278474}
.entity-symbol .icon{width:17px;height:17px}.nav-item .entity-symbol{width:23px;height:23px;border-radius:6px}.nav-item .entity-symbol .icon{width:14px;height:14px}
.color-teal{background:#e1f3ec;color:#18816e}.color-blue{background:#e7eefb;color:#537cc2}.color-violet{background:#efe9fb;color:#8860bb}.color-amber{background:#fbefd9;color:#ac7a24}.color-rose{background:#f8e9ee;color:#b35f7c}.color-slate{background:#e8edef;color:#667d88}
.favorite-row .pin-button{min-width:25px;width:25px;min-height:30px;font-size:18px;padding:0}.favorite-row .nav-item{padding-right:4px}
.sidebar-bottom{padding-top:22px;margin-top:auto}.sidebar-bottom .subtle{min-height:32px;font-size:12px}.sidebar-caption{display:none}
.sidebar-bottom kbd{margin-left:auto;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:1px 5px;font-size:10px}
.demo-bar{padding:5px 28px;min-height:25px;background:#eaf3ef;font-size:10px;color:var(--muted)}.demo-bar b{letter-spacing:.8px;font-size:9px}
.topbar{position:sticky;top:0;z-index:30;background:var(--surface);padding:10px 28px;min-height:59px;border-color:var(--line)}
.topbar-left{min-width:0;flex:1}.breadcrumb{display:flex;align-items:center;gap:7px;font-size:12px;min-width:0;color:var(--muted);overflow:hidden}.breadcrumb>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink)}.breadcrumb .text-button{white-space:nowrap;font-size:12px;color:var(--muted)}
.topbar-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.role-switch{gap:6px}.role-switch select{font-size:12px;max-width:210px;padding-right:5px;color:var(--ink)}.role-switch label{font-size:11px}.demo-badge{display:none}
.global-search-button{min-height:34px;padding:7px 10px;gap:8px;font-size:12px;background:var(--bg);color:var(--muted);border-color:var(--line)}.global-search-button .icon{width:15px;height:15px}.global-search-button kbd{font-size:10px;color:var(--muted);font-family:inherit;padding-left:15px}
main{max-width:none;margin:0;padding:27px 30px 40px}
.page-heading{margin-bottom:22px;gap:15px;align-items:center}.eyebrow{font-size:10px;color:#71867b;letter-spacing:1px;margin-bottom:8px}h1{display:flex;align-items:center;gap:11px;font-size:28px;font-weight:720;color:var(--ink);letter-spacing:-.7px;overflow-wrap:anywhere}h1 .entity-symbol{width:35px;height:35px;border-radius:9px}h1 .icon{width:21px;height:21px}
h2,h3{color:var(--ink)}h3{font-size:14px}.subtitle{font-size:13px;color:var(--muted);margin-top:7px;max-width:720px;line-height:1.6}.heading-actions{flex-shrink:0;flex-wrap:wrap;gap:6px}.heading-actions .small{font-size:12px;min-height:35px}.pin-button{min-width:34px;min-height:35px;font-size:25px;color:var(--muted)}.pin-button.pinned{color:#b18b31}
.overview{grid-template-columns:1.7fr 1fr 1fr;gap:12px;margin-bottom:22px}.focus-card{border-radius:10px;padding:18px 20px;background:#eaf5ee;border-color:#d9eade}.focus-card strong{font-size:15px;color:#2b5746}.focus-card p{font-size:12px;color:#5f7b6b;line-height:1.5}.focus-card .sun{width:32px;height:32px;top:19px;right:17px}.metric-card{border-radius:10px;padding:15px 18px;gap:7px;background:var(--surface);border-color:var(--line)}.metric-card strong{font-size:24px;color:var(--ink)}.metric-heading,.metric-card small{color:var(--muted)}
.workspace-toolbar{gap:10px;flex-wrap:wrap;margin-bottom:9px;padding-bottom:0}.view-switch{gap:3px;border:0}.view-switch button{font-size:13px;min-height:39px;padding:9px 12px;color:var(--muted);border:0;border-radius:7px;margin:0}.view-switch button[aria-pressed=true]{background:var(--surface);color:var(--teal);box-shadow:inset 0 0 0 1px var(--line);border:0}
.toolbar-end{gap:7px;flex-wrap:wrap;margin-left:auto}.toolbar-end .search-box{width:156px;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:0 8px}.search-box{color:var(--muted)}.search-box input{font-size:12px;min-height:35px;color:var(--ink)}
.group-by-wrap{margin:0}.group-by-wrap select{width:126px;margin:0;font-size:12px;min-height:35px;padding:6px 9px;background:var(--surface);border-color:var(--line)}.board-direction{border-color:var(--line);background:var(--surface)}.board-direction button{min-height:33px;width:31px;color:var(--muted)}.board-direction button.active{background:var(--mint);color:var(--teal)}
#filters-toggle{border:1px solid var(--line);background:var(--surface);width:35px;min-height:35px}.has-filters{color:var(--teal)!important;background:var(--mint)!important}
.focus-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 17px;flex-wrap:wrap}.focus-pills{display:flex;gap:5px;flex-wrap:wrap}.focus-pills button{background:transparent;border-color:transparent;min-height:30px;padding:5px 9px;font-size:11px;color:var(--muted);font-weight:500}.focus-pills button[aria-pressed=true]{color:var(--teal);background:var(--mint);border-color:#cce3d7}.focus-pills .icon{width:13px;height:13px}.focus-bar>.text-button{font-size:11px;color:var(--muted);gap:5px}.focus-bar .text-button .icon{width:13px;height:13px}
.filters{background:var(--surface);border-color:var(--line);gap:12px;align-items:end}.filters label{min-width:120px;flex:1}.filters .check-label{flex-basis:180px}.filters select{background:var(--surface);color:var(--ink);border-color:var(--line)}
.quick-add{background:var(--surface);border-color:var(--line);min-height:52px;border-radius:9px;padding:7px 10px 7px 16px;box-shadow:0 1px 2px #20362b03}.quick-add input{font-size:14px;color:var(--ink);background:transparent}.quick-plus{color:#71978a}.quick-scope{font-size:11px;color:var(--muted);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-submit{color:var(--teal);background:var(--mint)}
.results-line{font-size:11px;color:var(--muted);margin:14px 0 7px;gap:9px}#view-hint{font-size:10px;color:var(--muted)}
.task-group{margin-top:16px}.group-title{display:flex;width:100%;justify-content:flex-start;padding:8px 3px;min-height:32px;background:none;border:0;gap:7px;font-size:12px;color:var(--muted);margin-bottom:7px}@media (hover:hover) and (pointer:fine){.group-title:hover{background:transparent;color:var(--teal)}}.group-title>.icon{width:13px;height:13px}.group-title[aria-expanded=false]>.icon{transform:rotate(-90deg)}.group-title.late{color:var(--danger)}.group-count{background:var(--panel);padding:2px 6px;border-radius:4px;color:var(--muted);font-size:10px}
.task-list{border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}.task-row{min-height:73px;padding:14px 15px;background:var(--surface);border-color:var(--line);gap:12px;border-radius:0}@media (hover:hover) and (pointer:fine){.task-row:hover{background:var(--bg)}}.task-row:last-child{border-bottom:0}.task-title,.kanban-card .task-title{font-size:14px;line-height:1.5;color:var(--ink);font-weight:550}.task-open{min-width:0;background:transparent;border:0;box-shadow:none!important}@media (hover:hover) and (pointer:fine){.task-open:hover{background:transparent}}.task-meta{gap:8px;color:var(--muted);font-size:11px;line-height:1.55;flex-wrap:wrap}.meta-project{color:var(--muted)}.meta-project .icon{width:11px;height:11px}.row-end{gap:10px}.status-pill{color:var(--muted);font-size:10px;min-width:0!important;white-space:nowrap}.task-check{border-color:#afc5b8;background:transparent;width:20px;height:20px;min-height:20px}@media (hover:hover) and (pointer:fine){.task-check:hover{background:var(--mint)}}.task-check.is-done{background:#158678;border-color:#158678}.task-row.is-done .task-title,.kanban-card.is-done .task-title{color:var(--muted)}
.priority-badge{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:#64798b;white-space:nowrap}.priority-badge .icon{width:11px;height:11px}.priority-high{color:#b95045}.priority-low{color:#536e5c}.priority-normal{color:#536f82}
.due-pill{font-size:10px;padding:4px 6px;border-radius:5px;background:var(--panel);color:var(--muted);white-space:nowrap;display:inline-flex;gap:4px;align-items:center}.due-pill .icon{width:12px;height:12px}.due-pill.late{color:#b13e36;background:#fcece8}.due-pill.soon{color:#886015;background:#fcf1d9}.due-pill.complete-date{color:#598872;background:#eaf5ef}
.task-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.tag{font-size:10px;background:#edf3f6;color:#4d707c;border:0;border-radius:5px;min-height:22px;padding:3px 6px;font-weight:500;line-height:1.4}@media (hover:hover) and (pointer:fine){.tag:hover{background:#dcecf2}}.tag.label-only{display:inline-flex;min-height:0;padding:2px 5px}.check-progress{display:flex;align-items:center;gap:9px;margin-top:11px}.check-progress .progress-track{flex:1}.check-progress small{font-size:10px;color:var(--muted)}
.progress-track{display:block;height:4px;background:var(--line);border-radius:9px;overflow:hidden}.progress-track i{display:block;height:100%;background:#4aaa92;border-radius:9px}
.board-context{font-size:11px;color:var(--muted);margin:12px 0}.board{gap:14px;padding:4px 1px 19px;scrollbar-color:#a4b9ae transparent;scrollbar-width:thin;min-height:320px;scroll-behavior:smooth}
.kanban-column{background:#edf2ef;border:1px solid #e3ebe6;border-radius:10px;padding:10px;flex:1 0 270px;min-width:270px;max-width:360px;min-height:190px;transition:background .18s,box-shadow .18s}
.column-heading{font-size:12px;color:var(--ink);margin:0 3px 12px;gap:7px;min-height:29px}.column-heading>button:first-child{gap:7px;font-weight:650;min-width:0}.column-heading>button:first-child>span{overflow-wrap:anywhere}.column-heading .count{font-size:11px;color:var(--muted);background:var(--surface);min-width:20px;text-align:center;padding:3px 4px;border-radius:5px}.column-heading .column-menu{flex:0 0 25px;width:25px;min-height:27px;padding:5px;color:var(--muted)}.column-heading .column-menu .icon{width:13px;height:13px}
.status-dot{width:8px;height:8px;border-radius:50%;background:#9cacb0;display:inline-block;flex-shrink:0}.status-work .status-dot{background:#6a9bd2}.status-review .status-dot{background:#aa84cd}.status-blocked .status-dot{background:#dfae57}.status-done .status-dot{background:#4fab8c}
.kanban-card{margin-bottom:9px;padding:14px 13px 12px;border:1px solid #dce6df;border-radius:9px;background:var(--surface);box-shadow:0 2px 4px #27433504;transition:box-shadow .16s,border-color .16s,transform .16s;animation:card-arrive .18s ease-out}@media (hover:hover) and (pointer:fine){
.kanban-card:hover{box-shadow:0 4px 12px #1c3a280a;border-color:#abc9b8}}.kanban-card .task-open{padding-right:19px}.card-footer{margin-top:13px}.card-footer .due-pill{max-width:190px;overflow:hidden}.drag-handle{color:#9eafa6;right:3px;top:5px;width:25px;min-height:30px}@media (hover:hover) and (pointer:fine){.drag-handle:hover{background:var(--panel)}}.column-add{color:var(--muted);font-size:12px;min-height:35px;padding:7px;background:transparent}@media (hover:hover) and (pointer:fine){.column-add:hover{color:var(--teal);background:var(--mint)}}.drop-empty{font-size:11px;color:var(--muted);padding:25px 8px}.drag-over{outline:2px solid #6fba9e;outline-offset:-2px;background:#e3f2e8}.dragging{opacity:.4;transform:rotate(1deg)}.drop-before{box-shadow:0 -3px 0 #20a58b}.drag-ghost{background:var(--surface);color:var(--ink);border-color:#6fba9e;box-shadow:0 14px 40px #0003}
@keyframes card-arrive{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
.add-column-button{flex:0 0 190px;min-height:45px;height:45px;border:1px dashed #b9cdc1;background:transparent;color:var(--muted);border-radius:9px;font-size:12px;justify-content:flex-start}
.board.vertical{min-height:0}.vertical .kanban-column{max-width:none;min-width:0;padding:0;margin-bottom:20px;background:transparent;border:0}.vertical .column-heading{border-color:var(--line);padding:8px 4px}.vertical .column-cards{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.vertical .add-column-button{width:100%;max-width:280px}
.inline-card-form{padding:10px;background:var(--surface);border:1px solid #84bba3;border-radius:8px;margin-top:5px}.inline-card-form textarea{margin:0 0 8px;padding:7px 3px;font-size:14px;background:transparent;border:0;resize:vertical}.inline-card-form>div{display:flex;gap:8px}.inline-card-form .error-text{font-size:11px}
.space-tabs{margin:0 0 20px;gap:25px;border-color:var(--line)}.space-tabs button{padding:11px 1px;min-height:40px;font-size:13px;color:var(--muted)}.space-tabs button[aria-pressed=true]{color:var(--teal);border-color:var(--teal)}
.space-overview-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:4px 0 29px}.space-overview-stats button{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:flex-start;padding:17px 19px;gap:9px;align-items:baseline;text-align:left}.space-overview-stats strong{font-size:27px;font-weight:650;letter-spacing:-1px}.space-overview-stats span{font-size:12px;color:var(--muted);font-weight:450}.space-overview-stats .is-alert strong{color:var(--danger)}
.overview-title{margin:0 0 12px}.overview-title h3{font-size:16px}.overview-title h3>span{margin-left:6px;font-weight:450;font-size:13px;color:var(--muted)}
.project-summaries{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.project-summary{display:grid;grid-template-columns:minmax(160px,1fr) 125px 105px 158px 73px;gap:14px;align-items:center;padding:19px 18px;border-bottom:1px solid var(--line);background:var(--surface)}.project-summary:last-child{border-bottom:0}@media (hover:hover) and (pointer:fine){.project-summary:hover{background:var(--bg)}}.project-summary-title{border:0;background:transparent;padding:0;text-align:left;justify-content:flex-start;min-width:0;gap:12px}@media (hover:hover) and (pointer:fine){.project-summary-title:hover{background:transparent}}.project-summary-title>.entity-symbol{width:37px;height:37px}.project-summary-title>span:last-child{min-width:0}.project-summary strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.project-summary-title small{display:block;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}.project-owner{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted)}.project-progress>strong{display:block;font-size:17px;margin-bottom:7px;font-weight:650}.project-progress small{font-size:10px;color:var(--muted);font-weight:400}.project-health{font-size:11px;color:#3d7058}.project-health.late{color:var(--danger)}.project-health small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.project-row-actions{display:flex;align-items:center;gap:0}.project-row-actions .icon-button{width:30px;min-height:34px;padding:7px;color:var(--muted)}
.loose-tasks{margin-top:14px;display:flex;width:100%;border:1px dashed var(--line);background:transparent;font-size:13px;justify-content:flex-start;color:var(--muted);padding:14px 17px}.loose-tasks strong{margin-left:auto}.loose-tasks>.icon:last-child{margin-left:8px;width:15px;height:15px}.overview-note{font-size:11px;margin-top:15px}
.directory-tools{display:flex;align-items:center;justify-content:space-between;gap:15px}.directory-search{width:360px;max-width:100%;margin:3px 0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:2px 11px}.directory-search input{font-size:13px;min-height:39px}.directory-summary{font-size:11px;color:var(--muted);margin:5px 0 13px}.directory-list{border:1px solid var(--line);border-radius:12px;background:var(--surface)}.directory-row{padding:20px;gap:15px;border-color:var(--line)}.directory-row>.entity-symbol{width:42px;height:42px}.directory-open strong{font-size:15px}.directory-open>span{color:var(--muted);font-size:12px}.directory-open{background:transparent}@media (hover:hover) and (pointer:fine){.directory-open:hover{background:transparent}}.directory-meta{color:var(--muted);gap:7px;font-size:11px;min-width:170px}.directory-meta strong{font-size:12px;font-weight:550;color:var(--ink)}.directory-avatars .avatar{border-color:var(--surface)}
.space-members{background:var(--surface);border-color:var(--line);padding:20px 23px;border-radius:12px}.space-member{padding:16px 0;border-color:var(--line);font-size:13px}.space-member>span:last-child{color:var(--muted)}
.archived-badge{font-size:10px;letter-spacing:0;font-weight:500;color:var(--muted);padding:5px 8px;border:1px solid var(--line);border-radius:5px;white-space:nowrap}
.empty-state{background:var(--surface);border-color:var(--line);border-radius:11px;padding:40px 24px}.empty-state h3{color:var(--ink);font-size:16px}.empty-state p{color:var(--muted);font-size:13px;line-height:1.7}.hint,.field-hint{color:var(--muted);font-size:11px;line-height:1.6}.field-hint{font-weight:400;display:block;margin-top:4px}
input,select,textarea{background:var(--surface);border-color:var(--line);color:var(--ink)}input::placeholder,textarea::placeholder{color:var(--muted)}label{color:var(--ink)}
dialog{background:var(--surface);color:var(--ink);box-shadow:0 24px 100px #162f2930}.standard-dialog{border:1px solid var(--line);border-radius:14px}.drawer-top{padding:19px 22px;border-color:var(--line);background:var(--surface)}.drawer-body{padding:22px}.drawer-footer{padding:14px 22px max(14px,env(safe-area-inset-bottom));background:var(--surface);border-color:var(--line)}.drawer-footer .subtle{font-size:12px}.task-drawer{position:fixed;top:0;right:0;bottom:0;left:auto;width:min(560px,100vw);height:100dvh;max-height:100dvh;z-index:60;border-left:1px solid var(--line);border-radius:0;margin:0;box-shadow:-12px 0 50px #19372d15}.task-drawer .drawer-top{gap:8px}.task-drawer .drawer-top>div{flex:1;min-width:0}.task-drawer .drawer-top h2{font-size:15px}.copy-task-link{margin-left:auto}.task-drawer .title-input{color:var(--ink);font-size:22px;line-height:1.4;font-weight:650;letter-spacing:-.5px}.task-fields label{font-size:12px;color:var(--muted)}.task-fields input,.task-fields select{color:var(--ink);font-size:13px}.task-section{border-color:var(--line)}.section-title h3{font-size:13px}.visibility-line{color:var(--muted);padding-bottom:18px}.plan-check{background:var(--panel);color:var(--ink);padding:10px 12px;margin-bottom:14px}.check-label span{color:var(--muted)}.plan-check span{margin-top:0}.task-options{border-color:var(--line)}.task-options summary{color:var(--muted)}.check-row input[type=text]{background:var(--bg);color:var(--ink)}.file-row{border-color:var(--line)}.file-name small{color:var(--muted)}.file-thumb.placeholder{background:var(--panel);color:var(--muted)}.comment{border-color:var(--line)}.comment small,.history-list,.history-list strong{color:var(--muted)}.error-text{color:var(--danger)}.notice{background:var(--mint);border-color:var(--line);color:var(--ink)}.notice.error{background:#fff0eb;color:#a64235;border-color:#ecd1c8}.member-row{border-color:var(--line)}.member-row small{color:var(--muted)}
.quick-dates{display:flex;gap:4px;margin-top:5px;flex-wrap:wrap}.quick-dates button{font-size:10px;min-height:24px;padding:3px 5px;border:0;background:var(--panel);color:var(--muted);font-weight:400}
.access-preview{border:1px solid var(--line);border-radius:9px;background:var(--bg);padding:13px 15px;font-size:12px;line-height:1.7}.access-preview>strong{font-size:12px}.access-preview p{margin:6px 0 0}.access-gain{color:#228375}.access-loss,.danger-text{color:var(--danger)}
.columns-dialog{width:min(700px,calc(100vw - 24px))}.column-edit-row{display:grid;grid-template-columns:20px minmax(140px,1fr) 145px 108px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:10px}.column-edit-row>label{margin:0}.column-edit-row input,.column-edit-row select{margin:0;min-height:39px;padding:8px 9px;font-size:13px}.column-config-grip{color:var(--muted);cursor:grab}.column-edit-actions{display:flex;gap:1px}.column-edit-actions .icon-button{width:34px;min-height:34px;padding:6px}.column-edit-row small{grid-column:2/-1;font-size:10px;color:var(--muted)}.column-migration{margin-top:16px;padding:13px;border:1px solid #e6cd91;background:#fcf7e9;border-radius:8px;color:#8c671e;font-size:12px}.card-field-settings{display:flex;flex-wrap:wrap;gap:14px;margin-top:15px}.card-field-settings label{margin:0}.column-edit-row .icon{width:16px;height:16px}
.search-dialog{width:min(680px,calc(100vw - 24px));margin-top:min(15vh,120px);max-height:75dvh}.search-dialog .dialog-layout{max-height:75dvh}.search-dialog-top{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid var(--line);color:var(--muted)}.search-dialog-top input{border:0;margin:0;padding:10px 4px;font-size:16px;min-height:40px;background:transparent}.search-dialog .drawer-body{padding:16px;overflow-y:auto}.search-section{margin-bottom:17px}.search-section h3{font-size:11px;color:var(--muted);margin:0 8px 8px}.search-result{display:flex;width:100%;justify-content:flex-start;gap:12px;text-align:left;border:0;background:transparent;padding:10px 9px;border-radius:8px}.search-result:focus{background:var(--mint)}@media (hover:hover) and (pointer:fine){.search-result:hover{background:var(--mint)}}.search-result>span:nth-child(2){flex:1;min-width:0}.search-result strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.search-result small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:4px}.search-result>.icon:last-child{width:15px;height:15px;color:var(--muted);margin-left:auto}.shortcut-list p{display:flex;align-items:center;gap:25px;font-size:13px}.shortcut-list kbd{background:var(--panel);border:1px solid var(--line);min-width:125px;padding:7px;border-radius:5px;font-size:12px;text-align:center}
.calendar-grid{border-color:var(--line);background:var(--line)}.calendar-cell{background:var(--surface)}.calendar-cell.other{background:var(--bg)}.calendar-cell.selected{background:var(--mint);box-shadow:inset 0 0 0 2px #77ac96}.weekday{background:var(--panel);color:var(--muted)}.calendar-task{background:var(--mint);color:var(--teal);border-color:#7cb99b}.day-number{color:var(--muted)}.day-count{color:var(--muted)}
.toast{background:#194c40;color:#fff;left:calc(50% + 100px);max-width:min(650px,calc(100vw - 28px));font-size:12px;border-radius:9px;box-shadow:0 8px 30px #152d2430}.toast button{color:#b3eddb}
@media(min-width:1600px){body.task-visible .main-shell{margin-right:560px}.app-shell{grid-template-columns:252px minmax(0,1fr)}}
@media(max-width:1250px){.role-switch label{display:none}.topbar-actions{gap:5px}.global-search-button{width:34px;padding:8px}.global-search-button>span,.global-search-button>kbd{display:none}.global-search-button>[data-icon]{display:inline-flex}.project-summary{grid-template-columns:minmax(160px,1fr) 105px 88px 135px 65px;gap:10px;padding:17px 14px}.space-overview-stats button{padding:16px;gap:5px;flex-direction:column}.space-overview-stats strong{font-size:25px}.directory-avatars{display:none}.row-end .status-pill{display:none}}
@media(max-width:1050px){.app-shell{grid-template-columns:225px minmax(0,1fr)}main{padding:23px}.topbar,.demo-bar{padding-left:23px;padding-right:23px}.project-summary{grid-template-columns:minmax(180px,1fr) 100px 65px}.project-owner{grid-column:2;grid-row:1}.project-row-actions{grid-column:3;grid-row:1}.project-progress{grid-column:1;display:flex;gap:10px;align-items:center;padding-left:49px}.project-progress strong{font-size:14px;margin:0;white-space:nowrap}.project-progress .progress-track{width:80px}.project-health{grid-column:2/-1;grid-row:2}.project-health small{display:inline;margin-left:6px}.page-heading{align-items:flex-start}.heading-actions{justify-content:flex-end;max-width:205px}.overview{grid-template-columns:1.6fr 1fr}.overview .metric-card:last-child{display:none}.directory-meta{min-width:140px}.toolbar-end{flex:1;justify-content:flex-end}.toolbar-end .search-box{width:140px}.role-switch .avatar{display:none}}
@media(max-width:760px){
 .app-shell{display:block;overflow:hidden}.sidebar{width:285px;z-index:80;background:var(--surface);padding:24px 15px}.main-shell{height:100dvh;scrollbar-gutter:auto}.sidebar.open{transform:translateX(0)}.nav-scrim:not([hidden]){z-index:79}.nav-item{min-height:42px;font-size:14px}.project-nav-item{min-height:40px;font-size:13px}.tree-add{min-height:40px}.tree-toggle{min-height:42px;width:27px}.sidebar .brand{font-size:22px;margin-bottom:24px}.sidebar-bottom{padding-top:16px}.sidebar-bottom button{min-height:38px!important}
 .demo-bar{padding:5px 15px;min-height:23px}.demo-detail{display:none}.topbar{padding:8px 12px;min-height:56px}.topbar-actions{gap:2px}.role-switch{gap:0}.role-switch select{font-size:11px;max-width:146px;padding:5px 0}.global-search-button{width:32px;min-height:34px;border:0;background:transparent}.topbar-left{gap:1px;overflow:hidden}.breadcrumb{gap:4px;font-size:10px}.breadcrumb .text-button{font-size:10px}.breadcrumb>.text-button:first-child,.breadcrumb>span:nth-child(2){display:none}.topbar #theme-toggle{width:30px;min-height:34px;padding:6px}.mobile-menu{width:32px;min-height:36px;padding:6px}.topbar-actions .icon{width:17px;height:17px}
 main{padding:22px 16px 30px}.page-heading{gap:12px;margin-bottom:20px;flex-wrap:wrap;align-items:center}h1{font-size:26px;gap:9px;line-height:1.25}h1 .entity-symbol{width:31px;height:31px}.eyebrow{font-size:9px;margin-bottom:6px}.subtitle{font-size:12px;margin-top:6px;line-height:1.65}.heading-actions{max-width:none;flex-direction:row;justify-content:flex-start;gap:6px}.heading-actions .small{font-size:12px;padding:7px 10px;min-height:36px}.heading-actions .pin-button{min-height:36px;min-width:34px}
 .overview{grid-template-columns:1fr;gap:8px;margin-bottom:19px}.focus-card{grid-column:auto;padding:15px 17px}.focus-card strong{font-size:14px}.focus-card p{font-size:12px;line-height:1.6}.overview .metric-card{display:none}.focus-card .sun{width:30px;height:30px;top:15px}
 .workspace-toolbar{gap:10px;margin-bottom:10px}.view-switch{flex:1;gap:3px;justify-content:space-between}.view-switch button{padding:9px 11px;min-height:40px;font-size:12px}.toolbar-end{flex-basis:100%;gap:6px;justify-content:flex-start;flex-wrap:wrap}.toolbar-end .search-box{flex:1;min-width:120px;width:auto}.toolbar-end .search-box input{font-size:16px;min-height:36px}.group-by-wrap select{width:126px;font-size:12px;min-height:37px}.board-direction button{min-height:35px}.focus-bar{gap:8px;margin-bottom:14px}.focus-pills{gap:2px}.focus-pills button{min-height:31px;font-size:10px;padding:5px 7px}.focus-pills .icon{display:none}.focus-bar>.text-button{font-size:10px}.filters select,.filters input{font-size:16px}.filters label{font-size:12px;min-width:130px}
 .quick-add{min-height:51px;padding:6px 7px 6px 12px;gap:8px}.quick-add input{font-size:16px}.results-line{font-size:10px;margin-top:13px}#view-hint{display:none}.task-row{padding:13px 11px;min-height:80px;gap:9px}.task-title,.kanban-card .task-title{font-size:14px;line-height:1.5}.row-end{gap:6px}.row-end .due-pill{font-size:9px;max-width:130px}.row-end .avatar{width:24px;height:24px;font-size:8px}.task-meta{font-size:10px;gap:5px}.task-check{min-height:21px;width:21px;height:21px}.task-row .priority-badge{font-size:9px}.task-tags .tag{font-size:11px;min-height:27px}.task-group{margin-top:17px}.group-title{font-size:12px}.group-title>span:nth-child(2){text-align:left}.board{min-height:0;gap:12px}.board.horizontal .kanban-column{min-width:280px;max-width:280px}.vertical .column-cards{grid-template-columns:1fr}.vertical .kanban-column{margin-bottom:21px;max-width:none}.column-heading{font-size:13px}.column-heading .column-menu{min-height:36px;width:32px;flex-basis:32px}.vertical .kanban-card{padding:15px}.column-add{min-height:41px;font-size:13px}.drag-handle{width:30px;min-height:39px}.inline-card-form textarea{font-size:16px}
 .space-tabs{gap:19px;overflow-x:auto;margin-bottom:18px;white-space:nowrap}.space-tabs button{font-size:12px;min-height:45px}.space-overview-stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:24px}.space-overview-stats button{flex-direction:row;padding:14px 15px;gap:9px;align-items:baseline}.space-overview-stats strong{font-size:24px}.space-overview-stats span{font-size:11px}.overview-title h3{font-size:15px}.overview-title .text-button{font-size:11px}.project-summary{grid-template-columns:minmax(0,1fr) 70px;gap:12px;padding:17px 14px}.project-summary-title{grid-column:1;grid-row:1;gap:9px}.project-summary-title .entity-symbol{width:33px;height:33px}.project-summary-title strong{font-size:14px}.project-summary-title small{max-width:190px;font-size:10px}.project-row-actions{grid-column:2;grid-row:1}.project-owner{grid-column:1;grid-row:2;padding-left:42px;font-size:10px}.project-owner .avatar{width:23px;height:23px}.project-progress{grid-column:2;grid-row:2;display:block;padding:0}.project-progress strong{font-size:16px;margin-bottom:5px}.project-progress strong small{font-size:9px}.project-progress .progress-track{width:100%}.project-health{grid-column:1/-1;grid-row:3;padding-left:42px;font-size:10px}.project-health small{display:inline;font-size:10px;line-height:1.6}.overview-note{font-size:10px}.loose-tasks{font-size:12px;padding:13px}
 .directory-search{width:auto;flex:1;margin-bottom:9px;min-width:0}.directory-search input{font-size:16px;min-height:37px}.directory-tools .text-button{font-size:11px}.directory-row{display:grid;grid-template-columns:36px minmax(0,1fr) 32px 28px;gap:9px;padding:16px 12px}.directory-row>.entity-symbol{width:36px;height:36px;grid-row:1/3;grid-column:1;align-self:start}.directory-open{grid-column:2;grid-row:1}.directory-open strong{font-size:14px}.directory-open>span{font-size:11px}.directory-meta{grid-column:2/-1;grid-row:2;min-width:0;font-size:10px;gap:5px}.directory-meta strong{font-size:11px}.directory-row>.pin-button{grid-column:3;grid-row:1;align-self:start;min-width:30px}.directory-row>.icon-button{grid-column:4;grid-row:1;width:28px;min-height:35px;padding:6px}.directory-row>.small{grid-column:2/-1;grid-row:3;font-size:11px;justify-self:start}.directory-open>span{overflow-wrap:anywhere}.space-members{padding:16px}.space-member{font-size:13px;gap:10px}.space-member>span:last-child{padding-left:41px;font-size:11px}
 .task-drawer{width:100vw;border:0}.task-drawer .drawer-top{padding:15px 17px}.drawer-body{padding:20px 18px}.drawer-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:7px}.task-drawer .drawer-footer button{font-size:12px}.task-fields input,.task-fields select,.task-fields textarea,.standard-dialog input,.standard-dialog select,.task-drawer input,.task-drawer textarea{font-size:16px}.task-drawer .title-input{font-size:22px}.task-fields{gap:0 12px}.task-fields label{font-size:12px}.field-hint{font-size:10px}.quick-dates{gap:3px}.quick-dates button{min-height:26px;font-size:9px;padding:4px 5px}.task-drawer .check-row input[type=text]{font-size:16px}.task-drawer .visibility-line{font-size:11px}.columns-dialog{width:calc(100vw - 16px)}.columns-dialog .drawer-body{padding:18px 13px}.column-edit-row{grid-template-columns:18px minmax(0,1fr) 96px;gap:8px}.column-edit-row>label:nth-of-type(1){grid-column:2;grid-row:1}.column-edit-row>label:nth-of-type(2){grid-column:2;grid-row:2}.column-edit-row .column-edit-actions{grid-column:3;grid-row:1}.column-edit-actions .icon-button{width:32px;min-height:39px;padding:5px}.column-edit-row small{grid-column:2/-1}.column-edit-row input,.column-edit-row select{font-size:16px}.column-config-grip{align-self:start;padding-top:12px}.card-field-settings{gap:12px}.card-field-settings label{font-size:12px}.search-dialog{margin-top:8vh;width:calc(100vw - 16px);max-height:82dvh}.search-dialog .dialog-layout{max-height:82dvh}.search-dialog .drawer-body{padding:12px}.search-dialog-top{padding:10px 13px;gap:7px}.search-dialog-top input{font-size:16px}.search-result{padding:12px 8px}.search-result strong{font-size:14px}.search-result small{font-size:11px}.toast{left:50%;bottom:max(15px,env(safe-area-inset-bottom));font-size:12px;width:calc(100% - 28px);min-width:0}.calendar-task{display:none}.calendar-cell{min-height:65px}.shortcut-list p{gap:15px}.shortcut-list kbd{min-width:100px;font-size:10px}.shortcut-list span{font-size:12px}
}
/* Dark theme is a complete color system, not a color inversion. */
:root[data-theme=dark]{color-scheme:dark;--bg:#12191d;--surface:#1a2328;--panel:#202c31;--ink:#e2ece8;--muted:#9aada6;--line:#2d3a3d;--teal:#67cebb;--mint:#213d35;--danger:#f38e80;--shadow:0 8px 30px #0002}
[data-theme=dark] .sidebar{background:#162025}[data-theme=dark] .brand{color:#ecf4f0}[data-theme=dark] .brand small{color:var(--muted)}[data-theme=dark] .brand-mark{background:#0b7d70;color:white}[data-theme=dark] .nav-item{color:#acc0b7}[data-theme=dark] .nav-item.active{background:#244037;color:#a0e6d1;box-shadow:inset 3px 0 #5fbca4}@media (hover:hover) and (pointer:fine){[data-theme=dark] .nav-item:hover{background:#20332d}}[data-theme=dark] .nav-item .count{color:#91aaa0}[data-theme=dark] .nav-section-title{color:#8fa89b}[data-theme=dark] .demo-bar{background:#1b3029;color:#9aada6}[data-theme=dark] .demo-bar .text-button{color:#9aada6}[data-theme=dark] .primary{background:#0b8474;border-color:#0b8474;color:#fff}@media (hover:hover) and (pointer:fine){[data-theme=dark] .primary:hover{background:#099482}}@media (hover:hover) and (pointer:fine){[data-theme=dark] button:not(.primary):hover{background:#263b33}}@media (hover:hover) and (pointer:fine){[data-theme=dark] .task-open:hover,[data-theme=dark] .project-summary-title:hover,[data-theme=dark] .directory-open:hover{background:transparent}}[data-theme=dark] .eyebrow{color:#879e93}[data-theme=dark] .focus-card{background:#203b2f;border-color:#325344}[data-theme=dark] .focus-card strong{color:#c8e9d8}[data-theme=dark] .focus-card p{color:#9dbda9}[data-theme=dark] .focus-card .sun{color:#6a957e}[data-theme=dark] .focus-pills button[aria-pressed=true]{border-color:#3b6153}[data-theme=dark] .kanban-column{background:#182420;border-color:#2a3932}[data-theme=dark] .vertical .kanban-column{background:transparent;border:0}[data-theme=dark] .kanban-card{border-color:#32463b;box-shadow:0 2px 5px #0001}@media (hover:hover) and (pointer:fine){[data-theme=dark] .kanban-card:hover{border-color:#638273}}[data-theme=dark] .drag-over{background:#203e30;outline-color:#68ac91}[data-theme=dark] .color-teal{background:#1b4539;color:#7ac9ad}[data-theme=dark] .color-blue{background:#263a52;color:#8cb4e4}[data-theme=dark] .color-violet{background:#3a2f4b;color:#c4a3e6}[data-theme=dark] .color-amber{background:#473d27;color:#d7bc75}[data-theme=dark] .color-rose{background:#492f3e;color:#dd9bb5}[data-theme=dark] .color-slate{background:#2f3f48;color:#a5bfcd}[data-theme=dark] .due-pill.late{background:#482c29;color:#ffab9d}[data-theme=dark] .due-pill.soon{background:#44391f;color:#eac478}[data-theme=dark] .due-pill.complete-date{background:#213e31;color:#9bc9ae}[data-theme=dark] .priority-high{color:#eda196}[data-theme=dark] .priority-normal{color:#9eafbd}[data-theme=dark] .priority-low{color:#99b3a1}[data-theme=dark] .tag{background:#2b3f47;color:#b3cdd5}@media (hover:hover) and (pointer:fine){[data-theme=dark] .tag:hover{background:#34525c}}[data-theme=dark] .block-note{background:#3c3425;color:#dfbc83}[data-theme=dark] .block-fields{background:#2f2b20;border-color:#554a31}[data-theme=dark] .notice.error{background:#432c27;color:#f0aa94;border-color:#68463b}[data-theme=dark] .column-migration{background:#3b3320;color:#ebc880;border-color:#6a5a34}[data-theme=dark] .access-gain{color:#80cbb2}[data-theme=dark] .project-health{color:#87bea5}[data-theme=dark] .project-health.late{color:var(--danger)}[data-theme=dark] .access-row{border-color:var(--line)}[data-theme=dark] .access-row span:last-child{color:#83bca2}[data-theme=dark] .avatar{background:#304c3c;color:#bde1cd;border-color:var(--surface)}[data-theme=dark] .avatar.marketing{background:#4b3757;color:#dcc2ed}[data-theme=dark] .avatar.purchase{background:#2c455d;color:#bdd3ed}[data-theme=dark] .avatar.employee{background:#50432a;color:#e4cc9e}[data-theme=dark] .file-thumb.placeholder{background:var(--panel)}[data-theme=dark] .draft-shelf{background:#373321;border-color:#565035;color:#ded1a2}[data-theme=dark] .calendar-task.late{background:#482c29;color:#efa18f;border-color:#b06c54}[data-theme=dark] .task-check{border-color:#648677}[data-theme=dark] .task-check.is-done{background:#288c75;border-color:#288c75}[data-theme=dark] .task-row.highlight,[data-theme=dark] .kanban-card.highlight{background:#223c32;box-shadow:inset 0 0 0 1px #4f8d75}[data-theme=dark] .toast{background:#316452;border:1px solid #527e6c}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.eyebrow{color:var(--muted)}

.theme-control{position:relative}.theme-menu{position:absolute;right:0;top:calc(100% + 8px);width:170px;z-index:80;padding:6px;background:var(--surface,#fff);border:1px solid var(--line,#dfe7e6);border-radius:12px;box-shadow:0 12px 36px #0002}.theme-menu button{display:block;width:100%;padding:10px 12px;text-align:left;border:0;background:transparent;color:inherit;border-radius:7px}.theme-menu button[aria-checked="true"]{background:var(--mint,#e2efed);color:var(--teal,#086565)}@media (hover:hover) and (pointer:fine){.theme-menu button:hover{background:var(--mint,#e2efed)}}

/* Shared brand, appearance picker and release footer. */
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.brand-logo{display:block;width:184px;max-width:100%;height:auto;aspect-ratio:2471/949}
.brand small{display:block;margin:0;font-size:10px;font-weight:550;letter-spacing:1.35px;color:var(--muted)}
.brand-logo-dark{display:none}
[data-theme=dark] .brand-logo-light{display:none}
[data-theme=dark] .brand-logo-dark{display:block}
.theme-control #theme-toggle{position:relative;display:inline-flex;align-items:center;gap:5px;width:auto;min-width:38px;min-height:38px;padding:7px}
.theme-auto{color:var(--muted);font-size:10px;font-weight:550;line-height:1}
.theme-menu{width:226px;max-width:calc(100vw - 24px)}
.theme-menu button{display:flex;align-items:center;gap:11px;min-height:44px;font-size:13px}
.theme-menu button>.icon,.theme-menu button>[data-icon]{flex-shrink:0}
.theme-menu small{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:400}
.theme-check{margin-left:auto;visibility:hidden}
.theme-menu [aria-checked=true] .theme-check{visibility:visible}
.theme-menu .icon{width:18px;height:18px}
.main-shell{display:flex;flex-direction:column}
.main-shell>.demo-bar,.main-shell>.topbar{flex-shrink:0}
.main-shell>main{flex:1 0 auto}
.app-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;margin:0 28px;padding:18px 0 max(20px,env(safe-area-inset-bottom));border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.6}
.release-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.release-meta .text-button{font-size:11px;min-height:36px;padding:6px 0;color:var(--teal)}
.care-signature{margin:0;text-align:right;font-size:11px;font-weight:400}
.care-signature span{display:block;font-size:10px;letter-spacing:.2px}
.release-note+.release-note{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.release-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px}
.release-heading h3{font-size:15px}
.release-heading time{color:var(--muted);font-size:11px}
@media(max-width:760px){
 .sidebar .brand{margin-bottom:22px}
 .topbar .theme-control #theme-toggle{width:auto;min-width:38px;min-height:38px}
 .app-footer{margin:0 16px;padding-top:14px;flex-direction:column;gap:6px}
 .release-meta{justify-content:center}
 .release-meta .text-button{min-height:44px;font-size:12px}
 .care-signature{text-align:center}
}

/* 0.4: one task workspace, responsive controls, unchanged access model. */
button,a,summary{-webkit-tap-highlight-color:transparent}
button,summary{-webkit-user-select:none;user-select:none}
button:active:not(:disabled){filter:brightness(.94)}
button:focus:not(:focus-visible){outline:none}
main{width:100%;max-width:1480px}
.view-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--panel);align-self:center;min-width:300px}
.view-switch button{display:flex;justify-content:center;align-items:center;border:1px solid transparent;border-radius:8px;padding:10px 12px;margin:0;min-height:42px;font-size:13px;font-weight:600;white-space:nowrap;color:var(--muted);background:transparent}
.view-switch button[aria-pressed=true]{background:var(--surface);border-color:var(--line);color:var(--teal);box-shadow:0 1px 3px #0000000a}
[data-theme=dark] .view-switch button[aria-pressed=true]{background:var(--mint);border-color:#3b6153}
.day-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px;font-size:14px}
.day-summary .text-button{font-size:13px}
.attention-links{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.attention-links button{background:var(--mint);color:var(--teal);border:0;min-height:38px;font-size:12px}
.task-title,.kanban-card .task-title{font-size:15px;line-height:1.5}
.task-meta{font-size:12px}
.task-meta .priority-badge{font-size:11px}
.group-title{font-size:13px}
.unassigned{font-size:12px;color:var(--muted);white-space:nowrap}
.directory-open{align-items:flex-start;text-align:left}
.directory-row{grid-template-columns:42px minmax(140px,1fr) auto auto auto auto}
.space-directory-group{margin-bottom:18px}
.space-directory-group>.directory-list{border-radius:12px 12px 0 0;background:var(--panel)}
.space-directory-group .directory-row{background:var(--panel)}
.space-directory-group>.project-summaries{border-top:0;border-radius:0 0 12px 12px}
.space-directory-group>.project-summaries:empty{display:none}
.directory-list:has(>.space-directory-group){border:0;background:transparent}
.project-summary{grid-template-columns:minmax(180px,1fr) 145px 170px 160px 78px}
.project-progress>strong{font-size:12px;font-weight:550;white-space:normal;line-height:1.5}
.project-owner,.project-health,.directory-meta{font-size:12px}
.project-summary-title small{font-size:12px}
.team-link{color:var(--teal);justify-content:flex-start;gap:10px}
.role-switch button#actor-avatar{display:inline-flex;width:40px;height:40px;min-height:40px;min-width:40px;padding:0;font-size:12px;border:1px solid var(--line)}
.theme-menu{width:360px;padding:18px;border-radius:16px}
.theme-menu h3{font-size:16px;margin-bottom:16px}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px;border:1px solid var(--line);border-radius:13px;background:var(--bg)}
.theme-options button{position:relative;flex-direction:column;justify-content:flex-start;gap:11px;padding:16px 5px 12px;min-height:118px;border:1px solid transparent;border-radius:9px;text-align:center;font-size:14px;background:transparent}
.theme-options button[aria-checked=true]{background:var(--panel);border-color:var(--line)}
.theme-options button>span:nth-child(2){line-height:1.3}
.theme-options small{margin-top:10px;line-height:1.4;font-size:11px}
.theme-options .theme-check{position:absolute;right:7px;top:6px}
.theme-options .theme-check .icon{width:13px;height:13px}
.theme-options .icon{width:22px;height:22px}
.theme-help{font-size:12px;line-height:1.6;color:var(--muted);margin:15px 0 0}
.task-options summary{min-height:44px}
.task-options summary span{font-size:11px}
.title-input{min-height:76px}
.task-fields{gap:16px}
.task-fields label{font-size:13px}
.task-fields select,.task-fields input{min-height:44px}
.task-options .details-body>.check-label{margin-bottom:16px}
.account-summary{display:flex;gap:12px;align-items:center;margin-bottom:20px}
.account-summary .avatar{width:42px;height:42px;font-size:14px}
.account-summary>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.account-summary strong{font-size:16px;overflow-wrap:anywhere}
.account-summary span{color:var(--muted);font-size:13px}
.mobile-nav,.mobile-create{display:none}
.calendar-range{display:flex;background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:3px;gap:2px;margin-left:auto}
.calendar-range button{min-height:34px;font-size:12px;border:1px solid transparent;background:transparent;padding:5px 12px}
.calendar-range button[aria-pressed=true]{background:var(--surface);border-color:var(--line);color:var(--teal)}
.calendar-toolbar{gap:12px;flex-wrap:wrap}
.calendar-cell .day-number{min-width:36px;min-height:36px}
@media(min-width:761px) and (max-width:1200px){
 .project-summary{grid-template-columns:minmax(180px,1fr) 130px 78px}
 .project-progress{grid-column:1;display:block;padding-left:49px}
 .project-progress .progress-track{width:140px}
 .project-progress>strong{font-size:12px}
 .project-health{grid-column:2/-1}
 .workspace-toolbar{flex-wrap:wrap}
}
@media(max-width:760px){
 .main-shell{height:100dvh;padding-bottom:calc(78px + env(safe-area-inset-bottom));overscroll-behavior-y:contain}
 .main-shell>.topbar{position:sticky;top:0;z-index:30;min-height:56px;padding:8px 14px;background:var(--surface)}
 .mobile-menu{display:none!important}
 .demo-bar{min-height:22px;padding:4px 16px}
 .topbar .breadcrumb{font-size:12px;white-space:nowrap}
 .topbar .breadcrumb .text-button{font-size:12px}
 .topbar-actions{gap:6px}
 .topbar-actions .icon{width:20px;height:20px}
 .topbar .global-search-button,.topbar .theme-control #theme-toggle{width:40px;min-height:40px}
 .topbar .role-switch select{max-width:84px;font-size:16px}
 .topbar .role-switch .demo-badge{display:none}
 .topbar .role-switch [data-action=logout]{display:none}
 main{padding:20px 16px 28px}
 .page-heading{margin-bottom:18px;align-items:flex-start;gap:10px}
 h1{font-size:27px}
 .eyebrow{font-size:10px}
 .subtitle{font-size:13px;line-height:1.5;max-width:36em}
 .heading-actions [data-action=new-task]{display:none}
 .heading-actions button{min-height:44px}
 .day-summary{font-size:13px;margin-bottom:12px}
 .attention-links{margin-bottom:14px;gap:6px}
 .attention-links button{font-size:11px;min-height:36px;padding:7px 10px}
 .workspace-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:12px}
 .view-switch{flex:none;width:100%;min-width:0;align-self:stretch;gap:3px;justify-content:normal;border-radius:12px}
 .view-switch button{min-width:0;padding:9px 3px;font-size:12px;min-height:44px;gap:5px}
 .view-switch .icon{width:16px;height:16px}
 .toolbar-end{flex:none;flex-basis:auto;display:flex;flex-wrap:wrap;gap:8px}
 .toolbar-end .search-box{flex:1;min-width:80px;padding:0 9px}
 .toolbar-end .search-box input{min-height:44px;font-size:16px}
 .group-by-wrap select{width:110px;min-height:44px;font-size:16px;padding:6px}
 #filters-toggle{width:44px;min-height:44px;border-color:var(--line);background:var(--surface)}
 .board-direction{padding:3px}
 .board-direction button{min-height:38px;min-width:34px}
 .focus-bar{display:none}
 .filters{margin-bottom:14px;gap:12px}
 .filters label{min-width:0;flex:1 1 45%;font-size:13px}
 .filters select{width:100%;min-height:44px;font-size:16px}
 .filters .check-label{flex-basis:100%;min-height:44px}
 .quick-add{display:grid;grid-template-columns:20px minmax(0,1fr) 40px;gap:3px 8px;padding:9px 10px;min-height:72px}
 .quick-add .quick-plus{grid-column:1;grid-row:1}
 .quick-add input{grid-column:2;grid-row:1;font-size:16px;min-height:30px}
 .quick-add .quick-submit{grid-column:3;grid-row:1/3;min-height:42px;width:40px}
 .quick-scope{display:block;grid-column:2;grid-row:2;max-width:100%;font-size:11px;line-height:1.4}
 .results-line{margin-top:14px;margin-bottom:10px;font-size:11px}
 .empty-state{padding:28px 18px}
 .empty-state>.icon{width:30px;height:30px;margin-bottom:12px}
 .empty-state h3{font-size:17px;line-height:1.4}
 .empty-state p{font-size:13px;line-height:1.6}
 .empty-state button{min-height:44px;font-size:13px}
 .task-row{display:grid;grid-template-columns:28px minmax(0,1fr);padding:12px;gap:5px 7px;align-items:start}
 .task-row>.task-check{grid-column:1;grid-row:1/3;align-self:center;width:26px;height:26px;min-height:26px}
 .task-row>.task-open{grid-column:2;grid-row:1}
 .task-row .row-end{grid-column:2;grid-row:2;justify-content:flex-start;flex-direction:row;align-items:center;flex-wrap:wrap;width:auto}
 .task-row .task-title,.kanban-card .task-title{font-size:15px}
 .task-meta{font-size:11px}
 .row-end .plan-button{display:inline-flex;width:30px;min-height:30px}
 .row-end .status-pill{display:inline-flex;font-size:10px}
 .row-end .due-pill{font-size:11px}
 .row-end .avatar{margin-left:auto}
 .unassigned{font-size:11px;margin-left:auto}
 .board-context{font-size:11px;line-height:1.5;margin:8px 0 12px}
 .vertical .column-cards{min-height:0}
 .vertical .kanban-column{margin-bottom:14px}
 .drop-empty{padding:18px 10px;min-height:56px;font-size:12px}
 .column-add{min-height:44px}
 .calendar-toolbar{display:grid;grid-template-columns:1fr auto;gap:10px;margin:12px 0}
 .calendar-toolbar>strong{font-size:14px}
 .calendar-range{grid-column:2;grid-row:1;margin:0}
 .calendar-range button{min-height:38px;padding:5px 10px}
 .calendar-controls{grid-column:1/-1;justify-content:space-between;display:flex;width:100%}
 .calendar-controls button{min-height:40px;min-width:40px}
 .calendar-grid{border-radius:12px}
 .weekday{padding:8px 0;font-size:11px}
 .calendar-cell{min-height:52px;padding:4px 2px}
 .calendar-cell .day-number{width:32px;height:32px;min-width:32px;min-height:32px;font-size:12px;margin:auto}
 .calendar-cell .day-count{font-size:9px;line-height:1.2}
 .week-grid .calendar-cell{min-height:70px}
 .agenda-heading{margin-top:20px;gap:8px}
 .agenda-heading h3{font-size:14px}
 .agenda-heading .text-button{min-height:44px;font-size:12px}
 .project-summary{grid-template-columns:minmax(0,1fr) 80px;padding:15px 12px;gap:10px}
 .project-summary-title strong{font-size:15px}
 .project-summary-title small{font-size:11px;white-space:normal;max-width:none}
 .project-row-actions{grid-column:2;grid-row:1}
 .project-row-actions .icon-button,.pin-button{min-height:44px;min-width:38px}
 .project-owner{grid-column:1/-1;grid-row:2;padding-left:42px;font-size:11px}
 .project-progress{grid-column:1/-1;grid-row:3;padding-left:42px;display:flex;gap:12px;align-items:center}
 .project-progress>strong{font-size:12px;margin:0;white-space:normal}
 .project-progress .progress-track{width:80px}
 .project-health{grid-column:1/-1;grid-row:4;padding-left:42px;font-size:11px}
 .directory-row{grid-template-columns:36px minmax(0,1fr) 36px 36px;gap:7px}
 .directory-open{text-align:left;align-items:flex-start}
 .directory-meta{grid-column:2/-1;font-size:11px}
 .directory-meta strong{font-size:12px}
 .directory-row>.icon-button{width:36px;min-height:44px}
 .directory-row>.pin-button{min-width:36px}
 .task-fields{grid-template-columns:1fr;gap:0}
 .task-fields label{font-size:13px;margin-bottom:15px}
 .task-fields input,.task-fields select,.task-drawer input,.task-drawer textarea{font-size:16px;min-height:46px}
 .task-drawer .title-input{font-size:22px;line-height:1.4;min-height:80px}
 .task-drawer input[type=checkbox]{min-height:20px}
 .task-drawer .visibility-line{font-size:12px}
 .quick-dates{gap:6px}
 .quick-dates button{min-height:36px;font-size:12px;padding:5px 9px}
 .task-options summary{font-size:14px;padding:12px 0;line-height:1.5}
 .task-options summary span{display:block;font-size:11px}
 .task-drawer .drawer-footer button{min-height:46px;font-size:14px}
 .drawer-footer .footer-right{gap:6px}
 .drawer-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .theme-menu{position:fixed;right:12px;top:85px;width:min(360px,calc(100vw - 24px));max-width:none;padding:16px}
 .theme-menu .theme-options button{min-height:116px}
 .theme-menu .theme-help{font-size:12px}
 .theme-options .icon{width:22px;height:22px}
 .mobile-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;position:fixed;z-index:40;left:0;right:0;bottom:0;padding:7px 70px max(7px,env(safe-area-inset-bottom)) 10px;border-top:1px solid var(--line);background:var(--surface)}
 .mobile-nav button{display:flex;flex-direction:column;gap:4px;border:0;border-radius:10px;padding:7px 4px;min-height:56px;background:transparent;color:var(--muted);font-size:11px}
 .mobile-nav .icon{width:21px;height:21px}
 .mobile-nav button[aria-current=page]{background:var(--mint);color:var(--teal)}
 .mobile-create{position:fixed;z-index:41;right:12px;bottom:calc(max(7px,env(safe-area-inset-bottom)) + 5px);display:flex;width:46px;min-height:46px;border-radius:14px;box-shadow:none}
 .mobile-create .icon{width:24px;height:24px}
 body:has(dialog[open]) .mobile-create,body:has(dialog[open]) .mobile-nav,body.keyboard-open .mobile-create,body.keyboard-open .mobile-nav{display:none}
 .toast{bottom:calc(85px + env(safe-area-inset-bottom));z-index:100}
 .app-footer{padding-bottom:18px}
}
@media(max-width:350px){
 .view-switch button{font-size:11px;gap:3px}
 .view-switch .icon{width:14px;height:14px}
 .group-by-wrap select{width:95px;font-size:16px}
 .topbar .role-switch select{max-width:65px}
}

/* Calendar: selecting a day and creating a task are separate actions. */
.calendar-layout{display:grid;gap:20px;align-items:start}
.calendar-month,.calendar-agenda{min-width:0}
.calendar-month .calendar-toolbar{margin-top:0;min-height:40px}
.calendar-cell{position:relative;isolation:isolate;padding:46px 6px 8px;min-height:128px}
.calendar-cell .calendar-day{position:absolute;inset:0;z-index:0;width:100%;height:100%;padding:0;min-height:0;border:0;border-radius:0;background:transparent;color:var(--text);box-shadow:none}
.calendar-cell .calendar-day:hover{background:transparent}
.calendar-cell .calendar-day:focus-visible{outline:2px solid var(--teal);outline-offset:-4px}
.calendar-cell .day-number{position:absolute;top:6px;left:6px;width:32px;height:32px;min-width:32px;min-height:32px;margin:0;display:flex;align-items:center;justify-content:center}
.calendar-add{position:absolute;top:7px;right:6px;z-index:2;display:flex;align-items:center;justify-content:center;width:30px;min-height:30px;padding:4px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--teal)}
.calendar-add .icon{width:17px;height:17px}
.calendar-task,.calendar-more{position:relative;z-index:1}
.calendar-more{display:block;min-height:28px;padding:3px 5px;font-size:11px}
.calendar-cell .day-count{position:absolute;bottom:7px;left:0;right:0;pointer-events:none}
.calendar-agenda{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.agenda-label{margin:0 0 8px;color:var(--muted);font-size:12px}
.calendar-agenda .agenda-heading{margin:0 0 16px;gap:8px;flex-wrap:wrap}
.calendar-agenda h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px}
.calendar-agenda .agenda-heading button{display:inline-flex;align-items:center;gap:5px;min-height:40px;white-space:nowrap}
.agenda-empty{color:var(--muted);font-size:14px;line-height:1.6;margin:18px 0 8px}
.calendar-agenda .task-row{display:grid;grid-template-columns:28px minmax(0,1fr);padding:12px;gap:6px 8px;align-items:start}
.calendar-agenda .task-row>.task-check{grid-column:1;grid-row:1/3;align-self:start;margin-top:2px}
.calendar-agenda .task-open{grid-column:2;grid-row:1}
.calendar-agenda .task-title{white-space:normal;overflow-wrap:anywhere;font-size:14px}
.calendar-agenda .task-meta{flex-wrap:wrap;overflow-wrap:anywhere}
.calendar-agenda .row-end{grid-column:2;grid-row:2;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}
.calendar-agenda .row-end .status-pill{display:inline-flex;min-width:0}
.calendar-agenda .row-end .plan-button{opacity:1}
.calendar-agenda .row-end .avatar{margin-left:auto}
.calendar-agenda .row-end .due-pill{display:none}
.calendar-layout+.undated{margin-top:24px}
@media(hover:hover) and (pointer:fine){
 .calendar-add{opacity:0;pointer-events:none;transition:opacity .12s}
 .calendar-cell:hover .calendar-add,.calendar-cell:focus-within .calendar-add{opacity:1;pointer-events:auto}
}
@media(min-width:1100px){
 .calendar-layout{grid-template-columns:minmax(0,1fr) 320px}
 .calendar-agenda{position:sticky;top:88px;margin-top:53px}
}
@media(max-width:760px){
 .calendar-layout{gap:16px}
 .calendar-cell{padding:0;min-height:56px}
 .calendar-cell .day-number{top:3px;left:50%;transform:translateX(-50%)}
 .calendar-cell .day-count{bottom:4px}
 .calendar-add,.calendar-more{display:none}
 .calendar-agenda{padding:14px}
 .calendar-agenda .agenda-heading{margin-bottom:12px}
 .calendar-agenda .agenda-heading button{min-height:44px}
 .calendar-agenda .task-row{padding:12px 8px;gap:6px}
 .calendar-agenda .task-title{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.calendar-add{transition:none}}

/* 0.4.2 — shared navigation, account and image viewer */
.sidebar-close{display:none}.sidebar-profile{display:flex;align-items:center;text-align:left;gap:10px;width:100%;min-height:54px;padding:10px 8px;margin:0 0 12px;border:1px solid var(--line);background:var(--surface)}
.sidebar-profile>span:not(.avatar){display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.sidebar-profile strong{font-size:12px;overflow-wrap:anywhere}.sidebar-profile small{font-size:11px;color:var(--muted)}
.sidebar-profile>.icon{width:16px;flex-shrink:0}.account-button{cursor:pointer;border:0}.profile-trigger{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:3px;min-height:40px}.profile-trigger .avatar{flex-shrink:0}.profile-dialog{width:min(400px,calc(100vw - 24px))}.profile-actions{display:flex;flex-direction:column;gap:4px}.profile-actions button{justify-content:flex-start;border:0;min-height:46px;background:transparent}.profile-actions [data-action=logout]{color:var(--danger,#a53737);border-top:1px solid var(--line);margin-top:12px;border-radius:0}
.file-row{display:flex;gap:6px;align-items:center}.file-row .file-open{flex:1;min-width:0;display:flex;gap:12px;align-items:center;justify-content:flex-start;text-align:left;border:0;background:transparent;padding:6px;min-height:64px}.file-row .file-name{min-width:0;overflow-wrap:anywhere;flex:1}.file-row .file-thumb{width:56px;height:56px;flex-shrink:0;object-fit:cover;border-radius:8px;background:var(--panel)}.file-row .file-open[data-preview-file]{cursor:zoom-in}.file-row>button:not(.file-open){flex-shrink:0;width:40px;min-height:44px}.file-open:focus-visible{outline:2px solid var(--teal);outline-offset:1px}
.image-dialog{padding:0;border:1px solid var(--line);border-radius:16px;width:min(1120px,calc(100vw - 40px));max-width:none;height:min(850px,calc(100dvh - 40px));max-height:none;background:var(--surface);color:var(--ink);overflow:hidden}.image-dialog::backdrop{background:rgba(0,0,0,.7)}.image-layout{display:flex;flex-direction:column;height:100%;min-height:0}.image-toolbar{display:flex;gap:8px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);flex-shrink:0}.image-toolbar h2{margin:0;flex:1;min-width:0;font-size:15px;overflow-wrap:anywhere;max-height:3.6em;overflow:auto}.image-toolbar button{min-width:44px;min-height:44px}.image-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;background:var(--panel)}.image-stage img{max-width:100%;max-height:100%;object-fit:contain}.image-stage p{max-width:440px;text-align:center;padding:20px;color:var(--muted);line-height:1.5}#image-loading{position:absolute;inset:auto}
@media(max-width:760px){.sidebar{width:min(330px,calc(100vw - 40px));bottom:calc(70px + env(safe-area-inset-bottom));height:auto;padding-top:18px;padding-bottom:20px;overscroll-behavior:contain}.sidebar-close{display:flex;position:absolute;right:8px;top:8px;min-height:40px;min-width:40px}.sidebar .brand{max-width:calc(100% - 35px)}.sidebar-profile strong{font-size:14px}.sidebar-profile small{font-size:12px}.nav-visible .mobile-nav{z-index:90}.nav-visible .mobile-create{visibility:hidden}.nav-visible .main-shell{overflow:hidden}.mobile-nav [data-action=more][aria-expanded=true]{background:var(--mint);color:var(--teal)}.image-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.image-toolbar{padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top))}.image-stage{padding:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.file-row .file-name{font-size:13px}.file-row .file-name small{font-size:11px}.file-row .file-thumb{width:52px;height:52px}}

/* Server account and loading state */
.server-loading .app-shell{visibility:hidden}.server-loading::before{content:"Подключаемся к серверу…";position:fixed;inset:45% 10%;text-align:center}.welcome{max-width:480px;margin:12vh auto;padding:28px}.welcome h1{margin-top:25px}.welcome .brand-logo{width:220px}.welcome .care-signature{margin-top:32px;text-align:left}.welcome .button{display:inline-flex;padding:12px 18px;margin-top:20px}.role-switch #signed-in-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.role-switch #signed-in-name{display:none}}
.progress-0{width:0%}
.progress-1{width:1%}
.progress-2{width:2%}
.progress-3{width:3%}
.progress-4{width:4%}
.progress-5{width:5%}
.progress-6{width:6%}
.progress-7{width:7%}
.progress-8{width:8%}
.progress-9{width:9%}
.progress-10{width:10%}
.progress-11{width:11%}
.progress-12{width:12%}
.progress-13{width:13%}
.progress-14{width:14%}
.progress-15{width:15%}
.progress-16{width:16%}
.progress-17{width:17%}
.progress-18{width:18%}
.progress-19{width:19%}
.progress-20{width:20%}
.progress-21{width:21%}
.progress-22{width:22%}
.progress-23{width:23%}
.progress-24{width:24%}
.progress-25{width:25%}
.progress-26{width:26%}
.progress-27{width:27%}
.progress-28{width:28%}
.progress-29{width:29%}
.progress-30{width:30%}
.progress-31{width:31%}
.progress-32{width:32%}
.progress-33{width:33%}
.progress-34{width:34%}
.progress-35{width:35%}
.progress-36{width:36%}
.progress-37{width:37%}
.progress-38{width:38%}
.progress-39{width:39%}
.progress-40{width:40%}
.progress-41{width:41%}
.progress-42{width:42%}
.progress-43{width:43%}
.progress-44{width:44%}
.progress-45{width:45%}
.progress-46{width:46%}
.progress-47{width:47%}
.progress-48{width:48%}
.progress-49{width:49%}
.progress-50{width:50%}
.progress-51{width:51%}
.progress-52{width:52%}
.progress-53{width:53%}
.progress-54{width:54%}
.progress-55{width:55%}
.progress-56{width:56%}
.progress-57{width:57%}
.progress-58{width:58%}
.progress-59{width:59%}
.progress-60{width:60%}
.progress-61{width:61%}
.progress-62{width:62%}
.progress-63{width:63%}
.progress-64{width:64%}
.progress-65{width:65%}
.progress-66{width:66%}
.progress-67{width:67%}
.progress-68{width:68%}
.progress-69{width:69%}
.progress-70{width:70%}
.progress-71{width:71%}
.progress-72{width:72%}
.progress-73{width:73%}
.progress-74{width:74%}
.progress-75{width:75%}
.progress-76{width:76%}
.progress-77{width:77%}
.progress-78{width:78%}
.progress-79{width:79%}
.progress-80{width:80%}
.progress-81{width:81%}
.progress-82{width:82%}
.progress-83{width:83%}
.progress-84{width:84%}
.progress-85{width:85%}
.progress-86{width:86%}
.progress-87{width:87%}
.progress-88{width:88%}
.progress-89{width:89%}
.progress-90{width:90%}
.progress-91{width:91%}
.progress-92{width:92%}
.progress-93{width:93%}
.progress-94{width:94%}
.progress-95{width:95%}
.progress-96{width:96%}
.progress-97{width:97%}
.progress-98{width:98%}
.progress-99{width:99%}
.progress-100{width:100%}