/* Affiliate Choice Membership v0.44: member dashboard.
   Loads with ac-account.css on My Account pages, and on its own on the order
   received page for the download cards. */

.ac-account-shell,.ac-downloads{
  --ac-ink:#0F2A33;--ac-petrol:#0A7A8E;--ac-teal:#10c0df;--ac-teal-dark:#0DAAC6;--ac-teal-soft:#C4EFF7;--ac-teal-wash:#E6F7FA;
  --ac-mist:#EEF5F4;--ac-line:#D7E3E2;--ac-muted:#52696F;--ac-white:#fff;
  --ac-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --ac-sans:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

/* ---------- Layout ---------- */
body.ac-account-member .ac-account-shell .ac-account-inner{width:min(1280px,calc(100% - 48px));margin-left:auto;margin-right:auto}
.ac-account-shell .ac-dash{display:grid;grid-template-columns:280px minmax(0,1fr);gap:36px;align-items:start;width:100%}
.ac-account-shell .ac-dash-side{position:static;display:grid;gap:14px;min-width:0;margin:0}
.ac-account-shell .ac-dash-main{min-width:0;display:grid;gap:22px;align-content:start}
.ac-account-shell .ac-dash-main>.woocommerce-notices-wrapper:empty{display:none}

/* WooCommerce and the Newspaper theme float the navigation at 30% and the
   content at 68%, add padding, a negative margin and underlines. The grid
   handles layout here, so those rules are reset. */
.woocommerce-account .ac-account-shell .ac-dash .ac-dash-nav,
.woocommerce-account .ac-account-shell .ac-dash .ac-dash-main{float:none!important;width:auto!important;max-width:none!important;margin:0!important}
.woocommerce-account .ac-account-shell .ac-dash .ac-dash-main{padding:0!important}
.woocommerce-account .ac-account-shell .ac-dash .ac-dash-nav{padding:8px!important}
.woocommerce-account .ac-account-shell .ac-dash .ac-dash-nav li{margin:0!important;line-height:1.3!important;display:block}
.woocommerce-account .ac-account-shell .ac-dash .ac-dash-nav a,
.woocommerce-account .ac-account-shell .ac-dash .ac-dash-nav .is-active a{text-decoration:none!important}

/* ---------- Member card ---------- */
.ac-account-shell .ac-member-card{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:center;padding:20px;border-radius:14px;background:var(--ac-ink);color:#E6EFF1}
.ac-account-shell .ac-member-avatar{grid-row:span 1;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--ac-teal);color:var(--ac-ink);font:700 19px/1 var(--ac-sans)}
.ac-account-shell .ac-member-id{display:grid;gap:2px;min-width:0}
.ac-account-shell .ac-member-id strong{font:600 20px/1.15 var(--ac-serif);color:var(--ac-white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-account-shell .ac-member-id span{font-size:13px;color:#9FB2B7}
.ac-account-shell .ac-member-price{grid-column:1/-1;margin:12px 0 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:13.5px;font-weight:600;color:var(--ac-teal)}

/* ---------- Navigation ---------- */
.ac-account-shell .ac-dash-nav{background:var(--ac-white);border-radius:14px;padding:8px;box-shadow:0 1px 0 var(--ac-line)}
.ac-account-shell .ac-dash-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.ac-account-shell .ac-dash-nav li{margin:0;padding:0;border:0}
.ac-account-shell .ac-dash-nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:9px;color:var(--ac-ink);font-size:15px;font-weight:500;text-decoration:none;white-space:nowrap}
.ac-account-shell .ac-dash-nav a:hover{background:var(--ac-mist);color:var(--ac-ink)}
.ac-account-shell .ac-dash-nav a[aria-current="page"],.ac-account-shell .ac-dash-nav .is-active>a{background:var(--ac-teal-wash);color:var(--ac-ink);font-weight:600;box-shadow:inset 3px 0 0 var(--ac-teal)}
.ac-account-shell .ac-dash-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ac-account-shell .ac-dash-nav a .ac-dash-icon{color:var(--ac-petrol)}
.ac-account-shell .ac-dash-nav .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px;padding-top:6px;border-top:1px solid var(--ac-line)}
.ac-account-shell .ac-dash-nav .woocommerce-MyAccount-navigation-link--customer-logout a,.ac-account-shell .ac-dash-nav .woocommerce-MyAccount-navigation-link--customer-logout a .ac-dash-icon{color:var(--ac-muted)}

/* ---------- Page heads ---------- */
.ac-account-shell .ac-dash-head{display:grid;gap:6px;padding:4px 0 2px}
.ac-account-shell .ac-dash-title{margin:0;font:600 clamp(30px,3.4vw,42px)/1.08 var(--ac-serif);letter-spacing:-.018em;color:var(--ac-ink)}
.ac-account-shell .ac-dash-intro{margin:0;font-size:16px;color:var(--ac-muted)}
.ac-account-shell .ac-dash-back{justify-self:start;font-size:14px;font-weight:600;text-decoration:none}
.ac-account-shell .ac-dash-back::before{content:"\2190";margin-right:6px}

/* ---------- Buttons and links ---------- */
.ac-account-shell .ac-dash-main a:not(.ac-btn):not(.button):not(.ac-summary-item):not(.ac-order-link){color:var(--ac-petrol);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-color:var(--ac-teal-soft);font-weight:600}
.ac-account-shell .ac-dash-main a:not(.ac-btn):not(.button):not(.ac-summary-item):not(.ac-order-link):hover{color:var(--ac-ink);text-decoration-color:var(--ac-teal)}
.ac-downloads .ac-btn,.ac-account-shell .ac-btn,
.ac-account-shell .ac-dash-main .button,.ac-account-shell .ac-dash-main button[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;height:auto;padding:0 18px;margin:0;
  border:0!important;border-radius:8px!important;background:var(--ac-teal)!important;color:var(--ac-ink)!important;
  font:600 15px/1.2 var(--ac-sans)!important;letter-spacing:0;text-transform:none;text-decoration:none!important;box-shadow:none!important;cursor:pointer;white-space:nowrap;transition:background-color .15s
}
.ac-downloads .ac-btn:hover,.ac-account-shell .ac-btn:hover,.ac-account-shell .ac-dash-main .button:hover,.ac-account-shell .ac-dash-main button[type="submit"]:hover{background:var(--ac-teal-dark)!important}
.ac-account-shell .ac-btn-quiet,.ac-account-shell .ac-dash-main .button.ac-btn-quiet{background:var(--ac-white)!important;color:var(--ac-ink)!important;box-shadow:inset 0 0 0 1.5px var(--ac-line)!important}
.ac-account-shell .ac-btn-quiet:hover,.ac-account-shell .ac-dash-main .button.ac-btn-quiet:hover{background:var(--ac-mist)!important}
.ac-account-shell .ac-btn-small,.ac-account-shell .ac-dash-main .button.ac-btn-small{min-height:36px;padding:0 14px;font-size:14px!important}
.ac-downloads .ac-btn .ac-dash-icon,.ac-account-shell .ac-btn .ac-dash-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Summary ---------- */
.ac-account-shell .ac-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ac-account-shell .ac-summary-item{display:grid;gap:2px;padding:18px 20px;border-radius:14px;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line);color:var(--ac-ink);text-decoration:none;transition:box-shadow .15s}
.ac-account-shell .ac-summary-item:hover{box-shadow:0 0 0 1.5px var(--ac-teal)}
.ac-account-shell .ac-summary-label{font-size:13.5px;font-weight:600;color:var(--ac-muted)}
.ac-account-shell .ac-summary-value{font:600 34px/1.1 var(--ac-serif);letter-spacing:-.015em;color:var(--ac-ink)}
.ac-account-shell .ac-summary-note{font-size:13px;color:var(--ac-muted)}
.ac-account-shell .ac-summary-price{background:var(--ac-ink);box-shadow:none}
.ac-account-shell .ac-summary-price .ac-summary-label,.ac-account-shell .ac-summary-price .ac-summary-note{color:#9FB2B7}
.ac-account-shell .ac-summary-price .ac-summary-value{color:var(--ac-teal)}

/* ---------- Panels ---------- */
.ac-account-shell .ac-panel{padding:22px 24px;border-radius:14px;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line)}
.ac-account-shell .ac-panel h2{margin:0;font:600 21px/1.2 var(--ac-serif);color:var(--ac-ink);letter-spacing:-.01em}
.ac-account-shell .ac-panel>p{margin:8px 0 12px;font-size:15px;color:var(--ac-muted)}
.ac-account-shell .ac-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.ac-account-shell .ac-panel-head a{font-size:14px}
.ac-account-shell .ac-dash-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ac-account-shell .ac-panel-soft{background:var(--ac-teal-wash);box-shadow:none}
.ac-account-shell .ac-panel-ink{background:var(--ac-ink);box-shadow:none}
.ac-account-shell .ac-dash-main .ac-panel-ink h2{color:var(--ac-white)}
.ac-account-shell .ac-panel-ink>p{color:#B8C8CC}
.ac-account-shell .ac-dash-main .ac-panel-ink a:not(.ac-btn):not(.button):not(.ac-summary-item):not(.ac-order-link){color:var(--ac-teal);text-decoration-color:rgba(16,192,223,.45)}
.ac-account-shell .ac-dash-main .ac-panel-ink a:not(.ac-btn):not(.button):not(.ac-summary-item):not(.ac-order-link):hover,
.ac-account-shell .ac-dash-main .ac-panel-ink a:not(.ac-btn):not(.button):not(.ac-summary-item):not(.ac-order-link):focus-visible{color:var(--ac-white);text-decoration-color:var(--ac-teal)}

/* ---------- Empty states ---------- */
.ac-account-shell .ac-empty{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:20px 22px;border:1.5px dashed var(--ac-line);border-radius:12px;background:var(--ac-white)}
.ac-account-shell .ac-panel .ac-empty{background:var(--ac-mist);border-color:transparent}
.ac-account-shell .ac-empty p{margin:0;flex:1 1 320px;font-size:15px;color:var(--ac-muted)}
.ac-account-shell .ac-empty strong{color:var(--ac-ink)}
.ac-account-shell .ac-dash-footnote{margin:0;font-size:14px;color:var(--ac-muted)}

/* ---------- Download cards (also used after checkout) ---------- */
.ac-downloads{font-family:var(--ac-sans);color:var(--ac-ink);margin:0 0 28px}
.ac-downloads .ac-downloads-title{margin:0 0 14px;font:600 24px/1.2 var(--ac-serif);color:var(--ac-ink)}
.ac-downloads .ac-dl-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ac-downloads .ac-dl{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;margin:0;padding:12px 14px 12px 12px;border:1px solid var(--ac-line);border-radius:12px;background:var(--ac-white)}
.ac-downloads .ac-dl-art{width:72px;height:72px;border-radius:8px;overflow:hidden;background:var(--ac-mist);display:grid;place-items:center;color:var(--ac-petrol)}
.ac-downloads .ac-dl-art img{width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.ac-downloads .ac-dl-art .ac-dash-icon{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6}
.ac-downloads .ac-dl-copy{min-width:0;display:grid;gap:3px}
.ac-downloads .ac-dl-name{margin:0;font:600 17px/1.25 var(--ac-sans);letter-spacing:0}
.ac-downloads .ac-dl-name a{color:var(--ac-ink)!important;text-decoration:none!important;font-weight:600}
.ac-downloads .ac-dl-name a:hover{color:var(--ac-petrol)!important}
.ac-downloads .ac-dl-file{margin:0;font-size:13.5px;color:var(--ac-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-downloads .ac-dl-meta{margin:2px 0 0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--ac-muted)}
.ac-downloads .ac-dl-meta span+span::before{content:"";display:inline-block;width:4px;height:4px;margin:0 10px 2px -8px;border-radius:50%;background:var(--ac-line);vertical-align:middle}
.ac-downloads .ac-dl-action{display:flex;justify-content:flex-end}
.ac-downloads.is-compact .ac-dl{grid-template-columns:56px minmax(0,1fr) auto;padding:10px 12px 10px 10px}
.ac-downloads.is-compact .ac-dl-art{width:56px;height:56px}
.ac-account-shell .ac-panel .ac-downloads{margin:0}

/* ---------- Orders ---------- */
.ac-account-shell .ac-order-list{list-style:none;margin:0;padding:0;display:grid}
.ac-account-shell .ac-order-list li{margin:0;padding:0;border-top:1px solid var(--ac-line)}
.ac-account-shell .ac-order-list li:first-child{border-top:0}
.ac-account-shell .ac-order-list a{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:13px 4px;color:var(--ac-ink)!important;text-decoration:none!important;font-weight:400!important}
.ac-account-shell .ac-order-list a:hover .ac-order-main strong{color:var(--ac-petrol)}
.ac-account-shell .ac-order-main{display:grid;gap:2px;min-width:0}
.ac-account-shell .ac-order-main strong{font-size:15.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-account-shell .ac-order-main span{font-size:13px;color:var(--ac-muted)}
.ac-account-shell .ac-order-total{font-weight:600;font-size:15px;text-align:right;min-width:64px}
.ac-account-shell .ac-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:600;line-height:1.2;white-space:nowrap;background:var(--ac-mist);color:var(--ac-muted)}
.ac-account-shell .ac-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.ac-account-shell .ac-status-done{background:#E4F4EE;color:#17694B}
.ac-account-shell .ac-status-working{background:var(--ac-teal-wash);color:var(--ac-petrol)}
.ac-account-shell .ac-status-waiting{background:#FBF1DD;color:#8A5A00}
.ac-account-shell .ac-status-problem{background:#FBE7E5;color:#A1281B}

.ac-account-shell table.ac-orders{width:100%;margin:0;border-collapse:separate;border-spacing:0;border:0!important;border-radius:14px;overflow:hidden;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line);font-size:15px}
.ac-account-shell table.ac-orders thead th{padding:13px 18px!important;background:var(--ac-white)!important;border:0!important;border-bottom:1px solid var(--ac-line)!important;text-align:left;font-size:13px;font-weight:600;color:var(--ac-muted);text-transform:none;letter-spacing:0}
.ac-account-shell table.ac-orders tbody th,.ac-account-shell table.ac-orders tbody td{padding:15px 18px!important;border:0!important;border-top:1px solid var(--ac-line)!important;vertical-align:middle;text-align:left;font-weight:400;background:transparent!important}
.ac-account-shell table.ac-orders tbody tr:first-child th,.ac-account-shell table.ac-orders tbody tr:first-child td{border-top:0!important}
.ac-account-shell table.ac-orders tbody tr:hover{background:#F7FAFA}
.ac-account-shell .ac-order-link{display:grid;gap:2px;color:var(--ac-ink)!important;text-decoration:none!important}
.ac-account-shell .ac-order-link strong{font-weight:600}
.ac-account-shell .ac-order-link span{font-size:13px;color:var(--ac-muted);max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-account-shell .ac-order-link:hover strong{color:var(--ac-petrol)}
.ac-account-shell .ac-muted{color:var(--ac-muted);font-weight:400;font-size:13.5px}
.ac-account-shell .ac-order-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.ac-account-shell table.ac-orders .woocommerce-orders-table__header-order-actions{text-align:right}
.ac-account-shell .ac-pagination{display:flex;justify-content:space-between;gap:10px}

/* ---------- Order detail (View order) ---------- */
.ac-account-shell .ac-dash-main>p:first-of-type mark{background:var(--ac-teal-wash);color:var(--ac-ink);padding:1px 6px;border-radius:5px;font-weight:600}
.ac-account-shell .ac-dash-main .woocommerce-order-details,.ac-account-shell .ac-dash-main .woocommerce-customer-details,.ac-account-shell .ac-dash-main .woocommerce-OrderUpdates{margin:0;padding:22px 24px;border-radius:14px;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line)}
.ac-account-shell .ac-dash-main .woocommerce-order-details__title,.ac-account-shell .ac-dash-main .woocommerce-column__title,.ac-account-shell .ac-dash-main .woocommerce-customer-details h2,.ac-account-shell .ac-dash-main .woocommerce-OrderUpdates+h2,.ac-account-shell .ac-dash-main h2{margin:0 0 12px;font:600 21px/1.2 var(--ac-serif);color:var(--ac-ink)}
.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders){width:100%;margin:0;border:0!important;border-collapse:collapse;font-size:15px}
.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) th,.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) td{padding:12px 0!important;border:0!important;border-top:1px solid var(--ac-line)!important;background:transparent!important;text-align:left;vertical-align:top}
.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) thead th{border-top:0!important;font-size:13px;font-weight:600;color:var(--ac-muted)}
.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) td:last-child,.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) th:last-child{text-align:right}
.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) tfoot th{font-weight:500;color:var(--ac-muted)}
.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) tfoot tr:last-child th,.ac-account-shell .ac-dash-main table.shop_table:not(.ac-orders) tfoot tr:last-child td{font-weight:700;color:var(--ac-ink);font-size:16px}
.ac-account-shell .ac-dash-main .wc-item-meta{list-style:none;margin:6px 0 0;padding:0;font-size:13px;color:var(--ac-muted)}
.ac-account-shell .ac-dash-main address{font-style:normal;line-height:1.6;padding:0;border:0;color:var(--ac-ink)}
.ac-account-shell .ac-dash-main .woocommerce-columns--addresses{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ac-account-shell .ac-dash-main .woocommerce-columns--addresses .woocommerce-column{width:auto;float:none;margin:0}
.ac-account-shell .ac-dash-main .order-again{margin:0}

/* ---------- Addresses ---------- */
.ac-account-shell .ac-dash-main .woocommerce-Addresses{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:0}
.ac-account-shell .ac-dash-main .woocommerce-Addresses::before,.ac-account-shell .ac-dash-main .woocommerce-Addresses::after{display:none}
.ac-account-shell .ac-dash-main .woocommerce-Address{width:auto!important;float:none!important;margin:0!important;padding:22px 24px;border-radius:14px;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line)}
.ac-account-shell .ac-dash-main .woocommerce-Address-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.ac-account-shell .ac-dash-main .woocommerce-Address-title h2,.ac-account-shell .ac-dash-main .woocommerce-Address-title h3{margin:0;font:600 20px/1.2 var(--ac-serif)}
.ac-account-shell .ac-dash-main .woocommerce-Address-title .edit{float:none;font-size:14px}
.ac-account-shell .ac-dash-main>p:not([class]){margin:0;color:var(--ac-muted);font-size:15px}

