*{box-sizing:border-box;}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f5f6fb;color:#1f2937;}.app{padding:26px;max-width:1600px;margin:auto;}.top{background:white;border:1px solid #e5e7eb;border-radius:0 !important;padding:22px;display:flex;justify-content:space-between;gap:16px;box-shadow:0 12px 28px rgba(0,0,0,.07);}h1{margin:4px 0;font-size:34px;}.top p{margin:0;color:#6b7280;}.version{display:inline-block;background:#e0f2fe;color:#075985;font-weight:800;border-radius:0 !important;padding:6px 10px;font-size:12px;}.top-actions,.actions,.toolbar,.project-panel{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}.btn{border:0;border-radius:0 !important;padding:10px 14px;font-weight:800;cursor:pointer;}.primary{background:#0073ea;color:white;}.light{background:#eef2f7;color:#334155;}.danger{background:#fee2e2;color:#991b1b;}.project-panel{background:white;border:1px solid #e5e7eb;border-radius:0 !important;padding:14px;margin-top:16px;}.project-select-wrap{display:flex;align-items:center;gap:10px;}.project-select-wrap label{font-weight:900;}.project-panel select,.toolbar input,.toolbar select,input,select,textarea{border:1px solid #d1d5db;border-radius:0 !important;padding:10px;background:white;}.toolbar{margin:18px 0;}.toolbar input{width:480px;max-width:100%;}.board{display:grid;grid-template-columns:repeat(5,minmax(240px,1fr));gap:14px;align-items:start;overflow-x:auto;padding-bottom:12px;}.column{background:white;border:1px solid #e5e7eb;border-radius:0 !important;min-height:420px;box-shadow:0 10px 24px rgba(0,0,0,.06);overflow:hidden;}.column-head{padding:14px;color:white;font-weight:900;display:flex;justify-content:space-between;}.column-body{padding:12px;min-height:360px;}.status-draft .column-head{background:#64748b;}.status-todo .column-head{background:#9ca3af;}.status-in-progress .column-head{background:#0073ea;}.status-review-phase .column-head{background:#fdab3d;}.status-done .column-head{background:#00c875;}.task-card{background:#fff;border:1px solid #e5e7eb;border-left:5px solid #0073ea;border-radius:0 !important;padding:12px;margin-bottom:10px;box-shadow:0 6px 14px rgba(0,0,0,.06);cursor:grab;}.task-card.dragging{opacity:.45;}.task-title{font-weight:900;border:0;background:transparent;width:100%;padding:4px 0;font-size:15px;outline:0;}.meta{font-size:12px;color:#64748b;line-height:1.55;}.inline-edit{display:flex;align-items:center;gap:8px;margin-top:8px;}.inline-edit span{font-size:11px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.03em;}.inline-edit input{flex:1;min-width:0;border:1px solid transparent;background:#f8fafc;border-radius:0 !important;padding:7px 9px;font-weight:800;color:#1f2937;outline:0;}.inline-edit input:hover,.inline-edit input:focus{border-color:#0073ea;background:white;}.card-row{display:flex;gap:8px;margin:10px 0;}.card-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:none !important;border:0;color:white;border-radius:0 !important;padding:8px 10px;font-weight:900;outline:0;max-width:150px;text-align:center;}.priority-select{max-width:100px;}.assignee-select{background:#a25ddc;color:white;max-width:150px;width:100%;}.single-row{margin-top:8px;margin-bottom:8px;}.single-row .card-select{flex:1;}.draft{background:#64748b;}.todo{background:#9ca3af;}.in-progress{background:#0073ea;}.review-phase{background:#fdab3d;}.done{background:#00c875;}.low{background:#94a3b8;}.medium{background:#ffcb00;color:#422006;}.high{background:#fdab3d;}.urgent{background:#e2445c;}.card-actions{display:flex;gap:6px;flex-wrap:wrap;}.small{font-size:12px;padding:7px 9px;}.output{display:inline-block;margin:6px 0;color:#0073ea;font-weight:800;text-decoration:none;}.hidden{display:none !important;}.wide{width:min(850px,100%);}.x{border:0;background:transparent;font-size:32px;cursor:pointer;color:#64748b;}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.field{display:flex;flex-direction:column;gap:6px;font-weight:800;}.field span{font-size:13px;}.field.full{grid-column:1/-1;}textarea{min-height:86px;resize:vertical;}.subbox{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:0 !important;padding:14px;margin-top:14px;}.settings{display:grid;grid-template-columns:260px 1fr;gap:18px;}.inline-form,.field-builder{display:flex;gap:8px;flex-wrap:wrap;}.dept-item,.field-item{border:1px solid #e5e7eb;border-radius:0 !important;padding:10px;margin-top:8px;display:flex;justify-content:space-between;gap:10px;align-items:center;}.dept-item.active{background:#e0f2fe;border-color:#7dd3fc;}.empty{color:#94a3b8;text-align:center;padding:20px;border:1px dashed #cbd5e1;border-radius:0 !important;}@media (max-width:1000px){.board{grid-template-columns:repeat(5,260px);}.top{flex-direction:column;}.settings{grid-template-columns:1fr;}.grid{grid-template-columns:1fr;}.field.full{grid-column:auto;}}.project-hint{color:#64748b;font-size:13px;font-weight:700;}.muted-note{color:#64748b;margin-top:-4px;}.project-card{width:min(760px,100%);}.project-add-row{margin-bottom:14px;}.project-add-row input{flex:1;min-width:220px;}.project-list{display:grid;gap:10px;}.project-item{border:1px solid #e5e7eb;border-radius:0 !important;padding:12px;background:#f8fafc;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;}.project-name{font-weight:900;}.project-stats{font-size:12px;color:#64748b;margin-top:3px;}.project-actions{display:flex;gap:8px;flex-wrap:wrap;}.danger-confirm{background:#7f1d1d;color:#fff;}.project-badge{display:inline-block;background:#e0f2fe;color:#075985;border-radius:0 !important;padding:3px 7px;font-weight:900;font-size:11px;margin-left:6px;}@media (max-width:720px){.project-item{grid-template-columns:1fr;}.project-actions{justify-content:flex-start;}}.panel-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap;}.department-filter-wrap select{min-width:190px;font-weight:800;background:#fff;}.view-switch{display:flex;align-items:center;gap:6px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:0 !important;padding:5px;}.view-toggle{border:0;background:transparent;color:#475569;border-radius:0 !important;padding:8px 11px;font-weight:900;cursor:pointer;display:flex;align-items:center;gap:6px;line-height:1;}.view-toggle:hover{background:#eef2f7;color:#1f2937;}.view-toggle.active{background:#0073ea;color:white;box-shadow:0 6px 14px rgba(0,115,234,.22);}.view-icon{font-size:16px;line-height:1;}.view-text{font-size:13px;}.list-view{background:white;border:1px solid #e5e7eb;border-radius:0 !important;box-shadow:0 10px 24px rgba(0,0,0,.06);overflow:hidden;}.list-scroll{overflow-x:auto;}.task-table{width:100%;min-width:1180px;border-collapse:collapse;}.task-table th,.task-table td{border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb;padding:10px;text-align:left;vertical-align:middle;}.task-table th:last-child,.task-table td:last-child{border-right:0;}.task-table th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.04em;}.task-table tr:hover td{background:#f8fafc;}.table-title{border:1px solid transparent;background:transparent;font-weight:900;width:220px;max-width:100%;padding:7px;border-radius:0 !important;outline:0;}.table-title:hover,.table-title:focus{border-color:#0073ea;background:white;}.table-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:none !important;border:0;color:white;border-radius:0 !important;padding:8px 10px;font-weight:900;outline:0;min-width:120px;text-align:center;}.table-select.assignee-select{background:#a25ddc;}.table-select.priority-select{min-width:90px;}.table-output{color:#0073ea;font-weight:800;text-decoration:none;}.empty-table td{text-align:center;color:#64748b;font-style:italic;padding:24px;}.project-cell{font-weight:800;color:#334155;}.list-view .card-actions{flex-wrap:nowrap;}@media (max-width:900px){.panel-actions{margin-left:0;}.task-table{min-width:1000px;}}@media (max-width:640px){.panel-actions{width:100%;align-items:stretch;}.department-filter-wrap,.department-filter-wrap select,.view-switch{width:100%;}.view-switch{justify-content:space-between;}.view-toggle{flex:1;justify-content:center;}.view-text{display:none;}.view-icon{font-size:18px;}}.calendar-view{background:white;border:1px solid #e5e7eb;border-radius:0 !important;box-shadow:0 10px 24px rgba(0,0,0,.06);overflow:hidden;}.calendar-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;border-bottom:1px solid #e5e7eb;}.calendar-toolbar h2{margin:0 0 0 auto;font-size:24px;}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));overflow-x:auto;}.calendar-day-name{background:#f8fafc;color:#475569;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.04em;padding:10px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;text-align:center;}.calendar-cell{min-height:145px;padding:8px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;background:white;}.calendar-cell.drag-over{background:#e0f2fe;outline:2px dashed #0073ea;outline-offset:-4px;}.calendar-cell.other-month{background:#f8fafc;color:#94a3b8;}.calendar-date{font-weight:900;font-size:13px;margin-bottom:8px;color:#334155;}.calendar-cell.other-month .calendar-date{color:#94a3b8;}.calendar-task{background:#fff;border:1px solid #e5e7eb;border-left:5px solid #0073ea;border-radius:0 !important;padding:7px;margin-bottom:7px;box-shadow:0 4px 10px rgba(0,0,0,.06);cursor:grab;font-size:12px;}.calendar-task.dragging{opacity:.45;}.calendar-task-title{font-weight:900;color:#1f2937;margin-bottom:3px;}.calendar-task-meta{color:#64748b;line-height:1.35;}.calendar-task.todo{border-left-color:#9ca3af;}.calendar-task.in-progress{border-left-color:#0073ea;}.calendar-task.review-phase{border-left-color:#fdab3d;}.calendar-task.done{border-left-color:#00c875;}@media (max-width:1000px){.calendar-grid{grid-template-columns:repeat(7,170px);}.calendar-toolbar h2{margin-left:0;width:100%;}}.details-edit-wrap{display:grid;gap:14px;}.details-info-row{display:flex;gap:10px;flex-wrap:wrap;color:#475569;background:#f8fafc;border:1px solid #e5e7eb;border-radius:0 !important;padding:10px 12px;}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.details-field{display:flex;flex-direction:column;gap:6px;font-weight:800;}.details-field span{font-size:12px;color:#475569;text-transform:uppercase;letter-spacing:.04em;}.details-field input,.details-field select,.details-field textarea{border:1px solid #d1d5db;border-radius:0 !important;padding:10px;background:white;outline:0;}.details-field input:focus,.details-field select:focus,.details-field textarea:focus{border-color:#0073ea;box-shadow:0 0 0 3px rgba(0,115,234,.12);}.details-full{grid-column:1/-1;}.details-title-input{font-size:22px !important;font-weight:900 !important;}.details-select{width:100%;max-width:none;text-align:left;}.details-output{margin-top:0;}.details-field textarea{min-height:90px;resize:vertical;}@media (max-width:720px){.details-grid{grid-template-columns:1fr;}.details-full{grid-column:auto;}}.details-field select,.details-select,.details-select option{text-align:left;}.prereq-badge{display:block;margin:8px 0 6px;padding:7px 9px;border-radius:0 !important;font-size:12px;font-weight:900;line-height:1.35;word-break:break-word;}.prereq-badge.ready{background:#dcfce7;color:#166534;border:1px solid #86efac;}.prereq-badge.blocked{background:#fff7ed;color:#9a3412;border:1px solid #fdba74;}.field-help{display:block;margin-top:4px;color:#64748b;font-size:12px;font-weight:700;line-height:1.35;}.calendar-task .prereq-badge{font-size:10px;padding:5px 6px;margin:5px 0 0;}.task-table .prereq-badge{min-width:150px;margin:0;}.field-hint{font-size:12px;color:#64748b;font-weight:700;margin-top:-2px;line-height:1.35;}.prereq-outputs{margin:7px 0 8px;padding:8px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:0 !important;}.prereq-outputs-title{font-size:11px;font-weight:900;color:#1e3a8a;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;}.prereq-output-links{display:flex;gap:6px;flex-wrap:wrap;}.prereq-output-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#0073ea;color:#fff;border-radius:0 !important;padding:6px 9px;font-size:12px;font-weight:900;line-height:1;}.prereq-output-link:hover{filter:brightness(.95);}.task-table .prereq-outputs{min-width:170px;margin:6px 0 0;padding:7px;}.task-table .prereq-outputs.table{margin-top:8px;}.calendar-task .prereq-outputs{padding:6px;margin:5px 0 0;}.calendar-task .prereq-outputs-title{font-size:9px;margin-bottom:4px;}.calendar-task .prereq-output-link{font-size:10px;padding:5px 6px;}.prerequisite-level-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:0 !important;padding:12px;}.prereq-level-controls{display:grid;gap:10px;margin-top:6px;}.prereq-level-grid{display:grid;grid-template-columns:1fr;gap:10px;}.prereq-level-grid.compact{margin-top:0;}.prereq-level-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:end;background:white;border:1px solid #e5e7eb;border-radius:0 !important;padding:10px;transition:border-color .15s ease,box-shadow .15s ease,opacity .15s ease;}.prereq-level-row.dragging{opacity:.45;}.prereq-level-row.drag-over{border-color:#0073ea;box-shadow:0 0 0 3px rgba(0,115,234,.12);}.prereq-drag-handle{height:38px;width:34px;border:0;border-radius:0 !important;background:#eef2f7;color:#64748b;font-weight:900;cursor:grab;line-height:1;align-self:end;}.prereq-drag-handle:active{cursor:grabbing;}.prereq-level-field{display:flex;flex-direction:column;gap:6px;font-weight:800;min-width:0;}.prereq-level-field span{font-size:12px;color:#475569;text-transform:uppercase;letter-spacing:.04em;}.prereq-level-select{width:100%;min-width:0;border:1px solid #d1d5db;border-radius:0 !important;padding:10px;background:white;font-weight:800;color:#1f2937;}.prereq-level-select:focus{border-color:#0073ea;box-shadow:0 0 0 3px rgba(0,115,234,.12);outline:0;}.prereq-add-btn{justify-self:start;}.prereq-remove-btn{height:38px;}.prereq-empty{border:1px dashed #cbd5e1;border-radius:0 !important;padding:12px;color:#64748b;background:#fff;text-align:center;font-weight:800;}@media (max-width:760px){.prereq-level-row{grid-template-columns:auto 1fr;}.prereq-remove-btn{grid-column:2;justify-self:start;}.prereq-drag-handle{grid-row:1;}}#detailsContent{max-height:calc(90vh - 78px);overflow:auto;padding:22px;background:#f8fafc;}.details-focus-wrap{display:grid;gap:16px;}.details-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;background:white;border:1px solid #e5e7eb;border-radius:0 !important;padding:18px;box-shadow:0 10px 24px rgba(0,0,0,.06);}.details-hero-main{min-width:0;}.details-kicker{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:7px;}.details-hero h2{margin:0;font-size:28px;line-height:1.15;word-break:break-word;color:#111827;}.details-pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}.details-pill{display:inline-flex;align-items:center;border-radius:0 !important;padding:7px 10px;color:white;font-size:12px;font-weight:900;line-height:1;}.details-pill.neutral{background:#e2e8f0;color:#334155;}.details-pill.priority{color:white;}.details-pill.priority.medium{color:#422006;}.details-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}.detail-card,.detail-section,.readonly-detail-card{background:white;border:1px solid #e5e7eb;border-radius:0 !important;padding:14px;box-shadow:0 6px 16px rgba(0,0,0,.045);}.detail-card strong{display:block;margin-top:5px;font-size:15px;line-height:1.35;word-break:break-word;}.detail-label{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}.detail-section{display:grid;gap:10px;}.detail-section h3{margin:0;font-size:16px;}.detail-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;}.detail-note{font-size:12px;color:#64748b;font-weight:800;}.output-edit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;}.details-output-input{width:100%;border:1px solid #d1d5db;border-radius:0 !important;padding:11px;background:white;font-weight:800;outline:0;}.details-output-input:focus{border-color:#0073ea;box-shadow:0 0 0 3px rgba(0,115,234,.12);}.readonly-box{background:#fff;border:1px solid #e5e7eb;border-radius:0 !important;padding:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word;}.readonly-box.muted,.muted-inline{color:#94a3b8;font-weight:800;}.readonly-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.readonly-detail-card.details-full{grid-column:1/-1;}.readonly-value{margin-top:6px;font-weight:900;line-height:1.45;word-break:break-word;white-space:pre-wrap;}.readonly-link{color:#0073ea;text-decoration:none;font-weight:900;word-break:break-all;}@media (max-width:860px){.details-hero{flex-direction:column;}.details-focus-grid{grid-template-columns:1fr 1fr;}.output-edit-row{grid-template-columns:1fr;}.readonly-detail-grid{grid-template-columns:1fr;}.readonly-detail-card.details-full{grid-column:auto;}}@media (max-width:560px){#detailsContent{padding:14px;}.details-focus-grid{grid-template-columns:1fr;}.details-hero h2{font-size:23px;}}.done-group-card{cursor:default;border-left-color:#00c875;background:linear-gradient(180deg,#ffffff,#f8fffb);display:grid;gap:10px;}.done-group-title{border:0;background:transparent;padding:0;text-align:left;font-size:15px;font-weight:900;color:#1f2937;cursor:pointer;line-height:1.35;}.done-group-title:hover{color:#0073ea;text-decoration:underline;}.done-group-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}.done-group-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;background:#eff6ff;color:#075985;border-radius:0 !important;padding:7px 10px;font-size:12px;font-weight:900;text-decoration:none;word-break:break-word;}.done-group-link:hover{background:#dbeafe;}.done-group-empty{color:#94a3b8;font-weight:800;font-size:12px;border:1px dashed #cbd5e1;border-radius:0 !important;padding:10px;text-align:center;}.done-group-row td{background:#f8fffb !important;}.done-group-list-card{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid #dcfce7;border-radius:0 !important;padding:10px 12px;background:#fff;}.done-group-calendar{cursor:pointer;border-left-color:#00c875;background:#f8fffb;}.done-group-calendar .done-group-links{margin-top:6px;}.done-group-calendar .done-group-link{font-size:11px;padding:5px 7px;}.done-group-link{flex-direction:column;align-items:flex-start;gap:2px;line-height:1.15;}.done-group-link span{display:block;font-weight:900;}.done-group-link small{display:block;font-size:10px;font-weight:800;color:#64748b;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.done-group-link:hover small{color:#075985;}.done-group-links.calendar .done-group-link small{font-size:9px;max-width:110px;}.combined-output-list{display:grid;gap:10px;}.combined-output-item{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:0 !important;background:#fff;padding:12px;}.combined-output-item.main{border-color:#bbf7d0;background:#f8fffb;}.combined-output-main{display:grid;gap:4px;min-width:0;}.combined-output-main strong{color:#111827;word-break:break-word;}.combined-output-main small{color:#64748b;font-weight:800;word-break:break-word;}.combined-output-level{width:max-content;border-radius:0 !important;background:#e0f2fe;color:#075985;padding:4px 8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}.combined-output-item.main .combined-output-level{background:#dcfce7;color:#166534;}.combined-output-missing{color:#94a3b8;font-size:12px;font-weight:900;border:1px dashed #cbd5e1;border-radius:0 !important;padding:7px 10px;white-space:nowrap;}@media (max-width:640px){.combined-output-item{grid-template-columns:1fr;}.combined-output-missing{width:max-content;}.done-group-link small{max-width:150px;}}.combined-output-edit{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px;align-items:center;min-width:min(360px,42vw);}.details-output-input.compact{min-width:0;width:100%;}@media (max-width:640px){.combined-output-edit{grid-template-columns:1fr;min-width:0;width:100%;}.combined-output-edit .combined-output-missing{width:max-content;}}.table-title-button{display:block;text-align:left;cursor:pointer;}.table-title-button:hover{color:#0073ea;text-decoration:underline;}.table-pill{display:inline-flex;align-items:center;justify-content:center;color:white;border-radius:0 !important;padding:8px 10px;font-weight:900;font-size:12px;min-width:88px;text-align:center;}.priority-pill.medium{color:#422006;}.task-table .done-group-links{margin:0;min-width:220px;}.task-table .done-group-empty{display:inline-block;min-width:170px;padding:8px 10px;}.task-table .done-group-link{padding:6px 9px;}.done-group-row td{vertical-align:middle;}:root{--chip-height:38px;--chip-radius:999px;--chip-font-size:12px;--chip-font-weight:900;--chip-padding-x:16px;--chip-status-width:150px;--chip-priority-width:130px;}.task-table:is(.table-select:not(.assignee-select),.table-pill){appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:none !important;border:0;border-radius:0 !important;height:var(--chip-height);min-height:var(--chip-height);padding:0 var(--chip-padding-x);font-size:var(--chip-font-size);font-weight:var(--chip-font-weight);line-height:1;text-align:center;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;white-space:nowrap;}.task-table td:nth-child(6):is(.table-select,.table-pill){width:var(--chip-status-width);min-width:var(--chip-status-width);}.task-table td:nth-child(7):is(.table-select,.table-pill){width:var(--chip-priority-width);min-width:var(--chip-priority-width);}.task-table .table-select.priority-select,.task-table .table-pill.priority-pill{max-width:none;color:white;}.task-table:is(.table-select.priority-select.medium,.table-pill.priority-pill.medium){color:#422006;}.calendar-cell{cursor:pointer;}.calendar-cell:hover{background:#f8fbff;}.calendar-cell.other-month:hover{background:#eef2f7;}.calendar-task{cursor:grab;}.calendar-task *{cursor:inherit;}.calendar-cell.drag-over{cursor:grabbing;}#outputFieldControl{display:block;width:100%;}.output-caption-input{width:100%;min-height:150px;border:1px solid #d1d5db;border-radius:0 !important;padding:10px;background:white;resize:vertical;font-weight:700;line-height:1.45;}.caption-output-preview{display:inline-block;border:1px solid #bfdbfe;background:#eff6ff;color:#075985;border-radius:0 !important;padding:8px 10px;font-size:12px;font-weight:900;line-height:1.35;white-space:pre-wrap;max-width:260px;}.caption-output-preview.table{max-width:220px;max-height:68px;overflow:hidden;}.caption-output-readonly{border:1px solid #bfdbfe;background:#eff6ff;color:#0f172a;border-radius:0 !important;padding:10px;font-size:13px;font-weight:800;line-height:1.45;white-space:pre-wrap;max-width:min(520px,52vw);}.caption-editor{grid-template-columns:minmax(220px,1fr);}.caption-output-input{min-height:110px;line-height:1.45;resize:vertical;font-weight:800;white-space:pre-wrap;}.caption-output-state{color:#166534;background:#dcfce7;border:1px solid #bbf7d0;border-radius:0 !important;padding:7px 10px;font-size:12px;font-weight:900;width:max-content;}.done-group-link.caption-chip{border:1px solid #bfdbfe;background:#eff6ff;color:#075985;cursor:pointer;text-align:left;font-family:inherit;}.prereq-output-link.caption-link{border:1px solid #bfdbfe;background:#eff6ff;color:#075985;cursor:pointer;font-family:inherit;}@media (max-width:640px){.caption-output-readonly{max-width:100%;}.caption-output-preview.table{max-width:180px;}}.caption-popup-btn{border:1px solid #bfdbfe;background:#eff6ff;color:#075985;border-radius:0 !important;padding:8px 11px;font-size:12px;font-weight:900;line-height:1;cursor:pointer;font-family:inherit;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px;}.caption-popup-btn:hover{background:#dbeafe;border-color:#93c5fd;}.caption-popup-btn.table{min-width:112px;}.caption-popup-btn.calendar{padding:6px 8px;font-size:11px;max-width:100%;}.caption-popup-btn.readonly{border-radius:0 !important;padding:10px 12px;}.done-group-link.caption-chip small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px;}.caption-modal-card{width:min(860px,96vw);padding:0;max-height:90vh;overflow:auto;}.caption-meta{margin:6px 0 0;color:#64748b;font-weight:800;font-size:13px;}.caption-popup-text{margin:0 18px;padding:14px 0 16px;border:0;border-bottom:1px solid #eef2f7;background:transparent;border-radius:0 !important;color:#111827;font-size:15px;line-height:1.65;white-space:pre-wrap;max-height:none;overflow:visible;box-shadow:none;}.caption-preview{margin:0;padding:16px 18px 0;display:grid;gap:12px;position:relative;z-index:1;}.caption-popup-actions{justify-content:flex-end;margin-top:0;padding:12px 18px 18px;position:relative;z-index:2;background:white;}.caption-comments-section{padding:16px 18px 0;display:grid;gap:12px;position:relative;z-index:2;background:white;}.caption-comments-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap;}.caption-comments-head h3{margin:0;font-size:16px;color:#111827;}.caption-comments-head span{font-size:12px;color:#64748b;font-weight:800;}.caption-comments-list{display:grid;gap:10px;}.caption-comments-empty{border:1px dashed #cbd5e1;border-radius:0 !important;padding:14px;color:#64748b;background:#f8fafc;font-weight:800;}.caption-comment-item{border:1px solid #e5e7eb;border-radius:0 !important;background:#fff;padding:12px 14px;display:grid;gap:8px;}.caption-comment-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}.caption-comment-top strong{font-size:14px;color:#111827;}.caption-comment-top span{font-size:12px;color:#64748b;font-weight:800;}.caption-comment-body{font-size:14px;line-height:1.6;color:#1f2937;white-space:normal;word-break:break-word;}.caption-comment-form{display:grid;gap:8px;}.caption-comment-form textarea{min-height:92px;border:1px solid #d1d5db;border-radius:0 !important;padding:12px 14px;resize:vertical;background:#fff;outline:0;}.caption-comment-form textarea:focus{border-color:#1877f2;box-shadow:0 0 0 3px rgba(24,119,242,.12);}.caption-comment-actions{display:flex;justify-content:flex-end;}@media (max-width:640px){.caption-popup-btn.table{min-width:auto;}.done-group-link.caption-chip small{max-width:130px;}}.caption-graphics-preview{display:grid;gap:12px;}.caption-preview-item{border:1px solid #e5e7eb;background:#fff;border-radius:0 !important;padding:12px;display:grid;gap:10px;}.caption-drive-frame{width:100%;height:420px;border:1px solid #e5e7eb;border-radius:0 !important;background:white;}.caption-drive-image{display:block;width:100%;max-height:420px;object-fit:contain;border:1px solid #e5e7eb;border-radius:0 !important;background:white;}.caption-preview-empty{border:1px dashed #cbd5e1;border-radius:0 !important;padding:18px;color:#64748b;font-weight:800;text-align:center;line-height:1.5;background:#f8fafc;}.caption-preview-item.needs-jpg-folder{border-color:#fed7aa;background:#fff7ed;}.caption-preview-item.needs-jpg-folder .caption-preview-empty{border-color:#fdba74;color:#9a3412;background:#fffaf5;}.caption-preview-item.is-direct-jpg{border-color:#e5e7eb;background:#fff;}.caption-drive-carousel{display:grid;gap:12px;}.drive-carousel-loading,.drive-carousel-note{border:1px dashed #cbd5e1;border-radius:0 !important;padding:12px;color:#64748b;background:#f8fafc;font-weight:800;text-align:center;line-height:1.45;}.drive-carousel-warning{border-color:#fdba74;color:#9a3412;background:#fff7ed;}.drive-social-carousel{display:grid;gap:12px;}.drive-social-stage{position:relative;border-radius:0 !important;overflow:hidden;background:#111827;min-height:220px;display:grid;place-items:center;cursor:pointer;}.drive-social-stage-image{display:block;width:100%;max-height:46vh;min-height:220px;object-fit:contain;background:#111827;}.drive-social-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:0 !important;background:rgba(15,23,42,.66);color:#fff;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:2;}.drive-social-nav.prev{left:12px;}.drive-social-nav.next{right:12px;}.drive-social-nav:hover{background:rgba(15,23,42,.82);}.drive-social-stage-overlay{position:absolute;left:12px;right:12px;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none;}.drive-social-count,.drive-social-hint{background:rgba(15,23,42,.66);color:#fff;border-radius:0 !important;padding:7px 10px;font-size:12px;font-weight:900;}.drive-social-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}.drive-social-filemeta{display:grid;gap:2px;}.drive-social-filemeta strong{font-size:14px;color:#111827;line-height:1.35;}.drive-social-filemeta span{font-size:12px;color:#64748b;font-weight:800;}.drive-social-actionbuttons{display:flex;gap:8px;flex-wrap:wrap;}.drive-social-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;}.drive-social-thumb{flex:0 0 auto;width:72px;height:72px;border:2px solid transparent;border-radius:0 !important;padding:0;overflow:hidden;background:#e5e7eb;cursor:pointer;}.drive-social-thumb img{display:block;width:100%;height:100%;object-fit:cover;}.drive-social-thumb.active{border-color:#1877f2;box-shadow:0 0 0 2px rgba(24,119,242,.12);}@media (max-width:640px){.caption-modal-card{width:min(100%,100vw);}.caption-popup-text{margin:0 14px;padding:12px 0 14px;font-size:14px;}.caption-preview{padding:14px 14px 0;}.caption-comments-section{padding:14px 14px 0;}.caption-popup-actions{padding:10px 14px 14px;}.caption-drive-frame{height:300px;}.drive-social-stage{min-height:200px;}.drive-social-stage-image{min-height:200px;max-height:38vh;}.drive-social-nav{width:34px;height:34px;font-size:22px;}.drive-social-thumbs{gap:6px;}.drive-social-thumb{width:60px;height:60px;}}.task-card.compact-card{padding:10px 10px 12px;border-left-width:4px;border-radius:0 !important;display:grid;gap:8px;}.task-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;}.task-title-link{border:0;background:transparent;padding:0;margin:0;font-size:14px;line-height:1.25;font-weight:900;color:#111827;text-align:left;cursor:pointer;}.task-title-link:hover{color:#0073ea;}.department-chip{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;max-width:46%;padding:5px 10px;border-radius:0 !important;background:#eef2ff;color:#1e3a8a;font-size:11px;font-weight:900;line-height:1.1;text-align:center;}.compact-meta{font-size:11px;line-height:1.45;margin-top:-2px;}.project-badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:0 !important;background:#f1f5f9;color:#334155;font-size:10px;font-weight:900;vertical-align:middle;}.prereq-timeline{display:grid;gap:6px;padding:8px 10px;border:1px solid #dbeafe;background:#f8fbff;border-radius:0 !important;}.prereq-step{position:relative;display:grid;grid-template-columns:12px 1fr;column-gap:8px;align-items:flex-start;}.prereq-step-dot{width:12px;height:12px;border-radius:0 !important;margin-top:2px;border:2px solid #93c5fd;background:#fff;position:relative;z-index:1;}.prereq-step.ready .prereq-step-dot{background:#22c55e;border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.14);}.prereq-step.waiting .prereq-step-dot{background:#fff7ed;border-color:#fb923c;box-shadow:0 0 0 3px rgba(251,146,60,.12);}.prereq-step-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;}.prereq-step-main strong{font-size:12px;line-height:1.35;color:#1f2937;}.prereq-step-main small{font-size:11px;font-weight:900;color:#64748b;white-space:nowrap;}.prereq-step.ready .prereq-step-main small{color:#166534;}.prereq-step.waiting .prereq-step-main small{color:#c2410c;}.prereq-step-line{position:absolute;left:5px;top:18px;bottom:-8px;width:2px;background:#cbd5e1;border-radius:0 !important;}.prereq-step:last-child .prereq-step-line{display:none;}.task-output-compact{display:flex;align-items:center;justify-content:flex-start;gap:8px;}.task-output-compact .caption-popup-btn,.task-output-compact .output{margin:0;}.card-output-button{padding:9px 12px;font-size:12px;font-weight:900;border-radius:0 !important;}.output.card,.output.compact{display:inline-flex;align-items:center;justify-content:center;border-radius:0 !important;padding:9px 12px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;text-decoration:none;font-size:12px;line-height:1;font-weight:900;}.compact-row{margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;}.compact-row .assignee-select{max-width:none;min-width:0;}.compact-row .priority-select{min-width:96px;max-width:120px;}.card-actions.compact-actions{margin-top:2px;display:flex;gap:6px;flex-wrap:wrap;}.card-actions.compact-actions .btn{border-radius:0 !important;padding:7px 10px;}.card-static{display:inline-flex;align-items:center;justify-content:center;border-radius:0 !important;padding:8px 12px;font-size:12px;font-weight:900;line-height:1;text-align:center;}.card-static.done{background:#00c875;color:#fff;}.card-static.priority{background:#ffcb00;color:#422006;}.card-static.priority.low{background:#94a3b8;color:#fff;}.card-static.priority.medium{background:#ffcb00;color:#422006;}.card-static.priority.high{background:#fdab3d;color:#fff;}.card-static.priority.urgent{background:#e2445c;color:#fff;}.done-group-card .task-output-compact{margin-top:2px;}.done-group-card .done-group-title{font-size:14px;}.calendar-task .prereq-timeline{margin-top:5px;padding:6px 7px;gap:4px;}.calendar-task .prereq-step{grid-template-columns:10px 1fr;column-gap:6px;}.calendar-task .prereq-step-dot{width:10px;height:10px;margin-top:2px;}.calendar-task .prereq-step-line{left:4px;top:14px;bottom:-6px;}.calendar-task .prereq-step-main strong{font-size:10px;}.calendar-task .prereq-step-main small{font-size:9px;}.calendar-task .task-output-compact .caption-popup-btn{padding:6px 8px;font-size:10px;}@media (max-width:1000px){.task-card-top{align-items:flex-start;}.department-chip{max-width:52%;}}.prereq-step.progress .prereq-step-dot{background:#3b82f6;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.14);}.prereq-step.progress .prereq-step-main small{color:#1d4ed8;}.prereq-step.review .prereq-step-dot{background:#f59e0b;border-color:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.14);}.prereq-step.review .prereq-step-main small{color:#b45309;}.prereq-step.current .prereq-step-main strong{color:#0f172a;}.status-todo .column-head{background:#9ca3af;}.status-in-progress .column-head{background:#0073ea;}.status-review-phase .column-head{background:#fdab3d;}.todo{background:#9ca3af;}.in-progress{background:#0073ea;}.review-phase{background:#fdab3d;}.calendar-task.todo{border-left-color:#9ca3af;}.calendar-task.in-progress{border-left-color:#0073ea;}.calendar-task.review-phase{border-left-color:#fdab3d;}.prereq-step.final-level .prereq-step-main strong{color:#0f172a;}.caption-submit-stack{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.caption-editor{grid-template-columns:minmax(220px,1fr) auto;}@media (max-width:640px){.caption-submit-stack{justify-content:flex-start;}.caption-editor{grid-template-columns:1fr;}}.combined-output-edit.caption-editor{display:grid;grid-template-columns:1fr !important;gap:10px;align-items:start;}.caption-editor .caption-output-input{width:100%;min-height:130px;}.caption-submit-stack{display:grid !important;grid-template-columns:1fr;gap:10px;align-items:start;justify-items:start;}.caption-submit-stack .btn{width:max-content;}.caption-output-state,.caption-submit-stack .combined-output-missing{width:max-content;max-width:100%;}@media (max-width:640px){.caption-submit-stack .btn,.caption-output-state,.caption-submit-stack .combined-output-missing{width:100%;text-align:center;justify-content:center;}}.combined-output-edit.caption-editor{display:grid;grid-template-columns:1fr !important;gap:10px;align-items:start;}.caption-editor .caption-output-input{width:100%;min-height:130px;}.caption-submit-stack{display:grid !important;grid-template-columns:max-content max-content;gap:10px;align-items:center;justify-items:start;}.caption-submit-stack .btn{width:max-content;}@media (max-width:640px){.caption-submit-stack{grid-template-columns:1fr 1fr;width:100%;}.caption-submit-stack .btn,.caption-output-state,.caption-submit-stack .combined-output-missing{width:100%;text-align:center;justify-content:center;}}.combined-output-item,.combined-output-item.main{grid-template-columns:1fr !important;align-items:stretch !important;gap:12px !important;}.combined-output-edit{grid-template-columns:1fr !important;min-width:0 !important;width:100% !important;align-items:start !important;}.combined-output-edit .btn,.combined-output-edit .combined-output-missing,.caption-submit-stack{justify-self:start;}.caption-submit-stack{grid-template-columns:max-content max-content !important;}.caption-editor .caption-output-input,.details-output-input.compact{width:100% !important;}@media (max-width:640px){.caption-submit-stack{grid-template-columns:1fr 1fr !important;width:100%;}}.calendar-task.deadline-locked{cursor:pointer;opacity:.86;}.calendar-task.deadline-locked::after{content:"Owner only";display:inline-block;margin-top:5px;font-size:9px;font-weight:900;color:#64748b;background:#f1f5f9;border-radius:0 !important;padding:3px 6px;}.assignee-select:disabled,#assignee:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.25);}.calendar-task,.calendar-task.todo,.calendar-task.in-progress,.calendar-task.review-phase,.calendar-task.done,.calendar-task.draft,.done-group-calendar{background:#fff !important;}.done-group-calendar{border-left-width:5px;}.calendar-task.draft{background:#f8fafc !important;border-left-color:#64748b !important;}.calendar-task.todo{background:#f9fafb !important;border-left-color:#9ca3af !important;}.calendar-task.in-progress{background:#eff6ff !important;border-left-color:#0073ea !important;}.calendar-task.review-phase{background:#fff7ed !important;border-left-color:#fdab3d !important;}.calendar-task.done,.done-group-calendar{background:#f0fdf4 !important;border-left-color:#00c875 !important;}.calendar-task{border-top-color:#e5e7eb !important;border-right-color:#e5e7eb !important;border-bottom-color:#e5e7eb !important;}.priority-select,.priority-pill,.details-pill.priority,.card-static.priority,#priority{display:none !important;}.task-table th.priority-column,.task-table td.priority-column{display:none !important;}.caption-preview-source{font-weight:900;font-size:12px;color:#334155;margin:0 0 8px;}.drive-social-stage-media{width:100%;height:100%;display:flex;align-items:center;justify-content:center;}.drive-social-stage-video,.caption-drive-video{width:100%;height:100%;min-height:360px;border:0;background:#0f172a;border-radius:0 !important;}.drive-social-thumb{position:relative;}.drive-thumb-badge{position:absolute;right:5px;bottom:5px;padding:2px 5px;border-radius:0 !important;background:#111827;color:#fff;font-size:9px;font-weight:900;}.animation-output-preview{border-color:#bfdbfe;}@media (max-width:720px){.drive-social-stage-video,.caption-drive-video{min-height:240px;}}.unified-preview-section{margin-top:12px;}.caption-preview-source-group{font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#475569;margin:0 0 10px;}.unified-output-carousel .drive-social-filemeta{display:flex;flex-direction:column;gap:2px;}.unified-output-carousel [data-stage-source]{font-size:12px;font-weight:900;color:#334155;}.unified-output-carousel [data-stage-name]{font-size:16px;font-weight:800;color:#0f172a;}.unified-output-carousel [data-stage-meta]{font-size:12px;color:#64748b;}.drive-social-actionbuttons{flex-wrap:wrap;}.output-source-link{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.task-table{table-layout:fixed;width:100%;}.task-table th,.task-table td{vertical-align:middle;}.task-table th:nth-child(1),.task-table td:nth-child(1){width:17%;}.task-table th:nth-child(2),.task-table td:nth-child(2){width:9%;}.task-table th:nth-child(3),.task-table td:nth-child(3){width:10%;}.task-table th:nth-child(4),.task-table td:nth-child(4){width:11%;}.task-table th:nth-child(5),.task-table td:nth-child(5){width:7%;}.task-table th:nth-child(6),.task-table td:nth-child(6){width:13%;}.task-table th:nth-child(7),.task-table td:nth-child(7){width:7%;}.task-table th:nth-child(8),.task-table td:nth-child(8){width:17%;}.task-table th:nth-child(9),.task-table td:nth-child(9){width:9%;}.output-cell{white-space:normal;}.output-cell .caption-popup-btn,.output-cell .done-group-link{display:inline-flex;margin:2px 4px 2px 0;max-width:130px;}.output-cell .done-group-links{display:flex;flex-wrap:wrap;gap:4px;}.output-cell .ready-output-box,.output-cell .prereq-output-box{display:none !important;}.task-table .card-actions{display:flex;flex-wrap:wrap;gap:5px;}#taskSubbox.hidden{display:none !important;}.top{display:block !important;}.top-main{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;}.top-actions-stack{display:flex;flex-direction:column;gap:12px;align-items:flex-end;flex:1;max-width:760px;}.top-actions{justify-content:flex-end;}.top-control-panel{margin-top:0 !important;padding:10px !important;border-radius:0 !important;background:#fff !important;width:100%;justify-content:space-between;}.top-control-panel .project-select-wrap{flex:0 0 auto;}.top-control-panel .panel-actions{margin-left:auto;}.top-control-panel select{min-height:42px;}@media (max-width:980px){.top-main{flex-direction:column;}.top-actions-stack{align-items:stretch;max-width:none;width:100%;}.top-actions,.top-control-panel{justify-content:flex-start;}.top-control-panel .panel-actions{margin-left:0;}}.top{display:block !important;padding:22px !important;}.top-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;}.top-title{min-width:260px;}.top-actions{display:flex !important;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;}.top-controls-row{margin-top:18px;padding-top:14px;border-top:1px solid #eef2f7;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;}.top-controls-row .project-select-wrap{display:flex;align-items:center;gap:10px;}.top-controls-row .project-select-wrap label{font-weight:900;}.top-controls-row .panel-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}.top-controls-row select{min-height:42px;}.top-actions-stack,.top-main,.top-control-panel{all:unset;}@media (max-width:900px){.top-row,.top-controls-row{flex-direction:column;align-items:stretch;}.top-actions,.top-controls-row .panel-actions{justify-content:flex-start;margin-left:0;}}.list-view{overflow:visible;}.list-scroll{overflow-x:visible;}#taskDataTable.task-table{width:100% !important;min-width:0 !important;}.dt-container{padding:12px;}.dt-container .dt-length,.dt-container .dt-info,.dt-container .dt-paging{font-size:13px;}.dt-container .dt-length select{border:1px solid #d1d5db;border-radius:0 !important;padding:6px 26px 6px 8px;}table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before{top:50%;transform:translateY(-50%);}table.dataTable>tbody>tr.child ul.dtr-details{width:100%;}table.dataTable>tbody>tr.child span.dtr-title{min-width:120px;font-weight:900;}#taskDataTable .card-actions{min-width:190px;}#taskDataTable .table-title{min-width:160px;max-width:100%;}#taskDataTable .table-select{min-width:130px;}#taskDataTable.task-table,#taskDataTable.dataTable{table-layout:auto !important;width:100% !important;min-width:0 !important;}#taskDataTable th,#taskDataTable td{box-sizing:border-box !important;white-space:normal !important;overflow:hidden !important;text-overflow:ellipsis !important;vertical-align:middle !important;}#taskDataTable th:nth-child(n),#taskDataTable td:nth-child(n){width:auto !important;}#taskDataTable .table-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:1.2;}#taskDataTable .project-cell .table-text{font-weight:900;color:#334155;}#taskDataTable .table-title{width:100% !important;min-width:120px !important;max-width:220px !important;white-space:normal !important;}#taskDataTable .table-select{width:100% !important;min-width:112px !important;max-width:180px !important;}#taskDataTable .assignee-select{max-width:160px !important;}#taskDataTable .output-cell .caption-popup-btn,#taskDataTable .output-cell .done-group-link{max-width:120px !important;white-space:nowrap !important;}#taskDataTable .card-actions{display:flex !important;flex-wrap:nowrap !important;gap:6px !important;min-width:170px !important;}.dt-container{overflow:hidden !important;}.dt-container .dt-layout-row{overflow:visible !important;}.dt-container .dt-layout-table{overflow:visible !important;}table.dataTable>tbody>tr.child ul.dtr-details{display:grid !important;gap:8px !important;}table.dataTable>tbody>tr.child ul.dtr-details>li{display:grid !important;grid-template-columns:130px minmax(0,1fr);gap:10px;align-items:center;border-bottom:1px solid #eef2f7;padding:8px 0;}table.dataTable>tbody>tr.child span.dtr-title{min-width:0 !important;}table.dataTable>tbody>tr.child span.dtr-data{min-width:0 !important;}@media (max-width:900px){#taskDataTable .card-actions{flex-wrap:wrap !important;min-width:0 !important;}#taskDataTable .table-title,#taskDataTable .table-select{max-width:100% !important;}}.btn i,.view-icon i{pointer-events:none;}.btn i{margin-right:6px;}.x i{margin-right:0;}.view-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;}.view-toggle .view-icon i{font-size:14px;}.calendar-toolbar .btn i{margin-right:6px;}.calendar-toolbar .btn i.fa-chevron-right{margin-right:0;margin-left:6px;}.field-item-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}.field-item{gap:10px;}.field-item>span{min-width:0;overflow:hidden;text-overflow:ellipsis;}.project-access-wrap{display:flex;align-items:center;gap:10px;min-width:280px;}.project-access-wrap label{font-weight:900;white-space:nowrap;}.project-access-wrap select{min-width:260px;min-height:42px;max-height:80px;}.project-access-wrap select[multiple]{padding:7px 10px;}@media (max-width:900px){.project-access-wrap{flex-direction:column;align-items:flex-start;min-width:0;width:100%;}.project-access-wrap select{width:100%;}}.auth-box{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.auth-user-chip{display:inline-flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:0 !important;padding:5px 10px 5px 5px;font-weight:900;color:#334155;max-width:230px;}.auth-avatar{width:26px;height:26px;border-radius:0 !important;display:inline-flex;align-items:center;justify-content:center;background:#0073ea;color:#fff;font-size:12px;font-weight:900;background-size:cover;background-position:center;flex:0 0 auto;}.auth-avatar.has-photo{color:transparent;}.auth-user-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}@media (max-width:900px){.auth-box{width:100%;}}.project-access-wrap.readonly-access,#projectAccessUsers.readonly-access{opacity:.72;}.readonly-note{display:inline-flex;align-items:center;border-radius:0 !important;padding:7px 10px;background:#eef2ff;color:#1e3a8a;font-size:12px;font-weight:900;}.project-stats{max-width:680px;line-height:1.35;}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 20%,rgba(0,115,234,.16),transparent 30%),radial-gradient(circle at 80% 10%,rgba(0,200,117,.14),transparent 28%),#f4f7fb;}.login-shell{width:min(460px,calc(100vw - 32px));}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:0 !important;padding:32px;box-shadow:0 22px 60px rgba(15,23,42,.12);}.login-card h1{margin:14px 0 8px;font-size:36px;}.login-card p{margin:0 0 24px;color:#64748b;line-height:1.5;}.login-google-btn{width:100%;justify-content:center;min-height:48px;font-size:15px;}.login-status{margin-top:14px;color:#64748b;font-size:13px;line-height:1.4;}.project-access-wrap{align-items:flex-start;}.project-invite-row{display:flex;align-items:center;gap:6px;}.project-invite-row input{min-width:220px;min-height:36px;padding:8px 10px;}.project-invite-row .btn{min-height:36px;padding:8px 10px;white-space:nowrap;}@media (max-width:900px){.project-invite-row{width:100%;}.project-invite-row input{flex:1;min-width:0;}}.project-access-wrap{align-items:flex-start;}.project-access-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:36px;max-width:420px;}.access-chip{display:inline-flex;align-items:center;gap:6px;background:#eef6ff;border:1px solid #bfdbfe;color:#0f3b73;border-radius:0 !important;padding:6px 8px 6px 10px;font-size:12px;font-weight:900;max-width:240px;}.access-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.access-chip.owner{background:#ecfdf5;border-color:#bbf7d0;color:#166534;}.access-remove{border:0;width:20px;height:20px;border-radius:0 !important;display:inline-flex;align-items:center;justify-content:center;background:rgba(15,23,42,.08);color:inherit;cursor:pointer;flex:0 0 auto;}.access-remove:hover{background:rgba(220,38,38,.14);color:#b91c1c;}.access-muted{color:#94a3b8;font-size:12px;font-weight:900;}.project-access-wrap select#projectAccessUsers{display:none !important;}.project-access-list{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:0;max-width:520px;}.access-avatar-summary{display:flex;align-items:center;gap:8px;}.access-avatar{width:34px;height:34px;border-radius:0 !important;display:inline-flex;align-items:center;justify-content:center;background:#0073ea;color:#fff;background-size:cover;background-position:center;font-size:13px;font-weight:900;border:2px solid #fff;box-shadow:0 0 0 1px #dbeafe;flex:0 0 auto;}.access-avatar.visible-first{width:38px;height:38px;}.access-more-btn{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;min-width:34px;height:34px;border-radius:0 !important;font-size:12px;font-weight:900;cursor:pointer;}.access-more-btn:hover{background:#e0f2fe;color:#075985;}.access-count{color:#64748b;font-size:12px;font-weight:900;}.access-avatar-panel{display:flex;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid #dbeafe;background:#f8fbff;border-radius:0 !important;max-width:520px;}.access-profile{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #e5e7eb;color:#0f172a;border-radius:0 !important;padding:5px 8px 5px 5px;max-width:260px;}.access-profile.owner{border-color:#bbf7d0;background:#f0fdf4;}.access-profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:900;}.access-profile .access-remove{margin-left:0;}.access-avatar-panel{display:none !important;}.access-modal-card{max-width:620px;}.project-access-popup-list{display:grid;gap:10px;max-height:min(62vh,560px);overflow:auto;padding-right:4px;}.access-popup-user{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:0 !important;background:#fff;}.access-popup-user.owner{background:#f0fdf4;border-color:#bbf7d0;}.access-avatar.popup-avatar{width:46px;height:46px;font-size:15px;box-shadow:0 0 0 1px #cbd5e1;}.access-popup-info{display:flex;flex-direction:column;gap:3px;min-width:0;}.access-popup-info strong,.access-popup-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.access-popup-info span{color:#64748b;font-size:12px;font-weight:800;}.access-popup-actions{display:flex;justify-content:flex-end;}@media (max-width:640px){.access-popup-user{grid-template-columns:auto minmax(0,1fr);}.access-popup-actions{grid-column:2;justify-content:flex-start;}}.project-access-wrap .project-invite-row{display:none !important;}.project-access-modal-invite{display:flex;align-items:center;gap:8px;padding:12px;margin-bottom:12px;border:1px solid #dbeafe;background:#f8fbff;border-radius:0 !important;}.project-access-modal-invite input{flex:1;min-width:0;min-height:40px;padding:9px 12px;}.project-access-modal-invite .btn{min-height:40px;white-space:nowrap;}@media (max-width:640px){.project-access-modal-invite{flex-direction:column;align-items:stretch;}.project-access-modal-invite .btn{width:100%;justify-content:center;}}.project-access-wrap.no-access-label,.project-access-wrap:not(:has(label)){gap:8px;min-width:auto;}.project-access-wrap.no-access-label .project-access-list{margin-left:0;}.card-actions .btn.danger:empty{display:none;}.collaborative-work-box{border:1px solid #dbeafe;background:#f8fbff;border-radius:0 !important;padding:12px;}.collaborative-level-row{display:grid !important;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:end;gap:10px;}.collab-level-pill{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border-radius:0 !important;padding:0 12px;background:#eef6ff;color:#075985;font-size:12px;font-weight:900;white-space:nowrap;}.prereq-drag-handle i{margin:0;}.prereq-drag-handle{min-width:34px;}@media (max-width:720px){.collaborative-level-row{grid-template-columns:auto minmax(0,1fr);}.collab-level-pill,.collaborative-level-row .prereq-remove-btn{grid-column:2;}}.collaborative-level-row.current-dept-level{background:#f0fdf4;border-color:#bbf7d0;}.collaborative-level-row.current-dept-level .collab-level-pill{background:#dcfce7;color:#166534;}.collaborative-level-row{grid-template-columns:auto auto minmax(0,1.4fr) minmax(150px,.75fr) auto !important;}.collab-output-type-field select{min-width:150px;}@media (max-width:900px){.collaborative-level-row{grid-template-columns:auto auto minmax(0,1fr) !important;}.collab-output-type-field,.collaborative-level-row .prereq-remove-btn{grid-column:3;}}@media (max-width:720px){.collaborative-level-row{grid-template-columns:auto minmax(0,1fr) !important;}.collab-level-pill,.collab-output-type-field,.collaborative-level-row .prereq-remove-btn{grid-column:2;}}.status-history-section.compact-only{padding:12px 14px !important;gap:8px !important;}.status-history-compact-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}.status-history-compact-head h3{margin:0;font-size:15px;}.status-history-compact-head span{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}.status-history-compact-table{border:1px solid #e5e7eb;border-radius:0 !important;overflow:hidden;background:#fff;}.status-history-compact-row{display:grid;grid-template-columns:130px minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center;padding:8px 10px;border-top:1px solid #eef2f7;font-size:12px;font-weight:800;color:#1f2937;}.status-history-compact-row:first-child{border-top:0;}.status-history-compact-row.head{background:#f8fafc;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;padding:7px 10px;}.history-status-pill{display:inline-flex;width:max-content;max-width:100%;align-items:center;justify-content:center;padding:5px 8px;border-radius:0 !important;background:#eef2f7;color:#334155;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;}.history-status-pill.todo{background:#f1f5f9;color:#475569;}.history-status-pill.in-progress{background:#dbeafe;color:#1d4ed8;}.history-status-pill.review-phase{background:#ffedd5;color:#c2410c;}.history-status-pill.done{background:#dcfce7;color:#166534;}.history-status-pill.draft{background:#e2e8f0;color:#334155;}.history-current{color:#0073ea;font-weight:900;}@media (max-width:680px){.status-history-compact-row{grid-template-columns:1fr;gap:4px;}.status-history-compact-row.head{display:none;}}.timeline-view{background:white;border:1px solid #e5e7eb;border-radius:0 !important;box-shadow:0 10px 24px rgba(0,0,0,.06);overflow:hidden;}.timeline-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 16px;border-bottom:1px solid #e5e7eb;background:#fff;}.timeline-toolbar h2{margin:0;font-size:22px;color:#111827;}.timeline-toolbar p{margin:4px 0 0;color:#64748b;font-size:13px;font-weight:700;}.timeline-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.timeline-controls input{min-height:34px;font-weight:800;}.timeline-grid-wrap{padding:16px;overflow:auto;}.timeline-day-title{font-size:16px;font-weight:900;color:#0f172a;margin-bottom:10px;}.timeline-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;color:#475569;font-size:12px;font-weight:900;}.timeline-legend span{display:inline-flex;align-items:center;gap:6px;}.timeline-legend i{width:12px;height:12px;border-radius:0 !important;display:inline-block;}.timeline-shell-grid{display:grid;grid-template-columns:minmax(210px,280px) minmax(var(--timeline-chart-width,900px),1fr);border:1px solid #e5e7eb;border-radius:0 !important;overflow:hidden;background:white;}.timeline-task-axis-head,.timeline-time-axis{min-height:42px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#475569;font-size:12px;font-weight:900;}.timeline-task-axis-head{display:flex;align-items:center;padding:0 12px;border-right:1px solid #e5e7eb;text-transform:uppercase;letter-spacing:.04em;}.timeline-time-axis{position:relative;}.timeline-hour-label{position:absolute;top:50%;transform:translate(-50%,-50%);white-space:nowrap;font-variant-numeric:tabular-nums;}.timeline-task-label{min-height:54px;padding:10px 12px;border-right:1px solid #e5e7eb;border-bottom:1px solid #eef2f7;display:flex;flex-direction:column;justify-content:center;gap:3px;cursor:pointer;min-width:0;}.timeline-task-label:hover{background:#f8fbff;}.timeline-task-label strong{font-size:13px;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.timeline-task-label small{font-size:11px;color:#64748b;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.timeline-track{position:relative;min-height:54px;border-bottom:1px solid #eef2f7;background:#fff;}.timeline-track:hover{background:#fbfdff;}.timeline-grid-line{position:absolute;top:0;bottom:0;width:1px;background:#f1f5f9;pointer-events:none;}.timeline-now-line{position:absolute;top:0;bottom:0;width:2px;transform:translateX(-1px);background:#ef4444;z-index:4;pointer-events:none;box-shadow:0 0 0 1px rgba(239,68,68,.12);}.timeline-task-bar{position:absolute;left:0;right:0;top:15px;height:24px;}.timeline-segment{position:absolute;top:0;height:24px;min-width:2px;border:0;border-radius:0 !important;padding:0;cursor:pointer;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);}.timeline-segment:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px;}.timeline-segment:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px;}.timeline-segment:hover{filter:brightness(.96);z-index:5;outline:2px solid rgba(15,23,42,.18);outline-offset:1px;}.timeline-segment span{display:block;color:#fff;font-size:10px;font-weight:900;line-height:24px;padding:0 7px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;}.timeline-segment.is-open::after{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:rgba(255,255,255,.65);}.timeline-status-draft{background:#64748b !important;}.timeline-status-todo{background:#9ca3af !important;}.timeline-status-in-progress{background:#0073ea !important;}.timeline-status-review-phase{background:#fdab3d !important;}.timeline-status-done{background:#00c875 !important;}.timeline-status-todo span,.timeline-status-review-phase span{color:#111827;}.timeline-empty{padding:28px;color:#64748b;font-weight:900;text-align:center;background:#f8fafc;}@media (max-width:900px){.timeline-shell-grid{grid-template-columns:180px minmax(var(--timeline-chart-width,760px),1fr);}.timeline-grid-wrap{padding:12px;}.timeline-toolbar{align-items:flex-start;}}.timeline-grid-wrap{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:none;}.timeline-grid-wrap.is-dragging{cursor:grabbing;}.timeline-grid-wrap.is-dragging .timeline-segment,.timeline-grid-wrap.is-dragging .timeline-task-label{cursor:grabbing;}.timeline-shell-grid{position:relative;}.timeline-hover-line{position:absolute;top:0;bottom:0;width:2px;transform:translateX(-1px);background:rgba(15,23,42,.55);z-index:20;pointer-events:none;box-shadow:0 0 0 1px rgba(255,255,255,.55);}.timeline-hover-tooltip{position:absolute;top:8px;z-index:21;pointer-events:none;width:max-content;max-width:180px;padding:7px 10px;border-radius:0 !important;background:#0f172a;color:#fff;font-size:12px;font-weight:900;line-height:1.2;white-space:nowrap;box-shadow:0 10px 22px rgba(15,23,42,.22);font-variant-numeric:tabular-nums;}.timeline-hover-tooltip::after{content:"";position:absolute;left:12px;top:100%;border:6px solid transparent;border-top-color:#0f172a;}.timeline-grid-wrap{overflow-x:auto !important;overflow-y:auto !important;max-width:100%;overscroll-behavior-x:contain;touch-action:pan-y;scrollbar-gutter:stable both-edges;padding-bottom:20px;}.timeline-grid-wrap::-webkit-scrollbar{height:14px;width:12px;}.timeline-grid-wrap::-webkit-scrollbar-track{background:#eef2f7;border-radius:0 !important;}.timeline-grid-wrap::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:0 !important;border:3px solid #eef2f7;}.timeline-grid-wrap::-webkit-scrollbar-thumb:hover{background:#64748b;}.timeline-shell-grid{width:max-content !important;min-width:100% !important;grid-template-columns:minmax(210px,280px) var(--timeline-chart-width,900px) !important;}.timeline-time-axis,.timeline-track{min-width:var(--timeline-chart-width,900px);}.timeline-scroll-hint{margin:8px 0 0;color:#64748b;font-size:12px;font-weight:800;}@media (max-width:900px){.timeline-shell-grid{grid-template-columns:180px var(--timeline-chart-width,760px) !important;}}.timeline-grid-wrap{overflow-x:auto !important;overflow-y:visible !important;max-width:100% !important;}.timeline-shell-grid{display:grid !important;grid-template-columns:var(--timeline-label-width,280px) var(--timeline-chart-width,900px) !important;width:var(--timeline-shell-width,1180px) !important;min-width:var(--timeline-shell-width,1180px) !important;max-width:none !important;}.timeline-task-axis-head,.timeline-task-label{width:var(--timeline-label-width,280px) !important;min-width:var(--timeline-label-width,280px) !important;}.timeline-time-axis,.timeline-track{width:var(--timeline-chart-width,900px) !important;min-width:var(--timeline-chart-width,900px) !important;max-width:none !important;box-sizing:border-box !important;}.timeline-task-bar{width:100% !important;right:auto !important;}.timeline-grid-line,.timeline-now-line,.timeline-hover-line{pointer-events:none;}@media (max-width:900px){.timeline-shell-grid{grid-template-columns:var(--timeline-label-width,180px) var(--timeline-chart-width,760px) !important;}.timeline-task-axis-head,.timeline-task-label{width:var(--timeline-label-width,180px) !important;min-width:var(--timeline-label-width,180px) !important;}}.timeline-grid-wrap{overflow:hidden !important;cursor:default !important;user-select:auto !important;-webkit-user-select:auto !important;touch-action:auto !important;overscroll-behavior:auto !important;scrollbar-gutter:auto !important;padding-bottom:16px !important;}.timeline-grid-wrap.is-dragging,.timeline-grid-wrap.is-dragging .timeline-segment,.timeline-grid-wrap.is-dragging .timeline-task-label{cursor:default !important;}.timeline-grid-wrap::-webkit-scrollbar{display:none !important;}.timeline-shell-grid{width:100% !important;min-width:0 !important;max-width:100% !important;grid-template-columns:var(--timeline-label-width,280px) minmax(0,1fr) !important;}.timeline-task-axis-head,.timeline-task-label{width:auto !important;min-width:0 !important;}.timeline-time-axis,.timeline-track{width:100% !important;min-width:0 !important;max-width:100% !important;}@media (max-width:900px){.timeline-shell-grid{grid-template-columns:var(--timeline-label-width,180px) minmax(0,1fr) !important;}}.timeline-range-controls{align-items:flex-end;}.timeline-date-field{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.04em;}.timeline-date-field input{min-width:145px;min-height:36px;text-transform:none;letter-spacing:0;color:#0f172a;}.timeline-preset-toggle{display:flex;align-items:center;gap:4px;padding:4px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:0 !important;}.timeline-preset-btn{border:0;background:transparent;color:#475569;border-radius:0 !important;padding:8px 10px;font-weight:900;cursor:pointer;}.timeline-preset-btn:hover{background:#eef2f7;color:#111827;}.timeline-preset-btn.active{background:#0073ea;color:#fff;box-shadow:0 6px 14px rgba(0,115,234,.18);}@media (max-width:720px){.timeline-range-controls{width:100%;align-items:stretch;}.timeline-date-field,.timeline-date-field input,.timeline-preset-toggle{width:100%;}.timeline-preset-btn{flex:1;}}.timeline-toolbar{display:grid !important;grid-template-columns:minmax(220px,1fr) auto;align-items:center !important;gap:16px !important;padding:14px 16px !important;}.timeline-toolbar h2{font-size:20px !important;line-height:1.2 !important;}.timeline-toolbar p{font-size:12px !important;line-height:1.35 !important;margin-top:3px !important;}.timeline-controls.timeline-range-controls{display:flex !important;align-items:end !important;justify-content:flex-end !important;gap:8px !important;flex-wrap:nowrap !important;width:auto !important;}.timeline-range-controls .btn.small{width:38px !important;height:38px !important;min-width:38px !important;padding:0 !important;border-radius:0 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;font-size:14px !important;line-height:1 !important;}#timelineTodayBtn{width:auto !important;min-width:72px !important;padding:0 14px !important;font-size:13px !important;}.timeline-date-field{display:grid !important;gap:5px !important;margin:0 !important;min-width:0 !important;font-size:10px !important;line-height:1 !important;letter-spacing:.06em !important;}.timeline-date-field span{color:#64748b !important;font-size:10px !important;line-height:1 !important;}.timeline-date-field input{width:132px !important;min-width:132px !important;max-width:132px !important;height:38px !important;min-height:38px !important;padding:0 10px !important;border-radius:0 !important;font-size:13px !important;font-weight:900 !important;line-height:1 !important;letter-spacing:0 !important;}.timeline-date-field input::-webkit-calendar-picker-indicator{width:16px !important;height:16px !important;padding:0 !important;margin-left:4px !important;cursor:pointer;}.timeline-preset-toggle{height:38px !important;min-height:38px !important;display:inline-flex !important;align-items:center !important;gap:3px !important;padding:3px !important;border-radius:0 !important;flex:0 0 auto !important;}.timeline-preset-btn{height:30px !important;min-height:30px !important;padding:0 12px !important;border-radius:0 !important;font-size:13px !important;line-height:1 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;}@media (max-width:1100px){.timeline-toolbar{grid-template-columns:1fr !important;align-items:start !important;}.timeline-controls.timeline-range-controls{justify-content:flex-start !important;flex-wrap:wrap !important;}}@media (max-width:720px){.timeline-controls.timeline-range-controls{display:grid !important;grid-template-columns:38px 1fr 1fr 1fr 72px 38px !important;align-items:end !important;gap:8px !important;width:100% !important;}.timeline-date-field,.timeline-date-field input,.timeline-preset-toggle{width:100% !important;max-width:none !important;min-width:0 !important;}.timeline-preset-toggle{grid-column:1 / -1 !important;order:3 !important;}#timelinePrevRangeBtn{order:1 !important;}.timeline-date-field:nth-of-type(1){order:2 !important;grid-column:2 / 4 !important;}.timeline-date-field:nth-of-type(2){order:2 !important;grid-column:4 / 7 !important;}#timelineTodayBtn{order:4 !important;grid-column:2 / 6 !important;width:100% !important;}#timelineNextRangeBtn{order:4 !important;grid-column:6 !important;}}.timeline-segment,.timeline-segment:first-child,.timeline-segment:last-child{border-radius:0 !important;}.timeline-segment span{display:none !important;}#priority,.priority-select,.priority-pill,.details-pill.priority,.card-static.priority{display:inline-flex !important;}.task-table th.priority-column,.task-table td.priority-column{display:table-cell !important;}.priority-select.low,.details-pill.priority.low{background:#94a3b8 !important;color:#fff !important;}.priority-select.mid,.details-pill.priority.mid{background:#ffcb00 !important;color:#422006 !important;}.priority-select.high,.details-pill.priority.high{background:#fdab3d !important;color:#fff !important;}.priority-select.urgent,.details-pill.priority.urgent{background:#e2445c !important;color:#fff !important;}.card-row.priority-row{margin-top:-4px;}.card-row.priority-row .priority-select{width:100%;max-width:none;}#taskDataTable .priority-select{min-width:118px !important;max-width:160px !important;}.details-pill.priority{align-items:center;justify-content:center;border-radius:0 !important;padding:7px 10px;font-size:12px;font-weight:900;line-height:1;}.auth-box{position:relative;}.auth-user-chip{border:1px solid #e5e7eb;cursor:pointer;font-family:inherit;}.auth-user-chip:hover{background:#eef6ff;border-color:#bfdbfe;}.auth-chip-caret{font-size:10px;color:#64748b;flex:0 0 auto;}.auth-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:160px;background:#fff;border:1px solid #e5e7eb;border-radius:0 !important;box-shadow:0 16px 36px rgba(15,23,42,.16);padding:8px;z-index:60;}.auth-dropdown::before{content:"";position:absolute;top:-6px;right:18px;width:10px;height:10px;background:#fff;border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;transform:rotate(45deg);}.auth-dropdown-item{width:100%;border:0;background:transparent;color:#334155;border-radius:0 !important;padding:10px 12px;font-weight:900;font-family:inherit;cursor:pointer;display:flex;align-items:center;gap:8px;text-align:left;}.auth-dropdown-item:hover{background:#fee2e2;color:#991b1b;}.auth-dropdown{min-width:230px;}.auth-dropdown-divider{display:block;height:1px;background:#e5e7eb;margin:6px 4px;}.auth-dropdown-item:hover{background:#eff6ff;color:#075985;}.auth-dropdown-item.danger:hover{background:#fee2e2;color:#991b1b;}.floating-add-task-btn{position:fixed;right:28px;bottom:28px;width:62px;height:62px;border:0;border-radius:0 !important;background:#0073ea;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 18px 36px rgba(0,115,234,.32);cursor:pointer;z-index:50;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;}.floating-add-task-btn:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 22px 42px rgba(0,115,234,.38);filter:brightness(.98);}.floating-add-task-btn:active{transform:translateY(0) scale(.98);}@media (max-width:720px){.floating-add-task-btn{right:18px;bottom:18px;width:56px;height:56px;font-size:22px;}}.task-card select:disabled,.task-table input[readonly],.task-table select:disabled{opacity:.58;cursor:not-allowed;}.task-card[draggable="false"]{cursor:pointer;}.task-card-title-stack{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1 1 auto;}.card-project-badge{margin:0 0 1px 0 !important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.task-card-title-stack .task-title-link{width:100%;}*,*::before,*::after{border-radius:0 !important;}.online-users-widget{position:fixed;right:24px;bottom:98px;z-index:120;}.online-users-toggle{position:relative;width:50px;height:50px;border:0;background:#111827;color:#fff;display:grid;place-items:center;box-shadow:0 16px 34px rgba(15,23,42,.24);cursor:pointer;font-size:18px;}.online-users-toggle:hover{background:#0f172a;}.online-users-count{position:absolute;top:-7px;right:-7px;min-width:22px;height:22px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;background:#ef4444;color:#fff;border:2px solid #fff;font-size:11px;font-weight:900;line-height:1;}.online-users-card{position:absolute;right:0;bottom:60px;width:300px;max-width:calc(100vw - 36px);background:#fff;border:1px solid #e5e7eb;box-shadow:0 24px 60px rgba(15,23,42,.2);overflow:hidden;}.online-users-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #eef2f7;background:#f8fafc;}.online-users-head strong{color:#111827;font-size:14px;font-weight:900;}.online-users-head span{color:#64748b;font-size:12px;font-weight:900;}.online-users-list{display:grid;max-height:280px;overflow:auto;}.online-user-row{display:grid;grid-template-columns:36px minmax(0,1fr) 10px;gap:10px;align-items:center;padding:11px 14px;border-bottom:1px solid #f1f5f9;}.online-user-row:last-child{border-bottom:0;}.online-user-avatar{width:36px;height:36px;display:inline-grid;place-items:center;background:#0073ea;color:#fff;background-size:cover;background-position:center;font-weight:900;font-size:14px;}.online-user-info{min-width:0;display:grid;gap:2px;}.online-user-info strong{color:#111827;font-size:13px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.online-user-info span{color:#64748b;font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.online-user-dot{width:10px;height:10px;background:#22c55e;}.online-users-empty{padding:16px;color:#64748b;font-weight:800;text-align:center;}@media (max-width:640px){.online-users-widget{right:18px;bottom:86px;}.online-users-toggle{width:46px;height:46px;}.online-users-card{width:280px;}}.online-users-widget{position:fixed !important;right:28px !important;bottom:104px !important;left:auto !important;top:auto !important;z-index:120 !important;}.online-users-card{right:0 !important;bottom:60px !important;left:auto !important;top:auto !important;}@media (max-width:720px){.online-users-widget{right:18px !important;bottom:88px !important;}}.online-users-widget{position:fixed !important;left:28px !important;bottom:104px !important;right:auto !important;top:auto !important;z-index:120 !important;}.online-users-card{left:0 !important;bottom:60px !important;right:auto !important;top:auto !important;}@media (max-width:720px){.online-users-widget{left:18px !important;bottom:88px !important;right:auto !important;}}.online-users-widget{left:28px !important;bottom:28px !important;}.online-users-toggle{width:62px !important;height:62px !important;border:0 !important;background:#0073ea !important;color:#fff !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:24px !important;box-shadow:0 18px 36px rgba(0,115,234,.32) !important;cursor:pointer !important;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease !important;}.online-users-toggle:hover{transform:translateY(-2px) scale(1.03) !important;box-shadow:0 22px 42px rgba(0,115,234,.38) !important;filter:brightness(.98) !important;background:#0073ea !important;}.online-users-toggle:active{transform:translateY(0) scale(.98) !important;}.online-users-card{left:0 !important;bottom:76px !important;right:auto !important;}.online-users-count{top:-7px !important;right:-7px !important;}@media (max-width:720px){.online-users-widget{left:18px !important;bottom:18px !important;}.online-users-toggle{width:56px !important;height:56px !important;font-size:22px !important;}.online-users-card{bottom:70px !important;}}.caption-review-panel,.output-review-panel{padding:16px 18px 0;display:grid;gap:12px;background:white;}.output-review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;border-top:1px solid #e5e7eb;padding-top:14px;}.output-review-head h3,.output-version-list h4,.output-review-history h4{margin:0 0 8px;font-size:14px;font-weight:900;color:#1f2937;}.review-status-chip{display:inline-flex;align-items:center;padding:7px 10px;font-size:12px;font-weight:900;background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe;}.review-status-chip.for_revision{background:#fee2e2;color:#991b1b;border-color:#fca5a5;}.review-status-chip.approved{background:#dcfce7;color:#166534;border-color:#86efac;}.output-review-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}.btn.warning{background:#fff7ed;color:#c2410c;border:1px solid #fdba74;}.btn.success{background:#16a34a;color:#fff;border:1px solid #16a34a;}.output-review-actions .btn.danger{background:#dc2626;color:#fff;border:1px solid #dc2626;}.output-review-actions .btn.success{background:#16a34a;color:#fff;border:1px solid #16a34a;}.revision-box{display:grid;gap:8px;border:1px solid #fdba74;background:#fff7ed;padding:10px;}.revision-box textarea{width:100%;min-height:86px;background:#fff;}.output-version-list,.output-review-history{display:grid;gap:8px;}.output-version-item{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;text-decoration:none;color:#1f2937;border:1px solid #e5e7eb;background:#f8fafc;padding:9px 10px;}.output-version-item strong{font-weight:900;color:#075985;}.output-version-item span{font-size:12px;color:#64748b;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.output-review-history-item{border-left:4px solid #60a5fa;background:#f8fafc;padding:9px 10px;display:grid;gap:6px;}.output-review-history-item.for_revision{border-left-color:#fb923c;}.output-review-history-item.approved{border-left-color:#22c55e;}.output-review-history-item div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;}.output-review-history-item strong{font-weight:900;}.output-review-history-item span{font-size:12px;color:#64748b;font-weight:800;}.output-review-history-item p{margin:0;color:#334155;line-height:1.45;}.revision-ack-box{display:grid;gap:8px;border:1px solid #fdba74;background:#fff7ed;padding:10px;}.revision-ack-box h4{margin:0;font-size:13px;font-weight:900;color:#9a3412;}.revision-ack-box p{margin:0;color:#334155;line-height:1.45;white-space:pre-wrap;}.revision-ack-box small{color:#64748b;font-weight:800;}.revision-ack-box .btn{justify-self:start;}.revision-output-required{border:1px solid #fdba74;background:#fff7ed;color:#9a3412;padding:10px;font-weight:900;line-height:1.4;}.next-output-version-box{margin-top:10px;padding:10px;border:1px dashed #f59e0b;background:#fffbeb;display:grid;gap:8px;}.next-output-version-label{display:block;font-size:12px;font-weight:900;color:#92400e;text-transform:uppercase;letter-spacing:.04em;}.next-output-version-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;}.next-output-version-box small{color:#92400e;font-weight:800;font-size:12px;}.output-version-empty{padding:8px 10px;border:1px dashed #cbd5e1;color:#64748b;font-weight:800;background:#f8fafc;}.combined-output-edit .next-output-version-box{grid-column:1 / -1;}@media (max-width:720px){.next-output-version-row{grid-template-columns:1fr;}}.details-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}@media (max-width:860px){.details-hero-actions{justify-content:flex-start;}}.status-for-revision .column-head{background:#dc2626 !important;color:#fff !important;}.for-revision{background:#dc2626 !important;color:#fff !important;}.calendar-task.for-revision{background:#fef2f2 !important;border-left-color:#dc2626 !important;}.prereq-step.revision .prereq-step-dot{background:#dc2626;border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.14);}.prereq-step.revision .prereq-step-main small{color:#b91c1c;}.history-status-pill.for-revision{background:#fee2e2;color:#991b1b;}.timeline-status-for-revision{background:#dc2626 !important;}.review-status-chip.for_revision{background:#fee2e2 !important;color:#991b1b !important;border-color:#dc2626 !important;}.output-review-history-item.for_revision{border-left-color:#dc2626 !important;}.output-review-head.action-only{justify-content:flex-end !important;}.output-review-head.action-only .output-review-actions{margin-left:auto;}.drive-social-thumbs{align-items:flex-start;gap:12px;}.drive-social-thumb{width:112px !important;height:auto !important;min-height:0 !important;padding:0 !important;overflow:visible !important;background:transparent !important;border:0 !important;display:grid !important;gap:6px !important;text-align:left !important;}.drive-social-thumb-media{position:relative;display:block;width:112px;height:72px;overflow:hidden;border:2px solid transparent;background:#e5e7eb;}.drive-social-thumb img{width:100% !important;height:100% !important;object-fit:cover !important;}.drive-social-thumb.active .drive-social-thumb-media{border-color:#1877f2;box-shadow:0 0 0 2px rgba(24,119,242,.12);}.drive-thumb-name{display:-webkit-box;max-width:112px;font-size:11px;line-height:1.25;font-weight:900;color:#334155;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;}.drive-thumb-name{display:none !important;}.drive-social-thumb{height:92px !important;}.drive-social-thumbs{align-items:flex-start !important;gap:12px !important;padding-bottom:0 !important;}.drive-social-thumb{width:112px !important;height:72px !important;min-height:72px !important;padding:0 !important;margin:0 !important;overflow:hidden !important;display:block !important;background:transparent !important;border:0 !important;}.drive-social-thumb-media{width:112px !important;height:72px !important;margin:0 !important;overflow:hidden !important;box-sizing:border-box !important;}.drive-social-thumb.active .drive-social-thumb-media{border-color:#1877f2 !important;box-shadow:none !important;}.drive-thumb-name{display:none !important;}.recurring-view{background:#fff;border:1px solid #d8dee8;box-shadow:0 12px 28px rgba(15,23,42,.08);margin-top:18px;}.recurring-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e5e7eb;}.recurring-toolbar h2{margin:0;font-size:22px;color:#1f2937;display:flex;align-items:center;gap:8px;}.recurring-toolbar p{margin:5px 0 0;color:#64748b;font-weight:800;font-size:13px;}.recurring-add-card{display:grid;grid-template-columns:minmax(220px,1fr) 150px 150px auto;gap:10px;padding:14px 20px;border-bottom:1px solid #e5e7eb;background:#f8fafc;}.recurring-add-card input,.recurring-add-card select{width:100%;min-width:0;border:1px solid #cbd5e1;background:#fff;padding:10px 12px;font-weight:800;}.recurring-list{display:grid;gap:10px;padding:16px 20px;}.recurring-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e5e7eb;background:#fff;padding:12px;border-left:5px solid #0073ea;}.recurring-item.done{border-left-color:#00c875;background:#f8fffb;}.recurring-check-wrap{position:relative;display:grid;place-items:center;width:36px;height:36px;cursor:pointer;}.recurring-check-wrap input{position:absolute;opacity:0;pointer-events:none;}.recurring-fake-check{width:30px;height:30px;border:2px solid #94a3b8;background:#fff;color:#fff;display:grid;place-items:center;font-size:14px;}.recurring-check-wrap input:checked+.recurring-fake-check{background:#00c875;border-color:#00c875;}.recurring-main{min-width:0;display:grid;gap:5px;}.recurring-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.recurring-title-row strong{font-size:16px;color:#111827;line-height:1.25;}.recurring-cadence{display:inline-flex;align-items:center;background:#e0f2fe;color:#075985;border:1px solid #bae6fd;padding:4px 8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}.recurring-meta{display:flex;flex-wrap:wrap;gap:7px;color:#64748b;font-size:12px;font-weight:800;}.recurring-meta span:not(:last-child)::after{content:"•";margin-left:7px;color:#94a3b8;}.recurring-done-line{color:#166534;font-size:12px;font-weight:900;}.recurring-open-line{color:#b45309;font-size:12px;font-weight:900;}.recurring-delete{align-self:center;}.recurring-empty{border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b;padding:22px;text-align:center;font-weight:900;}@media (max-width:980px){.recurring-add-card{grid-template-columns:1fr 1fr;}.recurring-add-card .btn{grid-column:1/-1;}}@media (max-width:640px){.recurring-add-card{grid-template-columns:1fr;}.recurring-item{grid-template-columns:38px minmax(0,1fr);}.recurring-delete{grid-column:2;justify-self:start;}}.recurring-widget{position:fixed !important;left:28px !important;bottom:104px !important;z-index:121 !important;}.recurring-toggle{width:62px !important;height:62px !important;border:0 !important;background:#0073ea !important;color:#fff !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:24px !important;box-shadow:0 18px 36px rgba(0,115,234,.32) !important;cursor:pointer !important;position:relative !important;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease !important;}.recurring-toggle:hover{transform:translateY(-2px) scale(1.03) !important;box-shadow:0 22px 42px rgba(0,115,234,.38) !important;filter:brightness(.98) !important;}.recurring-toggle:active{transform:translateY(0) scale(.98) !important;}.recurring-pending-count{position:absolute;top:-7px;right:-7px;min-width:22px;height:22px;padding:0 6px;display:grid;place-items:center;background:#ef4444;color:#fff;border:2px solid #fff;font-size:12px;font-weight:900;line-height:1;}.recurring-card{position:absolute;left:0;bottom:76px;width:min(460px,calc(100vw - 42px));max-height:min(620px,calc(100vh - 170px));overflow:auto;background:#fff;border:1px solid #d8dee8;box-shadow:0 18px 46px rgba(15,23,42,.2);}.recurring-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e5e7eb;background:#fff;}.recurring-card-head strong{display:block;font-size:16px;color:#1f2937;line-height:1.2;}.recurring-card-head span{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800;}.recurring-add-toggle{white-space:nowrap;}.recurring-popup-add{display:grid !important;grid-template-columns:1fr !important;gap:8px !important;padding:12px 16px !important;border-bottom:1px solid #e5e7eb !important;}.recurring-card .recurring-list{padding:12px 16px !important;max-height:340px;overflow:auto;}.recurring-card .recurring-item{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:10px;}.recurring-card .recurring-title-row strong{font-size:14px;}.recurring-card .recurring-meta,.recurring-card .recurring-done-line,.recurring-card .recurring-open-line{font-size:11px;}@media (max-width:720px){.recurring-widget{left:18px !important;bottom:88px !important;}.recurring-toggle{width:56px !important;height:56px !important;font-size:22px !important;}.recurring-card{bottom:70px;width:calc(100vw - 36px);max-height:calc(100vh - 150px);}}.recurring-card{height:auto !important;min-height:0 !important;}.recurring-popup-add.hidden,.recurring-card .recurring-popup-add.hidden{display:none !important;height:0 !important;min-height:0 !important;padding:0 !important;margin:0 !important;border:0 !important;overflow:hidden !important;}.recurring-card .recurring-list{margin:0 !important;padding:10px 14px !important;display:grid !important;gap:8px !important;align-content:start !important;max-height:min(360px,calc(100vh - 220px)) !important;overflow:auto !important;}.recurring-card .recurring-item{margin:0 !important;}.recurring-card-head+.recurring-list,.recurring-card-head+.recurring-popup-add.hidden+.recurring-list{padding-top:10px !important;}.recurring-manage-card{width:min(860px,calc(100vw - 40px));}.recurring-manage-add{padding:14px 0 16px;border-bottom:1px solid #e5e7eb;background:#fff;}.recurring-manage-list{display:grid;gap:10px;padding-top:16px;max-height:52vh;overflow:auto;}.recurring-manage-list .recurring-item{grid-template-columns:44px minmax(0,1fr) auto;}.recurring-card .recurring-item{grid-template-columns:38px minmax(0,1fr) !important;}.recurring-card .recurring-delete{display:none !important;}.recurring-widget,.online-users-widget{z-index:2147483000 !important;isolation:isolate !important;}.recurring-card,.online-users-card{z-index:2147483001 !important;position:absolute !important;transform:translateZ(0) !important;}.recurring-toggle,.online-users-toggle,.floating-add-btn{z-index:2147483002 !important;}.recurring-card,.online-users-card{z-index:2147483646 !important;position:absolute !important;}.recurring-toggle,.online-users-toggle,.floating-add-btn{z-index:2147483000 !important;}.recurring-widget,.online-users-widget{left:28px !important;right:auto !important;}.recurring-widget{bottom:104px !important;}.online-users-widget{bottom:28px !important;}.recurring-card,.online-users-card{left:76px !important;right:auto !important;bottom:0 !important;top:auto !important;max-width:calc(100vw - 128px) !important;z-index:2147483646 !important;pointer-events:auto !important;}.recurring-card.hidden,.online-users-card.hidden{display:none !important;pointer-events:none !important;}@media (max-width:720px){.recurring-widget{left:18px !important;bottom:88px !important;}.online-users-widget{left:18px !important;bottom:18px !important;}.recurring-card,.online-users-card{left:66px !important;bottom:0 !important;width:calc(100vw - 92px) !important;max-width:calc(100vw - 92px) !important;}}.recurring-card,.online-users-card{z-index:2147483001 !important;}.recurring-widget,.online-users-widget{z-index:2147483000 !important;}.recurring-toggle,.online-users-toggle,.floating-add-btn{z-index:2147482999 !important;}.email-access-card{width:min(680px,calc(100vw - 40px));}.email-access-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:14px 0 16px;}.email-access-add-row input{width:100%;min-width:0;}.allowed-email-list{display:grid;gap:10px;}.allowed-email-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e5e7eb;background:#fff;padding:12px;}.allowed-email-row.current{border-color:#bfdbfe;background:#eff6ff;}.allowed-email-main{display:grid;gap:3px;min-width:0;}.allowed-email-main strong{font-weight:900;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.allowed-email-main span{font-size:12px;font-weight:800;color:#64748b;}@media (max-width:640px){.email-access-add-row,.allowed-email-row{grid-template-columns:1fr;}.allowed-email-row .btn{justify-self:start;}}.allowed-email-row{grid-template-columns:minmax(180px,1.3fr) minmax(130px,.8fr) minmax(130px,.8fr) minmax(150px,.9fr) auto !important;align-items:center !important;}.email-permission-check{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:900;color:#334155;white-space:nowrap;}.email-permission-check input{width:16px;height:16px;margin:0;}.email-permission-check input:disabled{opacity:.6;cursor:not-allowed;}@media (max-width:900px){.allowed-email-row{grid-template-columns:1fr !important;align-items:start !important;}.email-permission-check{justify-content:flex-start;}}.board{grid-template-columns:repeat(6,minmax(220px,1fr)) !important;align-items:start !important;}.column,.column-body,.task-card,.task-card *{min-width:0;box-sizing:border-box;}.task-card.compact-card,.done-group-card.compact-card{width:100% !important;max-width:100% !important;overflow:hidden !important;}.task-card-top{display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;align-items:start !important;gap:8px !important;width:100% !important;}.task-card-title-stack{min-width:0 !important;max-width:100% !important;overflow:hidden !important;}.card-project-badge,.task-card-title-stack .project-badge{display:block !important;width:max-content !important;max-width:100% !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;}.task-card-title-stack .task-title-link{display:block !important;width:100% !important;max-width:100% !important;overflow:hidden !important;text-overflow:ellipsis !important;}.department-chip{min-width:0 !important;max-width:92px !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;}.compact-row.single-row,.priority-row{display:grid !important;grid-template-columns:minmax(0,1fr) !important;width:100% !important;}.task-card .card-select,.task-card .assignee-select,.task-card .priority-select{width:100% !important;max-width:100% !important;min-width:0 !important;}.prereq-timeline,.prereq-step-main,.task-output-compact{min-width:0 !important;max-width:100% !important;overflow:hidden !important;}.prereq-step-main strong,.prereq-step-main small{min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important;}@media (max-width:1400px){.board{grid-template-columns:repeat(6,240px) !important;overflow-x:auto !important;}}@media (max-width:1000px){.board{grid-template-columns:repeat(6,260px) !important;overflow-x:auto !important;}}.notifications-widget{position:fixed !important;left:28px !important;bottom:180px !important;z-index:2147483000 !important;isolation:isolate !important;}.notifications-toggle{width:56px !important;height:56px !important;border:0 !important;background:#0073ea !important;color:#fff !important;display:grid !important;place-items:center !important;font-size:22px !important;cursor:pointer !important;box-shadow:0 18px 34px rgba(0,115,234,.28) !important;position:relative !important;z-index:2147482999 !important;}.notifications-toggle:hover{filter:brightness(.96);}.notifications-count{position:absolute;top:-8px;right:-8px;min-width:22px;height:22px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;background:#e2445c;color:#fff;border:2px solid #fff;font-size:12px;font-weight:900;line-height:1;}.notifications-card{position:absolute !important;left:76px !important;bottom:0 !important;width:min(390px,calc(100vw - 128px)) !important;max-height:min(430px,calc(100vh - 190px)) !important;overflow:hidden !important;background:#fff !important;border:1px solid #e5e7eb !important;box-shadow:0 24px 50px rgba(15,23,42,.18) !important;z-index:2147483001 !important;}.notifications-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #e5e7eb;background:#fff;}.notifications-head strong{font-size:16px;font-weight:900;color:#111827;display:block;}.notifications-head span{font-size:12px;font-weight:900;color:#64748b;display:block;margin-top:2px;}.notifications-list{display:grid;gap:0;max-height:min(360px,calc(100vh - 260px));overflow:auto;}.notification-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;padding:12px 14px;border-bottom:1px solid #eef2f7;background:#fff;cursor:pointer;}.notification-row:hover{background:#f8fafc;}.notification-row:last-child{border-bottom:0;}.notification-icon{width:34px;height:34px;display:grid;place-items:center;background:#eff6ff;color:#0073ea;font-size:15px;}.notification-row.danger .notification-icon{background:#fee2e2;color:#dc2626;}.notification-row.warning .notification-icon{background:#fff7ed;color:#f59e0b;}.notification-row.success .notification-icon{background:#dcfce7;color:#16a34a;}.notification-row.muted .notification-icon{background:#f1f5f9;color:#64748b;}.notification-main{min-width:0;display:grid;gap:4px;}.notification-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;}.notification-title-row strong{font-size:13px;font-weight:900;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.notification-title-row span{flex:0 0 auto;font-size:10px;font-weight:900;color:#334155;background:#eef2f7;padding:4px 6px;text-transform:uppercase;}.notification-main small{font-size:11px;font-weight:800;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.notification-main p{margin:0;font-size:12px;font-weight:800;color:#334155;line-height:1.35;}.notifications-empty{padding:18px;color:#64748b;font-weight:800;text-align:center;}.notifications-card.hidden{display:none !important;pointer-events:none !important;}@media (max-width:720px){.notifications-widget{left:18px !important;bottom:158px !important;}.notifications-toggle{width:56px !important;height:56px !important;font-size:22px !important;}.notifications-card{left:66px !important;bottom:0 !important;width:calc(100vw - 92px) !important;max-width:calc(100vw - 92px) !important;}}.email-access-card{width:min(980px,calc(100vw - 32px)) !important;}.allowed-email-list{display:block !important;max-height:58vh;overflow:auto;border:1px solid #e5e7eb;background:#fff;}.allowed-email-table{min-width:860px;}.allowed-email-header,.allowed-email-row{display:grid !important;grid-template-columns:minmax(230px,1.5fr) 150px 150px 170px 110px !important;gap:0 !important;align-items:center !important;}.allowed-email-header{position:sticky;top:0;z-index:2;background:#f8fafc;border-bottom:1px solid #e5e7eb;}.allowed-email-header>div{padding:10px 12px;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;text-align:center;border-right:1px solid #e5e7eb;}.allowed-email-header>div:first-child{text-align:left;}.allowed-email-header>div:last-child{border-right:0;}.allowed-email-row{border:0 !important;border-bottom:1px solid #e5e7eb !important;padding:0 !important;background:#fff;}.allowed-email-row.current{background:#eff6ff !important;}.allowed-email-row>*{min-height:52px;padding:9px 12px;border-right:1px solid #eef2f7;display:flex;align-items:center;}.allowed-email-row>*:last-child{border-right:0;}.allowed-email-main{display:grid !important;align-content:center;gap:2px;}.allowed-email-main strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.email-permission-check.only-check{justify-content:center !important;gap:0 !important;font-size:0 !important;color:transparent !important;white-space:normal !important;}.email-permission-check.only-check input{width:17px !important;height:17px !important;flex:0 0 auto;}.allowed-email-actions{justify-content:center;}.allowed-email-actions .btn{white-space:nowrap;}@media (max-width:760px){.email-access-card{width:calc(100vw - 20px) !important;}.allowed-email-list{overflow:auto;}}.online-users-card{width:340px !important;min-height:0 !important;max-height:min(360px,calc(100vh - 160px)) !important;display:flex !important;flex-direction:column !important;overflow:hidden !important;}.online-users-list{flex:0 1 auto !important;max-height:280px !important;overflow-y:auto !important;overflow-x:hidden !important;}.online-users-empty{min-height:88px !important;display:grid !important;place-items:center !important;}@media (max-width:720px){.online-users-card{width:calc(100vw - 92px) !important;max-height:min(320px,calc(100vh - 140px)) !important;}.online-users-list{max-height:240px !important;}}.notification-row.is-unread{background:#eff6ff !important;border-left:4px solid #0073ea !important;padding-left:10px !important;}.notification-row.is-unread .notification-title-row strong{color:#0f172a !important;}.notification-row.is-unread .notification-title-row strong::after{content:"";display:inline-block;width:8px;height:8px;margin-left:7px;border-radius:0 !important;background:#e2445c;vertical-align:middle;}.notification-row.is-read{opacity:.72;background:#fff !important;}.notification-row.is-read .notification-icon{filter:grayscale(.35);}.notification-row.is-read .notification-main p{color:#64748b !important;}.notification-row.is-unread:hover{background:#dbeafe !important;}.notification-row.is-read:hover{opacity:.9;background:#f8fafc !important;}.calendar-grid{grid-auto-rows:170px;align-items:stretch;}.calendar-cell{height:170px !important;min-height:0 !important;overflow:hidden !important;display:flex;flex-direction:column;}.calendar-task-stack{display:grid;gap:5px;min-height:0;overflow:hidden;}.calendar-task.calendar-task-compact,.calendar-task.calendar-task-compact.todo,.calendar-task.calendar-task-compact.in-progress,.calendar-task.calendar-task-compact.review-phase,.calendar-task.calendar-task-compact.for-revision,.calendar-task.calendar-task-compact.done,.calendar-task.calendar-task-compact.draft{margin:0 !important;padding:6px 8px !important;min-height:0 !important;box-shadow:none !important;cursor:pointer !important;}.calendar-task.calendar-task-compact .calendar-task-title{margin:0 !important;font-size:11px !important;line-height:1.2 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}.calendar-task.calendar-task-compact::after,.calendar-task.calendar-task-compact .calendar-lock-note,.calendar-task.calendar-task-compact .calendar-task-meta,.calendar-task.calendar-task-compact .prereq-timeline,.calendar-task.calendar-task-compact .task-output-compact,.calendar-task.calendar-task-compact .prereq-outputs{display:none !important;}.calendar-show-all-btn{width:100%;border:1px dashed #bfdbfe;background:#eff6ff;color:#075985;padding:6px 8px;font-size:11px;font-weight:900;text-align:left;cursor:pointer;}.calendar-show-all-btn:hover{background:#dbeafe;}.calendar-day-popup{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.42);padding:20px;}.calendar-day-popup-card{width:min(560px,calc(100vw - 32px));max-height:min(76vh,680px);background:#fff;border:1px solid #e5e7eb;box-shadow:0 24px 70px rgba(15,23,42,.28);display:flex;flex-direction:column;}.calendar-day-popup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e5e7eb;}.calendar-day-popup-head h3{margin:0;font-size:18px;color:#111827;}.calendar-day-popup-head p{margin:4px 0 0;color:#64748b;font-weight:800;font-size:12px;}.calendar-day-popup-list{padding:14px 18px;overflow:auto;display:grid;gap:8px;}.calendar-day-popup-task{border:1px solid #e5e7eb;border-left:5px solid #0073ea;background:#fff;padding:10px 12px;text-align:left;cursor:pointer;display:grid;gap:4px;}.calendar-day-popup-task:hover{background:#f8fafc;}.calendar-day-popup-task strong{font-size:13px;color:#111827;line-height:1.25;}.calendar-day-popup-task span{font-size:11px;color:#64748b;font-weight:800;line-height:1.35;}.calendar-day-popup-task.draft{border-left-color:#64748b;}.calendar-day-popup-task.todo{border-left-color:#9ca3af;}.calendar-day-popup-task.in-progress{border-left-color:#0073ea;}.calendar-day-popup-task.review-phase{border-left-color:#fdab3d;}.calendar-day-popup-task.for-revision{border-left-color:#dc2626;}.calendar-day-popup-task.done{border-left-color:#00c875;}.small-x{font-size:22px !important;line-height:1 !important;}@media (max-width:800px){.calendar-grid{grid-auto-rows:150px;}.calendar-cell{height:150px !important;}}.project-access-list.can-open-access{cursor:pointer;}.project-access-list.can-open-access:hover .access-more-btn,.project-access-list.can-open-access:hover .access-avatar-summary{filter:brightness(.98);}.manage-access-btn{width:auto;padding:0 12px;display:inline-flex;align-items:center;gap:6px;}.project-item-expanded{display:grid !important;grid-template-columns:1fr !important;gap:12px !important;}.project-main-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;}.project-member-summary{margin-top:6px;color:#64748b;font-size:12px;font-weight:800;line-height:1.35;word-break:break-word;}.project-team-panel{border:1px solid #dbeafe;background:#f8fbff;padding:10px;}.project-team-title{font-size:12px;font-weight:900;color:#1e3a8a;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px;display:flex;align-items:center;gap:6px;}.project-team-table{display:grid;gap:6px;}.project-team-head,.project-team-row{display:grid;grid-template-columns:minmax(220px,1.45fr) minmax(150px,.8fr) minmax(170px,.9fr);gap:8px;align-items:center;}.project-team-head{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;padding:0 4px;}.project-team-row{background:#fff;border:1px solid #e5e7eb;padding:8px;}.project-team-user{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;min-width:0;}.project-team-user strong,.project-team-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.project-team-user strong{font-size:13px;color:#111827;}.project-team-user small{font-size:11px;color:#64748b;font-weight:800;}.project-team-row input,.project-team-row select{width:100%;min-width:0;padding:8px 9px;font-size:12px;font-weight:800;}.project-team-row select:disabled{background:#f1f5f9;color:#64748b;cursor:not-allowed;}.access-role-meta{display:block;margin-top:3px;color:#475569;font-size:11px;font-weight:900;}.access-avatar.mini-avatar{width:34px;height:34px;font-size:13px;}@media (max-width:900px){.project-main-row{grid-template-columns:1fr;}.project-team-head{display:none;}.project-team-row{grid-template-columns:1fr;}}.project-item-friendly{display:grid !important;grid-template-columns:1fr !important;gap:12px !important;padding:14px !important;background:#fff !important;border:1px solid #e5e7eb !important;box-shadow:0 8px 20px rgba(15,23,42,.04);}.project-card-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;}.project-title-block{min-width:0;display:grid;gap:5px;}.project-item-friendly .project-name{font-size:18px;line-height:1.15;color:#111827;}.project-item-friendly .project-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:0;color:#64748b;font-size:12px;font-weight:800;}.project-item-friendly .project-stats span{display:inline-flex;align-items:center;gap:4px;}.compact-project-actions{justify-content:flex-end;flex-wrap:nowrap;}.project-member-preview{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;background:#f8fafc;border:1px solid #eef2f7;}.project-preview-label{color:#475569;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;display:inline-flex;align-items:center;gap:6px;}.project-member-pills{display:flex;gap:6px;flex-wrap:wrap;min-width:0;}.project-member-pill{display:inline-flex;align-items:center;max-width:180px;padding:5px 8px;background:#e0f2fe;color:#075985;font-size:11px;font-weight:900;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.project-member-pill.muted-pill{background:#f1f5f9;color:#64748b;}.project-manage-members-btn{white-space:nowrap;}.friendly-team-panel{background:#f8fbff !important;border:1px solid #bfdbfe !important;padding:12px !important;}.project-team-title-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px;}.project-team-title-row p{margin:4px 0 0;color:#64748b;font-size:12px;font-weight:800;}.friendly-member-table{display:grid;gap:8px;}.friendly-member-row{display:grid !important;grid-template-columns:minmax(220px,1.2fr) minmax(150px,.75fr) minmax(190px,.9fr) !important;gap:10px !important;padding:10px !important;background:#fff !important;border:1px solid #e5e7eb !important;align-items:end !important;}.project-member-control{display:grid;gap:5px;margin:0;min-width:0;}.project-member-control span{color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}.project-member-control select,.project-member-control input{width:100%;min-width:0;height:36px;padding:8px 9px;font-size:12px;font-weight:800;}.project-team-user strong,.project-team-user small{max-width:100%;}@media (max-width:760px){.project-card-topline{grid-template-columns:1fr;}.compact-project-actions{justify-content:flex-start;flex-wrap:wrap;}.project-member-preview{grid-template-columns:1fr;align-items:start;}.friendly-member-row{grid-template-columns:1fr !important;align-items:stretch !important;}}.access-modal-card{width:min(820px,96vw);}.access-popup-list{display:grid;gap:10px;}.access-popup-user{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;}.access-popup-info{display:grid;gap:6px;min-width:0;}.project-member-controls{display:grid;grid-template-columns:minmax(120px,180px) minmax(160px,1fr);gap:8px;align-items:end;margin-top:4px;}.project-member-control{display:grid;gap:4px;font-weight:800;min-width:0;}.project-member-control span{font-size:10px;color:#64748b;text-transform:uppercase;letter-spacing:.04em;}.project-member-control select,.project-member-control input{width:100%;min-width:0;padding:8px 9px;border:1px solid #d1d5db;background:#fff;color:#111827;font-weight:800;}.project-member-controls.readonly-member-controls select,.project-member-controls.readonly-member-controls input{background:#f8fafc;color:#64748b;}.project-member-preview .project-manage-members-btn{white-space:nowrap;}@media (max-width:700px){.access-popup-user{grid-template-columns:auto 1fr;}.access-popup-actions{grid-column:2;}.project-member-controls{grid-template-columns:1fr;}}.project-manager-card .project-member-preview{display:none !important;}.project-manager-sections{display:grid;grid-template-columns:1fr 1.35fr;gap:12px;align-items:start;}.project-inline-section{border:1px solid #e5e7eb;background:#f8fafc;padding:12px;display:grid;gap:10px;min-width:0;}.project-inline-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#334155;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}.project-inline-head strong{display:flex;align-items:center;gap:7px;color:#1f2937;}.project-inline-head span{font-size:11px;color:#64748b;text-transform:none;letter-spacing:0;}.project-inline-list{display:flex;flex-wrap:wrap;gap:7px;min-height:30px;align-items:center;}.project-inline-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;background:#e0f2fe;border:1px solid #bae6fd;color:#075985;font-size:12px;font-weight:900;padding:6px 8px;}.project-inline-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.project-inline-chip button{border:0;background:transparent;color:#075985;cursor:pointer;font-size:11px;padding:1px;line-height:1;}.project-inline-chip button:hover{color:#0f172a;}.project-inline-empty{color:#94a3b8;font-size:12px;font-weight:900;border:1px dashed #cbd5e1;padding:8px 10px;background:#fff;width:100%;text-align:center;}.project-inline-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;}.project-inline-add input{width:100%;min-width:0;border:1px solid #d1d5db;padding:9px 10px;background:#fff;font-weight:800;}.project-access-list-inline{display:grid;gap:8px;max-height:220px;overflow:auto;padding-right:2px;}.project-access-row-inline{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;background:#fff;border:1px solid #e5e7eb;padding:8px;}.project-access-row-inline.owner{background:#f0fdf4;border-color:#bbf7d0;}.project-access-row-main{display:grid;gap:2px;min-width:0;}.project-access-row-main strong,.project-access-row-main small,.project-access-row-main em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.project-access-row-main strong{font-size:13px;color:#111827;}.project-access-row-main small{font-size:11px;color:#64748b;font-weight:800;}.project-access-row-main em{font-style:normal;font-size:11px;color:#075985;font-weight:900;}.project-access-details-btn{justify-self:start;}@media (max-width:900px){.project-manager-sections{grid-template-columns:1fr;}.project-inline-add{grid-template-columns:1fr;}.project-access-row-inline{grid-template-columns:auto minmax(0,1fr);}.project-access-row-inline .btn,.project-access-row-inline .readonly-note{grid-column:2;justify-self:start;}}.access-modal-card{width:min(980px,96vw) !important;max-width:min(980px,96vw) !important;}.project-access-popup-list{display:block !important;max-height:min(62vh,560px);overflow:auto;padding-right:4px;}.project-access-table{display:grid;gap:0;border:1px solid #e5e7eb;background:#fff;}.project-access-table-head,.project-access-table-row{display:grid;grid-template-columns:72px minmax(210px,1.4fr) minmax(150px,.8fr) minmax(180px,1fr) 126px;align-items:center;gap:10px;padding:10px 12px;}.project-access-table-head{background:#f8fafc;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:1;}.project-access-table-row{border-bottom:1px solid #eef2f7;}.project-access-table-row:last-child{border-bottom:0;}.project-access-table-row.owner{background:#f0fdf4;}.project-access-picture{display:flex;align-items:center;justify-content:center;}.project-access-email{min-width:0;display:grid;gap:2px;}.project-access-email strong,.project-access-email span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.project-access-email strong{color:#111827;font-size:14px;font-weight:900;}.project-access-email span{color:#64748b;font-size:12px;font-weight:800;}.project-access-role select,.project-access-team select,.project-access-team input{width:100%;min-width:0;border:1px solid #d1d5db;background:#fff;color:#111827;padding:8px 9px;font-weight:800;}.project-access-role select:disabled,.project-access-team select:disabled,.project-access-team input[readonly]{background:#f8fafc;color:#64748b;cursor:not-allowed;}.project-access-action{display:flex;justify-content:flex-end;align-items:center;min-width:0;}.project-access-action .btn{white-space:nowrap;}.project-access-action .readonly-note{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 10px;background:#eef2ff;color:#1e3a8a;font-weight:900;font-size:12px;}@media (max-width:820px){.project-access-table-head{display:none;}.project-access-table-row{grid-template-columns:54px minmax(0,1fr);align-items:start;gap:8px 10px;padding:12px;}.project-access-picture{grid-row:1 / span 4;justify-content:flex-start;}.project-access-email,.project-access-role,.project-access-team,.project-access-action{grid-column:2;}.project-access-role::before,.project-access-team::before,.project-access-action::before{display:block;margin-bottom:4px;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}.project-access-role::before{content:"Role";}.project-access-team::before{content:"Team";}.project-access-action::before{content:"Action";}.project-access-action{justify-content:flex-start;}}#taskDataTable .table-title-button,.task-table .table-title-button{border:1px solid transparent;background:transparent;color:#111827;font-weight:900;width:220px;max-width:100%;padding:7px;text-align:left;line-height:1.2;cursor:pointer;font:inherit;}#taskDataTable .table-title-button:hover,.task-table .table-title-button:hover{color:#0073ea;text-decoration:underline;background:transparent;}:root{--mortx-todo-visible:#b8c4d1;--mortx-todo-text:#111827;}.status-todo .column-head,.todo,.timeline-status-todo,.card-select.todo,.table-select.todo,.table-pill.todo,.details-pill.todo,.history-status-pill.todo{background:var(--mortx-todo-visible) !important;color:var(--mortx-todo-text) !important;}.timeline-status-todo span,.timeline-legend .timeline-status-todo,.timeline-legend .timeline-status-todo+span,.status-todo .column-head *,.todo *,.card-select.todo *,.table-select.todo *{color:var(--mortx-todo-text) !important;}:root{--mortx-status-draft:#677489;--mortx-status-todo:#bac4d0;--mortx-status-progress:#3171e2;--mortx-status-review:#f1af54;--mortx-status-revision:#b33530;--mortx-status-done:#489967;--mortx-text-on-draft:#ffffff;--mortx-text-on-todo:#111827;--mortx-text-on-progress:#ffffff;--mortx-text-on-review:#111827;--mortx-text-on-revision:#ffffff;--mortx-text-on-done:#ffffff;}.status-draft .column-head{background:var(--mortx-status-draft) !important;color:var(--mortx-text-on-draft) !important;}.status-todo .column-head{background:var(--mortx-status-todo) !important;color:var(--mortx-text-on-todo) !important;}.status-in-progress .column-head{background:var(--mortx-status-progress) !important;color:var(--mortx-text-on-progress) !important;}.status-review-phase .column-head{background:var(--mortx-status-review) !important;color:var(--mortx-text-on-review) !important;}.status-for-revision .column-head{background:var(--mortx-status-revision) !important;color:var(--mortx-text-on-revision) !important;}.status-done .column-head{background:var(--mortx-status-done) !important;color:var(--mortx-text-on-done) !important;}.draft{background:var(--mortx-status-draft) !important;color:var(--mortx-text-on-draft) !important;}.todo{background:var(--mortx-status-todo) !important;color:var(--mortx-text-on-todo) !important;}.in-progress{background:var(--mortx-status-progress) !important;color:var(--mortx-text-on-progress) !important;}.review-phase{background:var(--mortx-status-review) !important;color:var(--mortx-text-on-review) !important;}.for-revision{background:var(--mortx-status-revision) !important;color:var(--mortx-text-on-revision) !important;}.done{background:var(--mortx-status-done) !important;color:var(--mortx-text-on-done) !important;}.card-select.draft,.table-select.draft,.table-pill.draft,.status-chip.draft,.details-pill.draft,.history-status-pill.draft{background:var(--mortx-status-draft) !important;color:var(--mortx-text-on-draft) !important;}.card-select.todo,.table-select.todo,.table-pill.todo,.status-chip.todo,.details-pill.todo,.history-status-pill.todo{background:var(--mortx-status-todo) !important;color:var(--mortx-text-on-todo) !important;}.card-select.in-progress,.table-select.in-progress,.table-pill.in-progress,.status-chip.in-progress,.details-pill.in-progress,.history-status-pill.in-progress{background:var(--mortx-status-progress) !important;color:var(--mortx-text-on-progress) !important;}.card-select.review-phase,.table-select.review-phase,.table-pill.review-phase,.status-chip.review-phase,.details-pill.review-phase,.history-status-pill.review-phase{background:var(--mortx-status-review) !important;color:var(--mortx-text-on-review) !important;}.card-select.for-revision,.table-select.for-revision,.table-pill.for-revision,.status-chip.for-revision,.details-pill.for-revision,.history-status-pill.for-revision{background:var(--mortx-status-revision) !important;color:var(--mortx-text-on-revision) !important;}.card-select.done,.table-select.done,.table-pill.done,.status-chip.done,.details-pill.done,.history-status-pill.done{background:var(--mortx-status-done) !important;color:var(--mortx-text-on-done) !important;}.timeline-status-draft{background:var(--mortx-status-draft) !important;color:var(--mortx-text-on-draft) !important;}.timeline-status-todo{background:var(--mortx-status-todo) !important;color:var(--mortx-text-on-todo) !important;}.timeline-status-in-progress{background:var(--mortx-status-progress) !important;color:var(--mortx-text-on-progress) !important;}.timeline-status-review-phase{background:var(--mortx-status-review) !important;color:var(--mortx-text-on-review) !important;}.timeline-status-for-revision{background:var(--mortx-status-revision) !important;color:var(--mortx-text-on-revision) !important;}.timeline-status-done{background:var(--mortx-status-done) !important;color:var(--mortx-text-on-done) !important;}.timeline-status-draft span,.timeline-status-in-progress span,.timeline-status-for-revision span,.timeline-status-done span{color:inherit !important;}.timeline-status-todo span,.timeline-status-review-phase span{color:var(--mortx-text-on-todo) !important;}.timeline-legend .legend-draft i,.timeline-legend .status-draft i{background:var(--mortx-status-draft) !important;}.timeline-legend .legend-todo i,.timeline-legend .status-todo i{background:var(--mortx-status-todo) !important;}.timeline-legend .legend-in-progress i,.timeline-legend .status-in-progress i{background:var(--mortx-status-progress) !important;}.timeline-legend .legend-review-phase i,.timeline-legend .status-review-phase i{background:var(--mortx-status-review) !important;}.timeline-legend .legend-for-revision i,.timeline-legend .status-for-revision i{background:var(--mortx-status-revision) !important;}.timeline-legend .legend-done i,.timeline-legend .status-done i{background:var(--mortx-status-done) !important;}.calendar-task.draft{border-left-color:var(--mortx-status-draft) !important;}.calendar-task.todo{border-left-color:var(--mortx-status-todo) !important;}.calendar-task.in-progress{border-left-color:var(--mortx-status-progress) !important;}.calendar-task.review-phase{border-left-color:var(--mortx-status-review) !important;}.calendar-task.for-revision{border-left-color:var(--mortx-status-revision) !important;}.calendar-task.done,.done-group-calendar{border-left-color:var(--mortx-status-done) !important;}.timeline-segment[data-status="Draft"]{background:var(--mortx-status-draft) !important;color:var(--mortx-text-on-draft) !important;}.timeline-segment[data-status="Todo"]{background:var(--mortx-status-todo) !important;color:var(--mortx-text-on-todo) !important;}.timeline-segment[data-status="In Progress"]{background:var(--mortx-status-progress) !important;color:var(--mortx-text-on-progress) !important;}.timeline-segment[data-status="Review Phase"]{background:var(--mortx-status-review) !important;color:var(--mortx-text-on-review) !important;}.timeline-segment[data-status="For Revision"]{background:var(--mortx-status-revision) !important;color:var(--mortx-text-on-revision) !important;}.timeline-segment[data-status="Done"]{background:var(--mortx-status-done) !important;color:var(--mortx-text-on-done) !important;}.timeline-toolbar{align-items:center !important;}.timeline-controls.timeline-range-controls{gap:10px !important;align-items:center !important;}.timeline-date-field{gap:6px !important;}.timeline-date-field span{font-size:11px !important;line-height:1 !important;letter-spacing:.05em !important;}.timeline-date-field input[type="date"]{height:42px !important;min-height:42px !important;width:178px !important;padding:8px 12px !important;border-radius:0 !important;font-size:18px !important;font-weight:900 !important;line-height:1 !important;}.timeline-preset-toggle{gap:4px !important;padding:4px !important;border-radius:0 !important;border:1px solid #475569 !important;background:#0f172a !important;box-shadow:none !important;}.timeline-preset-btn{min-height:38px !important;height:38px !important;padding:8px 15px !important;border-radius:0 !important;font-size:15px !important;line-height:1 !important;border:0 !important;}#timelinePrevRangeBtn,#timelineNextRangeBtn,#timelineTodayBtn{height:40px !important;min-height:40px !important;padding:8px 12px !important;border-radius:0 !important;}@media (max-width:900px){.timeline-date-field input[type="date"]{width:100% !important;}.timeline-preset-toggle{width:100% !important;justify-content:space-between !important;}.timeline-preset-btn{flex:1 !important;}}.timeline-preset-toggle{border:0 !important;outline:0 !important;box-shadow:none !important;}.access-avatar.has-photo{background:#0f172a !important;color:transparent !important;overflow:hidden !important;}.access-avatar img{display:block !important;width:100% !important;height:100% !important;object-fit:cover !important;border-radius:0 !important;}.viewer-readonly-task{cursor:pointer !important;}.viewer-readonly-task select,.viewer-readonly-task input,.viewer-readonly-task textarea{cursor:not-allowed !important;}:root{--mortx-board-column-max-height:calc(100vh - 360px);--mortx-board-column-min-scroll-height:360px;}.board .column{display:flex !important;flex-direction:column !important;max-height:max(520px,var(--mortx-board-column-max-height)) !important;overflow:hidden !important;}.board .column-head{flex:0 0 auto !important;}.board .column-body{flex:1 1 auto !important;min-height:var(--mortx-board-column-min-scroll-height) !important;overflow-y:auto !important;overflow-x:hidden !important;overscroll-behavior:contain !important;scrollbar-gutter:stable !important;}.board .column-body::-webkit-scrollbar{width:10px;}.board .column-body::-webkit-scrollbar-track{background:transparent;}.board .column-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:0 !important;border:3px solid transparent;background-clip:content-box;}@media (max-width:1000px){:root{--mortx-board-column-max-height:calc(100vh - 300px);}.board .column{max-height:620px !important;}}.assignee-filter-wrap select{min-width:210px;font-weight:800;background:#fff;}@media (max-width:640px){.assignee-filter-wrap,.assignee-filter-wrap select{width:100%;}}:root{--mw-bg:#f5f6fb;--mw-surface:#ffffff;--mw-surface-2:#f8fafc;--mw-text:#1f2937;--mw-muted:#64748b;--mw-border:#e5e7eb;--mw-border-strong:#cbd5e1;}:root{--mw-table-row-pad-y:7px;--mw-table-row-pad-x:10px;--mw-table-chip-h:30px;--mw-table-chip-font:11px;}#taskDataTable.task-table,#taskDataTable.dataTable{font-size:12px !important;line-height:1.22 !important;}#taskDataTable th,#taskDataTable td{padding:var(--mw-table-row-pad-y) var(--mw-table-row-pad-x) !important;line-height:1.22 !important;vertical-align:middle !important;}#taskDataTable th{font-size:11px !important;letter-spacing:.035em !important;padding-top:8px !important;padding-bottom:8px !important;}#taskDataTable td{min-height:0 !important;}#taskDataTable .table-text,#taskDataTable .project-cell .table-text,#taskDataTable .table-title-button{font-size:12px !important;line-height:1.18 !important;font-weight:900 !important;max-height:2.45em !important;overflow:hidden !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;}#taskDataTable .project-cell .table-text{text-transform:uppercase !important;}#taskDataTable .meta,#taskDataTable small{font-size:10px !important;line-height:1.2 !important;}#taskDataTable .table-select,#taskDataTable .table-pill,#taskDataTable .assignee-select,#taskDataTable .priority-select{height:var(--mw-table-chip-h) !important;min-height:var(--mw-table-chip-h) !important;max-height:var(--mw-table-chip-h) !important;padding:0 9px !important;font-size:var(--mw-table-chip-font) !important;line-height:1 !important;min-width:92px !important;max-width:140px !important;border-radius:0 !important;}#taskDataTable .assignee-select{min-width:86px !important;max-width:112px !important;overflow:hidden !important;text-overflow:ellipsis !important;}#taskDataTable .priority-select,#taskDataTable .table-pill.priority-pill{min-width:86px !important;max-width:118px !important;}#taskDataTable .card-actions{display:flex !important;align-items:center !important;gap:5px !important;flex-wrap:nowrap !important;min-width:130px !important;}#taskDataTable .card-actions .btn,#taskDataTable .btn.small{min-height:28px !important;height:28px !important;padding:0 8px !important;font-size:11px !important;border-radius:0 !important;line-height:1 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:4px !important;}#taskDataTable .btn i{margin-right:3px !important;font-size:10px !important;}#taskDataTable .output-cell,#taskDataTable .project-cell{white-space:normal !important;}#taskDataTable .output-cell .caption-popup-btn,#taskDataTable .output-cell .done-group-link{min-height:28px !important;padding:0 8px !important;font-size:10px !important;border-radius:0 !important;max-width:105px !important;}#taskDataTable .dtr-control:before{transform:translateY(-50%) scale(.82) !important;}.dt-container{padding:8px !important;}.dt-container .dt-layout-row{margin:0 0 6px !important;}.dt-container .dt-length,.dt-container .dt-search,.dt-container .dt-info,.dt-container .dt-paging{font-size:12px !important;}.dt-container .dt-length select,.dt-container .dt-search input{min-height:30px !important;height:30px !important;padding:4px 8px !important;font-size:12px !important;border-radius:0 !important;}table.dataTable>tbody>tr.child ul.dtr-details>li{padding:5px 0 !important;gap:8px !important;}table.dataTable>tbody>tr.child span.dtr-title,table.dataTable>tbody>tr.child span.dtr-data{font-size:11px !important;line-height:1.2 !important;}@media (max-width:900px){#taskDataTable th,#taskDataTable td{padding:6px 8px !important;}#taskDataTable .card-actions{flex-wrap:wrap !important;min-width:0 !important;}}#taskDataTable th:nth-child(1),#taskDataTable td:nth-child(1){width:24% !important;min-width:240px !important;max-width:360px !important;}#taskDataTable th:nth-child(2),#taskDataTable td:nth-child(2){width:9% !important;min-width:92px !important;max-width:130px !important;}#taskDataTable th:nth-child(5),#taskDataTable td:nth-child(5){width:10% !important;min-width:130px !important;}#taskDataTable .table-title-button{width:100% !important;max-width:100% !important;min-width:0 !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;white-space:normal !important;overflow:hidden !important;text-overflow:ellipsis !important;word-break:normal !important;overflow-wrap:break-word !important;line-height:1.22 !important;max-height:2.55em !important;padding:0 !important;background:transparent !important;border:0 !important;text-align:left !important;}#taskDataTable td:first-child{overflow:visible !important;}#taskDataTable td:first-child .table-title-button:hover{text-decoration:underline !important;}@media (max-width:1100px){#taskDataTable th:nth-child(1),#taskDataTable td:nth-child(1){min-width:220px !important;}}#taskDataTable td:first-child{overflow:hidden !important;}#taskDataTable .table-title,#taskDataTable .table-title-button,#taskDataTable td:first-child .table-title,#taskDataTable td:first-child .table-title-button{display:block !important;width:100% !important;max-width:100% !important;min-width:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;word-break:normal !important;overflow-wrap:normal !important;line-height:1.2 !important;max-height:1.3em !important;padding:0 !important;}#taskDataTable .table-title br,#taskDataTable .table-title-button br{display:none !important;}table.dataTable>tbody>tr.child .table-title-button{white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;max-height:2.6em !important;}#taskDataTable td:first-child{max-width:260px !important;width:260px !important;}#taskDataTable td:first-child .table-title-button,#taskDataTable td:first-child .table-title{display:block !important;width:100% !important;max-width:100% !important;min-width:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;-webkit-line-clamp:unset !important;-webkit-box-orient:unset !important;line-clamp:unset !important;}#taskDataTable td:first-child .table-title-button{text-align:left !important;}#taskDataTable td:first-child .table-title-button::after{content:"";}.output-review-audit{display:grid;gap:6px;margin:10px 0 12px;padding:10px 12px;border:1px solid #dbeafe;border-radius:0 !important;background:#f8fbff;color:#334155;font-size:12px;font-weight:800;line-height:1.4;}.output-review-audit strong{color:#0f172a;margin-right:4px;}.calendar-day-popup-task.draft{background:var(--mortx-status-draft,#677489) !important;color:var(--mortx-text-on-draft,#fff) !important;border-color:rgba(255,255,255,.18) !important;border-left-color:var(--mortx-status-draft,#677489) !important;}.calendar-day-popup-task.todo{background:var(--mortx-status-todo,#bac4d0) !important;color:var(--mortx-text-on-todo,#111827) !important;border-color:rgba(17,24,39,.18) !important;border-left-color:var(--mortx-status-todo,#bac4d0) !important;}.calendar-day-popup-task.in-progress{background:var(--mortx-status-progress,#3171e2) !important;color:var(--mortx-text-on-progress,#fff) !important;border-color:rgba(255,255,255,.18) !important;border-left-color:var(--mortx-status-progress,#3171e2) !important;}.calendar-day-popup-task.review-phase{background:var(--mortx-status-review,#f1af54) !important;color:var(--mortx-text-on-review,#111827) !important;border-color:rgba(17,24,39,.18) !important;border-left-color:var(--mortx-status-review,#f1af54) !important;}.calendar-day-popup-task.for-revision{background:var(--mortx-status-revision,#b33530) !important;color:var(--mortx-text-on-revision,#fff) !important;border-color:rgba(255,255,255,.18) !important;border-left-color:var(--mortx-status-revision,#b33530) !important;}.calendar-day-popup-task.done{background:var(--mortx-status-done,#489967) !important;color:var(--mortx-text-on-done,#fff) !important;border-color:rgba(255,255,255,.18) !important;border-left-color:var(--mortx-status-done,#489967) !important;}.calendar-day-popup-task.draft strong,.calendar-day-popup-task.draft span,.calendar-day-popup-task.in-progress strong,.calendar-day-popup-task.in-progress span,.calendar-day-popup-task.for-revision strong,.calendar-day-popup-task.for-revision span,.calendar-day-popup-task.done strong,.calendar-day-popup-task.done span{color:#fff !important;}.calendar-day-popup-task.todo strong,.calendar-day-popup-task.todo span,.calendar-day-popup-task.review-phase strong,.calendar-day-popup-task.review-phase span{color:#111827 !important;}.calendar-day-popup-task:hover{filter:brightness(1.06) !important;}.calendar-day-popup{background:transparent !important;background-color:transparent !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;pointer-events:none !important;}.calendar-day-popup-card{pointer-events:auto !important;}.calendar-day-popup::before,.calendar-day-popup::after{content:none !important;display:none !important;background:transparent !important;}.calendar-day-popup{background:rgba(0,0,0,.28) !important;background-color:rgba(0,0,0,.28) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;pointer-events:auto !important;}.calendar-day-popup-card{pointer-events:auto !important;background:#111827 !important;color:#f8fafc !important;border-color:#475569 !important;box-shadow:0 22px 70px rgba(0,0,0,.38) !important;}.calendar-day-popup::before,.calendar-day-popup::after{content:none !important;display:none !important;}.online-user-row.is-offline .online-user-avatar{filter:grayscale(.25);opacity:.82;}.online-user-row.is-offline .online-user-dot{background:#94a3b8;}.online-user-row.is-online .online-user-dot{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.14);}.online-user-info small{color:#94a3b8;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}/* Floating action buttons equal sizing patch */
:root{
  --mortx-floating-btn-size:54px;
  --mortx-floating-btn-radius:0;
  --mortx-floating-btn-icon:20px;
}.floating-add-task-btn,.notifications-toggle,.recurring-toggle,.online-users-toggle{
  width:var(--mortx-floating-btn-size) !important;
  height:var(--mortx-floating-btn-size) !important;
  min-width:var(--mortx-floating-btn-size) !important;
  min-height:var(--mortx-floating-btn-size) !important;
  max-width:var(--mortx-floating-btn-size) !important;
  max-height:var(--mortx-floating-btn-size) !important;
  padding:0 !important;
  border-radius:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  box-sizing:border-box !important;
}.floating-add-task-btn i,.notifications-toggle i,.recurring-toggle i,.online-users-toggle i{
  margin:0 !important;
  font-size:var(--mortx-floating-btn-icon) !important;
  line-height:1 !important;
}.notifications-count,.recurring-pending-count,.online-users-count{
  position:absolute !important;
  top:-7px !important;
  right:-7px !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:0 !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
  box-sizing:border-box !important;
}.notifications-widget,.recurring-widget,.online-users-widget{
  width:var(--mortx-floating-btn-size) !important;
  min-width:var(--mortx-floating-btn-size) !important;
}@media(max-width:640px){:root{--mortx-floating-btn-size:50px;--mortx-floating-btn-icon:19px;}
}/* Project access checkbox roles v20260525-27 */
.project-access-table.permission-access-table .project-access-table-head,.project-access-table.permission-access-table .project-access-table-row{
  grid-template-columns:72px minmax(210px,1.2fr) minmax(260px,1.25fr) minmax(160px,.85fr) 126px !important;
}.project-permission-checks{
  display:grid;
  grid-template-columns:repeat(3,minmax(82px,1fr));
  gap:8px;
  align-items:center;
}.project-permission-check{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  padding:7px 9px;
  border:1px solid #dbeafe;
  border-radius:0 !important;
  background:#f8fbff;
  color:#0f172a;
  font-size:12px;
  font-weight:900;
  line-height:1.1;
  cursor:pointer;
}.project-permission-check input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:#0073ea;
  flex:0 0 auto;
}.project-permission-check input:disabled{cursor:not-allowed;}.project-permission-check:has(input:disabled){opacity:.72;cursor:not-allowed;}.project-permission-check span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.project-member-permissions,.project-access-permissions{min-width:0;}.manager-permission-checks{grid-template-columns:repeat(3,minmax(82px,1fr));}.project-access-role.project-access-permissions::before{content:"";}@media(max-width:920px){.project-access-table.permission-access-table .project-access-table-row{grid-template-columns:54px minmax(0,1fr) !important;}.project-permission-checks{grid-template-columns:1fr 1fr 1fr;}.project-access-role.project-access-permissions::before{content:"Roles";}
}@media(max-width:560px){.project-permission-checks{grid-template-columns:1fr;}}/* MORTX patch v20260525-28: compact balanced timeline controls redesign */
.timeline-controls.timeline-range-controls{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}.timeline-range-controls .btn.small,#timelinePrevRangeBtn,#timelineNextRangeBtn,#timelineTodayBtn{
  height:38px!important;
  min-height:38px!important;
  border-radius:0 !important;
  padding:0 14px!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
}#timelinePrevRangeBtn,#timelineNextRangeBtn{
  width:38px!important;
  min-width:38px!important;
  padding:0!important;
  border-radius:0 !important;
}#timelineTodayBtn{
  min-width:84px!important;
}.timeline-date-field{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  min-width:0!important;
}.timeline-date-field span{
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:#64748b!important;
  padding-left:2px!important;
}.timeline-date-field input[type="date"]{
  height:38px!important;
  min-height:38px!important;
  width:146px!important;
  min-width:146px!important;
  padding:0 40px 0 12px!important;
  border-radius:0 !important;
  border:1px solid #cbd5e1!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:38px!important;
  font-variant-numeric:tabular-nums!important;
  box-shadow:none!important;
}.timeline-date-field input[type="date"]::-webkit-calendar-picker-indicator{
  opacity:.9!important;
  cursor:pointer!important;
}.timeline-preset-toggle{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:4px!important;
  border-radius:0 !important;
  background:#e2e8f0!important;
  border:1px solid #cbd5e1!important;
  box-shadow:none!important;
}.timeline-preset-btn{
  min-width:84px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:0 !important;
  background:transparent!important;
  color:#475569!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}.timeline-preset-btn:hover{
  background:rgba(255,255,255,.65)!important;
  color:#0f172a!important;
}.timeline-preset-btn.active{
  background:#1d4ed8!important;
  color:#fff!important;
}@media(max-width:900px){.timeline-controls.timeline-range-controls{
    justify-content:flex-start!important;
    align-items:stretch!important;
    gap:8px!important;
  }.timeline-date-field input[type="date"]{
    width:100%!important;
    min-width:0!important;
  }.timeline-preset-toggle{
    width:auto!important;
    max-width:100%!important;
  }.timeline-preset-btn{
    min-width:72px!important;
    flex:0 0 auto!important;
  }
}@media(max-width:640px){.timeline-controls.timeline-range-controls{
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) minmax(0,1fr) auto 38px!important;
    gap:8px!important;
    width:100%!important;
  }#timelinePrevRangeBtn{grid-column:1!important;}.timeline-date-field:nth-of-type(1){grid-column:2!important;}.timeline-date-field:nth-of-type(2){grid-column:3!important;}.timeline-preset-toggle{grid-column:1 / 4!important; width:max-content!important;}#timelineTodayBtn{grid-column:4!important; min-width:72px!important;}#timelineNextRangeBtn{grid-column:5!important;}
}/* MORTX patch v20260525-29: Workflow Levels 3-column layout + readable level text */

















