:root { --navy:#303336; --navy-deep:#222426; --maroon:#751f32; --ivory:#f5f6f6; --paper:#fff; --sage:#d9dcde; --sage-light:#f0f2f2; --gold:#751f32; --line:#d8dadd; --muted:#686d72; --display:'Libre Caslon Display',Georgia,serif; --sans:'DM Sans',Arial,sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--navy); background:#fff; font-family:var(--sans); }
a { color:inherit; text-decoration:none; }
button,input,textarea,select { font:inherit; }
[hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.pwa-launch-screen { display:none; }
html.pwa-launch .pwa-launch-screen { position:fixed; z-index:10000; inset:0; display:grid; place-items:center; overflow:hidden; background:#fff; opacity:1; transition:opacity .42s ease,visibility .42s ease; }
.pwa-launch-screen picture,.pwa-launch-screen img { width:100%; height:100%; display:block; }
.pwa-launch-screen img { object-fit:contain; background:#fff; }
.pwa-launch-screen.is-leaving { visibility:hidden; opacity:0; pointer-events:none; }
.customer-header { position:sticky; z-index:20; top:0; display:grid; align-items:center; border-bottom:1px solid #c5c9cc; color:var(--navy); }
.customer-logo { display:grid; place-items:center; }
.customer-logo img { object-fit:contain; }
.customer-header nav { height:100%; display:flex; justify-content:center; align-items:stretch; }
.customer-header nav > a { position:relative; display:flex; align-items:center; color:rgba(48,51,54,.76); font:500 14px var(--sans); white-space:nowrap; }
.customer-header nav a:hover,.customer-header nav a.active { color:var(--navy); }
.customer-header nav a.active::after { position:absolute; right:0; bottom:0; left:0; height:3px; background:#dfb85d; content:''; }
.customer-profile { margin-left:auto; display:flex; align-items:center; border-left:1px solid rgba(48,51,54,.28); }
.customer-profile > a { position:relative; padding:8px 0; color:var(--navy); font-weight:600; white-space:nowrap; }
.customer-profile > a:hover,.customer-profile > a.active { color:#6b172d; }
.customer-profile form { margin:0; border-left:1px solid rgba(48,51,54,.28); }
.customer-profile button { padding:8px 0; border:0; background:transparent; color:var(--navy); cursor:pointer; }
.customer-profile button:hover { color:#6b172d; }
.customer-menu { display:none; }
.customer-app-nav,.customer-app-more,.customer-app-more-backdrop { display:none; }
.customer-main { min-height:calc(100vh - 190px); }
.customer-welcome { min-height:260px; padding:54px max(clamp(24px,5vw,76px),calc((100vw - 1440px)/2)); display:flex; align-items:center; justify-content:space-between; gap:50px; border-bottom:1px solid var(--line); background:linear-gradient(105deg,#fff 0%,#fff 55%,#f1f3f3 100%); }
.customer-welcome h1 { margin:0; font-family:var(--display); font-size:clamp(38px,4vw,58px); font-weight:400; line-height:1.05; }
.customer-welcome p { margin:10px 0 0; color:var(--muted); font-size:16px; }
.customer-welcome blockquote { max-width:420px; margin:0; padding:18px 0; border-top:1px solid var(--gold); border-bottom:1px solid var(--gold); color:#685e55; font:italic 20px Georgia,serif; text-align:center; line-height:1.45; }
.customer-eyebrow { display:block; margin-bottom:12px; color:#956f25; font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }
.customer-page-hero { position:relative; display:flex; flex-direction:column; justify-content:center; overflow:hidden; border-bottom:1px solid var(--line); background:#fff; }
.customer-page-hero::after { position:absolute; z-index:0; right:0; bottom:-28%; height:135%; background:url('customer-home-landscape-v1.png') center bottom/cover no-repeat; mask-image:linear-gradient(90deg,transparent 0%,#000 42%); pointer-events:none; content:''; }
.customer-page-hero h1,.customer-page-hero p { position:relative; z-index:1; }
.customer-page-hero h1 { max-width:820px; margin:0; font:400 clamp(44px,5vw,66px)/1.03 var(--display); letter-spacing:-.03em; }
.customer-page-hero p { margin:14px 0 0; color:var(--muted); }
.customer-section { margin:0; border-bottom:1px solid var(--line); background:var(--paper); }
.customer-section-heading { margin-bottom:16px; display:flex; align-items:end; justify-content:space-between; }
.customer-section h2 { margin:0; font-family:var(--display); font-weight:400; }
.customer-section h2 + p,.customer-section-heading p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.customer-library-toolbar { display:flex; align-items:center; justify-content:space-between; }
.customer-library-toolbar label { width:min(420px,100%); }
.customer-library-toolbar input { width:100%; height:48px; padding:0 16px; border:1px solid #cbd3d9; border-radius:9px; background:#fff; color:var(--navy); outline:none; }
.customer-library-toolbar input:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(197,155,66,.12); }
.customer-library-toolbar > span { color:var(--muted); font-size:12px; white-space:nowrap; }
.customer-library-toolbar b { color:var(--navy); }
.customer-library-filters { margin:-2px 0 22px; display:flex; flex-wrap:wrap; }
.customer-library-filters button { padding:0 20px; border:1px solid #cbd3d9; background:#fff; color:var(--navy); font-size:11px; font-weight:600; cursor:pointer; transition:border-color .2s ease,background .2s ease,color .2s ease; }
.customer-library-filters button:hover,.customer-library-filters button.active { border-color:#c6a660; background:#fbfaf7; color:var(--maroon); }
.customer-library-list { display:grid; gap:18px; }
.owned-product { display:grid; align-items:center; border:1px solid var(--line); background:#fff; }
.owned-product > img { width:135px; height:180px; object-fit:cover; box-shadow:0 10px 24px rgba(39,33,24,.17); }
.owned-product-placeholder { width:135px; height:180px; display:grid; place-items:center; border:1px solid var(--line); background:linear-gradient(145deg,#f7f8f8,#e6e9ea); color:var(--maroon); font:400 54px var(--display); box-shadow:0 10px 24px rgba(39,33,24,.08); }
.product-type { display:inline-block; margin-bottom:9px; color:var(--muted); font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.owned-product h3 { margin:0; font:700 28px Georgia,serif; }
.owned-product-copy p { max-width:480px; margin:12px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.customer-primary { min-height:52px; padding:0 26px; display:inline-flex; align-items:center; justify-content:center; gap:15px; border-radius:8px; background:var(--maroon); color:#fff; font-weight:700; white-space:nowrap; box-shadow:0 10px 24px rgba(169,31,63,.14); }
.customer-primary:hover { background:#8e1732; }
.customer-primary.disabled { opacity:.65; cursor:not-allowed; }
.owned-product-restricted { border-color:#dfb8ae; background:#fffbf9; }
.owned-product-restricted > img { filter:saturate(.72); opacity:.88; }
.owned-restriction-notice { max-width:520px; margin-top:14px; padding:11px 13px; display:grid; gap:4px; border-left:3px solid #a33a2e; background:#fff0eb; color:#7d3028; }
.owned-restriction-notice strong { font-size:10px; text-transform:uppercase; letter-spacing:.04em; }
.owned-restriction-notice span { font-size:11px; line-height:1.55; }
.customer-primary.disabled.restricted { background:#7d858b; color:#fff; opacity:1; box-shadow:none; }
.customer-future-grid { display:grid; grid-template-columns:1fr 1fr; }
.future-section:first-child { border-right:1px solid var(--line); }
.customer-empty { margin-top:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px solid var(--line); background:#f3f5f5; text-align:center; }
.customer-empty.wide { margin-top:0; }
.customer-empty strong { font:400 17px Georgia,serif; }
.customer-empty span { margin-top:7px; color:var(--muted); font-size:11px; }
.customer-empty-feature { min-height:330px; margin:0; }
.customer-empty-feature .customer-empty-mark { width:58px; height:58px; margin:0 0 20px; display:grid; place-items:center; border:1px solid #c9cdd0; border-radius:50%; background:#fff; color:var(--maroon); font:400 24px var(--display); }
.customer-empty-feature strong { font-size:24px; }
.customer-empty-feature > span:not(.customer-empty-mark) { margin-top:10px; font-size:13px; }
.customer-empty-feature a { margin-top:22px; padding-bottom:3px; border-bottom:1px solid var(--gold); color:var(--navy); font-size:12px; font-weight:700; }
.customer-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--line); }
.customer-resource-card { display:flex; flex-direction:column; border:0; border-radius:0; background:#fff; box-shadow:none; }
.customer-resource-type { width:max-content; padding:6px 10px; border-radius:999px; background:#f0f3ee; color:#5d6c59; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.customer-resource-art { width:76px; height:76px; margin:26px 0 22px; display:grid; place-items:center; border:1px solid #c9cdd0; border-radius:18px 18px 18px 4px; background:linear-gradient(145deg,#f6f7f7,#e1e4e5); color:var(--maroon); font:400 34px var(--display); }
.ticket-card .customer-resource-art { border-color:#d7c69c; background:linear-gradient(145deg,#fffaf0,#f1e6cd); }
.customer-resource-card h2 { font:400 25px/1.2 var(--display); }
.customer-resource-card p { margin:10px 0 22px; color:var(--muted); font-size:12px; line-height:1.6; }
.customer-resource-meta { margin-top:auto; margin-bottom:18px; padding-top:16px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line); }
.customer-resource-meta span { padding:5px 10px; border-radius:999px; background:#e4f2e7; color:#27623e; font-size:10px; font-weight:700; }
.customer-resource-meta small { color:var(--muted); font-size:10px; }
.customer-resource-card .customer-primary { width:100%; }
.customer-home-access { padding-block:54px 64px; }
.customer-quick-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.customer-quick-grid > a { min-height:112px; padding:22px 24px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px; border:1px solid var(--line); border-radius:12px; background:#fff; transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease; }
.customer-quick-grid > a:hover { transform:translateY(-2px); border-color:#b8bdc0; box-shadow:0 12px 28px rgba(48,51,54,.08); }
.customer-quick-grid > a > span { color:#9d7a35; font-size:10px; font-weight:700; letter-spacing:.1em; }
.customer-quick-grid strong { display:block; font:400 22px var(--display); }
.customer-quick-grid small { margin-top:5px; display:block; color:var(--muted); font-size:11px; line-height:1.5; }
.customer-quick-grid b { color:var(--maroon); font-size:20px; font-weight:400; }
.customer-home-hero { position:relative; display:grid; align-items:center; overflow:hidden; border-bottom:1px solid var(--line); background:#fff; }
.customer-home-hero::after { position:absolute; right:0; bottom:0; left:0; background:url('customer-home-landscape-v1.png') center bottom/cover no-repeat; pointer-events:none; content:''; }
.customer-home-intro,.customer-home-feature { position:relative; z-index:1; }
.customer-home-intro { align-self:start; }
.customer-home-intro h1 { margin:0; font:400 clamp(48px,5vw,70px)/.98 var(--display); letter-spacing:-.035em; }
.customer-home-intro > p { max-width:520px; margin:18px 0 0; color:var(--muted); font-size:15px; line-height:1.75; }
.customer-home-intro blockquote { margin:48px 0 0; border-top:1px solid #c6a660; color:#4f5559; font:italic 20px/1.5 Georgia,serif; }
.customer-home-feature { min-width:0; display:grid; align-items:center; }
.customer-home-cover { position:relative; }
.customer-home-cover::before { position:absolute; inset:8% 0 2% 12%; border:1px solid rgba(117,31,50,.22); content:''; }
.customer-home-cover img { position:relative; width:100%; display:block; object-fit:contain; filter:drop-shadow(0 18px 18px rgba(34,36,38,.18)); }
.customer-home-feature-copy { min-width:0; }
.customer-home-rule { height:1px; display:block; background:#c6a660; }
.customer-home-feature-copy > p { margin:0 0 12px; color:var(--muted); font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.customer-home-feature-copy h2 { max-width:430px; margin:0; font:400 clamp(35px,3.8vw,54px)/1.02 var(--display); letter-spacing:-.03em; }
.customer-home-type { display:block; color:var(--muted); }
.customer-home-cta { display:flex; align-items:center; justify-content:space-between; gap:18px; background:var(--maroon); color:#fff; font-weight:700; transition:transform .2s ease,background .2s ease; }
.customer-home-cta:hover { transform:translateY(-2px); background:#611727; }
.customer-home-cta svg,.customer-home-arrow { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.customer-home-feature-empty { min-height:330px; grid-template-columns:1fr; }
.customer-home-feature-empty .customer-home-feature-copy { max-width:540px; }
.customer-home-access { display:grid; align-items:stretch; border-bottom:1px solid var(--line); background:#f3f5f5; }
.customer-home-access-heading { align-self:center; }
.customer-home-access-heading h2 { margin:0; font:400 30px/1.12 var(--display); }
.customer-home-access-heading p { margin:9px 0 0; color:var(--muted); font-size:11px; line-height:1.55; }
.customer-home-rail { min-width:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-left:1px solid #d1d5d7; }
.customer-home-rail > a { min-width:0; min-height:144px; padding:22px 20px; display:grid; grid-template-columns:48px minmax(0,1fr) 20px; align-items:center; gap:14px; border-right:1px solid #d1d5d7; background:transparent; transition:background .2s ease,color .2s ease; }
.customer-home-rail > a:hover { background:#fff; color:var(--maroon); }
.customer-home-icon { display:grid; place-items:center; border:1px solid #c7cbce; border-radius:50%; background:#fff; color:var(--maroon); }
.customer-home-icon svg { fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.customer-home-rail strong { display:block; font:400 20px/1.15 var(--display); }
.customer-home-rail small { margin-top:6px; display:block; overflow:hidden; color:var(--muted); line-height:1.45; }
.customer-home-rail .customer-home-arrow { width:18px; height:18px; display:block; fill:none; stroke:currentColor; color:var(--maroon); }
.customer-home-store { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; border-bottom:1px solid #d9cda9; background:linear-gradient(100deg,#fffaf0 0%,#f7f1e4 100%); }
.customer-home-store-copy { min-width:0; display:flex; align-items:center; }
.customer-home-store-copy .customer-home-icon { flex:0 0 auto; border-color:#d1bb84; background:#fffdf8; }
.customer-home-store-copy .customer-eyebrow { margin-bottom:7px; }
.customer-home-store-copy h2 { margin:0; font:400 29px/1.15 var(--display); }
.customer-home-store-copy p { max-width:620px; margin:7px 0 0; color:var(--muted); line-height:1.55; }
.customer-home-store-count { min-width:98px; display:grid; text-align:center; }
.customer-home-store-count strong { color:var(--maroon); font:400 31px/1 var(--display); }
.customer-home-store-count span { margin-top:4px; color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.customer-home-store>a { display:flex; align-items:center; justify-content:space-between; gap:18px; border-radius:8px; background:var(--maroon); color:#fff; font-weight:700; }
.customer-home-store>a:hover { background:#611727; }
.customer-home-store>a .customer-home-arrow { width:19px; height:19px; }
.customer-home-community { padding:22px var(--customer-shell); display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:18px; border-bottom:1px solid #cfe1d3; background:linear-gradient(100deg,#f2f8f3 0%,#f8fbf8 100%); }
.customer-home-community-icon { width:50px; height:50px; display:grid; place-items:center; border:1px solid #b9d4bf; border-radius:50%; background:#fff; color:#287447; }
.customer-home-community-icon svg { width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.customer-home-community-copy { min-width:0; }
.customer-home-community-copy .customer-eyebrow { margin-bottom:5px; color:#367852; }
.customer-home-community-copy h2 { margin:0; font:400 25px/1.15 var(--display); }
.customer-home-community-copy p { max-width:690px; margin:6px 0 0; color:var(--muted); font-size:10px; line-height:1.6; }
.customer-home-community>a { min-width:205px; min-height:42px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-radius:7px; background:#287447; color:#fff; font-size:10px; font-weight:700; transition:transform .2s ease,background .2s ease; }
.customer-home-community>a:hover { transform:translateY(-1px); background:#1f603a; }
.customer-home-community>a svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.customer-store-toolbar { margin-bottom:18px; }
.customer-store-grid { display:grid; }
.customer-store-card { min-width:0; overflow:hidden; display:flex; flex-direction:column; border:1px solid var(--line); background:#fff; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; content-visibility:auto; contain-intrinsic-size:460px; }
.customer-store-card:hover { border-color:#c6b178; }
.customer-store-card.restricted { border-color:#dfb8ae; background:#fffbf9; }
.customer-store-cover { position:relative; display:grid; place-items:center; overflow:hidden; border-bottom:1px solid var(--line); background:linear-gradient(145deg,#f6f1e8,#eef0f0); }
.customer-store-cover img { display:block; }
.customer-store-cover>span { color:var(--maroon); font:400 64px/1 var(--display); }
.customer-product-access-badge { position:absolute; z-index:2; top:14px; right:14px; padding:7px 11px; border-radius:999px; background:#e2f1e5; color:#26613c; font-size:9px; font-weight:800; letter-spacing:.03em; box-shadow:0 5px 14px rgba(48,51,54,.1); }
.customer-product-access-badge.restricted { background:#f8ddd6; color:#8d3028; }
.customer-store-copy .product-type { margin-bottom:8px; }
.customer-store-copy h3 { margin:0; color:var(--navy); font:400 27px/1.18 var(--display); }
.customer-store-copy p { margin:11px 0 0; display:-webkit-box; overflow:hidden; color:var(--muted); line-height:1.65; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.customer-store-footer { margin-top:auto; display:grid; }
.customer-store-price { min-height:33px; margin:0; display:flex; align-items:baseline; gap:9px; }
.customer-store-price del { color:#8d9296; font-size:11px; }
.customer-store-price strong { color:var(--maroon); font:700 22px/1 var(--display); }
.customer-store-action { padding:0 17px; display:flex; align-items:center; justify-content:space-between; gap:14px; border-radius:8px; background:var(--maroon); color:#fff; font-weight:700; }
.customer-store-action:hover { background:#611727; }
.customer-store-action.owned { background:#303336; }
.customer-store-action.owned:hover { background:#1f2224; }
.customer-store-action.restricted { border:1px solid #b85a4c; background:#fff; color:#8d3028; }
.customer-store-section .library-no-results { margin-top:22px; }
.customer-table-wrap { overflow-x:auto; border:1px solid var(--line); background:#fff; }
.customer-table-wrap table { width:100%; border-collapse:collapse; white-space:nowrap; font-size:12px; }
.customer-table-wrap th,.customer-table-wrap td { padding:13px 16px; border-bottom:1px solid #ece5db; text-align:left; }
.customer-table-wrap th { background:#f0f2f2; color:var(--muted); font-size:9px; letter-spacing:.06em; text-transform:uppercase; }
.customer-table-wrap tr:last-child td { border-bottom:0; }
.customer-order-number { max-width:190px; display:block; color:var(--navy); font:700 10px/1.45 var(--sans); overflow-wrap:anywhere; white-space:normal; }
.customer-success { padding:5px 10px; border-radius:999px; background:#e4f2e7; color:#28623d; font-weight:700; font-size:10px; }
.customer-history-status{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.customer-order-status{display:inline-flex;border-radius:999px;background:#edf0f2;color:#52616d;font-weight:700}.customer-order-status.paid{background:#e4f2e7;color:#28623d}.customer-order-status.pending{background:#fff1cf;color:#7e5714}.customer-order-status.cancelled,.customer-order-status.expired,.customer-order-status.failed{background:#f7e4e7;color:#8d1d38}.customer-order-status.refunded{background:#e8eef6;color:#173454}.customer-history-pay{display:inline-flex;padding:0 12px;align-items:center;gap:8px;border:1px solid var(--maroon);border-radius:7px;background:var(--maroon);color:#fff;font-size:10px;font-weight:700;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.customer-history-pay:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(117,31,50,.16)}
.affiliate-invite { min-height:150px; padding:28px 32px; display:flex; align-items:center; justify-content:space-between; gap:25px; border:1px solid #c9cdd0; border-radius:12px; background:var(--sage-light); color:var(--navy); }
.affiliate-invite strong { font:400 24px var(--display); }
.affiliate-invite p { margin:7px 0 0; color:var(--muted); font-size:12px; }
.affiliate-invite form { margin:0; }
.affiliate-invite button,.affiliate-link-row button { min-height:44px; padding:0 18px; border:1px solid var(--maroon); border-radius:7px; background:var(--maroon); color:#fff; font-weight:700; cursor:pointer; white-space:nowrap; }
.affiliate-panel { padding:30px; border:1px solid var(--line); border-top:3px solid #c6a660; border-radius:10px; background:#fff; }
.affiliate-access { max-width:850px; display:grid; gap:12px; }
.affiliate-active { width:max-content; padding:6px 13px; border-radius:999px; background:#dff1e4; color:#27623e; font-size:11px; font-weight:700; }
.affiliate-access label { display:grid; gap:6px; color:var(--navy); font-size:11px; font-weight:700; }
.affiliate-access input { width:100%; height:44px; padding:0 13px; border:1px solid #c4c7cc; border-radius:7px; background:#fafafa; color:var(--navy); font:500 13px var(--sans); }
.affiliate-link-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; }
.affiliate-link-row button:first-of-type { border-color:#b59654; background:#fff; color:var(--maroon); }
.affiliate-copy-status { min-height:16px; margin:0; color:#27623e; font-size:10px; }
.affiliate-stats { margin:24px 0 0; padding-top:20px; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); }
.affiliate-stats div { padding:0 24px; border-right:1px solid var(--line); }
.affiliate-stats div:first-child { padding-left:0; }
.affiliate-stats div:last-child { border:0; }
.affiliate-stats dt { color:var(--muted); font-size:11px; }
.affiliate-stats dd { margin:7px 0 0; font:400 30px var(--display); }
.affiliate-history { margin-top:24px; padding:0; border:0; border-radius:0; background:#fff; }
.affiliate-history h3 { margin:0 0 14px; padding-bottom:12px; border-bottom:1px solid #c6a660; font:400 26px var(--display); }
.affiliate-product-links { padding:26px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.affiliate-product-links-heading { margin-bottom:20px; display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.affiliate-product-links-heading h2 { margin:0 0 6px; font:400 30px var(--display); }
.affiliate-product-links-heading p { max-width:650px; margin:0; color:var(--muted); font-size:11px; line-height:1.6; }
.affiliate-product-links-heading>span { padding:7px 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:10px; white-space:nowrap; }
.affiliate-product-toolbar { margin:0; padding:18px 0 14px; border-top:1px solid var(--line); }
.affiliate-product-toolbar input { background:#f8fafb; }
.affiliate-product-filters { margin:0 0 18px; }
.affiliate-product-no-results { margin-top:18px; }
.affiliate-product-link-list { border-top:1px solid var(--line); }
.affiliate-product-link-card { padding:24px 0; border-bottom:1px solid var(--line); }
.affiliate-product-overview { display:grid; grid-template-columns:108px minmax(0,1fr); align-items:center; gap:24px; }
.affiliate-product-cover { width:108px; height:144px; display:grid; place-items:center; overflow:hidden; border:1px solid #e1d7c9; border-radius:8px; background:#f7f1e7; box-shadow:0 10px 24px rgba(48,51,54,.09); }
.affiliate-product-cover img { width:100%; height:100%; object-fit:cover; }
.affiliate-product-cover span { color:var(--maroon); font:400 34px var(--display); }
.affiliate-product-copy>small { color:var(--gold); font-size:9px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.affiliate-product-copy h3 { margin:4px 0 6px; font:400 25px var(--display); }
.affiliate-product-copy>p { margin:0; line-height:1.55; }
.affiliate-product-description { max-width:720px; color:var(--navy); font-size:11px; }
.affiliate-product-referral-note { margin-top:6px!important; color:var(--muted); font-size:9px; }
.affiliate-product-link-card .affiliate-product-description,
.affiliate-product-link-card .affiliate-product-referral-note {
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
}

.customer-ticket-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.customer-ticket-card { overflow:hidden; border:1px solid #d9c7aa; border-radius:18px; background:#fff; box-shadow:0 16px 42px rgba(35,31,28,.08); }
.customer-ticket-card>header { padding:22px 24px; display:flex; align-items:flex-start; justify-content:space-between; gap:18px; border-bottom:1px dashed #d9c7aa; background:linear-gradient(135deg,#fff9f2,#f7eee3); }
.customer-ticket-card>header span { color:#8c203a; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.customer-ticket-card>header h2 { margin:5px 0 0; font-family:var(--display,Georgia,serif); font-size:22px; font-weight:400; }
.customer-ticket-card>header>strong { padding:6px 10px; border-radius:99px; background:#e8f5ec; color:#27704a; font-size:10px; white-space:nowrap; }
.customer-ticket-card.ticket-used>header>strong { background:#eef0f2; color:#626b76; }
.customer-ticket-body { display:grid; grid-template-columns:160px minmax(0,1fr); gap:22px; padding:24px; }
.customer-ticket-qr { display:grid; place-items:center; align-content:start; gap:7px; }
.customer-ticket-qr img { width:150px; aspect-ratio:1; padding:7px; border:1px solid #eee2d1; border-radius:12px; background:#fff; }
.customer-ticket-qr small { color:#777; font-size:9px; }
.customer-ticket-body dl { margin:0; display:grid; align-content:start; gap:10px; }
.customer-ticket-body dl div { display:grid; gap:2px; }
.customer-ticket-body dt { color:#7a7f86; font-size:9px; text-transform:uppercase; letter-spacing:.05em; }
.customer-ticket-body dd { margin:0; color:#273044; font-size:12px; font-weight:650; overflow-wrap:anywhere; }
.customer-ticket-body code { color:#8c203a; font-weight:800; }
.event-location-value { display:grid; gap:6px; }
.event-location-link { width:max-content; max-width:100%; padding:6px 9px; border:1px solid #c9a2ab; border-radius:7px; color:#8c203a; font-size:9px; font-weight:800; line-height:1.25; text-decoration:none; }
.event-location-link:hover { background:#fff4f6; }
.customer-ticket-card>footer { padding:14px 24px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px dashed #d9c7aa; color:#7a7f86; font-size:9px; }
.customer-ticket-card>footer a { color:#8c203a; font-size:11px; font-weight:800; }
.customer-ticket-actions { display:flex; align-items:center; gap:10px; }.customer-ticket-card>footer .ticket-pdf-download { padding:8px 11px; border:1px solid #c9a2ab; border-radius:8px; text-decoration:none; }.customer-ticket-card>footer .ticket-pdf-download:hover { background:#fff4f6; }
.ticket-verify-page { min-height:100vh; padding:30px 16px; display:grid; place-items:center; background:linear-gradient(150deg,#f7eee3,#f2f4f4); }
.ticket-verify-card { width:min(520px,100%); padding:30px; border:1px solid #d9c7aa; border-radius:22px; background:#fff; box-shadow:0 24px 70px rgba(35,31,28,.14); }
.ticket-verify-logo { width:150px; height:88px; display:block; object-fit:contain; }
.ticket-verify-kicker { display:block; margin-top:12px; color:#8c203a; font-size:10px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.ticket-verify-state { margin:18px 0 22px; display:flex; align-items:center; gap:14px; }
.ticket-verify-state>span { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:#e8f5ec; color:#27704a; font-size:24px; font-weight:900; }
.ticket-status-used .ticket-verify-state>span { background:#eef0f2; color:#626b76; }
.ticket-status-cancelled .ticket-verify-state>span,.ticket-status-refunded .ticket-verify-state>span { background:#fbe9e9; color:#a22b38; }
.ticket-verify-state h1 { margin:0; font-family:var(--display,Georgia,serif); font-size:30px; font-weight:400; }
.ticket-verify-state p { margin:4px 0 0; color:#6f7780; font-size:12px; }
.ticket-verify-card dl { margin:0; display:grid; gap:0; border:1px solid #e3e5e6; border-radius:12px; overflow:hidden; }
.ticket-verify-card dl div { padding:12px 14px; display:grid; grid-template-columns:125px 1fr; gap:12px; border-bottom:1px solid #e3e5e6; }
.ticket-verify-card dl div:last-child { border-bottom:0; }
.ticket-verify-card dt { color:#777f87; font-size:10px; }
.ticket-verify-card dd { margin:0; color:#273044; font-size:12px; font-weight:750; overflow-wrap:anywhere; }
.ticket-verify-card code { color:#8c203a; }
.ticket-verify-card form button { width:100%; min-height:48px; margin-top:18px; border:0; border-radius:9px; background:#861d36; color:#fff; font-weight:800; cursor:pointer; }
.ticket-verify-staff-note { margin:16px 0 0; padding:12px; border-radius:9px; background:#f7f1e9; color:#6f6253; font-size:11px; line-height:1.5; }

@media(max-width:760px){
  .customer-ticket-grid { grid-template-columns:1fr; }
  .customer-ticket-body { grid-template-columns:125px minmax(0,1fr); padding:18px; gap:15px; }
  .customer-ticket-qr img { width:120px; }
}
@media(max-width:430px){
  .customer-ticket-body { grid-template-columns:1fr; }
  .customer-ticket-card>footer { align-items:flex-start; flex-direction:column; }
  .customer-ticket-actions { width:100%; justify-content:space-between; }
  .ticket-verify-card { padding:22px 18px; }
  .ticket-verify-card dl div { grid-template-columns:1fr; gap:3px; }
}
.affiliate-product-link-card .affiliate-product-description {
  min-height:4.65em;
  -webkit-line-clamp:3;
}
.affiliate-product-link-card .affiliate-product-referral-note { -webkit-line-clamp:2; }
.affiliate-product-metrics { margin:17px 0 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.affiliate-product-metrics div { min-height:58px; padding:10px 13px; display:flex; justify-content:center; flex-direction:column; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.affiliate-product-metrics div:nth-child(3n) { border-right:0; }
.affiliate-product-metrics div:nth-last-child(-n+3) { border-bottom:0; }
.affiliate-product-metrics dt { color:var(--muted); font-size:8px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; }
.affiliate-product-metrics dd { margin:5px 0 0; color:var(--navy); font-size:12px; font-weight:700; }
.affiliate-product-metrics .affiliate-product-metric-highlight { background:#faf3e7; }
.affiliate-product-metrics .affiliate-product-metric-highlight dd { color:var(--maroon); }
.affiliate-product-link-action { margin:18px 0 0 132px; padding:12px; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; border-radius:8px; background:#f5f6f6; }
.affiliate-product-link-action input { min-width:0; height:44px; padding:0 12px; border:1px solid var(--line); border-radius:7px; background:#f8fafb; color:var(--navy); font-size:10px; }
.affiliate-product-link-action button,.affiliate-product-link-action a { min-height:44px; padding:0 16px; border:1px solid var(--maroon); border-radius:7px; display:inline-flex; align-items:center; justify-content:center; background:var(--maroon); color:#fff; font-size:11px; font-weight:700; text-decoration:none; cursor:pointer; white-space:nowrap; }
.affiliate-product-link-action button { border-color:#b59654; background:#fff; color:var(--maroon); }
.affiliate-product-link-action button.affiliate-product-share { border-color:var(--maroon); background:var(--maroon); color:#fff; }
.affiliate-product-link-action a { border-color:var(--maroon); background:var(--maroon); color:#fff; }
.affiliate-payout-grid { margin-top:18px; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:18px; }
.affiliate-payout-card { padding:24px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.affiliate-payout-heading h3 { margin:0; font:400 22px var(--display); }
.affiliate-payout-heading p { margin:6px 0 0; color:var(--muted); font-size:11px; line-height:1.5; }
.affiliate-payout-form { margin-top:20px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.affiliate-payout-form label { display:grid; gap:7px; color:var(--navy); font-size:11px; font-weight:700; }
.affiliate-payout-form label:last-of-type { grid-column:1/-1; }
.affiliate-payout-form input,.affiliate-payout-form select { width:100%; height:46px; padding:0 13px; border:1px solid #c4c7cc; border-radius:7px; background:#fff; color:var(--navy); outline:none; }
.affiliate-payout-form select { cursor:pointer; }
.affiliate-payout-form input:focus,.affiliate-payout-form select:focus { border-color:var(--maroon); box-shadow:0 0 0 3px rgba(169,31,63,.1); }
.affiliate-payout-form button,.affiliate-payout-balance button { min-height:46px; padding:0 20px; border:1px solid var(--maroon); border-radius:7px; background:var(--maroon); color:#fff; font-size:12px; font-weight:700; cursor:pointer; }
.affiliate-payout-form button { grid-column:1/-1; justify-self:start; }
.affiliate-payout-balance { display:flex; flex-direction:column; justify-content:space-between; background:#f2f4f4; border-color:#c9cdd0; }
.affiliate-payout-balance span { display:block; color:var(--muted); font-size:11px; }
.affiliate-payout-balance strong { margin-top:10px; display:block; font:400 38px var(--display); line-height:1; }
.affiliate-payout-balance p { margin:12px 0 24px; color:var(--muted); font-size:11px; line-height:1.55; }
.affiliate-payout-balance form { margin:0; }
.affiliate-payout-balance button { width:100%; }
.affiliate-payout-balance button:disabled { border-color:#d5d8da; background:#d5d8da; color:#676c70; cursor:not-allowed; }
.affiliate-payout-balance small { margin-top:9px; display:block; color:var(--muted); font-size:10px; line-height:1.45; }
.affiliate-payout-breakdown { margin:0 0 22px; border-top:1px solid var(--line); }
.affiliate-payout-breakdown div { padding:9px 0; display:flex; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); }
.affiliate-payout-breakdown dt { color:var(--muted); font-size:10px; }
.affiliate-payout-breakdown dd { margin:0; color:var(--navy); font-size:11px; font-weight:700; text-align:right; }
.customer-table-wrap td small { margin-top:4px; display:block; color:var(--muted); font-size:10px; }
.customer-invoice-link { display:inline-flex; min-height:32px; padding:0 12px; align-items:center; justify-content:center; border:1px solid rgba(17,42,74,.34); border-radius:6px; color:var(--navy); font-size:10px; font-weight:700; white-space:nowrap; }
.customer-invoice-link:hover { border-color:var(--navy); background:rgba(17,42,74,.06); }
.payout-status { display:inline-block; padding:5px 9px; border-radius:999px; background:#fff0cf; color:#87611d; font-size:10px; font-weight:700; }
.payout-status-approved { background:#e5edf6; color:#31577e; }
.payout-status-paid { background:#e4f2e7; color:#28623d; }
.payout-status-rejected { background:#f8dddd; color:#8d2435; }
.customer-profile-section { min-height:480px; }
.customer-profile-editor { display:grid; align-items:start; border-top:1px solid #c6a660; border-bottom:1px solid var(--line); }
.customer-profile-pane { min-width:0; }
.customer-profile-section-heading::before { height:2px; display:block; background:#c6a660; content:''; }
.customer-profile-section-heading h2 { margin:0; font:400 31px/1.15 var(--display); }
.customer-profile-section-heading p { margin:8px 0 0; color:var(--muted); line-height:1.6; }
.customer-profile-fields { display:grid; }
.customer-profile-fields-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.customer-profile-fields label { min-width:0; display:grid; color:var(--navy); font-weight:700; }
.customer-profile-fields input,.customer-profile-fields textarea,.customer-profile-fields select { width:100%; padding:0 14px; border:1px solid #bfc6cc; background:#fff; color:var(--navy); outline:none; transition:border-color .2s ease,box-shadow .2s ease; }
.customer-profile-fields textarea { padding-block:13px; resize:vertical; line-height:1.55; }
.customer-profile-fields input[readonly] { background:#f1f3f3; color:var(--muted); cursor:not-allowed; }
.customer-profile-fields input:focus,.customer-profile-fields textarea:focus,.customer-profile-fields select:focus { border-color:var(--maroon); box-shadow:0 0 0 3px rgba(117,31,50,.09); }
.customer-profile-fields>small { margin-top:-8px; color:var(--muted); font-size:9px; line-height:1.5; }
.customer-profile-field-wide { grid-column:1/-1; }
.customer-profile-social { margin-top:30px; padding-top:28px; border-top:1px solid var(--line); }
.customer-profile-personal { margin-top:30px; padding-top:28px; border-top:1px solid var(--line); }
.customer-social-input { display:grid; grid-template-columns:44px 1fr; }
.customer-social-input>span { display:grid; place-items:center; border:1px solid #bfc6cc; border-right:0; border-radius:8px 0 0 8px; background:#f1f3f3; color:var(--muted); font-size:14px; }
.customer-social-input input { border-radius:0 8px 8px 0; }
.customer-profile-save { min-height:52px; margin:28px 0 0 auto; display:flex; align-items:center; justify-content:space-between; border:0; border-radius:8px; background:var(--maroon); color:#fff; font-weight:700; cursor:pointer; box-shadow:0 12px 24px rgba(117,31,50,.14); }
.customer-profile-save:hover { background:#611727; }
.customer-security-panel { border:1px solid var(--line); border-radius:10px; background:#f5f6f6; }
.customer-notification-panel { margin-top:24px; padding:28px 34px; display:grid; grid-template-columns:54px minmax(0,1fr) auto; gap:22px; align-items:center; border:1px solid #c9b272; border-radius:12px; background:linear-gradient(120deg,#fffaf0 0%,#fff 52%,#f1f3f3 100%); box-shadow:0 12px 32px rgba(48,51,54,.055); }
.customer-notification-icon { width:54px; height:54px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--maroon); box-shadow:0 8px 22px rgba(117,31,50,.1); }
.customer-notification-icon svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.customer-notification-copy h2 { margin:5px 0 7px; font:400 27px/1.15 var(--display); }
.customer-notification-copy p { max-width:680px; margin:0; color:var(--muted); font-size:11px; line-height:1.6; }
.customer-notification-copy small { margin-top:9px; display:block; color:#7c5a1d; font-size:10px; font-weight:600; }
.customer-notification-button { min-width:180px; min-height:48px; padding:0 18px; border:1px solid var(--maroon); border-radius:8px; background:var(--maroon); color:#fff; font-size:11px; font-weight:700; cursor:pointer; }
.customer-notification-button.enabled { background:#fff; color:var(--maroon); }
.customer-notification-button:disabled { border-color:#c4c8cc; background:#e7e9ea; color:#7b8186; cursor:not-allowed; }
.customer-security-heading,.customer-session-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.customer-security-heading h2 { margin:5px 0 7px; font:400 32px/1.12 var(--display); }
.customer-security-heading p,.customer-session-heading p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }
.customer-security-heading form,.customer-session-heading form { flex:0 0 auto; }
.customer-session-revoke-all { min-height:43px; padding:0 17px; border:1px solid rgba(117,31,50,.55); border-radius:8px; background:#fff; color:var(--maroon); font-size:11px; font-weight:700; cursor:pointer; }
.customer-session-revoke-all:hover { border-color:var(--maroon); background:#fff3f5; }
.customer-password-form { padding:0; grid-template-columns:repeat(3,minmax(0,1fr)) auto; align-items:end; }
.customer-password-form { margin-top:25px; padding-bottom:28px; border-bottom:1px solid var(--line); }
.customer-password-form>button { min-height:48px; margin:0; padding:0 19px; border:0; border-radius:8px; background:var(--maroon); color:#fff; font-size:11px; font-weight:700; cursor:pointer; white-space:nowrap; }
.customer-password-form>button:hover { background:#611727; }
.customer-password-input { position:relative; display:block; }
.customer-password-input input { padding-right:50px; }
.customer-password-toggle { position:absolute; top:5px; right:5px; width:38px; height:38px; min-height:0; margin:0; padding:0; display:grid; place-items:center; border:0; border-radius:6px; background:transparent; color:#5e6b79; cursor:pointer; transition:background .18s ease,color .18s ease; }
.customer-password-toggle:hover,.customer-password-toggle:focus-visible { background:#edf0f1; color:var(--maroon); outline:none; }
.customer-password-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.customer-password-eye-off { display:none; }
.customer-password-toggle.is-visible .customer-password-eye { display:none; }
.customer-password-toggle.is-visible .customer-password-eye-off { display:block; }
.customer-session-heading { margin-top:27px; align-items:center; }
.customer-session-heading h3 { margin:0 0 5px; font:400 25px/1.15 var(--display); }
.customer-account-session-list { margin-top:18px; display:grid; gap:10px; }
.customer-account-session-list article { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:14px; border:1px solid #d5d9dc; border-radius:9px; background:#fff; }
.customer-account-session-list article.current { border-color:rgba(63,132,85,.4); box-shadow:inset 3px 0 #4a9561; }
.customer-account-session-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#edf0f1; color:var(--maroon); font-family:var(--display); font-size:17px; }
.customer-account-session-list article>div { min-width:0; display:grid; gap:3px; }
.customer-account-session-list strong { color:var(--navy); font-size:12px; }
.customer-account-session-list span,.customer-account-session-list small { color:var(--muted); font-size:9px; line-height:1.4; }
.customer-current-session { padding:5px 8px; border-radius:999px; background:#e4f2e7; color:#28623d!important; font-weight:700; white-space:nowrap; }
.customer-account-session-list form button { min-height:36px; padding:0 12px; border:1px solid #d49aa6; border-radius:7px; background:#fff; color:var(--maroon); font-size:10px; font-weight:700; cursor:pointer; }
.customer-account-session-list form button:hover { background:#fff1f3; }
.customer-session-empty { margin-top:18px; padding:25px 20px; display:grid; gap:5px; border:1px dashed #c9ced1; border-radius:9px; background:#fff; text-align:center; }
.customer-session-empty strong { color:var(--navy); font:400 21px/1.25 var(--display); }
.customer-session-empty span { color:var(--muted); font-size:10px; line-height:1.55; }
.customer-install-panel[hidden] { display:none; }
.customer-install-panel { margin-top:20px; padding:24px 28px; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.customer-install-panel-global { margin:18px auto 0; }
.customer-install-icon { display:grid; place-items:center; border-radius:50%; background:#eef0f0; color:var(--maroon); }
.customer-install-icon svg { fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.customer-install-copy>p { margin:0; color:var(--muted); line-height:1.55; }
.customer-install-button { display:flex; align-items:center; justify-content:space-between; gap:18px; border:1px solid var(--maroon); border-radius:8px; background:var(--maroon); color:#fff; font-weight:700; cursor:pointer; }
.customer-install-button:hover,.customer-install-button:focus-visible { background:#611727; outline:none; box-shadow:0 0 0 3px rgba(117,31,50,.11); }
.customer-install-button:disabled { border-color:#cfd3d5; background:#cfd3d5; color:#656b70; cursor:default; box-shadow:none; }
.customer-install-instructions { margin-top:12px; padding:12px 14px; border-left:2px solid #c6a660; background:#f5f6f6; color:var(--navy); font-size:11px; line-height:1.6; }
.customer-install-instructions strong { display:block; margin-bottom:3px; }
.customer-profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start; }
.customer-profile-card { overflow:hidden; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 12px 34px rgba(48,51,54,.055); }
.customer-profile-card-heading { padding:25px 28px 22px; border-bottom:1px solid var(--line); background:linear-gradient(115deg,#fff 0%,#f3f4f4 100%); }
.customer-profile-card-heading > span { display:block; margin-bottom:8px; color:#956f25; font-size:9px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.customer-profile-card-heading h2 { font-size:30px; }
.customer-profile-card-heading p { max-width:540px; margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.customer-profile-form { padding:26px 28px 28px; display:grid; gap:16px; }
.customer-profile-form label { display:grid; gap:7px; color:var(--navy); font-size:12px; font-weight:700; }
.customer-profile-form input { width:100%; height:48px; padding:0 14px; border:1px solid #bfc3c9; border-radius:8px; background:#fff; color:var(--navy); outline:none; }
.customer-profile-form input[readonly] { background:#f1f3f3; color:var(--muted); cursor:not-allowed; }
.customer-profile-form input:focus { border-color:var(--maroon); box-shadow:0 0 0 3px rgba(117,31,50,.1); }
.customer-profile-form small { margin-top:-8px; color:var(--muted); font-size:10px; line-height:1.5; }
.customer-profile-form button { min-height:50px; margin-top:4px; padding:0 20px; border:1px solid var(--maroon); border-radius:8px; background:var(--maroon); color:#fff; font-size:12px; font-weight:700; cursor:pointer; }
.customer-profile-form button:hover { background:#5f1728; }
.customer-footer { display:grid; border-top:1px solid #c5c9cc; background:#f1f3f3; color:rgba(48,51,54,.78); }
.customer-footer-brand { display:flex; align-items:center; }
.customer-footer img { object-fit:contain; }
.customer-footer-brand>span { color:var(--navy); font-family:Georgia,serif; }
.customer-footer-connect>p { margin:0 0 11px; color:var(--muted); font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.customer-footer-contact { display:grid; }
.customer-footer-contact a { min-width:0; display:flex; align-items:center; border:1px solid #d8dadd; background:#fff; color:var(--navy); font-weight:500; transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.customer-footer-contact a:hover,.customer-footer-contact a:focus-visible { border-color:rgba(117,31,50,.42); box-shadow:0 8px 20px rgba(48,51,54,.08); color:var(--navy); outline:none; transform:translateY(-1px); }
.customer-footer-contact a>span:last-child { min-width:0; display:grid; }
.customer-footer-contact small { color:var(--muted); font-weight:600; letter-spacing:.04em; }
.customer-footer-contact strong { overflow:hidden; color:var(--navy); font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.customer-footer-icon { flex:0 0 auto; display:grid; place-items:center; border-radius:50%; background:rgba(117,31,50,.08); color:var(--maroon); }
.customer-footer-icon svg { fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.customer-footer-icon .icon-dot { fill:currentColor; stroke:none; }
.customer-footer-links { display:flex; align-items:center; }
.customer-footer-links a { color:var(--navy); font-weight:700; }
.customer-footer-links a:hover,.customer-footer-links a:focus-visible { color:var(--maroon); }
.customer-auth-shell { position:relative; min-height:100vh; padding:42px 20px; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; background:linear-gradient(145deg,#f6f7f7 0%,#fff 52%,#f1f3f3 100%); }
.customer-auth-shell::before { position:absolute; right:-6%; bottom:-12%; width:min(760px,70vw); height:55%; background:url('customer-home-landscape-v1.png') center bottom/cover no-repeat; opacity:.15; mask-image:linear-gradient(90deg,transparent 0%,#000 38%); pointer-events:none; content:''; }
.customer-auth-logo { position:relative; z-index:1; width:122px; height:92px; margin-bottom:20px; display:grid; place-items:center; }
.customer-auth-logo img { width:112px; height:88px; object-fit:contain; }
.customer-auth-card { position:relative; z-index:1; width:min(480px,100%); padding:38px 42px; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.96); box-shadow:0 22px 60px rgba(48,51,54,.11); }
.customer-label { margin:0 0 10px !important; color:#98793f !important; font-size:9px !important; font-weight:700; letter-spacing:.2em; text-transform:uppercase; }
.customer-auth-card h1 { margin:0; color:var(--navy); font-family:var(--display); font-size:clamp(36px,5vw,43px); font-weight:400; line-height:1.08; letter-spacing:-.025em; }
.customer-auth-card > p,.customer-auth-view>p { margin:12px 0 24px; color:var(--muted); font-size:13px; line-height:1.65; }
.customer-auth-view[hidden] { display:none; }
.customer-auth-card form { display:grid; gap:15px; }
.customer-auth-card label { display:grid; gap:7px; color:var(--navy); font-size:12px; font-weight:700; }
.customer-auth-card input { width:100%; height:50px; padding:0 15px; border:1px solid #b9bec7; border-radius:9px; background:#fff; color:var(--navy); outline:none; }
.customer-auth-card input::placeholder { color:#939aa3; }
.customer-auth-card input:focus { border-color:var(--maroon); box-shadow:0 0 0 3px rgba(169,31,63,.1); }
.customer-auth-card form>button { min-height:51px; margin-top:2px; border:0; border-radius:9px; background:var(--maroon); color:#fff; font-size:13px; font-weight:700; cursor:pointer; transition:background .18s ease,transform .18s ease; }
.customer-auth-card form>button:hover,.customer-auth-card form>button:focus-visible { background:#611727; outline:none; transform:translateY(-1px); }
.customer-auth-switch,.customer-auth-back { width:100%; height:auto; min-height:42px; margin:14px 0 -7px; padding:8px; display:flex; align-items:center; justify-content:center; gap:7px; border:0; background:transparent; color:var(--maroon); font-size:12px; font-weight:600; text-align:center; cursor:pointer; }
.customer-auth-switch:hover,.customer-auth-switch:focus-visible,.customer-auth-back:hover,.customer-auth-back:focus-visible { color:#551121; outline:none; text-decoration:underline; }
.customer-auth-card .customer-password-toggle { top:6px; right:6px; width:38px; height:38px; min-height:0; margin:0; padding:0; border:0; border-radius:7px; background:transparent; color:#5e6b79; transform:none; }
.customer-auth-card .customer-password-toggle:hover,.customer-auth-card .customer-password-toggle:focus-visible { background:#edf0f1; color:var(--maroon); transform:none; }
.customer-password-hint { margin-top:-6px; color:var(--muted); font-size:10px; line-height:1.5; }
.customer-reset-card { width:min(510px,100%); }
.customer-reset-back { min-height:42px; margin:16px 0 -8px; display:flex; align-items:center; justify-content:center; color:var(--maroon); font-size:11px; font-weight:700; }
.customer-reset-back:hover,.customer-reset-back:focus-visible { color:#551121; text-decoration:underline; outline:none; }
.customer-reset-invalid { padding:15px 16px; display:grid; gap:4px; border:1px solid #e4acb7; border-radius:9px; background:#fff1f3; color:#8d1832; font-size:12px; line-height:1.55; }
.customer-reset-invalid span { color:#7c555e; }
.customer-alert { margin:0 0 18px; padding:11px 13px; border:1px solid; border-radius:7px; font-size:12px; line-height:1.5; }
.customer-alert.error { border-color:#e4acb7; background:#fff1f3; color:#8d1832; }
.customer-alert.success { border-color:#b9d7c1; background:#edf8f0; color:#24603a; }
.customer-auth-card>.customer-alert,.customer-auth-view>.customer-alert { margin:0 0 18px; }
.customer-auth-card>.customer-alert.error,.customer-auth-view>.customer-alert.error { color:#8d1832; }
.customer-auth-card>.customer-alert.success,.customer-auth-view>.customer-alert.success { color:#24603a; }
.customer-auth-foot { position:relative; z-index:1; margin:18px 0 0; color:var(--muted); font-size:10px; text-align:center; }
@media(max-width:1180px){.customer-header nav>a{font-size:12px}.customer-profile{font-size:12px}.customer-profile form{padding-left:12px}.owned-product{grid-template-columns:125px minmax(230px,1fr) minmax(130px,.35fr) auto;gap:24px}.owned-product>img,.owned-product-placeholder{width:118px;height:158px}}
@media(max-width:960px){.owned-product{grid-template-columns:112px 1fr auto}.customer-primary{grid-row:1/3;grid-column:3}.customer-welcome blockquote{max-width:320px;font-size:17px}.customer-quick-grid{grid-template-columns:1fr}.customer-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-profile-grid{grid-template-columns:1fr}.customer-footer{min-height:110px}}
@media(max-width:960px){.customer-profile-editor{grid-template-columns:1fr}.customer-profile-account{border-right:0;border-bottom:1px solid var(--line)}.customer-password-form{grid-template-columns:1fr 1fr}.customer-password-form>button{grid-column:1/-1}.customer-account-session-list article{grid-template-columns:auto minmax(0,1fr) auto}.customer-account-session-list form{grid-column:2/4}.customer-account-session-list form button{width:100%}}
@media(max-width:720px){.customer-install-panel{grid-template-columns:auto 1fr;padding:21px 20px}.customer-install-button{grid-column:1/-1;width:100%}}
@media(max-width:840px){.customer-menu{display:block;border:1px solid rgba(17,42,74,.5);border-radius:7px;color:var(--navy);font-weight:700}.customer-header nav{position:absolute;z-index:25;height:auto;display:none;grid-template-columns:1fr;gap:4px;overflow:auto;border:1px solid #cbd3c7;background:#fff}.customer-header nav.open{display:grid}.customer-header nav>a{padding:0 14px;color:var(--navy);font-family:var(--sans)}.customer-header nav>a.active{border-radius:7px}.customer-header nav>a.active::after{right:14px;bottom:4px;left:14px;height:2px}.customer-profile{margin:5px 0 0;justify-content:space-between;border-top:1px solid var(--line);border-left:0}.customer-profile form{margin-left:auto}.customer-welcome{min-height:auto;padding-block:44px;align-items:flex-start;flex-direction:column}.customer-welcome blockquote{max-width:100%;font-size:16px}.customer-page-hero{padding-block:42px 34px}.owned-product-placeholder{font-size:40px}.owned-product h3{font-size:23px}.customer-primary{grid-row:auto}.affiliate-invite{align-items:stretch;flex-direction:column}.affiliate-invite button{width:100%}.affiliate-link-row{grid-template-columns:1fr 1fr}.affiliate-link-row input{grid-column:1/-1}.affiliate-stats{grid-template-columns:1fr}.affiliate-stats div,.affiliate-stats div:first-child{padding:12px 0;border-right:0;border-bottom:1px solid var(--line)}.affiliate-stats div:last-child{border-bottom:0}.affiliate-payout-grid{grid-template-columns:1fr}.customer-footer-connect{justify-self:stretch;width:100%}.customer-footer-contact a{justify-content:flex-start}.customer-footer-links{flex-wrap:wrap}.customer-table-wrap{border:0;overflow:visible}.customer-table-wrap table,.customer-table-wrap tbody{display:block}.customer-table-wrap thead{display:none}.customer-table-wrap tr{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:14px;border:1px solid var(--line);border-radius:10px}.customer-table-wrap td{padding:0;display:block;border:0;white-space:normal}.customer-table-wrap td::before{display:block;margin-bottom:4px;color:var(--muted);font-size:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;content:attr(data-label)}}
@media(max-width:840px){.affiliate-product-links{padding:20px}.affiliate-product-links-heading{display:block}.affiliate-product-links-heading>span{display:inline-flex;margin-top:12px}.affiliate-product-overview{grid-template-columns:94px minmax(0,1fr);gap:18px;align-items:start}.affiliate-product-cover{width:94px;height:126px}.affiliate-product-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.affiliate-product-metrics div,.affiliate-product-metrics div:nth-child(3n){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.affiliate-product-metrics div:nth-child(2n){border-right:0}.affiliate-product-metrics div:nth-last-child(-n+2){border-bottom:0}.affiliate-product-link-action{margin:15px 0 0;grid-template-columns:1fr 1fr}.affiliate-product-link-action input,.affiliate-product-link-action label{grid-column:1/-1}}
@media(max-width:480px){.affiliate-product-overview{grid-template-columns:74px minmax(0,1fr);gap:14px}.affiliate-product-cover{width:74px;height:100px}.affiliate-product-copy h3{font-size:21px}.affiliate-product-metrics{grid-column:1/-1;margin-left:-88px;margin-top:16px}.affiliate-product-link-action button,.affiliate-product-link-action a{padding-inline:10px;font-size:10px}}
@media(max-width:600px){.customer-library-toolbar{align-items:stretch;flex-direction:column}.customer-library-toolbar>span{align-self:flex-end}.customer-resource-grid{grid-template-columns:1fr}}
@media(max-width:600px){.customer-library-filters{margin-inline:-18px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.customer-library-filters::-webkit-scrollbar{display:none}.customer-library-filters button{flex:0 0 auto}.customer-profile-editor{border-top:0}.customer-profile-fields-grid{grid-template-columns:1fr}.customer-profile-field-wide{grid-column:auto}.customer-profile-save{z-index:5;bottom:12px;margin-top:24px}.customer-security-panel{margin:26px -18px 0;padding:26px 18px;border-right:0;border-left:0;border-radius:0}.customer-notification-panel{margin:24px -18px 0;grid-template-columns:46px 1fr;gap:16px;border-right:0;border-left:0;border-radius:0}.customer-notification-icon{width:46px;height:46px}.customer-security-heading,.customer-session-heading{flex-direction:column}.customer-security-heading form,.customer-session-heading form,.customer-security-secondary,.customer-session-revoke-all{width:100%}.customer-password-form{grid-template-columns:1fr}.customer-password-form>button{grid-column:auto}.customer-account-session-list article{grid-template-columns:auto minmax(0,1fr)}.customer-current-session{justify-self:start}.customer-account-session-list form{grid-column:1/-1}.customer-resource-grid{border-right:0;border-left:0;border-radius:0}}
@media(max-width:600px){.customer-install-panel{margin:20px -18px 0;border-right:0;border-left:0;border-radius:0}.customer-install-icon{width:44px;height:44px}.customer-install-copy h2{font-size:24px}}
@media(max-width:600px){.customer-install-panel-global{width:calc(100% - 36px);margin:14px auto 0;border:1px solid var(--line);border-radius:10px}.customer-install-panel-global .customer-install-copy h2{font-size:22px}}
@media(max-width:840px){.customer-header nav{border-color:#d1d5d7}.customer-header nav>a.active{background:#f1f3f3}}
@media(max-width:480px){.customer-welcome,.customer-page-hero,.customer-section{padding-inline:18px}.customer-welcome h1{font-size:39px}.customer-page-hero h1{font-size:41px}.customer-page-hero p{font-size:14px}.customer-auth-shell{min-height:100svh;padding:24px 16px}.customer-auth-shell::before{right:-35%;bottom:-4%;width:135vw;height:38%;opacity:.12}.customer-auth-logo{width:104px;height:76px;margin-bottom:14px}.customer-auth-logo img{width:96px;height:74px}.customer-auth-card{padding:29px 22px;border-radius:14px}.customer-auth-card h1{font-size:36px}.customer-auth-card>p,.customer-auth-view>p{font-size:12px}.customer-section{padding-block:30px}.owned-product{padding:16px;grid-template-columns:82px 1fr;gap:16px}.owned-product>img,.owned-product-placeholder{width:80px;height:108px}.owned-product-copy p{font-size:11px}.customer-section h2{font-size:28px}.customer-quick-grid>a{padding:18px;gap:14px}.customer-profile-card-heading,.customer-profile-form{padding:21px 18px}.customer-footer{padding:30px 18px 20px}.customer-footer-brand{align-items:center;gap:18px}.customer-footer img{width:94px;height:62px}.customer-footer-brand>span{font-size:16px}.customer-footer-connect>p{text-align:center}.customer-footer-contact{grid-template-columns:1fr}.customer-footer-links{gap:12px 18px}.affiliate-payout-form{grid-template-columns:1fr}.affiliate-payout-form label:last-of-type{grid-column:auto}.affiliate-payout-form button{grid-column:auto;width:100%}.affiliate-payout-card{padding:19px}.affiliate-payout-balance strong{font-size:33px}}
@media(max-width:1180px){.customer-home-rail>a{grid-template-columns:42px minmax(0,1fr) 16px;gap:10px}.customer-home-icon{width:40px;height:40px}.customer-home-rail strong{font-size:18px}}
@media(max-width:960px){.customer-home-hero{min-height:auto;grid-template-columns:minmax(280px,.7fr) minmax(430px,1.3fr)}.customer-home-intro{padding-top:28px}.customer-home-intro blockquote{margin-top:34px;font-size:17px}.customer-home-feature{grid-template-columns:minmax(165px,220px) minmax(200px,1fr)}.customer-home-access{display:block;padding-top:30px}.customer-home-access-heading{max-width:480px;padding:0 0 24px}.customer-home-rail{margin-inline:0;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #d1d5d7}.customer-home-rail>a{min-height:112px;border-bottom:1px solid #d1d5d7}}
@media(max-width:840px){.customer-home-hero{display:block}.customer-home-intro{padding-top:0}.customer-home-intro blockquote{max-width:none;border-top:1px solid #c6a660;border-bottom:1px solid #c6a660;text-align:center}.customer-home-rule{margin-bottom:18px}.customer-home-cta{padding-inline:18px}.customer-home-rail{border-left:0}.customer-home-rail>a{border-right:0}.customer-home-rail small{min-height:0}.customer-home-icon{width:46px;height:46px}}
@media(max-width:480px){.customer-home-intro blockquote{font-size:15px}.customer-home-feature{grid-template-columns:minmax(105px,.75fr) minmax(145px,1.25fr);gap:14px}.customer-home-feature-copy>p{font-size:9px}.customer-home-feature-copy h2{font-size:29px}.customer-home-type{font-size:10px}.customer-home-cta{width:100%;font-size:12px}.customer-home-access-heading h2{font-size:28px}.customer-home-rail>a{grid-template-columns:46px minmax(0,1fr) 20px;gap:13px}}
@media(max-width:1180px){.customer-store-cover{height:245px}.customer-home-store{gap:24px}.customer-home-store-copy h2{font-size:26px}}
@media(max-width:960px){.customer-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-home-store{grid-template-columns:minmax(0,1fr) auto}.customer-home-store-count{display:none}}
@media(max-width:840px){.customer-home-store{grid-template-columns:1fr}.customer-home-store-copy{align-items:flex-start}}
@media(max-width:840px){.customer-home-community{grid-template-columns:auto minmax(0,1fr)}.customer-home-community>a{grid-column:2;width:max-content}}
@media(max-width:600px){.customer-store-copy p{min-height:0}.customer-store-card:hover{transform:none}}
@media(max-width:840px){
  html.pwa-standalone body { padding-bottom:calc(74px + env(safe-area-inset-bottom)); }
  html.pwa-standalone body.customer-app-more-open { overflow:hidden; }
  html.pwa-standalone .customer-header { grid-template-columns:1fr; }
  html.pwa-standalone .customer-menu,html.pwa-standalone #customer-nav { display:none!important; }
  html.pwa-standalone .customer-app-nav { position:fixed; z-index:62; right:0; bottom:0; left:0; padding:5px 8px max(5px,env(safe-area-inset-bottom)); display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:start; border-top:1px solid #d8dadd; background:rgba(255,255,255,.97); box-shadow:0 -10px 28px rgba(48,51,54,.12); backdrop-filter:blur(14px); }
  html.pwa-standalone .customer-app-nav>a,html.pwa-standalone .customer-app-nav>button { position:relative; min-width:0; padding:5px 2px 3px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:3px; border:0; border-radius:10px; background:transparent; color:#73777b; font-family:var(--sans); font-size:9px; font-weight:600; line-height:1.15; cursor:pointer; }
  html.pwa-standalone .customer-app-nav>a::before,html.pwa-standalone .customer-app-nav>button::before { position:absolute; top:-5px; left:50%; width:28px; height:3px; border-radius:0 0 3px 3px; background:transparent; content:''; transform:translateX(-50%); }
  html.pwa-standalone .customer-app-nav>a.active,html.pwa-standalone .customer-app-nav>button.active,html.pwa-standalone .customer-app-nav>button[aria-expanded="true"] { color:var(--maroon); }
  html.pwa-standalone .customer-app-nav>a.active::before,html.pwa-standalone .customer-app-nav>button.active::before,html.pwa-standalone .customer-app-nav>button[aria-expanded="true"]::before { background:#dfb85d; }
  .customer-app-nav-icon { width:22px; height:22px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
  html.pwa-standalone .customer-app-nav .customer-app-store-item::before { display:none; }
  html.pwa-standalone .customer-app-nav .customer-app-store-item .customer-app-nav-icon { border:4px solid #fff; border-radius:50%; background:var(--maroon); color:#fff; box-shadow:0 7px 18px rgba(117,31,50,.27); }
  html.pwa-standalone .customer-app-nav .customer-app-store-item.active .customer-app-nav-icon { background:#611727; }
  html.pwa-standalone .customer-app-nav .customer-app-store-item span { margin-top:-2px; color:var(--maroon); font-weight:800; }
  html.pwa-standalone .customer-app-more-backdrop { position:fixed; z-index:60; inset:0; display:block; border:0; background:rgba(32,35,38,.38); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease,visibility .2s ease; }
  html.pwa-standalone .customer-app-more-backdrop.is-open { opacity:1; visibility:visible; pointer-events:auto; }
  html.pwa-standalone .customer-app-more { position:fixed; z-index:61; right:12px; bottom:calc(82px + env(safe-area-inset-bottom)); left:12px; max-height:calc(100dvh - 110px - env(safe-area-inset-bottom)); padding:20px 18px 16px; display:block; overflow:auto; border:1px solid #d8dadd; border-radius:20px; background:#fff; box-shadow:0 22px 52px rgba(32,35,38,.24); opacity:0; visibility:hidden; pointer-events:none; transform:translateY(18px); transition:opacity .2s ease,visibility .2s ease,transform .2s ease; }
  html.pwa-standalone .customer-app-more.is-open { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
  .customer-app-more-heading { padding:0 2px 15px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
  .customer-app-more-heading span { color:#956f25; font-size:8px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
  .customer-app-more-heading h2 { margin:4px 0 0; font:400 30px/1 var(--display); }
  .customer-app-more-heading>button { width:40px; height:40px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:#f5f6f6; color:var(--navy); font-size:26px; font-weight:300; line-height:1; cursor:pointer; }
  .customer-app-more nav { display:grid; }
  .customer-app-more nav>a { min-height:70px; padding:11px 4px; display:grid; grid-template-columns:42px minmax(0,1fr) 20px; align-items:center; gap:12px; border-bottom:1px solid var(--line); color:var(--navy); }
  .customer-app-more nav>a>.customer-app-nav-icon { width:42px; height:42px; padding:10px; border-radius:12px; background:#f1f3f3; color:var(--maroon); }
  .customer-app-more nav>a>span { min-width:0; display:grid; gap:3px; }
  .customer-app-more nav strong { font-size:13px; }
  .customer-app-more nav small { overflow:hidden; color:var(--muted); font-size:10px; font-weight:400; text-overflow:ellipsis; white-space:nowrap; }
  .customer-app-more nav b { color:#9a7a3b; font-size:17px; font-weight:500; }
  .customer-app-more nav>a.active { color:var(--maroon); }
  .customer-app-more form { margin:12px 0 0; display:flex; justify-content:center; }
  .customer-app-more form button { width:auto; min-width:168px; min-height:44px; padding:0 16px; display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid rgba(117,31,50,.28); border-radius:9px; background:#fff; color:var(--maroon); font-size:10px; font-weight:700; cursor:pointer; }
  .customer-app-more form .customer-app-nav-icon { width:17px; height:17px; }
}
@media(max-width:600px){html.pwa-standalone .customer-profile-save{bottom:calc(86px + env(safe-area-inset-bottom));}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.pwa-launch-screen{transition:none!important}}

/* Customer experience refresh v10 */
:root {
  --customer-shell:max(clamp(22px,4.5vw,68px),calc((100vw - 1360px)/2));
  --customer-control:44px;
  --customer-radius:9px;
}
:where(.customer-view,.customer-auth-shell) :focus-visible { outline:2px solid rgba(117,31,50,.78); outline-offset:3px; }
.customer-header { min-height:72px; padding:6px var(--customer-shell); grid-template-columns:148px 1fr; gap:24px; border-color:#d7dade; background:rgba(247,248,248,.96); box-shadow:none; backdrop-filter:blur(14px); }
.customer-logo { width:132px; height:54px; }
.customer-logo img { width:124px; height:50px; }
.customer-header nav { gap:clamp(15px,1.9vw,27px); }
.customer-header nav>a { font-size:12px; }
.customer-header nav>a.active::after { height:2px; background:#c6a660; }
.customer-profile { min-height:38px; padding-left:18px; gap:13px; font-size:11px; }
.customer-profile>a:first-child { min-width:64px; padding:3px 0; display:grid; gap:1px; line-height:1.15; }
.customer-profile>a:first-child span { color:var(--muted); font-size:8px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.customer-profile>a:first-child strong { color:var(--navy); font-size:12px; font-weight:700; }
.customer-profile-history { font-weight:600; }
.customer-profile form { padding-left:13px; }
.customer-profile button { font-size:11px; }
.customer-main { background:#fff; }
.customer-page-hero::after { width:min(48vw,650px); opacity:.18; }
.customer-page-hero p { max-width:650px; }
.customer-home-hero { min-height:454px; padding:34px var(--customer-shell) 30px; grid-template-columns:minmax(320px,.8fr) minmax(500px,1.2fr); gap:clamp(36px,5vw,76px); }
.customer-home-hero::after { height:58%; opacity:.45; }
.customer-home-intro { padding-top:31px; }
.customer-home-intro h1 { font-size:clamp(44px,4.7vw,62px); }
.customer-home-intro>p { max-width:475px; margin-top:15px; font-size:13px; line-height:1.65; }
.customer-home-intro blockquote { max-width:440px; margin-top:32px; padding:14px 0 0 20px; font-size:17px; }
.customer-home-feature { grid-template-columns:minmax(170px,248px) minmax(210px,1fr); gap:clamp(24px,3.4vw,48px); }
.customer-home-cover { padding:12px; }
.customer-home-cover img { max-height:350px; }
.customer-home-rule { width:54px; margin-bottom:18px; }
.customer-home-feature-copy>p { margin-bottom:8px; font-size:10px; }
.customer-home-feature-copy h2 { font-size:clamp(31px,3.1vw,44px); }
.customer-home-type { margin-top:9px; font-size:10px; }
.customer-home-cta { width:min(218px,100%); min-height:44px; margin-top:22px; padding:0 18px; border-radius:7px; font-size:11px; box-shadow:none; }
.customer-home-store { padding:19px var(--customer-shell); gap:25px; }
.customer-home-store-copy { gap:16px; }
.customer-home-store-copy .customer-home-icon { width:46px; height:46px; }
.customer-home-store-copy h2 { font-size:24px; }
.customer-home-store-copy p { margin-top:5px; font-size:10px; }
.customer-home-store-count strong { font-size:26px; }
.customer-home-store>a { min-width:164px; min-height:42px; padding:0 16px; font-size:10px; box-shadow:none; }
.customer-home-access { padding:0 var(--customer-shell); grid-template-columns:220px 1fr; gap:28px; }
.customer-home-access-heading { padding:27px 0 25px; }
.customer-home-access-heading h2 { font-size:25px; }
.customer-home-rail>a { min-height:108px; padding:17px 15px; grid-template-columns:40px minmax(0,1fr) 16px; gap:10px; }
.customer-home-icon { width:39px; height:39px; }
.customer-home-icon svg { width:20px; height:20px; }
.customer-home-rail strong { font-size:17px; }
.customer-home-rail small { min-height:24px; font-size:9px; }
.customer-primary,.customer-profile-save { min-height:44px; box-shadow:none; }
.customer-primary { padding-inline:19px; font-size:11px; }
.customer-library-toolbar input { min-height:44px; }
.owned-product { grid-template-columns:108px minmax(260px,1fr) minmax(125px,.28fr) auto; gap:24px; box-shadow:none; }
.owned-product>img,.owned-product-placeholder { width:102px; height:137px; }
.customer-store-section { background:#f7f8f8; }
.customer-store-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.customer-store-card { box-shadow:none; }
.customer-store-card:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(48,51,54,.07); }
.customer-store-cover { height:235px; }
.customer-store-cover img { position:absolute; inset:16px; width:calc(100% - 32px); height:calc(100% - 32px); padding:0; object-fit:contain; }
.customer-store-copy p { min-height:48px; margin-top:8px; font-size:10px; }
.customer-store-footer { padding:0 18px 18px; gap:12px; }
.customer-store-price strong { font-size:20px; }
.customer-store-action { min-height:42px; padding-inline:14px; font-size:10px; }
.customer-history { background:#f7f8f8; }
.customer-history .customer-table-wrap { border-radius:10px; }
.customer-history .customer-table-wrap th,.customer-history .customer-table-wrap td { padding:12px 14px; }
.customer-history-pay { min-height:30px; padding-inline:10px; box-shadow:none; }
.customer-order-status { padding:5px 9px; font-size:9px; }
.customer-profile-section { background:#f7f8f8; }
.customer-profile-editor { grid-template-columns:minmax(300px,.78fr) minmax(470px,1.22fr); border:0; }
.customer-profile-pane { border:1px solid var(--line); background:#fff; }
.customer-profile-account { border-right:1px solid var(--line); }
.customer-profile-section-heading::before { width:42px; margin-bottom:11px; }
.customer-profile-section-heading h2 { font-size:27px; }
.customer-profile-section-heading p { margin-top:6px; font-size:10px; }
.customer-profile-fields { gap:14px; }
.customer-profile-fields label { gap:6px; font-size:10px; }
.customer-profile-fields input,.customer-profile-fields textarea,.customer-profile-fields select { min-height:44px; border-color:#c8cdd1; border-radius:7px; font-size:12px; }
.customer-profile-save { width:auto; min-width:190px; margin-top:23px; padding:0 18px; font-size:11px; }
.customer-security-panel,.customer-notification-panel { box-shadow:none; }
.customer-security-panel { margin-top:18px; padding:28px 30px; }
.customer-password-form>button,.customer-session-revoke-all,.customer-account-session-list form button,.customer-notification-button { min-height:40px; padding-inline:15px; border-radius:7px; font-size:10px; }
.customer-account-session-list article { padding:15px 16px; }
.customer-install-panel { position:relative; box-shadow:none; }
.customer-install-panel-global { width:min(calc(100% - 44px),1224px); margin-top:14px; padding:15px 18px; grid-template-columns:38px minmax(0,1fr) auto; gap:14px; background:#fbfbfb; }
.customer-install-icon { width:38px; height:38px; }
.customer-install-icon svg { width:20px; height:20px; }
.customer-install-copy .customer-eyebrow { margin-bottom:2px; font-size:8px; }
.customer-install-copy h2 { margin:0 0 2px; font:400 19px/1.2 var(--display); }
.customer-install-copy>p { font-size:10px; }
.customer-install-button { min-width:132px; min-height:40px; padding:0 14px; font-size:10px; }
.customer-footer { padding-top:27px; padding-bottom:24px; }

@media(max-width:1180px){
  .customer-header { grid-template-columns:130px 1fr; padding-inline:22px; gap:16px; }
  .customer-header nav { gap:13px; }
  .customer-profile { padding-left:12px; gap:10px; }
  .customer-profile-history { display:none!important; }
  .customer-home-hero { grid-template-columns:minmax(285px,.72fr) minmax(430px,1.28fr); gap:30px; }
  .customer-home-feature { grid-template-columns:minmax(155px,215px) minmax(195px,1fr); gap:24px; }
  .customer-home-access { grid-template-columns:190px 1fr; gap:20px; }
  .customer-home-rail>a { padding-inline:11px; }
}

@media(max-width:840px){
  .customer-header { min-height:64px; padding:5px 16px; grid-template-columns:1fr auto; }
  .customer-logo { width:110px; height:50px; }
  .customer-logo img { width:104px; height:47px; }
  .customer-menu { min-height:38px; padding:0 13px; border-color:#b8bdc0; background:#fff; font-size:11px; }
  .customer-header nav { top:59px; right:10px; left:10px; max-height:calc(100vh - 70px); padding:8px; border-radius:9px; box-shadow:0 14px 34px rgba(48,51,54,.16); }
  .customer-header nav>a { min-height:42px; padding-inline:12px; font-size:12px; }
  .customer-profile { padding:10px 12px 3px; }
  .customer-profile-history { display:flex!important; min-height:40px; align-items:center; }
  .customer-profile>a:first-child { min-width:0; }
  .customer-page-hero { min-height:148px; padding:31px 18px 26px; }
  .customer-page-hero h1 { font-size:39px; }
  .customer-page-hero p { margin-top:8px; font-size:12px; line-height:1.55; }
  .customer-section { padding:26px 18px 36px; }
  .customer-install-panel-global { width:calc(100% - 32px); margin:12px auto 0; padding:12px; grid-template-columns:34px minmax(0,1fr); gap:10px; border-radius:9px; }
  .customer-install-icon { width:34px; height:34px; }
  .customer-install-copy h2 { font-size:16px; }
  .customer-install-copy>p { display:none; }
  .customer-install-button { grid-column:2; width:max-content; min-width:112px; min-height:36px; margin-top:1px; padding-inline:12px; }
  .customer-install-instructions { grid-column:1/-1; margin-top:7px; }
  .customer-home-hero { padding:30px 18px 26px; }
  .customer-home-hero::after { height:47%; opacity:.30; }
  .customer-home-intro h1 { font-size:clamp(39px,10.5vw,50px); }
  .customer-home-intro>p { margin-top:13px; font-size:12px; }
  .customer-home-intro blockquote { margin-top:23px; padding:13px 6px; font-size:14px; }
  .customer-home-feature { margin-top:26px; grid-template-columns:minmax(100px,.68fr) minmax(170px,1.32fr); gap:17px; }
  .customer-home-cover { padding:6px; }
  .customer-home-feature-copy h2 { font-size:clamp(27px,7.5vw,36px); }
  .customer-home-cta { width:auto; min-width:148px; min-height:42px; margin-top:17px; }
  .customer-home-store { padding:19px 18px; gap:16px; }
  .customer-home-store>a { width:auto; min-width:150px; }
  .customer-home-access { padding:25px 18px 0; }
  .customer-home-access-heading { padding:0 0 18px; }
  .customer-home-rail { grid-template-columns:1fr; }
  .customer-home-rail>a { min-height:70px; padding:11px 2px; grid-template-columns:39px minmax(0,1fr) 18px; border-bottom:1px solid #d1d5d7; }
  .customer-home-rail strong { font-size:17px; }
  .customer-store-section { padding-inline:18px; }
  .customer-store-cover { height:230px; }
  .owned-product { grid-template-columns:82px minmax(0,1fr); gap:16px; padding:16px; }
  .owned-product>img,.owned-product-placeholder { width:78px; height:105px; }
  .customer-primary { grid-column:1/-1; width:max-content; min-width:154px; justify-self:end; }
  .customer-history .customer-table-wrap table,.customer-history .customer-table-wrap tbody { display:block; }
  .customer-history .customer-table-wrap tr { margin-bottom:12px; padding:16px; grid-template-columns:1fr 1fr; row-gap:13px; background:#fff; }
  .customer-history .customer-table-wrap tr:last-child { margin-bottom:0; }
  .customer-history .customer-table-wrap td:nth-child(2),.customer-history .customer-table-wrap td:nth-child(3),.customer-history .customer-table-wrap td:nth-child(6) { grid-column:1/-1; }
  .customer-history .customer-table-wrap td:nth-child(2) { order:-1; padding-bottom:11px; border-bottom:1px solid var(--line); }
  .customer-history .customer-table-wrap td:nth-child(6) { padding-top:2px; }
  .customer-history-status { justify-content:space-between; }
  .customer-history-pay { min-height:36px; }
  .customer-profile-editor { grid-template-columns:1fr; gap:14px; }
  .customer-profile-account { border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .customer-security-panel { padding:24px; }
}

@media(max-width:600px){
  .customer-home-store-copy .customer-home-icon { width:40px; height:40px; }
  .customer-home-store-copy h2 { font-size:21px; }
  .customer-home-store-copy p { display:none; }
  .customer-home-store { grid-template-columns:1fr auto; }
  .customer-home-store>a { width:42px; min-width:42px; height:42px; padding:0; justify-content:center; }
  .customer-home-store>a>span:first-child { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .customer-home-store-count { display:none; }
  .customer-home-community { padding:18px; grid-template-columns:40px minmax(0,1fr); gap:12px; }
  .customer-home-community-icon { width:40px; height:40px; }
  .customer-home-community-icon svg { width:22px; height:22px; }
  .customer-home-community-copy h2 { font-size:21px; }
  .customer-home-community-copy p { font-size:10px; }
  .customer-home-community>a { grid-column:1/-1; width:100%; min-height:44px; }
  .customer-store-grid { grid-template-columns:1fr; }
  .customer-store-cover { height:220px; }
  .customer-profile-editor { margin-inline:0; }
  .customer-profile-section-heading { margin:0 0 18px; padding:0; background:transparent; }
  .customer-profile-section-heading::before { display:block; }
  .customer-profile-save { position:static; width:auto; min-width:178px; margin-left:auto; }
  .customer-security-panel,.customer-notification-panel { margin-right:0; margin-left:0; border-right:1px solid var(--line); border-left:1px solid var(--line); border-radius:9px; }
  .customer-security-heading,.customer-session-heading { align-items:flex-start; }
  .customer-session-heading form,.customer-session-revoke-all { width:auto; }
  .customer-password-form>button { width:max-content; min-width:174px; justify-self:end; }
  .customer-notification-panel { padding:20px; }
  .customer-notification-button { grid-column:2; width:max-content; min-width:145px; }
  .customer-footer { padding-inline:18px; }
}

@media(max-width:960px) and (min-width:601px){
  .customer-store-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media(max-width:420px){
  .customer-install-copy .customer-eyebrow { display:none; }
  .customer-install-copy h2 { font-size:15px; }
  .customer-home-feature { grid-template-columns:96px minmax(0,1fr); gap:14px; }
  .customer-home-rule { width:35px; margin-bottom:12px; }
  .customer-home-feature-copy>p { font-size:8px; }
  .customer-home-feature-copy h2 { font-size:25px; }
  .customer-home-cta { min-width:138px; padding-inline:14px; }
  .customer-history .customer-table-wrap tr { grid-template-columns:1fr 1fr; padding:14px; }
  .customer-profile-fields-grid { grid-template-columns:1fr; }
}

@media(max-width:840px){
  html.pwa-standalone .customer-header { min-height:58px; padding:3px 16px; }
  html.pwa-standalone .customer-logo { width:100px; height:48px; }
  html.pwa-standalone .customer-logo img { width:96px; height:45px; }
  html.pwa-standalone .customer-install-panel-global { display:none!important; }
  html.pwa-standalone .customer-app-nav { min-height:70px; }
  html.pwa-standalone .customer-app-nav>a,html.pwa-standalone .customer-app-nav>button { min-height:54px; }
  html.pwa-standalone .customer-app-nav .customer-app-store-item { transform:translateY(-8px); }
  html.pwa-standalone .customer-app-nav .customer-app-store-item .customer-app-nav-icon { width:43px; height:43px; padding:10px; }
}

/* Browser navigation drawer v12 */
.customer-menu-backdrop,.customer-nav-drawer-heading,.customer-nav-account-summary,.customer-nav-section-label,.customer-nav-account { display:none; }
.customer-header #customer-nav { justify-content:flex-end; }
.customer-nav-main { height:100%; margin-left:auto; display:flex; align-items:stretch; gap:clamp(15px,1.9vw,27px); }
.customer-nav-main>a { position:relative; display:flex; align-items:center; color:rgba(48,51,54,.76); font-size:12px; font-weight:500; white-space:nowrap; }
.customer-nav-main>a:hover,.customer-nav-main>a.active { color:var(--navy); }
.customer-nav-main>a.active::after { position:absolute; right:0; bottom:0; left:0; height:2px; background:#c6a660; content:''; }
.customer-browser-nav-icon,.customer-nav-main>a>b { display:none; }

@media(max-width:840px){
  html,body { max-width:100%; overflow-x:hidden; }
  @supports (overflow:clip) { html,body { overflow-x:clip; } }
  .customer-header { -webkit-backdrop-filter:none; backdrop-filter:none; }
  body.customer-browser-menu-open { overflow:hidden; }
  .customer-menu-backdrop { position:fixed; z-index:70; inset:0; display:block; border:0; background:rgba(15,18,20,.5); -webkit-backdrop-filter:blur(24px) saturate(.55) brightness(.68); backdrop-filter:blur(24px) saturate(.55) brightness(.68); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .22s ease,visibility .22s ease; }
  .customer-menu-backdrop.open { opacity:1; visibility:visible; pointer-events:auto; }
  .customer-header #customer-nav { position:fixed; z-index:71; top:0; right:0; bottom:0; left:auto; width:clamp(252px,68vw,280px); height:100dvh; max-height:none; padding:18px 14px max(18px,env(safe-area-inset-bottom)); display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0; overflow-y:auto; border:0; border-left:1px solid #d8dadd; border-radius:16px 0 0 16px; background:#fff; box-shadow:-24px 0 56px rgba(28,30,32,.18); opacity:0; visibility:hidden; pointer-events:none; transform:translateX(104%); transition:transform .24s ease,opacity .2s ease,visibility .24s ease; }
  .customer-header #customer-nav.open { display:flex; opacity:1; visibility:visible; pointer-events:auto; transform:translateX(0); }
  .customer-nav-drawer-heading { min-height:58px; padding:0 2px 13px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
  .customer-nav-drawer-heading>img { width:116px; height:50px; object-fit:contain; object-position:left center; }
  .customer-nav-drawer-heading>button { width:40px; height:40px; display:grid; place-items:center; border:1px solid #d5d9dc; border-radius:50%; background:#fff; color:#3f4448; font-size:26px; font-weight:300; line-height:1; cursor:pointer; }
  .customer-nav-drawer-heading>button:hover,.customer-nav-drawer-heading>button:focus-visible { border-color:#b8bdc0; background:#f5f6f6; }
  .customer-nav-account-summary { min-height:82px; padding:14px 7px 13px; display:grid; grid-template-columns:46px minmax(0,1fr); align-items:center; gap:13px; }
  .customer-nav-account-summary>span { width:46px; height:46px; display:grid; place-items:center; border-radius:50%; background:#f0f2f2; color:var(--maroon); }
  .customer-nav-account-summary .customer-app-nav-icon { width:23px; height:23px; }
  .customer-nav-account-summary>div { min-width:0; display:grid; gap:3px; }
  .customer-nav-account-summary strong { overflow:hidden; color:var(--navy); font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
  .customer-nav-account-summary small { color:var(--muted); font-size:10px; }
  .customer-nav-section-label { padding:9px 7px 5px; display:block; color:#8a6a2d; font-size:8px; font-weight:800; letter-spacing:.17em; text-transform:uppercase; }
  .customer-nav-main,.customer-nav-account { height:auto; margin:0; display:grid; gap:2px; }
  .customer-nav-main>a,.customer-nav-account>a,.customer-nav-account form>button { position:relative; min-height:44px; padding:3px 8px; display:grid; grid-template-columns:32px minmax(0,1fr) 14px; align-items:center; gap:9px; border:0; border-radius:8px; background:transparent; color:#3f4448; font-family:var(--sans); font-size:12px; font-weight:600; text-align:left; cursor:pointer; }
  .customer-nav-main>a::before,.customer-nav-account>a::before { position:absolute; top:6px; bottom:6px; left:0; width:3px; border-radius:0 3px 3px 0; background:transparent; content:''; }
  .customer-nav-main>a::after,.customer-nav-account>a::after { display:none; }
  .customer-nav-main>a:hover,.customer-nav-account>a:hover,.customer-nav-account form>button:hover { background:#f5f6f6; color:var(--maroon); }
  .customer-nav-main>a.active,.customer-nav-account>a.active { background:#fbf3f5; color:var(--maroon); }
  .customer-nav-main>a.active::before,.customer-nav-account>a.active::before { background:#c6a660; }
  .customer-browser-nav-icon { width:32px; height:32px; display:grid; place-items:center; color:currentColor; }
  .customer-browser-nav-icon .customer-app-nav-icon { width:20px; height:20px; }
  .customer-nav-main>a>b,.customer-nav-account>a>b,.customer-nav-account form>button b { display:block; color:#8b9094; font-size:17px; font-weight:400; line-height:1; text-align:right; }
  .customer-nav-account-label { margin-top:6px; padding-top:10px; border-top:1px solid var(--line); }
  .customer-nav-account form { margin:6px 0 0; padding-top:6px; border-top:1px solid var(--line); }
  .customer-nav-account form>button { width:100%; min-height:42px; color:var(--maroon); font-size:11px; }
  .customer-nav-account form>button .customer-browser-nav-icon { color:var(--maroon); }
  .customer-header #customer-nav>.customer-profile { display:none; }
  html.pwa-standalone .customer-menu-backdrop,html.pwa-standalone .customer-header #customer-nav { display:none!important; }
}

@media(max-width:400px){
  .customer-header #customer-nav { padding-inline:14px; }
  .customer-nav-drawer-heading { min-height:54px; }
  .customer-nav-account-summary { min-height:72px; padding-block:11px; }
  .customer-nav-main>a,.customer-nav-account>a { min-height:42px; }
}

/* Compact affiliate experience v24 */
@media(max-width:600px){
  .affiliate-section { padding-top:18px; padding-bottom:28px; }
  .affiliate-panel { padding:18px 16px; border-top-width:2px; }
  .affiliate-access { gap:8px; }
  .affiliate-active { padding:5px 9px; font-size:9px; }
  .affiliate-access label { gap:5px; font-size:10px; }
  .affiliate-access input { height:40px; padding-inline:11px; font-size:11px; }
  .affiliate-link-row { gap:6px; }
  .affiliate-invite button,.affiliate-link-row button { min-height:38px; padding-inline:12px; font-size:10px; }
  .affiliate-copy-status { min-height:10px; font-size:9px; }
  .affiliate-stats { margin-top:13px; padding-top:13px; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .affiliate-stats div,.affiliate-stats div:first-child { min-width:0; padding:0 8px; border-right:1px solid var(--line); border-bottom:0; }
  .affiliate-stats div:first-child { padding-left:0; }
  .affiliate-stats div:last-child { padding-right:0; border-right:0; }
  .affiliate-stats dt { font-size:8px; line-height:1.35; }
  .affiliate-stats dd { margin-top:4px; font-size:21px; line-height:1.05; }
  .affiliate-product-links { padding:16px 14px; }
  .affiliate-product-links-heading { margin-bottom:12px; }
  .affiliate-product-links-heading h2 { margin-bottom:4px; }
  .affiliate-product-links-heading p { font-size:10px; line-height:1.5; }
  .affiliate-product-links-heading>span { margin-top:8px; padding:5px 8px; font-size:9px; }
  .affiliate-product-toolbar { padding:11px 0 9px; gap:8px; }
  .affiliate-product-toolbar input { height:40px; min-height:40px; padding-inline:12px; font-size:11px; }
  .affiliate-product-toolbar>span { font-size:9px; }
  .affiliate-product-filters { margin-bottom:12px!important; gap:6px; }
  .affiliate-product-filters button { min-height:34px; font-size:9px; }
  .affiliate-product-link-card { padding:15px 0; }
  .affiliate-product-overview { grid-template-columns:64px minmax(0,1fr); gap:12px; }
  .affiliate-product-cover { width:64px; height:86px; border-radius:6px; box-shadow:0 6px 16px rgba(48,51,54,.08); }
  .affiliate-product-copy>small { font-size:8px; }
  .affiliate-product-copy h3 { margin:3px 0 5px; font-size:20px; }
  .affiliate-product-description { font-size:9px; line-height:1.5!important; }
  .affiliate-product-referral-note { margin-top:5px!important; font-size:8px; }
  .affiliate-product-metrics { margin-top:12px; margin-left:-76px; }
  .affiliate-product-metrics div { min-height:48px; padding:7px 9px; }
  .affiliate-product-metrics dt { font-size:7px; }
  .affiliate-product-metrics dd { margin-top:3px; font-size:11px; }
  .affiliate-product-link-action { margin-top:11px; padding:8px; gap:6px; }
  .affiliate-product-link-action input { height:38px; padding-inline:9px; font-size:9px; }
  .affiliate-product-link-action button,.affiliate-product-link-action a { min-height:38px; padding-inline:9px; font-size:9px; }
  .affiliate-payout-grid { margin-top:13px; gap:12px; }
  .affiliate-payout-card { padding:16px; }
  .affiliate-payout-heading h3 { font-size:20px; }
  .affiliate-payout-heading p { margin-top:4px; font-size:9px; }
  .affiliate-payout-form { margin-top:13px; gap:10px; }
  .affiliate-payout-form label { gap:5px; font-size:9px; }
  .affiliate-payout-form input,.affiliate-payout-form select { height:40px; padding-inline:11px; font-size:11px; }
  .affiliate-payout-form button,.affiliate-payout-balance button { min-height:40px; padding-inline:14px; font-size:10px; }
  .affiliate-payout-balance strong { margin-top:7px; font-size:29px; }
  .affiliate-payout-balance p { margin:8px 0 15px; font-size:9px; }
  .affiliate-payout-breakdown { margin-bottom:14px; }
  .affiliate-payout-breakdown div { padding:7px 0; }
  .affiliate-payout-breakdown dt,.affiliate-payout-breakdown dd { font-size:9px; }
  .affiliate-payout-balance small { font-size:8px; }
  .affiliate-history { margin-top:16px; }
  .affiliate-history h3 { margin-bottom:10px; padding-bottom:8px; font-size:22px; }
  .affiliate-history .customer-empty { min-height:112px; padding:18px; }
  .affiliate-history .customer-empty strong { font-size:18px; }
}

/* Unified customer component scale v26
   All customer views inherit these tokens so desktop, tablet, and phone stay in sync. */
:root {
  --customer-page-hero-min:156px;
  --customer-page-hero-title:clamp(34px,3.6vw,48px);
  --customer-page-hero-copy:12px;
  --customer-section-top:30px;
  --customer-section-bottom:40px;
  --customer-card-pad:20px;
  --customer-control-height:42px;
  --customer-action-height:40px;
  --customer-section-title:27px;
  --customer-card-title:23px;
  --customer-ui-radius:9px;
  --customer-product-columns:3;
  --customer-product-gap:18px;
}

.customer-page-hero { min-height:var(--customer-page-hero-min); padding:30px var(--customer-shell) 27px; }
.customer-page-hero h1 { font-size:var(--customer-page-hero-title); }
.customer-page-hero p { margin-top:8px; font-size:var(--customer-page-hero-copy); line-height:1.55; }
.customer-section { padding:var(--customer-section-top) var(--customer-shell) var(--customer-section-bottom); }
.customer-section h2 { font-size:var(--customer-section-title); }
.customer-library-toolbar { margin-bottom:16px; gap:14px; }
.customer-library-toolbar input,
.customer-profile-fields input,.customer-profile-fields textarea,.customer-profile-fields select,
.affiliate-access input,.affiliate-payout-form input,.affiliate-payout-form select { min-height:var(--customer-control-height); height:var(--customer-control-height); }
.customer-profile-fields textarea { height:auto; min-height:82px; }
.customer-library-filters { margin-bottom:18px; gap:8px; }
.customer-library-filters button { min-height:36px; padding-inline:16px; border-radius:var(--customer-ui-radius); }
.customer-primary,.customer-profile-save,.customer-password-form>button,
.customer-session-revoke-all,.customer-account-session-list form button,.customer-notification-button,
.affiliate-invite button,.affiliate-link-row button,.affiliate-payout-form button,.affiliate-payout-balance button {
  min-height:var(--customer-action-height);
  border-radius:var(--customer-ui-radius);
}
.owned-product { min-height:0; padding:18px 20px; border-radius:var(--customer-ui-radius); }
.owned-product h3 { font-size:var(--customer-card-title); }
.customer-resource-card { min-height:330px; padding:var(--customer-card-pad); }
.customer-resource-card h2 { font-size:var(--customer-card-title); }
.customer-store-card { border-radius:var(--customer-ui-radius); }
.customer-store-copy { padding:17px 17px 12px; }
.customer-store-copy h3 { font-size:var(--customer-card-title); }
.customer-empty { min-height:130px; padding:24px; border-radius:var(--customer-ui-radius); }
.customer-empty.wide { min-height:92px; }
.customer-table-wrap { border-radius:var(--customer-ui-radius); }
.customer-profile-editor { gap:16px; }
.customer-profile-pane { padding:var(--customer-card-pad); border-radius:var(--customer-ui-radius); }
.customer-profile-section-heading { margin-bottom:18px; }
.customer-profile-section-heading h2,.customer-security-heading h2 { font-size:var(--customer-section-title); }
.customer-security-panel,.customer-notification-panel { padding:var(--customer-card-pad); border-radius:var(--customer-ui-radius); }
.customer-notification-copy h2 { font-size:25px; }
.affiliate-panel,.affiliate-product-links,.affiliate-payout-card { padding:var(--customer-card-pad); border-radius:var(--customer-ui-radius); }
.affiliate-product-links { margin:18px 0; }
.affiliate-product-links-heading h2 { font-size:var(--customer-section-title); }
.affiliate-payout-heading h3,.affiliate-history h3 { font-size:var(--customer-card-title); }

@media(max-width:1024px){
  :root {
    --customer-page-hero-min:136px;
    --customer-page-hero-title:36px;
    --customer-section-top:24px;
    --customer-section-bottom:32px;
    --customer-card-pad:18px;
    --customer-section-title:25px;
    --customer-card-title:22px;
  }
  .customer-page-hero { padding-top:26px; padding-bottom:23px; }
  .customer-section { padding-inline:22px; }
  .customer-resource-card { min-height:300px; }
  .customer-store-copy { padding:16px 16px 11px; }
  .customer-profile-editor { gap:14px; }
  .customer-notification-copy h2 { font-size:23px; }
}

@media(min-width:601px) and (max-width:840px){
  .customer-history .customer-table-wrap tr { grid-template-columns:repeat(3,minmax(0,1fr)); padding:14px; row-gap:11px; }
  .customer-history .customer-table-wrap td:nth-child(3) { grid-column:auto; }
  .customer-history .customer-table-wrap td:nth-child(6) { grid-column:2/4; align-self:end; }
  .customer-history-status { justify-content:flex-end; }
}

@media(max-width:600px){
  :root {
    --customer-page-hero-min:118px;
    --customer-page-hero-title:32px;
    --customer-page-hero-copy:10px;
    --customer-section-top:18px;
    --customer-section-bottom:28px;
    --customer-card-pad:15px;
    --customer-control-height:40px;
    --customer-action-height:38px;
    --customer-section-title:24px;
    --customer-card-title:20px;
    --customer-ui-radius:8px;
  }
  .customer-page-hero { padding:21px 18px 19px; }
  .customer-page-hero p { max-width:350px; margin-top:6px; }
  .customer-section { padding-inline:18px; }
  .customer-section-heading { margin-bottom:12px; }
  .customer-library-toolbar { margin-bottom:12px; gap:8px; }
  .customer-library-toolbar input { padding-inline:12px; font-size:11px; }
  .customer-library-filters { margin:0 0 14px; padding:0; gap:6px; }
  .customer-library-filters button { min-height:34px; padding-inline:11px; font-size:9px; }
  .affiliate-product-filters { margin-inline:0!important; padding:0!important; display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible!important; }
  .affiliate-product-filters button { width:100%; min-width:0; padding-inline:8px!important; }
  .owned-product { padding:14px; gap:13px; }
  .owned-product h3 { font-size:var(--customer-card-title); }
  .customer-primary { min-width:142px; padding-inline:15px; font-size:10px; }
  .customer-resource-card { min-height:255px; padding:16px; }
  .customer-resource-card p { margin:8px 0 16px; font-size:10px; }
  .customer-store-copy { padding:15px 15px 11px; }
  .customer-store-copy p { margin-top:7px; font-size:10px; }
  .customer-empty { min-height:112px; padding:18px; }
  .customer-empty strong { font-size:16px; }
  .customer-profile-pane { padding:17px 16px; }
  .customer-profile-section-heading { margin-bottom:15px; }
  .customer-profile-section-heading h2,.customer-security-heading h2 { font-size:23px; }
  .customer-profile-fields { gap:12px; }
  .customer-profile-fields input,.customer-profile-fields textarea,.customer-profile-fields select { font-size:11px; }
  .customer-security-panel,.customer-notification-panel { margin-top:14px; padding:17px 16px; }
  .customer-notification-copy h2 { font-size:21px; }
  .affiliate-panel,.affiliate-product-links,.affiliate-payout-card { padding:15px; }
  .affiliate-product-links { margin:13px 0; }
  .affiliate-product-links-heading h2 { font-size:23px; }
  .affiliate-payout-heading h3,.affiliate-history h3 { font-size:20px; }
}

/* Compact mobile order history v27 */
@media(max-width:600px){
  .customer-history .customer-table-wrap td { font-size:10.5px; line-height:1.35; }
  .customer-history .customer-table-wrap td::before { margin-bottom:2px; font-size:7px; }
  .customer-history .customer-table-wrap td:nth-child(2) { padding-bottom:8px; }
  .customer-history .customer-table-wrap td:nth-child(3) { grid-column:auto; }
  .customer-history .customer-table-wrap td:nth-child(6) { padding-top:0; }
  .customer-order-number { max-width:none; font-size:9px; line-height:1.3; }
  .customer-history-status { gap:6px; flex-wrap:nowrap; }
  .customer-order-status { padding:4px 7px; font-size:8px; white-space:nowrap; }
  .customer-history-pay { min-height:32px; padding-inline:9px; gap:6px; font-size:8px; white-space:nowrap; }
}

/* Keep order history navigation available at every desktop width v28 */
@media(min-width:841px){
  .customer-profile-history { display:flex!important; align-items:center; }
}

/* Remove desktop table padding from mobile history cards v29 */
@media(max-width:600px){
  .customer-history .customer-table-wrap tr { padding:10px 11px; gap:7px 12px; }
  .customer-history .customer-table-wrap td { padding:1px 0; }
  .customer-history .customer-table-wrap td:nth-child(2) { padding:1px 0 6px; }
}

/* Compact responsive customer footer v30 */
.customer-footer {
  min-height:0;
  padding:18px var(--customer-shell) 16px;
  grid-template-columns:minmax(205px,.62fr) minmax(390px,1fr) auto;
  align-items:center;
  column-gap:30px;
  row-gap:16px;
  font-size:10px;
}
.customer-footer-brand { gap:14px; }
.customer-footer img { width:82px; height:52px; }
.customer-footer-brand>span { font-size:15px; line-height:1.3; }
.customer-footer-connect { justify-self:stretch; width:auto; }
.customer-footer-connect>p { margin-bottom:7px; font-size:8px; }
.customer-footer-contact { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.customer-footer-contact a { min-height:46px; padding:7px 10px; gap:9px; border-radius:8px; }
.customer-footer-contact a>span:last-child { gap:1px; }
.customer-footer-contact small { font-size:8px; }
.customer-footer-contact strong { font-size:10px; }
.customer-footer-icon { width:28px; height:28px; }
.customer-footer-icon svg { width:15px; height:15px; }
.customer-footer-links {
  grid-column:auto;
  padding-top:0;
  justify-content:flex-end;
  gap:14px;
  border-top:0;
  font-size:9px;
  white-space:nowrap;
}

@media(max-width:840px){
  .customer-footer {
    padding:17px 18px 15px;
    grid-template-columns:180px minmax(0,1fr);
    align-items:center;
    column-gap:22px;
    row-gap:13px;
  }
  .customer-footer-links {
    grid-column:1/-1;
    padding-top:11px;
    justify-content:flex-end;
    border-top:1px solid #d8dadd;
  }
}

@media(max-width:600px){
  .customer-footer {
    padding:15px 18px 13px;
    grid-template-columns:1fr;
    row-gap:11px;
  }
  .customer-footer-brand { gap:11px; }
  .customer-footer img { width:70px; height:44px; }
  .customer-footer-brand>span { font-size:13px; line-height:1.25; }
  .customer-footer-connect>p { margin-bottom:6px; text-align:left; }
  .customer-footer-contact { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .customer-footer-contact a { min-height:42px; padding:6px 8px; gap:7px; }
  .customer-footer-icon { width:26px; height:26px; }
  .customer-footer-icon svg { width:14px; height:14px; }
  .customer-footer-contact small { font-size:7px; }
  .customer-footer-contact strong { font-size:8px; }
  .customer-footer-links { padding-top:9px; justify-content:flex-start; gap:8px 15px; font-size:9px; }
}

@media(min-width:601px) and (max-width:840px){
  .customer-footer { grid-template-columns:215px minmax(0,1fr); column-gap:18px; }
  .customer-footer img { width:70px; height:44px; }
  .customer-footer-brand>span { font-size:13px; line-height:1.25; }
}

@media(max-width:600px){
  .customer-footer-contact strong { white-space:normal; overflow-wrap:anywhere; line-height:1.15; }
}

/* Center wide account panels on large screens v32 */
:root { --customer-panel-column:1080px; }
.customer-security-panel,.customer-notification-panel,
.affiliate-section>.affiliate-invite,.affiliate-section>.affiliate-panel,
.affiliate-section>.affiliate-product-links,.affiliate-section>.affiliate-payout-grid,
.affiliate-section>.affiliate-history {
  max-width:var(--customer-panel-column);
  margin-right:auto;
  margin-left:auto;
}

/* Two-column profile security and affiliate overview v33 */
.customer-security-grid,.affiliate-overview-grid {
  max-width:var(--customer-panel-column);
  margin-right:auto;
  margin-left:auto;
  display:grid;
  grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);
  gap:18px;
  align-items:start;
}
.customer-security-grid {
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.customer-security-card {
  min-width:0;
  padding:var(--customer-card-pad);
  border:1px solid var(--line);
  border-radius:var(--customer-ui-radius);
  background:#f5f6f6;
}
.customer-security-card .customer-password-form {
  margin-top:22px;
  padding-bottom:0;
  grid-template-columns:1fr;
  border-bottom:0;
}
.customer-security-card .customer-password-form>button { width:100%; }
.customer-sessions-card .customer-session-heading { margin-top:0; }
.customer-sessions-card .customer-account-session-list article {
  grid-template-columns:auto minmax(0,1fr) auto;
}
.customer-sessions-card .customer-account-session-list article>form { grid-column:3; }
.customer-sessions-card .customer-current-session {
  grid-column:2;
  justify-self:start;
}
.affiliate-overview-grid>.affiliate-panel,
.affiliate-overview-grid>.affiliate-product-links {
  width:100%;
  max-width:none;
  margin:0;
}
.affiliate-overview-grid .affiliate-access { max-width:none; }
.affiliate-overview-grid .affiliate-stats div:last-child { border-bottom:0; }
.affiliate-overview-grid .affiliate-product-overview {
  align-items:start;
}
.affiliate-overview-grid .affiliate-product-metrics {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.affiliate-overview-grid .affiliate-product-metrics div,
.affiliate-overview-grid .affiliate-product-metrics div:nth-child(3n) {
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.affiliate-overview-grid .affiliate-product-metrics div:nth-child(2n) { border-right:0; }
.affiliate-overview-grid .affiliate-product-metrics div:nth-last-child(-n+2) { border-bottom:0; }
.affiliate-overview-grid .affiliate-product-link-action {
  margin-left:0;
  grid-template-columns:1fr 1fr;
}
.affiliate-overview-grid .affiliate-product-link-action input,
.affiliate-overview-grid .affiliate-product-link-action label { grid-column:1/-1; }

@media(max-width:1000px){
  .customer-security-grid,.affiliate-overview-grid {
    grid-template-columns:1fr;
    gap:14px;
  }
  .customer-security-card .customer-password-form {
    grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  }
  .customer-security-card .customer-password-form>button { width:auto; }
  .affiliate-overview-grid .affiliate-stats { grid-template-columns:repeat(3,1fr); }
  .affiliate-overview-grid .affiliate-stats div,
  .affiliate-overview-grid .affiliate-stats div:first-child {
    padding:0 18px;
    border-right:1px solid var(--line);
    border-bottom:0;
  }
  .affiliate-overview-grid .affiliate-stats div:first-child { padding-left:0; }
  .affiliate-overview-grid .affiliate-stats div:last-child { border-right:0; }
}

@media(max-width:600px){
  .customer-security-grid { margin:26px -18px 0; }
  .customer-security-card {
    padding:17px 16px;
    border-right:0;
    border-left:0;
    border-radius:0;
  }
  .customer-security-card .customer-password-form { grid-template-columns:1fr; }
  .customer-security-card .customer-password-form>button { width:100%; }
  .affiliate-overview-grid .affiliate-stats { grid-template-columns:1fr; }
  .affiliate-overview-grid .affiliate-stats div,
  .affiliate-overview-grid .affiliate-stats div:first-child {
    padding:10px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .affiliate-overview-grid .affiliate-stats div:last-child { border-bottom:0; }
}

/* Compact affiliate stats and scalable product cards v34 */
.affiliate-overview-grid .affiliate-stats {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.affiliate-overview-grid .affiliate-stats div,
.affiliate-overview-grid .affiliate-stats div:first-child {
  min-width:0;
  padding:0 12px;
  border-right:1px solid var(--line);
  border-bottom:0;
}
.affiliate-overview-grid .affiliate-stats div:first-child { padding-left:0; }
.affiliate-overview-grid .affiliate-stats div:last-child {
  padding-right:0;
  border-right:0;
}
.affiliate-overview-grid .affiliate-stats dt {
  min-height:26px;
  display:flex;
  align-items:flex-end;
  line-height:1.25;
}
.affiliate-overview-grid .affiliate-stats dd {
  margin-top:5px;
  font-size:26px;
}
.affiliate-overview-grid .affiliate-product-link-list {
  padding-top:14px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:12px;
}
.affiliate-overview-grid .affiliate-product-link-card {
  min-width:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
}
.affiliate-overview-grid .affiliate-product-overview {
  grid-template-columns:64px minmax(0,1fr);
  gap:11px;
}
.affiliate-overview-grid .affiliate-product-cover {
  width:64px;
  height:86px;
  border-radius:6px;
}
.affiliate-overview-grid .affiliate-product-copy h3 {
  margin:3px 0 5px;
  font-size:19px;
  line-height:1.1;
}
.affiliate-overview-grid .affiliate-product-description {
  font-size:9px;
}
.affiliate-overview-grid .affiliate-product-referral-note {
  font-size:8px;
}
.affiliate-overview-grid .affiliate-product-metrics { margin-top:11px; }
.affiliate-overview-grid .affiliate-product-metrics div {
  min-height:51px;
  padding:8px 9px;
}
.affiliate-overview-grid .affiliate-product-metrics dt { font-size:7px; }
.affiliate-overview-grid .affiliate-product-metrics dd {
  margin-top:3px;
  font-size:10px;
}
.affiliate-overview-grid .affiliate-product-link-action {
  padding:9px;
  gap:6px;
}
.affiliate-overview-grid .affiliate-product-link-action input {
  height:38px;
  font-size:8px;
}
.affiliate-overview-grid .affiliate-product-link-action button {
  min-height:38px;
  padding:0 9px;
  font-size:9px;
}

@media(max-width:600px){
  .affiliate-overview-grid .affiliate-product-link-list { grid-template-columns:1fr; }
  .affiliate-overview-grid .affiliate-stats dt { min-height:0; }
}

/* Full-width affiliate product collection v35 */
.affiliate-product-results {
  max-width:var(--customer-panel-column);
  margin:18px auto 0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--customer-ui-radius);
  background:#fff;
}
.affiliate-product-results .affiliate-product-link-list {
  padding-top:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:14px;
  border-top:0;
}
.affiliate-product-results .affiliate-product-link-card {
  min-width:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
}
.affiliate-product-results .affiliate-product-overview {
  grid-template-columns:64px minmax(0,1fr);
  gap:11px;
  align-items:start;
}
.affiliate-product-results .affiliate-product-cover {
  width:64px;
  height:86px;
  border-radius:6px;
}
.affiliate-product-results .affiliate-product-copy h3 {
  margin:3px 0 5px;
  font-size:19px;
  line-height:1.1;
}
.affiliate-product-results .affiliate-product-description { font-size:9px; }
.affiliate-product-results .affiliate-product-referral-note { font-size:8px; }
.affiliate-product-results .affiliate-product-metrics {
  margin-top:11px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.affiliate-product-results .affiliate-product-metrics div,
.affiliate-product-results .affiliate-product-metrics div:nth-child(3n) {
  min-height:51px;
  padding:8px 9px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.affiliate-product-results .affiliate-product-metrics div:nth-child(2n) { border-right:0; }
.affiliate-product-results .affiliate-product-metrics div:nth-last-child(-n+2) { border-bottom:0; }
.affiliate-product-results .affiliate-product-metrics dt { font-size:7px; }
.affiliate-product-results .affiliate-product-metrics dd {
  margin-top:3px;
  font-size:10px;
}
.affiliate-product-results .affiliate-product-link-action {
  margin:10px 0 0;
  padding:9px;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
.affiliate-product-results .affiliate-product-link-action input,
.affiliate-product-results .affiliate-product-link-action label { grid-column:1/-1; }
.affiliate-product-results .affiliate-product-link-action input {
  height:38px;
  font-size:8px;
}
.affiliate-product-results .affiliate-product-link-action button {
  min-height:38px;
  padding:0 9px;
  font-size:9px;
}

@media(max-width:600px){
  .affiliate-product-results {
    margin-top:13px;
    padding:14px;
  }
  .affiliate-product-results .affiliate-product-link-list { grid-template-columns:1fr; }
}

/* Unified affiliate product workspace v36 */
.affiliate-overview-grid {
  column-gap:0;
  row-gap:0;
  align-items:stretch;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--customer-ui-radius);
  background:#fff;
}
.affiliate-overview-grid>.affiliate-panel {
  height:100%;
  border:0;
  border-top:3px solid #c6a660;
  border-right:1px solid var(--line);
  border-radius:0;
}
.affiliate-overview-grid>.affiliate-product-controls {
  height:100%;
  border:0;
  border-radius:0;
}
.affiliate-overview-grid>.affiliate-product-results {
  width:100%;
  max-width:none;
  margin:0;
  grid-column:1/-1;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
}

@media(max-width:1000px){
  .affiliate-overview-grid>.affiliate-panel {
    border-right:0;
    border-bottom:1px solid var(--line);
  }
}

/* Canonical customer product collection and affiliate summary v39 */
.customer-product-grid.customer-product-grid {
  display:grid;
  grid-template-columns:repeat(var(--customer-product-columns),minmax(0,1fr));
  gap:var(--customer-product-gap);
}
.affiliate-overview-grid .affiliate-copy-status:empty { display:none; }
.affiliate-overview-grid .affiliate-stats {
  margin-top:7px;
  padding-top:9px;
}
.affiliate-overview-grid .affiliate-product-link-card {
  height:100%;
  display:flex;
  flex-direction:column;
}
.affiliate-overview-grid .affiliate-product-link-action { margin-top:auto; }

@media(max-width:960px){
  :root { --customer-product-columns:2; }
}

@media(max-width:600px){
  :root { --customer-product-columns:1; }
}

/* Store-style owned product card */
.owned-products .owned-product {
  position:relative;
  min-width:0;
  height:100%;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:0;
  align-items:stretch;
  overflow:hidden;
  border-radius:var(--customer-ui-radius);
}
.owned-products .owned-product>img,
.owned-products .owned-product-placeholder {
  width:100%;
  height:238px;
  padding:18px;
  flex:0 0 auto;
  object-fit:contain;
  border-bottom:1px solid var(--line);
  background:linear-gradient(145deg,#f6f1e8,#eef0f0);
  box-shadow:none;
}
.owned-products .owned-product-copy { padding:18px 18px 12px; }
.owned-products .owned-product h3 {
  font:400 24px/1.16 var(--display);
}
.owned-products .owned-product-copy p {
  min-height:54px;
  margin-top:9px;
  display:-webkit-box;
  overflow:hidden;
  font-size:10px;
  line-height:1.6;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.owned-products .owned-access-date {
  width:auto;
  margin:auto 18px 0;
  padding:13px 0;
  display:block;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:10px;
  font-weight:500;
  line-height:1.4;
}
.owned-products .customer-primary {
  width:auto;
  min-width:0;
  min-height:44px;
  margin:0 18px 18px;
  padding-inline:16px;
  align-self:stretch;
  justify-content:space-between;
}
.owned-products .owned-restriction-notice { margin-top:11px; }

@media(max-width:600px){
  .owned-products .owned-product>img,
  .owned-products .owned-product-placeholder { height:220px; }
}

/* Hybrid course workspace */
.course-experience { display:grid; gap:18px; }
.course-experience-header { padding:20px; border:1px solid var(--line); border-radius:var(--customer-ui-radius); background:#fff; }
.course-experience-header>a { display:inline-flex; margin-bottom:16px; color:var(--maroon); font-size:11px; font-weight:700; }
.course-experience-identity { display:grid; grid-template-columns:112px minmax(0,1fr); gap:18px; align-items:center; }
.course-experience-cover { width:112px; aspect-ratio:4/5; display:grid; place-items:center; overflow:hidden; border-radius:10px; background:linear-gradient(145deg,#f5eee2,#e9eeee); color:var(--maroon); font:400 42px/1 var(--display); }
.course-experience-cover img { width:100%; height:100%; object-fit:cover; }
.course-experience-identity h2 { margin:5px 0 7px; font:400 clamp(28px,3vw,40px)/1.08 var(--display); }
.course-experience-identity p { max-width:660px; margin:0; color:var(--muted); font-size:11px; line-height:1.65; }
.course-experience-meta { margin-top:10px; display:flex; flex-wrap:wrap; gap:6px; }
.course-experience-meta span { padding:5px 8px; border-radius:999px; background:#f5f0e8; color:var(--ink); font-size:9px; font-weight:700; }
.course-progress { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.course-progress>div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.course-progress strong { color:var(--maroon); font-size:18px; }
.course-progress span { color:var(--muted); font-size:9px; }
.course-progress>i { height:7px; margin-top:8px; display:block; overflow:hidden; border-radius:999px; background:#eee9e1; }
.course-progress>i span { height:100%; display:block; border-radius:inherit; background:linear-gradient(90deg,var(--maroon),#c18a54); }
.course-learning-layout { display:grid; grid-template-columns:minmax(240px,300px) minmax(0,1fr); gap:18px; align-items:start; }
.course-curriculum,.course-lesson-viewer,.course-empty-content { border:1px solid var(--line); border-radius:var(--customer-ui-radius); background:#fff; }
.course-curriculum { overflow:hidden; }
.course-curriculum-heading { padding:16px; display:flex; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line); }
.course-curriculum-heading span { color:var(--maroon); font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.course-curriculum-heading strong { font-size:9px; }
.course-curriculum>section+section { border-top:1px solid var(--line); }
.course-module-title { padding:14px; display:grid; grid-template-columns:26px minmax(0,1fr); gap:9px; background:#faf8f4; }
.course-module-title>span { color:#b18b59; font-size:10px; font-weight:800; }
.course-module-title h3 { margin:0; font:600 15px/1.25 var(--serif); }
.course-module-title p { margin:4px 0 0; color:var(--muted); font-size:9px; line-height:1.45; }
.course-curriculum nav { display:grid; }
.course-curriculum nav>a,.course-curriculum nav>span { min-width:0; padding:11px 13px; display:grid; grid-template-columns:18px minmax(0,1fr); gap:8px; border-top:1px solid #f0ece5; color:var(--ink); }
.course-curriculum nav>a:hover,.course-curriculum nav>a.active { background:#f7f0e9; }
.course-curriculum nav>a.active { box-shadow:inset 3px 0 var(--maroon); }
.course-curriculum nav>a>span:first-child { color:var(--maroon); font-weight:800; }
.course-curriculum nav strong { display:block; overflow:hidden; font-size:10px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.course-curriculum nav small { display:block; margin-top:3px; color:var(--muted); font-size:8px; }
.course-curriculum nav .locked { opacity:.58; }
.course-lesson-viewer { min-height:430px; padding:24px; }
.course-lesson-viewer>header { padding-bottom:16px; border-bottom:1px solid var(--line); }
.course-lesson-viewer>header>span { color:var(--maroon); font-size:9px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.course-lesson-viewer h2 { margin:6px 0 4px; font:400 clamp(28px,3vw,42px)/1.08 var(--display); }
.course-lesson-viewer header small { color:var(--muted); font-size:9px; }
.course-lesson-presenter { margin:10px 0 7px; display:flex; align-items:center; gap:8px; color:var(--ink); font-size:11px; }
.course-lesson-presenter span { padding:4px 7px; border-radius:999px; background:#f6eee7; color:var(--maroon); font-size:8px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.course-lesson-presenter strong { font-weight:700; }
.course-video { width:100%; max-height:520px; margin:18px 0 0; border-radius:10px; background:#111; }
.course-resource-link { min-height:58px; margin-top:18px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid #d8c5a8; border-radius:9px; background:#fbf7f0; color:var(--maroon); font-size:11px; font-weight:800; }
.course-resource-link.in-person { padding-block:13px; }
.course-resource-link.in-person span { display:grid; gap:4px; }
.course-resource-link.in-person small { color:var(--muted); font-size:9px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.course-resource-link.in-person strong { color:var(--ink); font-size:12px; line-height:1.5; }
.course-resource-link.in-person b { flex:0 0 auto; font-size:9px; }
.course-resource-link.file>span { min-width:0; display:grid; gap:4px; }
.course-resource-link.file small { overflow:hidden; color:var(--muted); font-size:9px; font-weight:500; text-overflow:ellipsis; white-space:nowrap; }
.course-lesson-content { margin-top:20px; color:var(--ink); font-size:12px; line-height:1.8; white-space:pre-line; }
.course-lesson-viewer>footer { margin-top:24px; padding-top:16px; border-top:1px solid var(--line); }
.course-lesson-viewer>footer button { width:100%; min-height:44px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; border:0; border-radius:8px; background:var(--maroon); color:#fff; font-weight:800; cursor:pointer; }
.course-lesson-viewer>footer button.completed { border:1px solid #b8cfbf; background:#edf6ef; color:#27623a; }
.course-attendance-card { margin-top:18px; padding:13px 15px; display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid #dec9a8; border-radius:9px; background:#fbf7ef; }
.course-attendance-card>div { display:grid; gap:3px; }
.course-attendance-card span { color:var(--maroon); font-size:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.course-attendance-card strong { color:var(--ink); font-size:11px; }
.course-attendance-card small { color:var(--muted); font-size:8px; }
.course-attendance-card button { min-height:36px; padding:0 13px; display:flex; align-items:center; gap:12px; border:0; border-radius:7px; background:var(--maroon); color:#fff; font-size:9px; font-weight:800; cursor:pointer; }
.course-attendance-card.recorded { border-color:#bad4c0; background:#edf6ef; }
.course-attendance-card.recorded span { color:#27623a; }
.course-certificate-card { padding:20px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid var(--line); border-left:4px solid #c1a060; border-radius:var(--customer-ui-radius); background:linear-gradient(135deg,#fff,#faf6ee); }
.course-certificate-card>div { min-width:0; }
.course-certificate-card>div>span { color:var(--maroon); font-size:9px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.course-certificate-card h3 { margin:5px 0 6px; font:400 24px/1.15 var(--display); }
.course-certificate-card p { margin:0; color:var(--muted); font-size:10px; line-height:1.6; }
.course-certificate-card.ready { border-left-color:#368454; background:linear-gradient(135deg,#fff,#f0f8f2); }
.course-certificate-card .customer-primary { min-width:190px; flex:0 0 auto; justify-content:space-between; }
.course-empty-content { padding:28px; text-align:center; }
.course-empty-content strong { font:400 28px/1.15 var(--display); }
.course-empty-content p { color:var(--muted); }
.course-empty-content .customer-primary { max-width:320px; margin:18px auto 0; }
.customer-resource-card.restricted { opacity:.82; }

@media(max-width:860px){
  .course-learning-layout { grid-template-columns:1fr; }
  .course-curriculum { max-height:430px; overflow:auto; }
}
@media(max-width:600px){
  .course-experience-header,.course-lesson-viewer { padding:15px; }
  .course-experience-identity { grid-template-columns:74px minmax(0,1fr); gap:12px; align-items:start; }
  .course-experience-cover { width:74px; border-radius:7px; }
  .course-experience-identity h2 { font-size:25px; }
  .course-experience-meta span { font-size:8px; }
  .course-progress>div { align-items:flex-start; flex-direction:column; gap:3px; }
  .course-lesson-viewer { min-height:0; }
  .course-attendance-card,.course-certificate-card { align-items:stretch; flex-direction:column; }
  .course-attendance-card button,.course-certificate-card .customer-primary { width:100%; min-width:0; }
}
.customer-shipping-state { margin-top:6px; display:grid; gap:2px; color:#40586e; }
.customer-shipping-state strong { color:#8d1d38; font-size:11px; }
.customer-shipping-state small { font-size:10px; line-height:1.4; }
.customer-shipping-tracking { width:min(100%,380px); margin-top:5px; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:#fff; }
.customer-shipping-tracking>summary { min-height:34px; padding:7px 9px; display:flex; align-items:center; justify-content:space-between; gap:9px; color:var(--maroon); cursor:pointer; list-style:none; font-size:9px; font-weight:800; }
.customer-shipping-tracking>summary::-webkit-details-marker { display:none; }
.customer-shipping-tracking>summary::after { content:'+'; font-size:14px; line-height:1; }
.customer-shipping-tracking[open]>summary::after { content:'−'; }
.customer-shipping-tracking>summary small { margin-left:auto; color:var(--muted); font-size:8px; font-weight:600; }
.customer-shipping-tracking>div { padding:9px; display:grid; gap:9px; border-top:1px solid var(--line); }
.customer-shipping-tracking dl { margin:0; display:grid; gap:1px; overflow:hidden; border:1px solid var(--line); border-radius:6px; background:var(--line); }
.customer-shipping-tracking dl>div { padding:7px 8px; display:grid; grid-template-columns:88px minmax(0,1fr); gap:8px; background:#fff; }
.customer-shipping-tracking dt { color:var(--muted); font-size:8px; }
.customer-shipping-tracking dd { margin:0; color:var(--ink); font-size:9px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; }
.customer-shipping-tracking nav { display:flex; flex-wrap:wrap; gap:6px; }
.customer-shipping-tracking nav a { padding:5px 7px; border:1px solid #dcc7cd; border-radius:6px; color:var(--maroon); font-size:8px; font-weight:800; text-decoration:none; }
.customer-shipping-tracking ol { margin:0; padding:0; display:grid; list-style:none; }
.customer-shipping-tracking li { position:relative; padding:0 0 9px 14px; display:grid; gap:2px; }
.customer-shipping-tracking li:last-child { padding-bottom:0; }
.customer-shipping-tracking li::before { position:absolute; left:3px; top:7px; bottom:-1px; width:1px; background:#d8c9c1; content:''; }
.customer-shipping-tracking li:last-child::before { display:none; }
.customer-shipping-tracking li::after { position:absolute; left:0; top:3px; width:7px; height:7px; border:2px solid #fff; border-radius:50%; background:var(--maroon); box-shadow:0 0 0 1px #cfbfc5; content:''; }
.customer-shipping-tracking li span { color:var(--muted); font-size:8px; }
.customer-shipping-tracking li strong { color:var(--ink); font-size:9px; line-height:1.45; overflow-wrap:anywhere; }
@media(max-width:600px){.customer-shipping-tracking{width:100%}.customer-shipping-tracking dl>div{grid-template-columns:1fr;gap:2px}}