/* ---------- Forms: account details, edit address, payment methods ---------- */
.ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm,.ac-account-shell .ac-dash-main form:has(.woocommerce-address-fields),.ac-account-shell .ac-dash-main #add_payment_method{
  margin:0;padding:24px;border-radius:14px;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line);display:grid;grid-template-columns:1fr 1fr;gap:18px 16px
}
.ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm>*,.ac-account-shell .ac-dash-main form:has(.woocommerce-address-fields)>*{grid-column:1/-1}
.ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm>.form-row-first{grid-column:1}
.ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm>.form-row-last{grid-column:2}
.ac-account-shell .ac-dash-main form .clear{display:none}
.ac-account-shell .ac-dash-main .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}
.ac-account-shell .ac-dash-main .woocommerce-address-fields__field-wrapper .form-row-wide,.ac-account-shell .ac-dash-main .woocommerce-address-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last){grid-column:1/-1}
.ac-account-shell .ac-dash-main .form-row{width:auto!important;float:none!important;margin:0!important;padding:0!important;display:grid;gap:7px}
.ac-account-shell .ac-dash-main .form-row label,.ac-account-shell .ac-dash-main fieldset legend{margin:0;font-size:14px;font-weight:600;color:var(--ac-ink);line-height:1.3}
.ac-account-shell .ac-dash-main .form-row label .required{color:var(--ac-muted);text-decoration:none;border:0}
.ac-account-shell .ac-dash-main label[for="account_last_name"] .required{display:none}
.ac-account-shell .ac-dash-main .form-row .optional{font-weight:400;color:var(--ac-muted)}
.ac-account-shell .ac-dash-main .form-row em,.ac-account-shell .ac-dash-main #account_display_name_description{font-style:normal;font-size:13px;color:var(--ac-muted)}
.ac-account-shell .ac-dash-main input.input-text,.ac-account-shell .ac-dash-main select,.ac-account-shell .ac-dash-main textarea,
.ac-account-shell .ac-dash-main .select2-container .select2-selection--single{
  width:100%!important;min-height:48px;height:48px;margin:0!important;padding:0 14px!important;border:1.5px solid var(--ac-line)!important;border-radius:8px!important;
  background:var(--ac-white)!important;color:var(--ac-ink)!important;font:400 16px/1.2 var(--ac-sans)!important;box-shadow:none!important
}
.ac-account-shell .ac-dash-main textarea{height:auto;min-height:96px;padding:12px 14px!important;line-height:1.5!important}
.ac-account-shell .ac-dash-main .select2-container .select2-selection--single .select2-selection__rendered{line-height:45px;padding:0;color:var(--ac-ink)}
.ac-account-shell .ac-dash-main .select2-container .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
.ac-account-shell .ac-dash-main input.input-text:focus,.ac-account-shell .ac-dash-main select:focus,.ac-account-shell .ac-dash-main textarea:focus{outline:none;border-color:var(--ac-teal)!important;box-shadow:0 0 0 3px var(--ac-teal-soft)!important}
.ac-account-shell .ac-dash-main fieldset{margin:6px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--ac-line);display:grid;gap:16px;min-width:0}
.ac-account-shell .ac-dash-main fieldset legend{float:left;width:100%;padding:0;margin-bottom:4px;font:600 19px/1.2 var(--ac-serif)}
.ac-account-shell .ac-dash-main fieldset legend+*{clear:both}
.ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm>p:last-of-type,.ac-account-shell .ac-dash-main form:has(.woocommerce-address-fields) p:last-child{margin:4px 0 0!important}
.ac-account-shell .ac-dash-main .password-input{display:block;position:relative}
.ac-account-shell .ac-dash-main .show-password-input{position:absolute;top:0;right:0;width:46px;height:48px;border:0;background-color:transparent!important;cursor:pointer}