/* MORTX patch v20260525-30: Workflow Levels use same table design as Status History */



















/* MORTX patch v20260525-31: clean Workflow Levels table layout */






















/* MORTX patch v20260525-32: keep output preview visible when opened from a specific level */
.caption-preview:not(.hidden){display:grid!important;}.caption-drive-combined-carousel{display:grid!important;}/* MORTX patch v20260525-33: always-visible output preview fallback */
.direct-output-preview{
  display:grid!important;
  gap:12px!important;
}.direct-output-preview-stage{
  border-radius:0 !important;
  overflow:hidden!important;
  background:#111827!important;
  min-height:260px!important;
  display:grid!important;
  place-items:center!important;
}.direct-output-preview-frame,.direct-output-preview-video{
  width:100%!important;
  min-height:360px!important;
  border:0!important;
  background:#0f172a!important;
}.direct-output-preview-image{
  width:100%!important;
  max-height:460px!important;
  object-fit:contain!important;
  background:#111827!important;
}.direct-output-preview-actions{
  margin-top:0!important;
}@media(max-width:720px){.direct-output-preview-frame,.direct-output-preview-video{min-height:240px!important;}.direct-output-preview-stage{min-height:220px!important;}
}/* MORTX patch v20260525-37: Bootstrap standard layout/design layer */
:root{
  --bs-primary:#0d6efd;
  --bs-success:#198754;
  --bs-warning:#ffc107;
  --bs-danger:#dc3545;
  --bs-border-color:#dee2e6;
  --mortx-surface:#ffffff;
  --mortx-soft:#f8f9fa;
  --mortx-text:#212529;
  --mortx-muted:#6c757d;
}body{
  background:#f8f9fa!important;
  color:var(--mortx-text)!important;
}.app{
  max-width:100%!important;
}.top,.column,.list-view,.calendar-view,.timeline-view,.project-panel,.detail-card,.detail-section,.readonly-detail-card,.subbox,.recurring-card,.notifications-card,.online-users-card{
  background:var(--mortx-surface)!important;
  border:1px solid var(--bs-border-color)!important;
  border-radius:0 !important;
  box-shadow:0 .5rem 1rem rgba(0,0,0,.075)!important;
}.version,.project-badge,.department-chip{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  border-radius:0 !important;
  padding:.35rem .65rem!important;
  background:#e7f1ff!important;
  color:#084298!important;
  font-size:.75rem!important;
  font-weight:700!important;
}h1,h2,h3{
  color:#212529!important;
  font-weight:700!important;
}.top p,.meta,.caption-meta,.detail-note,.field-help,.field-hint,.muted,.muted-note{
  color:var(--mortx-muted)!important;
}.btn,button.btn,.auth-dropdown-item,.view-toggle,.timeline-preset-btn,.caption-popup-btn{
  border-radius:0 !important;
  font-weight:600!important;
  transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out!important;
}.btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.35rem!important;
  border:1px solid transparent!important;
  min-height:38px!important;
  padding:.45rem .75rem!important;
}.btn.primary,.primary{
  background:var(--bs-primary)!important;
  border-color:var(--bs-primary)!important;
  color:#fff!important;
}.btn.primary:hover,.primary:hover{
  background:#0b5ed7!important;
  border-color:#0a58ca!important;
}.btn.light,.light{
  background:#f8f9fa!important;
  border-color:#dee2e6!important;
  color:#212529!important;
}.btn.light:hover,.light:hover{
  background:#e9ecef!important;
  border-color:#cfd4da!important;
}.btn.danger,.danger{
  background:#f8d7da!important;
  border-color:#f5c2c7!important;
  color:#842029!important;
}input:not([type="checkbox"]):not([type="radio"]),select,textarea,.form-control,.form-select{
  border:1px solid #ced4da!important;
  border-radius:0 !important;
  background:#fff!important;
  color:#212529!important;
  min-height:38px!important;
  padding:.45rem .75rem!important;
  box-shadow:none!important;
}input:focus,select:focus,textarea:focus{
  border-color:#86b7fe!important;
  outline:0!important;
  box-shadow:0 0 0 .25rem rgba(13,110,253,.25)!important;
}.field span,.details-field span,.prereq-level-field span{
  color:#495057!important;
  font-size:.8rem!important;
  font-weight:600!important;
}.board{
  gap:1rem!important;
}.column{
  overflow:hidden!important;
}.column-head{
  padding:.85rem 1rem!important;
  font-size:.9rem!important;
}.column-body{
  background:#f8f9fa!important;
}.task-card,.calendar-task,.combined-output-item,.project-item,.access-popup-user,.allowed-email-row,.online-user-row,.notification-item,.recurring-item{
  background:#fff!important;
  border:1px solid #dee2e6!important;
  border-radius:0 !important;
  box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important;
}.task-title-link,.table-title-button,.done-group-title{
  color:#212529!important;
  font-weight:700!important;
}.card-select,.table-select,.table-pill,.card-static,.details-pill,.history-status-pill,.workflow-status-pill{
  border-radius:0 !important;
  font-weight:700!important;
}.x{
  width:2rem!important;
  height:2rem!important;
  border-radius:0 !important;
  color:#6c757d!important;
  font-size:1.25rem!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}.x:hover{
  background:#f8f9fa!important;
  color:#212529!important;
}.view-switch,.timeline-preset-toggle{
  background:#e9ecef!important;
  border:1px solid #dee2e6!important;
  border-radius:0 !important;
  padding:.25rem!important;
}.view-toggle.active,.timeline-preset-btn.active{
  background:#fff!important;
  color:#0d6efd!important;
  box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important;
}.task-table,.status-history-compact-table,.workflow-levels-table{
  border-color:#dee2e6!important;
}.task-table th,.status-history-compact-row.head,.workflow-levels-head{
  background:#f8f9fa!important;
  color:#6c757d!important;
}.task-table td,.task-table th{
  border-color:#dee2e6!important;
}.floating-add-task-btn,.notifications-toggle,.recurring-toggle,.online-users-toggle{
  width:52px!important;
  height:52px!important;
  border-radius:0 !important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;
}.login-page{
  background:#f8f9fa!important;
}.login-card{
  background:#fff!important;
}/* MORTX patch v20260525-39: Standard typography hierarchy and balanced font sizing */
:root{
  --mx-font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mx-text-xs: 0.75rem;
  --mx-text-sm: 0.8125rem;
  --mx-text-base: 0.9375rem;
  --mx-text-md: 1rem;
  --mx-text-lg: 1.125rem;
  --mx-text-xl: 1.375rem;
  --mx-text-2xl: 1.75rem;
  --mx-text-3xl: 2rem;
  --mx-leading-tight: 1.2;
  --mx-leading-normal: 1.45;
  --mx-leading-relaxed: 1.6;
}html{
  font-size:16px!important;
}body{
  font-family:var(--mx-font-family)!important;
  font-size:var(--mx-text-base)!important;
  line-height:var(--mx-leading-normal)!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}h1,.h1{
  font-size:clamp(1.75rem, 1.35rem + 1.2vw, 2.25rem)!important;
  line-height:var(--mx-leading-tight)!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
}h3,.h3,.detail-section h3,.subbox h3,.status-history-compact-head h3,.recurring-card-head strong,.notifications-head strong,.online-users-head strong{
  font-size:var(--mx-text-lg)!important;
  line-height:var(--mx-leading-tight)!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
}h4,.h4{
  font-size:var(--mx-text-md)!important;
  line-height:var(--mx-leading-tight)!important;
  font-weight:800!important;
}p,.meta,.muted,.muted-note,.field-help,.field-hint,.detail-note,.timeline-toolbar p,.caption-meta,.calendar-task-meta,.login-card p{
  font-size:var(--mx-text-sm)!important;
  line-height:var(--mx-leading-relaxed)!important;
  font-weight:500!important;
}small,.small,.project-stats,.access-count,.online-user-info small,.notifications-summary,.recurring-summary,.calendar-task-meta,.detail-label,.details-kicker{
  font-size:var(--mx-text-xs)!important;
  line-height:var(--mx-leading-normal)!important;
}.version,.project-badge,.department-chip,.details-pill,.table-pill,.history-status-pill,.workflow-status-pill,.card-static,.card-select,.table-select,.caption-popup-btn,.output.card,.output.compact,.btn.small,.timeline-preset-btn{
  font-size:var(--mx-text-xs)!important;
  line-height:1!important;
  font-weight:800!important;
}.btn,button,.auth-dropdown-item,.view-toggle,.project-select-wrap label,.field span,.details-field span,.inline-edit span,.task-table th,.calendar-day-name,.status-history-compact-row.head,.workflow-levels-head,.prereq-header-row,.timeline-task-axis-head,.timeline-time-axis,.timeline-legend{
  font-size:var(--mx-text-sm)!important;
  line-height:1.2!important;
  font-weight:800!important;
}input,select,textarea,.form-control,.form-select{
  font-size:var(--mx-text-sm)!important;
  line-height:var(--mx-leading-normal)!important;
  font-weight:600!important;
}.task-title-link,.done-group-title,.table-title-button,.calendar-task-title,.combined-output-main strong,.readonly-value,.detail-card strong,.workflow-level-cell strong,.workflow-user-cell,.status-history-compact-row,.task-table td{
  font-size:var(--mx-text-sm)!important;
  line-height:1.35!important;
  font-weight:800!important;
}.details-hero h2{
  font-size:clamp(1.375rem, 1.1rem + .75vw, 1.875rem)!important;
  line-height:1.15!important;
  font-weight:850!important;
  letter-spacing:-.03em!important;
}.top-title h1,.login-card h1{
  font-size:clamp(1.8rem, 1.35rem + 1.1vw, 2.25rem)!important;
}.top-title p,.login-status{
  font-size:var(--mx-text-sm)!important;
  line-height:1.5!important;
}.column-head{
  font-size:var(--mx-text-md)!important;
  line-height:1.2!important;
  font-weight:850!important;
}.task-card.compact-card{
  font-size:var(--mx-text-sm)!important;
}.task-card-top .task-title-link{
  font-size:var(--mx-text-sm)!important;
  line-height:1.25!important;
}.compact-meta{
  font-size:var(--mx-text-xs)!important;
  line-height:1.45!important;
}.prereq-step-main strong{
  font-size:var(--mx-text-xs)!important;
  line-height:1.3!important;
}.prereq-step-main small{
  font-size:0.6875rem!important;
  line-height:1.25!important;
}.status-history-compact-row,.workflow-levels-row{
  font-size:var(--mx-text-sm)!important;
}.status-history-compact-row.head,.workflow-levels-head{
  font-size:var(--mx-text-xs)!important;
}.caption-popup-text,.readonly-box,.caption-comment-body{
  font-size:var(--mx-text-sm)!important;
  line-height:var(--mx-leading-relaxed)!important;
  font-weight:500!important;
}.auth-user-text,.auth-dropdown-item,.access-popup-info strong,.access-profile-name,.online-user-info strong,.notification-title,.recurring-item-title{
  font-size:var(--mx-text-sm)!important;
  line-height:1.25!important;
  font-weight:800!important;
}.timeline-date-field span{
  font-size:var(--mx-text-xs)!important;
  letter-spacing:.06em!important;
}.timeline-date-field input[type="date"]{
  font-size:var(--mx-text-sm)!important;
  font-weight:800!important;
}.timeline-hour-label,.timeline-task-label small{
  font-size:0.6875rem!important;
  line-height:1.25!important;
}.timeline-task-label strong{
  font-size:var(--mx-text-xs)!important;
  line-height:1.25!important;
}@media(max-width: 768px){html{font-size:15px!important;}.btn,button,input,select,textarea{
    font-size:var(--mx-text-sm)!important;
  }.top-title h1,.login-card h1{
    font-size:1.75rem!important;
  }.details-hero h2{
    font-size:1.35rem!important;
  }
}/* =========================================================
   MORTXWARE STRICT NO-RADIUS FINAL OVERRIDE
   Must stay at the end of style.css
   ========================================================= */
