/* Shared account components, matching wishlist and review cards. */
.mlr-account .mlr-module { container:mlr-module / inline-size; }
.mlr-sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mlr-account .mlr-module :is(h3,h4,p,dl,fieldset) { min-width:0; }
.mlr-account .mlr-module :is(button,a,h3,h4,p,dd,span) { overflow-wrap:anywhere; }
.mlr-account .mlr-module .mlr-panel,.mlr-account .mlr-record,.mlr-account .mlr-settings-card { border:1px solid var(--mlr-border); border-radius:var(--mlr-radius); background:var(--mlr-surface); box-shadow:none; min-width:0; }
.mlr-account .mlr-panel-heading { padding:22px 24px; border-bottom:1px solid var(--mlr-border); background:var(--mlr-bg); border-radius:var(--mlr-radius) var(--mlr-radius) 0 0; }
.mlr-account .mlr-panel-heading .mlr-h3 { margin:0; }
.mlr-account .mlr-panel-heading p { margin:6px 0 0; font-size:13px; line-height:1.65; color:var(--mlr-muted); }
.mlr-account .mlr-panel-body { padding:24px; }
.mlr-account .mlr-module :is(.mlr-form,.mlr-form-grid) { gap:20px; margin:0; }
.mlr-account .mlr-module .mlr-label { margin:0; min-width:0; gap:8px; }
.mlr-account .mlr-module .mlr-label > span,.mlr-account .mlr-field-title { font-size:13px; line-height:1.5; font-weight:600; color:var(--mlr-ink); }
.mlr-account .mlr-field-title { margin-bottom:8px; }
.mlr-account .mlr-module .mlr-input,.mlr-account-dialog .mlr-input { min-width:0; width:100%; max-width:100%; box-sizing:border-box; color:var(--mlr-ink); background:var(--mlr-surface); border:1px solid #ccd3dc; box-shadow:none; font-family:inherit; line-height:1.5; }
.mlr-account .mlr-module textarea { resize:vertical; }
.mlr-account .mlr-module input[type="file"] { padding:10px; font-size:12px; border-style:dashed; background:var(--mlr-bg); }
.mlr-account .mlr-module input::file-selector-button { background:var(--mlr-surface); color:var(--mlr-ink); border:1px solid var(--mlr-border); border-radius:6px; padding:7px 10px; margin-right:10px; font:inherit; cursor:pointer; }
.mlr-account .mlr-module .mlr-btn { white-space:normal; max-width:100%; }
.mlr-account .mlr-module .mlr-btn:disabled,.mlr-account-dialog .mlr-btn:disabled { opacity:.55; cursor:wait; }
.mlr-account .mlr-form-footer { display:flex; align-items:center; flex-wrap:wrap; gap:14px 24px; padding-top:4px; }
.mlr-account .mlr-form-footer > .mlr-form-hint { flex:1 1 200px; }
.mlr-account .mlr-form-hint { color:var(--mlr-muted); font-size:12px; line-height:1.65; margin:0; }
.mlr-account .mlr-form-feedback { font-size:13px; line-height:1.6; padding:12px 14px; border-radius:8px; background:var(--mlr-bg); color:var(--mlr-ink); }
.mlr-account .mlr-form-feedback:empty { display:none; }
.mlr-account .mlr-subsection-title { color:var(--mlr-ink); font-size:17px; font-weight:600; line-height:1.4; margin:32px 0 16px; }
.mlr-account .mlr-record-list { display:grid; gap:18px; }
.mlr-account .mlr-record-head { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px; }
.mlr-account .mlr-record-title { display:flex; align-items:center; gap:14px; min-width:0; }
.mlr-account .mlr-record-title > div { min-width:0; }
.mlr-account .mlr-record-title h3 { margin:0 0 5px; font-size:16px; line-height:1.5; font-weight:650; color:var(--mlr-ink); }
.mlr-account .mlr-record-icon { display:flex; align-items:center; justify-content:center; width:44px; height:44px; flex:0 0 44px; background:var(--mlr-bg); border:1px solid var(--mlr-border); border-radius:12px; color:var(--mlr-ink); }
.mlr-account .mlr-record-aside { display:flex; flex-direction:column; align-items:flex-end; flex-shrink:0; gap:10px; }
.mlr-account .mlr-record-amount { font-size:19px; line-height:1.4; font-weight:650; color:var(--mlr-ink); font-variant-numeric:tabular-nums; }
.mlr-account .mlr-record-amount small { font-size:11px; display:block; font-weight:400; color:var(--mlr-muted); }
.mlr-account .mlr-status { display:inline-flex; align-items:center; gap:7px; padding:5px 10px; border:1px solid transparent; border-radius:20px; font-size:11px; font-weight:600; line-height:1.5; color:#4b5563; background:#f0f2f5; }
.mlr-account .mlr-status::before { content:""; width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:currentColor; }
.mlr-account .mlr-status--success { color:#176446; background:#edf8f2; border-color:#cfe9dc; }
.mlr-account .mlr-status--pending { color:#83530c; background:#fff8e9; border-color:#f2e2bb; }
.mlr-account .mlr-status--neutral { color:#596170; background:#f1f3f6; border-color:#e1e5ea; }
.mlr-account .mlr-record-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; padding:0 24px 22px; }
.mlr-account .mlr-record-actions .mlr-icon,.mlr-account .mlr-discovery-actions .mlr-icon { width:17px; height:17px; flex-basis:17px; }
.mlr-account .mlr-record-actions .mlr-text-action { margin-left:auto; }
.mlr-account .mlr-text-action { display:inline-flex; align-items:center; min-height:36px; padding:5px 0; background:transparent; border:0; border-radius:4px; color:var(--mlr-muted); font:inherit; font-size:12px; line-height:1.5; font-weight:500; text-decoration:none; cursor:pointer; }
.mlr-account .mlr-text-action:hover { color:var(--mlr-ink); text-decoration:underline; text-underline-offset:3px; background:transparent; }
.mlr-account .mlr-record-body { padding:0 24px 22px; }
.mlr-account .mlr-record-body p { margin:7px 0 0; color:var(--mlr-ink); font-size:14px; line-height:1.7; }
.mlr-account .mlr-disclosure-chevron { flex:0 0 7px; display:inline-block; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin:0 4px 4px; }
.mlr-account [aria-expanded="true"] > .mlr-disclosure-chevron,.mlr-account details[open] > summary > .mlr-disclosure-chevron { transform:rotate(225deg); margin-bottom:0; }
.mlr-account .mlr-orders .mlr-order-details { margin:0; padding:24px; border:0; border-top:1px solid var(--mlr-border); background:var(--mlr-surface); border-radius:0 0 var(--mlr-radius) var(--mlr-radius); }
.mlr-account .mlr-module-table-wrap { max-width:100%; overflow-x:auto; }
.mlr-account .mlr-module-table { width:100%; max-width:100%; min-width:0; table-layout:fixed; border-collapse:collapse; border:0; background:transparent; margin:0; font-size:13px; line-height:1.6; }
.mlr-account .mlr-module-table th { padding:12px 10px; background:var(--mlr-bg); color:var(--mlr-muted); border:0; font-size:11px; font-weight:500; text-align:right; vertical-align:middle; }
.mlr-account .mlr-module-table th:first-child { text-align:left; border-radius:8px 0 0 8px; }
.mlr-account .mlr-module-table th:last-child { border-radius:0 8px 8px 0; }
.mlr-account .mlr-module-table td { padding:20px 10px; border:0; border-bottom:1px solid var(--mlr-border); color:var(--mlr-ink); vertical-align:middle; text-align:right; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.mlr-account .mlr-module-table td:first-child { text-align:left; }
.mlr-account .mlr-module-table tr:last-child td { border-bottom:0; }
.mlr-account .mlr-line-table th:first-child { width:48%; }
.mlr-account .mlr-line-table th:nth-child(2) { width:12%; }
.mlr-account .mlr-line-table th:nth-child(n+3) { width:20%; }
.mlr-account .mlr-module .mlr-product-visual { width:58px; height:68px; flex-basis:58px; padding:8px; }
.mlr-account .mlr-module .mlr-product-visual img { width:100%; height:100%; object-fit:contain; }
.mlr-account .mlr-product-visual--symbol { height:44px; }
.mlr-account .mlr-module .mlr-item-meta { font-size:11px; color:var(--mlr-muted); margin-top:6px; }
.mlr-account .mlr-module .wc-item-meta { margin:0; padding:0; list-style:none; }
.mlr-account .mlr-module .wc-item-meta p { display:inline; margin:0; }
.mlr-account .mlr-order-bottom { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.8fr); gap:24px; padding-top:24px; border-top:1px solid var(--mlr-border); }
.mlr-account .mlr-address-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.mlr-account .mlr-address-summary h4,.mlr-account .mlr-order-note h4 { margin:0 0 8px; }
.mlr-account .mlr-address-summary address { font-size:12px; line-height:1.75; font-style:normal; color:var(--mlr-muted); overflow-wrap:anywhere; }
.mlr-account .mlr-order-note { margin-top:20px; }
.mlr-account .mlr-order-note p { margin:0; font-size:13px; line-height:1.6; color:var(--mlr-muted); white-space:pre-line; }
.mlr-account .mlr-facts { margin:20px 0 0; font-size:12px; }
.mlr-account .mlr-facts > div { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:8px; }
.mlr-account .mlr-facts dt { color:var(--mlr-muted); font-weight:400; }
.mlr-account .mlr-facts dd { margin:0; font-weight:600; color:var(--mlr-ink); }
.mlr-account .mlr-module .mlr-order-totals { align-self:start; padding:18px; border-radius:12px; border:1px solid var(--mlr-border); background:var(--mlr-bg); margin:0; }
.mlr-account .mlr-module .mlr-total-row { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; padding:10px 0; border-bottom:1px solid var(--mlr-border); font-size:12px; color:var(--mlr-muted); }
.mlr-account .mlr-module .mlr-total-row strong { font-weight:600; color:var(--mlr-ink); font-variant-numeric:tabular-nums; }
.mlr-account .mlr-module .mlr-total-row--grand { border-bottom:0; padding-top:16px; color:var(--mlr-ink); font-weight:600; }
.mlr-account .mlr-module .mlr-total-row--grand strong { font-size:20px; }
.mlr-account .mlr-orders .mlr-pagination { margin:24px 0 0; }
.mlr-account .mlr-return-items { border:1px solid var(--mlr-border); background:var(--mlr-bg); padding:16px; border-radius:10px; }
.mlr-account .mlr-return-list { display:grid; gap:12px; }
.mlr-account .mlr-return-item { display:grid; grid-template-columns:minmax(0,1fr) 96px; align-items:center; gap:12px; padding:14px; border:1px solid var(--mlr-border); border-radius:8px; background:var(--mlr-surface); }
.mlr-account .mlr-return-choice { display:flex; align-items:flex-start; gap:12px; min-width:0; cursor:pointer; }
.mlr-account .mlr-return-choice input { flex:0 0 18px; width:18px; height:18px; margin:3px 0 0; accent-color:var(--mlr-accent); }
.mlr-account .mlr-return-name { display:block; font-size:14px; font-weight:600; line-height:1.6; }
.mlr-account .mlr-return-meta { display:block; color:var(--mlr-muted); font-size:12px; font-weight:400; }
.mlr-account .mlr-return-quantity { display:grid; gap:6px; font-size:11px; color:var(--mlr-muted); }
.mlr-account .mlr-return-quantity .mlr-return-qty { max-width:100%; width:100%; text-align:center; }
.mlr-account .mlr-return-qty:disabled { opacity:.5; }
.mlr-account .mlr-support-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:20px; align-items:start; }
.mlr-account .mlr-module .mlr-prose { font-size:14px; color:var(--mlr-ink); line-height:1.75; overflow-wrap:anywhere; }
.mlr-account .mlr-module .mlr-prose p { margin:0 0 12px; }
.mlr-account .mlr-module .mlr-prose p:last-child { margin-bottom:0; }
.mlr-account .mlr-help-panel :is(h3,h4) { color:var(--mlr-ink); font-size:15px; line-height:1.6; }
.mlr-account .mlr-help-panel ul { padding-left:20px; }
.mlr-account .mlr-help-panel .mlr-faq { margin:0; gap:12px; }
.mlr-account .mlr-help-panel .mlr-faq__item { border-radius:10px; }
.mlr-account .mlr-help-panel .mlr-faq__q { padding:14px 36px 14px 14px; font-size:13px; font-weight:600; }
.mlr-account .mlr-help-panel .mlr-faq__q::after { width:7px; height:7px; border-width:1.5px; }
.mlr-account .mlr-help-panel .mlr-faq__a { font-size:13px; line-height:1.7; background:var(--mlr-bg); }
.mlr-account .mlr-cc-mode-net .mlr-ledger-table .mlr-col-net,.mlr-account .mlr-cc-mode-gross .mlr-ledger-table .mlr-col-gross { font-weight:650; }
.mlr-account .mlr-cc-bar[aria-pressed="true"] { outline:2px solid var(--mlr-ink); outline-offset:-2px; }
.mlr-account .mlr-module .mlr-ticket-thread { padding:0; border-top:1px solid var(--mlr-border); }
.mlr-account .mlr-conversation { padding:24px; }
.mlr-account .mlr-comment { margin-top:16px; padding:18px; border:1px solid var(--mlr-border); border-radius:12px; background:var(--mlr-bg); }
.mlr-account .mlr-comment > .mlr-muted { margin-bottom:8px; font-size:11px; }
.mlr-account .mlr-comment--reply { border-left:3px solid var(--mlr-accent); background:var(--mlr-surface); }
.mlr-account .mlr-conversation .mlr-form-grid { padding-top:20px; border-top:1px solid var(--mlr-border); }
.mlr-account .mlr-conversation .mlr-ticket-send { justify-self:start; }
.mlr-account .mlr-discovery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:20px; }
.mlr-account .mlr-discovery-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid var(--mlr-border); border-radius:var(--mlr-radius); background:var(--mlr-surface); }
.mlr-account .mlr-discovery-image { display:flex; align-items:center; justify-content:center; height:190px; padding:24px; background:var(--mlr-bg); border-bottom:1px solid var(--mlr-border); }
.mlr-account .mlr-discovery-image img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.mlr-account .mlr-discovery-body { display:flex; flex-direction:column; flex:1; padding:22px; gap:18px; }
.mlr-account .mlr-discovery-body .mlr-product-name { margin-top:6px; font-size:16px; }
.mlr-account .mlr-discovery-price { margin-top:auto; font-size:21px; font-weight:650; color:var(--mlr-ink); line-height:1.5; }
.mlr-account .mlr-discovery-price del { font-size:14px; font-weight:400; color:var(--mlr-muted); }
.mlr-account .mlr-discovery-price ins { background:transparent; text-decoration:none; }
.mlr-account .mlr-discovery-price small { display:block; font-size:11px; font-weight:400; }
.mlr-account .mlr-discovery-actions { display:flex; flex-wrap:wrap; gap:10px; }
.mlr-account .mlr-discovery-actions .mlr-btn { flex:1 1 auto; font-size:12px; padding:10px; }
.mlr-account .mlr-discovery-actions .is-active .mlr-icon { fill:var(--mlr-accent); stroke:var(--mlr-ink); }
.mlr-account .mlr-module-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; }
.mlr-account .mlr-toolbar-actions { display:flex; flex-wrap:wrap; gap:10px; }
.mlr-account .mlr-costcenters .mlr-cc-toggle { padding:4px; background:var(--mlr-bg); border:1px solid var(--mlr-border); border-radius:10px; gap:3px; }
.mlr-account .mlr-costcenters .mlr-cc-mode { padding:8px 14px; border-radius:6px; font-family:inherit; font-size:12px; font-weight:600; color:var(--mlr-muted); min-height:36px; }
.mlr-account .mlr-costcenters .mlr-cc-mode.is-active { color:var(--mlr-ink); background:var(--mlr-surface); box-shadow:0 1px 3px rgb(23 34 50 / 10%); }
.mlr-account .mlr-costcenter-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:16px; }
.mlr-account .mlr-costcenter-card { padding:24px; border:1px solid var(--mlr-border); border-radius:var(--mlr-radius); min-width:0; background:var(--mlr-surface); }
.mlr-account .mlr-costcenter-card.is-selected { border-color:var(--mlr-accent); box-shadow:inset 3px 0 0 var(--mlr-accent); }
.mlr-account .mlr-costcenter-card h3 { margin:8px 0 0; }
.mlr-account .mlr-costcenter-card .mlr-cc-open { display:flex; width:100%; justify-content:space-between; align-items:center; gap:12px; font-size:17px; font-weight:650; line-height:1.4; }
.mlr-account .mlr-costcenter-amount { margin:24px 0 20px; }
.mlr-account .mlr-costcenter-amount .mlr-cc-total { font-size:28px; font-weight:650; line-height:1.4; letter-spacing:-.5px; font-variant-numeric:tabular-nums; }
.mlr-account .mlr-costcenter-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:12px; border-top:1px solid var(--mlr-border); }
.mlr-account .mlr-costcenter-footer form { margin:0; }
.mlr-account .mlr-scope-note { margin:16px 0 28px; }
.mlr-account .mlr-costcenters .mlr-cc-detail { min-height:0; padding-top:28px; border-top:1px solid var(--mlr-border); scroll-margin-top:48px; }
.mlr-account .mlr-costcenters .mlr-cc-detail__head { gap:20px; margin-bottom:22px; flex-wrap:wrap; }
.mlr-account .mlr-costcenters .mlr-cc-card { padding:24px; margin-top:20px; border:1px solid var(--mlr-border); border-radius:var(--mlr-radius); background:var(--mlr-surface); min-width:0; }
.mlr-account .mlr-costcenters .mlr-cc-card__title { font-size:15px; font-weight:600; margin-bottom:20px; }
.mlr-account .mlr-chart-scroll { overflow-x:auto; max-width:100%; }
.mlr-account .mlr-costcenters .mlr-cc-chart { height:200px; min-width:540px; padding:14px 10px 0; gap:10px; border:0; border-radius:0; border-bottom:1px solid var(--mlr-border); background:var(--mlr-bg); }
.mlr-account .mlr-costcenters .mlr-cc-bar { padding:4px; border:0; background:transparent; color:var(--mlr-ink); font-family:inherit; border-radius:6px; }
.mlr-account .mlr-costcenters .mlr-cc-bar:hover { background:rgb(23 34 50 / 5%); transform:none; }
.mlr-account .mlr-costcenters .mlr-cc-bar__fill { background:var(--mlr-accent); opacity:.85; border-radius:4px 4px 0 0; flex-shrink:1; }
.mlr-account .mlr-costcenters .mlr-cc-bar__label { flex-shrink:0; font-size:10px; white-space:nowrap; }
.mlr-account .mlr-cc-totals { margin:20px 0 0 auto; padding:14px 20px; width:min(100%,420px); border-radius:10px; background:var(--mlr-bg); }
.mlr-account .mlr-ledger-table th:first-child { width:30%; }
.mlr-account .mlr-ledger-table th:last-child { width:26%; }
.mlr-account .mlr-ledger-table .mlr-product-meta { display:block; margin-top:4px; }
.mlr-account .mlr-ledger-table .mlr-orders-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.mlr-account .mlr-ledger-table .mlr-icon { width:17px; height:17px; }
.mlr-account .mlr-costcenters .mlr-cc-orders-controls { gap:12px; margin-bottom:18px; }
.mlr-account .mlr-costcenters .mlr-cc-orders-controls__left { flex:1; gap:12px; }
.mlr-account .mlr-costcenters .mlr-cc-orders-controls__left > label { display:grid; gap:6px; font-size:11px; color:var(--mlr-muted); flex:1 1 160px; }
.mlr-account .mlr-settings-list { display:grid; gap:16px; }
.mlr-account .mlr-settings-card > summary { display:flex; align-items:center; gap:16px; padding:22px 24px; list-style:none; cursor:pointer; border-radius:var(--mlr-radius); }
.mlr-account .mlr-settings-card > summary::-webkit-details-marker { display:none; }
.mlr-account .mlr-settings-card > summary:hover { background:var(--mlr-bg); }
.mlr-account .mlr-settings-card[open] > summary { border-bottom:1px solid var(--mlr-border); border-radius:var(--mlr-radius) var(--mlr-radius) 0 0; }
.mlr-account .mlr-settings-title { display:grid; gap:4px; flex:1; min-width:0; }
.mlr-account .mlr-settings-title strong { color:var(--mlr-ink); font-size:16px; font-weight:600; line-height:1.5; }
.mlr-account .mlr-settings-title small { color:var(--mlr-muted); font-size:12px; line-height:1.6; }
.mlr-account .mlr-settings-body { padding:24px; }
.mlr-account .mlr-field-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:18px; align-items:start; }
.mlr-account .mlr-field-full,.mlr-account .mlr-form-submit { grid-column:1 / -1; }
.mlr-account .mlr-form-submit { justify-self:start; }
.mlr-account .mlr-address-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.mlr-account .mlr-address-fields { margin:0; padding:0; border:0; }
.mlr-account .mlr-address-fields legend { font-size:15px; font-weight:600; padding:0 0 20px; color:var(--mlr-ink); }
.mlr-account .mlr-address-fields .mlr-field-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.mlr-account .mlr-security-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:24px; align-items:start; }
.mlr-account .mlr-security-box { padding:22px; background:var(--mlr-bg); border-radius:12px; min-width:0; }
.mlr-account .mlr-security-box .mlr-h3 { margin:0 0 14px; }
.mlr-account .mlr-security-box .mlr-field-grid { grid-template-columns:minmax(0,1fr); }
.mlr-account .mlr-security-box form > .mlr-btn { justify-self:start; }
.mlr-account .mlr-settings-shortcut { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; margin-top:24px; padding:24px; border-radius:var(--mlr-radius); background:var(--mlr-bg); }
.mlr-account .mlr-settings-shortcut > div { flex:1 1 250px; }
.mlr-account .mlr-settings-shortcut strong { font-size:14px; font-weight:600; }
.mlr-account .mlr-settings-shortcut p { margin-top:5px; }
.mlr-account .mlr-payment-methods { overflow-x:auto; font-size:14px; }
.mlr-account .mlr-payment-methods .button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; border:1px solid var(--mlr-border); border-radius:8px; background:var(--mlr-bg); color:var(--mlr-ink); font-size:13px; font-weight:600; text-decoration:none; }
.mlr-account-dialog { --mlr-radius:16px; --mlr-on-accent:#18222f; --mlr-ink:#18222f; --mlr-muted:#586372; --mlr-border:#e1e5ea; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:14px; line-height:1.6; }
.mlr-account-dialog * { box-sizing:border-box; }
.mlr-account-dialog .mlr-modal__panel { width:min(580px,100%); max-height:calc(100dvh - 40px); overflow:auto; padding:28px; border-radius:var(--mlr-radius); background:var(--mlr-surface); }
.mlr-account-dialog .mlr-modal__head { margin-bottom:24px; gap:16px; }
.mlr-account-dialog .mlr-modal__title { font-size:20px; font-weight:650; line-height:1.4; }
.mlr-account-dialog .mlr-modal__close { flex:0 0 40px; width:40px; height:40px; border-radius:8px; font-size:24px; line-height:1; color:var(--mlr-ink); }
.mlr-account-dialog .mlr-form { gap:20px; }
.mlr-account-dialog .mlr-label { gap:8px; }
.mlr-account-dialog .mlr-label span { color:var(--mlr-ink); opacity:1; font-size:13px; font-weight:600; }
.mlr-account-dialog .mlr-input { min-height:44px; border-radius:8px; padding:10px 12px; font-size:15px; }
.mlr-account-dialog .mlr-muted { color:var(--mlr-muted); font-size:13px; line-height:1.7; }
.mlr-account-dialog .mlr-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; border-radius:8px; border:1px solid transparent; background:var(--mlr-accent); color:var(--mlr-on-accent); font-family:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.mlr-account-dialog .mlr-btn--ghost { background:var(--mlr-surface); color:var(--mlr-ink); border-color:var(--mlr-border); }
.mlr-account-dialog .mlr-actions-inline { display:flex; flex-wrap:wrap; gap:10px; }
.mlr-account-dialog :is(button,input,select):focus-visible { outline:3px solid var(--mlr-ink); outline-offset:3px; }
@container mlr-module (max-width:900px) {
  .mlr-account .mlr-address-grid { grid-template-columns:minmax(0,1fr); }
  .mlr-account .mlr-address-fields + .mlr-address-fields { padding-top:24px; border-top:1px solid var(--mlr-border); }
}
@container mlr-module (max-width:740px) {
  .mlr-account .mlr-support-grid,.mlr-account .mlr-order-bottom { grid-template-columns:minmax(0,1fr); }
  .mlr-account .mlr-order-totals { order:-1; }
  .mlr-account .mlr-module-table-wrap { overflow:visible; }
  .mlr-account .mlr-module-table,.mlr-account .mlr-module-table tbody { display:block; }
  .mlr-account .mlr-module-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .mlr-account .mlr-module-table tr { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:20px 0; border-bottom:1px solid var(--mlr-border); }
  .mlr-account .mlr-module-table tr:first-child { padding-top:0; }
  .mlr-account .mlr-module-table td { display:block; padding:0; border:0; min-width:0; text-align:left; }
  .mlr-account .mlr-module-table td::before { display:block; content:attr(data-label); font-size:10px; color:var(--mlr-muted); margin-bottom:5px; font-weight:400; }
  .mlr-account .mlr-module-table td:first-child { grid-column:1 / -1; }
  .mlr-account .mlr-module-table td:first-child::before,.mlr-account .mlr-module-table td[colspan]::before { display:none; }
  .mlr-account .mlr-ledger-table td:last-child { grid-column:1 / -1; }
  .mlr-account .mlr-ledger-table .mlr-orders-actions { justify-content:flex-start; }
  .mlr-account .mlr-costcenters .mlr-cc-orders-controls__left { width:100%; }
}
@container mlr-module (max-width:480px) {
  .mlr-account .mlr-module .mlr-section-emblem { display:none; }
  .mlr-account .mlr-record-head { flex-wrap:wrap; gap:16px; padding:18px 16px; }
  .mlr-account .mlr-record-aside { flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; width:100%; gap:10px; }
  .mlr-account .mlr-record-actions { padding:0 16px 18px; }
  .mlr-account .mlr-record-actions .mlr-text-action { margin-left:0; }
  .mlr-account .mlr-record-title h3 { font-size:15px; }
  .mlr-account .mlr-record-icon { width:36px; height:36px; flex-basis:36px; border-radius:10px; }
  .mlr-account .mlr-record-title { gap:12px; }
  .mlr-account .mlr-panel-heading,.mlr-account .mlr-panel-body,.mlr-account .mlr-record-body,.mlr-account .mlr-conversation,.mlr-account .mlr-orders .mlr-order-details,.mlr-account .mlr-settings-body,.mlr-account .mlr-settings-card > summary,.mlr-account .mlr-settings-shortcut { padding:18px 16px; }
  .mlr-account .mlr-record-body { padding-top:0; }
  .mlr-account .mlr-return-item { grid-template-columns:minmax(0,1fr); padding:12px; }
  .mlr-account .mlr-return-quantity { max-width:96px; }
  .mlr-account .mlr-return-items { padding:12px; }
  .mlr-account .mlr-module-toolbar .mlr-toolbar-actions { display:grid; width:100%; }
  .mlr-account .mlr-costcenter-card { padding:20px; }
  .mlr-account .mlr-costcenters .mlr-cc-card { padding:18px 16px; }
  .mlr-account .mlr-costcenters .mlr-cc-detail__actions { align-items:flex-start !important; }
  .mlr-account .mlr-settings-card > summary { gap:12px; }
  .mlr-account .mlr-security-box { padding:16px; }
  .mlr-account .mlr-discovery-body { padding:18px; }
  .mlr-account .mlr-address-fields .mlr-field-grid,.mlr-account .mlr-address-summary { grid-template-columns:minmax(0,1fr); }
}
@container mlr-module (max-width:310px) {
  .mlr-account .mlr-module-table tr { grid-template-columns:minmax(0,1fr); }
  .mlr-account .mlr-module-table td:not(:first-child) { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; }
  .mlr-account .mlr-module-table td::before { margin:0; }
  .mlr-account .mlr-module .mlr-product-visual { width:44px; height:54px; flex-basis:44px; }
  .mlr-account .mlr-module .mlr-product-summary { gap:10px; }
  .mlr-account .mlr-module .mlr-product-name { font-size:14px; }
  .mlr-account .mlr-settings-card > summary > .mlr-record-icon { display:none; }
  .mlr-account .mlr-settings-title strong { font-size:14px; }
  .mlr-account .mlr-record-amount { font-size:17px; }
}
@media (max-width:480px) {
  .mlr-account-dialog { padding:12px; }
  .mlr-account-dialog .mlr-modal__panel { padding:20px 16px; }
  .mlr-account-dialog .mlr-modal__title { font-size:18px; }
}
