.bio-page {position:relative;z-index:1}
.bio-panel {margin-bottom:14px;padding:22px 23px;background:#ffffffd9}
.bio-panel h2 {font-size:23px;margin:0 0 16px}
.bio-panel-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.bio-panel-heading h2 {margin:0}
.bio-table-wrap {overflow-x:auto}
.bio-status-table,.bio-customer-table {width:100%;border-collapse:collapse;color:#202622}
.bio-status-table {min-width:760px;table-layout:fixed}
.bio-status-table th,.bio-status-table td {padding:13px 9px;border-bottom:1px solid #dce2d6;text-align:left;font-size:13px;font-variant-numeric:tabular-nums}
.bio-status-table thead th {font-size:12px;color:#65725f;font-weight:600;white-space:nowrap}
.bio-status-table thead th:not(:first-child),.bio-status-table tbody td {text-align:center}
.bio-status-table tbody th {font-size:14px;font-weight:600}
.bio-status-table tbody tr:last-child th,.bio-status-table tbody tr:last-child td {border-bottom:0}
.bio-customer-table {min-width:1250px;table-layout:fixed}
.bio-customer-table col.bio-name-col {width:19%}
.bio-customer-table col.bio-group-gap {width:26px}
.bio-customer-table col.bio-payment-gap {width:32px}
.bio-customer-table col.bio-payment-col {width:15%}
.bio-customer-table col.bio-arrow-col {width:3.5%}
.bio-customer-table thead {border-bottom:1px solid #dce2d6}
.bio-customer-table thead th {font-size:12px;color:#65725f;font-weight:600;padding:10px 9px;border:0;text-align:left;vertical-align:bottom;white-space:nowrap}
.bio-customer-table thead tr:first-child th:not(:first-child) {text-align:center}
.bio-customer-table thead tr:first-child th[colspan] {padding-bottom:9px}
.bio-customer-table thead tr:nth-child(2) th {text-align:center;padding-top:8px}
.bio-customer-table tbody td {font-size:13px;padding:15px 9px;border-bottom:1px solid #e3e7dd;font-variant-numeric:tabular-nums}
.bio-customer-table tbody tr:last-child td {border-bottom:0}
.bio-customer-table tbody tr[role="button"] {cursor:pointer}
.bio-customer-table tbody tr[role="button"]:focus-visible {outline:2px solid #35583b;outline-offset:-2px}
.bio-customer-table tbody td[data-field],.bio-customer-table tbody td.bio-payment-cell {text-align:center}
.bio-customer-table .bio-spacer-cell {padding:0}
.bio-customer-table tbody td:first-child strong {font-size:14px;font-weight:600}
.bio-customer-table tbody td:last-child {text-align:center}
.bio-remove {display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:4px;background:transparent;color:#64715f;font:20px/1 Arial,sans-serif;cursor:pointer}
.bio-remove:hover,.bio-remove:focus-visible {background:#f4e4e1;color:#8b3632}
.bio-remove:focus-visible {outline:2px solid #8b3632;outline-offset:2px}
.bio-payment {display:inline-block;border-radius:25px;padding:5px 9px;background:#eee;color:#65725f;font-size:11px;white-space:nowrap}
.bio-payment.ok {background:#e0eddc;color:#295c2f}
.bio-payment.waiting {background:#f6ebcc;color:#755623}
.bio-visually-hidden {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.bio-dialog {width:min(780px,calc(100vw - 24px));max-height:calc(100vh - 32px);overflow:auto;padding:0;border:0;border-radius:8px;background:#fff;color:#202622;box-shadow:0 20px 60px #0005}
.bio-dialog,.bio-dialog * {box-sizing:border-box}
.bio-dialog form,.bio-dialog-body,.bio-form-grid,.bio-form-grid > * {min-width:0}
.bio-dialog::backdrop {background:#17231ab0}
.bio-dialog-head {padding:20px 25px 14px;border-bottom:1px solid #dce2d6;display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.bio-dialog-head h2 {font-size:25px}
.bio-close {border:0;background:transparent;font-size:25px;color:#526d53;line-height:1}
.bio-dialog-body {padding:18px 25px}
.bio-form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.bio-dialog .bio-product,.bio-dialog .bio-finance {border-radius:6px;background:#f3f4ee;padding:16px;min-width:0}
.bio-dialog .bio-product h3,.bio-dialog .bio-finance h3 {font:600 14px Arial,sans-serif;color:#29472e;margin:0 0 12px;padding:0 0 9px;border-bottom:1px solid #ccd7c7}
.bio-dialog .bio-product label,.bio-dialog .bio-finance label {display:block;min-width:0;font-size:14px;color:#52634e;margin:0 0 12px}
.bio-dialog .bio-product label:last-child,.bio-dialog .bio-finance label:last-child {margin-bottom:0}
.bio-dialog input,.bio-dialog select,.bio-dialog textarea {display:block;width:100%;margin-top:5px;padding:9px 10px;border:1px solid #cdd6c8;border-radius:4px;background:#fff;color:#243125}
.bio-dialog textarea {min-height:70px;resize:vertical}
.bio-finance {margin-top:18px}
.bio-finance .bio-form-grid {width:100%;margin-bottom:12px}
.bio-finance .bio-form-grid label {overflow-wrap:anywhere}
.bio-remove-dialog {width:min(500px,calc(100vw - 24px))}
.bio-remove-dialog .bio-dialog-body p {margin:0;color:#344536}
.bio-remove-dialog .bio-danger {background:#93463e;color:#fff}
.bio-error {padding:0 25px;color:#a3443f;font-size:12px;min-height:0}
.bio-error:not(:empty) {padding-bottom:10px}
.bio-dialog-actions {padding:14px 25px 20px;display:flex;justify-content:flex-end;gap:10px}
.bio-add-dialog {width:min(500px,calc(100vw - 24px))}
@media(max-width:700px) {.bio-panel{padding:16px}.bio-form-grid{grid-template-columns:1fr}.bio-status-table{min-width:760px}}

/* Completed deliveries recede; payment status remains readable. */
.bio-customer-table tbody tr.bio-delivered td {color:var(--vg-muted);}
.bio-dialog input[type=number] {appearance:textfield;-moz-appearance:textfield;}
.bio-dialog input[type=number]::-webkit-inner-spin-button,.bio-dialog input[type=number]::-webkit-outer-spin-button {-webkit-appearance:none;margin:0;}