:root,body{
  --bs-border-radius:0 !important;
  --bs-border-radius-sm: 0 !important;
  --bs-border-radius-lg: 0 !important;
  --bs-border-radius-xl: 0 !important;
  --bs-border-radius-xxl: 0 !important;
  --bs-border-radius-2xl: 0 !important;
  --bs-border-radius-pill: 0 !important;
}*,*::before,*::after{
  border-radius:0 !important;
}/* =========================================================
   Board status alignment toggle
   ========================================================= */
.board-status-layout-toggle{
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px !important;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  height: 32px;
}.board-status-layout-btn{
  border: 0;
  background: transparent;
  color: #475569;
  height: 28px;
  min-height: 28px !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius:0 !important;
}.board-status-layout-btn.active{
  background: #0073ea;
  color: #fff;
}.board.board-status-layout-horizontal{
  display: grid;
  grid-template-columns: repeat(6, minmax(210px, 1fr));
  align-items: start;
}.board.board-status-layout-vertical{
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  overflow-x: hidden !important;
}.board.board-status-layout-vertical .column{
  min-height: 0 !important;
  width: 100%;
}.board.board-status-layout-vertical .column-head{
  min-height: 34px;
}.board.board-status-layout-vertical .column-body{
  min-height: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 7px;
  align-items: start;
}.board.board-status-layout-vertical .column-body > .empty{
  grid-column: 1 / -1;
  padding: 12px !important;
}.board.board-status-layout-vertical .task-card,.board.board-status-layout-vertical .task-card.compact-card{
  margin-bottom: 0 !important;
}@media (max-width: 720px){.board-status-layout-toggle{
    width: 100%;
  }.board-status-layout-btn{
    flex: 1;
  }.board.board-status-layout-vertical .column-body{
    grid-template-columns: 1fr;
  }
}/* Board toolbar: search left,alignment toggle right */
.board-toolbar{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  width:100% !important;
}.board-toolbar #searchInput{
  flex:1 1 360px !important;
  max-width:520px !important;
}.board-toolbar .board-status-layout-toggle{
  margin-left:auto !important;
  flex:0 0 auto !important;
}@media (max-width:640px){.board-toolbar{
    align-items:stretch !important;
    flex-direction:column !important;
  }.board-toolbar #searchInput{
    max-width:100% !important;
    width:100% !important;
  }.board-toolbar .board-status-layout-toggle{
    width:100% !important;
    margin-left:0 !important;
  }.board-toolbar .board-status-layout-btn{
    flex:1 1 0 !important;
    justify-content:center !important;
  }
}/* =========================================================
   Board vertical mode: one horizontal task row per status
   Status sections stack vertically; cards scroll left/right in one row.
   ========================================================= */
