.w-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; vertical-align: middle; }
.w-button { display: inline-flex; justify-content: center; align-items: center; gap: .75rem; border: 1px solid transparent; border-radius: var(--brand-radius); background: var(--w-action); color: var(--w-action-ink); padding: .875rem 1.25rem; min-height: 3rem; font-size: .875rem; font-weight: 600; line-height: 1.4; transition: background .15s; }
.w-button:hover { background: color-mix(in srgb, var(--w-action) 93%, var(--w-ink)); }
.w-button--small { min-height: 2.5rem; padding: .625rem 1rem; }
.w-button--compact { min-height: 44px; padding: .625rem 1rem; font-size: .8125rem; }
.w-button--secondary { background: var(--w-surface); color: var(--w-ink); border-color: var(--brand-control-border); }
.w-button--secondary:hover { background: var(--w-soft); }
.w-button:disabled { opacity: .55; cursor: not-allowed; }
.w-text-link { display: inline-flex; align-items: center; gap: .625rem; font-size: .875rem; font-weight: 550; color: var(--w-action); }
.w-text-link:hover { text-decoration: underline; text-underline-offset: .3rem; }
button.w-text-link { background: transparent; border: 0; padding: .375rem 0; min-height: 2.75rem; }
.w-text-link--muted { color: var(--w-muted); font-weight: 400; }
.w-text-link--muted:hover { color: var(--w-ink); }
.w-icon--whatsapp { display: inline-block; background-color: currentColor; mask-size: contain; mask-repeat: no-repeat; mask-position: center; }
.w-icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; background: transparent; border: 1px solid var(--brand-border); border-radius: var(--brand-radius); }
.w-agent-card { background: var(--w-surface); border-radius: var(--w-radius); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 1rem; scroll-margin-top: 7rem; }
.w-agent-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.w-agent-icon { display: inline-flex; padding: .875rem; color: var(--w-action); background: var(--w-tint); border-radius: .875rem; }
.w-agent-icon .w-icon { width: 1.75rem; height: 1.75rem; }
.w-badge { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; padding: .3125rem .625rem; background: var(--w-tint); color: var(--w-action); border-radius: 2rem; font-size: .6875rem; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.w-badge--neutral { color: var(--w-muted); background: var(--w-soft); }
.w-badge--danger { color: var(--w-error); background: color-mix(in srgb, var(--w-error) 8%, var(--w-surface)); }
.w-badge--success { background: var(--brand-success-surface); }
.w-badge--warning { color: color-mix(in srgb, var(--brand-accent) 45%, var(--w-ink)); background: color-mix(in srgb, var(--brand-accent) 12%, var(--w-surface)); }
.w-badge .w-icon { width: .875rem; height: .875rem; }
.w-agent-card .w-eyebrow { font-size: .625rem; }
.w-agent-card h3 { font-size: 1.5rem; }
.w-agent-card > p:not(.w-eyebrow) { font-size: .9375rem; }
.w-agent-card .w-text-link { padding-top: 1rem; margin-top: auto; }
.w-agent-card__detail { padding-top: 1rem; color: var(--w-muted); }
.w-feature { display: flex; gap: 1.25rem; padding-block: 1.5rem; }
.w-feature + .w-feature { border-top: 1px solid var(--brand-border); }
.w-feature__icon { flex-shrink: 0; color: var(--w-action); padding-top: .15rem; }
.w-feature h3 { font-size: 1rem; }
.w-feature p { margin-top: .5rem; font-size: .9375rem; color: var(--w-muted); }
.w-panel { background: var(--w-surface); border-radius: var(--w-radius); padding: 1.25rem; }
.w-panel__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.w-panel__heading h2 { font-size: 1.125rem; letter-spacing: -.025em; }
.w-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.w-metric { padding: 1.5rem; background: var(--w-soft); border-radius: var(--w-radius); }
.w-metric__label { font-size: .8125rem; color: var(--w-muted); margin-bottom: 1rem; }
.w-metric__value { display: block; font-size: 2rem; letter-spacing: -.045em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--w-ink); }
.w-metric a { margin-top: .75rem; }
.w-credit-balance { display: flex; align-items: center; gap: .75rem; padding: .625rem .875rem; flex-shrink: 0; }
.w-credit-balance > .w-icon { width: 2.75rem; height: 2.75rem; padding: .6875rem; border-radius: .875rem; color: var(--w-action); background: var(--w-tint); }
.w-credit-balance__label { display: block; font-size: .75rem; color: var(--w-muted); }
.w-credit-balance__value { display: block; font-size: 1.625rem; line-height: 1.25; letter-spacing: -.035em; font-weight: 550; font-variant-numeric: tabular-nums; }
.w-table-wrap { overflow-x: auto; }
.w-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .875rem; text-align: left; }
.w-table th { color: var(--w-muted); font-weight: 500; font-size: .75rem; padding: 0 .75rem .75rem; }
.w-table td { padding: .75rem; vertical-align: middle; }
.w-table tbody tr:nth-child(odd) { background: var(--w-soft); }
.w-table th:first-child, .w-table td:first-child { padding-left: 1rem; }
.w-table th:last-child, .w-table td:last-child { padding-right: 1rem; }
.w-table time { white-space: nowrap; }
.w-table__description { margin-top: .25rem; color: var(--w-muted); font-size: .75rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 30rem; }
.w-number { font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-reference { font-size: .75rem; white-space: nowrap; }
.w-empty { padding: 3rem 1rem; max-width: 30rem; margin-inline: auto; text-align: center; }
.w-empty > .w-icon { width: 2rem; height: 2rem; color: var(--w-muted); margin-bottom: 1rem; }
.w-empty h3 { font-size: 1.0625rem; }
.w-empty p { margin-top: .75rem; color: var(--w-muted); font-size: .875rem; }
.w-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .8125rem; color: var(--w-muted); }
.w-pagination__pages { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }
.w-page-link { display: inline-flex; justify-content: center; align-items: center; min-width: 2.5rem; min-height: 2.5rem; padding: .5rem .75rem; border-radius: var(--brand-radius); color: var(--w-ink); font-weight: 500; }
a.w-page-link:hover { background: var(--w-soft); }
.w-page-link[aria-current="page"] { color: var(--w-action); background: var(--w-tint); font-weight: 600; }
.w-page-link--disabled { color: var(--w-muted); opacity: .55; }
.w-pagination__ellipsis { padding: .5rem; }
.w-field { display: grid; gap: .5rem; }
.w-field label { font-size: .875rem; font-weight: 550; }
.w-input { width: 100%; min-height: 3rem; padding: .75rem 1rem; background: var(--w-surface); color: var(--w-ink); border: 1px solid var(--brand-control-border); border-radius: var(--brand-radius); }
.w-input::placeholder { color: var(--w-muted); opacity: .8; }
.w-input[aria-invalid="true"] { border-color: var(--w-error); }
.w-input[aria-invalid="true"]:focus-visible { outline-color: var(--w-error); }
.w-field__hint, .w-field__error { font-size: .75rem; }
.w-field__hint { color: var(--w-muted); }
.w-field__error { color: var(--w-error); }
.w-form-feedback { padding: 1rem; margin-top: 1.5rem; border-radius: var(--brand-radius); background: var(--w-tint); color: var(--w-ink); font-size: .875rem; }
.w-form-feedback--error { background: var(--w-soft); color: var(--w-error); }
.w-input--code { font-size: 1.5rem; letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.w-password { position: relative; }
.w-password .w-input { padding-right: 3.5rem; }
.w-password__toggle { position: absolute; inset: .25rem .25rem .25rem auto; border: none; color: var(--w-muted); }
.w-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 0; }
.w-detail-list dt { font-size: .8125rem; color: var(--w-muted); margin-bottom: .5rem; }
.w-detail-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 980px) { .w-metric-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .w-panel { padding: 1.25rem; } .w-detail-list { grid-template-columns: 1fr; gap: 1.5rem; } }
/* Native disclosures keep account actions accessible without JavaScript. */
.w-dropdown { position: relative; }
.w-dropdown > summary { list-style: none; cursor: pointer; }
.w-dropdown > summary::-webkit-details-marker { display: none; }
.w-dropdown > summary:focus-visible { outline: 2px solid var(--w-action); outline-offset: 4px; }
.w-dropdown__panel { position: absolute; inset-inline-end: 0; top: calc(100% + .875rem); width: 20rem; padding: .75rem; border-radius: var(--w-radius); background: var(--w-surface); box-shadow: 0 16px 48px color-mix(in srgb, var(--w-ink) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand-border) 45%, transparent); max-height: calc(100dvh - 8rem); overflow-y: auto; }
.w-dropdown__label { color: var(--w-muted); font-size: .75rem; font-weight: 500; }
.w-account-trigger { display: flex; align-items: center; gap: .625rem; min-height: 2.75rem; padding: .25rem .625rem .25rem .25rem; border-radius: 2rem; background: var(--w-soft); color: var(--w-ink); }
.w-account-trigger:hover, .w-dropdown[open] > summary { background: var(--w-tint); }
.w-avatar { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 50%; background: var(--w-tint); color: var(--w-action); font-size: .75rem; font-weight: 600; }
.w-account-trigger__name { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; font-weight: 550; }
.w-account-trigger__theme { display: inline-flex; align-items: center; color: var(--w-muted); padding-inline-start: .25rem; }
.w-account-trigger__chevron { display: inline-flex; align-items: center; color: var(--w-muted); }
.w-account-trigger__chevron .w-icon { width: 1rem; height: 1rem; }
.w-account-identity { display: flex; gap: .75rem; align-items: center; padding: .5rem .5rem 1rem; }
.w-account-identity > div { min-width: 0; }
.w-account-identity__name { font-size: .9375rem; font-weight: 550; overflow-wrap: anywhere; }
.w-account-balance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem; background: var(--w-tint); border-radius: var(--brand-radius); }
.w-account-balance > span { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--w-muted); }
.w-account-balance .w-icon { color: var(--w-action); }
.w-account-balance strong { margin-inline-start: auto; font-size: 1.25rem; font-weight: 600; letter-spacing: -.035em; }
.w-dropdown__links { padding-block: .5rem; }
.w-dropdown__item { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; width: 100%; padding: .625rem .75rem; border: 0; background: transparent; border-radius: var(--brand-radius); color: var(--w-ink); font-size: .875rem; text-align: start; }
.w-dropdown__item:hover { background: var(--w-soft); }
.w-dropdown__item > .w-icon { color: var(--w-muted); }
.w-dropdown__item > .w-icon:last-child:not(:first-child) { margin-inline-start: auto; width: 1rem; }
.w-dropdown__logout { margin: 0; }
.w-dropdown__item--danger:hover { background: color-mix(in srgb, var(--w-error) 8%, var(--w-surface)); color: var(--w-error); }
.w-dropdown__item--danger:hover > .w-icon { color: inherit; }
.w-dropdown__appearance { border-top: 1px solid color-mix(in srgb, var(--brand-border) 65%, transparent); margin-top: .25rem; padding-top: .5rem; }
.w-theme-picker { padding: .75rem .5rem; }
.w-theme-picker__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .375rem; margin-top: .625rem; }
.w-theme-picker__options button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .375rem; min-height: 3.75rem; border: 1px solid transparent; border-radius: var(--brand-radius); background: var(--w-soft); color: var(--w-muted); font-size: .75rem; }
.w-theme-picker__options button:hover { color: var(--w-ink); }
.w-theme-picker__options button[aria-pressed="true"] { background: var(--w-tint); border-color: var(--w-action); color: var(--w-action); }
.w-theme-icon, .w-theme-icon__light, .w-theme-icon__dark { align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; line-height: 0; }
.w-theme-icon, .w-theme-icon__light { display: inline-flex; }
.w-theme-icon .w-icon { display: block; }
.w-theme-icon__dark { display: none; }
:root[data-theme="dark"] .w-theme-icon__light { display: none; }
:root[data-theme="dark"] .w-theme-icon__dark { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .w-theme-icon__light { display: none; }
  :root:not([data-theme]) .w-theme-icon__dark { display: inline-flex; }
}
.w-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