.ac-account-shell .ac-pref-block{display:grid;gap:14px;padding:16px 18px;border-radius:10px;background:var(--ac-mist)}
.ac-account-shell .ac-pref-dob{margin:0;display:flex;justify-content:space-between;gap:12px;font-size:14.5px}
.ac-account-shell .ac-pref-dob span{color:var(--ac-muted)}
.ac-account-shell .ac-pref-mail{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;line-height:1.45;cursor:pointer;color:var(--ac-muted)}
.ac-account-shell .ac-pref-mail strong{color:var(--ac-ink);margin-right:4px}
.ac-account-shell .ac-pref-mail input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--ac-petrol)}

.ac-account-shell .ac-dash-main table.woocommerce-MyAccount-paymentMethods{background:var(--ac-white);border-radius:14px;box-shadow:0 1px 0 var(--ac-line);overflow:hidden}
.ac-account-shell .ac-dash-main table.woocommerce-MyAccount-paymentMethods th,.ac-account-shell .ac-dash-main table.woocommerce-MyAccount-paymentMethods td{padding:13px 18px!important}
.ac-account-shell .ac-dash-main #add_payment_method{display:block}
.ac-account-shell .ac-dash-main #add_payment_method ul.payment_methods{list-style:none;margin:0 0 16px;padding:0;border:0}