.board.board-status-layout-vertical{
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}.board.board-status-layout-vertical .column{
  width: 100% !important;
  min-height: 0 !important;
}.board.board-status-layout-vertical .column-body{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 7px !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 7px !important;
  scroll-snap-type: x proximity;
}.board.board-status-layout-vertical .task-card,.board.board-status-layout-vertical .task-card.compact-card,.board.board-status-layout-vertical .done-group-card{
  flex: 0 0 260px !important;
  width: 260px !important;
  max-width: 260px !important;
  margin: 0 !important;
  scroll-snap-align: start;
}.board.board-status-layout-vertical .column-body > .empty{
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 220px !important;
  margin: 0 !important;
}@media (max-width: 720px){.board.board-status-layout-vertical .task-card,.board.board-status-layout-vertical .task-card.compact-card,.board.board-status-layout-vertical .done-group-card{
    flex-basis: 82vw !important;
    width: 82vw !important;
    max-width: 82vw !important;
  }
}/* =========================================================
   Draggable status order
   ========================================================= */
#board .column.status-drag-item .column-head{
  align-items: center !important;
  gap: 8px !important;
  cursor: default;
}#board .status-drag-handle{
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  background: rgba(15,23,42,.18) !important;
  color: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: grab !important;
  flex: 0 0 auto !important;
  border-radius:0 !important;
}#board .status-drag-handle:active{
  cursor: grabbing !important;
}#board .status-drag-handle i{
  margin: 0 !important;
  pointer-events: none !important;
}.status-title-text{
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  flex: 1 1 auto !important;
}.status-count-badge{
  flex: 0 0 auto !important;
  font-variant-numeric: tabular-nums !important;
}#board .column.status-dragging{
  opacity: .45 !important;
  outline: 2px dashed #0073ea !important;
  outline-offset: -2px !important;
}#board .column.status-drag-over{
  outline: 2px solid #0073ea !important;
  outline-offset: -2px !important;
}#board.board-status-layout-vertical .column.status-drag-over{
  border-top-color: #0073ea !important;
}/* =========================================================
   Board layout isolation fix
   Keep Board Horizontal/Vertical layout from affecting other views.
   ========================================================= */
