.project-detail-page{max-width:1600px;margin:0 auto;padding:2rem}.project-header{margin-bottom:2rem}.project-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.project-title-section h1{color:var(--text-primary);margin:1rem 0 .5rem;font-size:2.5rem}.project-description{color:var(--text-secondary);margin:0;font-size:1.1rem}.status-controls{align-items:center;gap:1rem;display:flex}.current-status{border-radius:20px;padding:.5rem 1rem;font-size:1rem;font-weight:600}.current-status.planned{color:#fff;background:#8b5cf6}.current-status.in_progress{color:#fff;background:#3b82f6}.current-status.completed{color:#fff;background:#10b981}.status-transition-buttons{gap:.5rem;display:flex}.btn-status{cursor:pointer;border:none;border-radius:6px;align-items:center;gap:.3rem;padding:.5rem 1rem;font-size:.9rem;font-weight:600;transition:all .2s;display:flex}.btn-start{color:#fff;background:#3b82f6}.btn-start:hover{background:#2563eb}.btn-complete{color:#fff;background:#10b981}.btn-complete:hover{background:#059669}.btn-reopen{color:#fff;background:#f59e0b}.btn-reopen:hover{background:#d97706}.project-content{grid-template-columns:400px 1fr;gap:2rem;display:grid}.project-left-column{flex-direction:column;gap:1.5rem;display:flex}.cost-summary-card,.task-progress-card{background:var(--card-background);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem}.cost-summary-card h2,.task-progress-card h2{color:var(--text-primary);margin:0 0 1rem;font-size:1.3rem}.pie-chart-container{margin:1.5rem 0}.pie-chart{width:100%;max-width:300px;height:auto;margin:0 auto;display:block}.empty-chart{background:var(--background-secondary);width:200px;height:200px;color:var(--text-secondary);border-radius:50%;justify-content:center;align-items:center;margin:0 auto;display:flex}.chart-legend{margin-top:1rem}.legend-item{align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.9rem;display:flex}.legend-color{border-radius:3px;flex-shrink:0;width:16px;height:16px}.legend-label{color:var(--text-primary);flex:1}.legend-value{color:var(--text-secondary);font-weight:600}.cost-stats{border-top:1px solid var(--border-color);flex-direction:column;gap:.75rem;margin-top:1rem;padding-top:1rem;display:flex}.stat-item{justify-content:space-between;align-items:center;display:flex}.stat-label{color:var(--text-secondary);font-size:.95rem}.stat-value{color:var(--text-primary);font-size:1.1rem;font-weight:700}.budget-diff .stat-value.over{color:#e74c3c}.budget-diff .stat-value.under{color:#27ae60}.progress-bar-container{background:var(--background-secondary);border-radius:12px;width:100%;height:24px;margin-bottom:.5rem;overflow:hidden}.progress-bar{background:linear-gradient(90deg,#4ecdc4 0%,#44a08d 100%);border-radius:12px;height:100%;transition:width .3s}.progress-text{text-align:center;color:var(--text-primary);margin:0;font-weight:600}.project-right-column{flex-direction:column;gap:2rem;display:flex}.parts-section,.tasks-section{background:var(--card-background);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem}.section-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.section-header h2{color:var(--text-primary);margin:0;font-size:1.5rem}.parts-list{gap:1rem;display:grid}.part-card{background:var(--background-secondary);border:1px solid var(--border-color);border-radius:8px;padding:1.25rem;transition:transform .2s,box-shadow .2s}.part-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.part-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.part-header h3{color:var(--text-primary);flex:1;margin:0;font-size:1.2rem}.part-actions{align-items:center;gap:.5rem;display:flex}.btn-delete{border:1px solid var(--border-color);cursor:pointer;background:0 0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:.5rem;font-size:1.2rem;line-height:1;transition:all .2s;display:flex}.btn-delete:hover{background:var(--color-error);border-color:var(--color-error);transform:scale(1.05)}.btn-delete.btn-sm{width:32px;height:32px;font-size:1rem}.part-details{gap:.5rem;margin-bottom:1rem;display:grid}.part-field{align-items:center;gap:.5rem;display:flex}.part-field.total{border-top:1px solid var(--border-color);margin-top:.5rem;padding-top:.5rem;font-weight:700}.field-label{color:var(--text-secondary);font-size:.9rem}.field-value{color:var(--text-primary);font-weight:600}.part-link{color:var(--accent-color);font-weight:600;text-decoration:none}.part-link:hover{text-decoration:underline}.part-footer{border-top:1px solid var(--border-color);justify-content:space-between;align-items:center;padding-top:.75rem;display:flex}.purchased-checkbox{cursor:pointer;color:var(--text-secondary);align-items:center;gap:.5rem;display:flex}.purchased-checkbox input[type=checkbox]{cursor:pointer;width:20px;height:20px}.tasks-list{flex-direction:column;gap:.75rem;display:flex}.task-card{background:var(--background-secondary);border:1px solid var(--border-color);border-radius:8px;padding:1rem;transition:all .2s}.task-card.completed{opacity:.7;background:var(--background-tertiary)}.task-card.completed .task-name{color:var(--text-secondary);text-decoration:line-through}.task-content{align-items:flex-start;gap:1rem;display:flex}.task-checkbox{cursor:pointer;flex-shrink:0;width:24px;height:24px;margin-top:2px}.task-text{flex-direction:column;flex:1;gap:.25rem;display:flex}.task-name{color:var(--text-primary);font-size:1.05rem;font-weight:600}.task-notes{color:var(--text-secondary);font-size:.9rem}.empty-state{text-align:center;color:var(--text-secondary);padding:3rem 1rem;font-size:1.1rem}@media (max-width:1200px){.project-content{grid-template-columns:1fr}.project-left-column{order:2}.project-right-column{order:1}}@media (max-width:768px){.project-detail-page{padding:1rem}.project-title-section h1{font-size:2rem}.cost-summary-card,.task-progress-card,.parts-section,.tasks-section{padding:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.part-card{padding:1rem}.part-header{flex-direction:column;align-items:flex-start;gap:.75rem}.part-header h3,.part-actions{width:100%}.part-actions button{flex:1;width:auto;min-width:0}}.project-visibility-row{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.visibility-badge{border-radius:8px;padding:.5rem 1rem;font-size:.9rem;font-weight:600}.visibility-badge.public{color:#fff;background-color:#10b981}.visibility-badge.private{color:#fff;background-color:#6b7280}