:root{--brand-dark:#141414;--brand-blue:#5476b8;--brand-blue-hover:#4565a3;--brand-dark-border:var(--brand-blue-hover);--brand-900:var(--brand-blue);--brand-700:var(--brand-blue);--brand-500:var(--brand-blue);--success:#36ae73;--danger:#e32822;--warning:#f9b03b;--canvas:#f3f6fb;--surface:#fff;--surface-muted:#f0f2f5;--text:var(--brand-dark);--text-muted:#626a76;--border:#dfe3e8;--focus:var(--brand-blue);--radius-sm:6px;--radius-md:16px;--motion-fast:.12s;--motion-base:.18s}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);min-width:0;color:var(--text);margin:0;font-family:Arial,Helvetica,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--brand-blue);color:#f8fbff;flex-direction:column;width:244px;min-height:100vh;padding:28px 16px 20px;display:flex;box-shadow:8px 0 28px #5476b829}.sidebar-brand{align-items:center;height:48px;margin-bottom:28px;padding:0 10px;display:flex}.sidebar-brand img{object-fit:contain;object-position:left center;width:142px;max-width:100%;height:42px;max-height:48px;display:block}.sidebar-nav{gap:6px;display:grid}.sidebar-footer{margin-top:auto}.nav-link{color:#fff;min-height:44px;transition:background-color var(--motion-fast), color var(--motion-fast);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;font-size:.95rem;font-weight:650;display:flex}.nav-link:hover{color:#fff;background:#ffffff1f}.nav-link-active{color:var(--brand-blue-hover);background:#fff;box-shadow:0 7px 18px #28416e24}.app-main{flex:1;min-width:0}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;border-bottom:1px solid #5476b829;justify-content:flex-end;align-items:center;gap:20px;min-height:76px;padding:16px clamp(20px,4vw,48px);display:flex}.topbar-brand{display:none}.search-field{border:1px solid var(--border);border-radius:var(--radius-sm);width:min(380px,100%);min-height:44px;color:var(--text-muted);background:var(--surface);align-items:center;gap:9px;padding:0 13px;display:flex}.search-field:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #1f6feb2e}.search-field input{width:100%;color:var(--text);background:0 0;border:0;outline:0}.search-field input::placeholder{color:#8b96a9}.topbar-actions,.user-menu{align-items:center;gap:12px;display:flex}.icon-button{border:1px solid var(--border);border-radius:var(--radius-sm);min-width:44px;min-height:44px;color:var(--brand-900);background:var(--surface);transition:background-color var(--motion-fast);place-items:center;display:inline-grid}.icon-button:hover{background:var(--surface-muted)}.user-menu{min-height:44px;color:var(--text);background:0 0;border:0;padding:2px 0 2px 6px;font-weight:650}.avatar{color:#fff;background:var(--brand-700);letter-spacing:.03em;border-radius:50%;flex:none;place-items:center;font-size:.72rem;font-weight:800;display:inline-grid}.avatar-sm{width:32px;height:32px}.avatar-md{width:40px;height:40px}.app-content{width:min(1320px,100%);margin:0 auto;padding:42px clamp(20px,4vw,48px)}.dashboard-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px;display:flex}.eyebrow{color:var(--brand-500);letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px;font-size:.78rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:6px;font-size:clamp(1.75rem,3vw,2.35rem);line-height:1.15}h2{margin-bottom:4px;font-size:1.1rem}.subtitle,.muted{color:var(--text-muted)}.subtitle{margin-bottom:0}.button{border-radius:var(--radius-sm);min-height:44px;transition:transform var(--motion-fast), background-color var(--motion-fast), border-color var(--motion-fast);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:750;display:inline-flex}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(0)}.button-primary{color:#fff;background:var(--brand-700)}.button-primary:hover{background:var(--brand-blue-hover)}.button-secondary{color:var(--brand-blue);background:var(--surface);border-color:#5476b87a}.button-secondary:hover{background:var(--surface-muted)}.button-quiet{color:var(--brand-700);background:0 0}.button-quiet:hover{background:#e8eef9}.button-danger{color:#fff;background:var(--danger)}.button-icon{width:44px;padding:0}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:20px;display:grid}.stack{gap:20px;display:grid}.card{border-radius:var(--radius-md);background:var(--surface);border:1px solid #5476b829;padding:22px;box-shadow:0 10px 30px #264e8a12}.card-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.card-header p{margin-bottom:0;font-size:.88rem}.week-summary{grid-template-columns:auto 1fr;align-items:center;gap:22px;display:grid}.progress-ring{border-radius:50%;place-items:center;width:92px;height:92px;display:grid;position:relative}.progress-ring-graphic{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.progress-ring-track,.progress-ring-value{fill:none;stroke-width:5px}.progress-ring-track{stroke:#e6ebf3}.progress-ring-value{stroke:var(--success);stroke-linecap:round}.progress-ring strong{z-index:1;font-size:1.1rem}.week-stat{gap:3px;display:grid}.week-stat strong{letter-spacing:-.04em;font-size:1.6rem}.metric-row{gap:14px;margin-top:18px;display:flex}.metric{border-radius:var(--radius-sm);background:var(--surface-muted);flex:1;padding:12px}.metric span,.project-meta,.task-meta{color:var(--text-muted);font-size:.78rem;display:block}.metric strong{margin-top:4px;font-size:1.03rem;display:block}.project-list,.task-list{gap:12px;display:grid}.project-item,.task-item{border-top:1px solid var(--border);align-items:center;gap:12px;padding:12px 0;display:flex}.project-item:first-child,.task-item:first-child{border-top:0;padding-top:0}.project-accent{background:var(--brand-500);border-radius:99px;width:10px;height:38px}.project-accent-success{background:var(--success)}.project-accent-tone-1{background:var(--brand-500)}.project-accent-tone-2{background:var(--success)}.project-accent-tone-3{background:var(--warning)}.project-accent-tone-4{background:var(--brand-700)}.project-copy,.task-copy{flex:1;min-width:0}.project-copy strong,.task-copy strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.project-meta{margin-top:3px}.status{border-radius:999px;flex:none;padding:4px 8px;font-size:.74rem;font-weight:800}.status-success{color:#14613c;background:#d9f5e7}.status-warning{color:#80520b;background:#fff0d5}.task-check{border:2px solid var(--border);background:var(--surface);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:inline-grid}.task-item-complete .task-check{border-color:var(--success);color:var(--success);background:var(--success);box-shadow:inset 0 0 0 4px var(--surface)}.task-item-complete strong{color:var(--text-muted);text-decoration:line-through}.task-meta{margin:3px 0 0}.timer-bar{z-index:10;border:1px solid var(--brand-dark-border);border-radius:var(--radius-md);color:#fff;background:var(--brand-900);align-items:center;gap:12px;max-width:940px;min-height:64px;margin:0 auto;padding:10px 12px;display:flex;position:fixed;bottom:24px;left:272px;right:28px;box-shadow:0 14px 32px #14141447}.timer-icon{border-radius:var(--radius-sm);color:#ddedff;background:#ffffff1f;place-items:center;width:38px;height:38px;display:grid}.timer-context{gap:2px;min-width:0;display:grid}.timer-context strong{text-overflow:ellipsis;white-space:nowrap;font-size:.87rem;overflow:hidden}.timer-context span{color:#c7d5ea;font-size:.76rem}.timer-value{font-variant-numeric:tabular-nums;margin-left:auto;font-size:1.05rem;font-weight:800}.timer-button{min-height:44px;color:var(--brand-900);background:#fff;flex:none}.timer-button:hover{background:#eaf1fb}.mobile-nav{display:none}.workspace-loading{gap:16px;display:grid}.workspace-loading>div{border-radius:var(--radius-md);background:linear-gradient(100deg,#edf1f7 30%,#f8faff 50%,#edf1f7 70%) 0 0/220% 100%;border:1px solid #5476b81f;animation:1.1s ease-in-out infinite workspace-loading;overflow:hidden}.workspace-loading-title{width:min(420px,75%);height:52px}.workspace-loading-metrics{height:84px}.workspace-loading-panel{height:230px}.workspace-loading-panel-short{height:140px}@keyframes workspace-loading{to{background-position-x:-220%}}.dashboard-real{min-width:0}.dashboard-state{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);align-items:flex-start;gap:16px;min-height:55vh;padding:clamp(24px,6vw,64px);display:flex}.dashboard-state h1{margin-bottom:8px}.dashboard-state p{color:var(--text-muted)}.dashboard-state-error>svg{color:var(--danger);flex:none}.active-timer-card{color:#fff;border-color:var(--brand-dark-border);background:var(--brand-blue);align-items:center;gap:14px;margin-bottom:20px;display:flex}.active-timer-idle{color:var(--text);border-color:var(--border);background:var(--surface)}.active-timer-copy{gap:2px;min-width:0;display:grid}.active-timer-copy .eyebrow{color:#bcd1f4;margin-bottom:0}.active-timer-copy strong,.active-timer-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.active-timer-copy span{color:#c7d5ea;font-size:.8rem}.active-timer-idle .active-timer-copy span{color:var(--text-muted)}.active-timer-card time{font-variant-numeric:tabular-nums;margin-left:auto;font-weight:800}.active-timer-card .button-secondary{color:var(--brand-900);background:#fff}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.summary-card{grid-template-columns:auto 1fr;align-items:center;gap:4px 9px;min-width:0;padding:17px;display:grid}.summary-card>svg{color:var(--brand-500);grid-row:span 2}.summary-card span{color:var(--text-muted);font-size:.78rem}.summary-card strong{font-size:1.14rem}.dashboard-grid-real{align-items:start}.card-header-actions{align-items:center;gap:8px;display:flex}.goal-edit-trigger{white-space:nowrap;min-height:38px;padding:7px 10px}.goal-edit-trigger-compact{width:38px;min-height:38px;margin-top:8px;padding:0}.goal-dialog-overlay{z-index:60;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1023427a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.goal-dialog-content{z-index:61;background:var(--surface);border:1px solid #5476b833;border-radius:18px;width:min(500px,100vw - 32px);max-height:calc(100vh - 40px);padding:24px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 70px #142f5947}.goal-dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.goal-dialog-heading h2{margin-bottom:7px;font-size:1.35rem}.goal-dialog-heading p{color:var(--text-muted);margin-bottom:0;line-height:1.5}.goal-form{gap:9px;margin-top:22px;display:grid}.goal-form label,.goal-presets legend{font-size:.83rem;font-weight:750}.goal-presets{border:0;min-width:0;margin:0 0 9px;padding:0}.goal-presets>div{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px;display:grid}.goal-preset{min-height:44px;color:var(--brand-900);background:#f5f8fd;border:1px solid #5476b847;border-radius:10px;padding:8px 10px;font-weight:750}.goal-preset[aria-pressed=true]{color:#fff;border-color:var(--brand-700);background:var(--brand-700)}.goal-custom-input{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:10px;min-height:50px;padding:0 14px;display:flex}.goal-custom-input:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #5476b829}.goal-custom-input input{width:72px;min-width:54px;min-height:46px;color:var(--text);background:0 0;border:0;outline:0;padding:8px 0;font-size:1.2rem;font-weight:800}.goal-custom-input span{color:var(--text-muted);font-size:.88rem}.goal-form p{color:var(--text-muted);margin:0;font-size:.82rem}.goal-form p[role=alert]{color:var(--danger)}.goal-hint{margin-top:-3px!important}.goal-dialog-actions{justify-content:flex-end;gap:9px;margin-top:13px;display:flex}.project-item-progress{align-items:flex-start}.project-copy progress,.team-progress-item progress{width:100%;height:8px;accent-color:var(--brand-500);border:0;border-radius:99px;margin-top:9px;display:block;overflow:hidden}.project-progress-value{color:var(--brand-700);flex:none;font-size:.82rem;font-weight:800}.task-check-overdue{color:var(--danger);border-color:var(--danger)}.empty-copy{color:var(--text-muted);margin:0;padding:18px 0 4px}.team-progress-list{gap:16px;margin:0;padding:0;list-style:none;display:grid}.team-progress-item{border-top:1px solid var(--border);min-width:0;padding-top:15px}.team-progress-item:first-child{border-top:0;padding-top:0}.team-progress-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.team-progress-heading strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.team-progress-heading span{color:var(--text-muted);flex:none;font-size:.75rem}.my-work-page{min-width:0}.my-work-heading{align-items:center}.my-work-summary{grid-template-columns:repeat(2,minmax(0,260px));gap:14px;margin-bottom:20px;display:grid}.my-work-summary .card{gap:5px;padding:18px 20px;display:grid}.my-work-summary span{color:var(--text-muted);font-size:.78rem}.my-work-summary strong{font-size:1.12rem}.my-work-list-section{border-radius:var(--radius-md);background:var(--surface);border:1px solid #5476b829;padding:24px;box-shadow:0 10px 30px #264e8a12}.my-work-list{gap:10px;display:grid}.my-work-task{border:1px solid var(--border);min-width:0;transition:border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);background:#fbfcfe;border-radius:12px;grid-template-columns:104px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px;display:grid}.my-work-task:hover{border-color:#5476b880;transform:translateY(-1px);box-shadow:0 8px 22px #264e8a14}.my-work-task-state{color:#255b43;background:#e5f6ed;border-radius:99px;justify-content:center;align-items:center;gap:5px;min-height:28px;padding:5px 8px;font-size:.74rem;font-weight:800;display:inline-flex}.my-work-task-overdue{color:#9c2c27;background:#fff0ef}.my-work-task-copy{gap:5px;min-width:0;display:grid}.my-work-task-copy strong,.my-work-task-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.my-work-task-copy span{color:var(--text-muted);font-size:.8rem}.my-work-task-copy progress{width:min(300px,100%);height:7px;accent-color:var(--brand-500)}.my-work-task-progress{color:var(--brand-900);font-size:.82rem;font-weight:800}.my-work-task-arrow{color:var(--brand-500)}.my-work-empty{text-align:center;justify-items:center;padding:54px 24px;display:grid}.my-work-empty>svg{color:var(--success);margin-bottom:12px}.my-work-empty p{margin-bottom:20px}.workspace-user-menu{position:relative}.user-menu-content{z-index:50;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-width:210px;padding:7px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 36px #1a2c4b2e}.user-menu-label{max-width:250px;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;padding:9px 10px;font-size:.78rem;display:block;overflow:hidden}.user-menu-separator{background:var(--border);height:1px;margin:4px 0}.user-menu-item{border-radius:var(--radius-sm);width:100%;min-height:44px;color:var(--danger);background:0 0;border:0;align-items:center;gap:9px;padding:9px 10px;font-weight:750;display:flex}.user-menu-item:hover,.user-menu-item:focus-visible{background:#fff0f0;outline:0}.user-menu-item:disabled{cursor:wait;opacity:.65}.user-menu-error{border-radius:var(--radius-sm);color:#8c211d;background:#fff5f4;border:1px solid #f3b6b3;width:min(280px,80vw);margin:0;padding:8px 10px;font-size:.78rem;position:absolute;top:calc(100% + 6px);right:0}@media (max-width:820px){.sidebar{display:none}.topbar{justify-content:space-between;padding:12px 18px}.topbar-brand{display:block}.search-field{display:none}.topbar-actions{margin-left:auto}.user-menu>span:not(.avatar){display:none}.dashboard-heading{flex-direction:column;align-items:flex-start;margin-bottom:22px}.dashboard-grid{grid-template-columns:1fr}.app-content{padding:30px 18px 96px}.timer-bar{padding:8px 10px;bottom:82px;left:12px;right:12px}.timer-context{display:none}.timer-value{margin-left:0}.timer-button{margin-left:auto}.mobile-nav{z-index:11;border-top:1px solid var(--border);background:#fffffffa;grid-template-columns:repeat(6,minmax(0,1fr));height:70px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px 20px #263b6314}.mobile-nav-link{min-height:56px;color:var(--text-muted);align-content:center;place-items:center;gap:3px;font-size:.66rem;font-weight:750;display:grid}.mobile-nav-link-active{color:var(--brand-700)}.dashboard-metrics,.my-work-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.my-work-task{grid-template-columns:96px minmax(0,1fr) auto}.my-work-task-progress{display:none}.active-timer-card{flex-wrap:wrap}.active-timer-card time{margin-left:0}.active-timer-card .button{margin-left:auto}}@media (max-width:460px){.topbar{min-height:64px}.icon-button{border:0}.week-summary{gap:14px}.metric-row{gap:8px}.metric{padding:10px}.timer-bar{gap:9px}.timer-button{padding:8px 10px;font-size:.82rem}.active-timer-card{padding:16px}.active-timer-copy{width:calc(100% - 54px)}.active-timer-card time{margin-left:52px}.active-timer-card .button{width:100%;margin-left:0}.dashboard-metrics{gap:8px}.summary-card{padding:13px 11px}.card-header-actions>svg{display:none}.goal-edit-trigger{padding-inline:8px;font-size:.8rem}.goal-dialog-content{border-radius:20px 20px 0 0;width:100%;max-height:92vh;padding:20px 16px;top:auto;bottom:0;left:0;transform:none}.goal-dialog-actions{grid-template-columns:1fr 1fr;display:grid}.week-summary{grid-template-columns:78px minmax(0,1fr)}.progress-ring{width:78px;height:78px}.team-progress-heading{flex-direction:column;align-items:flex-start;gap:3px}.team-progress-heading span{flex-basis:auto}.my-work-summary{grid-template-columns:1fr}.my-work-list-section{padding:16px}.my-work-task{grid-template-columns:1fr auto;gap:9px 12px;padding:14px}.my-work-task-state{width:max-content}.my-work-task-copy{grid-area:2/1/auto/-1}.my-work-task-arrow{grid-area:1/2}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}
.projects-page,.project-page,.project-layout,.project-settings-page{overflow-wrap:anywhere;min-width:0}.projects-heading,.project-page-heading,.project-settings-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.projects-heading p,.project-page-heading p,.project-settings-heading p{margin-bottom:0}.projects-filters{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.projects-filter{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--brand-700);align-items:center;min-height:44px;padding:9px 13px;font-weight:700;display:inline-flex}.projects-filter-active{background:var(--brand-700);border-color:var(--brand-700);color:#fff}.projects-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;display:grid}.project-list-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);border-top:5px solid var(--brand-500);gap:14px;min-width:0;padding:20px;display:grid;box-shadow:0 8px 24px #263b630d}.project-list-card:hover{border-color:var(--brand-500)}.project-card-header,.project-card-meta,.project-stat-row,.project-team-list,.project-status-list{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-card-header{justify-content:space-between}.project-code,.project-pill{background:var(--surface-muted);color:var(--brand-700);overflow-wrap:anywhere;border-radius:999px;align-items:center;max-width:100%;min-height:28px;padding:4px 8px;font-size:.74rem;font-weight:800;display:inline-flex}.project-pill-archived,.project-inactive-pill{color:#7a2d28;background:#fde8e7}.project-card-meta,.project-helper,.project-settings-section>header p,.project-subproject-card span{color:var(--text-muted);font-size:.84rem}.project-empty-state,.project-error-state{background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius-md);text-align:center;padding:clamp(24px,7vw,56px) 20px}.project-error-state,.project-danger-zone{border-color:#efb8b5}.project-layout-header{min-width:0;margin-bottom:24px}.project-layout-heading-row{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.project-layout-heading-row>div{min-width:0}.project-layout-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.project-tabs{border-bottom:1px solid var(--border);scrollbar-width:thin;gap:4px;max-width:100%;margin-top:18px;display:flex;overflow-x:auto}.project-tab{color:var(--text-muted);align-items:center;min-width:max-content;min-height:44px;padding:9px 12px;font-weight:750;display:inline-flex}.project-tab:hover{background:var(--surface-muted);color:var(--brand-700)}.project-summary-grid,.project-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.project-summary-wide,.project-settings-wide,.project-form-wide{grid-column:1/-1}.project-stat-row{align-items:stretch;margin-top:18px}.project-stat{background:var(--surface-muted);border-radius:var(--radius-sm);flex:140px;min-width:120px;padding:14px}.project-stat span,.project-team-member span{color:var(--text-muted);font-size:.8rem;display:block}.project-stat strong{margin-top:4px;font-size:1.15rem;display:block}.project-team-list,.project-status-list{align-items:stretch;margin-top:14px}.project-team-member,.project-status-item{border:1px solid var(--border);border-radius:var(--radius-sm);flex:180px;min-width:0;padding:12px}.project-status-item{align-items:center;gap:9px;display:flex}.project-status-dot{box-shadow:0 0 0 1px var(--border-strong);border:2px solid #fff;border-radius:999px;flex:none;width:12px;height:12px}.project-team-managed-summary{border-radius:var(--radius-sm);background:#5476b814;border:1px solid #5476b83d;margin-top:16px;padding:16px}.project-team-managed-summary p{color:var(--text-muted);margin:6px 0 0}.project-settings-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);min-width:0;padding:22px}.project-settings-section>header{margin-bottom:18px}.project-settings-section>header p{margin:4px 0 0}.project-form,.project-form fieldset,.project-settings-form,.project-subproject-manager,.project-subproject-form{min-width:0}.project-form fieldset,.project-settings-form fieldset{border:0;margin:0;padding:0}.project-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.project-field{gap:7px;min-width:0;display:grid}.project-field label,.project-settings-form legend{color:var(--brand-900);font-weight:750}.project-field label{font-size:.9rem}.project-settings-form legend{margin-bottom:6px;font-size:1rem;font-weight:800}.project-field input,.project-field select,.project-field textarea,.project-inline-label select,.project-setting-control select,.project-workflow-row>input:not([type=checkbox]){background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font:inherit;min-width:0;min-height:44px;padding:10px 12px}.project-field input,.project-field select,.project-field textarea{width:100%}.project-field input[type=color],.project-workflow-row>input[type=color]{cursor:pointer;border-radius:50%;width:44px;padding:5px}.project-workflow-row>input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}.project-field textarea{resize:vertical;min-height:112px}.project-field [aria-invalid=true]{border-color:var(--danger)}.project-field-error{color:#a41f1a;overflow-wrap:anywhere;font-size:.82rem}.project-form-feedback{color:#a41f1a;min-height:24px;margin-top:16px}.project-form-actions{background:var(--surface);justify-content:flex-end;padding-top:14px;display:flex;position:sticky;bottom:0}.project-dialog-overlay{z-index:40;background:#121f3494;position:fixed;inset:0}.project-dialog{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);z-index:41;width:min(100vw - 32px,460px);max-height:calc(100dvh - 32px);padding:24px;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 24px 70px #121f3447}.project-dialog-icon{color:var(--danger);background:#fde8e7;border-radius:50%;place-items:center;width:44px;height:44px;margin-bottom:14px;display:grid}.project-dialog h2{padding-right:36px}.project-dialog p{color:var(--text-muted)}.project-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.project-dialog-close{border-radius:var(--radius-sm);color:var(--text-muted);background:0 0;border:0;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:12px;right:12px}.project-helper{margin-bottom:16px}.project-member-list,.project-workflow-list,.project-subproject-list{gap:10px;min-width:0;margin-bottom:16px;display:grid}.project-member-row,.project-workflow-row,.project-subproject-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);min-width:0;padding:12px}.project-member-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.project-check-label{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;min-height:44px;display:inline-flex}.project-check-label input{flex:none;width:22px;height:22px}.project-inactive-pill{border-radius:999px;padding:3px 7px;font-size:.72rem;font-weight:800}.project-inline-label select,.project-setting-control select,.project-workflow-row>input:not([type=checkbox]){padding:8px 10px}.project-setting-control{max-width:420px}.project-workflow-row{grid-template-columns:minmax(140px,1fr) 54px auto auto;align-items:center;gap:10px;display:grid}.project-workflow-row>input[type=color]{width:54px}.project-row-actions{gap:6px;display:flex}.project-settings-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.project-settings-footer [role=status]{color:var(--text-muted);font-size:.86rem}.project-subproject-manager{gap:24px;display:grid}.project-subproject-form{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px}.project-subproject-card{gap:12px;display:grid}.project-subproject-card>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.project-subproject-card summary{color:var(--brand-700);cursor:pointer;align-items:center;min-height:44px;font-weight:700;display:flex}.project-empty{border:1px dashed var(--border);border-radius:var(--radius-sm);color:var(--text-muted);text-align:center;padding:18px}.task-page{gap:20px;min-width:0;display:grid}.task-page-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.task-page-heading p{color:var(--text-muted);margin-bottom:0}.task-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);gap:20px;min-width:0;padding:clamp(16px,3vw,24px);display:grid}.task-form fieldset{border:0;min-width:0;margin:0;padding:0}.task-project-context{background:var(--surface-muted);border-left:4px solid var(--brand-500);border-radius:var(--radius-sm);gap:3px;padding:14px 16px;display:grid}.task-project-context span,.task-project-context small{color:var(--text-muted);font-size:.8rem}.task-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0;display:grid}.task-form-wide{grid-column:1/-1}.task-field{align-content:start;gap:7px;min-width:0;display:grid}.task-field>label,.task-tag-field>legend{font-size:.85rem;font-weight:760}.task-field input,.task-field select,.task-field textarea{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);overflow-wrap:anywhere;width:100%;min-width:0;min-height:44px;padding:10px 12px}.task-field textarea{resize:vertical;min-height:112px}.task-field [aria-invalid=true]{border-color:var(--danger)}.task-field-error,.task-form-error{color:#9a201b;font-size:.82rem}.task-tag-field{gap:9px;display:grid}.task-tag-options{flex-wrap:wrap;gap:8px;display:flex}.task-tag-options label{border:1px solid var(--border);cursor:pointer;border-radius:99px;align-items:center;gap:8px;min-height:44px;padding:8px 10px;display:inline-flex}.task-tag-options input{accent-color:var(--brand-500);width:18px;height:18px}.task-tag-options span:before{background:var(--brand-500);content:"";border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.task-form-actions{justify-content:flex-end;display:flex}.task-form-error{border-radius:var(--radius-sm);background:#fff4f3;border:1px solid #f2bbb7;margin:0;padding:12px}.task-spinner{animation:.8s linear infinite task-spin}.tasks-grid{gap:12px;display:grid}.task-list-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);grid-template-columns:minmax(0,1fr) auto;gap:9px 16px;min-width:0;padding:16px;display:grid}.task-list-card h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:1rem}.task-title-link{overflow-wrap:anywhere;word-break:break-word;align-items:center;min-height:44px;display:inline-flex}.task-list-meta{color:var(--text-muted);flex-wrap:wrap;gap:8px 14px;font-size:.8rem;display:flex}.task-status{border-radius:99px;align-items:center;gap:6px;min-height:28px;padding:4px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.task-status-terminal{color:#125f3a;background:#d9f5e7}.task-status-open{color:var(--brand-700);background:#e8eef9}.task-empty{background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius-md);text-align:center;padding:clamp(28px,6vw,54px) 20px}.task-empty p{color:var(--text-muted)}.task-detail-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);gap:20px;min-width:0;padding:clamp(18px,4vw,28px);display:grid}.task-detail-card h2,.task-detail-description,.task-dependency-options span,.task-relation-panel span{overflow-wrap:anywhere}.task-detail-status{align-items:center;gap:9px;display:flex}.task-detail-description{white-space:pre-wrap}.task-detail-actions{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:16px;display:flex}.task-time-detail{border-radius:var(--radius-md);background:#f7f9fd;border:1px solid #5476b838;grid-template-columns:minmax(0,1fr) minmax(15rem,.8fr);gap:20px;padding:18px;display:grid}.task-time-detail>div{align-content:start;gap:7px;min-width:0;display:grid}.task-time-detail h3,.task-time-detail h4,.task-time-detail p{margin:0}.task-time-detail>div>strong{color:var(--brand-700);font-size:1.35rem}.task-time-detail progress{width:100%;height:9px;accent-color:var(--brand-500);margin-top:5px}.task-time-detail ul{gap:8px;margin:2px 0 0;padding:0;list-style:none;display:grid}.task-time-detail li{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:8px 0;display:flex}.task-field-hint{color:var(--text-muted);margin:0;font-size:.8rem}.task-dependency-editor{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);justify-items:start;gap:12px;padding:16px;display:grid}.task-dependency-editor fieldset{border:0;width:100%;margin:0;padding:0}.task-dependency-editor legend{font-weight:800}.task-dependency-editor p{margin:6px 0 12px}.task-dependency-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.task-dependency-options label{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:9px;min-height:44px;padding:8px 10px;display:flex}.task-dependency-options input{accent-color:var(--brand-500);flex:none;width:20px;height:20px}.task-relations{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.task-relation-panel{border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px}.task-relation-panel ul{gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.task-relation-panel a{background:var(--surface-muted);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:8px 10px;display:flex}@keyframes task-spin{to{transform:rotate(360deg)}}@media (max-width:700px){.project-summary-grid,.project-settings-grid{grid-template-columns:minmax(0,1fr)}.project-summary-wide,.project-settings-wide{grid-column:auto}.project-settings-section{padding:16px}}@media (max-width:620px){.project-layout-heading-row{flex-direction:column;align-items:stretch}.project-layout-heading-row .button{width:100%}.task-page-heading{flex-direction:column;align-items:stretch}.task-page-heading .button,.task-form-actions .button{width:100%}.task-form-grid,.task-relations,.task-dependency-options,.task-time-detail{grid-template-columns:minmax(0,1fr)}.task-form-wide{grid-column:auto}.task-form-actions{z-index:2;background:#fffffff0;margin:0 -8px -8px;padding:8px;position:sticky;bottom:78px}.task-list-card{grid-template-columns:minmax(0,1fr)}}@media (max-width:560px){.project-form-grid{grid-template-columns:minmax(0,1fr)}.project-form-wide{grid-column:auto}.project-form-actions button,.project-settings-footer button{width:100%}.project-dialog-actions button{flex:120px}.project-member-row{flex-direction:column;align-items:stretch}.project-inline-label select,.project-setting-control,.project-setting-control select{width:100%;max-width:none}.project-workflow-row{grid-template-columns:minmax(0,1fr) 54px}.project-workflow-row .project-check-label,.project-workflow-row .project-row-actions{grid-column:1/-1}}@media (max-width:360px){.projects-heading .button,.project-page-heading .button,.project-settings-heading .button{width:100%}.projects-filters{grid-template-columns:1fr;display:grid}.projects-filter{justify-content:center}}@media (prefers-reduced-motion:reduce){.task-spinner{animation-duration:1ms}}