#board.hidden,.board.hidden,#board.board-status-layout-horizontal.hidden,#board.board-status-layout-vertical.hidden{
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}/* =========================================================
   Header widgets beside user dropdown
   Move notification,online users,and recurring widgets into top bar.
   ========================================================= */
.top-actions{
  position: relative !important;
  align-items: center !important;
  gap: 8px !important;
}.top-widget-group{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
  position: relative !important;
  z-index: 140 !important;
}.top-widget-group .notifications-widget,.top-widget-group .online-users-widget,.top-widget-group .recurring-widget{
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 140 !important;
  isolation: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}.top-widget-group .online-users-widget.hidden{
  display: none !important;
}.top-widget-group .notifications-toggle,.top-widget-group .online-users-toggle,.top-widget-group .recurring-toggle{
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  font-size: 14px !important;
  display: inline-grid !important;
  place-items: center !important;
  box-shadow: none !important;
  transform: none !important;
}.top-widget-group .notifications-toggle:hover,.top-widget-group .online-users-toggle:hover,.top-widget-group .recurring-toggle:hover{
  transform: none !important;
  filter: brightness(.96) !important;
  box-shadow: none !important;
}.top-widget-group .notifications-count,.top-widget-group .online-users-count,.top-widget-group .recurring-pending-count{
  top: -6px !important;
  right: -6px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  font-size: 10px !important;
  border: 1px solid #fff !important;
}.top-widget-group .notifications-card,.top-widget-group .online-users-card,.top-widget-group .recurring-card{
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 2147483001 !important;
  width: min(390px, calc(100vw - 24px)) !important;
  max-height: min(520px, calc(100vh - 110px)) !important;
  overflow: auto !important;
}.top-widget-group .online-users-card{
  width: min(320px, calc(100vw - 24px)) !important;
}.top-widget-group .recurring-card{
  width: min(460px, calc(100vw - 24px)) !important;
}.top-widget-group .notifications-list,.top-widget-group .online-users-list,.top-widget-group .recurring-list{
  max-height: min(420px, calc(100vh - 190px)) !important;
  overflow: auto !important;
}@media (max-width: 900px){.top-actions{
    width: 100% !important;
    justify-content: flex-start !important;
  }.top-widget-group{
    order: 1 !important;
  }.auth-box{
    order: 2 !important;
    width: auto !important;
  }
}@media (max-width: 560px){.top-widget-group .notifications-card,.top-widget-group .online-users-card,.top-widget-group .recurring-card{
    position: fixed !important;
    top: 64px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-height: calc(100vh - 84px) !important;
  }
}/* =========================================================
   MORTXWARE UNIFORM HEADER DROPDOWNS
   Notification / Users / Recurring / User menu
   ========================================================= */
