/* Public renovation worksheets, in the existing ocean palette. */
.ren-workspace{display:grid;gap:16px;margin:20px 0 36px;min-width:0}
.ren-panel{min-width:0;padding:22px;border:1px solid #35516a;border-radius:18px;background:#10263a;color:#e2eef7}
.ren-summary{background:linear-gradient(145deg,#193a50,#10263a)}
.ren-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.ren-head h2{color:#f3f9ff;font-size:clamp(18px,2.4vw,24px);line-height:1.25;margin:4px 0;letter-spacing:-.02em}
.ren-kicker{font-weight:750;font-size:10px;color:#a8cde4;letter-spacing:.1em}
.ren-pill{border:1px solid #587991;border-radius:99px;padding:4px 9px;color:#c9e1ef;font-size:11px}
.ren-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.ren-metrics>div{min-width:0;background:#0d263a;border:1px solid #476980;border-radius:12px;padding:14px}
.ren-metrics span{display:block;color:#b9d2e1;font-size:12px;line-height:1.35}
.ren-metrics strong{display:block;font-size:clamp(20px,3vw,30px);font-weight:760;line-height:1.15;margin:7px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#f1f8fc}
.ren-metrics .ren-positive strong{color:#99d8c6}
.ren-metrics .ren-warning strong{color:#ffb5b1}
.ren-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 10px}
.ren-breakdown span{display:grid;gap:3px;color:#b7cede;font-size:12px;overflow-wrap:anywhere}
.ren-breakdown b{color:#e8f4fb;font-size:15px;font-variant-numeric:tabular-nums}
.ren-help,.ren-summary-note,.ren-quote-summary{font-size:12px;line-height:1.55;color:#bed2e2;margin:0 0 12px}
.ren-quote-summary{margin:12px 0 0;color:#e3f0f7}
.ren-task-progress{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;margin:12px 0 0}
.ren-task-progress progress{height:8px;max-width:220px;width:100%;accent-color:#9bd4c9}
.ren-project{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}
.ren-row{display:grid;align-items:end;gap:9px;padding:10px 0;border-top:1px solid #30485e;min-width:0}
.ren-item{grid-template-columns:minmax(150px,2fr) repeat(3,minmax(95px,1fr)) auto}
.ren-quote{grid-template-columns:minmax(110px,1fr) minmax(110px,1fr) minmax(160px,2fr) auto auto}
.ren-task{grid-template-columns:auto minmax(180px,3fr) minmax(140px,1fr) auto}
.ren-field{display:grid;gap:5px;min-width:0;font-size:11px;font-weight:650;color:#b9d2e3}
.ren-field input,.ren-field select{box-sizing:border-box;min-height:43px;width:100%;min-width:0;padding:8px 10px;border:1px solid #587b95;border-radius:9px;background:#0b2032;color:#f2f8fc;font:inherit;font-size:15px;font-weight:500;color-scheme:dark}
.ren-field input[type=number]{appearance:textfield;-moz-appearance:textfield}
.ren-field input[type=number]::-webkit-inner-spin-button,.ren-field input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ren-check{display:grid;place-items:center;min-width:40px;height:43px}
.ren-check input{width:22px;height:22px;accent-color:#9ad4c2;cursor:pointer}
.ren-secondary,.ren-primary,.ren-remove{appearance:none;min-height:40px;padding:8px 12px;border:1px solid #65849b;border-radius:9px;background:#1b3a51;color:#e7f4fb;cursor:pointer;font:inherit;font-size:12px;font-weight:680;white-space:nowrap}
.ren-primary{background:#b4d9ed;border-color:#b4d9ed;color:#102a3d}
.ren-remove{background:transparent;color:#e3bdbe;border-color:#77555e}
.ren-workspace button:disabled{opacity:.5;cursor:default}
.ren-workspace :is(button,input,select):focus-visible{outline:3px solid #b4e1fa;outline-offset:2px}
.ren-apply-target{max-width:420px;margin:0 0 12px}
.ren-save .ren-help{margin:0 0 8px}
.ren-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ren-workspace [hidden]{display:none!important}
.ren-workspace [role=alert]{color:#ffc2bf;font-size:13px;line-height:1.45}
.ren-workspace [data-ren-message]{margin:10px 0 0}
.ren-workspace [data-ren-message]:empty{display:none}
@media(max-width:850px){
 .ren-metrics,.ren-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ren-item{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ren-item>.ren-field:first-child{grid-column:1/-1}
 .ren-item>.ren-remove{grid-column:3;justify-self:end}
 .ren-quote{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ren-quote>.ren-field:nth-child(3){grid-column:1/-1}
 .ren-task{grid-template-columns:auto minmax(0,1fr)}
 .ren-task>.ren-field:nth-child(3){grid-column:2}
 .ren-task>.ren-remove{grid-column:2;justify-self:end}
}
@media(max-width:540px){
 .ren-panel{padding:15px;border-radius:14px}
 .ren-project{grid-template-columns:1fr 1fr}
 .ren-project>.ren-field:first-child{grid-column:1/-1}
 .ren-field input,.ren-field select{font-size:16px;padding:7px 6px}
 .ren-metrics>div{padding:10px}
 .ren-metrics strong{font-size:21px}
 .ren-head{align-items:start}
 .ren-field{font-size:10px}
 .ren-actions button{flex:1 1 auto;white-space:normal}
}
@media print{
 #wmd-planning-print:has(.ren-print-report){font:9pt/1.25 Arial,Helvetica,sans-serif!important}
 #wmd-planning-print:has(.ren-print-report) .wmd-print-header{padding:0 0 5pt;margin:0 0 7pt}
 #wmd-planning-print:has(.ren-print-report) .wmd-print-header h1{font-size:18pt;margin:0 0 3pt}
 #wmd-planning-print:has(.ren-print-report) .wmd-print-brand,#wmd-planning-print:has(.ren-print-report) .wmd-print-note{font-size:8pt;margin:0 0 3pt}
 #wmd-planning-print .ren-print-report h2{font-size:15pt;margin:0 0 3pt}
 #wmd-planning-print .ren-print-report h3{font-size:10pt;margin:7pt 0 4pt;break-after:avoid}
 #wmd-planning-print .ren-print-report .ren-print-note{font-size:8pt;line-height:1.3;margin:3pt 0 5pt;color:#334c60}
 #wmd-planning-print .ren-print-report .ren-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:4pt;margin:5pt 0;break-inside:avoid}
 #wmd-planning-print .ren-print-report .ren-metrics>div{background:#fff!important;border:.5pt solid #9fb4c3;border-radius:2pt;padding:5pt}
 #wmd-planning-print .ren-print-report .ren-metrics span{font-size:7.5pt;color:#385369}
 #wmd-planning-print .ren-print-report .ren-metrics strong{font-size:13pt;color:#18374d!important;margin:3pt 0 0}
 #wmd-planning-print .ren-print-report table{font-size:8pt;line-height:1.25;margin:0 0 6pt}
 #wmd-planning-print .ren-print-report th,#wmd-planning-print .ren-print-report td{padding:3pt 4pt;overflow-wrap:anywhere}
 #wmd-planning-print .ren-print-report table:first-of-type th:first-child{width:34%}
 #wmd-planning-print .ren-print-report table:last-of-type th:first-child{width:11%}
 #wmd-planning-print .ren-print-report table:last-of-type th:last-child{width:22%}
 #wmd-planning-print:has(.ren-print-report) .wmd-print-footer{font-size:8pt;margin:7pt 0 0;padding-top:4pt}
}
