/* 2.1.0 account layout. Theme component classes and behavior are preserved. */
:where(.wpc-customer-root) { color: var(--wpc-customer-ink); font: inherit; line-height: 1.5; }
:where(.wpc-customer-root, .wpc-customer-root *, .wpc-customer-root *::before, .wpc-customer-root *::after) { box-sizing: border-box; }
.wpc-customer-root .field { display: block; margin-bottom: 18px; }
.wpc-customer-root .field__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--wpc-customer-muted); }
.wpc-customer-root .input { width: 100%; min-height: 46px; padding: 12px 14px; background: var(--wpc-customer-bg); border: 1px solid var(--wpc-customer-line); border-radius: var(--wpc-customer-radius); color: var(--wpc-customer-ink); font: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.wpc-customer-root .input-wrap { position: relative; }
.wpc-customer-root .input-wrap .input { padding-inline-end: 72px; }
.wpc-customer-root .input-toggle { position: absolute; inset-block: 1px; inset-inline-end: 1px; padding: 0 12px; border: 0; border-radius: var(--wpc-customer-radius); background: transparent; color: var(--wpc-customer-muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.wpc-customer-root .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1rem; border: 1px solid transparent; border-radius: var(--wpc-customer-radius); background: var(--wpc-customer-primary); color: var(--wpc-customer-on-primary); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.wpc-customer-root .btn:hover { background: var(--wpc-customer-primary); }
.wpc-customer-root .btn--block { width: 100%; }
.wpc-customer-root :is(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--wpc-customer-primary); outline-offset: 3px; }
.wpc-customer-root [hidden] { display: none; }
.wpc-customer-root :is(h2, h3, p) { margin: 0 0 1rem; }
.wpc-customer-root :is(h2, h3) { color: var(--wpc-customer-ink); line-height: 1.3; letter-spacing: -.025em; }
.wpc-customer-root h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.wpc-customer-root h3 { font-size: 1.125rem; }
.wpc-customer-root a:not(.btn) { text-underline-offset: .2em; }
.wpc-customer-root a:not(.btn):hover { text-decoration: underline; }
.wpc-customer-card { min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--wpc-customer-bg); border: 1px solid var(--wpc-customer-line); border-radius: var(--wpc-customer-radius-lg); box-shadow: var(--wpc-customer-shadow); }
.wpc-customer-auth { max-width: 460px; margin: 2rem auto; }
.wpc-customer-overline { display: block; margin-bottom: .75rem; color: var(--wpc-customer-muted); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.wpc-customer-muted { color: var(--wpc-customer-muted); font-size: .875rem; }
.wpc-customer-auth > .wpc-customer-muted { margin-bottom: 1.75rem; }
.wpc-customer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 1.25rem; font-size: .875rem; }
.wpc-customer-row h3 { margin: 0; }
.wpc-customer-check { display: inline-flex; align-items: center; gap: .5rem; }
.wpc-customer-check input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--wpc-customer-primary); }
.wpc-customer-auth-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--wpc-customer-line); font-size: .875rem; }
.wpc-customer-alert { padding: 1rem; margin-bottom: 1.25rem; border: 1px solid var(--wpc-customer-line-strong); border-inline-start: 3px solid var(--wpc-customer-primary); border-radius: var(--wpc-customer-radius); background: var(--wpc-customer-bg); color: var(--wpc-customer-ink); font-size: .875rem; overflow-wrap: anywhere; }
.wpc-customer-alert a { text-decoration: underline; }
.wpc-customer-dashboard { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 1.5rem; max-width: 1200px; margin: 2rem auto; }
.wpc-customer-sidebar { padding: 1.25rem .875rem; }
.wpc-customer-identity { display: flex; align-items: center; gap: .75rem; padding: .25rem .5rem 1.5rem; border-bottom: 1px solid var(--wpc-customer-line); margin-bottom: 1rem; overflow-wrap: anywhere; }
.wpc-customer-identity > div { min-width: 0; }
.wpc-customer-identity strong { display: block; color: var(--wpc-customer-ink); font-size: .875rem; }
.wpc-customer-identity .wpc-customer-muted { display: block; font-size: .75rem; }
.wpc-customer-avatar { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: var(--wpc-customer-radius); background: var(--wpc-customer-soft); color: var(--wpc-customer-ink); font-size: 1.125rem; font-weight: 600; }
.wpc-customer-nav { display: flex; flex-direction: column; gap: .25rem; }
.wpc-customer-nav a { display: block; padding: .75rem .875rem; border-radius: var(--wpc-customer-radius); font-size: .875rem; color: var(--wpc-customer-muted); text-decoration: none; transition: background .15s ease; }
.wpc-customer-nav a:hover { background: var(--wpc-customer-bg); }
.wpc-customer-nav a[aria-current] { background: var(--wpc-customer-bg); color: var(--wpc-customer-ink); font-weight: 600; border-inline-start: 3px solid var(--wpc-customer-primary); padding-inline-start: calc(.875rem - 3px); }
.wpc-customer-logout { display: block; padding: .875rem; margin-top: 1rem; border-top: 1px solid var(--wpc-customer-line); font-size: .875rem; color: var(--wpc-customer-muted); }
.wpc-customer-main { min-width: 0; }
.wpc-customer-heading { margin: .25rem 0 1.75rem; }
.wpc-customer-heading h2 { margin-bottom: .5rem; }
.wpc-customer-welcome { display: flex; align-items: center; justify-content: space-between; gap: 1rem; overflow: hidden; }
.wpc-customer-welcome h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.wpc-customer-welcome p { margin-bottom: 0; }
.wpc-customer-welcome-mark { color: var(--wpc-customer-primary); font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.wpc-customer-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 2rem; }
.wpc-customer-stat { display: flex; flex-direction: column; gap: .75rem; position: relative; padding: 1.25rem; text-decoration: none; }
.wpc-customer-stat strong { color: var(--wpc-customer-ink); font-size: 1.25rem; line-height: 1.2; padding-inline-end: .5rem; }
.wpc-customer-stat-arrow { position: absolute; top: 1.125rem; inset-inline-end: .75rem; color: var(--wpc-customer-muted); }
.wpc-customer-stat .wpc-customer-muted { font-size: .75rem; padding-inline-end: .75rem; }
.wpc-customer-empty { text-align: center; padding-block: 3rem; }
.wpc-customer-empty p { max-width: 30rem; margin: 0 auto; }
.wpc-customer-empty-icon { display: block; color: var(--wpc-customer-muted); font-size: 2.5rem; margin-bottom: 1rem; }
.wpc-customer-table-wrap { padding: 0; overflow-x: auto; }
.wpc-customer-table { border-collapse: collapse; width: 100%; font-size: .875rem; margin: 0; }
.wpc-customer-table :is(th, td) { padding: 1rem 1.25rem; text-align: start; border: 0; border-bottom: 1px solid var(--wpc-customer-line); white-space: nowrap; }
.wpc-customer-table thead th { background: var(--wpc-customer-bg); color: var(--wpc-customer-muted); font-size: .75rem; font-weight: 500; }
.wpc-customer-table tbody th { font-weight: 600; }
.wpc-customer-table tbody tr:last-child > * { border-bottom: 0; }
.wpc-customer-table a { text-decoration: underline; }
.wpc-customer-badge { display: inline-flex; padding: .1875rem .5rem; border: 1px solid var(--wpc-customer-line); border-radius: .375rem; background: var(--wpc-customer-bg); font-size: .75rem; }
.wpc-customer-settings { margin-bottom: 1.25rem; }
.wpc-customer-settings .wpc-customer-form { max-width: 32rem; }
.wpc-customer-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; font-size: .875rem; }
.wpc-customer-native { overflow-x: auto; }
.wpc-customer-native :is(table, .wpcoreai-licenses) { width: 100%; max-width: 100%; font-size: .875rem; overflow-wrap: anywhere; }
.wpc-customer-native :is(th, td) { text-align: start; padding: .75rem; border-bottom: 1px solid var(--wpc-customer-line); }
.wpc-customer-native .edd_download_file_link { display: inline-block; padding: .5rem 0; text-decoration: underline; }
.wpc-customer-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wpc-customer-form[aria-busy] .wpc-customer-submit { cursor: wait; }
.wpc-customer-submit:disabled { cursor: wait; }
@media (max-width: 1023px) {
  .wpc-customer-dashboard { grid-template-columns: minmax(0, 1fr); }
  .wpc-customer-sidebar { padding: 1rem; }
  .wpc-customer-identity { padding-bottom: 1rem; }
  .wpc-customer-nav { flex-direction: row; flex-wrap: wrap; gap: .25rem; }
  .wpc-customer-nav a { flex: 1 1 auto; text-align: center; padding: .625rem; }
  .wpc-customer-nav a[aria-current] { border-inline-start: 0; padding-inline-start: .625rem; border-block-end: 2px solid var(--wpc-customer-primary); }
  .wpc-customer-logout { margin-top: .75rem; padding: .75rem .5rem 0; }
}
@media (max-width: 639px) {
  .wpc-customer-auth, .wpc-customer-dashboard { margin-block: 1rem; }
  .wpc-customer-stats { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .wpc-customer-stat { padding: 1rem 1.25rem; gap: .375rem; }
  .wpc-customer-table :is(th, td) { padding: .875rem; }
  .wpc-customer-auth-footer { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wpc-customer-root *, .wpc-customer-root *::before, .wpc-customer-root *::after { transition: none; animation: none; }
}

/* Component states, kept local to the plugin's existing account shell. */
.wpc-customer-root { color: var(--wpc-customer-ink); }
.wpc-customer-root .field__label { font-size: .875rem; color: var(--wpc-customer-ink); }
.wpc-customer-root .input { line-height: 1.5; box-shadow: none; }
.wpc-customer-root .input:hover { border-color: var(--wpc-customer-line-strong); }
.wpc-customer-root .input:focus { border-color: var(--wpc-customer-primary); outline: 2px solid var(--wpc-customer-primary); outline-offset: 2px; box-shadow: none; }
.wpc-customer-root .input-wrap .input { padding-inline-start: 14px; padding-inline-end: 76px; }
.wpc-customer-root .input-toggle { min-width: 64px; min-height: 44px; inset-inline-start: auto; inset-inline-end: 1px; color: var(--wpc-customer-muted); border-radius: var(--wpc-customer-radius); }
.wpc-customer-root .input-toggle:hover { color: var(--wpc-customer-ink); background: var(--wpc-customer-soft); }
.wpc-customer-root .btn:hover { box-shadow: var(--wpc-customer-hover-shadow); }
.wpc-customer-root .btn:active { box-shadow: none; transform: translateY(1px); }
.wpc-customer-root :is(.btn, .input):disabled { opacity: .6; cursor: not-allowed; }
.wpc-customer-root a:not(.btn):not([aria-current]):not(.wpc-customer-stat):not(.wpc-customer-logout):not(.wpc-customer-nav a) { color: var(--wpc-customer-primary); }
.wpc-customer-root .wpc-customer-stat:not(.btn) { color: var(--wpc-customer-ink); }
.wpc-customer-root .wpc-customer-nav a { min-height: 44px; color: var(--wpc-customer-muted); border: 1px solid transparent; }
.wpc-customer-root .wpc-customer-nav a[aria-current] { color: var(--wpc-customer-primary); border-inline-start: 3px solid var(--wpc-customer-primary); }
.wpc-customer-stat:hover { border-color: var(--wpc-customer-line-strong); box-shadow: var(--wpc-customer-hover-shadow); }
.wpc-customer-root .wpc-customer-alert { background: var(--wpc-customer-soft); color: var(--wpc-customer-ink); }
.wpc-customer-root .form-error { background: var(--wpc-customer-bg); border-color: var(--wpc-customer-primary); }
.wpc-customer-hint { display: block; margin-block-start: 6px; color: var(--wpc-customer-muted); font-size: .8125rem; line-height: 1.5; }
.wpc-customer-auth .wpc-customer-signin-link:only-child { min-height: 44px; display: inline-flex; align-items: center; }
.wpc-customer-table-wrap:focus-visible { border-color: var(--wpc-customer-primary); }
.wpc-customer-table tbody tr:hover { background: var(--wpc-customer-soft); }
.wpc-customer-table-wrap { scrollbar-color: var(--wpc-customer-line-strong) var(--wpc-customer-soft); }
.wpc-customer-pagination a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 12px; border: 1px solid var(--wpc-customer-line); border-radius: var(--wpc-customer-radius); background: var(--wpc-customer-bg); }
.wpc-customer-native .wpcoreai-licenses { margin: 0; padding: 0; border: 0; background: var(--wpc-customer-bg); color: var(--wpc-customer-ink); box-shadow: none; }
.wpc-customer-native .wpcoreai-licenses > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.wpc-customer-native .wpcoreai-licenses > ul > li { min-width: 0; padding: 20px; border: 1px solid var(--wpc-customer-line); border-radius: var(--wpc-customer-radius); background: var(--wpc-customer-bg); overflow-wrap: anywhere; }
.wpc-customer-native .wpcui-license-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-block: 12px; }
.wpc-customer-native .wpcui-license-key { flex: 1 1 200px; padding: 12px; border: 1px solid var(--wpc-customer-line); border-radius: var(--wpc-customer-radius); background: var(--wpc-customer-soft); overflow-wrap: anywhere; }
.wpc-customer-native .wpcui-license-tools { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.wpc-customer-native .wpcoreai-licenses button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--wpc-customer-line-strong); border-radius: var(--wpc-customer-radius); color: var(--wpc-customer-primary); background: var(--wpc-customer-bg); cursor: pointer; }
.wpc-customer-native .wpcoreai-licenses button:hover { background: var(--wpc-customer-soft); }
.wpc-customer-native .wpcui-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[dir=rtl] .wpc-customer-root :is(.wpc-customer-stat-arrow, .wpc-customer-empty-icon) { transform: scaleX(-1); }
@media (max-width: 1023px) {
  .wpc-customer-root .wpc-customer-nav a[aria-current] { border-inline-start: 1px solid transparent; border-block-end: 2px solid var(--wpc-customer-primary); }
}
@media (max-width: 639px) {
  .wpc-customer-welcome-mark { display: none; }
  .wpc-customer-table-wrap { border-inline-end: 3px solid var(--wpc-customer-line-strong); }
  .wpc-customer-nav a { font-size: .8125rem; }
}

.wpc-customer-auth--login .wpc-customer-signin-link { display: none; }
.wpc-customer-auth--login .wpc-customer-auth-footer:has(.wpc-customer-signin-link:only-child) { display: none; }