.top-actions{
  align-items: center !important;
  gap: 8px !important;
}.top-widget-group,.auth-box{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}.top-widget-group > .online-users-widget,.top-widget-group > .notifications-widget,.top-widget-group > .recurring-widget{
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
}.top-widget-group > .online-users-widget.hidden{
  display: none !important;
}.auth-user-chip,.top-widget-group .notifications-toggle,.top-widget-group .online-users-toggle,.top-widget-group .recurring-toggle{
  height: 34px !important;
  min-height: 34px !important;
  border: 1px solid #334155 !important;
  background: #0f172a !important;
  color: #f8fafc !important;
  box-shadow: none !important;
  border-radius:0 !important;
}.auth-user-chip{
  padding: 0 10px 0 5px !important;
  gap: 7px !important;
}.top-widget-group .notifications-toggle,.top-widget-group .online-users-toggle,.top-widget-group .recurring-toggle{
  width: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
}.auth-user-chip:hover,.top-widget-group .notifications-toggle:hover,.top-widget-group .online-users-toggle:hover,.top-widget-group .recurring-toggle:hover{
  background: #1f2937 !important;
  border-color: #475569 !important;
  color: #fff !important;
  filter: none !important;
  transform: none !important;
}.auth-avatar,.online-user-avatar,.access-avatar{
  border-radius:0 !important;
}.top-widget-group .notifications-count,.top-widget-group .online-users-count,.top-widget-group .recurring-pending-count{
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ef4444 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
  border-radius:0 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}.auth-dropdown,.top-widget-group .notifications-card,.top-widget-group .online-users-card,.top-widget-group .recurring-card{
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 2147483001 !important;
  width: min(380px, calc(100vw - 24px)) !important;
  max-height: min(520px, calc(100vh - 110px)) !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #334155 !important;
  border-radius:0 !important;
  box-shadow: 0 18px 42px rgba(15,23,42,.24) !important;
  padding: 0 !important;
}.auth-dropdown.hidden,.top-widget-group .notifications-card.hidden,.top-widget-group .online-users-card.hidden,.top-widget-group .recurring-card.hidden{
  display: none !important;
}.auth-dropdown{
  width: min(280px, calc(100vw - 24px)) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  max-height: min(420px, calc(100vh - 110px)) !important;
  overflow: auto !important;
}.top-widget-group .online-users-card,.top-widget-group .recurring-card,.top-widget-group .notifications-card{
  width: min(380px, calc(100vw - 24px)) !important;
}.notifications-head,.online-users-head,.recurring-card-head{
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background: #0f172a !important;
  color: #f8fafc !important;
  border-bottom: 1px solid #334155 !important;
}.notifications-head > div,.recurring-card-head > div{
  display: grid !important;
  gap: 2px !important;
}.notifications-head strong,.online-users-head strong,.recurring-card-head strong{
  color: #f8fafc !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  margin: 0 !important;
}.notifications-head span,.online-users-head span,.recurring-card-head span{
  color: #cbd5e1 !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  margin: 0 !important;
}.notifications-list,.online-users-list,.recurring-list{
  max-height: min(460px, calc(100vh - 160px)) !important;
  overflow: auto !important;
  padding: 8px !important;
  background: #f8fafc !important;
  display: grid !important;
  gap: 6px !important;
}.auth-dropdown-item,.online-user-row,.notification-item,.recurring-item,.notifications-list > article,.notifications-list > div,.recurring-list > article,.recurring-list > div{
  width: 100% !important;
  min-height: 38px !important;
  padding: 9px 10px !important;
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb !important;
  border-radius:0 !important;
  box-shadow: none !important;
}.auth-dropdown-item{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  border-width: 0 0 1px 0 !important;
  text-align: left !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}.auth-dropdown-item:last-child{
  border-bottom: 0 !important;
}.auth-dropdown-item i{
  width: 16px !important;
  margin: 0 !important;
  text-align: center !important;
  color: inherit !important;
}.auth-dropdown-item:hover,.online-user-row:hover,.notification-item:hover,.recurring-item:hover,.notifications-list > article:hover,.notifications-list > div:hover,.recurring-list > article:hover,.recurring-list > div:hover{
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #111827 !important;
}.auth-dropdown-item.danger,.auth-dropdown-item.danger:hover{
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fecaca !important;
}.auth-dropdown-divider{
  display: block !important;
  height: 1px !important;
  margin: 0 !important;
  background: #e5e7eb !important;
}.online-user-row{
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) 10px !important;
  align-items: center !important;
  gap: 9px !important;
}.online-user-avatar{
  width: 32px !important;
  height: 32px !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #0f172a !important;
  color: #fff !important;
}.online-user-info{
  min-width: 0 !important;
  display: grid !important;
  gap: 1px !important;
}.online-user-info strong,.online-user-info span,.online-user-info small,.notification-title,.recurring-item-title{
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}.online-user-info strong,.notification-title,.recurring-item-title{
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}.online-user-info span,.online-user-info small,.notification-meta,.recurring-item-meta,.notifications-list small,.recurring-list small{
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}.online-user-dot{
  width: 9px !important;
  height: 9px !important;
  border-radius:0 !important;
}.notifications-empty,.online-users-empty,.recurring-empty,.notifications-list .empty,.online-users-list .empty,.recurring-list .empty{
  padding: 14px !important;
  background: #fff !important;
  border: 1px dashed #cbd5e1 !important;
  color: #64748b !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  border-radius:0 !important;
}@media (max-width: 560px){.auth-dropdown,.top-widget-group .notifications-card,.top-widget-group .online-users-card,.top-widget-group .recurring-card{
    position: fixed !important;
    top: 64px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-height: calc(100vh - 84px) !important;
  }
}/* =========================================================
   MORTXWARE FIX: Clean header dropdown structure + one-open UI
   Keep the four menus square,aligned,compact,and predictable.
   ========================================================= */
.top-row{
  align-items:flex-start !important;
}.top-actions{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
  z-index:5000 !important;
}.top-widget-group,.auth-box{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
  width:auto !important;
  min-width:0 !important;
}.top-widget-group > .online-users-widget,.top-widget-group > .notifications-widget,.top-widget-group > .recurring-widget{
  position:relative !important;
  inset:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  margin:0 !important;
  z-index:auto !important;
}.top-widget-group > .online-users-widget.hidden{
  display:none !important;
}.auth-user-chip,.top-widget-group .online-users-toggle,.top-widget-group .notifications-toggle,.top-widget-group .recurring-toggle{
  position:relative !important;
  height:34px !important;
  min-height:34px !important;
  padding:0 10px !important;
  background:#0b1220 !important;
  color:#f8fafc !important;
  border:1px solid #334155 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transform:none !important;
}.top-widget-group .online-users-toggle,.top-widget-group .notifications-toggle,.top-widget-group .recurring-toggle{
  width:36px !important;
  min-width:36px !important;
  padding:0 !important;
  display:inline-grid !important;
  place-items:center !important;
}.auth-user-chip{
  max-width:190px !important;
  gap:8px !important;
}.auth-avatar{
  width:24px !important;
  height:24px !important;
  border-radius:0 !important;
  flex:0 0 auto !important;
}.auth-user-text{
  max-width:115px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}.auth-user-chip:hover,.top-widget-group .online-users-toggle:hover,.top-widget-group .notifications-toggle:hover,.top-widget-group .recurring-toggle:hover,.auth-user-chip[aria-expanded="true"],.top-widget-group .online-users-toggle[aria-expanded="true"],.top-widget-group .notifications-toggle[aria-expanded="true"],.top-widget-group .recurring-toggle[aria-expanded="true"]{
  background:#111827 !important;
  border-color:#60a5fa !important;
  color:#fff !important;
  filter:none !important;
  transform:none !important;
}.top-widget-group .online-users-count,.top-widget-group .notifications-count,.top-widget-group .recurring-pending-count{
  position:absolute !important;
  top:-7px !important;
  right:-7px !important;
  min-width:17px !important;
  height:17px !important;
  padding:0 4px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#ef4444 !important;
  color:#fff !important;
  border:1px solid #fff !important;
  border-radius:0 !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
}.auth-dropdown,.top-widget-group .online-users-card,.top-widget-group .notifications-card,.top-widget-group .recurring-card{
  position:absolute !important;
  top:42px !important;
  right:0 !important;
  left:auto !important;
  bottom:auto !important;
  width:360px !important;
  max-width:calc(100vw - 32px) !important;
  max-height:min(520px,calc(100vh - 130px)) !important;
  padding:0 !important;
  margin:0 !important;
  background:#0f172a !important;
  color:#f8fafc !important;
  border:1px solid #334155 !important;
  border-radius:0 !important;
  box-shadow:0 18px 44px rgba(0,0,0,.35) !important;
  overflow:hidden !important;
  z-index:2147483001 !important;
}.auth-dropdown.hidden,.top-widget-group .online-users-card.hidden,.top-widget-group .notifications-card.hidden,.top-widget-group .recurring-card.hidden{
  display:none !important;
}.auth-dropdown{
  width:280px !important;
  display:block !important;
  overflow:auto !important;
}.top-widget-group .online-users-card,.top-widget-group .notifications-card,.top-widget-group .recurring-card{
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
}.notifications-head,.online-users-head,.recurring-card-head{
  min-height:42px !important;
  padding:10px 12px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  background:#020817 !important;
  color:#f8fafc !important;
  border:0 !important;
  border-bottom:1px solid #334155 !important;
  border-radius:0 !important;
}.notifications-head strong,.online-users-head strong,.recurring-card-head strong{
  color:#f8fafc !important;
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
  letter-spacing:.02em !important;
  margin:0 !important;
}.notifications-head span,.online-users-head span,.recurring-card-head span{
  color:#cbd5e1 !important;
  font-size:10px !important;
  line-height:1.1 !important;
  font-weight:800 !important;
  margin:0 !important;
}.notifications-list,.online-users-list,.recurring-list{
  min-height:0 !important;
  max-height:460px !important;
  overflow:auto !important;
  padding:8px !important;
  display:grid !important;
  gap:6px !important;
  background:#0b1220 !important;
  border-radius:0 !important;
}.auth-dropdown-item,.online-user-row,.notification-row,.notification-item,.recurring-item,.notifications-list > article,.recurring-list > article{
  width:100% !important;
  min-height:40px !important;
  margin:0 !important;
  padding:8px 10px !important;
  background:#111827 !important;
  color:#f8fafc !important;
  border:1px solid #334155 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}.auth-dropdown-item{
  min-height:40px !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  text-align:left !important;
  border-width:0 0 1px 0 !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}.auth-dropdown-item:last-child{
  border-bottom:0 !important;
}.auth-dropdown-item i{
  width:16px !important;
  min-width:16px !important;
  margin:0 !important;
  text-align:center !important;
}.online-user-row{
  display:grid !important;
  grid-template-columns:32px minmax(0,1fr) 9px !important;
  align-items:center !important;
  gap:9px !important;
}.notification-row{
  display:grid !important;
  grid-template-columns:30px minmax(0,1fr) !important;
  gap:9px !important;
  align-items:start !important;
  cursor:pointer !important;
}.notification-icon{
  width:28px !important;
  height:28px !important;
  display:grid !important;
  place-items:center !important;
  background:#1f2937 !important;
  border:1px solid #475569 !important;
  color:#e5e7eb !important;
  border-radius:0 !important;
}.notification-main,.notification-title-row,.online-user-info,.recurring-item-main{
  min-width:0 !important;
}.notification-title-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
}.notification-title-row strong,.online-user-info strong,.recurring-item-title{
  color:#f8fafc !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}.notification-title-row span{
  flex:0 0 auto !important;
  padding:3px 6px !important;
  background:#334155 !important;
  color:#f8fafc !important;
  border:1px solid #475569 !important;
  font-size:9px !important;
  font-weight:900 !important;
  line-height:1 !important;
}.notification-main small,.notification-main p,.online-user-info span,.online-user-info small,.recurring-item-meta,.recurring-list small{
  color:#94a3b8 !important;
  font-size:10px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  margin:2px 0 0 !important;
}.notification-main p{
  display:block !important;
  max-height:2.5em !important;
  overflow:hidden !important;
}.online-user-avatar{
  width:32px !important;
  height:32px !important;
  border-radius:0 !important;
  background-color:#334155 !important;
  color:#f8fafc !important;
}.online-user-dot{
  width:9px !important;
  height:9px !important;
  border-radius:0 !important;
}.auth-dropdown-item:hover,.online-user-row:hover,.notification-row:hover,.notification-item:hover,.recurring-item:hover,.notifications-list > article:hover,.recurring-list > article:hover{
  background:#1f2937 !important;
  border-color:#60a5fa !important;
  color:#fff !important;
}.auth-dropdown-item.danger,.auth-dropdown-item.danger:hover{
  background:#7f1d1d !important;
  color:#fff !important;
  border-color:#991b1b !important;
}.auth-dropdown-divider{
  display:block !important;
  height:1px !important;
  margin:0 !important;
  background:#334155 !important;
}.notifications-empty,.online-users-empty,.recurring-empty,.notifications-list .empty,.online-users-list .empty,.recurring-list .empty{
  padding:14px !important;
  background:#111827 !important;
  border:1px dashed #475569 !important;
  color:#94a3b8 !important;
  text-align:center !important;
  border-radius:0 !important;
  font-size:12px !important;
  font-weight:800 !important;
}@media (max-width:900px){.top-actions{
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
  }
}@media (max-width:560px){.auth-dropdown,.top-widget-group .online-users-card,.top-widget-group .notifications-card,.top-widget-group .recurring-card{
    position:fixed !important;
    top:72px !important;
    left:10px !important;
    right:10px !important;
    width:auto !important;
    max-width:none !important;
    max-height:calc(100vh - 92px) !important;
  }
}/* Final no-radius safety net */
*,*::before,*::after{border-radius:0!important;}/* =========================================================
   MORTXWARE FIX: Light-mode dropdown polish + no header overlap
   ========================================================= */
.auth-dropdown,.top-widget-group .online-users-card,.top-widget-group .notifications-card,.top-widget-group .recurring-card{
  top:calc(100% + 8px) !important;
}/* Keep dropdowns above content but below browser; JS places them below the header panel. */
.auth-dropdown,.top-widget-group .online-users-card,.top-widget-group .notifications-card,.top-widget-group .recurring-card{
  z-index:2147483001 !important;
}/* Final no-radius safety net */
*,*::before,*::after{border-radius:0!important;}/* =========================================================
   MORTXWARE FIX: Dropdown inner-content overlap cleanup
   The panels can float,but rows must breathe. No text stacking.
   ========================================================= */
.auth-dropdown,.top-widget-group .online-users-card,.top-widget-group .notifications-card,.top-widget-group .recurring-card{
  contain:layout paint !important;
}.top-widget-group .online-users-card,.top-widget-group .notifications-card,.top-widget-group .recurring-card{
  grid-template-rows:auto minmax(0,1fr) !important;
}.notifications-list,.online-users-list,.recurring-list{
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  min-height:0 !important;
  max-height:none !important;
  padding:8px !important;
}/* Online users: fixed avatar column + clean text stack */
.top-widget-group .online-users-list .online-user-row{
  display:grid !important;
  grid-template-columns:34px minmax(0,1fr) 10px !important;
  align-items:center !important;
  gap:10px !important;
  min-height:54px !important;
  height:auto !important;
  padding:8px 10px !important;
  overflow:hidden !important;
}.top-widget-group .online-user-avatar{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  align-self:center !important;
}.top-widget-group .online-user-info{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:2px !important;
  min-width:0 !important;
  overflow:hidden !important;
  line-height:1.15 !important;
}.top-widget-group .online-user-info strong,.top-widget-group .online-user-info span,.top-widget-group .online-user-info small{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  line-height:1.15 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}.top-widget-group .online-user-info strong{font-size:12px !important;}.top-widget-group .online-user-info span,.top-widget-group .online-user-info small{font-size:10px !important;}.top-widget-group .online-user-dot{
  align-self:center !important;
  justify-self:center !important;
  flex:0 0 auto !important;
}/* Notifications: title/badge/message stay inside one card */
.top-widget-group .notifications-list .notification-row{
  display:grid !important;
  grid-template-columns:32px minmax(0,1fr) !important;
  align-items:start !important;
  gap:10px !important;
  min-height:74px !important;
  height:auto !important;
  padding:9px 10px !important;
  overflow:hidden !important;
}.top-widget-group .notification-icon{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  margin-top:1px !important;
}.top-widget-group .notification-main{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  min-width:0 !important;
  overflow:hidden !important;
}.top-widget-group .notification-title-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:8px !important;
  align-items:center !important;
  min-width:0 !important;
  overflow:hidden !important;
}.top-widget-group .notification-title-row strong{
  display:block !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  line-height:1.15 !important;
  font-size:12px !important;
}.top-widget-group .notification-title-row span{
  flex:0 0 auto !important;
  white-space:nowrap !important;
  align-self:center !important;
}.top-widget-group .notification-main small,.top-widget-group .notification-main p{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  line-height:1.25 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}.top-widget-group .notification-main small{
  white-space:nowrap !important;
}.top-widget-group .notification-main p{
  white-space:normal !important;
  max-height:none !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
}/* Recurring tasks: actual generated classes are recurring-main/title-row/meta */
.top-widget-group .recurring-list .recurring-item{
  display:grid !important;
  grid-template-columns:28px minmax(0,1fr) auto !important;
  align-items:start !important;
  gap:10px !important;
  min-height:68px !important;
  height:auto !important;
  padding:9px 10px !important;
  overflow:hidden !important;
}.top-widget-group .recurring-check-wrap{
  width:24px !important;
  min-width:24px !important;
  margin:0 !important;
  padding:0 !important;
  align-self:start !important;
}.top-widget-group .recurring-main{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  min-width:0 !important;
  overflow:hidden !important;
}.top-widget-group .recurring-title-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:8px !important;
  align-items:center !important;
  min-width:0 !important;
}.top-widget-group .recurring-title-row strong,.top-widget-group .recurring-title-row .recurring-item-title{
  display:block !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  line-height:1.15 !important;
  font-size:12px !important;
}.top-widget-group .recurring-cadence{
  flex:0 0 auto !important;
  white-space:nowrap !important;
  font-size:9px !important;
  line-height:1 !important;
}.top-widget-group .recurring-meta,.top-widget-group .recurring-done-line,.top-widget-group .recurring-open-line{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  line-height:1.25 !important;
  font-size:10px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}.top-widget-group .recurring-delete{
  align-self:start !important;
  white-space:nowrap !important;
}/* Auth menu: prevent icon/text collision */
.auth-dropdown .auth-dropdown-item{
  display:grid !important;
  grid-template-columns:18px minmax(0,1fr) !important;
  align-items:center !important;
  gap:10px !important;
  min-height:42px !important;
  height:auto !important;
  overflow:hidden !important;
}.auth-dropdown .auth-dropdown-item i{
  grid-column:1 !important;
  justify-self:center !important;
}.auth-dropdown .auth-dropdown-item{
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}/* Mobile: use more width and cleaner row height */
@media (max-width:560px){
  .top-widget-group .online-users-list .online-user-row,
  .top-widget-group .notifications-list .notification-row,
  .top-widget-group .recurring-list .recurring-item{
    min-height:auto !important;
  }
}/* Final no-radius safety net */
*,*::before,*::after{border-radius:0!important;}/* =========================================================
   MORTXWARE FIX: User dropdown compact spacing
   - Do not let hidden auth menu items consume space
   - Normalize account menu row height
   ========================================================= */
.auth-dropdown{
  width:300px !important;
  max-height:none !important;
  overflow:hidden !important;
  padding:0 !important;
}.auth-dropdown.hidden{
  display:none !important;
}.auth-dropdown .auth-dropdown-item.hidden,.auth-dropdown .hidden{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  overflow:hidden !important;
}.auth-dropdown .auth-dropdown-item{
  display:grid !important;
  grid-template-columns:22px minmax(0,1fr) !important;
  align-items:center !important;
  column-gap:12px !important;
  min-height:46px !important;
  height:46px !important;
  padding:0 16px !important;
  margin:0 !important;
  border-width:0 0 1px 0 !important;
  line-height:1 !important;
  font-size:14px !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}.auth-dropdown .auth-dropdown-item i{
  width:22px !important;
  min-width:22px !important;
  height:22px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  font-size:14px !important;
  line-height:1 !important;
}.auth-dropdown .auth-dropdown-divider{
  display:block !important;
  width:100% !important;
  height:1px !important;
  min-height:1px !important;
  max-height:1px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  background:#e2e8f0 !important;
}.auth-dropdown .auth-dropdown-item.danger{
  min-height:48px !important;
  height:48px !important;
  border-bottom:0 !important;
}/* Final no-radius safety net */
*,*::before,*::after{border-radius:0!important;}/* =========================================================
   Header brand title patch
   ========================================================= */
