.project-view #dayClock,.project-view .overview,.project-view .workspace-heading{display:none!important}
.project-head,.project-actions,.project-stage-head,.project-job,.project-invoice{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
.project-head{margin-bottom:24px}.project-head h2{margin:8px 0;font-size:28px}.project-actions{justify-content:flex-start}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}.project-card{display:block;width:100%;text-align:left;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:22px;color:var(--ink);cursor:pointer}.project-card h3{margin:0 0 8px;font-size:21px}.project-card p,.project-sub{color:var(--muted);margin:6px 0;font-size:14px;line-height:1.6}.project-card:hover{border-color:var(--accent)}.project-progress{width:100%;height:8px;accent-color:var(--accent);margin:14px 0 8px}.project-panel{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:20px;margin:16px 0}.project-panel>summary{cursor:pointer;font-weight:650;padding:2px 0}.project-panel>summary span{font-size:13px;font-weight:400;color:var(--muted);margin-left:12px}.project-panel>summary+.project-inner{margin-top:18px}.project-job,.project-invoice{padding:14px 0;border-bottom:1px solid var(--border);flex-wrap:nowrap}.project-job:last-child,.project-invoice:last-child{border-bottom:0}.project-job-main{flex:1;min-width:0;border:0;background:none;text-align:left;color:var(--ink);padding:0;cursor:pointer}.project-job-main strong,.project-job-main small{display:block;line-height:1.5}.project-job-main small{color:var(--muted);margin-top:4px}.project-tag{display:block;color:var(--accent);font-size:12px;font-weight:600;margin:9px 0 0;line-height:1.5}.project-invoice>div:first-child{min-width:0;flex:1}.project-invoice small{display:block;color:var(--muted);margin-top:5px}.project-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.project-summary>div{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:17px}.project-summary strong{display:block;font-size:25px;margin-top:6px}.project-summary span{font-size:12px;color:var(--muted)}.project-scope{white-space:pre-wrap;font-size:14px;line-height:1.7}.project-empty{text-align:center;padding:35px 20px;color:var(--muted)}.project-dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--border);border-radius:18px;padding:24px;background:var(--card);color:var(--ink)}.project-dialog::backdrop{background:#172b454d}.project-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-dialog h2{margin:0;font-size:24px}.project-dialog label:not(.project-check){display:block;font-size:14px;font-weight:600;margin:16px 0 7px}.project-dialog input:not([type=checkbox]),.project-dialog select,.project-dialog textarea,#projectJobFields select{width:100%;min-width:0;padding:13px;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--ink);font:inherit}.project-dialog .project-actions{margin-top:20px}.project-stage-edit{display:grid;grid-template-columns:minmax(0,1fr) 145px auto;gap:8px;align-items:end;border-bottom:1px solid var(--border);padding:10px 0}.project-stage-edit label{margin:0 0 6px!important}.project-stage-edit .project-actions{gap:3px;margin:0}.project-stage-edit button{padding:8px;min-width:30px}.project-check{display:flex;gap:10px;align-items:flex-start;padding:12px 0;line-height:1.5}.project-check input{margin-top:5px;flex-shrink:0;width:18px;height:18px}.project-job-options{border:1px solid var(--border);border-radius:10px;padding:0 14px;max-height:230px;overflow:auto}.project-dialog .form-message{color:var(--bad);font-size:14px;line-height:1.5}.project-sheet-box{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:14px;margin-bottom:20px}.project-sheet-box label{margin:10px 0 5px;font-size:13px;display:block}.project-sheet-box label:first-child{margin-top:0}.project-sheet-box .btn{margin-top:10px}.project-invoice .project-actions{justify-content:flex-end}.project-job .pill{font-size:12px;white-space:normal}.project-files a{overflow-wrap:anywhere}.project-files .record-line{gap:10px}.project-note{font-size:13px;color:var(--muted);line-height:1.5}
@media(max-width:650px){.project-grid{grid-template-columns:1fr}.project-summary{gap:6px}.project-summary>div{padding:12px}.project-summary strong{font-size:22px}.project-dialog{padding:18px}.project-stage-edit{grid-template-columns:minmax(0,1fr) 120px}.project-stage-edit .project-actions{grid-column:1/-1;justify-content:flex-end}.project-head h2{font-size:24px}.project-panel{padding:16px}.project-invoice{flex-wrap:wrap}.project-invoice .project-actions{width:100%;justify-content:flex-start}.project-job{gap:8px}.project-actions .btn{white-space:normal}.project-job-main strong{font-size:15px}}
