.label-hint{font-weight:400;color:#a1aabb;margin-left:4px}
.task-modal select[multiple]{min-height:104px}
.empty-row{text-align:center!important;color:#a0aabc!important;height:110px!important}
.date-cell{position:relative;min-height:28px}
.date-input{display:none!important}
.date-label{white-space:nowrap}
.task-title-button{cursor:pointer}
.task-title-button:hover{color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.detail-backdrop{display:none;position:fixed;inset:0;background:rgba(27,35,57,.25);z-index:21}
.detail-backdrop.open{display:block}
.task-detail-drawer{position:fixed;z-index:22;right:0;top:0;bottom:0;width:430px;background:#fff;box-shadow:-10px 0 40px rgba(32,42,72,.15);transform:translateX(105%);transition:transform .28s ease;padding:28px 24px;overflow:auto}
.task-detail-drawer.open{transform:translateX(0)}
.task-detail-drawer h2{max-width:310px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:19px;margin:0}
.detail-form label{display:block;color:#68758a;font-size:11px;font-weight:600;margin:0 0 15px}
.detail-form input,.detail-form select,.detail-form textarea{width:100%;display:block;margin-top:7px;border:1px solid var(--line);border-radius:7px;padding:10px 11px;outline:0;color:var(--ink);background:#fbfcfe;font-size:12px}
.detail-form input:focus,.detail-form select:focus,.detail-form textarea:focus{border-color:#a69cf0;box-shadow:0 0 0 3px #efedff}
.detail-form select[multiple]{min-height:114px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.detail-form input[type=range]{padding:0;accent-color:var(--purple);height:5px;margin-top:14px}
#detailProgressValue{float:right;color:var(--purple);font-weight:700}
.detail-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:2px 0 18px}
.detail-section-title{font-size:11px;font-weight:700;color:#69758a;margin-bottom:10px}
.downstream-list{display:flex;flex-direction:column;gap:7px}
.downstream-item{display:flex;align-items:center;gap:7px;color:#647188;font-size:11px}
.downstream-item .mini-state{font-size:10px;color:#a1aabb;margin-left:auto}
.detail-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;margin-top:5px}
.detail-footer>div{display:flex;gap:8px}
.danger-btn{color:#d65c65;font-size:11px;padding:9px 2px}
.danger-btn:hover{text-decoration:underline}
.feishu-status-card{display:flex;align-items:center;gap:9px;border:1px solid #e5e9f2;background:#fafbfe;border-radius:9px;padding:10px;margin:12px 0}
.feishu-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#3370ff;color:#fff;font-weight:700;font-size:12px}
.feishu-status-card div{min-width:0;display:flex;flex-direction:column;gap:2px}.feishu-status-card strong{font-size:11px;color:#4f5c73}.feishu-status-card small{font-size:10px;color:#97a2b2}.feishu-status-card button{margin-left:auto;color:var(--purple);font-size:10px;white-space:nowrap}
.feishu-status-card.ready{border-color:#c7e8df;background:#f3fbf8}.feishu-status-card.ready small{color:#23836e}
@media(max-width:480px){.task-detail-drawer{width:100%;padding:22px 18px}}
.alternate-view{min-height:420px;background:#fff}
.timeline-view{overflow:auto;min-width:950px}
.timeline-toolbar,.activity-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}
.timeline-toolbar strong,.activity-head strong{font-size:13px;color:#35415a}.timeline-toolbar span,.activity-head span{font-size:10px;color:#9ba5b5;margin-left:9px}
.timeline-legend{display:flex;gap:15px;font-size:10px!important;color:#8793a5!important}.timeline-legend span{display:flex;align-items:center;gap:4px;margin:0}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.legend-dot.working{background:#ee9d45}.legend-dot.done{background:#1fb889}.legend-dot.stuck{background:#dc5964}
.timeline-header,.timeline-row{display:grid;grid-template-columns:280px 1fr}.timeline-header{background:#fbfcfe;border-bottom:1px solid var(--line);height:46px}.timeline-task-head{display:flex;align-items:center;padding:0 20px;color:#9aa5b6;font-size:10px;font-weight:700;text-transform:uppercase}.timeline-grid{display:grid;grid-template-columns:repeat(14,minmax(48px,1fr));position:relative}.timeline-grid-header{align-items:center}.timeline-day{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#758298;font-size:10px;border-left:1px solid #f0f2f6}.timeline-day small{font-size:9px;color:#aab2c0;margin-top:2px}.timeline-day.weekend{background:#fafaff;color:#a7aec0}.timeline-row{min-height:55px;border-bottom:1px solid #f0f2f6}.timeline-task{display:flex;align-items:center;gap:8px;padding:0 20px;font-size:11px;font-weight:600;color:#4b5870;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.timeline-task:hover{color:var(--purple)}.timeline-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.timeline-cell{border-left:1px solid #f3f4f7}.due-cell{background:#fff8f1}.timeline-bar{grid-column:var(--from)/span var(--width);align-self:center;height:26px;border-radius:7px;background:#ee9d45;color:#fff;font-size:10px;font-weight:700;z-index:1;text-align:left;padding-left:10px;overflow:hidden;box-shadow:0 3px 8px rgba(88,79,160,.12)}.timeline-bar.done{background:#1fb889}.timeline-bar.stuck{background:#dc5964}.timeline-bar.not-started{background:#b9bec7}.timeline-bar span{opacity:.9}.timeline-empty{padding:70px;text-align:center;color:#a3adbc;font-size:12px}
.kanban-view{display:grid;grid-template-columns:repeat(4,minmax(205px,1fr));gap:13px;background:#f7f8fb;padding:17px;min-height:445px;overflow:auto}.kanban-column{min-width:205px}.kanban-column-head{display:flex;align-items:center;gap:8px;padding:0 4px 12px;color:#647188;font-size:11px;font-weight:700}.kanban-column-head b{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;background:#e9ebf1;color:#8995a7;font-size:10px}.kanban-column.working .kanban-column-head{color:#bd7c35}.kanban-column.stuck .kanban-column-head{color:#d15b63}.kanban-column.done .kanban-column-head{color:#218b73}.kanban-add{margin-left:auto;color:#9ca6b6;font-size:17px}.kanban-cards{display:flex;flex-direction:column;gap:9px}.kanban-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:13px;box-shadow:0 3px 10px rgba(35,45,70,.04);cursor:pointer}.kanban-card:hover{border-color:#c9c3f6;box-shadow:0 8px 18px rgba(44,48,102,.08)}.kanban-card-top{display:flex;justify-content:space-between;align-items:center}.kanban-card .priority{font-size:10px}.kanban-menu{font-size:14px;color:#acb4c1}.kanban-card h3{font-size:12px;line-height:1.45;margin:10px 0 5px;color:#3c4861}.kanban-card p{font-size:10px;line-height:1.45;color:#9aa5b5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.kanban-card-foot{display:flex;align-items:center;gap:6px;margin-top:12px;color:#8390a3;font-size:10px}.kanban-card-foot .user-avatar{width:22px;height:22px;font-size:8px;border:0}.kanban-due{margin-left:auto}.kanban-progress{height:3px;background:#eff1f5;border-radius:3px;margin-top:11px;overflow:hidden}.kanban-progress span{display:block;height:100%;background:var(--purple);border-radius:3px}.kanban-column.done .kanban-progress span{background:#1fb889}.kanban-empty{color:#adb6c3;text-align:center;padding:28px 6px;font-size:10px;border:1px dashed #dfe3ea;border-radius:8px}
.activity-view{min-height:420px}.activity-list{padding:5px 20px 25px}.activity-item{display:flex;align-items:flex-start;gap:11px;padding:16px 0;border-bottom:1px solid #f0f1f5;position:relative}.activity-item>div:nth-child(2){min-width:0}.activity-item strong{font-size:12px;color:#43506a}.activity-item p{font-size:11px;color:#7f8b9e;line-height:1.5;margin:4px 0}.activity-item small{font-size:10px;color:#aab2c0}.activity-item>.unread-mark{margin-left:auto;margin-top:7px}
@media(max-width:900px){.kanban-view{grid-template-columns:repeat(4,205px)}}
.auth-screen{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(27,35,57,.34);backdrop-filter:blur(8px)}.auth-screen[hidden]{display:none}.auth-card{width:min(390px,100%);padding:34px 36px 32px;background:#fff;border:1px solid #e2e6ef;border-radius:18px;box-shadow:0 24px 70px rgba(28,38,68,.2)}.auth-logo{display:flex;align-items:center;justify-content:center;width:90px;height:46px;margin:0 auto 20px;padding:5px 8px;border-radius:10px;background:#f7f8fb}.auth-logo img{width:78px;max-height:36px;object-fit:contain}.auth-card .eyebrow{margin-bottom:7px;text-align:center;color:#8278d8}.auth-card h2{margin:0 0 24px;color:#26334c;text-align:center;font-size:24px}.auth-card p{margin:8px 0 24px;color:#8994a7;text-align:center;font-size:12px}.auth-card label{display:block;margin-bottom:15px;color:#5f6c82;font-size:12px;font-weight:600}.auth-card input{display:block;width:100%;margin-top:7px;padding:11px 12px;border:1px solid #dfe4ed;border-radius:8px;background:#fafbfe;color:#26334c;outline:0}.auth-card input:focus{border-color:#a69cf0;box-shadow:0 0 0 3px #efedff}.auth-submit{width:100%;margin-top:4px;padding:12px 15px}.auth-error{min-height:18px;margin-top:12px;color:#d85d68;text-align:center;font-size:12px}.account-label{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#67738a;font-size:11px}.account-logout{font-size:11px!important;color:#6d5dd7!important}.account-logout:hover{background:#efedff!important}
.new-project-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:0 0 11px;padding:11px 12px;border-radius:9px;background:linear-gradient(135deg,#7160dc,#5f4dcc);color:#fff;font-size:12px;font-weight:700;box-shadow:0 8px 16px rgba(102,86,214,.2)}.new-project-btn:hover,.new-project-heading-btn:hover{background:#5545c8;color:#fff;transform:translateY(-1px)}.new-project-btn span{font-size:17px;line-height:1}.new-project-heading-btn{border-color:#d9d4ff;background:#f3f1ff;color:#5d4dc8;font-weight:700}.project-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-empty{padding:13px 9px;color:#a1aabb;font-size:11px;text-align:center;border:1px dashed #e1e4ed;border-radius:8px}.project-modal{width:min(500px,100%);background:#fff;border-radius:16px;box-shadow:0 30px 80px rgba(23,31,56,.28);padding:26px}.project-modal-intro{margin:-7px 0 22px;color:#8793a6;font-size:12px;line-height:1.6}.project-modal label{display:block;color:#68758a;font-size:11px;font-weight:600;margin-bottom:15px}.project-modal input,.project-modal select{width:100%;display:block;margin-top:7px;border:1px solid var(--line);border-radius:8px;padding:11px 12px;outline:0;color:var(--ink);background:#fbfcfe;font-size:13px}.project-modal input:focus,.project-modal select:focus{border-color:#a69cf0;box-shadow:0 0 0 3px #efedff}.project-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:17px;margin-top:7px}.project-modal-foot>span{color:#a1aabb;font-size:10px}.project-modal-foot>div{display:flex;gap:8px}.watch-task-btn{display:inline-flex;align-items:center;margin-top:8px;padding:6px 10px;border:1px solid #ddd8fb;border-radius:7px;background:#f7f5ff;color:#6557ca;font-size:11px;font-weight:600}.watch-task-btn:hover,.watch-task-btn.active{background:#ece9ff;border-color:#c9c1f7;color:#5142b9}.calendar-view{padding:20px;background:#fff}.calendar-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.calendar-toolbar h2{margin:0;color:#2c3852;font-size:22px}.calendar-actions{display:flex;gap:7px}.calendar-actions .secondary-btn{padding:8px 11px;font-size:11px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;background:#fafbfe}.calendar-weekdays span{padding:10px;color:#8d98aa;font-size:11px;font-weight:700;text-align:center}.calendar-grid{border:1px solid var(--line);border-radius:0 0 9px 9px;overflow:hidden}.calendar-day{min-height:112px;padding:8px;border-left:1px solid #edf0f5;border-top:1px solid #edf0f5;background:#fff}.calendar-day:nth-child(7n+1){border-left:0}.calendar-day-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;color:#718096;font-size:11px;font-weight:700}.calendar-day.outside{background:#fbfcfe}.calendar-day.outside .calendar-day-number{color:#c0c6d1}.calendar-day.today .calendar-day-number{background:var(--purple);color:#fff}.calendar-day-tasks{display:flex;flex-direction:column;gap:4px;margin-top:6px}.calendar-task{display:flex;align-items:center;gap:5px;width:100%;padding:4px 5px;border-radius:5px;background:#f4f2ff;color:#5a4bc2;font-size:10px;text-align:left;overflow:hidden}.calendar-task:hover{filter:brightness(.97)}.calendar-task.working{background:#fff2df;color:#bc7830}.calendar-task.done{background:#e8f8f2;color:#228a71}.calendar-task.stuck{background:#ffedf0;color:#ce5360}.calendar-task.not-started{background:#f0f1f4;color:#778397}.calendar-task-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor}.calendar-task span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-more{padding:2px 4px;color:#7e70d0;font-size:10px;text-align:left}.smart-list-view{padding:23px 24px 30px}.smart-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}.smart-list-head h2{margin:0 0 6px;color:#2c3852;font-size:23px}.smart-list-head p{margin:0;color:#8793a6;font-size:12px}.smart-list-count{padding:7px 10px;border-radius:8px;background:#f1efff;color:#6656d6;font-size:11px;font-weight:700;white-space:nowrap}.smart-list-columns,.smart-task-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(110px,.9fr) minmax(100px,.7fr) minmax(90px,.55fr);align-items:center;gap:12px}.smart-list-columns{padding:12px 14px;color:#99a4b4;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.smart-task-list{border:1px solid var(--line);border-radius:10px;overflow:hidden}.smart-task-row{width:100%;padding:14px;background:#fff;border-bottom:1px solid #edf0f5;text-align:left}.smart-task-row:last-child{border-bottom:0}.smart-task-row:hover{background:#fbfaff}.smart-task-status{width:9px;height:9px;margin-left:2px;border-radius:50%;background:#b9bec7}.smart-task-status.working{background:#ef9a44}.smart-task-status.done{background:#1fb889}.smart-task-status.stuck{background:#dc5964}.smart-task-main{display:flex;flex-direction:column;min-width:0;gap:4px}.smart-task-main strong{color:#3c4861;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-task-main small{color:#98a3b4;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-task-project,.smart-task-due{color:#718097;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-task-due.overdue{color:#d85d68;font-weight:700}.smart-task-label{justify-self:start;padding:5px 8px;border-radius:5px;background:#f0f1f4;color:#788496;font-size:10px}.smart-task-row:has(.smart-task-status.working) .smart-task-label{background:#fff1df;color:#b97831}.smart-task-row:has(.smart-task-status.done) .smart-task-label{background:#e8f8f2;color:#228a71}.smart-task-row:has(.smart-task-status.stuck) .smart-task-label{background:#ffedf0;color:#ce5360}.smart-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:70px 20px;color:#9aa5b5;font-size:12px;text-align:center}.smart-empty strong{color:#69768b;font-size:13px}.smart-empty-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e8f8f2;color:#1caa82;font-size:19px}
@media(max-width:700px){.project-modal{padding:21px}.project-modal-foot,.smart-list-head{align-items:flex-start;flex-direction:column}.project-modal-foot>div{width:100%}.project-modal-foot button{flex:1}.calendar-view{padding:13px;overflow:auto}.calendar-toolbar{align-items:flex-start;flex-direction:column}.calendar-actions{width:100%}.calendar-actions button{flex:1}.calendar-day{min-height:88px;padding:5px}.calendar-task{font-size:9px}.smart-list-view{padding:18px 12px}.smart-list-columns{display:none}.smart-task-row{grid-template-columns:9px minmax(0,1fr) auto;gap:9px}.smart-task-project{display:none}.smart-task-due{grid-column:2;font-size:10px}.smart-task-label{grid-column:3;grid-row:1/3}}

/* Keep every secondary view as legible as the task table. */
.side-rail .rail-link{font-size:11px}.workspace-title,.workspace-switcher{font-size:14px}.section-label{font-size:12px}.project-item,.sidebar-link{font-size:14px}.project-count,.link-count{font-size:12px}.topbar .breadcrumbs{font-size:14px}.status-pill{font-size:12px}.account-label{font-size:13px}.board-tab{font-size:14px}.board-action{font-size:13px}.search-box input,.filter-chip,.last-sync{font-size:13px}
.timeline-toolbar strong,.activity-head strong{font-size:15px}.timeline-toolbar span,.activity-head span{font-size:12px}.timeline-legend,.timeline-legend span{font-size:12px!important}.timeline-task-head{font-size:12px}.timeline-day{font-size:12px}.timeline-day small{font-size:11px}.timeline-task{font-size:13px}.timeline-bar{font-size:12px}.timeline-empty{font-size:14px}.kanban-column-head{font-size:13px}.kanban-column-head b{font-size:12px}.kanban-card .priority{font-size:12px}.kanban-card h3{font-size:14px}.kanban-card p{font-size:12px}.kanban-card-foot{font-size:12px}.kanban-empty{font-size:13px}.activity-item strong{font-size:14px}.activity-item p{font-size:13px}.activity-item small{font-size:12px}
.notification-drawer{font-size:14px}.drawer-head h2{font-size:24px}.drawer-head h2 span{font-size:12px}.drawer-tab{font-size:13px}.notification-title{font-size:14px}.notification-body{font-size:13px;line-height:1.6}.notification-time{font-size:12px}.mark-read{font-size:13px}.feishu-status-card strong{font-size:14px}.feishu-status-card small,.feishu-status-card button{font-size:12px}
.task-detail-drawer h2{font-size:22px}.detail-form label{font-size:13px}.detail-form input,.detail-form select,.detail-form textarea{font-size:14px}.detail-section-title{font-size:13px}.downstream-item{font-size:13px}.downstream-item .mini-state{font-size:12px}.detail-footer button,.watch-task-btn{font-size:13px}.danger-btn{font-size:13px}
.task-modal label,.project-modal label{font-size:13px}.task-modal input,.task-modal select,.task-modal textarea,.project-modal input,.project-modal select{font-size:14px}.modal-note,.project-modal-foot>span{font-size:12px}.task-modal .secondary-btn,.task-modal .primary-btn,.project-modal .secondary-btn,.project-modal .primary-btn{font-size:13px}.project-modal-intro{font-size:13px}.calendar-toolbar h2{font-size:24px}.calendar-actions .secondary-btn{font-size:13px}.calendar-weekdays span{font-size:13px}.calendar-day-number{font-size:13px}.calendar-task{font-size:12px}.calendar-more{font-size:12px}
.smart-list-head h2{font-size:24px}.smart-list-head p{font-size:13px}.smart-list-count{font-size:12px}.smart-list-columns{font-size:12px}.smart-task-main strong{font-size:14px}.smart-task-main small{font-size:12px}.smart-task-project,.smart-task-due{font-size:13px}.smart-task-label{font-size:12px}.smart-empty{font-size:13px}.smart-empty strong{font-size:14px}
.auth-card .eyebrow{font-size:13px}.auth-card h2{font-size:26px}.auth-card p{font-size:14px}.auth-card label{font-size:13px}.auth-card input{font-size:14px}.auth-submit{font-size:14px}.auth-error{font-size:13px}
.timeline-toolbar span,.activity-head span,.smart-list-head p,.project-modal-intro{color:#647188}.timeline-task,.timeline-day,.activity-item strong,.smart-task-main strong{font-weight:600}.activity-item p,.notification-body,.detail-form label,.downstream-item,.smart-task-main small{color:#5f6d83}.calendar-day-number,.calendar-weekdays span,.smart-list-columns,.smart-task-project,.smart-task-due{font-weight:600;color:#617087}.calendar-task,.calendar-more,.smart-task-label{font-weight:600}.notification-title,.feishu-status-card strong,.drawer-tab,.mark-read{font-weight:600}
.smart-list-columns,.smart-task-row{grid-template-columns:9px minmax(0,2fr) minmax(110px,.9fr) minmax(100px,.7fr) minmax(90px,.55fr)}
@media(max-width:700px){.smart-task-row{grid-template-columns:9px minmax(0,1fr) auto}}

.auth-card .remember-row{display:flex;align-items:center;gap:8px;margin:-2px 0 10px;color:#647188;font-size:13px;font-weight:500;cursor:pointer}.auth-card .remember-row input{width:16px;height:16px;margin:0;accent-color:var(--purple)}

.assignee-picker{display:flex;align-items:center;gap:6px;width:100%;min-width:0;padding:3px 4px;border:0;background:transparent;color:#58657b;text-align:left;cursor:pointer}.assignee-picker:hover{background:#f7f5ff;border-radius:7px}.assignee-avatar-stack{display:flex;align-items:center;flex:0 0 auto}.assignee-avatar-stack .user-avatar{width:24px;height:24px;margin-left:-5px;border:2px solid #fff;font-size:9px}.assignee-avatar-stack .user-avatar:first-child{margin-left:0}.assignee-more{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:-5px;border:2px solid #fff;border-radius:50%;background:#eef0f5;color:#68758a;font-size:9px;font-weight:700}.assignee-picker-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.assignee-chevron{margin-left:auto;color:#748198;font-size:14px}.assignee-menu{position:fixed;z-index:55;max-height:min(500px,calc(100vh - 24px));overflow:auto;padding:0;background:#fff;border:1px solid #e0e4ed;border-radius:12px;box-shadow:0 18px 48px rgba(31,42,70,.2);opacity:0;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease}.assignee-menu[hidden]{display:none}.assignee-menu.open{opacity:1;transform:translateY(0)}.assignee-menu.above{transform:translateY(4px)}.assignee-menu-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:15px 16px 11px;border-bottom:1px solid #edf0f5}.assignee-menu-head strong{display:block;color:#34415a;font-size:14px}.assignee-menu-head span{display:block;margin-top:3px;color:#8b96a7;font-size:11px}.assignee-list{display:flex;flex-direction:column;gap:2px;padding:9px 10px}.assignee-option{display:flex;align-items:center;gap:8px;padding:8px 7px;border-radius:7px;color:#4e5b72;font-size:13px;cursor:pointer}.assignee-option:hover{background:#f7f5ff}.assignee-option input{width:16px;height:16px;margin:0;accent-color:var(--purple)}.assignee-option .user-avatar{width:25px;height:25px;font-size:9px}.assignee-option em{margin-left:auto;color:#7568cf;font-size:10px;font-style:normal}.assignee-menu-hint{padding:10px 16px 14px;border-top:1px solid #edf0f5;color:#8994a6;font-size:11px;line-height:1.5}.detail-form select[multiple],.task-modal select[multiple]{min-height:114px}

/* Project details and member management. */
.project-heading-copy{min-width:0;flex:1}.project-description-wrap{display:flex;align-items:flex-start;flex-wrap:wrap;gap:4px 10px;max-width:790px}.project-description{max-width:700px;margin:0!important;line-height:1.55}.project-description:not(.expanded){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.project-description-toggle{padding:0;margin-top:2px;color:var(--purple);font-size:12px;font-weight:700;white-space:nowrap}.project-description-toggle:hover{text-decoration:underline}.project-members-modal{width:min(650px,100%);max-height:min(740px,calc(100vh - 32px));overflow:auto;background:#fff;border-radius:16px;box-shadow:0 30px 80px rgba(23,31,56,.28);padding:27px}.project-members-intro{margin:-8px 0 22px;color:#647188;font-size:13px;line-height:1.6}.project-members-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:#3f4d65;font-size:13px;font-weight:700}.project-members-section-title span{color:#8995a7;font-size:12px;font-weight:500}.project-members-current{display:flex;flex-direction:column;gap:5px;max-height:245px;overflow:auto;padding:8px;border:1px solid #e7ebf1;border-radius:10px;background:#fafbfe}.project-member-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:7px 9px;border-radius:8px;background:#fff}.project-member-row:hover{background:#f7f5ff}.project-member-row .user-avatar{width:32px;height:32px;border:0;font-size:11px;flex:0 0 32px}.project-member-identity{display:flex;flex-direction:column;gap:2px;min-width:0}.project-member-identity strong{color:#3b4962;font-size:13px}.project-member-identity small{color:#8995a7;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-member-role{margin-left:auto;padding:5px 8px;border-radius:6px;background:#eef1f5;color:#68758a;font-size:11px;font-weight:600;white-space:nowrap}.project-member-role.admin{background:#eeeaff;color:#6656d6}.project-member-role.observer{background:#f2f3f6;color:#7b8799}.project-members-empty{padding:22px 10px;color:#9ba6b6;font-size:12px;text-align:center}.project-member-form{margin-top:18px;padding-top:18px;border-top:1px solid #edf0f5}.project-member-form-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:12px}.project-member-form label{display:block;color:#68758a;font-size:13px;font-weight:600}.project-member-form select{display:block;width:100%;margin-top:7px;padding:10px 11px;border:1px solid #dfe4ed;border-radius:8px;background:#fbfcfe;color:var(--ink);font-size:13px;outline:0}.project-member-form select:focus{border-color:#a69cf0;box-shadow:0 0 0 3px #efedff}.project-member-form select:disabled{cursor:not-allowed;opacity:.62}.project-members-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}.project-members-foot span{color:#8995a7;font-size:11px;line-height:1.45}.project-members-foot .primary-btn:disabled{cursor:not-allowed;opacity:.55}
.project-modal textarea{width:100%;display:block;margin-top:7px;padding:10px 11px;border:1px solid var(--line);border-radius:8px;outline:0;resize:vertical;color:var(--ink);background:#fbfcfe;font-size:14px;line-height:1.55}.project-modal textarea:focus{border-color:#a69cf0;box-shadow:0 0 0 3px #efedff}

/* Flat, spacious calendar treatment. */
.flat-calendar.calendar-view{padding:27px;background:#f7f8fc}.flat-calendar .calendar-toolbar{align-items:center;margin:0 0 21px}.flat-calendar .calendar-toolbar h2{margin:0;color:#1f2c46;font-size:27px;letter-spacing:-.02em}.flat-calendar .calendar-subtitle{display:block;margin-top:5px;color:#8c98aa;font-size:12px}.flat-calendar .calendar-actions{gap:8px}.flat-calendar .calendar-actions .secondary-btn{padding:8px 12px;border:1px solid #e1e6ef;border-radius:8px;background:#fff;color:#68758a;font-size:12px;box-shadow:none}.flat-calendar .calendar-actions .secondary-btn:hover{border-color:#c8c1f4;background:#fbfaff;color:var(--purple)}.flat-calendar .calendar-actions .calendar-today-btn{background:#f0eeff;border-color:#ddd8fb;color:#6556cc}.flat-calendar .calendar-weekdays{gap:6px;border:0;border-radius:0;background:transparent}.flat-calendar .calendar-weekdays span{padding:0 10px 8px;color:#8b96a8;font-size:11px;font-weight:700;text-align:left}.flat-calendar .calendar-weekdays span.weekend{color:#a19bc8}.flat-calendar .calendar-grid{gap:6px;border:0;border-radius:0;overflow:visible}.flat-calendar .calendar-day{position:relative;min-height:126px;padding:11px 10px;border:1px solid #e5e9f1!important;border-radius:10px;background:#fff;box-shadow:none;transition:border-color .15s ease,background .15s ease}.flat-calendar .calendar-day:hover{border-color:#cfc8f5!important;background:#fdfcff}.flat-calendar .calendar-day.outside{background:#f3f5f9;opacity:.72}.flat-calendar .calendar-day.weekend:not(.outside){background:#fcfbff}.flat-calendar .calendar-day.today{border:1.5px solid #8878df!important;background:#faf9ff}.flat-calendar .calendar-day-number{width:28px;height:28px;border-radius:8px;justify-content:center;color:#647188;font-size:12px;font-weight:700}.flat-calendar .calendar-day.today .calendar-day-number{background:var(--purple);color:#fff}.calendar-day-head{display:flex;align-items:center;justify-content:space-between}.calendar-day-count{min-width:20px;padding:3px 5px;border-radius:10px;background:#f0eeff;color:#7263d4;font-size:10px;font-weight:700;text-align:center}.flat-calendar .calendar-day-tasks{gap:5px;margin-top:9px}.flat-calendar .calendar-task{min-height:27px;padding:6px 7px;border:0;border-radius:7px;box-shadow:none;font-size:11px;font-weight:600}.flat-calendar .calendar-task:hover{filter:brightness(.98);transform:none}.flat-calendar .calendar-task-dot{width:6px;height:6px;flex-basis:6px}.flat-calendar .calendar-more{padding:2px 4px;color:#7567cf;font-size:11px;font-weight:700}.flat-calendar .calendar-more:hover{text-decoration:underline}

@media(max-width:700px){.project-members-modal{padding:21px}.project-member-form-grid{grid-template-columns:1fr}.project-members-foot{align-items:flex-start;flex-direction:column}.project-members-foot .primary-btn{width:100%}.flat-calendar.calendar-view{padding:17px 13px;overflow:auto}.flat-calendar .calendar-toolbar{align-items:flex-start;flex-direction:column}.flat-calendar .calendar-actions{width:100%}.flat-calendar .calendar-actions button{flex:1}.flat-calendar .calendar-day{min-height:102px;padding:7px}.flat-calendar .calendar-task{font-size:10px}.flat-calendar .calendar-day-count{display:none}}

/* Gantt chart. The left task column stays pinned while the timeline scrolls. */
.gantt-view{padding:26px 24px 30px;background:#fff}.gantt-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding-bottom:19px;border-bottom:1px solid #e7ebf1}.gantt-toolbar h2{margin:0;color:#1f2c46;font-size:26px;letter-spacing:-.02em}.gantt-toolbar p{margin:6px 0 0;color:#8793a6;font-size:12px}.gantt-toolbar-actions{display:flex;align-items:flex-end;gap:9px}.gantt-toolbar-actions label{display:flex;flex-direction:column;gap:6px;color:#7b8799;font-size:11px;font-weight:600}.gantt-toolbar-actions select{min-width:145px;padding:8px 10px;border:1px solid #dfe4ed;border-radius:8px;background:#fff;color:#55627a;font-size:12px;outline:0}.gantt-toolbar-actions select:focus{border-color:#a69cf0;box-shadow:0 0 0 3px #efedff}.gantt-toolbar-actions select:disabled{cursor:not-allowed;opacity:.75}.gantt-toolbar-actions .secondary-btn{padding:8px 11px;font-size:12px}.gantt-legend{display:flex;align-items:center;gap:15px;padding:15px 0 12px;color:#78859a;font-size:11px}.gantt-legend span{display:inline-flex;align-items:center;gap:5px}.gantt-legend i{width:8px;height:8px;border-radius:50%;background:#b9bec7}.gantt-legend i.working{background:#ef9a44}.gantt-legend i.done{background:#1fb889}.gantt-legend i.stuck{background:#dc5964}.gantt-legend i.not-started{background:#b9bec7}.gantt-range{margin-left:auto;color:#9aa5b5;font-size:11px}.gantt-scroll{overflow:auto;border:1px solid #e4e8f0;border-radius:10px}.gantt-board{min-width:980px}.gantt-header,.gantt-row{display:grid;grid-template-columns:280px calc(var(--gantt-days) * 38px)}.gantt-label-head{position:sticky;left:0;z-index:4;display:flex;align-items:center;padding:0 15px;height:52px;background:#fafbfe;border-right:1px solid #e4e8f0;color:#8490a4;font-size:11px;font-weight:700}.gantt-days{display:grid;grid-template-columns:repeat(var(--gantt-days),38px);height:52px;background:#fafbfe}.gantt-day-header{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-right:1px solid #edf0f5;color:#738097;font-size:10px}.gantt-day-header strong{font-size:12px}.gantt-day-header small{font-size:9px;color:#a5afbe}.gantt-day-header.weekend{background:#f8f7fd;color:#857cb7}.gantt-day-header.today{color:var(--purple);background:#f0eeff}.gantt-day-header.today strong{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--purple);color:#fff}.gantt-group-label{grid-column:1/-1;display:flex;align-items:center;gap:7px;height:34px;padding:0 15px;border-top:1px solid #e7ebf1;border-bottom:1px solid #edf0f5;background:#f8f8ff;color:#6256c4;font-size:11px;font-weight:700}.gantt-group-label span:last-child{margin-left:4px;color:#9a93d5;font-weight:500}.gantt-group-dot{width:7px;height:7px;border-radius:50%;background:#8174dc}.gantt-row{min-height:62px;border-bottom:1px solid #edf0f5}.gantt-row:last-child{border-bottom:0}.gantt-task-label{position:sticky;left:0;z-index:3;display:flex;align-items:center;gap:9px;min-width:0;padding:8px 14px;text-align:left;border-right:1px solid #e7ebf1;background:#fff}.gantt-task-label:hover{background:#fbfaff}.gantt-status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#b9bec7}.gantt-status-dot.working{background:#ef9a44}.gantt-status-dot.done{background:#1fb889}.gantt-status-dot.stuck{background:#dc5964}.gantt-task-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.gantt-task-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3b4860;font-size:12px}.gantt-task-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#98a3b4;font-size:10px}.gantt-dependency-count{margin-left:auto;color:#8175d3;font-size:10px;font-weight:700;white-space:nowrap}.gantt-track{position:relative;width:calc(var(--gantt-days) * 38px);min-height:62px;background:#fff}.gantt-grid-lines{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--gantt-days),38px);pointer-events:none}.gantt-grid-lines i{border-right:1px solid #f0f2f6}.gantt-grid-lines i.weekend{background:#fcfbff}.gantt-bar{position:absolute;top:17px;left:calc(var(--bar-left) * 38px + 3px);width:calc(var(--bar-width) * 38px - 6px);height:29px;display:flex;align-items:center;gap:6px;min-width:28px;padding:0 9px;overflow:hidden;border-radius:7px;background:#b9bec7;color:#fff;text-align:left;box-shadow:none}.gantt-bar.working{background:#ef9a44}.gantt-bar.done{background:#1fb889}.gantt-bar.stuck{background:#dc5964}.gantt-bar.not-started{background:#aeb5c1}.gantt-bar:hover{filter:brightness(.96)}.gantt-bar-progress{position:absolute;inset:0 auto 0 0;background:rgba(0,0,0,.11);pointer-events:none}.gantt-bar strong,.gantt-bar small{position:relative;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.gantt-bar strong{font-weight:700}.gantt-bar small{margin-left:auto;font-size:9px}.gantt-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:54px 20px;color:#9aa5b5;font-size:12px}.gantt-empty strong{color:#68758b;font-size:14px}

@media(max-width:700px){.gantt-view{padding:18px 13px 22px}.gantt-toolbar{align-items:flex-start;flex-direction:column}.gantt-toolbar-actions{align-items:stretch;width:100%;flex-direction:column}.gantt-toolbar-actions select{width:100%}.gantt-toolbar-actions .secondary-btn{width:100%}.gantt-legend{flex-wrap:wrap;gap:9px 13px}.gantt-range{width:100%;margin-left:0}.gantt-header,.gantt-row{grid-template-columns:220px calc(var(--gantt-days) * 38px)}.gantt-label-head{padding-left:10px}.gantt-task-label{padding-left:9px;padding-right:9px}}

/* Preserve the task's hour/minute position inside each day cell. */
.gantt-bar{left:calc(var(--bar-left) * 38px);width:max(6px,calc(var(--bar-width) * 38px));min-width:0}
.gantt-bar.compact{padding:0;border-radius:4px}
.gantt-bar.compact strong,.gantt-bar.compact small{display:none}

/* Spacious project-member workspace with department-based selection. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.project-members-backdrop{padding:24px}
.project-members-modal{display:flex;flex-direction:column;width:min(1240px,calc(100vw - 48px))!important;height:min(780px,calc(100dvh - 48px));max-width:none!important;max-height:none!important;padding:0!important;overflow:hidden;border:1px solid #e2e7ef;border-radius:18px;background:#f7f9fc!important}
.project-members-modal .project-members-head{display:flex;width:100%;min-width:0;flex:0 0 auto;align-items:flex-start;justify-content:space-between;margin:0;padding:25px 28px 21px;border-bottom:1px solid #e4e9f1;background:#fff}
.project-members-head>div:first-child{min-width:0}
.project-members-head h2{margin-top:3px;font-size:24px;letter-spacing:-.02em}
.project-members-head .project-members-intro{margin:7px 0 0;color:#69778d;font-size:14px;line-height:1.5}
.project-members-layout{display:grid;width:100%;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:16px;min-height:0;flex:1;padding:18px;overflow:hidden}
.project-members-panel{display:flex;min-width:0;min-height:0;flex-direction:column;padding:19px;border:1px solid #e3e8f0;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(34,51,82,.035)}
.project-members-section-title{min-height:42px;margin:0 0 13px}
.project-members-section-title>div{display:flex;min-width:0;flex-direction:column;gap:3px}
.project-members-section-title strong{color:#263650;font-size:15px;font-weight:700}
.project-members-section-title small{color:#8895a8;font-size:12px;font-weight:500}
.project-members-section-title>span{align-self:flex-start;padding:5px 9px;border-radius:999px;background:#f0f3f8;color:#66748a;font-size:12px;font-weight:650}
.project-members-current{max-height:none;min-height:0;flex:1;gap:7px;padding:7px;border-color:#e5eaf1;border-radius:10px;background:#f8fafc}
.project-member-row{display:grid;grid-template-columns:34px minmax(118px,1fr) minmax(70px,100px) minmax(108px,128px) 70px;align-items:center;gap:8px;min-height:58px;padding:9px 10px;border:1px solid transparent;border-radius:9px}
.project-member-row:hover{border-color:#e5e0fb;background:#fbfaff}
.project-member-row .user-avatar{width:34px;height:34px;flex-basis:34px;font-size:11px}
.project-member-identity{width:100%;min-width:0}
.project-member-identity strong{display:block;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.project-member-identity small{display:block;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.project-member-department{max-width:112px;padding:4px 7px;overflow:hidden;border-radius:6px;background:#edf5f7;color:#4d7180;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.project-member-role-select{width:100%;min-width:0!important;margin-left:0!important;font-size:12px}
.project-member-role{display:inline-flex;width:100%;min-width:0;min-height:34px;align-items:center;justify-content:center;margin-left:0!important;padding:5px 8px;text-align:center}
.project-member-remove{justify-self:center}
.project-member-protected{width:100%;min-width:0!important;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.project-member-form{margin:0;padding:19px;overflow:hidden;border-top:1px solid #e3e8f0}
.project-member-search{display:flex;align-items:center;gap:9px;min-height:43px;margin-bottom:12px;padding:0 12px;border:1px solid #dce3ec;border-radius:9px;background:#fbfcfe;transition:border-color .15s ease,box-shadow .15s ease}
.project-member-search:focus-within{border-color:#9c91e7;box-shadow:0 0 0 3px #efedff;background:#fff}
.project-member-search svg{width:18px;height:18px;fill:none;stroke:#8390a4;stroke-width:1.8;stroke-linecap:round}
.project-member-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#263650;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4}
.project-member-search input::placeholder{color:#9aa5b5}
.project-member-picker-field{display:flex;min-height:0;flex:1}
.project-member-candidate-list{width:100%;min-height:0;max-height:none!important;flex:1;padding:0!important;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}
.project-member-department-group+.project-member-department-group{border-top:1px solid #e5eaf1}
.project-member-department-head{position:sticky;z-index:1;top:0;display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:8px 11px;background:#f1f4f8;border-bottom:1px solid #e3e8ef}
.project-member-department-head>div{display:flex;align-items:center;gap:8px;min-width:0}
.project-member-department-head strong{overflow:hidden;color:#41506a;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.project-member-department-head span{color:#8b97a9;font-size:11px}
.project-member-department-head button{flex:0 0 auto;padding:3px 5px;color:#6656ce;font-size:11px;font-weight:700}
.project-member-department-head button:hover{text-decoration:underline}
.project-member-department-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:7px}
.project-member-department-grid .project-member-candidate{min-height:50px;padding:7px 8px;border:1px solid transparent;background:#fff}
.project-member-candidate:has(input:checked){border-color:#d8d1fb;background:#f6f3ff}
.project-member-department-grid .project-member-candidate input{width:17px;height:17px;flex-basis:17px}
.project-member-department-grid .project-member-candidate .user-avatar{width:30px;height:30px;flex-basis:30px;font-size:10px}
.project-member-candidate-copy{flex:1 1 auto}
.project-member-candidate-copy strong{font-size:13px}
.project-member-candidate-copy small{font-size:11px}
.project-member-candidate.is-existing{cursor:default;background:#f6f8fb}
.project-member-candidate.is-existing:hover{background:#f6f8fb}
.project-member-candidate.is-existing input{opacity:1;cursor:default}
.project-member-candidate-status{flex:0 0 auto;padding:3px 6px;border-radius:999px;background:#e9f4f1;color:#397364;font-size:10px;font-weight:700;white-space:nowrap}
.project-member-role-row{display:grid;grid-template-columns:minmax(230px,.8fr) 1fr;align-items:end;gap:15px;margin-top:13px;padding-top:13px;border-top:1px solid #e8ecf2}
.project-member-role-row label{margin:0}
.project-member-role-row select{min-height:42px;margin-top:6px;background:#fff;font-size:13px}
.project-member-role-row p{margin:0 0 7px;color:#8995a7;font-size:11px;line-height:1.45}
.project-members-foot{min-height:42px;margin-top:13px}
.project-members-foot span{max-width:66%;font-size:12px}
.project-members-foot .primary-btn{min-width:128px}

@media(max-width:1100px){
  .project-members-modal{width:min(760px,calc(100vw - 32px))!important;height:min(900px,calc(100dvh - 32px));overflow:auto}
  .project-members-layout{grid-template-columns:1fr;flex:none}
  .project-members-current{max-height:300px;flex:none}
  .project-member-candidate-list{max-height:390px;flex:none}
}
@media(max-width:700px){
  .project-members-backdrop{padding:0}
  .project-members-modal{width:100%!important;height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)!important;padding:0!important;border-radius:18px 18px 0 0}
  .project-members-modal .project-members-head{top:0;margin:0;padding:18px 17px 14px}
  .project-members-head h2{font-size:21px}
  .project-members-head .project-members-intro{font-size:12px}
  .project-members-layout{gap:12px;padding:12px}
  .project-members-panel,.project-member-form{padding:14px}
  .project-members-current{max-height:32dvh}
  .project-member-row{grid-template-columns:32px minmax(0,1fr) minmax(104px,120px) 68px;gap:7px}
  .project-member-candidate-list{max-height:40dvh}
  .project-member-department-grid{grid-template-columns:1fr}
  .project-member-role-row{grid-template-columns:1fr}
  .project-member-role-row p{margin-top:-7px}
  .project-members-foot span{max-width:none}
  .project-member-department{display:none}
}
