/* Light pill skin for the account, checkout and order pages (account-commerce.js markup). */
.ac-page {
  --ac-blue: var(--ink);
  --ac-ink: var(--ink);
  --ac-muted: var(--ink-2);
  --ac-line: var(--line);
  --ac-surface: var(--card);
  background: transparent;
  min-height: 0;
  padding: 0;
  font-family: var(--font);
}
.ac-shell { width: 100%; }
.ac-heading { margin-bottom: 32px; }
.ac-heading h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); letter-spacing: -.03em; font-weight: 800; }
.ac-heading > p:last-child:not(.ac-eyebrow) { font-size: 1.15rem; }
.ac-eyebrow { color: var(--ink-2); font-weight: 600; letter-spacing: 0; }
.ac-page h2 { font-size: 1.5rem; letter-spacing: -.02em; font-weight: 700; }
.ac-page h3 { font-size: 1.15rem; font-weight: 700; }
.ac-button { min-height: 44px; padding: 0 26px; border-radius: 999px; font-size: .95rem; font-weight: 600; background: var(--ink); color: #fff; }
.ac-button:hover { background: var(--ink); filter: brightness(1.25); }
.ac-button-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.ac-button-secondary:hover { background: var(--card); border-color: var(--ink); filter: none; }
.ac-page :where(button, a, input, select, summary):focus-visible { outline-color: #4a3fd8; }
.ac-field input, .ac-field select { height: 56px; border: 0; border-radius: 999px; background: var(--card); color: var(--ink); padding: 0 24px; }
.ac-field input:focus, .ac-field select:focus { outline: 3px solid #4a3fd8; }
.ac-field input[aria-invalid="true"] { outline: 2px solid #b3261e; background: #fff4f2; }
.ac-field input::placeholder { color: var(--grey); }
.ac-feedback.is-error, .ac-field-error { color: #b3261e; }
.ac-callout { background: var(--card); border-radius: var(--r-m); }
.ac-callout-error { background: #fff0ee; color: #8c1d18; }
.ac-auth-card { padding: 28px; background: var(--card); border-radius: var(--r-xl); }
.ac-auth-tabs { gap: 8px; }
.ac-auth-tabs button { color: var(--ink-2); font-weight: 600; padding: 12px 16px; font-size: 1rem; }
.ac-auth-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ac-account-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ac-account-nav-link { padding: 9px 18px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.ac-account-nav-link[aria-current="page"] { background: var(--ink); color: #fff; }
.ac-panel { border-top: 1px solid var(--line); }
.ac-summary { background: var(--card); border-radius: var(--r-l); }
.ac-status { background: var(--card); color: var(--ink-2); }
.ac-status-success { background: #e4f7ec; color: #14532d; }
.ac-progress .is-current { color: var(--ink); }
.ac-link { color: #4a3fd8; }
.ac-lang { display: inline-flex; padding: 4px; margin: 0 0 20px; background: var(--card); border-radius: 999px; }
.ac-lang button { height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 .85rem var(--font); cursor: pointer; }
.ac-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ac-renewal-note { padding: 14px 18px; background: #ede8ff; color: #261a66; border-radius: var(--r-m); margin: 8px 0 20px; }
.ac-payment-choice { border-radius: var(--r-m); }
.ac-field input, .ac-field select { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.ac-auth-card .ac-field input { background: #fff; }

.account-host { padding-block: clamp(36px, 5vw, 80px) 88px; }
.ac-heading h1 { font-size: clamp(2.4rem, 4.3vw, 4.6rem); font-weight: 640; letter-spacing: -.055em; line-height: 1.08; }
.ac-auth-card { padding: clamp(22px, 3vw, 44px); border-radius: 24px; background: #f1f5f1; }
.ac-auth-tabs { border-bottom: 1px solid #b9c6bd; }
.ac-field input, .ac-field select { border-radius: 12px; }
.ac-summary { background: #e7f2e4; }
.ac-button-secondary:hover { color: var(--ink); }
.ac-link { color: var(--accent-ink); }
@media (min-width: 900px) {
  .ac-shell:has(> .ac-auth-card) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    grid-template-rows: auto auto 1fr; gap: 0 8%; align-items: start;
  }
  .ac-shell:has(> .ac-auth-card)::after {
    content: ''; grid-column: 1; grid-row: 1 / 4; align-self: stretch;
    min-height: 490px; border-radius: 28px;
    background: #d8e3d4 url('/assets/art/studio.webp') 62% center / cover no-repeat;
  }
  .ac-shell:has(> .ac-auth-card) > * { grid-column: 2; width: 100%; }
  .ac-shell:has(> .ac-auth-card) .ac-heading { text-align: start; }
  .ac-shell:has(> .ac-auth-card) .ac-auth-card { margin: 0; }
}

/* Billing workspace */
.page-account { background:#f6f5f3; }
.account-host { max-width:1320px; padding-block:clamp(25px,5vw,70px); }
.ac-page { background:transparent; min-height:65vh; padding:0; color:#28282c; }
.ac-shell { width:100%; }
.ac-workspace { display:grid; grid-template-columns:minmax(170px,215px) minmax(0,1fr); gap:clamp(30px,5vw,84px); }
.ac-rail { align-self:start; position:sticky; top:calc(var(--head,64px) + 20px); border-right:1px solid #d7d6d3; padding-right:18px; }
.ac-rail-brand { font-size:20px; font-weight:690; margin:8px 12px 28px; letter-spacing:-.045em; }
.ac-rail .ac-account-nav { display:grid; gap:4px; }
.ac-rail .ac-account-nav-link { display:block; border-radius:9px; padding:10px 13px; color:#4c4b54; }
.ac-rail .ac-account-nav-link[aria-current=page] { background:#e5e3ec; color:#352e48; }
.ac-rail-account { display:grid; justify-items:start; border-top:1px solid #dbd9dc; padding:16px 10px; font-size:13px; }
.ac-rail-account .ac-button { border:0; padding:6px 0; min-height:32px; font-size:12px; }
.ac-workspace-body { min-width:0; }.ac-workspace-body>.ac-heading {margin:0 0 26px;}
.ac-workspace .ac-eyebrow {display:none;}
.ac-workspace h1,.ac-checkout-layout h1 { letter-spacing:-.047em; }
.ac-workspace .ac-panel,.ac-plans,.ac-checkout-section,.ac-summary,.ac-order-detail,.ac-verify-gate {
  background:white; border:1px solid #e0dfe1; border-radius:18px; padding:clamp(18px,2.5vw,36px);
}
.ac-workspace .ac-panel,.ac-plans { margin-bottom:18px; }
.ac-workspace .ac-membership-card { background:#e8e5f0; border-color:#dad6e5; }
.ac-workspace .ac-button,.ac-checkout-layout .ac-button { min-height:39px; font-size:14px; padding:8px 17px; }
.ac-guest-plans { margin-top:18px; }
.ac-plans .ac-panel-title {flex-wrap:wrap; gap:12px;}
.ac-periods {display:flex;gap:3px;background:#f0eef2;border-radius:10px;padding:3px;}
.ac-period {color:#5d5b63;font-size:13px;padding:5px 10px;border-radius:7px;text-decoration:none;}
.ac-period[aria-current=true] {background:white;color:#25232b;box-shadow:0 1px 4px #24233120;}
.ac-options {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:10px;margin-top:20px;}
.ac-plan-option {display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:#f6f5f8;border-radius:13px;padding:17px;}
.ac-plan-price {font-size:clamp(22px,2.6vw,36px);letter-spacing:-.035em;font-weight:620; margin:17px 0 0;}
.ac-plan-option>p:last-of-type {font-size:13px;color:#66616d;margin:0 0 18px;}
.ac-plan-option .ac-button {margin-top:auto;}
.ac-checkout-layout {align-items:start;gap:20px;}
.ac-checkout-section+.ac-checkout-section {margin-top:14px;}
.ac-summary {background:#eae7f1;}
.ac-order-list>li {background:transparent;padding:19px 0; border-bottom:1px solid #ebe9eb;}
.ac-order-list>li:last-child {border-bottom:0;}
.ac-auth-card { background:white; border:1px solid #dedce1; border-radius:18px; }
.ac-progress {max-width:480px;}
.ac-verify-gate {max-width:660px;margin-inline:auto;}
@media(min-width:900px) {
 .ac-shell:has(> .ac-auth-card) {display:grid; grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto;gap:0 6%; }
 .ac-shell:has(> .ac-auth-card)::after { grid-row:1/5;min-height:520px;border-radius:20px; }
}
@media(max-width:760px) {
 .ac-workspace {grid-template-columns:1fr;gap:20px;}
 .ac-rail {position:static;border-right:0;border-bottom:1px solid #d7d6d3;padding:0 0 8px;}
 .ac-rail-brand {display:none;}.ac-rail .ac-account-nav {display:flex;flex-wrap:wrap;gap:2px;margin:0;}
 .ac-rail .ac-account-nav-link {font-size:13px;padding:7px 9px;}
 .ac-rail-account {display:flex;align-items:center;justify-content:space-between;border:0;padding:4px 8px;}
 .ac-workspace .ac-account-grid {grid-template-columns:1fr;}
 .ac-order-list>li {gap:8px;flex-wrap:wrap;}
}

/* A receipt retains the same reading order from a wallet return to order history. */
.ac-page:is([data-ac-page="/order"],[data-ac-page="/payment-return"]) .ac-shell {max-width:760px;}
.ac-page[data-ac-page="/checkout"] .ac-shell {max-width:1040px;}
.ac-crumb {display:inline-flex;align-items:center;gap:.6em;min-height:44px;font-size:.9rem;font-weight:600;color:#534760;text-decoration:none;}
.ac-crumb::before {content:"‹";font-size:1.5em;line-height:1;}
.ac-crumb:hover,.ac-step-link:hover {text-decoration:underline;}
.ac-step-link {color:inherit;}
.ac-shell:has(> .ac-crumb)>.ac-heading .ac-eyebrow {display:none;}
.ac-receipt {padding:clamp(20px,4vw,46px);border:1px solid #dedbe2;background:#fff;border-radius:22px;}
.ac-receipt-head,.ac-receipt-item {display:flex;gap:16px;align-items:center;}
.ac-receipt-head p,.ac-receipt-item p {color:#66616b;margin:.4em 0 0;font-size:15px;}
.ac-receipt-symbol {display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:50%;color:#58446a;background:#f2edf5;font-size:28px;}
.ac-receipt-symbol.is-paid {color:#275f4b;background:#e7f2ec;}
.ac-receipt-item {justify-content:space-between;margin:26px 0 14px;padding:22px;border-radius:14px;background:#f6f4f8;}
.ac-receipt-item h3,.ac-receipt-item strong {font-size:clamp(20px,2.4vw,30px);font-weight:650;letter-spacing:-.04em;}
.ac-receipt .ac-facts dd {max-width:70%;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end;}
.ac-receipt .ac-order-id {margin:0;max-width:100%;}
.ac-receipt .ac-facts button {font-size:12px;min-height:32px;padding:4px 10px;}
.ac-receipt .ac-order-actions {margin-top:18px;}
.ac-plan-includes {display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;font-size:14px;padding:11px 0;margin-bottom:16px;border-top:1px solid #dcd9e1;}
.ac-plan-includes dd {font-weight:650;}
.ac-plan-option .ac-button {width:100%;}
.ac-account-nav-link:hover:not([aria-current=page]) {background:#efedf1;}
.ac-workspace .ac-empty {background:#f7f6f8;}
.ac-membership-card>.ac-button {margin-top:16px;}
.ac-period[aria-current=true],.ac-period:hover {color:#27232c;}
.ac-checkout-layout .ac-summary .ac-link {font-size:14px;}
.ac-identity {max-width:100%;overflow-wrap:anywhere;}
@media (min-width:761px) {
  .ac-checkout-layout {grid-template-columns:minmax(0,1fr) minmax(285px,.82fr);}
  .ac-checkout-layout .ac-summary {position:sticky;top:calc(var(--head,64px) + 18px);}
}
@media (max-width:500px) {
  .ac-workspace .ac-options {grid-template-columns:1fr;}
  .ac-plan-option {display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;}
  .ac-plan-option .ac-plan-price {margin:0;}
  .ac-plan-option>p:last-of-type {grid-column:2;text-align:right;margin:0;}
  .ac-plan-includes,.ac-plan-option .ac-button {grid-column:1/-1;margin:3px 0;}
}
.ac-plan-option .ac-plan-description {margin:8px 0 10px;line-height:1.45;font-size:14px;color:#575260;}
.ac-plan-option .ac-plan-price { margin-top:auto; }
.ac-plan-option:has(a[href*="plan=plus"]) { background:#ece9f5; }
.ac-plan-option:has(a[href*="plan=plus"]) .ac-button {background:#332d41;border-color:#332d41;color:white;}
.ac-page .ac-shell:focus-visible {outline-offset:5px;}
@media(max-width:500px) {
  .ac-plan-option .ac-plan-description {grid-row:3;grid-column:1/-1;}
  .ac-plan-option .ac-plan-price {grid-column:2;grid-row:1;}
  .ac-plan-option .ac-plan-price + p {grid-column:2;grid-row:2;}
}
.ac-order-list>li,.ac-order-list>li:first-child {display:block;padding:0;}
.ac-history-item {display:grid;grid-template-columns:minmax(0,1fr) auto auto 12px;gap:clamp(9px,2vw,28px);align-items:center;padding:17px 4px;text-decoration:none;color:inherit;}
.ac-history-item:hover {background:#f6f4f8;}
.ac-history-plan {display:grid;gap:4px;}
.ac-history-plan b {font-size:18px;}
.ac-history-plan small {font-size:13px;color:#645f69;}
.ac-history-item i {font-style:normal;color:#776d82;font-size:23px;}
@media(max-width:600px) {
  .ac-history-item {grid-template-columns:minmax(0,1fr) auto 10px;}
  .ac-history-item .ac-status {grid-column:1;grid-row:2;justify-self:start;}
  .ac-history-item strong,.ac-history-item i {grid-row:1/3;}
}
.ac-subscription {margin-top:22px;padding-top:20px;border-top:1px solid #cdc6d7;}
.ac-subscription .ac-button {margin-top:10px;}
.ac-workspace .ac-account-nav-link {border-bottom:0;}
.ac-workspace .ac-order-list .ac-status {background:#efedf4;color:#50465c;}
.ac-workspace .ac-plan-name {display:flex;align-items:center;gap:10px;}
.ac-mobile-selection {display:none;}
@supports(grid-template-rows:subgrid) {
  @media(min-width:501px) {
    .ac-options {row-gap:0;}
    .ac-plan-option {display:grid;grid-template-rows:subgrid;grid-row:span 6;align-items:start;}
    .ac-plan-option .ac-button {align-self:end;}
  }
}
@media(max-width:760px) {
  .ac-checkout-layout .ac-summary {grid-row:1;}
  .ac-mobile-selection {display:block;color:#645c6d;font-size:13px;font-weight:500;margin-top:4px;}
}

/* Live offers sit beside the checkout form so a trial can be claimed independently. */
.ac-offers { margin-bottom: 14px; }
.ac-offer + .ac-offer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ac-offer h3 { margin: 0 0 8px; font-size: 1.06rem; }
.ac-offer p { margin: 6px 0; overflow-wrap: anywhere; }
.ac-offer .ac-button { margin-top: 10px; }

.ac-trial-cycles { display: flex; flex-wrap: wrap; gap: 14px; }
.ac-trial-cycles [aria-current="page"] { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.ac-trial-form .ac-total { margin-block: 8px; }
