.costing-panel{margin-top:26px;border:1px solid #d7dfdf;border-radius:9px;background:#f5f7f7}.costing-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:16px;list-style:none}.costing-panel>summary::-webkit-details-marker{display:none}.costing-panel>summary b,.costing-panel>summary small{display:block}.costing-panel>summary b{font-size:13px;color:#4a6260}.costing-panel>summary b:before{content:'＋';margin-right:7px;font-weight:400}.costing-panel[open]>summary b:before{content:'−'}.costing-panel>summary small{font-size:10px;color:#889895;margin:4px 0 0 20px}.cost-badge{font-size:10px;color:#6c8179;white-space:nowrap}.cost-body{border-top:1px solid #dce5df;padding:17px}.cost-intro,.cost-help,.cost-boundary{font-size:11px;line-height:1.85;color:#7b8981;margin:0 0 13px}.cost-context{font-size:10px;color:#687b70;line-height:1.8;margin:0 0 16px}.cost-status{font-size:11px;line-height:1.85;color:#527444;padding:11px 12px;background:#eaf1e4;border-radius:6px;margin:0 0 15px}.cost-status.error{color:#8c6833;background:#f8edda}.cost-group{padding:16px 0;border-top:1px solid #e0e6de}.cost-group:first-child{padding-top:0;border-top:0}.cost-group h4{font-size:12px;margin:0 0 13px;color:#5b7160}.cost-group h4 span{color:#9aaa97;font-size:10px;margin-right:7px}.cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.cost-grid label,.cost-note{font-size:11px;color:#657760;min-width:0}.cost-input-unit{display:flex;align-items:center;border:1px solid #d2dcd0;background:#fff;border-radius:7px;min-width:0;overflow:hidden}.cost-input-unit input{border:0;border-radius:0;min-width:0;width:100%;padding:10px 8px;font-size:12px;box-shadow:none}.cost-input-unit>span{font-size:10px;padding-right:9px;white-space:nowrap;color:#8b9a82}.cost-input-unit:focus-within{outline:2px solid #91b088;outline-offset:1px}.cost-input-unit:has(input:disabled){background:#f0f4ed}.cost-help{font-size:10px;margin:11px 0 0}.cost-sync{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#edf3e7;border-radius:6px;padding:9px 11px;margin-bottom:13px}.cost-sync p{font-size:10px;color:#7c8d72;margin:0}.cost-sync strong{display:block;color:#557346;font-size:13px}.cost-sync .text-button{font-size:10px;white-space:nowrap}.cost-note textarea{font-size:12px}.cost-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.cost-actions .button{flex:1;font-size:11px;min-height:44px;white-space:normal}.cost-result{margin-top:19px;border-top:1px solid #d2dfc7;padding-top:18px}.cost-outcome{padding:17px;background:#e5f0dc;border-radius:8px}.cost-outcome>span{font-size:10px;color:#6d845d}.cost-outcome>strong{display:block;color:#457233;font-size:27px;line-height:1.6;font-variant-numeric:tabular-nums}.cost-outcome p{font-size:10px;color:#69835b;margin:3px 0 0}.cost-outcome.negative{background:#f7eadd}.cost-outcome.negative>strong{color:#a5613b}.cost-breakdown{display:grid;gap:8px;font-size:11px;margin:16px 0;color:#7b8b70}.cost-breakdown>div{display:flex;justify-content:space-between;gap:13px}.cost-breakdown dd{margin:0;color:#526b41;text-align:right;font-variant-numeric:tabular-nums}.cost-minimum{border-top:1px solid #dce5d3;padding-top:14px}.cost-minimum>span,.cost-minimum>small{display:block;font-size:10px;color:#7b8b70;line-height:1.9}.cost-minimum>strong{display:block;font-size:22px;color:#566e44;font-variant-numeric:tabular-nums;margin:4px 0}.cost-warnings{margin-top:15px;padding:12px;background:#faf0d9;border-radius:7px;font-size:11px;color:#8b7543}.cost-warnings ul,.cost-basis ul{padding-left:18px;font-size:10px;line-height:1.9;margin:7px 0}.cost-warnings li,.cost-basis li{margin:5px 0}.cost-basis{font-size:11px;color:#7c8a72;margin-top:15px}.cost-basis summary{cursor:pointer;min-height:36px;padding:7px 0}.cost-tools{display:flex;flex-wrap:wrap;gap:3px 15px;margin-top:17px;padding-top:11px;border-top:1px solid #dce5d5}.cost-tools .text-button{font-size:10px;color:#7b8c6d}.cost-boundary{font-size:10px;margin:10px 0 0}.cost-pending{padding:14px;background:#fff2d2;border:1px solid #e4c891;border-radius:7px;margin-bottom:15px;color:#866a35}.cost-pending strong{font-size:12px}.cost-pending p{font-size:11px;line-height:1.8;margin:7px 0 12px}.cost-pending>div{display:flex;flex-wrap:wrap;gap:7px}.cost-pending .button{flex:1;font-size:10px;white-space:normal;min-height:44px}
@media(max-width:700px){.cost-grid{grid-template-columns:1fr}.cost-body{padding:15px 12px}.costing-panel>summary{padding:15px 12px}.costing-panel>summary b{font-size:12px}.cost-badge{font-size:9px}.cost-input-unit input,.cost-note textarea{font-size:16px;min-height:44px}.cost-grid label{font-size:12px}.cost-actions{flex-direction:column}.cost-actions .button{font-size:12px}.cost-tools .text-button{min-height:44px;font-size:11px}.cost-sync .text-button{min-height:44px}.cost-sync{align-items:center}.cost-result{margin-top:20px}.cost-boundary,.cost-intro{font-size:11px}}
.cost-stress-inputs{margin:6px 0 18px;border:1px solid #d4ded0;border-radius:8px;background:#f0f5ec;min-width:0}.cost-stress-inputs>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px;cursor:pointer;list-style:none;color:#50694b;font-size:12px;line-height:1.8}.cost-stress-inputs>summary::-webkit-details-marker{display:none}.cost-stress-inputs>summary>small{color:#6e8468;font-size:12px;white-space:nowrap}.cost-stress-fields{padding:0 12px 14px}.cost-stress-help{font-size:12px;line-height:1.85;color:#65785e;margin:0 0 14px;overflow-wrap:anywhere}.cost-stress-fields .cost-grid label{font-size:12px}.cost-stress-fields .cost-input-unit input{font-size:14px;min-height:44px}.cost-stress-fields .cost-input-unit>span{font-size:12px}.cost-stress-buttons{display:flex;flex-wrap:wrap;gap:2px 14px;margin:9px 0}.cost-stress-buttons .text-button{font-size:12px;min-height:44px;white-space:normal;text-align:left}.cost-stress-fields>.cost-stress-help:last-child{margin-bottom:0}
.cost-stress-results{margin-top:22px;padding-top:18px;border-top:1px solid #d5e0ce}.cost-stress-title h4{font-size:14px;line-height:1.6;color:#48623e;margin:0 0 7px}.cost-stress-title p{font-size:12px;line-height:1.8;color:#6e8063;margin:0 0 15px;overflow-wrap:anywhere}.cost-stress-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.cost-stress-card{min-width:0;border:1px solid #d4dfcd;background:#f8fbf4;border-radius:9px;padding:14px;overflow-wrap:anywhere}.cost-stress-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px}.cost-stress-heading h5{font-size:13px;line-height:1.6;color:#4e6745;margin:0}.cost-stress-heading>span{font-size:12px;line-height:1.7;color:#8b7856}.cost-stress-heading .met{color:#567b42}.cost-stress-heading .unmet{color:#9a6739}.cost-stress-metrics{display:grid;gap:12px;margin:18px 0 14px}.cost-stress-metrics>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}.cost-stress-metrics dt{font-size:12px;line-height:1.7;color:#728165;flex:0 0 auto}.cost-stress-metrics dd{font-size:13px;line-height:1.7;color:#4d653f;text-align:right;font-variant-numeric:tabular-nums;margin:0;min-width:0;overflow-wrap:anywhere}.cost-stress-surplus dd{font-size:18px;font-weight:650;color:#466b35}.cost-stress-card.negative{border-color:#e4c8ae;background:#fcf3e9}.cost-stress-card.negative .cost-stress-surplus dd{color:#a26037}.cost-stress-change{font-size:12px;line-height:1.8;color:#6e8063;margin:0 0 12px}.cost-stress-change.lower{color:#986b3f}.cost-stress-reference{padding-top:11px;border-top:1px solid #dce5d4}.cost-stress-reference span{display:block;font-size:12px;line-height:1.8;color:#728165}.cost-stress-reference strong{display:block;font-size:15px;line-height:1.8;color:#526a44;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cost-stress-card.unavailable{background:#f7f3eb;border-style:dashed;border-color:#d9c6a8}.cost-stress-unavailable{font-size:12px;line-height:1.9;color:#907247;margin:16px 0 0}.cost-stress-basis{font-size:12px;color:#6b7d60;margin-top:10px}.cost-stress-basis summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.cost-stress-basis ul{font-size:12px;line-height:1.85;padding-left:19px;margin:4px 0}.cost-stress-basis li{margin:5px 0;overflow-wrap:anywhere}
@media(max-width:700px){.cost-stress-cards{grid-template-columns:1fr}.cost-stress-fields{padding-inline:11px}.cost-stress-fields .cost-input-unit input{font-size:16px;min-height:46px}.cost-stress-inputs>summary{align-items:flex-start}.cost-stress-card{padding:15px}.cost-stress-heading h5{font-size:14px}.cost-stress-metrics dd{font-size:14px}.cost-stress-surplus dd{font-size:21px}.cost-stress-reference strong{font-size:16px}.cost-stress-buttons{flex-direction:column;align-items:stretch}.cost-stress-buttons .text-button{width:100%;text-align:left}}
