.billing-snapshot{display:grid;grid-template-columns:.8fr 1.4fr .6fr;gap:16px;padding:18px 20px;margin:18px 0;background:#f4eff8;border:1px solid #d8cee1;border-radius:10px}.billing-snapshot small,.billing-snapshot b,.billing-snapshot span{display:block}.billing-snapshot small{font-size:12px;color:#675372;margin-bottom:5px}.billing-snapshot b{font-size:15px;color:#34273e;overflow-wrap:anywhere}.billing-snapshot span{font-size:13px;margin-top:5px}.billing-snapshot p{grid-column:1/-1;font-size:12px;margin:0;color:#695972}.customer-doctors{display:flex;flex-direction:column;gap:8px;padding:15px 0}.customer-doctors .btn{text-align:left;justify-content:space-between}.customer-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;background:#f8f4fa;border:1px solid #e1d8e8;border-radius:8px}.customer-checks label{display:flex;align-items:center;gap:9px;font-size:14px}.customer-checks input[type=checkbox]{width:18px;min-height:18px;height:18px;flex-shrink:0}.entry-billing{margin:16px 0 10px;padding:15px;background:#f6f2f8;border-radius:9px;border:1px solid #dfd5e6}.entry-billing p{font-size:13px;margin:9px 0 0;color:#5d486b}.currency-note{font-size:13px;color:#624d70;padding:12px 16px;border-left:3px solid #9b81ad;background:#f5f0f8;margin-bottom:18px}.customers-empty{padding:30px;text-align:center}.customer-stats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.user-state-inactive{color:#83758c;font-size:12px}.user-list td{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.customer-checks{grid-template-columns:1fr}.billing-snapshot{grid-template-columns:1fr;padding:16px;gap:13px}.customer-card{padding:18px}.entry-billing{padding:12px}.customer-card h2{font-size:20px}}
.order-workflow{margin-top:22px;padding:20px;background:#f5f1f8;border:1px solid #d8cee1;border-radius:10px}.order-workflow ol{display:flex;list-style:none;margin:0 0 16px;padding:0;gap:12px;flex-wrap:wrap}.order-workflow li{display:flex;align-items:center;gap:7px;padding:9px 13px;color:#6b6074;background:#fff;border:1px solid #d9d0e2;border-radius:8px;font-size:14px}.order-workflow li.current{background:#594168;color:#fff;border-color:#594168;font-weight:600}.order-workflow li.complete{color:#315844;background:#e9f2ec;border-color:#c7d9cd}.order-workflow p{font-size:15px}.order-workflow small{display:block;font-size:12px;color:#65596e;margin-top:12px}.doctor-buyers{margin:20px 0;padding:18px;background:#f6f2f8;border:1px solid #ddd3e5;border-radius:10px}.doctor-buyers h3{margin:0 0 10px}.doctor-buyers p{font-size:14px;line-height:1.6}.doctor-buyers>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.doctor-buyers .btn{text-align:left;justify-content:space-between;white-space:normal}.doctor-buyers small,.customer-doctors small{display:block;font-weight:400;font-size:13px;color:#61526d;margin-top:5px}.customer-doctors b{font-size:15px}.customer-doctors .btn>span:last-child{font-size:13px;white-space:nowrap}.funnel{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.doctor-buyers>div{grid-template-columns:1fr}.customer-doctors .btn{flex-wrap:wrap}.order-workflow{padding:15px}.order-workflow .btn{white-space:normal;text-align:left}.funnel{grid-template-columns:1fr}}
/* One consistent dropdown for every dialog, including standalone CRM fields. */
#modal select:not([multiple]){appearance:none;-webkit-appearance:none;display:block;box-sizing:border-box;width:100%;height:42px;min-height:42px;border:1px solid #bfb1ce;border-radius:8px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%235f4872' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:19px 19px;padding:9px 42px 9px 12px;font:500 15px/1.4 var(--font);color:#33263e;cursor:pointer}#modal select:not([multiple]):focus{outline:2px solid #846299;outline-offset:2px}#modal select:disabled{background-color:#f1edf5;color:#74677f;cursor:default}#modal .note-form .field-row>div{min-width:0}#modal .note-form input[type=datetime-local]{box-sizing:border-box;width:100%;height:42px;min-height:42px;padding:9px 12px;color:#33263e;border:1px solid #bfb1ce;border-radius:8px;font:500 15px/1.4 var(--font);font-variant-numeric:tabular-nums}#modal .note-form input[type=datetime-local]::-webkit-date-and-time-value{text-align:left}#modal .note-form .field-row{align-items:start}
.doctor-comments{margin:20px 0;padding:18px;border:1px solid #d8cee1;border-radius:10px;background:#fbf9fd}.comment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.comment-heading h3{margin:0}.doctor-comments textarea{display:block;width:100%;box-sizing:border-box;min-height:88px;font-size:15px;line-height:1.6}.comment-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.comment-footer small{font-size:12px;color:#62546d}.doctor-comment-list{margin-top:18px;max-height:320px;overflow:auto}.doctor-comment-list article{padding:13px 0;border-top:1px solid #e0d7e7}.doctor-comment-list article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 7px;color:#35293f;font-size:15px}.doctor-comment-list article small{font-size:13px;color:#62516d}.doctor-comments .form-error:empty{display:none}
@media(max-width:760px){.comment-footer{flex-direction:column;align-items:stretch}.comment-footer .btn{align-self:flex-end}#modal select:not([multiple]),#modal .note-form input[type=datetime-local]{font-size:16px}.doctor-comments{padding:15px}}

.entry-billing-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:14px;align-items:start}.entry-billing-fields>.entry-field:only-child{grid-column:1/-1}.entry-billing .entry-owner-help{font-size:12px;line-height:1.5;color:#5d486b}.entry-billing .entry-owner-help.form-error{color:#9e2739}@media(max-width:760px){.entry-billing-fields{grid-template-columns:1fr;gap:12px}}

.purchase-controls .purchase-filters {
 display:grid;
 grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) minmax(0,1fr);
 gap:14px 18px;
}
.purchase-filters .filter-control {min-width:0;width:100%;max-width:none}
.purchase-filters .filter-input-wrap {display:block}
.purchase-filters .purchase-dates {
 grid-column:1/-1;
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
 gap:10px 18px;
 align-items:end;
}
.purchase-filters .purchase-dates[hidden],.purchase-dates .form-error:empty {display:none}
.purchase-dates .form-error {grid-column:1/-1;margin:0}
.purchase-dates .btn {min-height:46px}
.purchase-summary {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px 16px;
 padding:12px 24px;
 background:#f6f1f8;
 border-bottom:1px solid #e5deec;
 color:#5d4b68;
 font-size:13px;
 line-height:1.45;
}
.purchase-summary strong,.purchase-summary span {display:block;overflow-wrap:anywhere}
.purchase-summary .btn {flex-shrink:0}
.purchase-controls .doctor-purchase-table {min-width:0;width:100%}
.doctor-purchase-table th,.doctor-purchase-table td {white-space:normal;overflow-wrap:anywhere}
.doctor-purchase-table .person {min-width:0}
.doctor-purchase-table .person>div {min-width:0}
.doctor-purchase-table td:nth-child(5) .price {display:block;white-space:normal}
.doctor-purchase-table td:nth-child(4) .pill {
 max-width:100%;
 white-space:normal;
 margin-block:2px;
}
@media (min-width:1025px) and (max-width:1280px) {
 .doctor-purchase-table th,.doctor-purchase-table td {padding-inline:10px}
 .doctor-purchase-table td:first-child .person {gap:8px}
 .doctor-purchase-table td:last-child .btn {padding-inline:9px}
}
@media (max-width:1024px) {
 .purchase-controls .purchase-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
 .purchase-summary {padding-inline:16px}
}
@media (max-width:600px) {
 .purchase-controls .purchase-filters {gap:12px}
 .purchase-filters .filter-control:has(.filter-input-wrap>input[type="search"]),.purchase-filters .filter-control:has([data-purchase-filter="product"]) {grid-column:1/-1}
 .purchase-filters .purchase-dates {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
 .purchase-dates .btn {grid-column:1/-1;justify-self:start}
 .purchase-summary {align-items:flex-start;flex-wrap:wrap}
}
@media (max-width:370px) {
 .purchase-controls .purchase-filters {grid-template-columns:minmax(0,1fr)}
}


#customer-purchase-controls {margin-bottom:16px}
#customer-purchase-controls .purchase-summary {border-bottom:0}
/* Keep overlays anchored without shifting the fields below. */
.purchase-controls:has(.portal-search-choice[open]) {position:relative;z-index:3;overflow:visible}
.portal-choice-overlay {position:relative}
.portal-choice-overlay[open] {z-index:2}
.portal-choice-overlay .portal-choice-panel {
 position:absolute;
 inset:100% 0 auto;
 margin:4px 0;
 max-height:var(--choice-space,50vh);
 display:flex;
 flex-direction:column;
 box-shadow:0 8px 24px #39234824;
}
.portal-choice-overlay.opens-above .portal-choice-panel {inset:auto 0 100%}
.portal-choice-overlay .portal-choice-query {flex-shrink:0}
.portal-choice-overlay .portal-choice-list {min-height:0}
.portal-choice-overlay:not([open]) .portal-choice-panel {display:none}

#customer-results {container-type:inline-size}
#customer-results .customer-stats {margin:0 0 10px;font-size:14px;color:#64556d}
#customer-results .customer-grid {
 --customer-columns:minmax(0,1.6fr) minmax(0,1.14fr) minmax(0,1fr) minmax(7.3rem,.66fr);
 display:grid;grid-template-columns:minmax(0,1fr);gap:0;
 background:#fff;border:1px solid #dcd3e5;border-radius:12px;
}
.customer-list-labels {
 display:grid;grid-template-columns:var(--customer-columns);gap:18px;
 padding:8px 18px;border-radius:11px 11px 0 0;background:#f5f1f8;
 color:#5c4c66;font-size:12px;font-weight:600;border-bottom:1px solid #e6dfec;
}
#customer-results .customer-card {
 display:grid;grid-template-columns:var(--customer-columns);
 grid-template-areas:"identity assignment purchase actions";align-items:center;gap:6px 18px;
 padding:11px 18px;min-width:0;overflow-wrap:anywhere;
}
#customer-results .customer-grid > .customer-card:nth-of-type(even) {background:#f2f2f4}
#customer-results .customer-grid > .customer-card:last-child {border-radius:0 0 11px 11px}
.customer-card + .customer-card {border-top:1px solid #e6dfec}
.customer-card .customer-identity {grid-area:identity}
.customer-card .customer-assignment {grid-area:assignment}
.customer-card .customer-purchase-result {grid-area:purchase}
#customer-results .customer-card h2 {margin:2px 0;font-size:16px;line-height:1.3}
#customer-results .customer-card p,.customer-purchase-result span {
 margin:0;font-size:13px;line-height:1.4;color:#64556d;
}
.customer-card .customer-kind {font-size:11px;font-weight:650;line-height:1.3;color:#665073}
.customer-assignment b {font-weight:600;font-size:14px}
.customer-purchase-result {display:grid;align-content:center;gap:2px}
.customer-purchase-result strong {font-size:16px;line-height:1.3;color:#412f50;font-variant-numeric:tabular-nums}
.customer-card .module-actions {grid-area:actions;display:grid;justify-items:stretch;margin:0;gap:2px}
.customer-card .module-actions .btn {height:auto;min-height:32px;padding:5px 8px;font-size:13px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
@container (max-width:800px){.customer-list-labels {display:none}}
@container (min-width:601px) and (max-width:800px){
 #customer-results .customer-card {
  grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(7.5rem,.7fr);
  grid-template-areas:"identity purchase actions" "assignment purchase actions";gap:3px 16px;
 }
 .customer-card .customer-assignment {display:flex;gap:2px 7px;flex-wrap:wrap;align-items:baseline}
}
@container (max-width:600px){
 #customer-results .customer-card {
  grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "assignment" "purchase" "actions";
  align-items:start;gap:6px;padding:12px 14px;
 }
 .customer-card .customer-assignment,.customer-card .customer-purchase-result {
  display:flex;gap:2px 8px;align-items:baseline;flex-wrap:wrap;
 }
 .customer-card .customer-identity {display:flex;align-items:baseline;gap:2px 8px;flex-wrap:wrap}
 .customer-identity p {flex-basis:100%}
 .customer-card .module-actions {display:flex;gap:4px 8px;flex-wrap:wrap}
 .customer-card .module-actions .btn {min-height:44px}
}
@media(pointer:coarse){.customer-card .module-actions .btn {min-height:44px}}
@media (min-width:1025px) {
 #customer-purchase-controls .purchase-filters {grid-template-columns:minmax(0,1.2fr) repeat(3,minmax(0,1fr))}
}
@media (max-width:600px) {
 #customer-purchase-controls .filter-control:has([data-purchase-filter="sort"]) {grid-column:1/-1}
}

@media(max-width:1024px){
 .mobile-customers-filters {margin-bottom:16px}
 .mobile-customers-filters[open] {overflow:visible}
 .mobile-customers-filters #customer-purchase-controls {
  margin:0;border:0;border-radius:inherit;box-shadow:none;overflow:visible;
 }
 #customer-purchase-controls .purchase-filters {
  align-items:start;gap:12px 16px;background:#fff;border-top:1px solid #e4dae9;
 }
 #customer-purchase-controls .filter-control:has(#customer-query) {grid-column:1/-1}
 #customer-purchase-controls .portal-search-choice > summary {min-height:48px;font-size:16px;line-height:1.4}
 #customer-purchase-controls .portal-choice-option {min-height:44px}
 #customer-purchase-controls .purchase-summary {border-radius:0 0 9px 9px}
}
@media(max-width:600px){
 #customer-purchase-controls .purchase-filters {grid-template-columns:minmax(0,1fr)}
 #customer-purchase-controls .purchase-summary {display:grid;gap:10px}
 #customer-purchase-controls .purchase-summary .btn {justify-self:start}
}
@media(max-width:359px){
 #customer-purchase-controls .purchase-dates {grid-template-columns:minmax(0,1fr)}
}

.customer-card-work { margin-top: 24px; }
.pharmacy-stock-heading { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:16px; }
.pharmacy-stock-heading h3 { margin:0; }
.pharmacy-stock-heading label { display:grid; gap:4px; }
.pharmacy-stock-table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.pharmacy-stock-table :is(td,th) { text-align:right; padding:10px 8px; border-bottom:1px solid #e6deec; }
.pharmacy-stock-table th:first-child { text-align:left; }
.pharmacy-stock-table th small { display:block; font-weight:400; color:#675b71; }
.pharmacy-stock-table thead { color:#5b496a; background:#f7f3f9; }
.pharmacy-stock-table tfoot { background:#f4eff7; font-weight:700; }
.pharmacy-stock-table .stock-closing { font-weight:700; }
.pharmacy-stock-table .stock-negative { color:#942c3e; }
@media(max-width:600px){
 .pharmacy-stock-table { display:block; }
 .pharmacy-stock-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .pharmacy-stock-table :is(tbody,tfoot) { display:block; }
 .pharmacy-stock-table :is(tbody,tfoot) tr { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:10px 4px; border-bottom:1px solid #e6deec; }
 .pharmacy-stock-table tr :is(td,th) { border:0; padding:3px 2px; text-align:center; overflow-wrap:anywhere; }
 .pharmacy-stock-table tr th:first-child { grid-column:1/-1; margin-bottom:3px; }
 .pharmacy-stock-table td::before { content:attr(data-label); display:block; font-size:.77em; font-weight:400; color:#675b71; }
}
.customer-card-work [hidden] { display: none; }
.customer-work-tabs {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 padding: 5px;
 margin-bottom: 14px;
 background: #f2edf6;
 border: 1px solid #e2d9e9;
 border-radius: 10px;
}
.customer-work-tabs .btn { min-height: 44px; flex: 1 1 120px; white-space: normal; }
.customer-work-tabs .btn[aria-pressed="true"] { color: #fff; background: #58426b; border-color: #58426b; }
.customer-order-overview {
 display: grid;
 grid-template-columns: repeat(3,minmax(0,1fr));
 gap: 10px;
 margin-bottom: 13px;
}
.customer-order-overview > div, .customer-finance-source, .customer-finance-empty {
 padding: 14px;
 border: 1px solid #e1d6e8;
 border-radius: 10px;
 background: #fbf8fd;
}
.customer-order-overview span, .customer-order-overview strong { display: block; }
.customer-order-overview span { font-size: .875rem; color: #5f4f6b; line-height: 1.4; }
.customer-order-overview strong { margin-top: 4px; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.customer-orders-filter {
 display: flex;
 align-items: center;
 gap: 8px;
 margin: 0 0 12px;
 min-height: 44px;
}
.customer-orders-filter input[type="checkbox"] {
 appearance: auto;
 -webkit-appearance: checkbox;
 min-height: 0;
 width: 17px;
 height: 17px;
 accent-color: #58426b;
}
.customer-finance-dates {
 display: grid;
 grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
 align-items: end;
 gap: 10px;
}
.customer-finance-dates label { display: grid; gap: 6px; min-width: 0; }
.customer-finance-dates input { min-width: 0; width: 100%; }
.customer-finance-dates .form-error { grid-column: 1/-1; margin: 0; }
.customer-finance-dates .form-error:empty { display: none; }
.customer-finance-results { display: grid; gap: 14px; margin-top: 16px; }
.customer-finance-source { min-width: 0; background: #fff; }
.customer-finance-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.customer-finance-head h3 { margin: 0; }
.customer-finance-head .btn { min-height: 42px; white-space: normal; }
.customer-finance-note { color: #65556f; font-size: .875rem; line-height: 1.55; margin: 10px 0; }
.customer-finance-note.form-error { color: #8b2b42; }
.customer-finance-empty { margin: 10px 0 0; color: #65556f; }
.customer-finance-empty p { margin: 0 0 10px; }
.customer-finance-list { padding: 0; margin: 0; list-style: none; }
.customer-finance-row {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
 gap: 10px;
 padding: 12px 0;
 align-items: start;
 border-top: 1px solid #ece3f0;
 overflow-wrap: anywhere;
}
.customer-finance-row b, .customer-finance-row small { display: block; }
.customer-finance-row small { color: #65556f; font-size: .8125rem; line-height: 1.4; }
.customer-finance-row .btn { min-height: 38px; }
.customer-finance-actions, .customer-finance-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.customer-finance-pagination { justify-content: flex-end; margin-top: 12px; }
.customer-finance-pagination span { margin-right: auto; }
.customer-finance-amounts {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 6px 12px;
}
.customer-finance-amounts b { font-variant-numeric: tabular-nums; overflow-wrap: normal; }
.customer-finance-summary {
 margin-top: 12px;
 padding: 14px;
 border: 1px solid #ddd3e6;
 border-radius: 10px;
 background: #f7f3fa;
}
.customer-finance-summary h3 { margin: 0 0 8px; }
.customer-finance-summary-group + .customer-finance-summary-group {
 margin-top: 10px;
 padding-top: 10px;
 border-top: 1px solid #ddd3e6;
}
.customer-finance-summary .customer-finance-amounts small { display: block; color: #65556f; }
.customer-invoice-payment { display: grid; gap: 5px; justify-items: start; margin-top: 7px; }
.customer-invoice-payment .fi-status { font-size: .75rem; padding: 4px 7px; }
@media (max-width: 640px) {
 .customer-order-overview { gap: 5px; }
 .customer-order-overview > div { padding: 9px 8px; }
 .customer-finance-dates { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .customer-finance-dates > .btn { grid-column: 1/-1; }
 .customer-finance-row { grid-template-columns: minmax(0,1fr) auto; }
 .customer-finance-row .customer-finance-actions { grid-column: 2; grid-row: 1; }
 .customer-finance-row .customer-finance-amounts { grid-column: 1/-1; }
 .customer-finance-pagination span { flex-basis: 100%; }
}
@media (max-width: 420px) {
 .customer-finance-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.order-class-entry {
 min-width:0; margin:12px 0 0; padding:12px; border:1px solid #d9cfe2; border-radius:10px;
}
.order-class-entry legend {padding:0 5px;font-size:.9rem;font-weight:650}
.order-class-choices,.order-class-checks {display:flex;flex-wrap:wrap;gap:6px 12px}
.order-class-choices label,.order-class-checks label {
 display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:3px 8px;margin:0;
 color:#422f52;font-size:.88rem;cursor:pointer;
}
.order-class-choices input,.order-class-checks input {
 appearance:auto;width:17px;height:17px;min-height:0;margin:0;accent-color:#67467c;flex:none;
}
.order-class-entry .entry-field {display:grid;margin-top:8px;max-width:27rem}
.order-class-entry select {max-width:100%;width:100%}
.order-class-entry small {display:block;margin-top:7px}
.order-class-filter {padding:8px 16px;border-top:1px solid #e7dfed}
.order-class-filter summary {padding:5px 0;color:#513565;cursor:pointer;font-size:.9rem;font-weight:600}
.order-class-checks {padding:4px 0}
.order-list-types {
 container-type:inline-size;
 margin:0 0 16px;padding:12px 16px 14px;border:1px solid #ddd3e5;border-radius:12px;background:#fff;
}
.order-list-types-header,.order-list-type-actions {display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px}
.order-list-types-header {justify-content:space-between;margin-bottom:8px;gap:4px 12px}
.order-list-types h2 {margin:0;font-size:17px;line-height:1.3}
.order-list-type-groups {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 0;
 border-radius:9px;background:#f6f2f9;
}
.order-list-type-groups fieldset {min-inline-size:0;margin:0;padding:3px 12px 0;border:0}
.order-list-type-groups fieldset+fieldset {border-inline-start:1px solid #e1d7e8}
.order-list-type-groups legend {padding:0;font-size:13px;font-weight:700;color:#51415e}
.order-list-type-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.order-list-types .order-list-type-option,.order-type-all {
 position:relative;display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;
 min-height:35px;margin:0;padding:5px 9px;border:1px solid #ded4e7;border-radius:7px;background:#fff;
 color:#483653;font:500 13px/1.35 var(--font);text-align:left;overflow-wrap:anywhere;cursor:pointer;
}
.order-list-type-option input {
 position:absolute;inline-size:1px;block-size:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);
}
.order-list-type-option .icon {width:13px;height:13px;flex:none;visibility:hidden}
.order-list-type-option:has(:checked) {border-color:#5c416d;background:#5c416d;color:#fff}
.order-list-type-option:has(:checked) .icon {visibility:visible}
.order-list-type-actions :is(.order-type-all,.order-list-type-option) {min-height:32px;border-color:transparent;background:#f5f0f8}
.order-type-all[aria-pressed=true] {background:#eae1f1;color:#423050;font-weight:650}
.order-list-type-actions .order-list-type-option:has(:checked) {background:#5c416d;color:#fff}
.order-list-type-option:not(:has(:checked)):hover,.order-type-all:hover {border-color:#a68bb7}
.order-list-type-option:has(:focus-visible),.order-type-all:focus-visible {outline:2px solid #846299;outline-offset:2px}
.order-pickup-items {margin-top:5px;color:#51435b;font-size:13px}
.order-pickup-items>span,.order-pickup-items summary {font-weight:600}
.order-pickup-items summary {cursor:pointer}
.order-pickup-items ul {list-style:none;margin:2px 0 0;padding:0}
@container (max-width:660px){
 .order-list-type-groups {grid-template-columns:minmax(0,1fr);gap:8px;padding:8px 0}
 .order-list-type-groups fieldset+fieldset {border-inline-start:0}
 .order-list-type-choices .order-list-type-option,.order-list-type-actions :is(.order-type-all,.order-list-type-option) {min-height:44px}
}
@media(pointer:coarse){.order-list-types :is(.order-type-all,.order-list-type-option) {min-height:44px}}
@media (pointer:coarse) {
 .order-class-choices label,.order-class-checks label,.order-class-filter summary {min-height:44px}
}

.buyer-kind-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.75rem}
.buyer-kind-choice .btn{min-height:3.5rem}
.entry-billing-fields:empty{display:none}
