.brief-field-hint{display:block;margin-top:7px;font-size:10px;line-height:1.7;font-weight:400;color:var(--muted)}
.budget-comparison{margin-top:18px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:14px;min-width:0;text-align:left}
.budget-comparison-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.budget-comparison-header h3{font-size:15px;margin:0}.budget-comparison-header .text-btn{font-size:11px}.budget-comparison-header>div{display:flex;align-items:center;gap:10px}.budget-comparison-header .pill{font-size:10px}
.comparison-total{margin:20px 0}.comparison-total>span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.comparison-total>strong{font-size:clamp(26px,2.4vw,34px);line-height:1.4;font-weight:650;color:var(--primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.comparison-total>strong>small{font-size:12px;font-weight:400;margin-left:5px;color:var(--muted)}
.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-top:1px solid var(--line);padding-top:17px;margin:0}.comparison-grid>div{min-width:0}.comparison-grid dt{font-size:11px;color:var(--muted);margin-bottom:7px}.comparison-grid dd{font-size:14px;line-height:1.7;font-weight:600;font-variant-numeric:tabular-nums;margin:0;overflow-wrap:anywhere}.comparison-grid dd small{font-size:10px;font-weight:400;margin-left:3px;color:var(--muted)}.comparison-grid .over dd{color:var(--danger)}.comparison-grid .within dd,.comparison-grid .equal dd{color:var(--success)}.comparison-grid .unknown dd{color:var(--muted)}
.comparison-footnote{margin:16px 0 0;font-size:10px;line-height:1.8;color:var(--muted)}.scheme-dimensions{margin-top:18px;padding:18px 22px}.budget-detailed>.budget-comparison{background:var(--primary-soft);border-color:#dfe6ff}.client-main>.budget-comparison{margin-top:0}
@media(max-width:767px){.budget-comparison{padding:18px 16px}.budget-comparison-header h3{font-size:14px}.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.comparison-grid>div:last-child{grid-column:1 / -1}.comparison-grid dd{font-size:14px}.comparison-total>strong{font-size:30px}.budget-comparison .comparison-footnote{font-size:10px}.scheme-dimensions{padding:18px 16px}.brief-field-hint{font-size:10px}}
.cost-system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.cost-system-item{min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.cost-system-item .structure-label-row{justify-content:flex-start;gap:7px}.cost-system-item strong{font-size:12px}.cost-system-item>span,.cost-system-item>small{display:block}.cost-system-item>span{font-weight:650;font-size:13px;margin-top:7px}.cost-system-item>small{font-size:10px;color:var(--muted);line-height:1.5;margin-top:6px}.cost-system-item select{width:100%;margin-top:6px;padding:7px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.cost-schedule{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:17px;margin-top:15px}.cost-schedule-total{display:flex;gap:34px;flex-wrap:wrap}.cost-schedule-total small,.cost-stage-grid small{display:block;color:var(--muted);font-size:10px}.cost-schedule-total strong{display:block;font-size:23px;color:var(--primary);font-variant-numeric:tabular-nums}.cost-stage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:15px}.cost-stage-grid>div{border-radius:8px;background:var(--primary-soft);padding:10px;min-width:0}.cost-stage-grid span{display:block;font-size:11px;color:var(--muted)}.cost-stage-grid strong{display:block;font-size:13px;margin:4px 0;font-variant-numeric:tabular-nums}.cost-schedule>p{font-size:10px;color:var(--muted);line-height:1.6;margin-top:12px}@media(max-width:767px){.cost-system-grid{grid-template-columns:1fr}.cost-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-schedule-total strong{font-size:20px}}
.cost-scenario-note{font-size:11px;color:var(--muted);line-height:1.5;margin:0 0 14px}.structure-compare>div.current{border-color:var(--primary);background:var(--primary-soft)}.structure-compare .structure-label-row{justify-content:space-between;gap:8px}.structure-compare .structure-label-row>span{font-weight:650}.structure-compare .structure-help-popover{width:min(320px,calc(100vw - 88px))}.structure-compare>div:nth-child(even) .structure-help-popover{left:auto;right:0}
.cost-system-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}.cost-system-item select{min-width:0}
