.payment-panel{margin:22px 0 8px;border:1px solid #b9dce7;border-radius:12px;padding:18px;background:#eff8fb}.payment-panel h3{margin:0 0 12px}.payment-entry{display:flex;align-items:flex-end;gap:12px}.payment-entry label{max-width:270px;flex:1}.payment-entry button{margin-bottom:2px}#paymentBalance011{display:flex;gap:24px;flex-wrap:wrap;margin-top:16px}#paymentBalance011 span{display:flex;flex-direction:column;gap:5px}#paymentBalance011 b{font-size:19px}.debt-text,.has-debt td:nth-child(7){color:#bf3344!important}.settled-text{color:#16856d}.debt-label{display:block;font-size:10px;letter-spacing:.8px;font-weight:800;margin-bottom:3px}.has-debt td:nth-child(7){background:#fff2f3!important}.locked-notice{border:1px solid #d6dce4;background:#edf1f5;padding:12px;border-radius:8px;color:#526376}#printLocked011{margin-left:auto}
.dashboard-top{display:flex;justify-content:space-between;gap:20px;align-items:center;border-radius:14px;padding:22px 25px;background:linear-gradient(110deg,#253844,#335f71);color:white;margin-bottom:22px}.dashboard-top b{font-size:20px}.dashboard-top p{margin:7px 0 0;color:#c9e3ed}.dashboard-top label{color:#e0eff4;font-size:12px}.dashboard-top input{background:#ffffff;color:#253844;min-width:175px;border-color:#658492;margin-top:6px}.dashboard-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.dashboard-tile{position:relative;padding:20px 20px 0;border:1px solid #e0e9ef;border-top:3px solid var(--tile-color);background:white;border-radius:12px;overflow:hidden;min-height:164px;box-shadow:0 3px 12px #12324205}.dashboard-tile>span:first-child{font-size:13px;color:#62768a;display:block}.dashboard-tile>strong{display:block;font-size:29px;font-weight:700;color:#263c4b;margin:11px 0 8px;white-space:normal;overflow-wrap:anywhere}.dashboard-tile strong small{font-size:15px;font-weight:500}.change,.tile-secondary{display:block;font-size:12px;margin:5px 0 15px}.change small{font-size:10px}.positive{color:#279a80}.negative{color:#d35d6b}.neutral,.tile-secondary{color:#7c8d9e}.sparkline{display:block;width:calc(100% + 40px);margin:0 -20px;height:48px}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.dash-panel{min-width:0;border:1px solid #e0e8ee;border-radius:12px;background:#fff;box-shadow:0 3px 15px #23475c04;overflow:hidden;grid-column:span 2}.dash-panel header{display:block;padding:17px 20px;border-bottom:1px solid #e8eef3;min-height:0}.dash-panel header h3{margin:0;color:#253c4b;font-size:16px}.dash-panel header p{margin:6px 0 0;color:#82909e;font-size:11px}.panel-body{padding:18px 20px;overflow-x:auto}.panel-body table{border:0;border-radius:0;min-width:0;box-shadow:none;margin:0}.panel-body th{font-size:11px;background:#f7fafc;padding:10px}.panel-body td{font-size:12px;padding:11px 10px;white-space:normal}.span-two{grid-column:span 2}.column-chart{display:block;width:100%;min-width:330px;height:auto;max-height:240px}.column-chart text{font:10px 'Segoe UI',sans-serif;fill:#8b9ba8}.column-legend{display:flex;gap:18px;justify-content:flex-end;font-size:10px;color:#728595;margin-bottom:12px}.column-legend span{display:flex;align-items:center;gap:5px}.column-legend i{height:7px;width:7px;background:#159fc8;border-radius:2px}.column-legend span:nth-child(2) i{background:#55b6a3}.horizontal-bars{display:flex;flex-direction:column;gap:17px}.bar-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(80px,1.5fr) auto;gap:12px;align-items:center;font-size:12px}.bar-row>span{white-space:normal;overflow-wrap:anywhere;color:#536e80}.bar-row>b{font-size:12px;color:#334d5e;white-space:nowrap}.bar-track{height:9px;border-radius:8px;background:#f0f4f7;overflow:hidden}.bar-track i{display:block;height:100%;border-radius:8px}.donut-layout{display:flex;align-items:center;gap:24px;min-height:180px}.donut{width:150px;min-width:130px;position:relative}.donut svg{width:100%;display:block}.donut strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:25px;color:#28495e}.donut small{font-size:10px;font-weight:400;color:#8b9aa5;margin-top:3px}.chart-legend{flex:1;min-width:0;font-size:12px}.chart-legend>div{display:flex;align-items:center;gap:7px;margin:11px 0}.chart-legend span{flex:1;overflow-wrap:anywhere}.chart-legend i{width:8px;height:8px;border-radius:2px;flex-shrink:0}.chart-legend b{color:#37546a}.dashboard-note,.chart-empty{color:#8493a0;font-size:11px;line-height:1.6}.dashboard-note{margin:16px 3px}.chart-empty{padding:20px;text-align:center}.b2b-controls{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0 22px}.b2b-controls input{max-width:190px}.b2b-controls select{min-width:260px}.client-analytics-link{padding:0;border:0;background:none;color:#1288ad;display:block;text-align:left;font-weight:650;font-size:14px}.client-analytics-link+small{display:block;color:#8a9ba7;margin-top:5px}#b2bTable011 td{white-space:normal}#b2bTable011 td:last-child{min-width:150px}#b2bTable011 td:last-child button{margin:3px;padding:7px 9px;font-size:11px}#b2bClientDashboard{width:min(1180px,96vw);max-width:1180px;background:#f5f8fb;padding:24px;border-radius:16px}.b2b-detail-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;gap:20px}.b2b-detail-head h2{margin:0}.b2b-detail-head p{color:#7c8f9e;font-size:12px}
/* Comfortable A5 warranty margins with a reserved area for a stamp. */
#printPreview .warranty-sheet,#printArea .warranty-sheet{padding:3mm 6mm 2mm!important;line-height:1.35!important}.warranty-sheet .printbrand{padding-bottom:2.5mm}.warranty-sheet .print-owner-logo{width:31mm!important;height:14.6mm!important}.warranty-sheet .prewrap{line-height:1.4;margin:4mm 0 0;white-space:pre-wrap}.warranty-sheet .pgrid{gap:5mm}.warranty-sheet .document-table td,.warranty-sheet .document-table th{padding:1.7mm!important}.warranty-stamp{height:23mm;margin-top:3mm;position:relative;border-top:1px dashed #dce2e6}.warranty-stamp span{position:absolute;bottom:3mm;left:0;font-size:7pt;color:#9aa4ac}.warranty-sheet .pfoot{margin-top:1mm!important;padding-bottom:1mm;gap:4mm;font-size:.9em}.warranty-sheet .printbrand h2{font-size:1.2em!important;margin:1mm 0!important}.warranty-sheet .printbrand{gap:4mm}.warranty-sheet .printbrand>div:last-child{font-size:.85em}
@media(max-width:1100px){.dashboard-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.donut-layout{gap:12px;flex-wrap:wrap}.donut{width:130px}.bar-row{grid-template-columns:minmax(75px,1fr) minmax(60px,1fr) auto}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-panel,.span-two{grid-column:span 1}.dashboard-grid>.dash-panel:has(table){grid-column:span 2}}
@media(max-width:700px){.dashboard-top{align-items:flex-start;flex-direction:column}.dashboard-grid{display:block}.dash-panel{margin-bottom:16px}.dashboard-tile>strong{font-size:22px}.dashboard-tiles{gap:10px}.dashboard-tile{padding:15px 12px 0}.payment-entry{flex-wrap:wrap}#b2bTable011{overflow-x:auto}.column-chart{min-width:290px}.sparkline{width:calc(100% + 24px);margin:0 -12px}}
@media print{body.business-print #printArea .warranty-sheet{padding:3mm 6mm 2mm!important;line-height:1.35!important}body.business-print #printArea .warranty-sheet .print-owner-logo{width:31mm!important;height:14.6mm!important}body.business-print #printArea .warranty-sheet .warranty-stamp{height:23mm!important;display:block!important;border-top:1px dashed #c5c5c5!important}body.business-print #printArea .warranty-sheet .warranty-stamp span{color:#888!important}body.business-print #printArea .warranty-sheet .pfoot{margin-top:1mm!important}}
.warranty-header{display:flex;justify-content:space-between;align-items:center;gap:5mm;border-bottom:1px solid #a9b9c1;padding-bottom:2.5mm;margin-bottom:3mm}.warranty-header h2{font-size:12pt!important;letter-spacing:.4px;margin:0 0 1mm!important;border:0!important;padding:0!important;color:#17212c}.warranty-header>div{text-align:right;font-size:.9em}.warranty-header small{display:block;margin-top:1mm}.warranty-parties{display:grid;grid-template-columns:1fr 1fr;gap:5mm;font-size:.92em;line-height:1.3;margin-bottom:3mm}.warranty-reference{padding:2mm 0;font-size:.9em;border-top:1px solid #e5eaee}.warranty-device-list{padding:2.5mm;border:1px solid #d3dce2;font-size:.9em;line-height:1.35;margin:1mm 0 3mm}.warranty-part-list{margin-top:1mm}.warranty-paragraph{margin:0 0 2.5mm;line-height:1.35}.warranty-paragraph:first-child::first-line,.warranty-paragraph:nth-child(4)::first-line{font-weight:700}.warranty-terms-copy{font-size:inherit}.warranty-header .print-owner-logo{width:29mm!important;height:13.6mm!important;margin:0!important}.warranty-sheet .warranty-stamp{height:20mm!important;margin-top:1mm}.warranty-sheet .pfoot{font-size:.85em}.warranty-header+div{overflow-wrap:anywhere}@media print{body.business-print #printArea .warranty-header .print-owner-logo{width:29mm!important;height:13.6mm!important}body.business-print #printArea .warranty-sheet .warranty-stamp{height:20mm!important}}
