.gac {
  --gac-ink: #16142b;
  --gac-muted: #5c5871;
  --gac-line: #e7e4ef;
  --gac-violet: #5829ce;
  --gac-violet-dark: #421da5;
  --gac-soft: #f1ebff;
  --gac-white: #fff;
  --gac-radius: 20px;
  color: var(--gac-ink);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.gac, .gac *, .gac *::before, .gac *::after { box-sizing: border-box; }
.gac :where(h2,h3,strong,b) { color: inherit; }
.gac :where(h2,h3,p,form,dl,dt,dd) { margin: 0; }
.gac :where(a,button,input,summary):focus-visible { outline: 3px solid #7952e8; outline-offset: 3px; }
.gac :where(a) { text-decoration: none; color: var(--gac-violet-dark); }
.gac svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.gac [hidden] { display: none !important; }
.gac a:hover { text-decoration: none; }
.gac .gac-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 16px; border: 1px solid transparent;
  border-radius: 11px; font-family: inherit;
  font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none;
  text-align: center; box-shadow: none; cursor: pointer; transition: background-color .16s, border-color .16s;
}
.gac .gac-primary { color: #fff; background: var(--gac-violet); }
.gac .gac-primary:hover { color: #fff; background: var(--gac-violet-dark); }
.gac .gac-outline, .gac .gac-google { background: #fff; color: var(--gac-ink); border-color: #dcd8e9; }
.gac .gac-outline:hover, .gac .gac-google:hover { color: var(--gac-violet-dark); background: #f6f2ff; border-color: #baa8ed; }
.gac .gac-light { color: #34206d; background: #ecdeff; }
.gac .gac-light:hover { color: #2a165c; background: #fff; }
.gac .gac-icon, .gac .gac-mark { display: inline-grid; place-items: center; flex-shrink: 0; }
.gac .gac-mark { width: 39px; height: 39px; border-radius: 11px; background: #ddd1ff; color: #4322a0; }
.gac .gac-icon { width: 41px; height: 41px; border-radius: 11px; background: var(--gac-soft); color: var(--gac-violet-dark); }
.gac .gac-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 21px; font-weight: 800; letter-spacing: -.035em; overflow-wrap: anywhere; }
.gac-auth {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-width: 1120px; margin: 18px auto 40px;
  min-height: 600px; border: 1px solid var(--gac-line); border-radius: 26px; overflow: hidden;
  background: var(--gac-white); box-shadow: 0 24px 72px #31256715;
}
.gac-auth-story {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px; min-height: 100%; padding: clamp(25px, 5vw, 65px);
  background: radial-gradient(ellipse at 105% 80%, #5c3299, transparent 66%), linear-gradient(155deg, #171030 5%, #2d1a55 85%);
  color: #fff;
}
.gac-auth-story .gac-brand { align-self: flex-start; }
.gac-story-copy { position: relative; z-index: 1; }
.gac-story-copy h2 { max-width: 10ch; font-size: clamp(42px, 5.5vw, 73px); font-weight: 850; line-height: .99; letter-spacing: -.065em; text-wrap: balance; }
.gac-story-copy p { max-width: 305px; margin-top: 20px; color: #e5defa; font-size: 16px; }
.gac-story-link { position: relative; align-self: flex-start; z-index: 1; color: #f0e7ff; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.gac-story-link:hover { color: #fff; }
.gac-art {
  position: absolute; bottom: 0; right: -5%; display: flex; align-items: flex-end; gap: 9px; opacity: .45;
  width: 64%; height: 48%; transform: skewX(-13deg); pointer-events: none; mask-image: linear-gradient(to top, transparent, #000 67%);
}
.gac-art i { width: 16%; height: 25%; border-radius: 11px 11px 0 0; background: linear-gradient(180deg, #b298ff, #b298ff0c); }
.gac-art i:nth-child(2) { height: 39%; }
.gac-art i:nth-child(3) { height: 51%; }
.gac-art i:nth-child(4) { height: 64%; }
.gac-art i:nth-child(5) { height: 79%; }
.gac-art i:nth-child(6) { height: 98%; }
.gac-auth-main { display: grid; align-items: center; justify-items: center; padding: clamp(25px, 4.6vw, 67px); }
.gac-auth-inner { width: min(100%, 390px); min-width: 0; }
.gac-auth-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 29px; border-radius: 12px; background: #f4f2f8; }
.gac-auth-tabs a, .gac-filters a { flex: 1; padding: 9px 10px; text-align: center; border-radius: 9px; color: var(--gac-muted); font-weight: 700; white-space: nowrap; }
.gac-auth-tabs a[aria-current], .gac-filters a[aria-current] { background: #fff; color: var(--gac-violet-dark); box-shadow: 0 1px 3px #261b4f16; }
.gac-auth-inner > h2, .gac-page-head h2 { font-size: clamp(31px, 4vw, 44px); font-weight: 820; letter-spacing: -.05em; line-height: 1.09; overflow-wrap: anywhere; }
.gac-auth-inner .gac-sub, .gac-page-head p { color: var(--gac-muted); margin: 8px 0 20px; }
.gac-google-form .gac-btn, .gac-auth .gac-primary { width: 100%; }
.gac-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; font-size: 13px; color: var(--gac-muted); white-space: nowrap; }
.gac-divider::before, .gac-divider::after { content: ""; height: 1px; background: var(--gac-line); flex: 1; }
.gac-form { display: grid; gap: 9px; }
.gac-form > label { margin: 4px 0 0; font-weight: 700; }
.gac .gac-form :where(input:not([type=checkbox]):not([type=hidden])), .gac .gac-search-key {
  display: block; width: 100%; min-width: 0; height: 46px; margin: 0; padding: 10px 11px;
  color: var(--gac-ink); font: inherit; background: #fff; border: 1px solid #dcd8e9; border-radius: 10px; box-shadow: none;
}
.gac .gac-form input::placeholder, .gac .gac-search-key::placeholder { opacity: 1; color: #726d84; }
.gac .gac-form .gac-code { letter-spacing: .24em; font-size: 20px; font-variant-numeric: tabular-nums; }
.gac-password { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
.gac-password input { grid-column: 1 / -1; grid-row: 1; }
.gac-password:has(button:not([hidden])) input { padding-right: 84px !important; }
.gac-password button {
  grid-column: 2; grid-row: 1; align-self: stretch; margin: 4px; padding: 0 10px; min-width: 68px;
  font: 700 13px/1.2 "Segoe UI", system-ui, sans-serif; text-transform: none; background: transparent;
  border: 0; border-radius: 8px; color: var(--gac-violet-dark); cursor: pointer; box-shadow: none;
}
.gac-password button:hover { background: var(--gac-soft); }
.gac-form small, .gac-order small, .gac-shortcuts small { color: var(--gac-muted); font-size: 13px; }
.gac-form .gac-btn { justify-self: start; margin-top: 7px; }
.gac .gac-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 7px 12px; flex-wrap: wrap; margin: 8px 0 0; font-size: 13px; }
.gac-form-footer a, .gac-text-link { font-weight: 700; }
.gac-form-footer a:hover, .gac-text-link:hover { text-decoration: underline; }
.gac .gac-check { display: inline-flex; align-items: center; gap: 6px; color: var(--gac-muted); cursor: pointer; }
.gac .gac-check input { accent-color: var(--gac-violet); }
.gac .gac-text-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none;
  color: var(--gac-violet-dark); font-family: inherit; font-size: 14px; line-height: 1.35; text-transform: none; box-shadow: none; cursor: pointer;
}
.gac-text-link svg { width: 16px; height: 16px; }
.gac .gac-notice { padding: 12px 13px; margin: 0 0 15px; border-radius: 10px; background: #f2edff; color: #3c2584; font-weight: 600; font-size: 14px; }

.woocommerce-account .woocommerce:has(> .gac-nav) { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: clamp(14px, 2.6vw, 32px); align-items: start; }
.woocommerce-account .woocommerce:has(> .gac-nav) > .woocommerce-MyAccount-content { grid-column: 2; min-width: 0; width: auto; float: none; margin: 0; }
.woocommerce-account .woocommerce:has(> .gac-nav) > :not(.gac-nav):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.woocommerce-account .woocommerce:has(> .gac-nav)::before, .woocommerce-account .woocommerce:has(> .gac-nav)::after { display: none; }
.gac-nav { grid-column: 1; padding: 17px 12px; background: #fff; border: 1px solid var(--gac-line); border-radius: var(--gac-radius); }
.gac-nav .gac-brand { margin: 3px 5px 18px; }
.gac-nav-main, .gac-nav-extra details[open] { display: grid; gap: 3px; }
.gac-nav :where(.gac-nav-main a,.gac-nav-extra a,summary) {
  display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 8px;
  border-radius: 9px; color: #37314d; font-weight: 700; line-height: 1.25;
}
.gac-nav :where(.gac-nav-main a,.gac-nav-extra a,summary):hover, .gac-nav a[aria-current] { background: var(--gac-soft); color: var(--gac-violet-dark); }
.gac-nav-extra { margin-top: 11px; padding-top: 8px; border-top: 1px solid var(--gac-line); }
.gac-nav-extra summary { cursor: pointer; }
.gac-nav-extra details > a { margin-top: 3px; font-weight: 650; }
.gac-nav-extra summary::-webkit-details-marker { display: none; }
.gac-nav-extra summary::after { content: "+"; margin-left: auto; }
.gac-nav-extra details[open] summary::after { content: "−"; }
.gac-content { min-width: 0; width: 100%; max-width: 1400px; }
.gac-page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0 19px; }
.gac-page-head p { margin-bottom: 0; }
.gac-summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 15px; }
.gac-summary > :only-child { grid-column: 1 / -1; }
.gac-balance {
  display: grid; justify-items: start; gap: 8px; padding: 22px 24px; border-radius: var(--gac-radius);
  background: radial-gradient(ellipse at 95% 10%, #633eab, transparent 69%), #261748; color: white;
}
.gac-balance .gac-icon { color: #f3e9ff; background: #ffffff26; }
.gac-balance h3 { margin-top: 4px; font-size: 15px; font-weight: 650; color: #e9dbff; }
.gac-balance > strong { font-size: clamp(27px, 3.7vw, 39px); line-height: 1.1; font-weight: 800; overflow-wrap: anywhere; }
.gac-balance strong .amount { color: inherit; }
.gac-balance .gac-btn { margin-top: 6px; }
.gac-shortcuts, .gac-profile-card, .gac-order, .gac-empty {
  border: 1px solid var(--gac-line); border-radius: var(--gac-radius); background: #fff;
}
.gac-shortcuts { display: grid; align-content: center; padding: 7px 14px; }
.gac-shortcuts a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px 4px; }
.gac-shortcuts a + a { border-top: 1px solid var(--gac-line); }
.gac-shortcuts a:hover strong { color: var(--gac-violet-dark); }
.gac-shortcuts a :where(strong,small) { display: block; }
.gac-shortcuts strong { color: var(--gac-ink); }
.gac-section { margin-top: 27px; }
.gac-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.gac-section-head h2 { font-size: clamp(19px, 3vw, 25px); font-weight: 800; letter-spacing: -.034em; line-height: 1.12; }
.gac-order { overflow: hidden; }
.gac-order + .gac-order { margin-top: 11px; }
.gac-order-header, .gac-service { padding: 14px 16px; }
.gac-order-header { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; }
.gac-order-id, .gac-order-meta, .gac-service-head, .gac-service-bar { display: flex; align-items: center; gap: 6px 9px; }
.gac-order-id h3 { font-size: 16px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.gac-order-meta, .gac-service-head { flex-wrap: wrap; }
.gac-service { border-top: 1px solid var(--gac-line); background: #fcfbff; }
.gac-tag { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #f0edf5; color: #4b455e; font-size: 12px; font-weight: 750; white-space: nowrap; }
.gac-tag--in_progress, .gac-tag--queued, .gac-tag--sending { background: #eee7ff; color: #44229d; }
.gac-tag--completed { background: #e2f6e9; color: #165633; }
.gac-tag--review, .gac-tag--partial, .gac-tag--pending { background: #fff1d8; color: #6d440d; }
.gac-tag--cancelled, .gac-tag--closed { background: #fcebed; color: #84213a; }
.gac-service-bar { margin: 8px 0; color: var(--gac-violet-dark); }
.gac-service-bar progress { display: block; flex: 1; min-width: 0; height: 9px; accent-color: var(--gac-violet); border: 0; border-radius: 999px; overflow: hidden; background: #e9e1f8; }
.gac-service-bar progress::-webkit-progress-bar { background: #e9e1f8; }
.gac-service-bar progress::-webkit-progress-value { background: #7043dc; border-radius: 999px; }
.gac-service-bar progress::-moz-progress-bar { background: #7043dc; border-radius: 999px; }
.gac-service-values { display: grid; grid-template-columns: repeat(auto-fit,minmax(92px,1fr)); gap: 9px 12px; margin: 0 0 5px; }
.gac-service-values dt { font-size: 12px; color: var(--gac-muted); }
.gac-service-values dd { color: var(--gac-ink); font-variant-numeric: tabular-nums; font-weight: 800; overflow-wrap: anywhere; }
.gac-empty { padding: 20px; color: var(--gac-muted); }
.gac-empty strong { color: var(--gac-ink); }
.gac-empty p { margin-top: 5px; }
.gac-order-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.gac-filters { display: flex; flex-wrap: wrap; padding: 4px; gap: 3px; border-radius: 12px; background: #f2eff8; }
.gac-filters a { font-size: 13px; }
.gac-search { display: flex; align-items: center; gap: 5px; flex: 1 1 185px; max-width: 320px; }
.gac-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.gac-profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.gac-profile-card { padding: 19px; overflow-wrap: anywhere; }
.gac-profile-card h3 { font-size: 19px; font-weight: 800; line-height: 1.2; }
.gac-profile-card p { color: var(--gac-muted); margin: 5px 0 13px; }

@media(max-width: 900px) {
  .woocommerce-account .woocommerce:has(> .gac-nav) { grid-template-columns: minmax(0,1fr); }
  .woocommerce-account .woocommerce:has(> .gac-nav) > .woocommerce-MyAccount-content { grid-column: 1; }
  .gac-nav .gac-brand { display: none; }
  .gac-nav-main { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .gac-nav-main a { justify-content: center; text-align: center; }
}
@media(max-width: 640px) {
  .gac-auth { grid-template-columns: minmax(0,1fr); min-height: 0; margin-top: 8px; }
  .gac-auth-story { min-height: 0; padding: 21px; gap: 17px; }
  .gac-story-copy h2 { max-width: 13ch; font-size: clamp(32px, 8vw, 45px); }
  .gac-story-copy p { margin-top: 9px; font-size: 14px; }
  .gac-story-link { display: none; }
  .gac-auth-main { padding: 20px 19px 26px; }
  .gac-auth-tabs { margin-bottom: 18px; }
  .gac-summary, .gac-profile-grid { grid-template-columns: minmax(0,1fr); }
  .gac-page-head { flex-wrap: wrap; align-items: start; }
  .gac-nav { padding: 6px 7px; }
  .gac-nav-main a { flex-direction: column; gap: 3px; padding: 6px 3px; font-size: 11px; }
  .gac-nav-extra { margin-top: 4px; padding-top: 2px; }
  .gac-nav-extra summary { min-height: 34px; font-size: 13px; }
  .gac-order-header { align-items: flex-start; flex-direction: column; }
  .gac-order-meta { width: 100%; }
  .gac-order-meta :last-child { margin-left: auto; }
}
@media(prefers-reduced-motion: reduce) {
  .gac *, .gac *::before, .gac *::after { transition: none !important; }
}


/* History 1.1: scoped, container-aware layout; no JS required for navigation. */
.gac-history { container: gac-history / inline-size; }
.gac-history .gac-page-head { padding-bottom: 14px; }
.gac-history .gac-page-head h2 { font-size: clamp(24px, 4vw, 38px); }
.gac-history .gac-order-tools { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.gac-history .gac-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; padding: 6px; background: #eeebf5; }
.gac-history .gac-filters a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 5px; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; font-size: 13px; }
.gac-history .gac-filters a[aria-current] { background: var(--gac-violet-dark); color: #fff; box-shadow: none; }
.gac-history .gac-filters a:last-child { grid-column: auto; }
.gac-history .gac-history-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.gac-history-heading { display: grid; min-width: 0; }
.gac-history-heading small { color: var(--gac-muted); font-size: 12px; }
.gac-history .gac-search { max-width: 360px; min-width: 0; }
.gac-history .gac-search-key { height: 44px; }
.gac-history .gac-order { border-radius: 15px; }
.gac-history .gac-order-header { gap: 10px; }
.gac-history .gac-order-meta { justify-content: flex-end; }
.gac-history .gac-order-meta strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.gac-history .gac-order-id { min-width: 0; }
.gac-history .gac-order-meta .gac-tag { white-space: normal; }
.gac-history .gac-service-values { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.gac-history .gac-service-values > div { background: #fff; border: 1px solid var(--gac-line); padding: 9px 10px; border-radius: 9px; min-width: 0; }
.gac-history .gac-service-values > .gac-service-secondary { background: transparent; border-color: transparent; padding: 2px 10px; }
.gac-history .gac-service-values dd { font-size: 16px; line-height: 1.3; }
.gac-history .gac-service-bar progress { height: 8px; }
.gac-history .gac-service-bar:has(progress[value="100"]) progress { accent-color: #18804a; }
.gac-history .gac-service-bar progress[value="100"]::-webkit-progress-value { background: #18804a; }
.gac-history .gac-service-bar progress[value="100"]::-moz-progress-bar { background: #18804a; }
@container gac-history (min-width: 950px) {
  .gac-history .gac-filters { grid-template-columns: repeat(7,minmax(0,1fr)); }
  .gac-history .gac-service-values { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@container gac-history (max-width: 540px) {
  .gac-history .gac-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gac-history .gac-filters a:last-child { grid-column: 1 / -1; }
  .gac-history .gac-page-head { align-items: flex-start; flex-wrap: wrap; }
  .gac-history .gac-refresh { min-height: 40px; padding: 7px 12px; }
  .gac-history .gac-history-toolbar { align-items: stretch; flex-direction: column; }
  .gac-history .gac-search { flex: 0 1 auto; max-width: none; width: 100%; }
  .gac-history .gac-order-header { flex-direction: column; align-items: stretch; padding: 12px; }
  .gac-history .gac-order-meta { justify-content: flex-start; }
  .gac-history .gac-order-meta .gac-text-link:last-child { margin-left: auto; }
  .gac-history .gac-service { padding: 12px; }
  .gac-history .gac-service-values { gap: 5px; }
  .gac-history .gac-service-values > div { padding: 7px 5px; }
  .gac-history .gac-service-values dt { font-size: 11px; overflow-wrap: anywhere; }
  .gac-history .gac-service-values dd { font-size: 14px; }
  .gac-history .gac-pagination { gap: 8px; flex-wrap: wrap; }
}
/* Fallback for older browsers without container queries. */
@media (max-width: 540px) {
  .gac-history .gac-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gac-history .gac-filters a:last-child { grid-column: 1 / -1; }
  .gac-history .gac-search { max-width: none; }
}

/* Suppress duplicate theme headings only on the custom account screen. */
body.gac-account-page .page-title,body.gac-account-page .wd-page-title,body.gac-account-page .woocommerce-breadcrumb,body.gac-account-page .wd-breadcrumbs,body.gac-account-page .entry-header:has(.entry-title),body.gac-account-page .woocommerce-MyAccount-title {display:none!important}
body.gac-account-page .woocommerce-MyAccount-content{min-width:0;max-width:100%}
@media(max-width:767px){
 body.gac-account-page .woocommerce{min-width:0;max-width:100%;padding-top:0!important}
 body.gac-account-page .woocommerce-MyAccount-content{width:100%!important;float:none!important;margin:0!important;padding:0!important}
 body.gac-account-page .site-content{padding-top:12px!important;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .gac-dashboard .gac-page-head{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:0 0 12px}
 .gac-dashboard .gac-page-head h2{font-size:clamp(23px,6.5vw,32px);line-height:1.13}
 .gac-dashboard .gac-page-head p{font-size:13px;margin:4px 0}
 .gac-dashboard .gac-page-head .gac-btn{width:100%;min-height:44px}
 .gac-dashboard .gac-summary{display:flex;flex-direction:column;gap:8px}
 .gac-dashboard .gac-balance{padding:14px;min-width:0}
 .gac-dashboard .gac-balance .gac-icon{display:none}
 .gac-dashboard .gac-balance strong{font-size:clamp(26px,7vw,36px);color:#fff!important}
 .gac-dashboard .gac-balance strong :is(bdi,span){color:#fff!important}
 .gac-dashboard .gac-balance .gac-btn{width:100%;min-height:44px}
 .gac-dashboard .gac-shortcuts{display:none}
 .gac-dashboard .gac-nav{margin:12px 0}
 .gac-auth{margin:0 auto 20px;border-radius:16px;box-shadow:none;display:flex;flex-direction:column}
 .gac-auth-story{padding:12px 14px;gap:8px}
 .gac-auth-story .gac-brand{font-size:16px}
 .gac-auth-story .gac-mark{width:28px;height:28px}
 .gac-story-copy h2{font-size:clamp(20px,5.5vw,27px);max-width:none;line-height:1.1}
 .gac-story-copy p{font-size:12px;margin-top:4px}
 .gac-auth-main{padding:14px}
 .gac-auth-tabs{margin-bottom:12px}
 .gac-auth-inner>h2{font-size:25px}
 .gac-auth-inner .gac-sub{margin:5px 0 12px}
 .gac-auth input:not([type=checkbox]){font-size:16px}
}


.gac-passkey-access {
	display: grid;
	gap: 5px;
	margin: 10px 0 0;
}
.gac-passkey-access :is(form,button) { margin: 0; }
.gac-passkey-access :is(button, input[type="button"], a[role="button"]) {
	width: 100%;
	min-height: 44px;
	border-radius: 12px;
}
.gac-passkey-access p {
	margin: 0;
	color: var(--gac-muted, #625b76);
	font-size: .82rem;
	text-align: center;
}
.gac-passkey-profile { min-width: 0; }
.gac-passkey-profile #passkey_app { max-width: 100%; overflow-wrap: anywhere; }

/* Keep the account navigation after the recharge form in document order. */
body.gac-recharge-page .wd-content-layout {padding-block-start:clamp(12px,2vw,24px)}
body.gac-recharge-page .woocommerce > .woocommerce-MyAccount-content {
  float:none;width:100%;max-width:100%;min-width:0;margin:0;
}
body.gac-recharge-page .woocommerce-MyAccount-content > .gac-nav {
  float:none;width:100%;max-width:100%;min-width:0;margin:18px 0 0;
}
@media (min-width:901px) {
  body.gac-recharge-page .gac-nav-main {grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Dashboard: one small top inset, not a stack of theme and plugin insets. */
body.gac-dashboard-page :is(.wd-content-layout,.main-page-wrapper):has(.gac-dashboard){padding-block-start:0!important;margin-block-start:0!important}
body.gac-dashboard-page :is(.wd-content-area,.site-content):has(.gac-dashboard){padding-block-start:12px!important;margin-block-start:0!important}
body.gac-dashboard-page :is(.entry-content,.woocommerce,.woocommerce-MyAccount-content,.gac-dashboard):has(.gac-dashboard),
body.gac-dashboard-page .gac-dashboard{margin-block-start:0!important;padding-block-start:0!important}
body.gac-dashboard-page .gac-dashboard .gac-page-head{padding-block-start:0!important;margin-block-start:0!important}
body.gac-dashboard-page .gac-dashboard .gac-page-head h2{margin-block-start:0!important}
@media(max-width:767px){
 body.gac-dashboard-page :is(.wd-content-area,.site-content):has(.gac-dashboard){padding-block-start:10px!important}
 body.gac-dashboard-page .woocommerce-MyAccount-content{margin-block-start:0!important;padding-block-start:0!important}
}


/* Empty WooCommerce notice wrappers must not reserve a grid row above the greeting. */
body.gac-dashboard-page .woocommerce-notices-wrapper:empty{display:none!important}

/* Dedicated recharge: no account navigation or reserved desktop sidebar. */
body.gac-recharge-page :is(.gac-nav,.woocommerce-MyAccount-navigation,.wd-my-account-sidebar){display:none!important}
body.gac-recharge-page :is(.woocommerce,.wd-my-account-wrapper):has(.woocommerce-MyAccount-content){display:block!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;gap:0!important;border:0!important}
body.gac-recharge-page .woocommerce-MyAccount-content{display:block!important;float:none!important;grid-column:1/-1!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:1 1 100%!important;margin:0 auto!important;padding:0!important;border:0!important;box-shadow:none!important}
body.gac-recharge-page :is(.woocommerce,.woocommerce-MyAccount-content,.wd-my-account-wrapper):before,body.gac-recharge-page :is(.woocommerce,.woocommerce-MyAccount-content,.wd-my-account-wrapper):after{border:0!important}
body.gac-recharge-page .wd-content-layout:has(.gfw-recharge),body.gac-recharge-page .wd-content-layout:has(.gfqr-integrated){display:block!important;grid-template-columns:none!important}
body.gac-recharge-page .wd-content-layout:has(.gfw-recharge) :is(.wd-content-area,.site-content),body.gac-recharge-page .wd-content-layout:has(.gfqr-integrated) :is(.wd-content-area,.site-content){width:100%!important;max-width:100%!important;flex:1 1 100%!important;margin:0 auto!important;border:0!important}
body.gac-recharge-page .wd-my-account-content{width:100%!important;max-width:100%!important;flex:1 1 100%!important;float:none!important;margin:0 auto!important;padding-inline:0!important;border:0!important}

/* 1.1.10: compact funding cards, no absolute positioning or overlap. */
.gac .gac-topup-card .gac-order-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:9px 8px; }
.gac .gac-topup-card .gac-order-id { min-width:0; align-items:center; }
.gac .gac-topup-card .gac-order-id > div {min-width:0;}
.gac .gac-topup-card .gac-order-id small {font-size:12px; white-space:normal;}
.gac .gac-topup-card .gac-order-meta { grid-column:1/-1; width:100%; justify-content:flex-start; }
.gac .gac-topup-card .gac-order-meta .gac-text-link:last-child { margin-left:auto; }
.gac .gac-payment-tools {display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0;max-width:120px;}
.gac .gac-cancel-form {margin:0;display:flex;justify-content:flex-end;}
.gac .gac-cancel-mini {display:inline-flex;justify-content:center;align-items:center;min-height:29px;min-width:66px;padding:4px 9px;border:1px solid #f0c4ce;border-radius:9px;background:#fff4f6;color:#9c2342;font-family:inherit;font-size:11px;font-weight:700;line-height:1.2;text-transform:none;box-shadow:none;cursor:pointer;white-space:nowrap;}
.gac .gac-cancel-mini:hover {background:#ffe4e9;color:#861532;}
.gac .gac-cancel-mini:disabled {opacity:.6;cursor:wait;}
.gac .gac-payment-brand {display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;color:#5c5871;font-size:10px;font-weight:650;line-height:1.2;max-width:100%;text-align:right;}
.gac .gac-payment-brand > span {overflow-wrap:anywhere;min-width:0;}
.gac .gac-payment-brand img {display:block;width:18px;height:18px;object-fit:contain;flex:0 0 18px;border-radius:3px;}
.gac .gac-payment-brand svg {width:14px;height:14px;color:#5829ce;}
@media(max-width:360px){.gac .gac-topup-card .gac-order-header{padding:12px 10px;gap:8px 5px;}.gac .gac-topup-card .gac-order-id{gap:6px;}.gac .gac-topup-card .gac-order-id .gac-icon{width:32px;height:32px;}.gac .gac-topup-card .gac-order-id h3{font-size:14px;}.gac .gac-payment-tools{max-width:92px;}}
