/* Presentation only: canonical projections and currency switches still own every amount. */
/* The embedded service panel's existing height contract includes a 20 px header allowance. */
body.next-system.service-panel-page .next-environment-marker{box-sizing:border-box;margin:0;padding:3px 12px;border:0;border-radius:0;font-size:10.8675px;line-height:14px;min-height:20px}
body.next-system .st-reference{min-width:0;max-width:100%;container-type:inline-size;border:1px solid var(--next-line);border-radius:18px;background:var(--next-surface);overflow:hidden}
body.next-system .st-reference .st-toolbar{padding:12px 16px;background:var(--next-soft);border-color:var(--next-line)}
body.next-system .st-reference .st-totals{--next-total-columns:1;display:grid;grid-template-columns:repeat(var(--next-total-columns),minmax(0,1fr));gap:12px;padding:20px;min-height:0;background:var(--next-surface);border-bottom:1px solid var(--next-line);border-radius:0;align-items:stretch}
body.next-system .st-reference .st-totals h2{grid-column:1/-1;margin:0 0 4px;padding:0;gap:10px;font-size:16.30125px;line-height:1.5;font-weight:600;letter-spacing:0;color:var(--next-ink)}
body.next-system .st-reference .st-totals h2>.st-icon{width:30px;height:30px;padding:7px;background:var(--next-soft);color:var(--next-accent);box-shadow:none;border-radius:8px;flex:none}
body.next-system .st-reference .st-total{min-width:0;min-height:0;padding:16px;border:1px solid var(--next-line);border-radius:12px;background:var(--next-surface);box-sizing:border-box}
body.next-system .st-reference .st-total>span{display:block;min-height:36px;margin:0 0 10px;font-size:11.95425px;line-height:1.6;color:var(--next-muted)}
body.next-system .st-reference .st-total>strong{font-size:20.64825px;font-weight:600;line-height:1.5;letter-spacing:-.3px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow-wrap:normal;word-break:normal}
body.next-system .st-reference .st-total>small{display:block;margin-top:3px;font-size:11.95425px;font-weight:400;line-height:1.6;color:var(--next-muted);white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
body.next-system .st-reference .st-progress{gap:9px;margin-top:12px}
body.next-system .st-reference .st-progress-track{background:var(--next-line)}
body.next-system .st-reference .st-progress>small{font-size:10.8675px;color:var(--next-muted);font-weight:500}
body.next-system .st-reference .st-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:0;scrollbar-color:var(--next-line) var(--next-surface)}
/* Automatic table layout reserves the full unbroken money width before distributing space. */
body.next-system .st-reference .st-table{table-layout:auto;min-width:1320px;width:100%;font-size:13.041px}
body.next-system .st-reference .st-table th{font-size:11.95425px;line-height:1.6;color:var(--next-muted);background:var(--next-soft);border-color:var(--next-line);padding:12px;vertical-align:top}
body.next-system .st-reference .st-table td{font-size:13.041px;line-height:1.6;color:var(--next-ink);background:var(--next-surface);border-color:var(--next-line);padding:16px 12px}
body.next-system .st-reference .st-table th:nth-child(2){min-width:200px}
body.next-system .st-reference .st-table .st-service-cell{min-width:200px}
body.next-system .st-reference .st-table .st-supplier-cell{min-width:120px}
body.next-system .st-reference .st-table .st-supplier-cell>a,body.next-system .st-reference .st-table .st-supplier-cell>span:not(.st-supplier-mark){font-size:13.041px;color:var(--next-accent);overflow-wrap:break-word;word-break:normal}
body.next-system .st-reference .st-table .st-period{min-width:110px}
body.next-system .st-reference .st-table .st-period>span{font-size:13.041px;color:var(--next-ink);overflow-wrap:normal;word-break:normal}
body.next-system .st-reference .st-table th:nth-child(n+6):nth-child(-n+10){min-width:160px}
body.next-system .st-reference .st-table td>strong:not(.st-service-name){font-size:14.12775px;font-weight:600;color:var(--next-ink);white-space:nowrap;word-break:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}
body.next-system .st-reference .st-table td>small{font-size:11.95425px;line-height:1.6;color:var(--next-muted);white-space:nowrap;word-break:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}
body.next-system .st-reference .st-table .st-service-name{font-size:13.041px;font-weight:600;line-height:1.6;color:var(--next-ink)}
body.next-system .st-reference .st-table tbody tr:hover>td{background:var(--next-soft)}
body.next-system .st-reference .st-payment-status{font-size:10.8675px;white-space:nowrap;margin-bottom:5px}
body.next-system .st-reference .st-service-symbol{color:var(--next-accent)}
body.next-system .st-reference .st-supplier-mark{background:var(--next-accent);color:var(--next-on-accent)}
html.hide-net body.next-system .st-reference .st-totals{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
html.hide-net body.next-system .st-reference .st-table{min-width:900px}
body.next-system .st-reference.st-no-finance .st-totals{display:flex;flex-wrap:wrap}
@container(max-width:540px){body.next-system .st-reference .st-totals{padding:14px;gap:10px}body.next-system .st-reference .st-total{padding:14px}body.next-system .st-reference .st-total>span{min-height:0}}
@container(min-width:520px){body.next-system .st-reference .st-totals{--next-total-columns:2}}
@container(min-width:780px){body.next-system .st-reference .st-totals{--next-total-columns:3}}
@container(min-width:1540px){body.next-system .st-reference .st-totals{--next-total-columns:6}}
