:root{--ink:#17324d;--muted:#64748b;--bg:#f3f6fb;--green:#163b65;--line:#dce4ee;--navy:#123152;--sky:#38bdf8;--purple:#8b5cf6;--success:#22a06b;--danger:#dc3545;--magenta:#d946a6}body{color:var(--ink);background:var(--bg)}aside{background:var(--navy);color:#d6e6f5}.brand small,.navlabel{color:#9ab6d5}.logo{background:#38bdf8;color:#102a43}.avatar{background:#e0eafa;color:#163b65}nav button.active,nav button:hover{background:#254d79;color:#fff}.sidelow{border-color:#335578}.primary,.view-switch button.chosen{background:#163b65;border-color:#163b65;color:white}.primary:hover{background:#224e7d}.view-switch{background:#edf3fb;border-color:#d3dfee}.job-emblem,.mini-stat .stat-icon{background:#e6f2ff;color:#2563a6}.job-card.add{color:#627e9c;border-color:#afc5de}.job-card.add>span{background:#e5effb}.project-nav button.active{border-color:#38bdf8;color:#163b65}.project-nav button{color:#64748b}.badge{background:#dcf5eb;color:#1e7b54}.badge.test{background:#f0e8ff;color:#7045ac}.preview-label{background:#eef4ff;border-color:#c7d9f0;color:#365b86}.fieldmode .ipad-action:first-child{background:#163b65}.fieldmode .ipad-action:first-child .action-icon{color:#7dd3fc}.fieldmode .ipad-action:first-child small{color:#c3dcf8}.drawing-banner{background:#edf5ff;border-color:#cbdff5}.drawing-banner p,.hint,.help-text,.plain-state,.note-callout,.small-label,.info-row{color:#64748b}.quick-drawings .stack{background:#e9f4ff;color:#2563a6;border-color:#c9dff5}.floor-summary,.hours-card,.panel{border-color:var(--line)}.hours-card:hover{border-color:#7db7ea}.bar{background:#eaf0f8}.bar.no-data{border-color:#c6d4e4}.textbutton,.eyebrow{color:#23588a}.phase-strip{color:#617792}.phase-strip .statusdot{background:#38bdf8}.phase-strip>button{min-height:36px}.planned-grid span{background:#edf3fb;color:#4c6989}.dw-toolbar button[aria-pressed=true]{background:#163b65;color:#fff}.dw-toolbar #dwCrop[aria-pressed=true]{background:#b42332;border-color:#b42332;color:white;box-shadow:0 0 0 3px #dc35452b}.dw-body aside.dw-sheets{background:#fff;display:flex!important;flex-direction:column;overflow:hidden;padding:0}.dw-search-controls{flex:none;padding:12px 12px 6px;border-bottom:1px solid #dce4ee;background:#fff;z-index:2}.dw-sheets #dwList{flex:1;min-height:0;overflow:auto;padding:6px 12px 12px}.dw-sheets button.chosen{background:#e0f2fe;border-color:#7dd3fc}.dw-sheets button small{color:#58718d}#dwStatus{background:#eaf2fb;color:#234a72}#dwScroll{background:#e0e7ef;user-select:none;overflow-anchor:none}#dwStage{position:relative;margin:auto;will-change:transform;isolation:isolate}#dwPaper{margin:0;transform-origin:0 0;will-change:transform;backface-visibility:hidden}#dwScroll.panning{cursor:grabbing}#dwScroll.creation-mode,#dwScroll.creation-mode *{cursor:none!important}#dwCrosshair{position:absolute;display:none;pointer-events:none;width:0;height:0;z-index:10}#dwCrosshair:before,#dwCrosshair:after{content:'';position:absolute;background:#ef233c;box-shadow:0 0 1px white}#dwCrosshair:before{width:140px;height:1px;left:-70px;top:0}#dwCrosshair:after{height:140px;width:1px;top:-70px;left:0}.dw-hotlink{background:#38bdf830!important;outline:1px solid #38bdf8a0}.dw-hotlink:hover,.dw-hotlink:focus-visible{background:#38bdf85c!important;outline:2px solid #0ea5e9}.dw-help{color:#365d83}.dw-help:has(+*){color:inherit}#dwSelection{border-color:#dc3545;background:#ef233c16}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.file-input{position:absolute;left:-10000px;width:1px;height:1px}.file-drop{border:2px dashed #9cbfe1;border-radius:10px;background:#f3f8ff;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px;gap:9px;text-align:center;cursor:pointer;margin:20px 0 10px}.file-drop strong{font-size:16px}.file-drop span,.file-drop small{color:#617a98;font-size:12px;overflow-wrap:anywhere}.file-drop.drag-over{border-color:#0ea5e9;background:#dff3ff;box-shadow:0 0 0 4px #38bdf82b}.selected-files{padding-left:20px;max-height:140px;overflow:auto}.selected-files li{padding:6px 0;overflow-wrap:anywhere}.selected-files small{color:#64748b}.document-list{display:grid;gap:12px}.document-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px;display:flex;align-items:center;gap:18px}.document-icon{padding:14px;border-radius:9px;background:#f0eaff;color:#8b5cf6}.document-info{flex:1;min-width:0}.document-info h3{font-size:15px;margin:0 0 5px;overflow-wrap:anywhere}.document-info p{font-size:13px;margin:0 0 5px;overflow-wrap:anywhere}.document-info small{color:#64748b;font-size:12px}.document-actions{display:flex;gap:7px;flex-wrap:wrap}#documentViewer{width:92vw;height:90dvh;max-width:1400px;padding:15px;overflow:hidden}#documentViewer[open]{display:flex;flex-direction:column}.document-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:12px}.document-viewer-head h2{font-size:16px}#documentViewer iframe{width:100%;height:100%;flex:1;border:1px solid var(--line)}.photo-source-buttons{display:flex;gap:10px;margin:18px 0}.snapshot-description{font-size:13px;line-height:1.6;color:#526b86;white-space:pre-wrap}.photo img{object-fit:contain;background:#edf3fb}@media(max-width:900px){.dw-search-controls{padding:8px}.dw-sheets #dwList{padding:4px 8px}}@media(max-width:600px){.dw-body aside.dw-sheets{display:flex!important;flex:0 0 112px}.dw-search-controls{display:flex;gap:6px;padding:5px}.dw-search-controls input,.dw-search-controls select{width:50%;margin:0}.dw-sheets #dwList{display:flex;padding:3px 6px;overflow:auto;flex:1}.dw-sheets #dwList button{flex:0 0 100px;margin:0 3px}.document-card{flex-wrap:wrap}.document-actions{width:100%}.phase-strip{flex-wrap:wrap}.phase-strip>span{flex:1 1 100%}.dw-toolbar{gap:4px}}

.brand{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:0;width:100%}.company-logo{display:block;width:100%;max-width:174px;height:auto;background:white;padding:9px;border-radius:8px}.product-name{font-size:21px;letter-spacing:-.4px;color:white}.field-company-logo{width:118px;max-height:48px;object-fit:contain;background:white;padding:3px;border-radius:5px}.field-top-brand{gap:12px}@media(max-width:850px){.company-logo{padding:3px;border-radius:4px}.brand .product-name{display:none}}@media(max-width:620px){.field-company-logo{width:76px}.field-top-brand{gap:7px}.field-top-brand>span{font-size:12px}}

.office-project-tabs{display:flex;flex-wrap:wrap}aside nav{min-height:0;overflow-y:auto}aside .navlabel{margin-top:24px}nav button{min-height:48px}nav button.active{box-shadow:inset 3px 0 #38bdf8}.labor-legend{display:flex;gap:20px;font-size:11px;color:#64748b;margin:12px 0 18px}.labor-legend span{display:flex;align-items:center;gap:6px}.labor-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.budget-key,.labor-chart-budget{background:#163b65}.actual-key,.labor-chart-used{background:#38bdf8}.labor-chart-row{display:block;width:100%;text-align:left;padding:13px 0;border-radius:0;border-bottom:1px solid #e5ebf3}.labor-chart-row:hover{background:#f5f9ff}.labor-chart-row strong{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;margin-bottom:10px}.labor-chart-row strong i{display:inline-block;width:7px;height:7px;border-radius:50%}.labor-chart-line{display:grid;grid-template-columns:43px 1fr 83px;align-items:center;gap:9px;font-size:10px;margin:7px 0;color:#62758c}.labor-chart-line small{text-align:right;font-size:10px}.labor-chart-track{height:8px;background:#edf2f8;border-radius:4px;overflow:hidden}.labor-chart-track>div{height:100%;border-radius:4px}.labor-chart-track.missing{border:1px dashed #c5d4e3;background:transparent}.labor-overview .help-text{margin:15px 0 0}.labor-overview{min-width:0}@media(max-width:850px){nav button{justify-content:center}.labor-chart-line{grid-template-columns:38px 1fr 75px}}@media(max-width:620px){.project-lower{grid-template-columns:1fr}}

.project-health-card{margin:25px 0 0;padding:22px;overflow:hidden}.project-health-card .panelTitle{align-items:flex-start}.project-health-card h3{font-size:17px;margin:0}.project-health-card .help-text{margin:7px 0 0}.project-health-chart{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(145px,1fr);gap:18px;overflow-x:auto;padding:3px 0 14px}.project-health-project{padding:15px 13px;border:1px solid #e0e8f2;border-radius:8px;text-align:center;background:#fbfdff;min-width:0}.project-health-project:hover{border-color:#7dd3fc;background:#f0f8ff}.health-badge{display:inline-block;border-radius:4px;padding:5px 7px;font-size:10px;margin-bottom:17px;background:#edf2f7;color:#64748b}.health-badge.good{background:#dff5ea;color:#1c7752}.health-badge.review{background:#fde8eb;color:#b42332}.project-health-bars{display:flex;justify-content:center;gap:20px}.project-health-bar{width:63px;display:flex;flex-direction:column;align-items:center;gap:8px}.project-health-bar>small{font-size:11px;white-space:nowrap}.project-health-track{height:150px;width:28px;position:relative;background:#edf3f9;border-radius:5px;overflow:hidden}.project-health-track>i{position:absolute;bottom:0;left:0;right:0;border-radius:4px;display:block}.health-budget{background:#163b65}.health-actual{background:#38bdf8}.health-actual.review{background:#dc3545}.project-health-track.unknown{border:1px dashed #c5d4e3;background:transparent}.project-health-bar>span{font-size:10px;color:#64748b;white-space:nowrap}.health-project-name{display:block;margin:17px 0 7px;font-size:13px;font-weight:500;overflow-wrap:anywhere}.health-progress{font-size:11px;color:#64748b}.health-explanation{line-height:1.6}.project-health-card .labor-legend{margin-top:15px}

.health-badge.warning{background:#fff0d3;color:#9a5b00}.health-actual.warning{background:#f59e0b}.health-budget-use{display:block;font-size:11px;font-weight:500;color:#405b76;margin:8px 0}.health-budget-use.warning{color:#ad6500}.health-budget-use.review{color:#b42332}.health-budget-use.good{color:#1c7752}

.health-tiles-section{padding:0;background:transparent;border:0;overflow:visible}.health-tiles-section>.panelTitle{align-items:flex-start}.health-tiles-section>.labor-legend{margin:15px 0}.project-health-chart.health-tiles-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;padding:0;gap:16px}.project-health-project.health-tile{background:#fff;border:1px solid #dce4ee;border-radius:10px;padding:18px 18px 15px;box-shadow:0 2px 5px #163b6505;display:flex;flex-direction:column;align-items:stretch;transition:border-color .15s,box-shadow .15s}.project-health-project.health-tile:hover{border-color:#7dd3fc;background:#fbfdff;box-shadow:0 4px 14px #163b6510}.health-tile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;min-height:38px;margin-bottom:12px;text-align:left}.health-tile .health-project-name{margin:0;font-size:16px;line-height:1.4}.health-tile .health-badge{margin:0;flex-shrink:0;font-size:10px}.health-tile .project-health-bars{gap:30px}.health-tile .project-health-bar{width:83px}.health-tile .project-health-track{height:105px;width:32px}.health-tile .project-health-bar>small{font-size:14px}.health-tile .project-health-bar>span{font-size:10px}.health-tile-summary{display:flex;flex-direction:column;gap:3px;margin-top:15px;padding-top:12px;border-top:1px solid #edf2f8}.health-tile-summary .health-budget-use{font-size:12px;margin:0}.health-tile-summary .health-progress{font-size:11px}.health-tile-open{margin-top:13px;font-size:11px;font-weight:500;color:#23588a}.health-tiles-section>.health-explanation{margin-top:15px}@media(max-width:680px){.project-health-chart.health-tiles-grid{grid-template-columns:1fr}.health-tile-head{min-height:0}}@media(min-width:681px) and (max-width:1000px){.health-tile-head{flex-direction:column;gap:6px;min-height:58px}}

.equipment-form-plan{margin:24px 0 12px;padding:22px;border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left}.equipment-form-plan h3{margin:14px 0 8px;font-size:16px}.equipment-form-plan h4{font-size:13px;margin:10px 0}.equipment-form-plan p,.equipment-form-plan li{font-size:13px;line-height:1.7}.equipment-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.equipment-plan-grid ul{padding-left:18px;margin:0}@media(max-width:620px){.equipment-plan-grid{grid-template-columns:1fr;gap:6px}}

.project-job-number{font-size:12px!important;color:#365d83!important;margin:6px 0!important;overflow-wrap:anywhere}
