.device-card{border:1px solid #d5dee7;border-radius:10px;padding:16px;margin:14px 0;background:#f8fbfc}.device-card>.mini{margin-top:12px}.rule-row{display:grid;grid-template-columns:1fr 130px 50px;gap:8px;margin:10px 0}.client-choices{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}#deviceBox[hidden]{display:none!important}#previewDialog{width:min(1050px,96vw)}.preview-scroll{overflow:auto;background:#e5e8ec;padding:20px;margin-top:15px}#printPreview{background:white;color:#111;padding:0;margin:auto;font:10pt Arial,sans-serif;line-height:1.3}.business-sheet{font:inherit;overflow-wrap:anywhere}.business-sheet .printbrand{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #000;margin-bottom:4mm;padding-bottom:3mm}.business-sheet h2{font-size:1.25em;margin:2mm 0}.business-sheet .receipt-wordmark{font:700 22pt Orbitron,Arial}.business-sheet p{margin:2.5mm 0;white-space:pre-wrap}.business-sheet .group-table{table-layout:fixed;white-space:normal;font:inherit;border:1px solid #000;width:100%;margin:3mm 0}.business-sheet .group-table th,.business-sheet .group-table td{border:1px solid #000;padding:1.8mm;vertical-align:top;color:#111;background:white;white-space:pre-wrap;overflow-wrap:anywhere}.business-sheet .intake-table th:first-child{width:12%}.business-sheet .intake-table th:last-child{width:19%}.business-sheet .financial-table th:first-child{width:60%}.business-sheet .financial-table th:nth-child(2){width:8%}.business-sheet .financial-table th:nth-child(3),.business-sheet .financial-table th:nth-child(4){width:16%}.business-sheet .basic-table th:first-child{width:88%}.business-sheet .basic-table th:last-child{width:12%}.business-sheet .group-terms{font-size:.85em;line-height:1.3}.business-sheet .review-box{display:flex;align-items:center;gap:3mm;margin-top:3mm}.business-sheet .review-box img{width:20mm;height:20mm}.business-sheet .pfoot{display:flex;justify-content:space-between;gap:4mm;margin-top:6mm;break-inside:avoid}.business-sheet .pgrid{display:grid;grid-template-columns:1fr 1fr;gap:4mm;margin:3mm 0}.business-sheet .doc-total{text-align:right;line-height:1.6;margin:4mm 0}.business-sheet .prewrap{white-space:pre-wrap}.business-sheet tr:hover{background:white}
@media print{body.business-print #printArea{display:block!important;width:100%!important;gap:0!important;font:var(--doc-font,10pt) Arial,sans-serif!important;line-height:1.3!important}body.business-print .business-sheet{font:inherit!important}body.business-print #printArea .printbrand h2{font-size:1.25em;margin:2mm 0}body.business-print #printArea .pfoot{margin-top:6mm}body.business-print #printArea .review-box img{width:20mm;height:20mm}body.business-print #printArea .review-box{font-size:inherit}body.business-print #printArea .receipt-wordmark{font:700 22pt Orbitron,Arial;width:auto;margin:0}body.business-print #printArea table{font:inherit}body.business-print #printArea .business-sheet .pgrid p{margin:2.5mm 0}}

/* Keep all separate sections reachable on shorter screens. */
aside{overflow-y:auto}.sidebottom{position:static;margin-top:22px}#newGroup{margin-left:auto}header{flex-wrap:wrap}.labor-net{display:block;margin-top:6px;color:#187a98}

/* Group editor only: single-device fields are not part of this workflow. */
#editor.group-editor #repairFields .grid[hidden],#editor.group-editor .pick[hidden],#editor.group-editor .linehead[hidden],#editor.group-editor #lineList[hidden],#editor.group-editor p[hidden]{display:none!important}
.group-editor .group-note{margin:18px 0}.device-card h3{margin-top:0}.device-card .hint{font-size:12px}
