[hidden]{display:none!important}
.partner-config{border:1px solid var(--line);border-radius:10px;padding:12px 15px;min-width:0}
.partner-config legend{padding:0 6px;font-weight:650}
.partner-config .check-field{margin:6px 0}
.partner-area-options{margin:8px 0;padding:12px;background:var(--bg);border-radius:8px}
.partner-area-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:3px 12px}
.partner-config .subtitle{margin:5px 0 12px}
.row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.location-field{align-items:flex-start}
.house-photo{display:block;width:100%;max-width:420px;max-height:260px;object-fit:contain;object-position:left;border-radius:8px}
.addon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px}
.addon-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px}
.addon-card p{color:var(--muted);flex:1}
.addon-price{font-size:22px;font-weight:700}
.addon-price small{color:var(--muted);font-weight:500}
.thermal-preview,.thermal-receipt{font-family:ui-monospace,Consolas,monospace;color:#101010;background:#fff;overflow-wrap:anywhere}
.thermal-preview{max-width:300px;margin:0 auto;border:1px dashed #a5a5a5;border-radius:4px;padding:16px}
.thermal-heading{text-align:center;display:flex;flex-direction:column;gap:2px;padding-bottom:9px;border-bottom:1px dashed #777}
.thermal-heading strong{font-size:1.3em}
.thermal-heading b{margin-top:5px}
.thermal-info{margin:9px 0}
.thermal-info div{display:grid;grid-template-columns:34% 66%;gap:0;margin:3px 0}
.thermal-info dd{margin:0}
.thermal-breakdown{border-top:1px dashed #777;padding-top:8px}
.thermal-breakdown div{display:flex;justify-content:space-between;gap:4px;margin:3px 0}
.thermal-breakdown b{white-space:nowrap}
.thermal-total{border-top:1px dashed #777;padding-top:5px}
.thermal-foot{text-align:center;margin-top:8px}
@page thermal{size:auto;margin:2mm}
@media print{
  .print-sheet.thermal-print{page:thermal;display:block;color:#000}
  body:has(.print-sheet.thermal-print){overflow:visible!important}
  .thermal-receipt{font-size:10pt;line-height:1.27;margin:0 auto;padding:1mm 0;break-inside:avoid}
  .thermal-receipt.width-58{width:54mm;font-size:9pt}
  .thermal-receipt.width-80{width:74mm}
}
