/* 已有报告的排布；计价、缺项、属性和参照均由原渲染函数提供。 */
body.report-density.has-result .wrap{padding-top:12px}
body.report-density.has-result .nav{margin-bottom:6px}
body.report-density.has-result #inputCard{padding:12px 16px;margin-bottom:12px}
body.report-density.has-result .estimate-entry{margin-bottom:8px;gap:8px}
body.report-density.has-result .estimate-entry>span,
body.report-density.has-result .estimate-entry>a{flex-direction:row;align-items:center;flex-wrap:wrap;gap:2px 10px;padding:6px 10px;min-height:40px}
body.report-density.has-result .estimate-entry strong{font-size:14px}
body.report-density.has-result #credit-rule-note{margin:4px 0}
body.report-density.has-result #status{font-size:12px}
body.report-density #result .hero,
body.report-density #result .card{padding:14px 16px;margin-bottom:10px}
body.report-density #result .role-overview{padding:10px 16px;gap:3px 16px}
body.report-density #result .role-overview .price{font-size:23px;line-height:1.3}
body.report-density #result .role-overview .heroline{margin:0;gap:3px 12px}
body.report-density #result .role-overview .herobrief{margin:0}
body.report-density #result .result-overview .price{font-size:30px;line-height:1.35}
body.report-density .valuation-choice{border:1.5px solid var(--line,#e5d6c3);border-radius:10px;padding:8px;background:rgba(255,255,255,.55);min-width:0;display:flex;flex-direction:column;align-self:stretch;container-type:inline-size}
body.report-density #result .result-overview .valuation-choice-price{font-size:clamp(16px,20cqw,30px);line-height:1.1;white-space:nowrap;margin-top:auto}
body.report-density .report-summary-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;margin-bottom:10px}
body.report-density #result .report-summary-grid>.hero,
body.report-density #result .report-summary-grid>.card{min-width:0;margin:0}
body.report-density .report-summary-grid h2{font-size:15px;margin:0 0 8px}
body.report-density .price-breakdown .sg-row{display:block;padding:8px 0}
body.report-density .price-breakdown .sg-h{padding:0;margin:0 0 4px;font-size:12px}
body.report-density .price-breakdown .sg-g{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
body.report-density .price-breakdown .sg-detail-link{padding:4px;min-height:60px}
body.report-density .price-breakdown .sg-v{font-size:16px}
body.report-density .price-breakdown .detail-link-label{margin-top:1px}
body.report-density .price-breakdown .sg-tail{padding:5px 0;gap:3px 12px}
body.report-density .base-breakdown{padding-top:8px;margin-top:8px}
body.report-density .base-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 14px;margin-top:4px}
body.report-density .base-grid>.kv{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;padding:3px 0!important;gap:0 6px;min-height:36px}
body.report-density .base-grid .v{font-size:14px}
body.report-density .base-detail-link{width:auto;padding:3px 0;min-height:30px;white-space:nowrap}
body.report-density .personal-valuation{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:12px 16px;margin:10px 0}
body.report-density .personal-valuation-head{grid-column:1;align-self:center;justify-content:flex-start;gap:6px 14px}
body.report-density .personal-valuation-head h2{font-size:15px}
body.report-density .personal-valuation-head a{font-size:12px}
body.report-density .personal-valuation-price{grid-column:2;grid-row:1;font-size:26px;margin:0;align-self:center}
body.report-density .personal-valuation-note,
body.report-density .personal-valuation-parts,
body.report-density .personal-valuation details,
body.report-density .personal-unpriced,
body.report-density .personal-valuation-copy-fallback{grid-column:1/-1;margin:0}
body.report-density .personal-valuation-parts{gap:8px}
body.report-density .personal-valuation-parts div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;padding:6px 10px}
body.report-density .personal-valuation-parts strong{font-size:16px}
body.report-density .personal-valuation summary{padding:6px 0}
body.report-density .personal-valuation-copy{width:fit-content;min-height:36px;margin:0}
body.report-density .personal-valuation-copy-status{align-self:center;margin:0}
body.report-density .report-actions{justify-content:flex-start;flex-wrap:wrap;margin:10px 0 4px}
body.report-density .report-actions button{min-height:38px;padding:7px 12px}
body.report-density .rs-share-hint{font-size:12px;margin:4px 0 8px}
body.report-density #result .price-explanation{padding:8px 14px}
body.report-density .price-explanation>summary{padding:4px 0}
body.report-density .breakdown-details{margin-top:8px;padding-top:4px}
body.report-density .breakdown-details>summary{padding:7px 0}
body.report-density .detail-nav{padding:6px 0 8px}
body.report-density .detail-tabs button{padding:7px 16px}
body.report-density .item-details{max-width:none;margin-top:2px}
body.report-density .item-details .idl{padding:6px 8px;line-height:1.6}
body.report-density .item-basis{margin-top:3px}
body.report-density .equipment-table>tbody>tr>td,
body.report-density .pet-table>tbody>tr>td{padding-top:8px;padding-bottom:8px}
@media(min-width:1000px){
  body.report-density .report-summary-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  body.report-density .report-summary-grid>.result-overview{grid-column:1;grid-row:1}
  body.report-density .report-summary-grid>.price-breakdown{grid-column:2;grid-row:1}
  body.report-density .report-summary-grid>.personal-valuation{grid-column:1/-1;grid-row:2;margin:0}
  body.report-density .price-breakdown .sg-detail-link{padding:3px 0}
}
@media(min-width:1200px){
  body.report-density .price-breakdown .sg-g{grid-template-columns:repeat(8,minmax(0,1fr));gap:2px}
}
@media(max-width:600px){
  body.report-density.has-result #inputCard{padding:10px 12px}
  body.report-density #result .hero,body.report-density #result .card{padding:12px}
  body.report-density #result .role-overview{padding:10px 12px}
  body.report-density .estimate-entry small{font-size:11px}
  body.report-density #result .result-overview>.heroprice>.price{font-size:26px}
  body.report-density .price-breakdown .sg-detail-link{padding:3px 0}
  body.report-density .base-grid>.kv{flex-direction:row;align-items:baseline}
  body.report-density .base-grid>.kv>.k{flex:1}
  body.report-density .base-grid{gap:2px 10px}
  body.report-density .personal-valuation{padding:10px 12px;gap:6px 8px}
  body.report-density .personal-valuation-head{flex-direction:column;align-items:flex-start;gap:0}
  body.report-density .personal-valuation-parts{gap:4px}
  body.report-density .personal-valuation-parts div{padding:5px 6px}
  body.report-density .report-actions button{flex:1 1 auto;min-height:44px}
  body.report-density .detail-tabs button{padding:8px 3px;min-height:40px}
  body.report-density .all-details{min-height:36px}
  body.report-density .personal-valuation-copy{min-height:44px}
  body.report-density .equipment-table>tbody>tr,
  body.report-density .pet-table>tbody>tr{padding:8px 0}
  body.report-density .item-details>summary{padding:5px 0}
}
