/* Account pages (design M). Loaded only on My account, after site-m.css. */

/* ---------- Side menu: sticks below the header and scrolls on its own ---------- */
@media (min-width: 1025px) {
	body.xr-m.woocommerce-account .woocommerce-MyAccount-navigation,
	body.xr-m.woocommerce-account .woocommerce-MyAccount-navigation.oxxd-nav {
		position: sticky !important;
		top: var(--xr-acc-top, 16px) !important;
		align-self: start !important;
		max-height: calc(100vh - var(--xr-acc-top, 16px) - 16px);
		max-height: calc(100dvh - var(--xr-acc-top, 16px) - 16px);
		overflow-y: auto;
		overflow-x: hidden;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		scrollbar-color: #CBD2DD transparent;
		scrollbar-gutter: stable;
	}
	body.xr-m.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar { width: 6px; }
	body.xr-m.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar-track { background: transparent; }
	body.xr-m.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar-thumb { background: #CBD2DD; border-radius: 6px; }
	body.xr-m.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar-thumb:hover { background: #9AA3B2; }
	/* The menu column must not stretch to the content height, or sticky has nothing to do. */
	body.xr-m.woocommerce-account.logged-in .woocommerce { align-items: start !important; }
}

/* ---------- Phones and tablets: the menu folds into one bar (see functions.php) ---------- */
.xr-accbar { display: none; }
@media (max-width: 1024px) {
	body.xr-m .xr-accbar { display: flex; align-items: center; gap: 12px; width: 100%; background: #fff; border: 1px solid var(--xr-line, #EDE5D0); border-radius: 16px; padding: 12px 14px; margin: 0 0 16px; text-align: left; cursor: pointer; color: #1D2330; font: inherit; }
	body.xr-m .xr-accbar-ic { width: 36px; height: 36px; border-radius: 10px; background: #FFF1C2; display: grid; place-items: center; font-weight: 800; flex: none; }
	body.xr-m .xr-accbar-txt { flex: 1; min-width: 0; }
	body.xr-m .xr-accbar small { display: block; font-size: 12px; color: #5A6070; }
	body.xr-m .xr-accbar b { font-size: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	body.xr-m .xr-accbar-chev { transition: transform .15s; }
	body.xr-m .xr-accbar.is-open .xr-accbar-chev { transform: rotate(180deg); }
	body.xr-m .woocommerce-MyAccount-navigation.xr-acc-folded { display: none !important; }
	body.xr-m.woocommerce-account .woocommerce-MyAccount-navigation { max-height: none; overflow: visible; }
}

/* ---------- Dashboard cards and tables: nothing clipped ---------- */
body.xr-m .woocommerce-MyAccount-content, body.xr-m .oxxd, body.xr-m .oxxd-card { min-width: 0; max-width: 100%; }
body.xr-m .oxxd-card { box-sizing: border-box; }
body.xr-m .oxxd-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
body.xr-m .oxxd-tbl th, body.xr-m .oxxd-tbl td { padding-left: 8px !important; padding-right: 8px !important; }
body.xr-m .oxxd-tbl th:first-child, body.xr-m .oxxd-tbl td:first-child { padding-left: 0 !important; }
body.xr-m .oxxd-tbl th:last-child, body.xr-m .oxxd-tbl td:last-child { padding-right: 0 !important; }
/* Action column: as narrow as its button, never wrapping. */
body.xr-m .oxxd-tbl td:last-child:has(.oxxd-btn, .oxxd-btn2, .button, a[href*="add-to-cart"]),
body.xr-m .oxxd-tbl th:last-child { width: 1%; white-space: nowrap; text-align: right; }
body.xr-m .oxxd-tbl .oxxd-btn, body.xr-m .oxxd-tbl .oxxd-btn2, body.xr-m .oxxd-tbl .button { min-height: 34px; padding: 0 12px !important; font-size: 13px; white-space: nowrap; }
/* Long URLs and anchors: one line, shortened with an ellipsis (full text in the title). */
body.xr-m .oxxd-tbl .oxxd-link { word-break: normal; overflow-wrap: normal; }
body.xr-m .oxxd-cardhead { row-gap: 6px; }
@media (max-width: 1500px) {
	body.xr-m .oxxd-tbl { font-size: 13px; }
}

/* ---------- Orders list: compact rows, status badges, one main action ---------- */
body.xr-m .xr-nowrap, body.xr-m .woocommerce-MyAccount-content .woocommerce-Price-amount { white-space: nowrap; }
body.xr-m .xr-orders-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 12px; }
body.xr-m .xr-orders-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.xr-m .xr-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--xr-line, #EDE5D0); background: #fff; color: var(--xr-ink, #1D2330); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.2; }
body.xr-m .xr-chip span { font-size: 12px; color: var(--xr-ink-2, #5A6070); font-weight: 700; }
body.xr-m .xr-chip.is-on { background: #1D2330; border-color: #1D2330; color: #fff; }
body.xr-m .xr-chip.is-on span { color: #FFD24D; }
body.xr-m .xr-orders-search input { width: 200px; max-width: 100%; min-height: 36px; border: 1px solid var(--xr-line, #EDE5D0); border-radius: 999px; padding: 0 14px; font: inherit; font-size: 14px; background: #fff; }
body.xr-m table.xr-orders-table { width: 100% !important; border-collapse: collapse !important; border: 0 !important; margin: 0 !important; display: table !important; }
body.xr-m .woocommerce-MyAccount-content table.xr-orders-table thead th { font-size: 12px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--xr-ink-2, #5A6070); background: none !important; border: 0 !important; border-bottom: 1px solid var(--xr-line, #EDE5D0) !important; padding: 8px 10px !important; text-align: left; white-space: nowrap; }
body.xr-m .woocommerce-MyAccount-content table.xr-orders-table tbody th, body.xr-m .woocommerce-MyAccount-content table.xr-orders-table tbody td { background: none !important; border: 0 !important; border-bottom: 1px solid #F0EBDF !important; padding: 10px !important; height: 58px; box-sizing: border-box; vertical-align: middle !important; font-size: 14px !important; white-space: nowrap; text-align: left; }
body.xr-m table.xr-orders-table tbody tr:last-child > * { border-bottom: 0 !important; }
body.xr-m .woocommerce-MyAccount-content table.xr-orders-table tbody tr:hover > * { background: #FFFBEF !important; }
body.xr-m table.xr-orders-table .xr-o-num a { font-weight: 700; color: var(--xr-ink, #1D2330) !important; text-decoration: none; }
body.xr-m table.xr-orders-table .xr-o-num a:hover { text-decoration: underline; }
body.xr-m table.xr-orders-table .xr-o-date { color: var(--xr-ink-2, #3E4656); }
body.xr-m table.xr-orders-table .xr-o-total small { color: var(--xr-ink-2, #5A6070); font-size: 12px; margin-left: 6px; }
body.xr-m table.xr-orders-table .xr-o-act { text-align: right; width: 1%; }
body.xr-m .xr-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
body.xr-m .xr-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.xr-m .xr-badge.is-wait { background: #FFF1C2; color: #7A5300; }
body.xr-m .xr-badge.is-busy { background: #E4EDFB; color: #1F4E9C; }
body.xr-m .xr-badge.is-done { background: #E3F2EA; color: #17603F; }
body.xr-m .xr-badge.is-off { background: #F1F2F4; color: #5A6070; }
body.xr-m .xr-badge.is-bad { background: #FBE7E5; color: #A3261B; }
body.xr-m .xr-o-act { display: table-cell; }
body.xr-m .woocommerce-MyAccount-content .xr-o-act a.xr-o-main { display: inline-flex !important; align-items: center; min-height: 34px; padding: 0 16px !important; margin: 0 !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 700; line-height: 1 !important; background: #fff !important; color: #1F4E9C !important; box-shadow: inset 0 0 0 1.5px #C9D6EE; vertical-align: middle; }
body.xr-m .woocommerce-MyAccount-content .xr-o-act a.xr-o-main.is-pay { background: var(--xr-yellow, #FFC613) !important; color: #1D2330 !important; box-shadow: none; }
body.xr-m .xr-o-more { position: relative; display: inline-block; vertical-align: middle; margin-left: 4px; }
body.xr-m .xr-o-more > summary { list-style: none; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--xr-ink, #1D2330); }
body.xr-m .xr-o-more > summary::-webkit-details-marker { display: none; }
body.xr-m .xr-o-more > summary:hover, body.xr-m .xr-o-more[open] > summary { background: #F4F1E8; }
body.xr-m .xr-o-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 170px; background: #fff; border: 1px solid var(--xr-line, #EDE5D0); border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(29,35,48,.3); padding: 6px; display: flex; flex-direction: column; text-align: left; }
body.xr-m .xr-o-menu a { display: block; padding: 8px 10px !important; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--xr-ink, #1D2330) !important; background: none !important; text-decoration: none; box-shadow: none !important; }
body.xr-m .xr-o-menu a:hover { background: #F4F1E8 !important; }
body.xr-m .xr-o-menu a.cancel { color: #A3261B !important; }
body.xr-m .xr-orders-none { margin: 12px 0 0; color: var(--xr-ink-2, #5A6070); font-size: 14px; }
/* The older card layout for orders (site-m.css) is replaced by the one below. */
@media (max-width: 1180px) {
	body.xr-m table.xr-orders-table thead { display: none; }
	body.xr-m table.xr-orders-table, body.xr-m table.xr-orders-table tbody { display: block !important; }
	body.xr-m table.xr-orders-table tbody tr { display: grid !important; grid-template-columns: 1fr auto; grid-template-areas: "num status" "date total" "act act"; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--xr-line, #EDE5D0); border-radius: 14px; background: #fff; margin: 0 0 10px; border-top: 1px solid var(--xr-line, #EDE5D0) !important; }
	body.xr-m table.xr-orders-table tbody tr[hidden] { display: none !important; }
	body.xr-m .woocommerce-MyAccount-content table.xr-orders-table tbody tr > * { display: block !important; height: auto; padding: 0 !important; border: 0 !important; width: auto; }
	body.xr-m table.xr-orders-table .xr-o-num { grid-area: num; font-size: 15px !important; }
	body.xr-m table.xr-orders-table .xr-o-status { grid-area: status; text-align: right; }
	body.xr-m table.xr-orders-table .xr-o-date { grid-area: date; font-size: 13px !important; }
	body.xr-m table.xr-orders-table .xr-o-total { grid-area: total; text-align: right; font-weight: 700; }
	body.xr-m table.xr-orders-table .xr-o-act { grid-area: act; display: flex !important; justify-content: flex-start; align-items: center; gap: 4px; margin-top: 6px; text-align: left; }
	body.xr-m .xr-o-menu { right: auto; left: 0; }
	body.xr-m table.xr-orders-table td::before { display: none !important; }
}
@media (max-width: 560px) {
	body.xr-m .xr-orders-search, body.xr-m .xr-orders-search input { width: 100%; }
	body.xr-m .xr-orders-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
	body.xr-m .xr-chip { flex: none; }
}
body.xr-m .woocommerce-MyAccount-content .oxxd-tbl th { background: none !important; padding-top: 8px !important; padding-bottom: 8px !important; font-size: 11px !important; color: var(--xr-ink-2, #5A6070) !important; }
body.xr-m .woocommerce-MyAccount-content .oxxd-tbl td { padding-top: 10px !important; padding-bottom: 10px !important; }
body.xr-m .oxxd-tbl .oxxd-short { display: inline-block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
body.xr-m .oxxd-tbl td.oxxd-cell-act { width: 1%; white-space: nowrap; text-align: right; }
body.xr-m .oxxd-cardlinks { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 700; }
body.xr-m .oxxd-tbl .oxxd-link { display: inline-block; max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
body.xr-m .woocommerce-MyAccount-content .oxxd-tbl th { white-space: normal !important; line-height: 1.25; vertical-align: bottom; }
body.xr-m .oxxd-tbl td .oxxd-chip { font-size: 11px; padding: 2px 8px; white-space: normal; line-height: 1.3; }
@media (max-width: 1500px) {
	body.xr-m .oxxd-tbl .oxxd-short { max-width: 11ch; }
	body.xr-m .oxxd-tbl .oxxd-link { max-width: 12ch; }
	body.xr-m .woocommerce-MyAccount-content .oxxd-tbl th { hyphens: auto; }
	body.xr-m .woocommerce-MyAccount-content .oxxd-tbl th, body.xr-m .woocommerce-MyAccount-content .oxxd-tbl td { padding-left: 6px !important; padding-right: 6px !important; }
}
@media (min-width: 1181px) {
	body.xr-m .woocommerce-MyAccount-content .xr-o-act:not(:has(.xr-o-more)) a.xr-o-main { margin-right: 38px !important; }
}
body.xr-m .woocommerce-MyAccount-content table.xr-orders-table { border: 0 !important; }

/* ---------- Account grid: content uses the full width below the desktop layout ---------- */
@media (max-width: 1024px) {
	body.xr-m.woocommerce-account.logged-in .woocommerce { display: block !important; }
	body.xr-m.woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; max-width: none !important; float: none !important; margin-left: 0 !important; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
	body.xr-m.woocommerce-account.logged-in .woocommerce { grid-template-columns: 256px minmax(0, 1fr) !important; gap: 20px !important; }
}
body.xr-m .woocommerce-MyAccount-content .xr-o-act a.xr-o-main { min-width: 100px; justify-content: center; }

/* ---------- Page title: the menu header already says whose account this is ---------- */
body.xr-m.woocommerce-account.logged-in .section__header { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; margin: 0 !important; padding: 0 !important; }
body.xr-m.woocommerce-account.logged-in main.site-content { margin-top: 32px !important; }
body.xr-m.woocommerce-account.logged-in main.site-content > .section { padding-top: 0 !important; }
body.xr-m.woocommerce-account.logged-in .section__header + .section__body { margin-top: 0 !important; }
@media (max-width: 1024px) {
	body.xr-m.woocommerce-account.logged-in main.site-content { margin-top: 16px !important; }
}
body.xr-m.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
body.xr-m.woocommerce-account.logged-in .woocommerce-MyAccount-content { margin-top: 0 !important; }

/* ---------- Side menu (OutreachXXL Dashboard): 40px rows, 32px icon tiles on one axis, one-line labels ---------- */
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav { background: #fff !important; border: 1px solid var(--xr-line, #EDE5D0) !important; border-radius: 20px !important; box-shadow: none !important; padding: 12px 8px 8px 12px !important; gap: 0 !important; color: #1D2330; }
body.xr-m .oxxd-nav__user { gap: 10px; padding: 0 0 12px !important; min-width: 0; }
body.xr-m .oxxd-nav__avatar { width: 32px !important; height: 32px !important; font-size: 12px !important; background: #FFD23F !important; }
body.xr-m .oxxd-nav__who strong { font-size: 14px !important; line-height: 1.25; }
body.xr-m .oxxd-nav__who small { font-size: 12px !important; line-height: 1.3; }
body.xr-m .oxxd-nav a.oxxd-nav__cta { min-height: 40px !important; border-radius: 10px !important; background: #1D2330 !important; font-size: 14px !important; margin: 0 0 4px !important; width: 100%; }
body.xr-m .oxxd-nav a.oxxd-nav__cta:hover { background: #1F4E9C !important; }
body.xr-m .oxxd-nav__group { gap: 0 !important; padding: 12px 0 8px !important; margin: 0 !important; border-top: 0 !important; background: none !important; }
body.xr-m .oxxd-nav__group + .oxxd-nav__group { border-top: 1px solid #F0EBDF !important; }
body.xr-m .oxxd-nav__label { display: block; padding: 0 0 4px 0 !important; font-size: 11px !important; font-weight: 700; letter-spacing: .08em; line-height: 16px; color: #6B7280 !important; }
body.xr-m .oxxd-nav ul, body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav ul { display: flex !important; flex-direction: column; gap: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
body.xr-m .oxxd-nav li { margin: 0 !important; }
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav li a,
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav a.oxxd-nav__out { display: flex !important; align-items: center; gap: 10px; min-height: 40px !important; height: 40px; padding: 0 8px 0 0 !important; border-radius: 10px !important; font-size: 14px !important; font-weight: 600; line-height: 20px; white-space: nowrap; color: #1D2330 !important; background: transparent !important; }
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav li a:hover,
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav a.oxxd-nav__out:hover { background: #F6F7F9 !important; }
body.xr-m .oxxd-nav__ico { flex: none; width: 32px !important; height: 32px !important; border-radius: 8px !important; background: none !important; color: #4B5563 !important; display: flex; align-items: center; justify-content: center; }
body.xr-m .oxxd-nav__ico svg { width: 20px; height: 20px; }
body.xr-m .oxxd-nav .oxxd-nav__ico::before { font-size: 16px !important; color: inherit !important; }
body.xr-m .oxxd-nav__txt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.xr-m .oxxd-nav__val { flex: none; margin-left: auto; font-size: 12px; font-weight: 600; line-height: 20px; color: #6B7280; background: #F3F4F6; border-radius: 999px; padding: 0 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.xr-m .oxxd-nav__count { flex: none; margin-left: auto; min-width: 20px !important; height: 20px !important; padding: 0 6px !important; font-size: 12px !important; font-weight: 700 !important; line-height: 20px; background: #FFD23F !important; color: #1D2330 !important; }
body.xr-m .oxxd-nav__val + .oxxd-nav__count { margin-left: 4px; }
/* Active page: a light Delft-blue row with a blue icon, no heavy fill. */
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav li.is-active a { background: #EEF3FB !important; color: #1F4E9C !important; }
body.xr-m .oxxd-nav li.is-active .oxxd-nav__ico { background: none !important; color: #1F4E9C !important; }
body.xr-m .oxxd-nav li.is-active .oxxd-nav__val { background: #fff; }
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav a.oxxd-nav__out { border-top: 1px solid #F0EBDF !important; border-radius: 0 !important; height: 48px; min-height: 48px !important; padding-top: 8px !important; margin-top: 0; color: #6B7280 !important; }
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav a.oxxd-nav__out:hover { background: none !important; color: #1D2330 !important; }
body.xr-m .oxxd-nav a:focus-visible { outline: 2px solid #1F4E9C; outline-offset: 2px; }
@media (min-width: 1201px) {
	body.xr-m.woocommerce-account.logged-in .woocommerce { grid-template-columns: 272px minmax(0, 1fr) !important; }
}

/* Phones and tablets: the opened menu as a tidy list (two columns from 600px). */
@media (max-width: 1024px) {
	body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav { padding: 12px !important; margin-bottom: 16px !important; }
	body.xr-m .oxxd-nav__group { flex-direction: column !important; align-items: stretch !important; overflow: visible !important; }
	body.xr-m .oxxd-nav__label { display: block !important; }
	body.xr-m .oxxd-nav ul, body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav ul { display: grid !important; grid-template-columns: 1fr; column-gap: 16px; }
	body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav li a { border-radius: 10px !important; }
	body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav a.oxxd-nav__out { justify-content: flex-start; }
}
@media (min-width: 600px) and (max-width: 1024px) {
	body.xr-m .oxxd-nav ul, body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav ul { grid-template-columns: 1fr 1fr; }
}
/* Every menu item has its own line icon (older glyph fallbacks from site-m.css switched off). */
body.xr-m .oxxd-nav .oxxd-nav__ico svg { display: block !important; }
body.xr-m .oxxd-nav .oxxd-nav__ico::before { content: none !important; }
body.xr-m .oxxd-nav .oxxd-nav__ico { background: #F4F6FA !important; }
body.xr-m .oxxd-nav li.is-active .oxxd-nav__ico { background: #fff !important; }
@media (min-width: 1025px) and (max-width: 1200px) {
	body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav li a { font-size: 13px !important; gap: 8px; }
}

/* ---------- Dashboard header: toggle, then greeting left and buttons right (stacked when narrow) ---------- */
body.xr-m .oxxd { container-type: inline-size; container-name: oxxd; }
body.xr-m .oxxd > .oxxd-switch { margin-bottom: -8px; }
body.xr-m .oxxd-head { display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: flex-start; gap: 16px !important; flex-wrap: nowrap !important; }
body.xr-m .oxxd-head__txt { min-width: 0; max-width: 100%; }
body.xr-m .oxxd-head .oxxd-h1 { font-family: var(--xr-head-font, 'Manrope', sans-serif) !important; overflow-wrap: anywhere; }
body.xr-m .oxxd-head p { margin: 6px 0 0 !important; }
body.xr-m .oxxd-head .oxxd-btns { flex-wrap: wrap; gap: 8px; }
@container oxxd (min-width: 720px) {
	body.xr-m .oxxd-head { flex-direction: row; align-items: center !important; justify-content: space-between; gap: 24px !important; }
	body.xr-m .oxxd-head__txt { flex: 1 1 auto; }
	body.xr-m .oxxd-head .oxxd-btns { flex: none; flex-wrap: nowrap; }
}

/* ---------- Small buttons ---------- */
body.xr-m .oxxd .oxxd-btn--xs, body.xr-m .woocommerce-MyAccount-content .oxxd-tbl .oxxd-btn--xs { min-height: 32px; padding: 0 14px !important; font-size: 13px; font-weight: 700; }
body.xr-m .oxxd-live-tbl .oxxd-btn2.oxxd-btn--xs { min-height: 30px; padding: 0 12px !important; font-size: 12px; font-weight: 600; border-color: #E3E6EB; }
body.xr-m .oxxd-live-tbl .oxxd-btn2.oxxd-btn--xs:hover { border-color: #1F4E9C; color: #1F4E9C !important; }

/* ---------- Placements in progress: one block per order, placements beneath ---------- */
body.xr-m .oxxd-og-list { display: flex; flex-direction: column; gap: 12px; }
body.xr-m .oxxd-og { border: 1px solid #ECEEF2; border-radius: 12px; overflow: hidden; background: #fff; }
body.xr-m .oxxd-og__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 8px 8px 16px; min-height: 48px; background: #F8F9FB; border-bottom: 1px solid #ECEEF2; }
body.xr-m .oxxd-og__no { font-weight: 700; font-size: 14px; color: #1D2330 !important; text-decoration: none !important; }
body.xr-m .oxxd-og__no:hover { color: #1F4E9C !important; text-decoration: underline !important; }
body.xr-m .oxxd-og__meta { font-size: 13px; color: #5A6070; white-space: nowrap; }
body.xr-m .oxxd-og__end { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
body.xr-m .oxxd-og .oxxd-chip { white-space: nowrap !important; font-size: 12px; padding: 2px 10px; line-height: 20px; }
body.xr-m .oxxd-og__rows { list-style: none !important; margin: 0 !important; padding: 0 !important; }
body.xr-m .oxxd-og__row { display: flex !important; align-items: center; gap: 16px; padding: 10px 16px; margin: 0 !important; border-top: 1px solid #F1F2F5; }
body.xr-m .oxxd-og__row:first-child { border-top: 0; }
body.xr-m .oxxd-og__pub { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
body.xr-m .oxxd-og__pub strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.xr-m .oxxd-og__pub small, body.xr-m .oxxd-og__prog small { font-size: 12px; color: #5A6070; white-space: nowrap; }
body.xr-m .oxxd-og__prog { flex: none; width: 140px; display: flex; flex-direction: column; gap: 4px; }
body.xr-m .oxxd-og__prog .oxxd-bars i { height: 4px; }
body.xr-m .oxxd-og__prog .oxxd-bars i.on { background: #1F4E9C; }
body.xr-m .oxxd-og__status { flex: none; }
body.xr-m .oxxd-og__date { flex: none; width: 128px; text-align: right; font-size: 13px; font-weight: 600; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.3; }
body.xr-m .oxxd-og__date small { font-size: 11px; font-weight: 600; color: #5A6070; }
@container oxxd (max-width: 560px) {
	body.xr-m .oxxd-og__head { padding-left: 12px; }
	body.xr-m .oxxd-og__row { flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; }
	body.xr-m .oxxd-og__pub { flex: 1 1 100%; }
	body.xr-m .oxxd-og__prog { width: 112px; }
	body.xr-m .oxxd-og__date { width: auto; margin-left: auto; }
}

/* ---------- Live links: small, tidy actions ---------- */
body.xr-m .oxxd-cardlinks { gap: 8px !important; }
body.xr-m .oxxd-cardlinks a.oxxd-act { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid #E3E6EB; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: #1D2330 !important; text-decoration: none !important; white-space: nowrap; }
body.xr-m .oxxd-cardlinks a.oxxd-act:hover { border-color: #1F4E9C; color: #1F4E9C !important; }
body.xr-m .oxxd-cardlinks a.oxxd-act svg { flex: none; }

/* ---------- Picked for you: metric chips, equal card heights ---------- */
body.xr-m .oxxd-picks { align-items: stretch; }
body.xr-m .oxxd-picks > .oxxd-card { height: 100%; margin: 0 !important; min-width: 0; }
body.xr-m .oxxd-pick { padding: 16px !important; gap: 12px !important; }
body.xr-m .oxxd-pick__top { flex-direction: column; align-items: flex-start !important; gap: 6px !important; min-width: 0; }
body.xr-m .oxxd-pick__top strong { font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.xr-m .oxxd-pick__top .oxxd-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
body.xr-m .oxxd-mchips { display: flex; flex-wrap: wrap; gap: 6px; }
body.xr-m .oxxd-mchip { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #F4F6FA; font-size: 12px; line-height: 18px; white-space: nowrap; }
body.xr-m .oxxd-mchip span { color: #5A6070; }
body.xr-m .oxxd-mchip strong { font-size: 13px; color: #1D2330; }
body.xr-m .oxxd-pick__foot { margin-top: auto; }
body.xr-m .oxxd-pick--promo { justify-content: flex-start; }
body.xr-m .oxxd-pick--promo strong { font-size: 16px; line-height: 1.3; }
body.xr-m .oxxd-pick--promo .oxxd-btn { margin-top: auto; }
@container oxxd (max-width: 640px) {
	body.xr-m .oxxd-picks { grid-template-columns: 1fr !important; }
}
body.xr-m .woocommerce-MyAccount-content .oxxd-live-tbl th { white-space: nowrap !important; hyphens: manual !important; }
body.xr-m .oxxd-live-tbl td small { white-space: nowrap; }
body.xr-m .oxxd-live-tbl td .oxxd-chip { white-space: normal; max-width: 150px; }
body.xr-m .oxxd-head, body.xr-m .oxxd-head .oxxd-h1, body.xr-m .oxxd-head p { text-align: left !important; }

/* ==========================================================================
   Nov 2026 redesign: dashboard and side menu in the calm home style.
   Cream and white, thin warm lines, Delft blue for actions, yellow only for money and counters.
   ========================================================================== */
body.xr-m .oxxd, body.xr-m .oxxd-nav { --fg: #1D2330; --muted: #5A6070; --line: #EDE5D0; --bg: #F7F4EC; --y: #FFC613; --y2: #FFF6DA; --blue: #1F4E9C; --blue-h: #173A75; --blue-s: #EEF3FB; }
body.xr-m .oxxd { gap: 20px; }

/* Buttons: Delft blue main action, outline secondary, yellow stays for paying. */
body.xr-m .oxxd .oxxd-btn { background: var(--blue); color: #fff !important; border: 0; min-height: 42px; }
body.xr-m .oxxd .oxxd-btn:hover { background: var(--blue-h); filter: none; }
body.xr-m .oxxd .oxxd-btn2 { border: 1.5px solid #D9D2C0; min-height: 42px; }
body.xr-m .oxxd .oxxd-btn2:hover { border-color: var(--blue); color: var(--blue) !important; }
body.xr-m .oxxd .oxxd-btn--sm { min-height: 38px; padding: 0 16px; }

/* Header and role switch */
body.xr-m .oxxd-switch { background: var(--bg); border: 1px solid var(--line); padding: 3px; }
body.xr-m .oxxd-switch a { min-height: 36px; padding: 6px 18px; color: var(--muted) !important; }
body.xr-m .oxxd-switch a.is-on { background: #fff; color: var(--fg) !important; box-shadow: 0 1px 3px rgba(29,35,48,.12); }
body.xr-m .oxxd-head { align-items: center; padding-bottom: 4px; }
body.xr-m .oxxd-h1 { font-family: var(--xr-head-font, 'Manrope', sans-serif); font-size: 30px !important; letter-spacing: -.01em; }
body.xr-m .oxxd-h2 { font-family: var(--xr-head-font, 'Manrope', sans-serif); font-size: 18px !important; font-weight: 800 !important; }

/* Cards: thin warm line instead of shadows and thick borders */
body.xr-m .oxxd-card { border: 1px solid var(--line); box-shadow: none; border-radius: 18px; padding: 22px 24px; }
body.xr-m .oxxd-cardhead { margin-bottom: 14px; align-items: flex-end; }
body.xr-m .oxxd-cardhead > div { display: flex; flex-direction: column; gap: 2px; }
body.xr-m .oxxd-cardhead > a, body.xr-m .oxxd-cardhead .oxxd-act { color: var(--blue); }
body.xr-m .oxxd-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--y); color: var(--fg); font: 800 12.5px/1 'Inter', sans-serif; }

/* Overview tiles */
body.xr-m .oxxd-kpis { gap: 12px; }
body.xr-m .oxxd-kpi { position: relative; border: 1px solid var(--line); box-shadow: none; border-radius: 16px; padding: 16px 16px 14px; gap: 0; }
body.xr-m .oxxd-kpi__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-s); color: var(--blue); margin-bottom: 10px; }
body.xr-m .oxxd-kpi--live .oxxd-kpi__ic { background: #E6F4EA; color: #1E6B45; }
body.xr-m .oxxd-kpi > span:not(.oxxd-kpi__ic) { font-size: 12.5px; font-weight: 700; color: var(--muted); }
body.xr-m .oxxd-kpi strong { font-family: var(--xr-head-font, 'Manrope', sans-serif); font-size: 26px; margin: 2px 0; }
body.xr-m .oxxd-kpi em { font-size: 12.5px; }

/* To do: one clean list, amount on the right */
body.xr-m .oxxd-todo { border: 1px solid var(--line); gap: 0; }
body.xr-m .oxxd-todo__sum { display: inline-flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); }
body.xr-m .oxxd-todo__sum b { font-family: var(--xr-head-font, 'Manrope', sans-serif); font-size: 18px; color: var(--fg); }
body.xr-m .oxxd-tl { list-style: none !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
body.xr-m .oxxd-tl__row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 !important; background: #fff; }
body.xr-m .oxxd-tl__row + .oxxd-tl__row { border-top: 1px solid var(--line); }
body.xr-m .oxxd-tl__row:hover { background: #FFFDF6; }
body.xr-m .oxxd-tl__ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-s); color: var(--blue); }
body.xr-m .oxxd-tl__row.is-pay .oxxd-tl__ic { background: var(--y2); color: #8A6400; }
body.xr-m .oxxd-tl__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
body.xr-m .oxxd-tl__txt strong { font-size: 15px; }
body.xr-m .oxxd-tl__no { color: var(--muted); font-weight: 600; }
body.xr-m .oxxd-tl__txt small { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 13px; color: var(--muted); min-width: 0; }
body.xr-m .oxxd-tl__txt small i { font-style: normal; opacity: .6; }
body.xr-m .oxxd-tl__sites { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
body.xr-m .oxxd-tl__amt { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
body.xr-m .oxxd-tl__amt b { font-family: var(--xr-head-font, 'Manrope', sans-serif); font-size: 16px; white-space: nowrap; }
body.xr-m .oxxd-tl__amt small { font-size: 11.5px; color: var(--muted); }
body.xr-m .oxxd .oxxd-tl__row.is-pay .oxxd-btn { background: var(--y); color: var(--fg) !important; }
body.xr-m .oxxd .oxxd-tl__row.is-pay .oxxd-btn:hover { background: #F2B600; }
body.xr-m .oxxd-tl__note { margin: 10px 2px 0 !important; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
	body.xr-m .oxxd-tl__row { flex-wrap: wrap; gap: 10px 12px; }
	body.xr-m .oxxd-tl__txt { flex-basis: calc(100% - 52px); }
	body.xr-m .oxxd-tl__amt { margin-left: 50px; align-items: flex-start; flex: 1; }
}

/* Progress bars and chips in blue */
body.xr-m .oxxd-bars i.on { background: var(--blue); }
body.xr-m .oxxd-chip--info { background: var(--blue-s); color: var(--blue); }

/* Picks: quick add */
body.xr-m .oxxd-pick { border-radius: 16px; }
body.xr-m .oxxd-pick__foot { flex-wrap: wrap; gap: 10px; }
body.xr-m .oxxd-pick__acts { display: inline-flex; align-items: center; gap: 12px; }
body.xr-m .oxxd-pick__more { font-weight: 700; font-size: 13.5px; color: var(--blue) !important; }
body.xr-m .oxxd-dark { background: #1F2B45; }
body.xr-m .oxxd-dark .oxxd-btn { background: var(--y); color: var(--fg) !important; }
body.xr-m .oxxd-tint { background: var(--blue-s); border-color: #D6E0F0; }

/* Side menu */
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav { border: 1px solid var(--line); box-shadow: none !important; border-radius: 20px; }
body.xr-m .oxxd-nav__avatar { background: var(--y); }
body.xr-m .oxxd-nav .oxxd-nav__cta { background: var(--blue) !important; color: #fff !important; }
body.xr-m .oxxd-nav .oxxd-nav__cta:hover { background: var(--blue-h) !important; }
body.xr-m .oxxd-nav__group { border-top-color: var(--line); }
body.xr-m .oxxd-nav li a:hover, body.xr-m .oxxd-nav__out:hover { background: var(--bg); }
body.xr-m .oxxd-nav__ico { background: transparent; color: var(--muted); }
body.xr-m .oxxd-nav li a:hover .oxxd-nav__ico { color: var(--fg); }
body.xr-m .oxxd-nav li.is-active a { background: var(--blue-s); color: var(--blue) !important; }
body.xr-m .oxxd-nav li.is-active .oxxd-nav__ico { background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(31,78,156,.15); }
body.xr-m .oxxd-nav__val { font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 8px; }
body.xr-m .oxxd-nav__out { border-top-color: var(--line) !important; }

/* Plan suggestions: compact table, blue actions (site-wide button rules made them yellow). */
body.xr-m .oxxd .oxxd-sugg__tbl td { white-space: nowrap; }
body.xr-m .oxxd .oxxd-sugg__tbl td:nth-child(2) { white-space: normal; min-width: 170px; }
body.xr-m .oxxd .oxxd-sugg__tbl td:nth-child(6) { font-size: 12.5px; color: var(--muted); }
body.xr-m .oxxd .oxxd-sugg__tbl td a strong { color: var(--fg); }
body.xr-m .oxxd .oxxd-sugg__tbl input[type=checkbox] { accent-color: var(--blue); width: 17px; height: 17px; }
body.xr-m .oxxd .oxxd-sugg__tbl button.oxxd-btn2.oxxd-btn--sm { background: #fff !important; color: var(--blue) !important; border: 1.5px solid var(--blue) !important; border-radius: 999px !important; min-height: 32px !important; height: 32px; padding: 0 14px !important; font: 700 13px/1 'Inter', sans-serif !important; box-shadow: none !important; text-transform: none !important; }
body.xr-m .oxxd .oxxd-sugg__tbl button.oxxd-btn2.oxxd-btn--sm:hover { background: var(--blue-s) !important; }
body.xr-m .oxxd .oxxd-sugg__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
body.xr-m .oxxd .oxxd-sugg__foot button.oxxd-btn { width: auto !important; background: var(--blue) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; min-height: 44px !important; padding: 0 22px !important; font: 700 14.5px/1 'Inter', sans-serif !important; box-shadow: none !important; text-transform: none !important; }
body.xr-m .oxxd .oxxd-sugg__foot button.oxxd-btn:hover { background: var(--blue-h) !important; }
body.xr-m .oxxd .oxxd-sugg__wish summary { cursor: pointer; }
body.xr-m .oxxd .oxxd-sugg__form button.oxxd-btn { background: var(--blue) !important; color: #fff !important; border-radius: 999px !important; }

/* Side menu main action in blue (beats the older dark rule). */
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav a.oxxd-nav__cta.oxxd-nav__cta { background: var(--blue, #1F4E9C) !important; color: #fff !important; border-radius: 999px !important; }
body.xr-m .woocommerce-MyAccount-navigation.oxxd-nav a.oxxd-nav__cta.oxxd-nav__cta:hover { background: #173A75 !important; }

/* Order details on phones: fit the screen instead of a sideways-scrolling table. */
@media (max-width: 600px) {
	body.xr-m .woocommerce-MyAccount-content .woocommerce-table--order-details { min-width: 0 !important; width: 100% !important; table-layout: fixed; }
	body.xr-m .woocommerce-MyAccount-content .woocommerce-table--order-details th,
	body.xr-m .woocommerce-MyAccount-content .woocommerce-table--order-details td { overflow-wrap: anywhere; padding-left: 10px !important; padding-right: 10px !important; }
	body.xr-m .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th { width: 48%; }
}