.top-title.brand-title-row{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}.top-title.brand-title-row h1{
  margin: 0 !important;
  line-height: .95 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.04em !important;
}.top-title.brand-title-row .version,.brand-version-inline{
  margin: 0 !important;
  align-self: center !important;
  white-space: nowrap !important;
}.top-title.brand-title-row p{
  display: none !important;
}@media (max-width: 720px){.top-title.brand-title-row{
    gap: 8px !important;
  }.top-title.brand-title-row h1{
    font-size: 28px !important;
  }
}/* =========================================================
   MORTXWARE HEADER WIDTH / SPACING FIX
   Compact brand row,no weird empty right gutter,stable controls.
   ========================================================= */
.app.container-fluid{
  padding-left:18px !important;
  padding-right:18px !important;
}.top{
  width:100% !important;
  max-width:100% !important;
  padding:16px 18px !important;
  margin:0 0 12px !important;
  overflow:visible !important;
}.top-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  justify-content:normal !important;
  gap:14px !important;
  width:100% !important;
}.top-title,.top-title.brand-title-row{
  min-width:0 !important;
  max-width:100% !important;
  width:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}.top-title.brand-title-row h1{
  margin:0 !important;
  font-size:clamp(1.65rem, 1.15rem + 1.1vw, 2rem) !important;
  line-height:1 !important;
  letter-spacing:-.055em !important;
  white-space:nowrap !important;
}.brand-version-inline,.top-title.brand-title-row .version{
  display:inline-flex !important;
  align-items:center !important;
  height:24px !important;
  padding:0 10px !important;
  font-size:11px !important;
  line-height:1 !important;
  margin:0 !important;
  white-space:nowrap !important;
  max-width:none !important;
}.top-actions{
  justify-self:end !important;
  align-self:center !important;
  margin-left:0 !important;
  flex:0 0 auto !important;
  min-width:max-content !important;
}.top-controls-row{
  display:grid !important;
  grid-template-columns:auto auto minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  margin-top:14px !important;
  padding-top:14px !important;
}.top-controls-row .project-select-wrap{
  min-width:0 !important;
}.top-controls-row .project-select-wrap select{
  max-width:min(420px,32vw) !important;
}.top-controls-row .project-access-wrap{
  min-width:0 !important;
}.top-controls-row .panel-actions{
  grid-column:4 !important;
  justify-self:end !important;
  margin-left:0 !important;
  min-width:0 !important;
  max-width:100% !important;
}@media (max-width:980px){.top-row{
    grid-template-columns:1fr !important;
  }.top-actions{
    justify-self:start !important;
    min-width:0 !important;
    flex-wrap:wrap !important;
  }.top-controls-row{
    grid-template-columns:1fr !important;
  }.top-controls-row .panel-actions{
    grid-column:1 !important;
    justify-self:stretch !important;
  }.top-controls-row .project-select-wrap select{
    max-width:100% !important;
    width:100% !important;
  }
}@media (max-width:560px){.app.container-fluid{
    padding-left:10px !important;
    padding-right:10px !important;
  }.top{
    padding:12px !important;
  }.top-title.brand-title-row h1{
    font-size:1.45rem !important;
  }
}/* =========================================================
   MORTXWARE PATCH: move header user controls right only
   Do not alter dropdown panel positioning/behavior.
   ========================================================= */
.top{
  padding-right:8px !important;
}.top-row{
  grid-template-columns:minmax(0,1fr) max-content !important;
}.top-actions{
  justify-self:end !important;
  margin-left:auto !important;
  margin-right:0 !important;
  padding-right:0 !important;
  transform:none !important;
}.top-widget-group,.auth-box{
  margin-right:0 !important;
}.auth-box{
  margin-left:10px !important;
}@media (max-width:980px){.top{padding-right:12px !important;}.auth-box{margin-left:0 !important;}
}/* Project access leave button */
.project-access-table-row.current-user:not(.owner){
  background: rgba(0, 115, 234, 0.06) !important;
}.project-leave-btn{
  background: #eef6ff !important;
  color: #075985 !important;
  border: 1px solid #bfdbfe !important;
}.project-leave-btn:hover{
  background: #dbeafe !important;
  color: #0f3b73 !important;
}*,*::before,*::after{border-radius:0!important;}/* =========================================================
   Facebook-style lower-right chat boxes
   ========================================================= */
.chat-dock{
  position: fixed !important;
  right: 72px !important;
  bottom: 18px !important;
  z-index: 1200 !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 10px !important;
  pointer-events: none !important;
}.chat-box{
  width: 320px !important;
  height: 390px !important;
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .22) !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  border-radius:0 !important;
}.chat-head{
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  padding: 8px 10px !important;
  background: #0f172a !important;
  color: #fff !important;
  border-bottom: 1px solid #334155 !important;
}.chat-avatar{
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0073ea !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  overflow: hidden !important;
  border-radius:0 !important;
}.chat-avatar img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}.chat-user-main{
  min-width: 0 !important;
  display: grid !important;
  gap: 1px !important;
}.chat-user-main strong,.chat-user-main span{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}.chat-user-main strong{
  font-size: 12px !important;
  line-height: 1.15 !important;
}.chat-user-main span{
  font-size: 10px !important;
  color: #cbd5e1 !important;
}.chat-close,.chat-send{
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  border-radius:0 !important;
}.chat-close:hover{
  background: rgba(255,255,255,.12) !important;
}.chat-messages{
  padding: 10px !important;
  overflow-y: auto !important;
  background: #f8fafc !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}.chat-empty{
  margin: auto !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center !important;
  padding: 14px !important;
  border: 1px dashed #cbd5e1 !important;
}.chat-message{
  display: flex !important;
  flex-direction: column !important;
  max-width: 82% !important;
  gap: 2px !important;
}.chat-message.mine{
  align-self: flex-end !important;
  align-items: flex-end !important;
}.chat-message.theirs{
  align-self: flex-start !important;
  align-items: flex-start !important;
}.chat-bubble{
  padding: 7px 9px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
  border-radius:0 !important;
}.chat-message.mine .chat-bubble{
  background: #0073ea !important;
  color: #fff !important;
}.chat-message.theirs .chat-bubble{
  background: #e5e7eb !important;
  color: #111827 !important;
}.chat-message small{
  font-size: 9px !important;
  color: #94a3b8 !important;
  font-weight: 800 !important;
}.chat-date-separator{
  align-self: center !important;
  padding: 3px 8px !important;
  border: 1px solid #dbe3ef !important;
  background: #eef2f7 !important;
  color: #475569 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  margin: 4px 0 2px !important;
  border-radius:0 !important;
}.chat-form{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 0 !important;
  border-top: 1px solid #cbd5e1 !important;
  background: #fff !important;
}.chat-input{
  border: 0 !important;
  min-height: 40px !important;
  padding: 9px 10px !important;
  outline: 0 !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 12px !important;
}.chat-send{
  width: 42px !important;
  min-height: 40px !important;
  color: #0073ea !important;
  border-left: 1px solid #e5e7eb !important;
}.chat-send:hover{
  background: #eff6ff !important;
}.online-user-row[data-action="open-user-chat"],.project-access-table-row[data-action="open-user-chat"]{
  cursor: pointer !important;
}.online-user-row[data-action="open-user-chat"]:hover,.project-access-table-row[data-action="open-user-chat"]:hover{
  filter: brightness(.985) !important;
}@media (max-width: 760px){.chat-dock{
    right: 10px !important;
    left: 10px !important;
    bottom: 10px !important;
    justify-content: flex-end !important;
  }.chat-box{
    width: min(320px, calc(100vw - 20px)) !important;
  }.chat-box:not(:last-child){
    display: none !important;
  }
}*,*::before,*::after{ border-radius:0 !important; }/* =========================================================
   Chat popup refinements: minimize bubbles + left add button
   ========================================================= */
.chat-dock{
  right: 72px !important;
  left: auto !important;
  bottom: 18px !important;
  align-items: flex-end !important;
  gap: 10px !important;
}.chat-head{
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}.chat-head-actions{
  display: inline-grid !important;
  grid-template-columns: 28px 28px !important;
  gap: 2px !important;
  align-items: center !important;
}.chat-minimize,.chat-close{
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  border-radius:0 !important;
}.chat-minimize:hover,.chat-close:hover{
  background: rgba(255,255,255,.12) !important;
}.chat-minimized-stack{
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 8px !important;
  align-items: flex-end !important;
  pointer-events: auto !important;
}.chat-minimized-bubble{
  position: relative !important;
  width: 46px !important;
  height: 46px !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.24) !important;
  padding: 3px !important;
  cursor: pointer !important;
  border-radius:0 !important;
}.chat-minimized-bubble .chat-avatar.minimized{
  width: 100% !important;
  height: 100% !important;
  font-size: 16px !important;
}.chat-minimized-count{
  position: absolute !important;
  right: -5px !important;
  top: -5px !important;
  min-width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  background: #ef4444 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  border-radius:0 !important;
}.floating-add-task-btn{
  left: 18px !important;
  right: auto !important;
  bottom: 18px !important;
}@media (max-width: 760px){.chat-dock{
    right: 10px !important;
    left: 10px !important;
    bottom: 10px !important;
  }.chat-minimized-stack{
    flex-direction: row-reverse !important;
    flex-wrap: wrap-reverse !important;
  }.floating-add-task-btn{
    left: 12px !important;
    right: auto !important;
    bottom: 12px !important;
  }
}*,*::before,*::after{ border-radius:0 !important; }/* =========================================================
   Chat minimized avatar spacing fix
   ========================================================= */
.chat-dock{
  right: 18px !important;
  bottom: 18px !important;
  gap: 8px !important;
}.chat-minimized-stack{
  gap: 8px !important;
  align-items: flex-end !important;
}.chat-minimized-bubble{
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  overflow: visible !important;
}.chat-minimized-bubble .chat-avatar.minimized{
  width: 42px !important;
  height: 42px !important;
  font-size: 15px !important;
}.chat-avatar.has-photo{
  background: #e5e7eb !important;
}.chat-avatar.has-photo img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}.chat-minimized-count{
  right: -6px !important;
  top: -6px !important;
}.floating-add-task-btn{
  left: 18px !important;
  bottom: 18px !important;
}@media (max-width: 760px){.chat-dock{
    right: 12px !important;
    left: auto !important;
    bottom: 12px !important;
  }.chat-minimized-stack{
    flex-direction: column-reverse !important;
  }.floating-add-task-btn{
    left: 12px !important;
    bottom: 12px !important;
  }
}*,*::before,*::after{ border-radius:0 !important; }/* =========================================================
   Modal long-content scroll fix
   ========================================================= */






#detailsContent,.project-access-popup-list,.allowed-email-list,.recurring-manage-list,#departmentList,#fieldList{
  max-height: min(62vh, 620px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}*,*::before,*::after{ border-radius:0 !important; }/* =========================================================
   MORTX ADD TASK OUTPUT FIELD FIX
   Correct placeholder + taller long text initial output
   ========================================================= */







/* Option output choices for Add Task / workflow levels */
.initial-output-option-tools{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}.output-option-choices-field{
  display:grid !important;
  gap:4px !important;
  margin:0 !important;
}.output-option-choices-field span{
  font-size:11px !important;
  font-weight:900 !important;
  color:#475569 !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
}.output-option-choices-input,.collab-output-options-input{
  width:100% !important;
  min-height:34px !important;
  padding:7px 9px !important;
  border-radius:0 !important;
}.collab-output-options-field{
  grid-column:auto !important;
}.collaborative-level-row{
  grid-template-columns:auto auto minmax(0,1.2fr) minmax(140px,.7fr) minmax(180px,.9fr) auto !important;
}@media (max-width:1100px){.collaborative-level-row{
    grid-template-columns:auto auto minmax(0,1fr) minmax(140px,.7fr) auto !important;
  }.collab-output-options-field{
    grid-column:3 / 5 !important;
  }
}@media (max-width:760px){.collaborative-level-row{
    grid-template-columns:auto minmax(0,1fr) !important;
  }.collab-level-pill,.collab-output-type-field,.collab-output-options-field,.collaborative-level-row .prereq-remove-btn{
    grid-column:2 !important;
  }
}*,*::before,*::after{border-radius:0 !important;}/* MORTXWARE PATCH: custom fields + form templates */
.form-template-bar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;align-items:end;margin:0 0 10px;padding:10px;border:1px solid #d8e2ef;background:#f8fbff;}.form-template-bar .field{margin:0;}.form-template-bar select{width:100%;}.task-custom-fields-panel{grid-column:1/-1;border-top:1px solid #d8e2ef;margin-top:12px;padding-top:12px;}.task-custom-fields-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;}.task-custom-fields-head h3{font-size:13px;margin:0;font-weight:900;}.task-custom-fields-list{display:grid;gap:8px;}.task-custom-empty{border:1px dashed #cbd5e1;padding:10px;color:#64748b;font-weight:800;background:#fff;text-align:center;}.task-custom-field-row{border:1px solid #d8e2ef;background:#fff;padding:8px;}.task-custom-field-grid{display:grid;grid-template-columns:minmax(130px,1fr) 120px minmax(150px,1fr) minmax(180px,1.2fr) auto;gap:8px;align-items:end;}.task-custom-field-grid .field{margin:0;min-width:0;}.task-custom-field-grid input,.task-custom-field-grid select,.task-custom-field-grid textarea{width:100%;}.task-custom-field-grid textarea{min-height:72px;}.task-custom-remove-btn{white-space:nowrap;}@media (max-width:900px){.form-template-bar{grid-template-columns:1fr;}.task-custom-field-grid{grid-template-columns:1fr;}.task-custom-remove-btn{justify-self:start;}}*,*::before,*::after{border-radius:0 !important;}/* Safe no-team-settings patch: 4-column email access table after team permission removal */
.allowed-email-table .allowed-email-header,.allowed-email-table .allowed-email-row{grid-template-columns:minmax(180px,1fr) 150px 150px 110px !important;}/* Manage Teams moved to user dropdown */
.project-management-tools{display:flex;justify-content:flex-end;gap:8px;margin:0 0 10px;}.project-management-tools .btn{height:32px;min-height:32px;padding:6px 10px;font-size:12px;}/* =========================================================
   MORTXWARE STABLE BOOTSTRAP MODAL FIX
   Minimal overrides only: scroll behavior + table fit + square UI.
   Cache: mortx-cache-v20260526-stable-modals
   ========================================================= */

/* Keep Bootstrap modal behavior,only remove radius to match system style. */
.modal,.modal-dialog,.modal-content,.modal-header,.modal-body,.modal-footer,.btn-close{
  border-radius: 0 !important;
}/* Prevent old .hidden utility from fighting Bootstrap while a modal is open. */
.modal.show{
  display: block !important;
}/* Reliable scroll layout for long modals. */
.modal-dialog-scrollable .modal-content{
  max-height: calc(100vh - 3.5rem) !important;
  overflow: hidden !important;
}.modal-dialog-scrollable .modal-body{
  overflow-y: auto !important;
  overflow-x: hidden;
  min-height: 0;
}.modal-header,.modal-footer{
  flex-shrink: 0;
}/* Task form is inside modal-content; make it behave like Bootstrap's direct body/footer structure. */
#taskModal .modal-content > form{
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 3.5rem);
}#taskModal .modal-body{
  overflow-y: auto !important;
  min-height: 0;
}#taskModal .modal-footer{
  margin-top: 0;
}/* Wider only where content truly needs table space. */
#projectAccessModal .modal-dialog,#emailAccessModal .modal-dialog,#projectModal .modal-dialog{
  width: min(1320px, calc(100vw - 32px));
  max-width: min(1320px, calc(100vw - 32px));
}@media (max-width: 768px){.modal-dialog,#projectAccessModal .modal-dialog,#emailAccessModal .modal-dialog,#projectModal .modal-dialog{
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    margin: .5rem auto;
  }
}/* Modal table containers: scroll horizontally instead of overlapping. */
#projectAccessModal .modal-body,#emailAccessModal .modal-body,#projectModal .modal-body,#detailsModal .modal-body{
  overflow-x: auto;
}.allowed-email-list,.project-access-popup-list,.project-list,.status-history-compact-table,.readonly-detail-grid,.combined-output-list{
  max-width: 100%;
}/* Manage Emails table */
.allowed-email-table{
  width: 100%;
  min-width: 760px;
  border: 1px solid #dee2e6;
}.allowed-email-header,.allowed-email-row{
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) 150px 150px 120px !important;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #dee2e6;
}.allowed-email-header{
  background: #f8f9fa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
}.allowed-email-row:last-child{ border-bottom: 0; }.allowed-email-main{ min-width: 0; }.allowed-email-main strong,.allowed-email-main span{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}.email-permission-check{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}.allowed-email-actions{ display: flex; justify-content: flex-end; }/* Project Access table */
.project-access-table{
  width: 100%;
  min-width: 1080px;
  border: 1px solid #dee2e6;
}.project-access-table-head,.project-access-table-row{
  display: grid !important;
  grid-template-columns: 64px minmax(260px, 1.1fr) minmax(300px, 1.15fr) 190px 132px !important;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #dee2e6;
}.project-access-table-head{
  background: #f8f9fa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
}.project-access-table-row:last-child{ border-bottom: 0; }.project-access-table-row.owner{ background: #eefaf2; }.project-access-picture,.project-access-email,.project-access-role,.project-access-team,.project-access-action{ min-width: 0; }.project-access-email strong,.project-access-email span{
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}.project-access-email span{ color: #64748b; font-size: 12px; }.project-access-permissions{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(82px, max-content));
  gap: 8px;
  align-items: center;
  min-width: 0;
}.project-access-permissions label,.project-access-permissions .only-check{
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}.project-access-team select{ width: 100%; min-width: 0; }.project-access-action{ display: flex; justify-content: flex-end; }.project-access-action .btn,.allowed-email-actions .btn{
  white-space: nowrap;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}/* Manage Projects rows */
.project-management-tools{ display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }.project-list{ display: grid; gap: 10px; }.project-item{ grid-template-columns: minmax(260px, 1fr) auto; align-items: center; }.project-actions{ display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }/* Add/Edit task modal internals */
.form-template-bar{
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 8px;
  align-items: end;
}.task-custom-field-grid{
  grid-template-columns: minmax(160px, 1fr) 130px minmax(170px, 1fr) minmax(220px, 1.2fr) auto;
}.collaborative-level-row{
  grid-template-columns: auto auto minmax(220px, 1.2fr) minmax(150px, .75fr) minmax(170px, .85fr) auto !important;
}.collab-output-options-field{ min-width: 0; }.collab-output-options-field input{ width: 100%; }@media (max-width: 980px){.allowed-email-table,.project-access-table{ min-width: 0; border: 0; }.allowed-email-header,.project-access-table-head{ display: none !important; }.allowed-email-row,.project-access-table-row{
    grid-template-columns: 1fr !important;
    gap: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 8px;
  }.project-access-picture{ display: none; }.project-access-permissions{ grid-template-columns: repeat(3, minmax(80px, 1fr)); }.project-access-action,.allowed-email-actions{ justify-content: flex-start; }.form-template-bar,.task-custom-field-grid,.collaborative-level-row{ grid-template-columns: 1fr !important; }.project-item{ grid-template-columns: 1fr; }.project-actions{ justify-content: flex-start; }
}/* Final no-radius safety. */
*,*::before,*::after{ border-radius: 0 !important; }/* =========================================================
   MORTXWARE MODAL Z-INDEX + SCROLL STACK PATCH
   Fixes header widgets appearing above modals and footer/body overlap.
   Cache: mortx-cache-v20260526-modal-zfix
   ========================================================= */
.modal-backdrop,.modal-backdrop.show{
  z-index: 20000 !important;
}.modal,.modal.show{
  z-index: 20010 !important;
}.modal .modal-dialog{
  position: relative !important;
  z-index: 20020 !important;
}/* Keep app floating/header widgets below Bootstrap modals. */
.auth-dropdown,.online-users-card,.notifications-card,.recurring-card,.chatbox,.chat-bubble,.chat-minimized-bubble,.floating-add-task-btn,.calendar-day-popup{
  z-index: 1900 !important;
}/* Stable modal stack: header/body/footer should not overlap each other. */
.modal-dialog-scrollable .modal-content,.modal-content{
  display: flex !important;
  flex-direction: column !important;
  max-height: calc(100vh - 3.5rem) !important;
  overflow: hidden !important;
}.modal-header,.modal-footer{
  position: relative !important;
  flex: 0 0 auto !important;
  z-index: 2 !important;
  background: var(--bs-modal-bg, #fff) !important;
}.modal-body{
  position: relative !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
  z-index: 1 !important;
}/* Task modal has a form between modal-content and body/footer. Make that form the scroll stack. */
#taskModal .modal-content > form{
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}#taskModal .modal-body{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 1rem !important;
}#taskModal .modal-footer{
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin-top: 0 !important;
  flex-shrink: 0 !important;
}/* =========================================================
   MORTXWARE STANDARD MODAL TABLE STRUCTURE PATCH
   Uses real table/thead/tbody/tr/th/td markup and prevents header/body drift.
   Cache: mortx-cache-v20260526-standard-modal-tables
   ========================================================= */
.modal-table-wrap{
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}.modal-standard-table,table.allowed-email-table,table.project-access-table{
  display: table !important;
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 1px solid #dee2e6 !important;
}.modal-standard-table thead,.modal-standard-table tbody{
  display: table-header-group !important;
}.modal-standard-table tbody{
  display: table-row-group !important;
}.modal-standard-table tr,.modal-standard-table thead tr,.modal-standard-table tbody tr,table.allowed-email-table tr,table.project-access-table tr{
  display: table-row !important;
}.modal-standard-table th,.modal-standard-table td,table.allowed-email-table th,table.allowed-email-table td,table.project-access-table th,table.project-access-table td{
  display: table-cell !important;
  vertical-align: middle !important;
  padding: 10px 12px !important;
  border: 1px solid #dee2e6 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}.modal-standard-table th{
  background: #f8f9fa !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}.allowed-email-table th:nth-child(1),.allowed-email-table td:nth-child(1){ width: auto !important; }.allowed-email-table th:nth-child(2),.allowed-email-table td:nth-child(2),.allowed-email-table th:nth-child(3),.allowed-email-table td:nth-child(3){ width: 160px !important; }.allowed-email-table th:nth-child(4),.allowed-email-table td:nth-child(4){ width: 130px !important; }.project-access-table th:nth-child(1),.project-access-table td:nth-child(1){ width: 76px !important; text-align: center !important; }.project-access-table th:nth-child(2),.project-access-table td:nth-child(2){ width: 30% !important; }.project-access-table th:nth-child(3),.project-access-table td:nth-child(3){ width: 27% !important; }.project-access-table th:nth-child(4),.project-access-table td:nth-child(4){ width: 200px !important; }.project-access-table th:nth-child(5),.project-access-table td:nth-child(5){ width: 130px !important; }.allowed-email-main strong,.allowed-email-main span,.project-access-email strong,.project-access-email span{
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}.allowed-email-main span,.project-access-email span{
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}.project-access-permissions{
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  white-space: normal !important;
}.project-access-permissions label,.project-access-permissions .only-check{
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}.project-access-team select{
  width: 100% !important;
  min-width: 0 !important;
}.project-access-action,.allowed-email-actions{
  white-space: nowrap !important;
}.project-access-member-row.owner td{
  background: #eefaf2 !important;
}@media (max-width: 820px){table.allowed-email-table,table.project-access-table{
    min-width: 760px !important;
  }.project-access-table th:nth-child(2),.project-access-table td:nth-child(2){ width: 240px !important; }.project-access-table th:nth-child(3),.project-access-table td:nth-child(3){ width: 250px !important; }
}/* =========================================================
   STANDARD TABLE STRUCTURE PATCH - ALL TABLE-LIKE MODALS
   Uses real table/thead/tbody/tr/th/td alignment.
   ========================================================= */
.modal-standard-table,.workflow-levels-table,.status-history-compact-table,.project-team-table,.project-inline-access-table,.allowed-email-table,.project-access-table{
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  margin: 0 !important;
}.modal-standard-table thead th,.workflow-levels-table thead th,.status-history-compact-table thead th,.project-team-table thead th,.project-inline-access-table thead th,.allowed-email-table thead th,.project-access-table thead th{
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}.modal-standard-table td,.workflow-levels-table td,.status-history-compact-table td,.project-team-table td,.project-inline-access-table td,.allowed-email-table td,.project-access-table td{
  vertical-align: middle !important;
  min-width: 0 !important;
}.modal-table-wrap,.workflow-levels-table-wrap,.status-history-compact-table-wrap,.project-access-list-inline{
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  border: 1px solid #e5e7eb !important;
}/* Project Access table column stability */
.project-access-table th:nth-child(1),.project-access-table td:nth-child(1){ width: 74px !important; }.project-access-table th:nth-child(2),.project-access-table td:nth-child(2){ width: minmax(220px, 1fr) !important; }.project-access-table th:nth-child(3),.project-access-table td:nth-child(3){ width: 270px !important; }.project-access-table th:nth-child(4),.project-access-table td:nth-child(4){ width: 190px !important; }.project-access-table th:nth-child(5),.project-access-table td:nth-child(5){ width: 130px !important; }/* Manage Emails table column stability */
.allowed-email-table th:nth-child(1),.allowed-email-table td:nth-child(1){ width: auto !important; }.allowed-email-table th:nth-child(2),.allowed-email-table td:nth-child(2),.allowed-email-table th:nth-child(3),.allowed-email-table td:nth-child(3){ width: 160px !important; text-align: center !important; }.allowed-email-table th:nth-child(4),.allowed-email-table td:nth-child(4){ width: 130px !important; }/* Workflow levels/status history standard tables */
.workflow-levels-table th:nth-child(1),.workflow-levels-table td:nth-child(1){ width: 45% !important; }.workflow-levels-table th:nth-child(2),.workflow-levels-table td:nth-child(2){ width: 180px !important; }.workflow-levels-table th:nth-child(3),.workflow-levels-table td:nth-child(3){ width: 35% !important; }.status-history-compact-table th:nth-child(1),.status-history-compact-table td:nth-child(1){ width: 150px !important; }.status-history-compact-table th:nth-child(2),.status-history-compact-table td:nth-child(2),.status-history-compact-table th:nth-child(3),.status-history-compact-table td:nth-child(3){ width: 220px !important; }/* Manage Projects member/access tables */
.project-team-table th:nth-child(1),.project-team-table td:nth-child(1){ width: 36% !important; }.project-team-table th:nth-child(2),.project-team-table td:nth-child(2){ width: 64% !important; }.project-inline-access-table th:nth-child(1),.project-inline-access-table td:nth-child(1){ width: 70px !important; }.project-inline-access-table th:nth-child(2),.project-inline-access-table td:nth-child(2){ width: auto !important; }.project-inline-access-table th:nth-child(3),.project-inline-access-table td:nth-child(3){ width: 180px !important; }.project-inline-access-table th:nth-child(4),.project-inline-access-table td:nth-child(4){ width: 130px !important; }.project-team-user,.allowed-email-main,.project-access-row-main,.permission-user-cell,.workflow-user-cell{
  min-width: 0 !important;
  overflow: hidden !important;
}.project-team-user strong,.project-team-user small,.allowed-email-main strong,.allowed-email-main span,.project-access-row-main strong,.project-access-row-main small,.permission-user-cell strong,.permission-user-cell small,.workflow-user-cell{
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}.project-member-controls{
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) !important;
  gap: 10px !important;
  align-items: end !important;
}.project-member-control{
  min-width: 0 !important;
}.workflow-level-cell{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}.workflow-level-cell strong{
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}/* Disable old div-table display assumptions when those class names are on real tr/table elements. */
tr.project-access-table-row,tr.project-team-row,tr.workflow-levels-row,tr.status-history-compact-row,tr.allowed-email-entry-row{
  display: table-row !important;
}table.project-access-table .project-access-table-head,table.project-access-table .project-access-table-row,table.allowed-email-table .allowed-email-header,table.allowed-email-table .allowed-email-row,table.workflow-levels-table .workflow-levels-head,table.workflow-levels-table .workflow-levels-row,table.status-history-compact-table .status-history-compact-row{
  display: table-row !important;
}@media (max-width: 900px){.modal-standard-table,.project-access-table,.allowed-email-table,.project-team-table,.project-inline-access-table,.workflow-levels-table,.status-history-compact-table{
    min-width: 760px !important;
  }.project-member-controls{
    grid-template-columns: 1fr !important;
  }
}/* Final table display safety */
table.modal-standard-table,table.workflow-levels-table,table.status-history-compact-table,table.project-team-table,table.project-inline-access-table,table.allowed-email-table,table.project-access-table{
  display: table !important;
}table.modal-standard-table thead,table.workflow-levels-table thead,table.status-history-compact-table thead,table.project-team-table thead,table.project-inline-access-table thead,table.allowed-email-table thead,table.project-access-table thead{
  display: table-header-group !important;
}table.modal-standard-table tbody,table.workflow-levels-table tbody,table.status-history-compact-table tbody,table.project-team-table tbody,table.project-inline-access-table tbody,table.allowed-email-table tbody,table.project-access-table tbody{
  display: table-row-group !important;
}table.modal-standard-table tr,table.workflow-levels-table tr,table.status-history-compact-table tr,table.project-team-table tr,table.project-inline-access-table tr,table.allowed-email-table tr,table.project-access-table tr{
  display: table-row !important;
}table.modal-standard-table th,table.modal-standard-table td,table.workflow-levels-table th,table.workflow-levels-table td,table.status-history-compact-table th,table.status-history-compact-table td,table.project-team-table th,table.project-team-table td,table.project-inline-access-table th,table.project-inline-access-table td,table.allowed-email-table th,table.allowed-email-table td,table.project-access-table th,table.project-access-table td{
  display: table-cell !important;
}.project-access-table th:nth-child(2),.project-access-table td:nth-child(2){ width: 30% !important; }.project-access-table th:nth-child(3),.project-access-table td:nth-child(3){ width: 27% !important; }/* MORTX PATCH: hide zero-count header badges even when badge CSS uses display:flex !important */
.notifications-count.hidden,.recurring-pending-count.hidden,.online-users-count.hidden,.top-widget-group .notifications-count.hidden,.top-widget-group .recurring-pending-count.hidden,.top-widget-group .online-users-count.hidden{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}/* =========================================================
   Header controls cleanup: project label removed + search beside filters
   ========================================================= */