/* ---------- Notices inside the dashboard ---------- */
.ac-account-shell .ac-dash-main .woocommerce-message,.ac-account-shell .ac-dash-main .woocommerce-info,.ac-account-shell .ac-dash-main .woocommerce-error{
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0!important;padding:14px 18px!important;border:1px solid var(--ac-line);border-left:4px solid var(--ac-teal);border-radius:10px;background:var(--ac-white);color:var(--ac-ink);font-size:15px
}
.ac-account-shell .ac-dash-main .woocommerce-error{border-left-color:#B42318;display:block}
.ac-account-shell .ac-dash-main .woocommerce-message::before,.ac-account-shell .ac-dash-main .woocommerce-info::before,.ac-account-shell .ac-dash-main .woocommerce-error::before{display:none}
.ac-account-shell .ac-dash-main .woocommerce-message .button,.ac-account-shell .ac-dash-main .woocommerce-info .button{order:2;float:none}

/* ---------- Tablet and phone ---------- */
@media (max-width:1024px){
  .ac-account-shell .ac-dash{grid-template-columns:232px minmax(0,1fr);gap:24px}
  .ac-account-shell .ac-summary{grid-template-columns:1fr 1fr}
  .ac-account-shell .ac-summary-price{grid-column:1/-1}
}
@media (max-width:860px){
  .ac-account-shell .ac-dash{grid-template-columns:1fr;gap:18px}
  .ac-account-shell .ac-dash-side{position:static;gap:10px}
  .ac-account-shell .ac-member-card{padding:14px 16px;grid-template-columns:auto 1fr}
  .ac-account-shell .ac-member-avatar{width:40px;height:40px;font-size:17px}
  .ac-account-shell .ac-member-id strong{font-size:18px}
  .ac-account-shell .ac-member-price{display:none}
  .ac-account-shell .ac-dash-nav{padding:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
  .ac-account-shell .ac-dash-nav::-webkit-scrollbar{display:none}
  .ac-account-shell .ac-dash-nav ul{display:flex;gap:4px;width:max-content}
  .ac-account-shell .ac-dash-nav li{scroll-snap-align:start}
  .woocommerce-account .ac-account-shell .ac-dash .ac-dash-nav{padding:6px!important}
  .woocommerce-account .ac-account-shell .ac-dash .ac-dash-nav li{display:list-item;list-style:none}
  .ac-account-shell .ac-dash-nav a{min-height:40px;padding:0 12px;font-size:14px;gap:8px}
  .ac-account-shell .ac-dash-nav a[aria-current="page"],.ac-account-shell .ac-dash-nav .is-active>a{box-shadow:inset 0 -2px 0 var(--ac-teal)}
  .ac-account-shell .ac-dash-nav .woocommerce-MyAccount-navigation-link--customer-logout{margin:0 0 0 4px;padding:0 0 0 4px;border-top:0;border-left:1px solid var(--ac-line)}
  .ac-account-shell .ac-dash-icon{width:18px;height:18px}
  .ac-account-shell .ac-dash-pair{grid-template-columns:1fr}
}
@media (max-width:640px){
  body.ac-account-member .ac-account-shell .ac-account-inner{width:calc(100% - 24px)}
  .ac-account-shell .ac-summary{grid-template-columns:1fr 1fr;gap:10px}
  .ac-account-shell .ac-summary-item{padding:14px 16px}
  .ac-account-shell .ac-summary-value{font-size:28px}
  .ac-account-shell .ac-panel,.ac-account-shell .ac-dash-main .woocommerce-order-details,.ac-account-shell .ac-dash-main .woocommerce-customer-details,.ac-account-shell .ac-dash-main .woocommerce-Address{padding:18px}
  .ac-account-shell .ac-order-list a{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}
  .ac-account-shell .ac-order-list .ac-status{grid-row:2;grid-column:1;justify-self:start}
  .ac-account-shell .ac-order-list .ac-order-total{grid-row:1;grid-column:2}
  .ac-account-shell .ac-dash-main .woocommerce-columns--addresses{grid-template-columns:1fr}
  .ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm,.ac-account-shell .ac-dash-main form:has(.woocommerce-address-fields){grid-template-columns:1fr;padding:18px}
  .ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm>.form-row-first,.ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm>.form-row-last{grid-column:1}
  .ac-account-shell .ac-dash-main .woocommerce-address-fields__field-wrapper{grid-template-columns:1fr}
  .ac-account-shell .ac-dash-main form.woocommerce-EditAccountForm button[type="submit"],.ac-account-shell .ac-dash-main form:has(.woocommerce-address-fields) button[type="submit"]{width:100%}

  /* Orders table becomes cards */
  .ac-account-shell table.ac-orders,.ac-account-shell table.ac-orders tbody{display:block;background:transparent;box-shadow:none;border-radius:0;overflow:visible}
  .ac-account-shell table.ac-orders thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .ac-account-shell table.ac-orders tbody tr{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:0 0 10px;padding:16px;border-radius:12px;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line)}
  .ac-account-shell table.ac-orders tbody th,.ac-account-shell table.ac-orders tbody td{display:block;padding:0!important;border:0!important;text-align:left!important}
  .ac-account-shell table.ac-orders tbody th::before,.ac-account-shell table.ac-orders tbody td::before{display:none!important}
  .ac-account-shell table.ac-orders .woocommerce-orders-table__cell-order-number{grid-column:1/-1}
  .ac-account-shell table.ac-orders .woocommerce-orders-table__cell-order-date{grid-column:1;font-size:13.5px;color:var(--ac-muted);align-self:center}
  .ac-account-shell table.ac-orders .woocommerce-orders-table__cell-order-status{grid-column:2;justify-self:end}
  .ac-account-shell table.ac-orders .woocommerce-orders-table__cell-order-total{grid-column:1/-1;font-weight:600}
  .ac-account-shell table.ac-orders .woocommerce-orders-table__cell-order-actions{grid-column:1/-1}
  .ac-account-shell .ac-order-actions{justify-content:stretch}
  .ac-account-shell .ac-order-actions .ac-btn{flex:1}
  .ac-account-shell .ac-order-link span{max-width:none;white-space:normal}

  .ac-downloads .ac-dl{grid-template-columns:60px minmax(0,1fr);gap:12px;padding:12px}
  .ac-downloads .ac-dl-art{width:60px;height:60px}
  .ac-downloads .ac-dl-action{grid-column:1/-1}
  .ac-downloads .ac-dl-action .ac-btn{width:100%}
  .ac-downloads.is-compact .ac-dl{grid-template-columns:52px minmax(0,1fr) auto}
  .ac-downloads.is-compact .ac-dl-art{width:52px;height:52px}
  .ac-downloads.is-compact .ac-dl-action{grid-column:auto}
  .ac-downloads.is-compact .ac-dl-action .ac-btn{width:auto;padding:0 12px}
  .ac-downloads.is-compact .ac-dl-action .ac-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
}
@media (prefers-reduced-motion:reduce){
  .ac-account-shell *,.ac-downloads *{transition:none!important}
}
