[hidden]{display:none!important}
.button-link{display:block;text-align:center;text-decoration:none;border-radius:8px;padding:10px 15px;font-weight:650}
.outline-link{margin-top:12px;border:1px solid #c7cbd4;color:#4338ca;background:#fff}
.outline-link:hover{background:#f5f3ff}
.role-label{padding:4px 8px;border-radius:20px;background:#374151;color:#e5e7eb!important}
.approval-check{display:flex;grid-auto-flow:column;align-items:center;justify-content:flex-start;gap:7px;font-weight:500}
.approval-check input{width:17px;height:17px}
.role-select{min-width:250px}
.login-notice{display:grid;gap:4px;margin:4px 0 2px;padding:12px 13px;text-align:left;color:#344054;background:#f0f5ff;border:1px solid #d7e3ff;border-radius:10px}.login-notice strong{color:#2541a8;font-size:13px}.login-notice span{font-size:12px;line-height:1.5}
#taskForm :disabled{color:#374151;background:#f3f4f6;opacity:1}
.auth-card small{color:#667085;line-height:1.45}
.stats{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}
.stat.filterable{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s;border:2px solid transparent}
.stat.filterable:hover{transform:translateY(-2px);box-shadow:0 6px 16px #17203318}
.stat.active-filter{border-color:#4f46e5;background:#eef2ff}
.gantt-scroll{width:100%;overflow-x:auto;border-radius:12px}
.gantt-scroll table{min-width:100%;width:max-content}
.gantt-scroll th:first-child,.gantt-scroll td:first-child{position:sticky;left:0;z-index:2;min-width:260px;background:#fff}
.gantt-scroll thead th:first-child{z-index:3;background:#fafbfc}
.week-heading{text-align:left;font-weight:700;margin-bottom:8px;color:#374151}
.week-scale{display:flex;width:100%;font-size:11px;color:#667085;font-weight:500}
.week-scale span{flex:none;text-align:left;border-left:1px solid #d8dde6;padding-left:5px;white-space:nowrap;overflow:hidden}
.bar-area{background:repeating-linear-gradient(90deg,#f4f5f7 0,#f4f5f7 calc(var(--week-width,10%) - 1px),#d8dde6 var(--week-width,10%))}
.gantt-filter-head th{vertical-align:top;padding:10px;min-width:135px}
.gantt-filter-head th:first-child{min-width:280px}
.filter-title{font-weight:700;color:#374151;margin-bottom:7px;white-space:nowrap}
.column-filter{position:relative}
.column-filter summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 2px;list-style:none;cursor:pointer;color:#374151;font-weight:700;white-space:nowrap;user-select:none}
.column-filter summary::-webkit-details-marker{display:none}
.filter-chevron{font-size:16px;line-height:1;transition:transform .15s ease}
.column-filter[open] .filter-chevron{transform:rotate(180deg)}
.filter-panel{display:grid;gap:5px;margin-top:8px;padding-top:8px;border-top:1px solid #e5e7eb}
.timeline .filter-panel{grid-template-columns:auto auto auto;align-items:center;justify-content:start}
.timeline .filter-panel label{display:flex;align-items:center;gap:5px;font-weight:500;white-space:nowrap}
.timeline .filter-panel label input{width:15px;height:15px;margin:0}
.timeline .filter-panel button{padding:7px 10px;background:#e5e7eb;color:#374151;font-size:12px}
.gantt-filter-head input,.gantt-filter-head select{font-size:12px;padding:6px 7px;margin:2px 0;width:100%;min-width:0}
.progress-range{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:4px}
.week-filter-row{display:flex;align-items:center;gap:8px;min-height:34px;flex-wrap:wrap}
.week-filter-row .filter-title{margin:0;margin-right:auto}
.week-filter-row select{width:auto;min-width:105px}
.week-filter-row label{display:flex;grid-auto-flow:column;align-items:center;gap:5px;font-weight:500;white-space:nowrap}
.week-filter-row label input{width:15px;height:15px;margin:0}
.week-filter-row button{font-size:12px;padding:7px 10px;background:#e5e7eb;color:#374151}
.gantt-filter-empty{text-align:center}.gantt-filter-empty button{margin-top:12px}
.project-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.project-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}
.summary-chip{padding:12px;border-radius:10px;background:#f3f4f6;color:#4b5563;font-size:13px}
.summary-chip b{display:block;color:#111827;font-size:20px;margin-top:3px}
.project-actions{display:flex;gap:6px;flex-wrap:wrap}
.project-actions button{padding:7px 10px;font-size:12px}
.project-actions .edit-project{background:#e0e7ff;color:#3730a3}
.project-actions .delete-project{background:#fee2e2;color:#b91c1c}
.main-dashboard{display:grid;gap:18px}
.main-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 2px}
.main-dashboard-head h2{margin:0 0 5px;font-size:24px}.main-dashboard-head p{margin:0;color:#667085}
.dashboard-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.dashboard-project{position:relative;display:grid;gap:12px;padding:20px;background:#fff;border:1px solid #e3e8f1;border-top:5px solid var(--project-color);border-radius:14px;box-shadow:0 5px 18px #17203312;cursor:pointer;transition:transform .16s,box-shadow .16s}
.dashboard-project:hover{transform:translateY(-3px);box-shadow:0 10px 26px #17203320}
.dashboard-project-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dashboard-project h3{margin:6px 0 0;font-size:19px;color:#182230}.dashboard-project>p{min-height:40px;margin:0;color:#667085;line-height:1.5}.dashboard-arrow{font-size:24px;color:var(--project-color)}
.project-access{display:inline-block;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700}.project-access.editable{color:#166534;background:#dcfce7}.project-access.readonly{color:#475569;background:#f1f5f9}
.dashboard-progress{height:9px;overflow:hidden;background:#edf0f5;border-radius:999px}.dashboard-progress span{display:block;height:100%;background:var(--project-color);border-radius:inherit}.dashboard-progress-label{display:flex;justify-content:space-between;color:#667085;font-size:12px}.dashboard-progress-label strong{color:#182230;font-size:14px}
.dashboard-project dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0}.dashboard-project dl div{padding:9px;background:#f8fafc;border-radius:9px}.dashboard-project dt{color:#667085;font-size:11px}.dashboard-project dd{margin:4px 0 0;color:#1f2937;font-weight:700;font-size:13px}.dashboard-project dl div:first-child{grid-column:span 3}.dashboard-project dl .overdue dd{color:#b42318}
.dashboard-card-actions{display:flex;justify-content:flex-end;gap:7px;padding-top:4px;border-top:1px solid #edf0f5}.dashboard-card-actions button{padding:7px 11px;font-size:12px}.dashboard-card-actions .danger{color:#b42318;background:#fee4e2}
.dashboard-empty{grid-column:1/-1;padding:54px 20px;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:14px}.dashboard-empty strong{font-size:18px}.dashboard-empty p{margin-bottom:0;color:#667085}
.dashboard-section-title{margin:8px 0 -4px;font-size:20px;color:#182230}
.dashboard-community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dashboard-board-panel{overflow:hidden;background:#fff;border:1px solid #e3e8f1;border-radius:14px;box-shadow:0 4px 16px #1720330d}.dashboard-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e8edf4}.dashboard-board-head span{color:#4f46e5;font-size:11px;font-weight:800}.dashboard-board-head h3{margin:3px 0 0;font-size:18px}.dashboard-board-head button{padding:8px 11px;font-size:12px}.dashboard-post-list{display:grid}.dashboard-post-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;text-align:left;color:#273244;background:#fff;border:0;border-bottom:1px solid #edf0f5;border-radius:0}.dashboard-post-row:last-child{border-bottom:0}.dashboard-post-row:hover{background:#f8faff}.dashboard-post-row>span{display:grid;min-width:0;gap:4px}.dashboard-post-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-post-row small{color:#667085;font-weight:400}.dashboard-post-row>b{color:#98a2b3;font-size:20px}.dashboard-post-empty{padding:28px 18px;text-align:center;color:#667085}
.admin-page{display:grid;gap:18px}.admin-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;color:#fff;background:linear-gradient(120deg,#263a71,#526ec9);border-radius:15px}.admin-page-head>div>span{font-size:11px;font-weight:800;letter-spacing:.12em;opacity:.8}.admin-page-head h2{margin:5px 0}.admin-page-head p{margin:0;color:#e0e7ff}.admin-page-head button{color:#31468e;background:#fff}.admin-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}.admin-panel{overflow:hidden;background:#fff;border:1px solid #e3e8f1;border-radius:14px;box-shadow:0 4px 16px #1720330d}.admin-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;border-bottom:1px solid #e8edf4}.admin-panel-head h3{margin:0 0 4px}.admin-panel-head p{margin:0;color:#667085;font-size:12px}.admin-panel-head button{padding:8px 11px;font-size:12px}.admin-table-wrap{overflow:auto}.admin-table-wrap table{min-width:620px}.audit-panel .admin-table-wrap table{min-width:900px}.admin-row-actions{display:flex;gap:5px}.admin-row-actions button{padding:6px 9px;font-size:11px}.admin-row-actions .danger{color:#b42318;background:#fee4e2}.admin-title-link{color:#3448a5;font-weight:700;cursor:pointer}.admin-title-link:hover{text-decoration:underline}.audit-action{display:inline-block;padding:4px 7px;color:#3448a5;background:#eef2ff;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}
.admin-workspace{display:grid;grid-template-columns:235px minmax(0,1fr);align-items:start;gap:18px}.admin-tab-content{min-width:0}.admin-side-tabs{position:sticky;top:18px;display:grid;gap:7px;padding:12px;background:#fff;border:1px solid #dfe5ef;border-radius:14px;box-shadow:0 5px 18px #17203310}.admin-side-tabs>div{display:grid;gap:2px;padding:6px 8px 11px;border-bottom:1px solid #edf0f5}.admin-side-tabs>div>span{color:#182230;font-weight:800}.admin-side-tabs>div>small{color:#667085}.admin-side-tab{position:relative;display:grid;gap:3px;padding:12px 32px 12px 13px;text-align:left;color:#475467;background:#f8fafc;border:1px solid transparent}.admin-side-tab strong{font-size:13px}.admin-side-tab small{color:#7b8494;font-size:10px;font-weight:500}.admin-side-tab>span{position:absolute;top:50%;right:12px;transform:translateY(-50%);font-size:20px}.admin-side-tab:hover{color:#3448a5;background:#f1f4ff}.admin-side-tab.active{color:#fff;background:linear-gradient(120deg,#4058b7,#6178d8);box-shadow:0 6px 14px #4058b72b}.admin-side-tab.active small{color:#e4e9ff}.user-admin-panel .admin-table-wrap table{min-width:1050px}.user-admin-panel .admin-table-wrap{max-height:65vh}.backup-tab-panel{min-height:210px}
.backup-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:linear-gradient(100deg,#f8faff,#eef4ff)}.backup-panel>div{display:flex;align-items:center;gap:14px}.backup-panel h3{margin:0 0 4px}.backup-panel p{margin:0 0 4px;color:#475467}.backup-panel small{color:#b42318}.backup-panel>button{flex:none}.backup-icon{display:grid;place-items:center;width:42px;height:42px;color:#3548a5;background:#dfe7ff;border-radius:12px;font-size:23px;font-weight:800}.audit-filters{display:grid;grid-template-columns:2fr repeat(3,minmax(125px,1fr));gap:10px;padding:16px 18px;background:#f8fafc;border-bottom:1px solid #e5eaf2}.audit-filters label{display:grid;gap:5px;color:#475467;font-size:11px;font-weight:700}.audit-filters input,.audit-filters select{width:100%;min-width:0;padding:8px 9px;font-size:12px;background:#fff}.audit-search{grid-column:span 2}.audit-filter-actions{display:flex;align-items:end;gap:7px}.audit-filter-actions button{padding:9px 13px;font-size:12px}.audit-export-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;color:#667085;background:#fff;border-bottom:1px solid #edf0f5;font-size:12px}.audit-export-bar>div{display:flex;gap:7px}.audit-export-bar select,.audit-export-bar button{padding:7px 10px;font-size:12px}.audit-detail{min-width:280px;white-space:normal;word-break:break-word}
.calendar-shell{overflow:hidden;background:#fff;border:1px solid #e3e8f1;border-radius:14px;box-shadow:0 4px 16px #1720330d}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e8edf4}.calendar-head h2{margin:0 0 4px}.calendar-head p{margin:0;color:#667085}.calendar-controls{display:flex;gap:7px}.calendar-controls button{padding:8px 12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px}.calendar-weekdays{color:#475467;background:#f8fafc;border-bottom:1px solid #e3e8f1;font-size:12px;font-weight:800}.calendar-weekdays div{padding:10px;text-align:center;border-right:1px solid #e8edf4}.calendar-weekdays div:nth-child(6),.calendar-weekdays div:nth-child(7){color:#b42318}.calendar-days{overflow:hidden}.calendar-day{min-height:128px;padding:8px;border-right:1px solid #e8edf4;border-bottom:1px solid #e8edf4;background:#fff}.calendar-day.other-month{background:#f8fafc}.calendar-day.other-month .calendar-day-number>span{color:#98a2b3}.calendar-day.today{box-shadow:inset 0 0 0 2px #4f46e5}.calendar-day-number{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;color:#344054;font-weight:800}.calendar-day-number b{padding:2px 5px;color:#3730a3;background:#e0e7ff;border-radius:999px;font-size:9px}.calendar-task-list{display:grid;gap:4px}.calendar-task{display:flex;align-items:center;gap:5px;overflow:hidden;padding:5px 6px;text-align:left;color:#344054;background:#f8fafc;border:1px solid #e4e7ec;border-radius:6px;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.calendar-task span{flex:none;width:7px;height:7px;background:#94a3b8;border-radius:50%}.calendar-task.doing span{background:#4f46e5}.calendar-task.done span{background:#16a34a}.calendar-task:hover{background:#eef2ff}.calendar-task-list small{padding-left:4px;color:#667085;font-size:10px}
.calendar-date-actions{display:flex;align-items:center;gap:4px}.calendar-add{display:grid;place-items:center;width:22px;height:22px;padding:0;color:#4054ad;background:#eef2ff;border:1px solid #cbd5ff;border-radius:7px;font-size:16px;font-weight:800;line-height:1}.calendar-add:hover{color:#fff;background:#4f46e5;border-color:#4f46e5}.calendar-more{padding:4px 6px;text-align:left;color:#4054ad;background:transparent;border-radius:5px;font-size:10px;font-weight:700}.calendar-more:hover{background:#eef2ff}.calendar-more[aria-expanded="true"]{color:#667085}.calendar-day.expanded{background:#fbfcff}
.assignment-button{padding:7px 10px;color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;font-size:12px}.all-projects-label{color:#166534;font-weight:700;font-size:12px}
.assignment-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px;overflow:auto;padding:3px}
.assignment-project{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer}.assignment-project input{width:18px;height:18px;margin-top:2px}.assignment-project span{display:grid;gap:3px;padding-left:9px;border-left:4px solid var(--project-color)}.assignment-project small{color:#667085;font-weight:400}
@media(max-width:800px){.project-summary{grid-template-columns:1fr}.project-tools{align-items:stretch;flex-direction:column}.project-tools select{width:100%}.main-dashboard-head,.admin-page-head,.calendar-head,.backup-panel{align-items:stretch;flex-direction:column}.dashboard-project-grid,.dashboard-community-grid,.admin-grid{grid-template-columns:1fr}.admin-workspace{display:flex;flex-direction:column}.admin-side-tabs{position:static;order:-1;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.admin-side-tabs>div{grid-column:1/-1}.assignment-projects{grid-template-columns:1fr}.dashboard-project dl{grid-template-columns:repeat(2,1fr)}.dashboard-project dl div:first-child{grid-column:span 2}.calendar-shell{overflow:auto}.audit-filters{grid-template-columns:1fr 1fr}.audit-search{grid-column:span 2}.audit-export-bar{align-items:flex-start;flex-direction:column}}
