#projects-tab .project-calendar-section{flex:1 1 60%;min-height:200px;max-height:none;height:0;background:#fff;border-radius:12px;box-shadow:0 2px 12px #2c3e500f;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}#projects-tab .calendar-filters{padding:0;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;gap:2px;align-items:center;justify-content:left;min-height:18px;width:100%;margin:0;border-top:none}#projects-tab .view-btn{padding:6px 16px;border:1px solid #d1d7dc;background:#fff;border-radius:4px;font-size:10px;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap;line-height:1;display:flex;align-items:center;justify-content:center;min-width:55px}#projects-tab .view-btn.active,#projects-tab .view-btn:hover{background:#3498db;color:#fff;border-color:#3498db}#projects-tab .nav-btn{padding:2px 5px;border:1px solid #d1d7dc;background:#fff;border-radius:2px;cursor:pointer;transition:all .3s ease;font-size:12px;font-weight:600;line-height:1;display:flex;align-items:center;justify-content:center;min-width:24px;height:20px}#projects-tab .nav-btn:hover{background:#f8f9fa;border-color:#95a5a6}#projects-tab .current-month{font-weight:700;font-size:14px;color:#2c3e50;min-width:90px;text-align:center;white-space:nowrap;margin:0 6px}#projects-tab .calendar-container{flex:1;padding:4px 6px;overflow:scroll;min-height:0;display:flex;flex-direction:column}#projects-tab .project-calendar-section .calendar-container{width:100%;height:100%;min-height:150px;display:flex;flex-direction:column;background:#fff;border-radius:6px;box-shadow:0 1px 3px #0000000f;padding:0}#projects-tab .day-view-header{font-weight:700;color:#1f2937;margin-bottom:10px}#projects-tab .calendar-year-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}#projects-tab .calendar-year-month{width:100%;border:1px solid #d7dee8;border-radius:12px;background:#fff;padding:12px;text-align:left;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}#projects-tab .calendar-year-month:hover,#projects-tab .calendar-year-month.selected{border-color:#2563eb;box-shadow:0 4px 12px #2563eb24;transform:translateY(-1px)}#projects-tab .month-preview{display:grid;gap:6px}#projects-tab .preview-event{display:flex;align-items:center;gap:8px}#projects-tab .preview-event-dot{width:8px;height:8px;border-radius:999px;flex:0 0 8px}#projects-tab .project-calendar-section .calendar-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:0;padding:8px 12px;background:#f8f9fa;border-bottom:1px solid #e9ecef}#projects-tab .project-calendar-section .calendar-controls-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:10px 0 6px;padding:0 12px;flex:0 0 auto}#projects-tab .project-calendar-section .calendar-view-controls{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}#projects-tab .project-calendar-section .view-btn{position:relative;min-width:80px;padding:12px 20px;border:0;border-radius:15px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-shadow:0 2px 8px #00000014;color:#495057;font-size:14px;font-weight:600;line-height:normal;letter-spacing:.5px;cursor:pointer;transition:background .3s ease,box-shadow .3s ease,color .3s ease,transform .3s ease}#projects-tab .project-calendar-section .view-btn:hover{background:linear-gradient(135deg,#fff,#f1f3f4);box-shadow:0 4px 16px #0000001f;color:#343a40;transform:translateY(-2px)}#projects-tab .project-calendar-section .view-btn.active{border-color:transparent;background:linear-gradient(135deg,#3498db,#2980b9);box-shadow:0 4px 20px #3498db4d;color:#fff;transform:translateY(-1px)}#projects-tab .project-calendar-section .project-calendar-extra-view{min-width:66px;padding-inline:14px}#projects-tab .project-calendar-section .calendar-header{display:flex;align-items:center;justify-content:center;gap:10px;margin-right:auto;margin-left:auto}#projects-tab .project-calendar-section .calendar-title{display:inline-block;min-width:120px;margin:0 8px;padding:4px 16px;border-radius:18px;background:linear-gradient(90deg,#f8f9fa 60%,#e9ecef);box-shadow:0 2px 8px #2c3e5014;color:#34485c;font-size:1.2rem;font-weight:700;letter-spacing:.5px;text-align:center;white-space:nowrap}#projects-tab .project-calendar-section .calendar-header .nav-btn{display:flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;padding:0;border:0;border-radius:50%;background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-shadow:0 2px 8px #2c3e501a;color:#3498db;font-size:1rem;font-weight:700}#projects-tab .project-calendar-section .calendar-header .nav-btn:hover,#projects-tab .project-calendar-section .calendar-header .nav-btn:focus{background:linear-gradient(135deg,#3498db,#2980b9);box-shadow:0 4px 16px #3498db2e;color:#fff}#projects-tab .project-calendar-section .calendar-container{display:flex;flex:1 1 0;flex-direction:column;width:100%;height:auto;min-height:280px;padding:6px 12px 12px;overflow:hidden;border-radius:0;box-shadow:none}#projects-tab .project-calendar-section .custom-calendar,#projects-tab .project-calendar-section .calendar-grid{display:flex;flex:1 1 0;flex-direction:column;min-height:0}#projects-tab .project-calendar-section .calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));flex:0 0 auto;border:1px solid #e1e5ea;border-bottom:0;background:#f9fbfd}#projects-tab .project-calendar-section .calendar-weekday{padding:6px 4px;border-right:1px solid #e1e5ea;color:#2c3e50;font-size:12px;font-weight:600;text-align:center}#projects-tab .project-calendar-section .calendar-weekday:last-child{border-right:0}#projects-tab .project-calendar-section .calendar-cells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));flex:1 1 0;min-height:0;border:1px solid #e1e5ea}#projects-tab .project-calendar-section .week-cells{grid-template-rows:minmax(0,1fr)}#projects-tab .project-calendar-section .calendar-cell{display:flex;flex-direction:column;min-width:0;min-height:0;padding:4px 6px;overflow:hidden;border-right:1px solid #e1e5ea;border-bottom:1px solid #e1e5ea;background:#fff;cursor:pointer}#projects-tab .project-calendar-section .calendar-cell:nth-child(7n){border-right:0}#projects-tab .project-calendar-section .calendar-cell:nth-last-child(-n+7){border-bottom:0}#projects-tab .project-calendar-section .calendar-cell.outside-month{background:#f6f7f9;color:#9aa3ad}#projects-tab .project-calendar-section .calendar-cell.selected{outline:2px solid #3498db;outline-offset:-2px;box-shadow:inset 0 0 0 1px #3498db33}#projects-tab .project-calendar-section .calendar-date{margin-bottom:4px;color:inherit;font-size:11px;font-weight:600}#projects-tab .project-calendar-section .calendar-events{display:flex;flex-direction:column;gap:3px;min-height:0;max-height:calc(100% - 18px);overflow:hidden}#projects-tab .project-calendar-section .calendar-event{height:16px;padding:2px 4px;overflow:hidden;border-radius:4px;color:#fff;font-size:11px;line-height:16px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}#projects-tab .project-calendar-section .calendar-more{color:#6c7a89;font-size:10px;cursor:pointer}#projects-tab .project-calendar-section .day-view{display:flex;flex:1 1 auto;flex-direction:column;gap:8px;min-height:0}#projects-tab .project-calendar-section .day-view-header{margin:0;color:#2c3e50;font-size:14px;font-weight:600}#projects-tab .project-calendar-section .day-view-list{display:flex;flex-direction:column;gap:6px;min-height:0;overflow:auto}#projects-tab .project-calendar-section .day-view-list .calendar-event{flex:0 0 auto}#projects-tab .project-calendar-section .calendar-empty{color:#8b94a3;font-size:12px}#projects-tab .project-calendar-section .project-calendar-state{display:flex;flex:1 1 auto;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:220px;padding:24px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;color:#64748b;text-align:center}#projects-tab .project-calendar-section .project-calendar-state strong{color:#34485c;font-size:15px}#projects-tab .project-calendar-section .project-calendar-state-error strong,#projects-tab .project-calendar-section .project-calendar-state-missing strong{color:#b42318}#projects-tab .project-calendar-section .calendar-year-cell{min-height:0;padding:12px;overflow:auto}@media(max-width:1200px){#projects-tab .project-calendar-section .calendar-controls-row{align-items:flex-start;flex-direction:column}#projects-tab .project-calendar-section .calendar-header{margin-inline:0;align-self:center}#projects-tab .project-calendar-section .calendar-view-controls{width:100%;overflow-x:auto;padding-bottom:3px}}@media(max-width:700px){#projects-tab .project-calendar-section .calendar-filters{align-items:stretch;flex-direction:column}#projects-tab .project-calendar-section .filter-group,#projects-tab .project-calendar-section .filter-group select{width:100%}#projects-tab .project-calendar-section .view-btn{min-width:68px;padding:9px 12px;font-size:12px}#projects-tab .project-calendar-section .calendar-container{min-height:360px;padding-inline:6px}#projects-tab .project-calendar-section .calendar-cell{padding:3px}#projects-tab .project-calendar-section .calendar-event{font-size:9px}}#projects-tab .gantt-container{background:#fff;border-radius:8px;border:1px solid #e9ecef;overflow:hidden;min-height:300px}#projects-tab .gantt-header{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:1px solid #dee2e6;padding:0}#projects-tab .gantt-timeline{display:flex;flex-direction:column}#projects-tab .gantt-body{padding:16px}#projects-tab .gantt-task{display:flex;align-items:center;margin-bottom:12px;position:relative;min-height:32px}#projects-tab .timeline-header{text-align:center}#projects-tab .timeline-month{font-size:14px;letter-spacing:.5px}#projects-tab .timeline-days{display:grid;overflow-x:auto;background:#f8f9fa;border-bottom:1px solid #dee2e6}#projects-tab .day-header{padding:8px 4px;border-right:1px solid #dee2e6;color:#495057;font-size:11px;font-weight:500;text-align:center}#projects-tab .day-header:last-child{border-right:none}#projects-tab .task-label{width:120px;padding-right:12px;color:#495057;font-size:12px;font-weight:500;flex-shrink:0}#projects-tab .task-bar{position:relative;display:flex;align-items:center;justify-content:center;height:24px;border-radius:12px;box-shadow:0 2px 4px #0000001a;color:#fff;font-size:10px;font-weight:500;transition:box-shadow .3s ease,transform .3s ease}#projects-tab .task-bar:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-1px)}#projects-tab .task-duration{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}#projects-tab .calendar-filters .filter-group label,#projects-tab .calendar-filters .filter-group select{font-size:10px!important;padding:2px 4px!important}#projects-tab .calendar-filters select{width:100%;padding:6px 10px;font-size:12px;border:1px solid #ddd;border-radius:4px;background:#fff}#projects-tab .calendar-filters select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db1a}#projects-tab .projects-panel[data-panel=calendar] .calendar-filters{min-height:42px;padding:8px 10px!important;gap:8px!important;flex-wrap:wrap;align-items:center}#projects-tab .projects-panel[data-panel=calendar] .calendar-filters .filter-group{flex:1 1 160px;min-width:150px;max-width:220px}#projects-tab{--projects-header-bg: var(--amd-section-header-bg, #1d4f8f);--projects-header-color: #ffffff;height:100%;width:100%;max-width:100vw;min-width:0;min-height:0;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden!important}#projects-tab .projects-column,#projects-tab .projects-middle-column,#projects-tab .projects-right-column{min-height:0}#projects-tab .projects-main-layout{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(300px,1.5fr) minmax(250px,.8fr);gap:6px;padding:4px;height:100%;width:100%;min-width:0;min-height:0;overflow:hidden;box-sizing:border-box}@media(max-width:1400px){#projects-tab .projects-main-layout{grid-template-columns:minmax(180px,.7fr) minmax(280px,1.4fr) minmax(220px,.8fr);gap:4px;padding:4px}}@media(max-width:1200px){#projects-tab .projects-main-layout{grid-template-columns:minmax(160px,.6fr) minmax(250px,1.3fr) minmax(200px,.8fr);gap:4px;padding:4px}}@media(max-width:1000px){#projects-tab .projects-main-layout{grid-template-columns:minmax(150px,.6fr) minmax(220px,1.2fr) minmax(180px,.8fr);gap:3px;padding:3px}}@media(max-width:900px){#projects-tab .projects-main-layout{grid-template-columns:1fr;gap:4px;padding:4px}#projects-tab .projects-right-column{gap:8px}}@media(max-width:800px){#projects-tab .projects-main-layout{display:flex;flex-direction:column;height:100%;gap:3px;padding:3px}#projects-tab .projects-column,#projects-tab .projects-middle-column,#projects-tab .projects-right-column{min-height:200px;flex-shrink:0}}#projects-tab{--primary-color: #3498db;--primary-hover: #2980b9;--primary-active: #1f6391;--secondary-color: #95a5a6;--secondary-hover: #7f8c8d;--background-color: #f8f9fa;--card-background: #fff;--text-color: #2c3e50;--text-muted: #6c757d;--border-color: #e9ecef;--shadow-color: rgba(0, 0, 0, .1)}#projects-tab .projects-column{display:flex;flex-direction:column;background:var(--card-background);border-radius:10px;box-shadow:0 2px 8px var(--shadow-color);overflow:hidden;box-sizing:border-box;min-width:0;max-width:100%}#projects-tab .projects-filters{padding:15px;border-bottom:1px solid #e9ecef;background:#f8f9fa;display:flex;flex-direction:column;gap:10px}#projects-tab .projects-filters input[type=text]{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s ease,box-shadow .3s ease;box-sizing:border-box}#projects-tab .projects-filters input[type=text]:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}#projects-tab .projects-filters select{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background:#fff;cursor:pointer;transition:border-color .3s ease;box-sizing:border-box}#projects-tab .projects-filters select:focus{outline:none;border-color:#3498db}#projects-tab .projects-actions{padding:10px 12px;border-bottom:1px solid #e9ecef;background:#fff;display:flex;flex-wrap:wrap;align-items:center;gap:6px;box-sizing:border-box}#projects-tab .projects-actions .btn{flex:1 1 calc(50% - 6px);min-width:0;min-height:32px;padding:6px 8px;font-size:12px;line-height:1.2;border-radius:6px;border:none;cursor:pointer;font-weight:500;transition:background-color .3s ease;text-align:center;white-space:normal;justify-content:center;overflow-wrap:normal;word-break:normal}#projects-tab .projects-actions #show-archived-projects-btn[hidden]{display:none!important}#projects-tab .projects-actions .btn.primary{background:#3498db;color:#fff}#projects-tab .projects-actions .btn.primary:hover{background:linear-gradient(135deg,#2980b9,#1f6391);transform:translateY(-1px)}#projects-tab .projects-actions .btn.secondary{background:linear-gradient(135deg,#95a5a6,#7f8c8d);color:#fff}#projects-tab .projects-actions .btn.secondary:hover{background:linear-gradient(135deg,#7f8c8d,#6c7b7d);transform:translateY(-1px)}#projects-tab .project-list{flex:1 1 auto;overflow-y:scroll;padding:2px!important}#projects-tab .project-item{background:#fff;border:1px solid #e9ecef;border-radius:6px;margin-bottom:4px;padding:2px 4px!important;cursor:pointer;transition:all .3s ease;box-shadow:0 1px 3px #0000000d}#projects-tab .project-item:hover{border-color:#3498db;box-shadow:0 2px 8px #3498db26;transform:translateY(-1px)}#projects-tab .project-item.selected,#projects-tab .project-item.active{background:#e3f2fd;border-color:#3498db}#projects-tab .project-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}#projects-tab .project-name{font-weight:600;font-size:9px;color:#2c3e50}#projects-tab .project-status{padding:3px 8px;border-radius:12px;font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}#projects-tab .status-active{background:linear-gradient(135deg,#4caf50,#66bb6a);color:#fff}#projects-tab .status-planning{background:linear-gradient(135deg,#ff9800,#ffb74d);color:#fff}#projects-tab .status-bidding{background:linear-gradient(135deg,#2196f3,#42a5f5);color:#fff}#projects-tab .status-completed{background:linear-gradient(135deg,#9c27b0,#ba68c8);color:#fff}#projects-tab .status-on-hold{background:linear-gradient(135deg,#607d8b,#78909c);color:#fff}#projects-tab .status-archived{background:linear-gradient(135deg,#6b7280,#9ca3af);color:#fff}#projects-tab .status-warranty{background:linear-gradient(135deg,#0891b2,#22d3ee);color:#fff}#projects-tab .project-tree-group{border-bottom:1px solid #e5e7eb}#projects-tab .project-tree-header{width:100%;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border:0;background:#f8fafc;color:#1f2937;font-size:12px;font-weight:700;cursor:pointer}#projects-tab .project-tree-header:hover{background:#eef2f7}#projects-tab .project-tree-count{min-width:22px;padding:1px 6px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:11px;text-align:center}#projects-tab .project-details{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}#projects-tab .project-address{font-size:10px;color:#6c757d;flex:1}#projects-tab .project-value{font-size:11px;font-weight:600;color:#27ae60}#projects-tab .project-timeline{display:flex;justify-content:space-between;font-size:9px;color:#6c757d}#projects-tab .start-date,#projects-tab .end-date{padding:1px 4px;background:#f8f9fa;border-radius:4px}#projects-tab .project-details-section{flex:0 1 40%;min-height:220px;max-height:48vh;height:0;background:#fff;border-radius:12px;box-shadow:0 2px 12px #2c3e500f;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;margin-bottom:0}#projects-tab .project-details-scrollable{flex:1 1 auto;overflow-y:auto;padding:0;min-height:0;display:flex;flex-direction:column;margin-bottom:0;margin-top:0;gap:0}#projects-tab .project-header-info{padding:12px 20px;border-bottom:1px solid #e9ecef;flex-shrink:0}#projects-tab .project-name-address .project-name{display:block;font-size:20px;font-weight:600;color:#2c3e50;margin-bottom:5px}#projects-tab .project-name-address .project-address{display:block;font-size:14px;color:#666;margin-bottom:5px}#projects-tab .project-name-address .project-type{display:inline-block;padding:4px 12px;background:linear-gradient(135deg,#e8f5e8,#c8e6c9);color:#2e7d32;border-radius:12px;font-size:14px;font-weight:500;text-transform:capitalize}#projects-tab .customer-information,#projects-tab .project-manager{flex:1 1 0;min-width:0;padding:8px 16px 0;display:flex;font-size:12px}#projects-tab .customer-information h4,#projects-tab .project-manager h4{margin:0 0 6px;font-size:12px;font-weight:600;color:#2c3e50;text-transform:uppercase;letter-spacing:.3px}#projects-tab .project-actions{padding:8px 10px;gap:6px;background:#f8f9fa;flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;margin-top:0;border-top:none}#projects-tab .project-actions .btn{padding:6px 8px;font-size:12px;line-height:1.2;border-radius:6px;border:none;cursor:pointer;transition:background-color .3s ease;flex:1 1 calc(50% - 6px);min-width:104px;min-height:32px;white-space:normal;text-align:center;justify-content:center}#projects-tab .project-actions .btn.primary{background:#3498db;color:#fff}#projects-tab .project-actions .btn.primary:hover{background:linear-gradient(135deg,#219a52,#1e8449);transform:translateY(-1px);box-shadow:0 4px 12px #27ae604d}#projects-tab .project-actions .btn.secondary{background:linear-gradient(135deg,#ecf0f1,#d5dbdb);color:#34495e;border:1px solid #bdc3c7}#projects-tab .project-actions .btn.secondary:hover{background:linear-gradient(135deg,#d5dbdb,#aeb6bf);transform:translateY(-1px);box-shadow:0 4px 12px #bdc3c74d}#projects-tab .projects-actions #delete-archived-project-btn,#projects-tab .project-actions #delete-archived-project-btn{background:linear-gradient(135deg,#fff1f2,#fee2e2);color:#991b1b;border:1px solid #fecaca}#projects-tab .projects-actions #delete-archived-project-btn:hover,#projects-tab .project-actions #delete-archived-project-btn:hover{background:linear-gradient(135deg,#fee2e2,#fecaca);box-shadow:0 4px 12px #dc262629}#projects-tab .projects-right-column{display:flex;flex-direction:column;gap:20px;min-width:0;max-width:100%;height:100%;overflow:hidden;box-sizing:border-box}#projects-tab .project-files-section{background:#fff;border-radius:10px;box-shadow:0 2px 8px #00000014;overflow:hidden;flex:1;display:flex;flex-direction:column;min-height:0}#projects-tab .files-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px}#projects-tab .files-header h3{margin:0!important;min-width:0;flex:1 1 0}#projects-tab .files-header .files-active-project-title{display:flex!important;color:var(--projects-header-color)!important;line-height:1.15}#projects-tab .files-header .active-project-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;color:#fff}#projects-tab .files-header .search-container{position:relative;flex:0 1 360px;width:min(360px,36vw);min-width:190px;max-width:360px;margin:0}#projects-tab .files-header .header-controls{display:flex;align-items:center;gap:8px;flex:1 1 0;flex-wrap:nowrap;justify-content:flex-end;min-width:0}#projects-tab .files-header .search-input{width:100%;padding:0 30px 0 12px;border:1px solid #cfd9e6;border-radius:4px;background:#fff;color:#1f334d;font-size:12px;transition:all .2s ease;height:30px;box-sizing:border-box;line-height:28px;vertical-align:middle;box-shadow:inset 0 1px 2px #0f172a0d}#projects-tab .files-header .search-input::placeholder{color:#6b7c93}#projects-tab .files-header .search-input:focus{outline:none;background:#fff;border-color:#7ea6df;box-shadow:0 0 0 2px #7ea6df3d}#projects-tab .files-header .search-icon{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#6b7c93;font-size:11px;pointer-events:none}#projects-tab .files-header .btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:3px;padding:6px 8px;font-size:11px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:32px;height:30px}#projects-tab .files-header .btn.btn-upload{padding:6px 10px;gap:4px}#projects-tab .files-header .btn.btn-delete{padding:6px 8px}#projects-tab .files-header .btn:hover{background:#ffffff4d;border-color:#ffffff80}#projects-tab .files-header .btn:disabled{opacity:.5;cursor:not-allowed}#projects-tab .files-header .btn-primary{background:#3498dbcc;border-color:#3498dbe6}#projects-tab .files-header .btn-primary:hover{background:#3498db}#projects-tab .files-header .btn-danger{background:#e74c3ccc;border-color:#e74c3ce6}#projects-tab .files-header .btn-danger:hover{background:#e74c3c}#projects-tab .files-header .view-toggle{display:flex;gap:1px;border:1px solid rgba(255,255,255,.3);border-radius:3px;overflow:hidden}#projects-tab .files-header .btn-view{padding:4px 6px;border:none;border-radius:0;background:transparent;color:#fffc;font-size:12px}#projects-tab .files-header .btn-view.active{background:#ffffff4d;color:#fff}#projects-tab .file-explorer-container{flex:1;display:grid;grid-template-columns:clamp(190px,28%,280px) minmax(0,1fr);min-height:0;height:100%;width:100%;background:#fff;min-width:0}#projects-tab .file-tree-panel{width:100%;min-width:0;max-width:none;background:#fff;border-right:1px solid #e9ecef;display:flex;flex-direction:column;resize:none;overflow:hidden}#projects-tab .folder-tree{flex:1;overflow-y:auto;padding:4px 0}#projects-tab .folder-tree-empty{padding:8px 12px;color:#7b8794;font-size:12px}#projects-tab .folder-item{margin:0;border:none;border-radius:0}#projects-tab .folder-header{padding:5px 8px;cursor:pointer;user-select:none;transition:background .12s ease;display:flex;align-items:center;gap:5px;border-left:0}#projects-tab .folder-header:hover{background:#eef4fb}#projects-tab .folder-new-row{width:100%;min-height:26px;padding:5px 8px;border:0;border-top:1px solid #edf2f8;background:#fff;color:#1f4f9f;display:flex;align-items:center;gap:5px;cursor:pointer;text-align:left;opacity:.68;transition:background .12s ease,opacity .12s ease}#projects-tab .folder-new-row:hover{background:#eef4fb;opacity:1}#projects-tab .folder-new-row.editing{opacity:1;background:#fff}#projects-tab .folder-new-row .folder-new-plus{transform:none;color:#1f4f9f;font-size:9px}#projects-tab .folder-new-row .folder-icon{color:#d6a019}#projects-tab .folder-new-row .folder-name{font-size:12px;font-weight:500;line-height:1.2}#projects-tab .folder-header.drag-over{background:#e8f4fd;outline:1px dashed #3498db;outline-offset:-2px}#projects-tab .folder-header.folder-reorder-over{background:transparent;box-shadow:inset 0 2px #2f80ed}#projects-tab .folder-header.dragging{opacity:.55}#projects-tab .folder-header.folder-header-display-only{cursor:default}#projects-tab .folder-header.folder-header-display-only:hover{background:transparent}#projects-tab .folder-header.folder-header-display-only .folder-toggle{visibility:hidden}#projects-tab .folder-header.active{background:#dbeafe;color:#1f4f9f}#projects-tab .folder-toggle{display:inline-flex;align-items:center;justify-content:center;width:12px;font-size:9px;color:#6c757d;transition:transform .2s ease;transform-origin:center}#projects-tab .folder-toggle i{transform:none!important}#projects-tab .folder-item.open .folder-toggle{transform:rotate(90deg)}#projects-tab .folder-icon{font-size:13px;color:#d6a019}#projects-tab .folder-name{flex:1;font-size:12px;font-weight:500;color:#1f334d;line-height:1.2}#projects-tab .folder-rename-input{width:100%;min-width:80px;height:22px;border:1px solid #7ea6df;border-radius:3px;padding:2px 6px;font:inherit;color:#1f334d;background:#fff;box-shadow:0 0 0 2px #7ea6df2e}#projects-tab .folder-count{font-size:9px;color:#6c757d;background:#dee2e6;padding:1px 4px;border-radius:8px;min-width:14px;text-align:center}#projects-tab .folder-count.folder-count-empty{visibility:hidden}#projects-tab .folder-contents{padding-left:20px;display:none}#projects-tab .folder-item.open .folder-contents{display:block}#projects-tab .folder-file-item{min-height:26px;padding:4px 8px;display:flex;align-items:center;gap:5px;color:#1f334d;cursor:pointer;user-select:none}#projects-tab .folder-file-item:hover{background:#eef4fb}#projects-tab .folder-file-icon{width:14px;color:#6b7c93;font-size:12px}#projects-tab .folder-file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2}#projects-tab .folder-file-type{flex:0 0 auto;color:#7b8794;font-size:9px;text-transform:uppercase}#projects-tab .subfolder-item{padding:4px 12px 4px 24px;cursor:pointer;transition:background .2s ease;display:flex;align-items:center;gap:4px;font-size:10px;color:#6c757d}#projects-tab .subfolder-item:hover{background:#f0f0f0}#projects-tab .subfolder-item.active{background:#e8f4fd;color:#1976d2}#projects-tab .file-list-panel{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;min-height:0;width:100%;background:#fff}#projects-tab .file-content-area{position:relative;flex:1 1 0;overflow-y:auto;padding:0;height:100%;min-height:0;min-width:0;width:100%;display:flex;flex-direction:column;align-items:stretch}#projects-tab .files-list-view{flex:1 1 auto;width:100%}#projects-tab .files-list-header{display:grid;grid-template-columns:28px minmax(180px,1fr) 90px 80px 120px 126px;gap:8px;padding:8px 10px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:3px 3px 0 0;font-size:10px;font-weight:600;color:#495057}#projects-tab .file-list-item{display:grid;grid-template-columns:28px minmax(180px,1fr) 90px 80px 120px 126px;gap:8px;padding:8px 10px;border:1px solid #dee2e6;border-top:none;background:#fff;cursor:pointer;transition:all .2s ease;align-items:center}#projects-tab .file-list-item:hover{background:#f8f9fa}#projects-tab .file-list-item.selected{background:#e3f2fd;border-color:#2196f3}#projects-tab .file-list-item:last-child{border-radius:0 0 3px 3px}#projects-tab .file-checkbox{width:14px;height:14px;cursor:pointer}#projects-tab .file-icon-name{display:flex;align-items:center;gap:6px;min-width:0}#projects-tab .file-icon{font-size:16px;flex-shrink:0}#projects-tab .file-name{font-size:12px;font-weight:500;color:#495057;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#projects-tab .file-size{font-size:10px;color:#6c757d;text-align:right}#projects-tab .file-type{font-size:9px;color:#6c757d;text-transform:uppercase;text-align:center}#projects-tab .file-date{font-size:10px;color:#6c757d}#projects-tab .file-actions{display:flex;gap:2px;opacity:0;transition:opacity .2s ease;justify-content:flex-end}#projects-tab .file-list-item:hover .file-actions{opacity:1}#projects-tab .file-action-btn{padding:2px 4px;background:none;border:1px solid #dee2e6;border-radius:2px;color:#6c757d;cursor:pointer;font-size:9px;transition:all .2s ease}#projects-tab .file-action-btn:hover{background:#f8f9fa;border-color:#adb5bd;color:#495057}#projects-tab .files-grid-view{display:grid;flex:1 1 auto;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px;padding:6px}#projects-tab .file-grid-item{display:flex;flex-direction:column;align-items:center;padding:8px 6px;border:2px solid transparent;border-radius:4px;cursor:pointer;transition:all .2s ease;background:#fff;position:relative}#projects-tab .file-grid-item:hover{background:#f8f9fa;border-color:#dee2e6}#projects-tab .file-grid-item.selected{background:#e3f2fd;border-color:#2196f3}#projects-tab .file-grid-item .file-checkbox{position:absolute;top:4px;left:4px}#projects-tab .file-grid-icon{font-size:24px;margin-bottom:6px}#projects-tab .file-grid-name{font-size:9px;font-weight:500;color:#495057;text-align:center;word-break:break-word;line-height:1.1;max-height:2.2em;overflow:hidden}#projects-tab #file-content-area>#files-empty-state{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex:1 1 auto;align-self:stretch;min-height:0;height:100%;width:100%;text-align:center;background:#fff;border:0!important;border-radius:0!important}#projects-tab #file-content-area>#files-empty-state .file-empty-upload-btn{width:76px;height:76px;min-width:76px;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;background:transparent!important;border:0!important;color:#1f3f786b!important;box-shadow:none!important;transition:color .15s ease,transform .15s ease}#projects-tab #file-content-area>#files-empty-state .file-empty-upload-btn:hover,#projects-tab #file-content-area>#files-empty-state .file-empty-upload-btn:focus{background:transparent!important;color:#1f3f78ad!important;transform:translateY(-1px)}#projects-tab #file-content-area>#files-empty-state .file-empty-upload-btn i{font-size:42px;margin:0;color:currentColor}#projects-tab .drag-drop-overlay{position:absolute;inset:0;background:#3498dbe6;z-index:1000;display:flex;align-items:center;justify-content:center;border-radius:10px}#projects-tab .drag-drop-content{text-align:center;color:#fff}#projects-tab .drag-drop-content i{font-size:64px;margin-bottom:16px}#projects-tab .drag-drop-content h3{margin:0 0 8px;font-size:24px;font-weight:600}#projects-tab .drag-drop-content p{margin:0;font-size:16px;opacity:.9}.project-file-preview-overlay{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:28px;background:#0f172a7a}.project-file-preview-window{width:min(1120px,calc(100vw - 56px));height:min(820px,calc(100vh - 56px));min-width:560px;min-height:420px;resize:both;overflow:hidden;display:flex;flex-direction:column;border:1px solid #d7e1ef;border-radius:8px;background:#fff;box-shadow:0 22px 60px #0f172a52}.project-file-preview-header{flex:0 0 auto;min-height:46px;padding:8px 10px 8px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#2f5ea8;color:#fff}.project-file-preview-title{min-width:0;display:flex;align-items:center;gap:9px;font-weight:700}.project-file-preview-title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-file-preview-actions{display:inline-flex;align-items:center;gap:6px}.preview-action-btn{width:32px;height:30px;border:1px solid rgba(255,255,255,.28);border-radius:5px;background:#ffffff24;color:#fff;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.preview-action-btn:hover{background:#ffffff3d}.project-file-preview-body{flex:1 1 auto;min-height:0;background:#eef2f7;overflow:hidden}.project-file-preview-frame{width:100%;height:100%;border:0;background:#fff}.project-file-image-scroll{width:100%;height:100%;overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:24px}.project-file-preview-image{max-width:100%;height:auto;transform-origin:top center;transition:transform .12s ease;box-shadow:0 8px 24px #0f172a2e}.project-file-preview-unavailable{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#627d98}.project-file-preview-unavailable i{font-size:42px;color:#90a9c8}@media(max-width:768px){#projects-tab .file-explorer-container{grid-template-columns:160px minmax(0,1fr)}#projects-tab .file-tree-panel{width:160px;min-width:120px}#projects-tab .files-header{flex-wrap:wrap;gap:8px;justify-content:center!important}#projects-tab .files-header h3{flex:1 1 100%;text-align:left}#projects-tab .files-header .search-container{flex:1 1 180px;width:auto;min-width:160px;max-width:none}#projects-tab .files-header .header-controls{flex:0 0 auto;flex-wrap:nowrap;gap:6px}#projects-tab .files-header .search-container{min-width:160px;max-width:none}#projects-tab .files-list-header,#projects-tab .file-list-item{grid-template-columns:24px 1fr 60px 50px}#projects-tab .file-date,#projects-tab .file-actions{display:none}#projects-tab .files-grid-view{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}}#projects-tab .project-financials-section{background:#fff;border-radius:10px;box-shadow:0 2px 8px #00000014;overflow:hidden;flex:1;display:flex;flex-direction:column;min-height:0}#projects-tab .financials-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;padding:12px;border-bottom:1px solid #e9ecef}#projects-tab .financial-metric-card,#projects-tab .project-labor-summary-card{display:flex;flex-direction:column;gap:4px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}#projects-tab .financial-metric-label,#projects-tab .project-labor-summary-label{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.04em}#projects-tab .financial-metric-value,#projects-tab .project-labor-summary-value{font-size:15px;color:#0f172a}#projects-tab .financials-section{padding:8px 8px 14px}#projects-tab .project-labor-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}#projects-tab .project-labor-summary-card-note{grid-column:1 / -1}#projects-tab .financial-metric-value.is-positive,#projects-tab .project-cash-flow-card strong.is-positive,#projects-tab .project-cash-flow-table .is-positive{color:#047857}#projects-tab .financial-metric-value.is-negative,#projects-tab .project-cash-flow-card strong.is-negative,#projects-tab .project-cash-flow-table .is-negative{color:#b91c1c}#projects-tab .project-cash-flow-forecast{display:flex;flex-direction:column;gap:12px}#projects-tab .project-cash-flow-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}#projects-tab .project-cash-flow-card{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:12px;border:1px solid #bfdbfe;background:linear-gradient(180deg,#fff,#eff6ff)}#projects-tab .project-cash-flow-card span{color:#475569;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}#projects-tab .project-cash-flow-card strong{color:#0f172a;font-size:18px;font-variant-numeric:tabular-nums}#projects-tab .project-cash-flow-card small,#projects-tab .project-cash-flow-note{color:#64748b;font-size:12px;line-height:1.45}#projects-tab .project-cash-flow-tables{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px}#projects-tab .project-cash-flow-table-card{min-width:0;border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:auto}#projects-tab .project-cash-flow-table-card h5{margin:0;padding:10px 12px;border-bottom:1px solid #e2e8f0;color:#1e3a5f;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}#projects-tab .project-cash-flow-table{margin:0}#projects-tab .project-cash-flow-table td,#projects-tab .project-cash-flow-table th{white-space:nowrap}#projects-tab .project-cash-flow-note{margin:0;padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}@media(max-width:980px){#projects-tab .project-cash-flow-tables{grid-template-columns:1fr}}#projects-tab .project-labor-summary-note{font-size:12px;color:#475569;line-height:1.45}#projects-tab .tasks-summary-strip{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}#projects-tab .tasks-summary-pill{padding:4px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:600}#projects-tab .project-task-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}#projects-tab .tasks-header-copy h4{margin:0;font-size:18px;font-weight:700;color:#0f172a}#projects-tab .tasks-header-copy p{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.5;max-width:680px}#projects-tab .tasks-header-actions{display:flex;align-items:center;gap:10px}#projects-tab .project-task-list{display:flex;flex-direction:column;gap:12px}#projects-tab .project-task-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:16px;align-items:flex-start;padding:16px 18px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 12px 32px #0f172a0a}#projects-tab .project-task-row.is-complete{background:linear-gradient(180deg,#fff,#f8fafc)}#projects-tab .project-task-checkbox{display:flex;align-items:center;justify-content:center;padding-top:4px}#projects-tab .project-task-checkbox input{position:absolute;opacity:0;pointer-events:none}#projects-tab .project-task-checkbox-ui{width:18px;height:18px;border-radius:6px;border:1.5px solid #cbd5e1;background:#fff;display:inline-flex;align-items:center;justify-content:center;transition:all .15s ease}#projects-tab .project-task-checkbox input:checked+.project-task-checkbox-ui{border-color:#2563eb;background:#2563eb;box-shadow:0 0 0 3px #2563eb24}#projects-tab .project-task-checkbox input:checked+.project-task-checkbox-ui:after{content:"";width:8px;height:4px;border:2px solid #fff;border-top:none;border-right:none;transform:rotate(-45deg) translateY(-1px)}#projects-tab .project-task-main{min-width:0}#projects-tab .project-task-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}#projects-tab .project-task-title-group{min-width:0}#projects-tab .project-task-title{font-size:15px;font-weight:700;color:#0f172a;line-height:1.35}#projects-tab .project-task-description{margin-top:6px;color:#64748b;font-size:13px;line-height:1.55}#projects-tab .project-task-chip-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}#projects-tab .project-task-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.01em;white-space:nowrap;background:#f8fafc;color:#475569;border:1px solid #e2e8f0}#projects-tab .project-task-chip.tone-success{background:#ecfdf5;color:#047857;border-color:#bbf7d0}#projects-tab .project-task-chip.tone-info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}#projects-tab .project-task-chip.tone-warning{background:#fffbeb;color:#b45309;border-color:#fde68a}#projects-tab .project-task-chip.tone-danger{background:#fef2f2;color:#b91c1c;border-color:#fecaca}#projects-tab .project-task-chip.tone-neutral,#projects-tab .project-task-chip.due{background:#f8fafc;color:#475569;border-color:#e2e8f0}#projects-tab .project-task-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}#projects-tab .project-task-meta-item{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid #eef2f7}#projects-tab .project-task-meta-label{font-size:10px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}#projects-tab .project-task-meta-value{font-size:13px;font-weight:600;color:#0f172a}#projects-tab .project-task-actions{display:flex;flex-direction:column;gap:8px}#projects-tab .project-task-actions .btn-icon{min-width:74px;min-height:34px;padding:8px 12px;border-radius:10px;border:1px solid #dbe3ef;background:#fff;color:#334155;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s ease}#projects-tab .project-task-actions .btn-icon:hover{background:#f8fafc;border-color:#cbd5e1}#projects-tab .project-task-actions .btn-icon.btn-icon-danger:hover{background:#fef2f2;color:#b91c1c;border-color:#fecaca}#projects-tab .project-task-empty{padding:28px 20px;text-align:center;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;color:#64748b;font-size:14px}@media(max-width:1024px){#projects-tab .project-task-row{grid-template-columns:28px minmax(0,1fr)}#projects-tab .project-task-actions{grid-column:2;flex-direction:row;justify-content:flex-end}}@media(max-width:720px){#projects-tab .project-task-header,#projects-tab .project-task-title-row{flex-direction:column}#projects-tab .project-task-chip-row,#projects-tab .project-task-actions{justify-content:flex-start}}#projects-tab .member-metrics{margin-top:4px;font-size:11px;color:#64748b;line-height:1.4}#projects-tab .project-financials-section .section-header .active-project-name{font-size:11px;color:#ffffffd9;font-weight:400;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#projects-tab .financial-summary{display:table-column-group;grid-template-columns:1fr 1fr 1fr;padding:4px 10px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:1px solid #e9ecef;flex-shrink:0}#projects-tab .financial-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:0;font-size:10px}#projects-tab .financial-item:last-child{margin-bottom:0;border:2px solid #3498db;padding-top:2px;font-weight:600}#projects-tab .financial-item label{font-size:10px;color:#495057;font-weight:500}#projects-tab .financial-item span{font-size:10px;font-weight:600;color:#2c3e50}#projects-tab .financials-scrollable-content{flex:1;overflow-y:auto;overflow-x:hidden;height:0;min-height:0}#projects-tab .invoices-section{margin-top:0}#projects-tab .change-orders-section{margin-top:0;padding:8px}#projects-tab .invoices-section h4,#projects-tab .change-orders-section h4{margin:0;font-size:13px;font-weight:600;color:#2c3e50;text-transform:uppercase;letter-spacing:.5px}#projects-tab .data-table{width:100%;border-collapse:collapse;margin-bottom:8px;font-size:10px}#projects-tab .data-table th{background:#f8f9fa;padding:4px;font-size:9px;font-weight:600;color:#495057;border:1px solid #e9ecef;text-align:left}#projects-tab .data-table td{padding:4px;font-size:10px;color:#495057;border:1px solid #e9ecef;vertical-align:middle}#projects-tab .data-table tr:hover{background:#f8f9fa}#projects-tab .invoices-total{margin-top:6px;font-weight:600;text-align:right;color:#2c3e50;font-size:11px}#projects-tab .file-item{display:flex;align-items:center;padding:12px;margin-bottom:8px;background:#f8f9fa;border-radius:6px;border:1px solid #e9ecef;transition:all .2s ease}#projects-tab .file-item:hover{background:#e9ecef;border-color:#3498db}#projects-tab .file-icon{font-size:20px;margin-right:12px;width:24px;text-align:center}#projects-tab .file-info{flex:1;display:flex;flex-direction:column;gap:2px}#projects-tab .file-name{font-size:13px;font-weight:500;color:#2c3e50}#projects-tab .file-actions{display:flex;gap:6px}#projects-tab .btn.tiny{padding:2px 4px;font-size:9px;min-width:auto}#projects-tab .status-badge{padding:1px 4px;border-radius:8px;font-size:8px;font-weight:500;text-transform:uppercase;letter-spacing:.3px}#projects-tab .status-badge.paid{background:linear-gradient(135deg,#4caf50,#66bb6a);color:#fff}#projects-tab .status-badge.pending{background:linear-gradient(135deg,#ff9800,#ffb74d);color:#fff}#projects-tab .status-badge.overdue{background:linear-gradient(135deg,#f44336,#ef5350);color:#fff}#projects-tab .projects-main-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(400px,2.5fr) minmax(220px,1fr);gap:16px;padding:12px;height:100%;width:100%;min-width:0;min-height:0;overflow:hidden!important}@media(max-width:1400px){#projects-tab .projects-main-layout{grid-template-columns:minmax(180px,1fr) minmax(320px,2fr) minmax(160px,1fr);gap:10px;padding:8px}}@media(max-width:1200px){#projects-tab .projects-main-layout{grid-template-columns:minmax(140px,.8fr) minmax(220px,1.6fr) minmax(120px,.8fr);gap:6px;padding:6px}}@media(max-width:1000px){#projects-tab .projects-main-layout{grid-template-columns:1fr;gap:4px;padding:4px}}@media(max-width:800px){#projects-tab .projects-main-layout{display:flex;flex-direction:column;height:100%;gap:2px;padding:2px}}#projects-tab .project-details-section{padding:0!important}#projects-tab .project-header-info{padding:10px!important}#projects-tab .project-name-address .project-name{font-size:14px!important}#projects-tab .project-name-address .project-address,#projects-tab .project-name-address .project-type{font-size:11px!important;padding:2px 6px!important}#projects-tab .customer-information h4,#projects-tab .project-manager h4{font-size:11px!important;margin-bottom:6px!important}#projects-tab .event{font-size:9px!important;padding:1px 2px!important}#projects-tab .file-item{padding:8px!important;font-size:12px!important}#projects-tab .file-name{font-size:12px!important}#projects-tab .file-size{font-size:10px!important}#projects-tab .financial-summary,#projects-tab .invoices-section,#projects-tab .change-orders-section{padding:10px!important}#projects-tab .financial-item,#projects-tab .data-table th,#projects-tab .data-table td{font-size:11px!important;padding:4px 6px!important}@media(max-width:1200px){#projects-tab .projects-main-layout{grid-template-columns:minmax(90px,120px) 1fr minmax(180px,2fr)}}@media(max-width:1400px){#projects-tab .projects-main-layout{grid-template-columns:minmax(240px,280px) 1.2fr minmax(100px,.6fr)}}@media(max-width:1200px){#projects-tab .projects-main-layout{grid-template-columns:minmax(200px,240px) 1fr minmax(80px,.5fr)}}@media(max-width:1000px){#projects-tab .projects-main-layout{grid-template-columns:1fr}}#projects-tab .project-details-info-row{display:flex;flex-direction:row;gap:16px;width:100%;margin-bottom:0;padding-bottom:0}#projects-tab .customer-information{flex:1 1 0;min-width:0;padding:12px 20px;box-sizing:border-box;text-align:left;align-items:flex-start;display:flex;flex-direction:column}#projects-tab .project-manager{flex:1 1 0;min-width:0;padding:12px 20px;box-sizing:border-box;text-align:right;align-items:flex-end;display:flex;flex-direction:column}@media(max-width:900px){#projects-tab .project-details-info-row{flex-direction:column;gap:0}#projects-tab .customer-information,#projects-tab .project-manager{padding:10px 12px;text-align:left;align-items:flex-start}}#projects-tab .file-item{display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:4px;transition:background .2s ease;cursor:pointer}#projects-tab .file-item:hover{background:#e9ecef}#projects-tab .file-icon{font-size:14px}#projects-tab .file-name{flex:1;font-size:13px;color:#495057;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#projects-tab .file-size{font-size:11px;color:#6c757d}#projects-tab .file-actions{display:flex;gap:4px;opacity:0;transition:opacity .2s ease}#projects-tab .file-item:hover .file-actions{opacity:1}#projects-tab .file-actions .btn-icon{background:none;border:none;padding:2px 6px;font-size:12px;cursor:pointer;border-radius:3px;transition:background .2s ease}#projects-tab .file-actions .btn-icon:hover{background:#dee2e6}#projects-tab .empty-folder{padding:12px;text-align:center;color:#6c757d;font-style:italic;font-size:12px}#projects-tab .projects-content-column .projects-panel .section-header:not(.files-header){display:none!important}#projects-tab .projects-content-column .projects-panel .files-header{gap:10px}#projects-tab .projects-content-column .projects-panel .files-header .search-container{margin-top:0!important}#projects-tab .project-details-info-row{display:flex;flex-direction:row;gap:16px;width:100%;background:linear-gradient(135deg,#f8fafb,#fff);border-bottom:1px solid #e9ecef;box-shadow:0 1px 3px #00000005}#projects-tab .project-manager{flex:1 1 0;min-width:0;padding:8px 16px 0;box-sizing:border-box;font-size:12px}#projects-tab .customer-information h4,#projects-tab .project-manager h4{margin:0 0 8px;font-size:14px;font-weight:600;color:#2c3e50;text-transform:uppercase;letter-spacing:.5px;padding-bottom:6px;border-bottom:2px solid #3498db;position:relative}#projects-tab .customer-information h4:after,#projects-tab .project-manager h4:after{content:"";position:absolute;bottom:-2px;left:0;width:30px;height:2px;background:linear-gradient(90deg,#3498db,#2980b9)}#projects-tab .project-manager h4:after{right:0;left:auto}#projects-tab .customer-information div,#projects-tab .project-manager div{border-bottom:1px solid #f8f9fa;transition:background-color .2s ease;font-size:11px;line-height:1.3;padding:2px 0}#projects-tab .customer-information div:hover,#projects-tab .project-manager div:hover{background-color:#f8fafb;border-radius:3px;padding-left:6px;padding-right:6px;margin-left:-6px;margin-right:-6px}#projects-tab .customer-information strong,#projects-tab .project-manager strong{color:#2c3e50;font-weight:600;text-transform:uppercase;letter-spacing:.2px;font-size:10px}#projects-tab .project-details-meta-row{align-items:stretch}#projects-tab .project-location-summary-card,#projects-tab .project-storage-summary-card,#projects-tab .project-activity-feed-card{flex:1 1 0;min-width:0;padding:10px 16px 12px;box-sizing:border-box;background:linear-gradient(135deg,#f8fafb,#fff)}#projects-tab .project-location-summary-card h4,#projects-tab .project-storage-summary-card h4,#projects-tab .project-activity-feed-card h4{margin:0 0 10px;font-size:14px;font-weight:600;color:#2c3e50;text-transform:uppercase;letter-spacing:.5px;padding-bottom:6px;border-bottom:2px solid #3498db}#projects-tab .project-location-summary,#projects-tab .project-storage-summary,#projects-tab .project-activity-feed{display:flex;flex-direction:column;gap:10px}#projects-tab .project-storage-summary-item{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.4}#projects-tab .project-storage-summary-label{font-weight:700;color:#475569}#projects-tab .project-storage-summary-value{color:#0f172a;text-align:right;word-break:break-word}#projects-tab .project-activity-feed-entry{display:grid;grid-template-columns:30px 1fr;gap:10px}#projects-tab .project-activity-icon{width:30px;height:30px;border-radius:999px;background:#3498db1f;color:#2980b9;display:flex;align-items:center;justify-content:center;font-size:13px}#projects-tab .project-activity-title{font-size:12px;font-weight:700;color:#0f172a}#projects-tab .project-activity-summary{font-size:12px;color:#334155;margin-top:2px}#projects-tab .project-activity-meta{font-size:11px;color:#64748b;margin-top:3px}#projects-tab .project-activity-feed-empty,#projects-tab .project-storage-summary-empty{color:#64748b;font-style:italic;font-size:12px}#projects-tab .file-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}#projects-tab .project-header-info{padding:12px 20px;border-bottom:1px solid #e9ecef;flex-shrink:0;background:linear-gradient(135deg,#f8fafb,#fff);position:relative}#projects-tab .project-header-info:after{content:"";position:absolute;bottom:0;left:20px;right:20px;height:1px;background:linear-gradient(90deg,transparent 0%,#e9ecef 50%,transparent 100%)}#projects-tab .project-name-address .project-name{font-weight:600;font-size:10px;color:#2c3e50;text-shadow:0 1px 2px rgba(44,62,80,.1)}#projects-tab .project-name-address .project-type{display:inline-block;padding:4px 12px;background:linear-gradient(135deg,#e8f5e8,#c8e6c9);color:#2e7d32;border-radius:12px;font-size:14px;font-weight:500;text-transform:capitalize;box-shadow:0 2px 4px #2e7d321a;border:1px solid rgba(46,125,50,.2)}#projects-tab .project-status-badge{padding:2px 6px;border-radius:10px;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #0000001a;border:1px solid rgba(255,255,255,.3)}#projects-tab .project-status-badge.status-active{background:linear-gradient(135deg,#4caf50,#66bb6a);border-color:#4caf504d}#projects-tab .project-status-badge.status-completed{background:linear-gradient(135deg,#2196f3,#42a5f5);border-color:#2196f34d}#projects-tab .project-status-badge.status-on-hold{background:linear-gradient(135deg,#ff9800,#ffb74d);border-color:#ff98004d}#projects-tab .project-status-badge.status-cancelled{background:linear-gradient(135deg,#f44336,#ef5350);border-color:#f443364d}#projects-tab .project-status-badge.status-archived{background:linear-gradient(135deg,#6b7280,#9ca3af);border-color:#6b72804d}#projects-tab .project-status-badge.status-warranty{background:linear-gradient(135deg,#0891b2,#22d3ee);border-color:#0891b24d}#projects-tab .project-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;font-size:10px;color:#6c757d}#projects-tab .project-customer,#projects-tab .project-dates{font-size:10px;color:#6c757d;line-height:1.2}#projects-tab .project-progress{display:flex;align-items:center;gap:6px;margin-bottom:4px}#projects-tab .progress-bar{flex:1;height:6px;background:#f8f9fa;border-radius:3px;overflow:hidden}#projects-tab .progress-fill{height:100%;background:linear-gradient(90deg,#4caf50,#66bb6a);transition:width .3s ease}#projects-tab .progress-text{font-size:9px;font-weight:500;color:#495057;min-width:24px;text-align:right}#projects-tab .project-financials{display:flex;justify-content:space-between;align-items:center;font-size:9px;margin-top:2px}#projects-tab .project-budget,#projects-tab .project-spent{font-size:9px;font-weight:500;line-height:1.2}#projects-tab .project-budget{color:#2e7d32}#projects-tab .project-spent{color:#d32f2f}#projects-tab .projects-main-layout{grid-template-columns:minmax(240px,.7fr) minmax(0,2.3fr)!important}#projects-tab .projects-content-column{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-radius:10px;background:var(--card-background);box-shadow:0 2px 8px var(--shadow-color)}#projects-tab .projects-sub-ribbon{display:flex;flex-wrap:wrap;gap:1px;padding:0 12px;border-bottom:1px solid var(--amd-blue-strong, #163e72);background:var(--amd-section-header-bg, #1d4f8f);min-height:44px;align-items:center}#projects-tab .projects-sub-tab{background:transparent;border:none;border-bottom:3px solid transparent;color:#b0c4de;padding:12px 14px;font-size:13px;font-weight:600;line-height:1;cursor:pointer;transition:all .2s ease}#projects-tab .projects-sub-tab:hover{background:#ffffff1a;color:#fff}#projects-tab .projects-sub-tab.active{color:#fff;border-bottom-color:#66a3ff;font-weight:700}#projects-tab .projects-panel-container{flex:1 1 auto;min-height:0;overflow:hidden;background:#fff}#projects-tab .projects-panel{display:none;height:100%;min-height:0;overflow:hidden}#projects-tab .projects-panel.active{display:flex;flex-direction:column}#projects-tab .projects-panel .project-details-section,#projects-tab .projects-panel .project-calendar-section,#projects-tab .projects-panel .project-files-section,#projects-tab .projects-panel .project-financials-section{flex:1 1 auto!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0!important;border-radius:0!important;box-shadow:none!important}#projects-tab .project-panel-card{display:flex;flex-direction:column;height:100%;min-height:0;background:#fff}#projects-tab .project-panel-scroll{flex:1 1 auto;min-height:0;overflow:auto;padding:12px}@media(max-width:1050px){#projects-tab .projects-main-layout{grid-template-columns:1fr!important}}