.top-controls-row .project-select-wrap label{
  display: none !important;
}.header-search-wrap{
  flex: 1 1 260px !important;
  min-width: 220px !important;
  max-width: 420px !important;
}.header-search-wrap #searchInput{
  width: 100% !important;
  min-height: 34px !important;
  height: 34px !important;
  margin: 0 !important;
}.top-controls-row .department-filter-wrap,.top-controls-row .assignee-filter-wrap{
  flex: 0 1 180px !important;
  min-width: 150px !important;
}.top-controls-row .department-filter-wrap select,.top-controls-row .assignee-filter-wrap select{
  width: 100% !important;
  min-width: 0 !important;
}.board-toolbar{
  justify-content: flex-end !important;
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}.board-toolbar #searchInput{
  display: none !important;
}@media (max-width: 1180px){.top-controls-row .panel-actions{
    width: 100% !important;
    justify-self: stretch !important;
  }.header-search-wrap{
    max-width: none !important;
  }
}@media (max-width: 720px){.header-search-wrap,.top-controls-row .department-filter-wrap,.top-controls-row .assignee-filter-wrap,.view-switch{
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }.board-toolbar{
    align-items: stretch !important;
  }
}/* =========================================================
   Header/search layout: view buttons moved to old toolbar row
   ========================================================= */
.board-toolbar{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}.board-toolbar .view-switch{
  flex: 0 0 auto !important;
  width: auto !important;
  margin-right: auto !important;
}.board-toolbar .board-status-layout-toggle{
  flex: 0 0 auto !important;
  margin-left: auto !important;
}.top-controls-row .panel-actions .view-switch{
  display: none !important;
}@media (max-width: 720px){.board-toolbar{
    align-items: stretch !important;
    flex-direction: column !important;
  }.board-toolbar .view-switch,.board-toolbar .board-status-layout-toggle{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }.board-toolbar .view-toggle,.board-toolbar .board-status-layout-btn{
    flex: 1 1 0 !important;
    justify-content: center !important;
  }
}/* =========================================================
   MORTX PATCH: keep search + team + assignee filters in one row
   ========================================================= */
.top-controls-row{
  display: grid !important;
  grid-template-columns: minmax(240px, 420px) auto minmax(520px, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 8px !important;
}.top-controls-row .project-select-wrap{
  grid-column: 1 !important;
}.top-controls-row .project-select-wrap select{
  width: 100% !important;
  max-width: none !important;
}.top-controls-row .project-access-wrap{
  grid-column: 2 !important;
  width: auto !important;
}.top-controls-row .panel-actions{
  grid-column: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) minmax(150px, 180px) minmax(150px, 180px) !important;
  align-items: center !important;
  gap: 8px !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  flex-wrap: nowrap !important;
}.top-controls-row .panel-actions > *{
  min-width: 0 !important;
}.header-search-wrap,.top-controls-row .department-filter-wrap,.top-controls-row .assignee-filter-wrap{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
}.header-search-wrap #searchInput,.top-controls-row .department-filter-wrap select,.top-controls-row .assignee-filter-wrap select{
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
}@media (max-width: 1180px){.top-controls-row{
    grid-template-columns: minmax(240px, 1fr) auto !important;
  }.top-controls-row .panel-actions{
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(260px, 1fr) minmax(150px, 180px) minmax(150px, 180px) !important;
  }
}@media (max-width: 760px){.top-controls-row{
    grid-template-columns: 1fr !important;
  }.top-controls-row .project-select-wrap,.top-controls-row .project-access-wrap,.top-controls-row .panel-actions{
    grid-column: 1 !important;
  }.top-controls-row .panel-actions{
    grid-template-columns: 1fr !important;
  }
}/* Project manager simplification patch */
#projectModal .project-list{
  gap: 12px !important;
}#projectModal .project-manager-card{
  display: block !important;
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid #dbe3ef !important;
}#projectModal .project-card-topline{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: start !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #edf2f7 !important;
}#projectModal .project-name{
  font-size: 16px !important;
  line-height: 1.2 !important;
}#projectModal .project-stats{
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 4px !important;
}#projectModal .compact-project-actions{
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
}#projectModal .project-manager-sections{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  gap: 12px !important;
  padding-top: 12px !important;
}#projectModal .project-inline-section{
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 10px !important;
}#projectModal .project-inline-head{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}#projectModal .project-inline-head strong{
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}#projectModal .project-inline-head span{
  font-size: 11px !important;
  color: #64748b !important;
  font-weight: 900 !important;
}#projectModal .project-inline-list{
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  min-height: 32px !important;
  align-items: center !important;
}#projectModal .project-inline-chip{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  max-width: 220px !important;
  padding: 6px 8px !important;
  background: #eaf5ff !important;
  border: 1px solid #bfdbfe !important;
  color: #075985 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}#projectModal .project-inline-chip span{
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}#projectModal .project-inline-chip button{
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
  line-height: 1 !important;
}#projectModal .project-inline-add{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  margin-top: 8px !important;
}#projectModal .project-inline-add input{
  width: 100% !important;
  min-width: 0 !important;
}#projectModal .project-inline-access-simple{
  align-self: start !important;
}#projectModal .project-access-simple-row{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}#projectModal .project-access-simple-main{
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}#projectModal .project-access-simple-main strong,#projectModal .project-access-simple-main small{
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}#projectModal .project-access-simple-main small{
  color: #64748b !important;
  font-weight: 800 !important;
}#projectModal .project-access-simple-main .detail-label{
  display: block !important;
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}@media (max-width: 900px){#projectModal .project-card-topline,#projectModal .project-manager-sections,#projectModal .project-access-simple-row,#projectModal .project-inline-add{
    grid-template-columns: 1fr !important;
  }#projectModal .compact-project-actions{
    justify-content: flex-start !important;
  }
}/* =========================================================
   Manage Projects — simplified clean project cards
   ========================================================= */
#projectModal .modal-dialog{
  max-width: min(1120px, calc(100vw - 48px)) !important;
}#projectModal .modal-body{
  background: #f8fafc !important;
}.project-manager-list-modern{
  display: grid !important;
  gap: 12px !important;
}.project-card-modern{
  background: #fff !important;
  border: 1px solid #d7e0ea !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .055) !important;
  padding: 14px !important;
}.pm-card-head{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: start !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #e5eaf0 !important;
}.pm-title-wrap{
  min-width: 0 !important;
}.pm-title-wrap h3{
  margin: 0 0 6px !important;
  color: #0f172a !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}.pm-meta{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 12px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}.pm-actions{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
}.pm-actions .btn{
  min-height: 32px !important;
  white-space: nowrap !important;
}.pm-teams-panel{
  padding-top: 12px !important;
}.pm-section-title{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}.pm-section-title span{
  color: #64748b !important;
  font-size: 11px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}.pm-team-chips{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-height: 32px !important;
  align-items: center !important;
}.pm-team-chip{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #eaf5ff !important;
  border: 1px solid #b7daf8 !important;
  color: #075985 !important;
  padding: 7px 9px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  max-width: 260px !important;
}.pm-team-chip span{
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}.pm-team-chip button{
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  width: 16px !important;
  height: 16px !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  flex: 0 0 auto !important;
}.pm-empty-inline{
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  color: #94a3b8 !important;
  border: 1px dashed #cbd5e1 !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}.pm-add-team-row{
  display: grid !important;
  grid-template-columns: minmax(160px, 1fr) auto !important;
  gap: 8px !important;
  margin-top: 10px !important;
  max-width: 720px !important;
}.pm-add-team-row input{
  min-width: 0 !important;
  height: 34px !important;
}@media (max-width: 900px){#projectModal .modal-dialog{
    max-width: calc(100vw - 20px) !important;
  }.pm-card-head{
    grid-template-columns: 1fr !important;
  }.pm-actions{
    justify-content: flex-start !important;
  }.pm-add-team-row{
    grid-template-columns: 1fr !important;
    max-width: none !important;
  }
}/* Project manager: keep Add Project beside the new project input */
#projectModal .project-add-inline-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:8px !important;
  align-items:center !important;
  margin:0 0 12px !important;
}#projectModal .project-add-inline-row #projectNameInput{
  width:100% !important;
  min-width:0 !important;
}#projectModal .project-add-inline-row #addProjectFromModalBtn{
  white-space:nowrap !important;
}@media (max-width:640px){#projectModal .project-add-inline-row{
    grid-template-columns:1fr !important;
  }#projectModal .project-add-inline-row #addProjectFromModalBtn{
    width:100% !important;
    justify-content:center !important;
  }
}


/* =========================================================
   MORTXWARE LIGHT-ONLY HEADER + DROPDOWN COLOR RESET
   This patch only fixes colors/backgrounds for header buttons,
   popups, and user menu. It does not change placement/layout.
   ========================================================= */
.top-widget-group .online-users-toggle,
.top-widget-group .notifications-toggle,
.top-widget-group .recurring-toggle,
.auth-user-chip {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
}
.top-widget-group .online-users-toggle i,
.top-widget-group .notifications-toggle i,
.top-widget-group .recurring-toggle i,
.auth-user-chip i,
.auth-chip-caret {
  color: #111827 !important;
}
.top-widget-group .online-users-toggle:hover,
.top-widget-group .notifications-toggle:hover,
.top-widget-group .recurring-toggle:hover,
.auth-user-chip:hover,
.top-widget-group .online-users-toggle[aria-expanded="true"],
.top-widget-group .notifications-toggle[aria-expanded="true"],
.top-widget-group .recurring-toggle[aria-expanded="true"],
.auth-user-chip[aria-expanded="true"] {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #0073ea !important;
}
.auth-dropdown,
.top-widget-group .online-users-card,
.top-widget-group .notifications-card,
.top-widget-group .recurring-card {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18) !important;
}
.notifications-head,
.online-users-head,
.recurring-card-head {
  background: #f8fafc !important;
  color: #111827 !important;
  border-bottom-color: #e5e7eb !important;
}
.notifications-head strong,
.online-users-head strong,
.recurring-card-head strong,
.notifications-head span,
.online-users-head span,
.recurring-card-head span {
  color: #111827 !important;
}
.notifications-list,
.online-users-list,
.recurring-list {
  background: #ffffff !important;
}
.auth-dropdown-item,
.online-user-row,
.notification-row,
.notification-item,
.recurring-item,
.notifications-list > article,
.notifications-list > div,
.recurring-list > article,
.recurring-list > div {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}
.auth-dropdown-item i,
.notification-icon i,
.online-user-info strong,
.online-user-info span,
.online-user-info small,
.notification-title-row strong,
.notification-title-row span,
.notification-main small,
.notification-main p,
.recurring-item-title,
.recurring-item-meta,
.recurring-list small {
  color: #111827 !important;
}
.notification-icon {
  background: #f1f5f9 !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
}
.auth-dropdown-item:hover,
.online-user-row:hover,
.notification-row:hover,
.notification-item:hover,
.recurring-item:hover,
.notifications-list > article:hover,
.notifications-list > div:hover,
.recurring-list > article:hover,
.recurring-list > div:hover {
  background: #eff6ff !important;
  color: #0f172a !important;
  border-color: #bfdbfe !important;
}
.auth-dropdown-item.danger,
.auth-dropdown-item.danger:hover {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fecaca !important;
}
.auth-dropdown-divider {
  background: #e5e7eb !important;
}
.notifications-empty,
.online-users-empty,
.recurring-empty,
.notifications-list .empty,
.online-users-list .empty,
.recurring-list .empty {
  background: #f8fafc !important;
  color: #64748b !important;
  border-color: #cbd5e1 !important;
}
.online-user-avatar {
  background-color: #e2e8f0 !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
}
.online-user-row.is-online .online-user-dot {
  background: #22c55e !important;
}
.online-user-row.is-offline .online-user-dot {
  background: #94a3b8 !important;
}

/* =========================================================
   Notification status badge colors
   Uses notification row tone classes from app.js:
   Todo = muted, In Progress = primary, Review Phase = warning,
   For Revision = danger, Done = success.
   ========================================================= */
.top-widget-group .notification-title-row span,
.notifications-list .notification-title-row span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 72px !important;
  padding: 4px 8px !important;
  border: 1px solid transparent !important;
  background: #e2e8f0 !important;
  color: #0f172a !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

.top-widget-group .notification-row.primary .notification-title-row span,
.notifications-list .notification-row.primary .notification-title-row span {
  background: #0073ea !important;
  border-color: #0073ea !important;
  color: #fff !important;
}

.top-widget-group .notification-row.warning .notification-title-row span,
.notifications-list .notification-row.warning .notification-title-row span {
  background: #fdab3d !important;
  border-color: #fdab3d !important;
  color: #111827 !important;
}

.top-widget-group .notification-row.danger .notification-title-row span,
.notifications-list .notification-row.danger .notification-title-row span {
  background: #e2445c !important;
  border-color: #e2445c !important;
  color: #fff !important;
}

.top-widget-group .notification-row.success .notification-title-row span,
.notifications-list .notification-row.success .notification-title-row span {
  background: #00c875 !important;
  border-color: #00c875 !important;
  color: #fff !important;
}

.top-widget-group .notification-row.muted .notification-title-row span,
.notifications-list .notification-row.muted .notification-title-row span {
  background: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #111827 !important;
}

.top-widget-group .notification-row.primary,
.notifications-list .notification-row.primary { border-left-color: #0073ea !important; }
.top-widget-group .notification-row.warning,
.notifications-list .notification-row.warning { border-left-color: #fdab3d !important; }
.top-widget-group .notification-row.danger,
.notifications-list .notification-row.danger { border-left-color: #e2445c !important; }
.top-widget-group .notification-row.success,
.notifications-list .notification-row.success { border-left-color: #00c875 !important; }
.top-widget-group .notification-row.muted,
.notifications-list .notification-row.muted { border-left-color: #9ca3af !important; }

/* =========================================================
   MORTXWARE ADD/EDIT TASK MODAL SPACING FIX
   Compact, aligned Bootstrap modal spacing without changing behavior.
   Cache: mortx-cache-v20260526-task-modal-spacing
   ========================================================= */
#taskModal .modal-dialog {
  width: min(1100px, calc(100vw - 48px)) !important;
  max-width: min(1100px, calc(100vw - 48px)) !important;
}

#taskModal .modal-content {
  max-height: calc(100vh - 56px) !important;
}

#taskModal .modal-header {
  padding: 14px 18px !important;
  min-height: 56px !important;
  align-items: center !important;
}

#taskModal .modal-header h2,
#taskModal #taskModalTitle {
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

#taskModal .modal-body.task-modal-body,
#taskModal .modal-body {
  padding: 14px 18px !important;
}

#taskModal .modal-footer {
  padding: 10px 18px !important;
  gap: 8px !important;
}

#taskModal .modal-footer .btn {
  min-height: 34px !important;
  padding: 7px 12px !important;
  font-size: 12px !important;
}

#taskModal .form-template-bar {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) auto auto !important;
  gap: 8px !important;
  align-items: end !important;
  margin: 0 0 12px !important;
  padding: 8px !important;
}

#taskModal .form-template-bar .btn {
  min-height: 34px !important;
  height: 34px !important;
  padding: 7px 10px !important;
  white-space: nowrap !important;
}

#taskModal .grid.row.g-3,
#taskModal .grid,
#taskModal #dynamicFields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 18px !important;
  margin: 0 !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

#taskModal .field,
#taskModal label.field {
  margin: 0 !important;
  gap: 4px !important;
  min-width: 0 !important;
}

#taskModal .field.full,
#taskModal .task-form-output-field,
#taskModal .task-collab-work-section,
#taskModal #dynamicFields .empty {
  grid-column: 1 / -1 !important;
}

#taskModal .field > span,
#taskModal .form-template-bar .field > span {
  font-size: 11px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

#taskModal input,
#taskModal select,
#taskModal textarea {
  min-height: 34px !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

#taskModal textarea,
#taskModal #notes {
  min-height: 58px !important;
}

#taskModal .field-hint,
#taskModal .field-help,
#taskModal small {
  font-size: 11px !important;
  line-height: 1.25 !important;
  margin-top: 2px !important;
}

#taskModal #taskSubbox,
#taskModal .subbox {
  margin-top: 12px !important;
  padding: 12px !important;
}

#taskModal #taskSubbox > h3,
#taskModal .task-custom-fields-head h3,
#taskModal .subbox h3 {
  margin: 0 0 10px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

#taskModal .task-custom-fields-panel {
  margin-top: 10px !important;
  padding-top: 10px !important;
}

#taskModal .task-custom-fields-head {
  margin-bottom: 8px !important;
}

#taskModal .task-custom-empty,
#taskModal .empty {
  padding: 10px !important;
  font-size: 12px !important;
}

#taskModal .task-collab-work-section,
#taskModal .collaborative-work-box,
#taskModal .prerequisite-level-box {
  margin-top: 12px !important;
  padding: 12px !important;
}

#taskModal .collaborative-level-row,
#taskModal .prereq-level-row {
  gap: 8px !important;
  padding: 8px !important;
  align-items: end !important;
}

#taskModal .collab-level-pill,
#taskModal .prereq-drag-handle,
#taskModal .prereq-remove-btn {
  min-height: 34px !important;
  height: 34px !important;
}

#taskModal .prereq-drag-handle {
  width: 34px !important;
  padding: 0 !important;
}

#taskModal .prereq-remove-btn {
  padding: 7px 10px !important;
}

#taskModal .task-form-output-field {
  margin-top: 0 !important;
}

#taskModal .task-form-output-field textarea,
#taskModal .task-form-output-field .output-caption-input,
#taskModal .task-form-output-field .caption-output-input {
  min-height: 120px !important;
}

@media (max-width: 820px) {
  #taskModal .modal-dialog {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin: 8px auto !important;
  }

  #taskModal .grid.row.g-3,
  #taskModal .grid,
  #taskModal #dynamicFields,
  #taskModal .form-template-bar {
    grid-template-columns: 1fr !important;
  }

  #taskModal .form-template-bar .btn,
  #taskModal .modal-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =========================================================
   MORTX PATCH: Task Details workflow levels layout fix
   Replaces cramped workflow table with responsive cards.
   ========================================================= */
.workflow-details-list{
  display:grid !important;
  gap:10px !important;
  width:100% !important;
}
.workflow-detail-card{
  display:grid !important;
  grid-template-columns:minmax(210px,1.25fr) minmax(120px,.65fr) minmax(180px,1fr) minmax(120px,.65fr) minmax(110px,.55fr) !important;
  gap:10px !important;
  align-items:center !important;
  padding:12px !important;
  border:1px solid #e5e7eb !important;
  border-left:4px solid #94a3b8 !important;
  background:#fff !important;
  border-radius:0 !important;
  min-width:0 !important;
}
.workflow-detail-card.ready,
.workflow-detail-card.done{
  border-left-color:#00c875 !important;
  background:#f8fffb !important;
}
.workflow-detail-card.progress,
.workflow-detail-card.in-progress{
  border-left-color:#0073ea !important;
  background:#f8fbff !important;
}
.workflow-detail-card.review,
.workflow-detail-card.review-phase{
  border-left-color:#fdab3d !important;
  background:#fffaf3 !important;
}
.workflow-detail-card.waiting,
.workflow-detail-card.todo{
  border-left-color:#9ca3af !important;
}
.workflow-detail-card.blocked,
.workflow-detail-card.for-revision{
  border-left-color:#e2445c !important;
  background:#fff7f8 !important;
}
.workflow-detail-card.current-card-level{
  outline:2px solid rgba(0,115,234,.18) !important;
  outline-offset:-2px !important;
}
.workflow-detail-level{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  min-width:0 !important;
}
.workflow-detail-index{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:26px !important;
  height:26px !important;
  border:1px solid #dbeafe !important;
  background:#eff6ff !important;
  color:#075985 !important;
  font-size:12px !important;
  font-weight:900 !important;
  flex:0 0 auto !important;
}
.workflow-detail-title{
  display:grid !important;
  gap:2px !important;
  min-width:0 !important;
}
.workflow-detail-title strong,
.workflow-detail-value{
  display:block !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:13px !important;
  line-height:1.25 !important;
}
.workflow-detail-title small{
  color:#0073ea !important;
  font-size:11px !important;
  font-weight:900 !important;
}
.workflow-detail-meta{
  display:grid !important;
  gap:4px !important;
  min-width:0 !important;
}
.workflow-detail-label{
  color:#64748b !important;
  font-size:10px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  letter-spacing:.05em !important;
}
.workflow-detail-value.muted{
  color:#94a3b8 !important;
}
.workflow-detail-value.has-output{
  color:#166534 !important;
}
.workflow-status-pill{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:max-content !important;
  max-width:100% !important;
  min-height:26px !important;
  padding:5px 9px !important;
  color:#fff !important;
  background:#64748b !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  border-radius:0 !important;
}
.workflow-status-pill.ready,
.workflow-status-pill.done{background:#00c875 !important;}
.workflow-status-pill.progress,
.workflow-status-pill.in-progress{background:#0073ea !important;}
.workflow-status-pill.review,
.workflow-status-pill.review-phase{background:#fdab3d !important;color:#111827 !important;}
.workflow-status-pill.waiting,
.workflow-status-pill.todo{background:#9ca3af !important;color:#111827 !important;}
.workflow-status-pill.blocked,
.workflow-status-pill.for-revision{background:#e2445c !important;}
@media (max-width: 980px){
  .workflow-detail-card{
    grid-template-columns:1fr 1fr !important;
    align-items:start !important;
  }
  .workflow-detail-level{
    grid-column:1 / -1 !important;
  }
}
@media (max-width: 560px){
  .workflow-detail-card{
    grid-template-columns:1fr !important;
  }
}

/* =========================================================
   Shareable link toast
   ========================================================= */
.share-link-toast{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:2147483647;
  max-width:min(320px,calc(100vw - 44px));
  padding:12px 14px;
  background:#0f172a;
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 18px 42px rgba(15,23,42,.28);
  opacity:0;
  transform:translateY(12px);
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.share-link-toast.show{
  opacity:1;
  transform:translateY(0);
}
.share-card-actions{
  margin-top:0 !important;
}
@media (max-width:760px){
  .share-link-toast{
    left:14px;
    right:14px;
    bottom:14px;
    max-width:none;
    text-align:center;
  }
}


/* Calendar day popup: reuse the same visual language as calendar task cards, not solid status blocks. */
.calendar-day-popup-list {
  display: grid !important;
  gap: 7px !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 7px !important;
  border: 1px solid #e5e7eb !important;
  border-left: 5px solid #0073ea !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.06) !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 12px !important;
  filter: none !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task.draft {
  background: #f8fafc !important;
  border-left-color: #64748b !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task.todo {
  background: #f9fafb !important;
  border-left-color: #9ca3af !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task.in-progress {
  background: #eff6ff !important;
  border-left-color: #0073ea !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task.review-phase {
  background: #fff7ed !important;
  border-left-color: #fdab3d !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task.for-revision {
  background: #fef2f2 !important;
  border-left-color: #b33530 !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task.done {
  background: #f0fdf4 !important;
  border-left-color: #00c875 !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task .calendar-task-title {
  color: #1f2937 !important;
  font-weight: 900 !important;
  margin-bottom: 3px !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task .calendar-task-meta {
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}
.calendar-day-popup-list .calendar-day-popup-task.calendar-task:hover {
  filter: none !important;
  background-image: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) !important;
  border-top-color: #dbeafe !important;
  border-right-color: #dbeafe !important;
  border-bottom-color: #dbeafe !important;
}
body.dark-mode .calendar-day-popup-list .calendar-day-popup-task.calendar-task .calendar-task-title,
.dark-mode .calendar-day-popup-list .calendar-day-popup-task.calendar-task .calendar-task-title {
  color: #e5e7eb !important;
}
body.dark-mode .calendar-day-popup-list .calendar-day-popup-task.calendar-task .calendar-task-meta,
.dark-mode .calendar-day-popup-list .calendar-day-popup-task.calendar-task .calendar-task-meta {
  color: #94a3b8 !important;
}
body.dark-mode .calendar-day-popup-list .calendar-day-popup-task.calendar-task,
.dark-mode .calendar-day-popup-list .calendar-day-popup-task.calendar-task {
  background: #111827 !important;
  border-color: #334155 !important;
}

/* MORTX PATCH: Manage Teams moved to user dropdown */
#projectModal .project-management-tools{display:none !important;}
.auth-dropdown #departmentSettingsBtn{display:flex;}
.auth-dropdown #departmentSettingsBtn.hidden{display:none !important;}

/* Global team manager patch */
.project-inline-teams,
.pm-teams-panel {
  display: none !important;
}
.dept-name-btn {
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 900;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 2px;
}
.dept-name-btn:hover {
  color: #0073ea;
}
.dept-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.legacy-team-note {
  color: #64748b;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 900;
}


/* Simple team manager modal */
.simple-team-modal .modal-body{background:#fff !important;}
.simple-team-manager{display:grid;gap:14px;}
.simple-team-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid #e5e7eb;background:#f8fafc;}
.simple-team-add-row input{width:100%;min-height:42px;font-weight:800;}
.simple-team-list{display:grid;gap:10px;max-height:min(58vh,520px);overflow:auto;padding-right:4px;}
.simple-team-item{display:grid !important;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:0 !important;padding:12px !important;background:#fff !important;border:1px solid #e5e7eb !important;}
.simple-team-item.active{border-color:#7dd3fc !important;background:#f0f9ff !important;}
.simple-team-name{border:0;background:transparent;text-align:left;padding:0;display:block;min-width:0;cursor:pointer;}
.simple-team-name span{font-size:14px;font-weight:900;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

.simple-team-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
@media (max-width:640px){.simple-team-add-row,.simple-team-item{grid-template-columns:1fr;}.simple-team-actions{justify-content:flex-start;}.simple-team-add-row .btn{width:100%;justify-content:center;}}


/* Manage Emails: team assignment + manage-team permission */
.allowed-email-team-cell{min-width:170px !important;}
.allowed-email-team-select{width:100% !important;min-width:150px !important;font-weight:800;}
.allowed-email-table th:nth-child(1),.allowed-email-table td:nth-child(1){width:auto !important;}
.allowed-email-table th:nth-child(2),.allowed-email-table td:nth-child(2){width:190px !important;}
.allowed-email-table th:nth-child(3),.allowed-email-table td:nth-child(3),
.allowed-email-table th:nth-child(4),.allowed-email-table td:nth-child(4),
.allowed-email-table th:nth-child(5),.allowed-email-table td:nth-child(5){width:150px !important;text-align:center !important;}
.allowed-email-table th:nth-child(6),.allowed-email-table td:nth-child(6){width:130px !important;}
@media (max-width: 900px){
  .allowed-email-team-cell,.allowed-email-team-select{width:100% !important;min-width:0 !important;}
}
