/* TB My Account. Every rule is scoped under .tb-account (component styles) or a tb-account-* body class (layout overrides). */

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/PublicSans-var-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/PublicSans-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.tb-account {
	/* Brand */
	--tb-green-800: #145A0A;
	--tb-green-700: #1A720D;
	--tb-green-600: #1E8A0E;
	--tb-green-100: #EAF4E4;
	--tb-yellow: #E9F20C;
	--tb-orange: #C94F05;
	--tb-orange-hover: #B84A04;
	/* Neutrals */
	--tb-ink: #14240F;
	--tb-muted: #5A6656;
	--tb-muted-strong: #3F4A3C;
	--tb-bg: #F4F7F2;
	--tb-surface: #FFFFFF;
	--tb-surface-muted: #FAFBF9;
	--tb-neutral-100: #EEF0EC;
	--tb-border: #DDE5D8;
	--tb-divider: #EDF1EA;
	--tb-on-dark-muted: #C9E8BD;
	/* Feedback */
	--tb-amber-bg: #FFF6DB; --tb-amber-border: #F2C94C; --tb-amber-ink: #6B4A00; --tb-amber-well: #FBE7A6;
	--tb-red-bg: #FDECEC; --tb-red-border: #F3B4B4; --tb-red-ink: #9A1B1B; --tb-red-well: #F9D3D3;
	--tb-ok-border: #B9D7AE; --tb-ok-well: #D3EAC8;
	/* Shape */
	--tb-r-sm: 8px; --tb-r-btn: 10px; --tb-r-md: 12px; --tb-r-tile-sm: 14px; --tb-r-tile: 16px; --tb-r-hero: 18px; --tb-r-pill: 999px;
	--tb-shadow-hover: 0 8px 20px rgba(20, 90, 10, .12);
	/* Type */
	--tb-font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	font-family: var(--tb-font);
	color: var(--tb-ink);
	font-size: 15px;
	line-height: 1.5;
}
.tb-account *, .tb-account *::before, .tb-account *::after { box-sizing: border-box; }
.tb-account [hidden] { display: none !important; }
.tb-account a { color: var(--tb-green-700); }
.tb-account a:hover { color: var(--tb-green-800); }
.tb-account svg { flex: none; }
.tb-account a:focus-visible, .tb-account button:focus-visible { outline: 3px solid var(--tb-green-800); outline-offset: 2px; }
.tb-account .tb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.tb-lock { overflow: hidden; }

/* Layout overrides: the account bar is the only navigation (spec 6.2) */
body.tb-account-area .woocommerce-MyAccount-navigation { display: none !important; }
body.tb-account-area .woocommerce-MyAccount-content { float: none !important; width: 100% !important; max-width: 100% !important; }

/* ---------- Account bar (desktop) ---------- */
.tb-account.tb-bar-wrap { background: var(--tb-surface); border-bottom: 1px solid var(--tb-border); width: 100%; }
.tb-bar { max-width: 1200px; margin: 0 auto; padding: 0 24px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tb-bar__tabs { display: flex; align-items: stretch; align-self: stretch; gap: 2px; min-width: 0; margin-left: -14px; }
.tb-tab { display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--tb-muted-strong); text-decoration: none; border-top: 3px solid transparent; border-bottom: 3px solid transparent; white-space: nowrap; background: var(--tb-surface); }
.tb-tab svg { color: var(--tb-muted); }
.tb-tab:hover { background: var(--tb-bg); color: var(--tb-green-800); }
.tb-tab.is-current { font-weight: 800; color: var(--tb-green-800); border-bottom-color: var(--tb-green-700); }
.tb-tab.is-current svg { color: var(--tb-green-700); }
.tb-tab.is-locked { color: var(--tb-muted); }
.tb-tab__lock { display: inline-flex; color: var(--tb-muted); }
.tb-tab:focus-visible { outline: 3px solid var(--tb-green-800); outline-offset: -3px; }
.tb-tab__short { display: none; }

