/* Customer portal composition, based on the supplied Sync account reference. */
html[data-scheme] body[class*="sa-tpl-customer-"]{background:#08090a;color:#f6f6f7;--sa-account-bg:#08090a;--sa-account-panel:#080809;--sa-account-line:#28292c;--sa-account-text:#f6f6f7;--sa-account-muted:#a3a6af;--sa-account-accent:#ff7b19;font-feature-settings:"cv11","ss01"}
body[class*="sa-tpl-customer-"] #app{padding-left:256px}
body[class*="sa-tpl-customer-"] :is(.sa-header,.sa-breadcrumbs),body[class*="sa-tpl-customer-"] #app>footer{display:none}
html[data-scheme] body[class*="sa-tpl-customer-"] .component[class*="sa-page-customer-"]{padding:0 0 32px}
html[data-scheme] body[class*="sa-tpl-customer-"] .component[class*="sa-page-customer-"]>.wrap{width:100%;max-width:1540px;margin:0 auto;padding:33px 30px 34px}
body[class*="sa-tpl-customer-"] .sync-client-page-main{padding-top:0}
body[class*="sa-tpl-customer-"] .sync-client-layout,body[class*="sa-tpl-customer-"] .sync-client-page-layout{display:block;min-width:0}
.sp-main,.sp-main *{box-sizing:border-box}.sp-main{min-width:0}.sp-main svg{width:22px;height:22px;flex:none}
.sp-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px;min-width:0}.sp-heading>div:first-child{min-width:0}.sp-heading h1{margin:0;color:#f7f7f9;font-size:30px;font-weight:650;line-height:1.3;letter-spacing:-.035em;overflow-wrap:anywhere}.sp-heading h1 span{text-transform:none}.sp-heading p{margin:5px 0 0;color:#a6a9b3;font-size:15px;line-height:1.7}.sp-heading-actions{display:flex;align-items:center;gap:17px;flex:none}.sp-notifications{display:flex;align-items:center;justify-content:center;position:relative;width:43px;height:45px;color:#b5b8c3}.sp-notifications svg{width:23px;height:23px}.sp-notifications>span{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:#ff7818;box-shadow:0 0 0 3px #08090a}.sp-profile-button{display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#c2c5ce;cursor:pointer;min-height:45px}.sp-profile-button>span{display:grid;place-items:center;width:43px;height:43px;border:1px solid #36383e;border-radius:50%;background:linear-gradient(130deg,#282a2f,#18191c);color:#f2f3f5;font-size:13px;font-weight:600}.sp-profile-button>svg{width:16px;height:16px}
.sp-top-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.sp-top-grid--single{grid-template-columns:minmax(0,1fr)}
.sp-card{min-width:0;overflow:hidden;border:1px solid #27292c;border-radius:14px;background:#080809;box-shadow:0 10px 35px #00000012;color:#f1f2f4}.sp-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.sp-card h2{display:flex;align-items:center;gap:12px;margin:0;color:#f3f4f5;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.015em}.sp-card h2>svg{color:#ff7b19;width:22px;height:22px}.sp-card-arrow{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:36px;color:#a4a8b5;border:0;background:transparent}.sp-card-arrow svg{width:18px;height:18px}.sp-card-arrow:hover{color:#ff8b32}.sp-card p{line-height:1.65}
.sp-account-card{position:relative;min-height:224px;padding:24px;isolation:isolate}.sp-account-content{position:relative;z-index:1}.sp-account-watermark{position:absolute;right:-45px;bottom:-95px;width:310px;height:310px;object-fit:contain;opacity:.2;pointer-events:none;z-index:-1}.sp-account-card:after{content:"";position:absolute;inset:0;z-index:-1;background:transparent}.sp-eyebrow{margin:0 0 8px;color:#b5b9c3;font-size:14px}.sp-account-card h2{display:block;max-width:85%;font-size:26px;line-height:1.25;font-weight:650;letter-spacing:-.03em;overflow-wrap:anywhere}.sp-account-since{margin:7px 0 0;color:#a6aab4;font-size:13px}.sp-account-metrics{display:flex;align-items:center;gap:28px;margin-top:31px}.sp-account-metrics>div{display:flex;align-items:center;gap:15px;min-width:0}.sp-account-metrics>div+div{padding-left:26px;border-left:1px solid #3a3430}.sp-account-metrics>div>svg{color:#ff7b19;width:26px;height:26px}.sp-account-metrics strong{font-variant-numeric:tabular-nums;display:block;color:#fff;font-size:24px;font-weight:650;line-height:1.1}.sp-account-metrics small{display:block;color:#afb2bb;font-size:12px;margin-top:7px;line-height:1.4}.sp-account-metrics a{font-size:13px;color:#e5e5e8}
.sp-balance-card{padding:20px 24px 23px}.sp-balance-value{font-variant-numeric:tabular-nums;margin:16px 0 1px!important;color:#fafafa;font-size:38px;font-weight:650;line-height:1.2!important;letter-spacing:-.04em;overflow-wrap:anywhere}.sp-balance-card>p:not(.sp-balance-value){font-size:13px;color:#aeb2bd;margin:9px 0 18px}.sp-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:44px;max-width:100%;padding:10px 18px;border:1px solid #ff7a19;border-radius:9px;background:linear-gradient(115deg,#ff921f,#ff7410);color:#180c03;font-size:12px;font-weight:600;line-height:1.5;text-decoration:none}.sp-primary-button>span{font-size:22px;font-weight:400;line-height:1}.sp-primary-button:hover{background:#ff9434;color:#180c03}
.sp-activity{padding:17px 24px 11px;margin-bottom:18px}.sp-activity>header{align-items:flex-start}.sp-activity>header>div>p{color:#858b96;font-size:11px;margin:4px 0 0 34px}.sp-periods{display:flex;align-items:center;padding:3px;border:1px solid #292c31;border-radius:10px;background:#131417;flex:none}.sp-periods button{border:1px solid transparent;border-radius:8px;background:transparent;color:#9da3af;min-height:34px;min-width:65px;padding:6px 11px;font-size:11px;cursor:pointer}.sp-periods button+button{border-left-color:#292b30}.sp-periods button[aria-pressed=true]{border-color:#ff8429;color:#ff963f;background:#21170f;box-shadow:0 0 0 2px #07080a}.sp-chart{position:relative;height:191px;min-width:0;margin-top:12px}.sp-chart svg{width:100%;height:100%;overflow:visible}.sp-chart text{font-family:inherit;font-size:10px;fill:#8f95a1}.sp-chart .sp-chart-grid{stroke:#262a30;stroke-dasharray:4 5;stroke-width:1}.sp-chart .sp-chart-line{fill:none;stroke:#ff7c17;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.sp-chart .sp-chart-point{fill:#ff8b21;stroke:#ffc17b;stroke-width:1.5;cursor:pointer}.sp-chart .sp-chart-point:focus{outline:none;stroke:#fff;stroke-width:3}.sp-chart-tooltip{position:absolute;z-index:2;min-width:115px;max-width:180px;padding:9px 11px;pointer-events:none;border:1px solid #33363d;border-radius:7px;background:#16181c;box-shadow:0 7px 20px #0006;color:#f2f2f4;font-size:12px;line-height:1.6}.sp-chart-tooltip small{display:block;color:#adb1bb;font-size:10px}.sp-chart-note{min-height:16px;margin:1px 0 0;color:#9297a2;font-size:10px}.sp-chart .sp-load-state{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;text-align:center}
.sp-bottom-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1.05fr) minmax(0,.9fr);gap:18px;align-items:stretch}.sp-bottom-grid>.sp-card{display:flex;flex-direction:column;padding:17px 19px 18px;min-height:300px}.sp-bottom-grid>.sp-card>header{margin-bottom:15px}.sp-bottom-grid .sp-card h2{font-size:14px;gap:9px}.sp-bottom-grid .sp-card h2>svg{width:19px;height:19px}.sp-order-table-wrap{overflow:auto;min-width:0;flex:1}.sp-order-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;text-align:left}.sp-order-table th{border-bottom:1px solid #292c32;padding:0 5px 11px;color:#a2a8b3;font-size:10px;font-weight:450;white-space:nowrap}.sp-order-table td{border-bottom:1px solid #23262b;padding:11px 5px;color:#d3d6de;overflow-wrap:anywhere;line-height:1.5;vertical-align:middle}.sp-order-table th:first-child,.sp-order-table td:first-child{padding-left:0;width:20%}.sp-order-table th:nth-child(2){width:36%}.sp-order-table th:nth-child(3){width:24%}.sp-order-table th:last-child,.sp-order-table td:last-child{text-align:right;width:20%;padding-right:0}.sp-order-table td a{display:block;color:#e7e8ec;text-decoration:none}.sp-order-table td a:hover{color:#ff963f}.sp-status{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:3px 8px;border-radius:20px;background:#23262a;color:#b8bcc5;font-size:9px;line-height:1.5;text-align:center}.sp-status[data-status=completed],.sp-status[data-status=active],.sp-status[data-status=trialing],.sp-status[data-status=closed]{background:#123018;color:#83d787}.sp-status[data-status=pending],.sp-status[data-status=open],.sp-status[data-status=past_due]{background:#3a2110;color:#ff9d4f}.sp-status[data-status=processing]{background:#122d4a;color:#86b9ee}.sp-card-footer{display:flex;align-items:center;gap:9px;min-height:44px;padding-top:15px;margin-top:auto;color:#ff8c2c;font-size:11px;font-weight:500;text-decoration:none}.sp-card-footer svg{width:15px;height:15px}.sp-card-footer:hover{color:#ffc17b}
.sp-ticket-list{flex:1;min-width:0}.sp-ticket-row{display:grid;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid #25282e;padding:10px 0;text-decoration:none;color:#e0e1e6}.sp-ticket-dot{width:5px;height:5px;border-radius:50%;background:#ff7d1b}.sp-ticket-row[data-status=closed] .sp-ticket-dot{background:#6dc878}.sp-ticket-row[data-status=pending] .sp-ticket-dot{background:#79a8ef}.sp-ticket-subject{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.5}.sp-ticket-date{display:block;color:#888f9b;font-size:10px;margin-top:2px}.sp-ticket-row .sp-status{max-width:85px;font-size:8px;padding-inline:7px}.sp-ticket-row:hover .sp-ticket-subject{color:#ff963f}.sp-subscription-card>[data-portal-subscription]{flex:1}.sp-subscription-info{border:1px solid #24272b;border-radius:11px;padding:16px 14px;background:#050506}.sp-subscription-info>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.sp-subscription-info h3{margin:0;color:#f5f5f7;font-size:21px;line-height:1.3;font-weight:650;letter-spacing:-.02em;overflow-wrap:anywhere}.sp-subscription-info>p{margin:8px 0 0;color:#b9bfca;font-size:12px}.sp-subscription-info .sp-renewal{padding-top:14px;margin-top:15px;border-top:1px solid #2a2d31;color:#a2a9b4;font-size:11px}.sp-secondary-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:43px;margin-top:15px;padding:10px 12px;border:1px solid #494d55;border-radius:9px;background:#0d0e1066;color:#e7e9ed;font-size:10px;font-weight:500;text-decoration:none}.sp-secondary-button svg{width:15px;height:15px}.sp-secondary-button:hover{border-color:#ff8c2c;color:#ff9f51}.sp-load-state,.sp-empty{font-size:12px;color:#9da4af;line-height:1.75}.sp-load-state{margin:18px 0}.sp-empty{text-align:center;padding:24px 8px!important}.sp-guide-card h3{font-size:21px;font-weight:600;line-height:1.4;color:#eeeff3;margin:12px 0}.sp-guide-card>p{font-size:13px;color:#a3aab5;margin:8px 0 20px}.sp-main :is(a,button):focus-visible{outline:2px solid #ff963e;outline-offset:3px}
/* Existing customer destinations use the same card system as the overview. */
html[data-scheme] body[class*="sa-tpl-customer-"] .component[class*="sa-page-customer-"].sync-client-page .sync-client-surface.rounded-card.bg-surface{border:1px solid #292c30;border-radius:13px;background:#080809;box-shadow:none}
html[data-scheme] body[class*="sa-tpl-customer-"] .component[class*="sa-page-customer-"].sync-client-page .sync-client-page-main>.sync-client-surface{padding:20px 22px;margin-bottom:20px}
body[class*="sa-tpl-customer-"] .sa-page-customer-affiliate-items,body[class*="sa-tpl-customer-"] .sa-page-customer-reseller-items{gap:20px}
body[class*="sa-tpl-customer-"] .sync-client-page .sa-page-customer-invoices-item,body[class*="sa-tpl-customer-"] .sync-client-page .sa-page-customer-tickets-item{padding-inline:0}
@media(min-width:1600px){.sp-card h2{font-size:18px}.sp-bottom-grid .sp-card h2{font-size:16px}.sp-order-table{font-size:12px}.sp-ticket-subject{font-size:12px}.sp-chart{height:225px}}
@media(max-width:1300px) and (min-width:1024px){.sp-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-subscription-card,.sp-guide-card{grid-column:1/-1}.sp-subscription-card>[data-portal-subscription]{max-width:100%}.sp-periods button{min-width:52px;padding-inline:8px}}
@media(max-width:1023px){body[class*="sa-tpl-customer-"] #app{padding-left:0;padding-top:64px}.sp-top-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.sp-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-subscription-card,.sp-guide-card{grid-column:1/-1}.sp-bottom-grid>.sp-subscription-card,.sp-bottom-grid>.sp-guide-card{min-height:0}.sp-account-watermark{right:-72px}.sp-account-metrics{gap:18px}.sp-account-metrics>div+div{padding-left:18px}.sp-balance-value{font-size:34px}}
@media(max-width:700px){html[data-scheme] body[class*="sa-tpl-customer-"] .component[class*="sa-page-customer-"]>.wrap{padding:23px 20px 30px}.sp-heading{gap:14px;margin-bottom:22px}.sp-heading h1{font-size:25px}.sp-heading p{font-size:13px}.sp-heading-actions{gap:7px}.sp-notifications{width:35px}.sp-profile-button{gap:3px}.sp-profile-button>span{width:36px;height:36px}.sp-profile-button>svg{width:12px}.sp-top-grid{grid-template-columns:1fr;gap:15px;margin-bottom:15px}.sp-account-card{min-height:220px}.sp-account-card h2{font-size:26px}.sp-account-watermark{right:-10px;bottom:-100px;width:300px;height:300px}.sp-balance-card{padding:18px 22px}.sp-balance-value{font-size:36px}.sp-activity{padding:17px 15px 10px;margin-bottom:15px}.sp-activity>header{flex-wrap:wrap;gap:14px}.sp-activity h2{font-size:15px}.sp-activity>header>div>p{margin-left:0;font-size:10px}.sp-periods{width:100%;justify-content:space-between}.sp-periods button{flex:1;min-height:44px;min-width:0;font-size:10px}.sp-chart{height:180px;margin-top:15px}.sp-bottom-grid{grid-template-columns:1fr;gap:15px}.sp-bottom-grid>.sp-card{min-height:0;padding:17px 20px}.sp-subscription-card,.sp-guide-card{grid-column:auto}.sp-order-table{font-size:11px}.sp-order-table th{font-size:9px}.sp-ticket-subject{font-size:12px}.sp-ticket-row{padding-block:12px}.sp-bottom-grid .sp-card h2{font-size:16px}.sp-card-footer{font-size:12px}.sp-secondary-button{font-size:12px;min-height:44px}.sp-primary-button{font-size:12px}.sp-status{font-size:9px}.sp-subscription-info h3{font-size:24px}}
@media(max-width:359px){html[data-scheme] body[class*="sa-tpl-customer-"] .component[class*="sa-page-customer-"]>.wrap{padding-inline:14px}.sp-heading h1{font-size:22px}.sp-heading-actions{gap:2px}.sp-notifications{display:none}.sp-account-card{padding:22px 18px}.sp-account-metrics{gap:15px}.sp-account-metrics>div+div{padding-left:15px}.sp-account-metrics>div{gap:10px}.sp-account-metrics small{font-size:10px}.sp-bottom-grid>.sp-card{padding-inline:15px}.sp-order-table th:first-child{width:21%}.sp-order-table th:nth-child(2){width:31%}.sp-order-table th:nth-child(3){width:27%}.sp-order-table th:last-child{width:21%}}
@media(prefers-reduced-motion:reduce){.sp-main *{transition:none!important;scroll-behavior:auto!important}}

/* Keep figures and captions distinct, including narrow or enlarged text. */
.sp-card :is(h2,h3,p){overflow-wrap:anywhere}.sp-account-metrics small{margin-top:9px}.sp-order-table{font-variant-numeric:tabular-nums}.sp-subscription-info>p{margin-top:11px}.sp-bottom-grid>.sp-card>header{margin-bottom:19px}

/* Wallet history has one inset, matching the two overview cards. */
html[data-scheme] body[class*="sa-tpl-customer-"] .component.sync-client-page.sa-page-customer-balance .sync-client-page-main>.sa-page-customer-balance-items.sync-client-surface{padding:0;margin-top:18px}
.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items>.border-b{padding:20px 24px}
.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items>p{margin:0;padding:22px 24px;line-height:1.7}
.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items>.border-b h2{margin:0;line-height:1.5}
.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items table :is(th,td):first-child{padding-left:24px}
.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items table :is(th,td):last-child{padding-right:24px}
@media(max-width:640px){.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items>.border-b{padding:18px 20px}.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items>p{padding:20px}.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items table :is(th,td):first-child{padding-left:20px}.sa-page-customer-balance.sync-client-page .sa-page-customer-balance-items table :is(th,td):last-child{padding-right:20px}}