.tb-bar__right { display: flex; align-items: center; gap: 12px; flex: none; }
.tb-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--tb-r-pill); white-space: nowrap; background: var(--tb-green-100); color: var(--tb-green-800); }
.tb-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tb-green-700); }
.tb-chip--warn { background: var(--tb-amber-bg); color: var(--tb-amber-ink); }
.tb-chip--warn .tb-chip__dot { background: var(--tb-amber-ink); }
.tb-chip--bad { background: var(--tb-red-bg); color: var(--tb-red-ink); }
.tb-chip--bad .tb-chip__dot { background: var(--tb-red-ink); }
.tb-btn--orange { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: var(--tb-r-pill); background: var(--tb-orange); color: #fff !important; font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.tb-btn--orange:hover { background: var(--tb-orange-hover); }

.tb-acct { position: relative; }
.tb-acct__btn { font: inherit; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--tb-border); border-radius: var(--tb-r-pill); background: var(--tb-surface); color: var(--tb-ink); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tb-account .tb-acct__btn, .tb-account .tb-acct__btn:focus, .tb-account .tb-acct__btn:active { display: flex; align-items: center; gap: 8px; height: 44px; white-space: nowrap; line-height: 1.2; font-size: 15px; font-weight: 600; text-decoration: none; background: var(--tb-surface); color: var(--tb-ink); border: 1px solid var(--tb-border); padding: 0 12px 0 6px; }
.tb-account .tb-acct__btn:hover { background: var(--tb-bg); color: var(--tb-ink); text-decoration: none; border: 1px solid var(--tb-border); }
.tb-account .tb-acct__btn.is-current, .tb-account .tb-acct__btn[aria-expanded="true"] { border-color: var(--tb-green-700); background: var(--tb-green-100); color: var(--tb-green-800); }
.tb-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--tb-yellow); color: var(--tb-ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.tb-acct__panel { position: absolute; top: calc(100% + 6px); right: 0; width: 300px; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-r-tile-sm); box-shadow: 0 16px 40px rgba(20, 36, 15, .16); padding: 8px; z-index: 30; }
.tb-acct__who { padding: 10px 12px 12px; border-bottom: 1px solid var(--tb-divider); margin-bottom: 6px; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.tb-acct__who strong { font-size: 15px; font-weight: 800; }
.tb-acct__who span { font-size: 13px; color: var(--tb-muted); }
.tb-acct__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tb-acct__list li { margin: 0; padding: 0; }
.tb-acct__sep { border-top: 1px solid var(--tb-divider); margin-top: 4px !important; padding-top: 4px !important; }
.tb-acct__item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: var(--tb-r-btn); color: var(--tb-ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.tb-acct__item > span { flex: 1; }
.tb-acct__item:hover { background: var(--tb-bg); color: var(--tb-ink); }
.tb-acct__item.is-current { background: var(--tb-green-100); color: var(--tb-green-800); font-weight: 800; }
.tb-acct__sep .tb-acct__item { color: var(--tb-muted); }
.tb-noscript { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }

/* ---------- Mobile bar and panel ---------- */
.tb-mbar, .tb-mpanel { display: none; }

@media (max-width: 1023px) {
	.tb-chip { display: none; }
	.tb-tab__full { display: none; }
	.tb-tab__short { display: inline; }
	.tb-bar__tabs { overflow-x: auto; scrollbar-width: none; }
	.tb-bar__tabs::-webkit-scrollbar { display: none; }
}

@media (max-width: 767px) {
	.tb-bar { display: none; }
	.tb-mbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 12px 0 16px; }
	.tb-mbar__well { width: 34px; height: 34px; border-radius: var(--tb-r-btn); background: var(--tb-green-100); color: var(--tb-green-700); display: flex; align-items: center; justify-content: center; flex: none; }
	.tb-mbar__title { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
	.tb-mbar__eyebrow { font-size: 12px; font-weight: 600; color: var(--tb-muted); }
	.tb-mbar__page { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.tb-mbar__btn { font: inherit; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 1px solid var(--tb-border); border-radius: var(--tb-r-pill); background: var(--tb-surface); color: var(--tb-ink); font-size: 14px; font-weight: 800; cursor: pointer; }
	.tb-account .tb-mbar__btn { display: flex; align-items: center; gap: 6px; height: 44px; white-space: nowrap; font-size: 14px; font-weight: 800; }
	.tb-account .tb-mbar__btn, .tb-account .tb-mbar__btn:focus, .tb-account .tb-mbar__btn:hover, .tb-account .tb-mbar__btn:active { text-decoration: none; background: var(--tb-surface); color: var(--tb-ink); border: 1px solid var(--tb-border); padding: 0 14px; }
	.tb-account .tb-mbar__btn[aria-expanded="true"], .tb-account .tb-mbar__btn[aria-expanded="true"]:focus, .tb-account .tb-mbar__btn[aria-expanded="true"]:hover { background: var(--tb-green-800); border-color: var(--tb-green-800); color: #fff; }
	.tb-mpanel { display: flex; flex-direction: column; gap: 14px; background: var(--tb-bg); padding: 16px; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto; box-shadow: inset 0 8px 12px -10px rgba(20, 36, 15, .25); }
	.tb-mstrip { background: var(--tb-green-800); color: #fff; border-radius: var(--tb-r-tile-sm); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
	.tb-mstrip__text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
	.tb-mstrip__title { font-size: 15px; font-weight: 800; }
	.tb-mstrip__line { font-size: 13px; color: var(--tb-on-dark-muted); }
	.tb-account .tb-mstrip__btn { background: var(--tb-yellow); color: var(--tb-ink); font-size: 13px; font-weight: 800; padding: 0 12px; height: 36px; display: flex; align-items: center; border-radius: var(--tb-r-pill); text-decoration: none; }
	.tb-account .tb-mstrip__btn:focus-visible { outline-color: var(--tb-yellow); }
	.tb-mdash, .tb-mrow { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-r-md); text-decoration: none; color: var(--tb-ink); }
	.tb-account .tb-mdash, .tb-account .tb-mrow, .tb-account .tb-mtile { color: var(--tb-ink); }
	.tb-mdash > span, .tb-mrow > span { flex: 1; font-size: 15px; font-weight: 700; }
	.tb-mdash svg, .tb-mrow svg { color: var(--tb-green-700); }
	.tb-mdash svg:last-child, .tb-mrow svg:last-child { color: var(--tb-muted); }
	.tb-mdash.is-current, .tb-mrow.is-current, .tb-mtile.is-current { border-color: var(--tb-green-700); background: var(--tb-green-100); }
	.tb-mpanel__h { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tb-muted); }
	.tb-mpanel__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tb-mtile { display: flex; flex-direction: column; gap: 8px; min-height: 88px; padding: 12px; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-r-md); text-decoration: none; }
	.tb-mtile.is-locked { background: var(--tb-surface-muted); color: var(--tb-muted); }
	.tb-mtile__well { width: 36px; height: 36px; border-radius: var(--tb-r-btn); background: var(--tb-green-100); color: var(--tb-green-700); display: flex; align-items: center; justify-content: center; gap: 2px; }
	.tb-mtile.is-locked .tb-mtile__well { background: var(--tb-neutral-100); color: var(--tb-muted); }
	.tb-mtile__label { font-size: 15px; font-weight: 700; line-height: 1.25; }
	.tb-mpanel__rows { display: flex; flex-direction: column; gap: 8px; }
}

/* ---------- Dashboard ---------- */
body.tb-account-dashboard .elementor-element-3d7829d { display: none; }
.tb-dash { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-direction: column; gap: 28px; }
.tb-account h1, .tb-account h2, .tb-account h3 { font-family: var(--tb-font); color: inherit !important; text-transform: none; letter-spacing: normal; }
.tb-account p, .tb-account ul, .tb-account ol, .tb-account dl, .tb-account dd { margin: 0; padding: 0; }
.tb-dash__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tb-account .tb-dash__eyebrow { font-size: 14px; font-weight: 600 !important; color: var(--tb-muted) !important; margin: 0 0 4px; }
.tb-account .tb-dash__title { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 800 !important; letter-spacing: -.01em; }
.tb-dash__not { font-size: 14px; color: var(--tb-muted) !important; }
.tb-dash__not a { font-weight: 600 !important; color: var(--tb-green-700) !important; }
.tb-account .tb-section-title { margin: 0; font-size: 20px; font-weight: 800 !important; line-height: 1.3; }
.tb-section-sub { margin-top: 4px; font-size: 14px; color: var(--tb-muted) !important; }
.tb-tiles, .tb-plans, .tb-grow, .tb-help { display: flex; flex-direction: column; gap: 14px; }

/* Theme resets for spacing */
.tb-dash h1, .tb-dash h2, .tb-dash h3, .tb-dash p, .tb-dash dl, .tb-dash dd, .tb-dash ul, .tb-dash ol { margin-top: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.tb-dash .tb-hero__line, .tb-dash .tb-section-sub { margin-top: 6px !important; }

/* Buttons */
.tb-account a.tb-btn { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800 !important; line-height: 1.2; padding: 12px 18px; min-height: 44px; border-radius: var(--tb-r-btn); text-decoration: none; text-align: center; border: 1px solid transparent; }
.tb-account a.tb-btn--primary { background: var(--tb-yellow); color: var(--tb-ink) !important; }
.tb-account a.tb-btn--primary:hover { background: #F4FA4F; color: var(--tb-ink) !important; }
.tb-account a.tb-btn--solid { background: var(--tb-green-700); color: #fff !important; font-size: 14px; padding: 10px 16px; }
.tb-account a.tb-btn--solid:hover { background: var(--tb-green-800); color: #fff !important; }
.tb-account a.tb-btn--outline { background: #fff; color: var(--tb-green-700) !important; border-color: var(--tb-green-700); font-size: 14px; padding: 10px 12px; }
.tb-account a.tb-btn--outline:hover { background: var(--tb-green-100); color: var(--tb-green-800) !important; }
.tb-account a.tb-btn--orange { background: var(--tb-orange); color: #fff !important; border-color: transparent; }
.tb-account a.tb-btn--orange:hover { background: var(--tb-orange-hover); color: #fff !important; }
.tb-account .tb-hero--dark a.tb-btn--outline, .tb-account .tb-hero--free a.tb-btn--outline { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); font-size: 15px; padding: 11px 18px; }
.tb-account .tb-hero--dark a.tb-btn--outline:hover, .tb-account .tb-hero--free a.tb-btn--outline:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.tb-account .tb-hero--expired a.tb-btn--outline { font-size: 15px; padding: 11px 18px; }

/* Notices */
.tb-notice { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-radius: var(--tb-r-md); padding: 14px 18px; border: 1px solid; }
.tb-notice--red { background: var(--tb-red-bg); border-color: var(--tb-red-border); color: var(--tb-red-ink) !important; }
.tb-notice--amber { background: var(--tb-amber-bg); border-color: var(--tb-amber-border); color: var(--tb-amber-ink) !important; }
.tb-notice__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.tb-notice--red .tb-notice__icon { background: var(--tb-red-well); }
.tb-notice--amber .tb-notice__icon { background: var(--tb-amber-well); }
.tb-notice__body { flex: 1 1 320px; font-size: 15px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tb-account a.tb-btn.tb-btn--solid { }
.tb-notice--red a.tb-btn--solid { background: var(--tb-red-ink); }
.tb-notice--amber a.tb-btn--solid { background: var(--tb-amber-ink); }
.tb-notice a.tb-btn--solid:hover { filter: brightness(1.15); }

/* Hero */
.tb-hero { border-radius: var(--tb-r-hero); padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; background: var(--tb-green-800); color: #fff !important; }
.tb-hero--expired { background: var(--tb-surface); color: var(--tb-ink) !important; border: 1px solid var(--tb-red-border); }
.tb-hero__main { flex: 2 1 460px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tb-hero__eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tb-hero__label { font-size: 13px; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--tb-on-dark-muted) !important; }
.tb-hero--expired .tb-hero__label { color: var(--tb-muted) !important; }
.tb-hero .tb-chip { font-size: 13px; font-weight: 800 !important; padding: 3px 10px; background: var(--tb-yellow); color: var(--tb-ink) !important; }
.tb-hero .tb-chip--warn { background: var(--tb-amber-border); color: var(--tb-ink) !important; }
.tb-hero .tb-chip--bad { background: var(--tb-red-bg); color: var(--tb-red-ink) !important; }
.tb-hero .tb-chip--neutral { background: rgba(255, 255, 255, .14); color: #fff !important; font-weight: 700 !important; }
.tb-account .tb-hero__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 800 !important; }
.tb-hero__line { margin-top: 6px; font-size: 15px; color: var(--tb-on-dark-muted) !important; max-width: 560px; }
.tb-hero--free .tb-hero__line { font-size: 16px; margin-top: 8px; }
.tb-hero--expired .tb-hero__line { color: var(--tb-muted-strong) !important; }
.tb-hero__bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.tb-hero__bullets li { display: flex; gap: 10px; align-items: center; }
.tb-hero__bullets svg { color: var(--tb-yellow) !important; }
.tb-hero__stats { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-stat { flex: 1 1 140px; background: rgba(255, 255, 255, .09); border-radius: var(--tb-r-md); padding: 14px 16px; display: flex; flex-direction: column-reverse; }
.tb-stat dd { font-size: 28px; font-weight: 800 !important; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tb-stat dt { font-size: 13px; color: var(--tb-on-dark-muted) !important; margin-top: 4px; }
.tb-hero__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.tb-hero__side { flex: 1 1 300px; background: #fff; color: var(--tb-ink) !important; border-radius: var(--tb-r-tile-sm); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tb-hero--expired .tb-hero__side { background: var(--tb-surface-muted); border: 1px solid var(--tb-border); }
.tb-account .tb-hero__side h3 { margin: 0; font-size: 16px; font-weight: 800 !important; }
.tb-hero__alerts dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; font-size: 14px; }
.tb-hero__alerts dl > div { display: contents; }
.tb-hero__alerts dt { color: var(--tb-muted) !important; }
.tb-hero__alerts dd { font-weight: 600 !important; overflow-wrap: anywhere; }
.tb-hero__unset { font-size: 14px; color: var(--tb-muted-strong) !important; }
.tb-account a.tb-link { margin-top: auto; font-weight: 700 !important; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--tb-green-700) !important; }
.tb-account a.tb-link:hover { text-decoration: underline; }
.tb-hero__how ol { list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.tb-hero__how li { display: flex; flex-direction: column; font-size: 14px; padding-left: 40px; position: relative; counter-increment: step; }
.tb-hero__how li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tb-green-100); color: var(--tb-green-800) !important; font-weight: 800 !important; display: flex; align-items: center; justify-content: center; }
.tb-hero__how li span { color: var(--tb-muted) !important; }
.tb-account .tb-hero a:focus-visible { outline-color: var(--tb-yellow); }
.tb-account .tb-hero__side a:focus-visible, .tb-account .tb-hero--expired a:focus-visible { outline-color: var(--tb-green-800); }

/* Plans strip */
.tb-plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.tb-plan { position: relative; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-r-tile); padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.tb-plan--featured { border: 2px solid var(--tb-green-700); }
.tb-plan__tag { position: absolute; top: -12px; left: 16px; background: var(--tb-yellow); color: var(--tb-ink) !important; font-size: 12px; font-weight: 800 !important; padding: 2px 10px; border-radius: var(--tb-r-pill); }
.tb-plan__eyebrow { font-size: 13px; font-weight: 700 !important; letter-spacing: .05em; text-transform: uppercase; color: var(--tb-muted) !important; }
.tb-account .tb-plan__title { margin: 0; font-size: 24px; font-weight: 800 !important; line-height: 1.1; }
.tb-plan__price { font-size: 16px; font-weight: 700 !important; color: var(--tb-green-800) !important; }
.tb-plan__blurb { font-size: 13px; color: var(--tb-muted) !important; flex: 1; }
.tb-account .tb-plan a.tb-btn { font-size: 14px; padding: 10px 12px; }

/* Tiles */
.tb-tiles__grid { display: grid; gap: 14px; }
.tb-tiles--tenders .tb-tiles__grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.tb-tiles--account .tb-tiles__grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tb-account a.tb-tile { position: relative; display: flex; flex-direction: column; background: var(--tb-surface); border: 1px solid var(--tb-border); text-decoration: none; color: var(--tb-ink) !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tb-account a.tb-tile:hover { border-color: var(--tb-green-700); box-shadow: var(--tb-shadow-hover); transform: translateY(-2px); color: var(--tb-ink) !important; }
.tb-account a.tb-tile:focus-visible { outline: 3px solid var(--tb-green-800); outline-offset: 2px; }
.tb-tile--lg { gap: 14px; padding: 22px; border-radius: var(--tb-r-tile); min-height: 196px; }
.tb-tile--sm { gap: 12px; padding: 18px; border-radius: var(--tb-r-tile-sm); }
.tb-tile__well { display: flex; align-items: center; justify-content: center; flex: none; background: var(--tb-green-100); color: var(--tb-green-700) !important; }
.tb-tile--lg .tb-tile__well { width: 52px; height: 52px; border-radius: var(--tb-r-tile-sm); }
.tb-tile--sm .tb-tile__well, .tb-help .tb-tile__well { width: 40px; height: 40px; border-radius: var(--tb-r-md); }
.tb-tile__well--amber { background: var(--tb-amber-bg); color: #8A5300 !important; }
.tb-tile__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tb-tile--sm .tb-tile__text { gap: 2px; }
.tb-tile__title { font-size: 18px; font-weight: 800 !important; }
.tb-tile--sm .tb-tile__title, .tb-help .tb-tile__title { font-size: 16px; font-weight: 700 !important; }
.tb-tile__desc { font-size: 14px; color: var(--tb-muted) !important; }
.tb-tile--sm .tb-tile__desc { font-size: 13px; }
.tb-tile__cta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700 !important; color: var(--tb-green-700) !important; }
.tb-tile__chev { display: none; color: var(--tb-muted) !important; }
.tb-badge { position: absolute; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: 4px; background: var(--tb-green-100); color: var(--tb-green-800) !important; font-size: 13px; font-weight: 700 !important; padding: 3px 10px; border-radius: var(--tb-r-pill); }
.tb-badge--yellow { background: var(--tb-yellow); color: var(--tb-ink) !important; font-weight: 800 !important; }
.tb-badge--warn { background: var(--tb-amber-bg); color: var(--tb-amber-ink) !important; }
.tb-badge--neutral { background: var(--tb-neutral-100); color: var(--tb-muted-strong) !important; }
.tb-tile.is-locked { background: var(--tb-surface-muted); }
.tb-tile.is-locked .tb-tile__well { background: var(--tb-neutral-100); color: var(--tb-muted) !important; }
.tb-tile.is-locked .tb-tile__title { color: var(--tb-muted-strong) !important; }
.tb-tile.is-locked .tb-tile__cta { color: var(--tb-green-800) !important; }

/* Grow your business */
.tb-grow__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.tb-grow__card { background: var(--tb-green-100); border-radius: var(--tb-r-tile); padding: 24px; display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.tb-grow__card .tb-tile__well { width: 52px; height: 52px; border-radius: var(--tb-r-tile-sm); background: #fff; }
.tb-grow__card > div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.tb-account .tb-grow__card h3 { margin: 0; font-size: 18px; font-weight: 800 !important; }
.tb-grow__card p { font-size: 14px; color: var(--tb-muted-strong) !important; }
.tb-account .tb-grow__card a.tb-btn { align-self: flex-start; margin-top: 6px; }

/* Help row */
.tb-help__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.tb-account a.tb-help__card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-r-tile-sm); text-decoration: none; color: var(--tb-ink) !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tb-account a.tb-help__card:hover { border-color: var(--tb-green-700); box-shadow: var(--tb-shadow-hover); transform: translateY(-2px); }
.tb-help .tb-tile__text { gap: 2px; }

/* WooCommerce notices on account pages */
body.tb-account-area .woocommerce-message, body.tb-account-area .woocommerce-info { background: #EAF4E4; border: 1px solid #B9D7AE; border-top-width: 1px; color: #145A0A; border-radius: 12px; padding: 14px 18px; }
body.tb-account-area .woocommerce-message::before, body.tb-account-area .woocommerce-info::before { color: #1A720D; }
body.tb-account-area .woocommerce-error { background: #FDECEC; border: 1px solid #F3B4B4; color: #9A1B1B; border-radius: 12px; }

@media (max-width: 639px) {
	.tb-dash { padding: 20px 16px 48px; gap: 22px; }
	.tb-account .tb-dash__title { font-size: 26px; }
	.tb-hero { padding: 20px; }
	.tb-account .tb-hero__title { font-size: 24px; }
	.tb-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.tb-stat { padding: 12px 10px; }
	.tb-stat dd { font-size: 22px; }
	.tb-hero__buttons { flex-direction: column; }
	.tb-account .tb-hero__buttons a.tb-btn { width: 100%; }
	.tb-tiles--tenders .tb-tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tb-tile--lg { padding: 16px; min-height: 140px; gap: 10px; }
	.tb-tile--lg .tb-tile__well { width: 44px; height: 44px; border-radius: var(--tb-r-md); }
	.tb-tile--lg .tb-tile__title { font-size: 15px; line-height: 1.3; }
	.tb-tile--lg .tb-tile__desc { font-size: 13px; line-height: 1.35; }
	.tb-tile--lg .tb-tile__cta { display: none; }
	.tb-badge { top: 16px; right: 16px; font-size: 12px; padding: 2px 8px; }
	.tb-tiles--account .tb-tiles__grid { grid-template-columns: 1fr; gap: 0; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-r-tile-sm); overflow: hidden; }
	.tb-account .tb-tiles--account a.tb-tile { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; min-height: 64px; border: 0; border-bottom: 1px solid var(--tb-divider); border-radius: 0; }
	.tb-tiles--account .tb-tile .tb-tile__well { width: 36px; height: 36px; border-radius: 10px; }
	.tb-tiles--account .tb-tile__text { flex: 1; }
	.tb-tiles--account .tb-tile__title { font-size: 15px; }
	.tb-tile__chev { display: flex; }
	.tb-plans__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.tb-account a.tb-tile, .tb-account a.tb-help__card { transition: none; }
	.tb-account a.tb-tile:hover, .tb-account a.tb-help__card:hover { transform: none; }
}

/* ---------- Logged-out My Account (login / register) ---------- */
body.tb-account-loggedout {
	--tb-green-800: #145A0A; --tb-green-700: #1A720D; --tb-green-100: #EAF4E4; --tb-ink: #14240F; --tb-muted: #5A6656; --tb-muted-strong: #3F4A3C;
	--tb-border: #DDE5D8; --tb-neutral-100: #EEF0EC; --tb-ok-border: #B9D7AE; --tb-font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.tb-account-loggedout .elementor-element-3d7829d .elementor-heading-title { font-family: var(--tb-font) !important; font-size: 32px !important; font-weight: 800 !important; letter-spacing: -.01em !important; text-transform: none !important; color: var(--tb-ink) !important; line-height: 1.15 !important; }
body.tb-account-loggedout .woocommerce { font-family: var(--tb-font); color: var(--tb-ink); }
body.tb-account-loggedout .woocommerce-info { background: var(--tb-green-100) !important; border: 1px solid var(--tb-ok-border) !important; border-radius: 16px !important; padding: 24px !important; color: var(--tb-muted-strong) !important; font-size: 15px; line-height: 1.55; }
body.tb-account-loggedout .woocommerce-info::before { display: none !important; }
body.tb-account-loggedout .woocommerce-info p { margin: 0 0 10px; }
body.tb-account-loggedout .woocommerce-info a { color: var(--tb-green-700) !important; font-weight: 700; }
body.tb-account-loggedout .woocommerce-info img { border-radius: 14px; max-width: 100%; height: auto; }
body.tb-account-loggedout .xoo-el-form-container { max-width: 520px; margin: 24px auto 48px; background: #fff; border: 1px solid var(--tb-border); border-radius: 16px; padding: 24px; font-family: var(--tb-font); }
body.tb-account-loggedout .xoo-el-form-container ul[class*="xoo-el-tabs"] { display: flex; gap: 6px; padding: 4px; background: var(--tb-neutral-100); border-radius: 12px; margin: 0 0 20px; list-style: none; }
body.tb-account-loggedout .xoo-el-form-container ul[class*="xoo-el-tabs"] li { flex: 1; margin: 0; padding: 12px 8px; border-radius: 9px; text-align: center; font-weight: 700; font-size: 15px; background: transparent !important; color: var(--tb-muted-strong) !important; }
body.tb-account-loggedout .xoo-el-form-container ul[class*="xoo-el-tabs"] li.xoo-el-active { background: var(--tb-green-800) !important; color: #fff !important; }
body.tb-account-loggedout .xoo-el-form-container input[type="text"], body.tb-account-loggedout .xoo-el-form-container input[type="email"], body.tb-account-loggedout .xoo-el-form-container input[type="password"] { border-radius: 10px; font-family: var(--tb-font); font-size: 15px; }
body.tb-account-loggedout .xoo-el-form-container input:focus { border-color: var(--tb-green-700) !important; outline: 3px solid rgba(26, 114, 13, .25); outline-offset: 0; box-shadow: none; }
body.tb-account-loggedout .xoo-el-form-container .xoo-aff-group .xoo-aff-input-icon, body.tb-account-loggedout .xoo-el-form-container .xoo-aff-input-icon { border-radius: 10px 0 0 10px; color: var(--tb-green-700); }
body.tb-account-loggedout .xoo-el-form-container button.xoo-el-action-btn { background: var(--tb-green-700) !important; color: #fff !important; border: 0; border-radius: 10px; min-height: 48px; font-family: var(--tb-font); font-size: 16px; font-weight: 800; text-transform: none; letter-spacing: 0; box-shadow: none; }
body.tb-account-loggedout .xoo-el-form-container button.xoo-el-action-btn:hover, body.tb-account-loggedout .xoo-el-form-container button.xoo-el-action-btn:focus { background: var(--tb-green-800) !important; color: #fff !important; text-decoration: none; }
body.tb-account-loggedout .xoo-el-form-container a, body.tb-account-loggedout .xoo-el-form-container .xoo-el-lostpw-tgr { color: var(--tb-green-700) !important; font-weight: 600; }
body.tb-account-loggedout .xoo-el-form-container .xoo-el-sing-socials, body.tb-account-loggedout .xoo-el-form-container .xoo-el-or-text { color: var(--tb-muted); }
body.tb-account-loggedout .xoo-el-form-container input::placeholder { color: var(--tb-muted) !important; opacity: 1; }
body.tb-account-loggedout .xoo-el-form-container input { color: var(--tb-ink) !important; }

/* Notice with several actions, and the calm "current membership" variant */
.tb-notice__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-notice--soft { background: var(--tb-surface-muted, #FAFBF9); border-color: var(--tb-border); color: var(--tb-ink) !important; }
.tb-notice--soft .tb-notice__icon { background: var(--tb-green-100); color: var(--tb-green-700); }
.tb-notice--red .tb-notice__actions a.tb-btn--outline { background: #fff; border-color: var(--tb-red-ink); color: var(--tb-red-ink) !important; }
.tb-notice--amber .tb-notice__actions a.tb-btn--outline { background: #fff; border-color: var(--tb-amber-ink); color: var(--tb-amber-ink) !important; }

/* Paused strip under the account bar */
.tb-pausebar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 9px 24px; background: var(--tb-amber-bg); border-top: 1px solid var(--tb-amber-border); color: var(--tb-amber-ink); font-size: 14px; text-align: center; }
.tb-pausebar a { color: var(--tb-amber-ink) !important; text-decoration: underline; font-weight: 600; }
