:root {
  --adv-navy: #071d3d;
  --adv-blue: #1468f3;
  --adv-muted: #60738f;
  --adv-line: #dce6f4;
  --adv-ice: #f3f7fd;
}
* { box-sizing: border-box; }
html { min-height: 100%; font-size: 16px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--adv-ice); color: var(--adv-navy); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--adv-blue); text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #45b9ed; outline-offset: 4px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.adv-container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; background: white; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }
.adv-header { background: white; border-bottom: 1px solid #edf2f9; }
.adv-header-inner { min-height: 98px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.adv-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--adv-navy); flex-shrink: 0; }
.adv-brand img { display: block; width: 56px; height: 56px; object-fit: contain; }
.adv-brand-copy { display: block; }
.adv-brand strong { font-family: Manrope, Inter, Arial, sans-serif; font-size: 26px; letter-spacing: -1.35px; font-weight: 800; line-height: 1.15; }
.adv-brand strong span { color: var(--adv-blue); }
.adv-brand small { display: block; color: var(--adv-muted); font-size: 12px; letter-spacing: .35px; margin-top: 5px; }
.header-product { display: flex; gap: 8px; align-items: center; color: var(--adv-muted); font-size: 14px; font-weight: 500; }
.header-product-dot { width: 6px; height: 6px; background: var(--adv-blue); border-radius: 50%; }
.header-account { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.adv-button-outline { padding: 9px 14px; border: 1px solid var(--adv-line); border-radius: 8px; color: #215ba6; background: white; font-size: 14px; font-weight: 600; }
.adv-button-outline:hover { background: #f4f8ff; }
.adv-product-bar { background: linear-gradient(100deg, #071b36, #123a60); color: white; }
.product-bar-inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.product-bar-name { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 16px; letter-spacing: -.3px; }
.product-bar-name > span { border-left: 1px solid #ffffff30; padding-left: 14px; font-weight: 400; font-size: 14px; color: #c5d4e7; letter-spacing: 0; }
.product-bar-access { color: #c5d4e7; font-size: 14px; }
.access-main { flex: 1; padding-block: 34px 22px; display: flex; flex-direction: column; justify-content: center; }
.access-context { display: flex; gap: 9px; align-items: center; margin-bottom: 17px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: #6881a1; }
.access-context > span:first-child { color: var(--adv-blue); }
.access-context > span:nth-child(2) { color: #a9b9ce; }
.access-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--adv-line); border-radius: 19px; overflow: hidden; background: white; box-shadow: 0 16px 50px #173f7210; }
.access-intro { position: relative; isolation: isolate; overflow: hidden; padding: 42px 46px 30px; background: linear-gradient(145deg, #071b37 15%, #10335b 100%); color: white; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.intro-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.intro-product { display: inline-flex; align-items: center; gap: 9px; font-size: 27px; font-weight: 800; letter-spacing: -1px; }
.intro-version { border: 1px solid #6aa4e644; border-radius: 5px; padding: 3px 5px; color: #adccf0; font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.intro-label { color: #b5c9e2; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; }
.intro-eyebrow { display: block; margin-bottom: 20px; font-size: 12px; letter-spacing: 2px; font-weight: 600; color: #8bb9fb; }
.intro-copy h2 { font-size: clamp(34px, 3.35vw, 47px); line-height: 1.16; font-weight: 700; letter-spacing: -1.8px; margin: 0 0 21px; }
.intro-copy h2 span { color: #75adff; }
.intro-copy > p { max-width: 295px; color: #b7cbe4; font-size: 15px; line-height: 1.8; margin: 0; }
.intro-bottom { position: relative; }
.intro-services { display: flex; gap: 21px; padding-bottom: 25px; border-bottom: 1px solid #a9c7ee26; flex-wrap: wrap; }
.intro-services > span { display: flex; gap: 7px; align-items: center; font-size: 12px; color: #d8e5f6; }
.intro-services svg { width: 17px; height: 17px; color: #81b6ff; }
.intro-signature { color: #9cb3d0; font-size: 12px; margin: 18px 0 0; letter-spacing: .2px; }
.intro-orbit { position: absolute; z-index: -1; border: 1px solid #76b2ff12; border-radius: 50%; pointer-events: none; }
.intro-orbit-one { width: 440px; height: 440px; bottom: -100px; right: -310px; }
.intro-orbit-two { width: 580px; height: 580px; bottom: -170px; right: -380px; }
.access-form-panel { padding: 42px 52px 35px; display: flex; align-items: center; justify-content: center; }
.access-form-content { width: 100%; max-width: 365px; }
.login-symbol { width: 43px; height: 43px; border: 1px solid #dce9ff; background: #eef5ff; border-radius: 12px; display: flex; justify-content: center; align-items: center; color: var(--adv-blue); margin-bottom: 22px; }
.login-symbol svg { width: 23px; height: 23px; }
.form-eyebrow { color: var(--adv-blue); font-weight: 700; letter-spacing: 1.5px; font-size: 12px; margin: 0 0 10px; }
.access-form-panel h1 { font-size: 29px; letter-spacing: -1.1px; font-weight: 700; margin: 0 0 10px; line-height: 1.25; }
.login-description { color: var(--adv-muted); font-size: 15px; line-height: 1.7; margin: 0 0 28px; }
.login-field { margin-bottom: 19px; }
.login-field > label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.login-field .form-control { border: 1px solid #d8e2ef; border-radius: 8px; padding: 12px 14px; font-size: 16px; min-height: 47px; color: var(--adv-navy); background: #fff; transition: border-color .15s, box-shadow .15s; }
.login-field .form-control::placeholder { color: #8997ab; }
.login-field .form-control:focus { border-color: var(--adv-blue); box-shadow: 0 0 0 3px #1468f314; outline: none; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 48px; }
.password-toggle { position: absolute; right: 4px; top: 3px; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 6px; background: transparent; color: #7488a4; cursor: pointer; }
.password-toggle:hover { background: #f2f6fd; color: var(--adv-blue); }
.password-toggle svg { width: 20px; height: 20px; }
.password-toggle[aria-pressed="true"] { color: var(--adv-blue); }
.remember-choice { display: inline-flex; align-items: center; gap: 8px; color: var(--adv-muted); font-size: 14px; cursor: pointer; margin-bottom: 23px; }
.remember-choice .form-check-input { width: 15px; height: 15px; margin: 0; border-color: #bdcbdd; border-radius: 4px; cursor: pointer; }
.form-check-input:checked { background-color: var(--adv-blue); border-color: var(--adv-blue); }
.login-submit { width: 100%; min-height: 46px; display: flex; justify-content: center; align-items: center; gap: 14px; border: 0; border-radius: 8px; background: var(--adv-blue); color: white; font-size: 14px; font-weight: 600; box-shadow: 0 5px 12px #1468f31c; transition: background .15s; }
.login-submit:hover { background: #0957d6; }
.login-submit svg { width: 17px; height: 17px; }
.access-help { margin-top: 25px; padding-top: 20px; border-top: 1px solid #e8eef7; display: flex; align-items: flex-start; gap: 9px; color: var(--adv-muted); }
.access-help > svg { width: 15px; height: 15px; margin-top: 2px; color: #8295b1; }
.access-help p { font-size: 12px; line-height: 1.8; margin: 0; }
.access-help strong { font-weight: 500; color: #355579; }
.login-validation.validation-summary-valid { display: none; }
.login-validation.validation-summary-errors { margin-bottom: 19px; padding: 11px 13px; border: 1px solid #f2c5c9; border-radius: 8px; background: #fff4f4; color: #a52834; font-size: 14px; line-height: 1.6; }
.login-validation ul { margin: 0; padding-left: 16px; }
.field-error { display: block; color: #af2835; font-size: 12px; margin-top: 6px; }
.field-error:empty { display: none; }
.login-field .input-validation-error { border-color: #c44855; }
.access-footnote { color: #7589a5; font-size: 12px; margin: 18px 0 0; text-align: center; }
.access-footnote span { padding-inline: 5px; }
.adv-footer { border-top: 1px solid var(--adv-line); color: #7286a2; }
.footer-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.footer-inner a { color: #416287; }
.footer-inner a:hover { color: var(--adv-blue); }
.portal-main { flex: 1; padding-block: 42px; }
@media (min-width: 1500px) { .access-main { padding-block: 50px 36px; } }
@media (max-width: 1000px) {
  .adv-container { width: calc(100% - 48px); }
  .access-intro { padding: 34px 30px 27px; }
  .access-form-panel { padding: 36px 32px 30px; }
  .intro-services { gap: 14px; }
  .intro-label { display: none; }
}
@media (max-width: 700px) {
  .adv-container { width: calc(100% - 32px); }
  .adv-header-inner { min-height: 82px; }
  .adv-brand { gap: 8px; }
  .adv-brand img { width: 43px; height: 43px; }
  .adv-brand strong { font-size: 22px; }
  .adv-brand small { font-size: 12px; letter-spacing: 0; }
  .header-product { display: none; }
  .product-bar-inner { min-height: 46px; }
  .product-bar-name > span { font-size: 12px; padding-left: 10px; }
  .product-bar-name { gap: 10px; font-size: 16px; }
  .product-bar-access { font-size: 12px; }
  .access-main { padding-block: 24px; }
  .access-context { font-size: 12px; letter-spacing: 1.1px; }
  .access-card { grid-template-columns: 1fr; border-radius: 14px; }
  .access-intro { padding: 25px 27px; gap: 22px; }
  .intro-topline { gap: 15px; }
  .intro-product { font-size: 21px; }
  .intro-label { display: block; }
  .intro-eyebrow, .intro-bottom { display: none; }
  .intro-copy h2 { font-size: 29px; letter-spacing: -1px; margin-bottom: 12px; }
  .intro-copy h2 br { display: none; }
  .intro-copy h2 span { display: block; }
  .intro-copy > p { font-size: 14px; max-width: 290px; line-height: 1.7; }
  .access-form-panel { padding: 30px 27px; }
  .access-form-content { max-width: none; }
  .login-symbol { display: none; }
  .form-eyebrow { font-size: 12px; letter-spacing: 1.3px; }
  .access-form-panel h1 { font-size: 27px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding-block: 18px; text-align: center; }
  .footer-inner > span:nth-child(2) { display: none; }
  .header-account { gap: 8px; font-size: 12px; }
  .adv-button-outline { font-size: 12px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* TAE: resumen de operación */
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 22px; }
.dashboard-eyebrow { color: var(--adv-blue); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; margin: 0 0 11px; }
.dashboard-eyebrow > span { color: #8ca0bd; padding-inline: 4px; }
.dashboard-heading h1 { margin: 0 0 11px; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; font-weight: 750; letter-spacing: -1.35px; }
.dashboard-subtitle { color: var(--adv-muted); font-size: 15px; margin: 0; line-height: 1.7; }
.dashboard-refresh { display: inline-flex; gap: 8px; justify-content: center; align-items: center; padding: 10px 15px; border: 1px solid #d3e1f5; background: white; border-radius: 8px; color: #215ba6; font-size: 14px; font-weight: 600; white-space: nowrap; }
.dashboard-refresh:hover { background: #eaf2ff; color: var(--adv-blue); }
.dashboard-refresh svg { width: 15px; height: 15px; }
.dashboard-scope { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; color: #7589a5; font-size: 12px; margin-bottom: 24px; }
.dashboard-scope > span:last-child > span { padding-inline: 5px; }
.scope-tag { background: #e8f0ff; border: 1px solid #dbe7ff; color: #315e9d; padding: 5px 8px; border-radius: 5px; font-size: 12px; font-weight: 600; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }
.dashboard-metric { background: white; border: 1px solid var(--adv-line); border-radius: 13px; padding: 21px; }
.metric-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #5f7799; font-size: 12px; margin-bottom: 12px; }
.metric-label svg { width: 18px; height: 18px; color: #7b9cc7; }
.dashboard-metric > strong { display: block; color: #215fae; font-size: 31px; line-height: 1.2; font-weight: 700; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.dashboard-metric > p { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: #7489a7; }
.metric-attention { border-color: #eedab5; }
.metric-attention > strong { color: #a36a14; }
.dashboard-overview { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; margin-bottom: 20px; }
.dashboard-panel { background: white; border: 1px solid var(--adv-line); border-radius: 13px; padding: 26px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dashboard-panel h2 { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 700; letter-spacing: -.7px; }
.dashboard-panel .dashboard-eyebrow { font-size: 12px; margin-bottom: 9px; }
.currency-tag { border: 1px solid var(--adv-line); border-radius: 5px; padding: 4px 7px; color: #617a9c; font-size: 12px; font-weight: 600; }
.balance-available { margin-top: 27px; padding-bottom: 22px; border-bottom: 1px solid #e7edf6; }
.balance-available > span { display: block; font-size: 12px; color: var(--adv-muted); margin-bottom: 9px; }
.balance-available > strong { display: block; color: #215fae; font-size: clamp(29px, 3vw, 39px); line-height: 1.2; letter-spacing: -1.6px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.balance-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 19px; }
.balance-detail > div { min-width: 0; }
.balance-detail > div + div { border-left: 1px solid #e7edf6; padding-left: 22px; }
.balance-detail span { display: block; color: var(--adv-muted); font-size: 12px; margin-bottom: 7px; }
.balance-detail strong { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.balance-caption { color: #798eaa; font-size: 12px; line-height: 1.8; margin: 0; max-width: 400px; }
.total-tag { color: #6b82a0; background: #f3f7fd; border-radius: 5px; padding: 5px 7px; font-size: 12px; white-space: nowrap; }
.recarga-state-list { margin-top: 18px; }
.recarga-state-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf2f8; font-size: 14px; }
.recarga-state-row:last-child { border: 0; padding-bottom: 0; }
.recarga-state-row > span { display: flex; align-items: center; gap: 10px; color: #526b8b; }
.recarga-state-row > strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.state-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #8195b1; }
.state-dot.approved { background: #18a078; }
.state-dot.pending { background: #d89b31; }
.state-dot.sent { background: #4285e5; }
.state-dot.reserved { background: #92a3bc; }
.state-dot.rejected { background: #cc6574; }
.recent-panel { padding-bottom: 0; overflow: hidden; }
.panel-description { color: #7a8da7; font-size: 12px; }
.dashboard-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 38px 24px 43px; }
.empty-symbol { width: 46px; height: 46px; display: flex; justify-content: center; align-items: center; border: 1px solid #deebff; border-radius: 13px; background: #f1f6ff; color: #5d8cc8; margin-bottom: 15px; }
.empty-symbol svg { width: 24px; height: 24px; }
.dashboard-empty h3 { font-size: 16px; font-weight: 650; letter-spacing: -.35px; margin: 0 0 9px; }
.dashboard-empty p { font-size: 12px; line-height: 1.8; color: #7c8fa9; max-width: 370px; margin: 0; }
.recargas-table-scroll { overflow-x: auto; margin-top: 23px; }
.recargas-table { border-collapse: collapse; width: 100%; min-width: 730px; font-size: 12px; }
.recargas-table th { border-block: 1px solid #e9eff7; background: #f9fbff; padding: 12px 10px; font-size: 12px; font-weight: 600; color: #6f85a2; }
.recargas-table td { padding: 17px 10px; border-bottom: 1px solid #edf2f8; color: #566d8c; max-width: 230px; overflow-wrap: anywhere; }
.recargas-table tr:last-child td { border-bottom: 0; }
.recargas-table td > strong { font-size: 12px; color: #294665; font-weight: 600; }
.recargas-table td > small { display: block; color: #8697ae; font-size: 12px; margin-top: 4px; }
.recargas-table .recarga-folio { color: #3973bd; font-weight: 600; white-space: nowrap; }
.recargas-table .amount-column { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.recarga-destination { font-variant-numeric: tabular-nums; }
.recarga-badge { display: inline-block; padding: 5px 7px; background: #eff3f8; color: #60738f; border-radius: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.recarga-badge.approved { background: #e8f7f0; color: #23735b; }
.recarga-badge.pending { background: #fff4dd; color: #966319; }
.recarga-badge.sent { background: #eaf2ff; color: #2d64ac; }
.recarga-badge.rejected { background: #fff0f1; color: #ac4f60; }
.setup-section { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 27px; padding: 25px 2px 0; border-top: 1px solid #dde7f5; }
.setup-section h2 { font-size: 17px; font-weight: 650; letter-spacing: -.55px; margin: 0 0 10px; }
.setup-section > div > p:last-child { color: #7288a6; font-size: 12px; line-height: 1.85; max-width: 415px; margin: 0; }
.setup-section .dashboard-eyebrow { font-size: 12px; }
.setup-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: center; }
.setup-counts > div { display: flex; align-items: flex-start; gap: 10px; }
.setup-number { background: #e7effd; color: #5484c7; padding: 6px 7px; font-weight: 650; font-size: 12px; border-radius: 7px; }
.setup-counts > div > span:last-child { font-size: 12px; color: #5b7393; }
.setup-counts strong { display: block; color: #8798af; font-size: 12px; font-weight: 400; margin-top: 4px; }
.account-welcome { max-width: 640px; padding: 40px; margin-top: 35px; }
.account-welcome > p:last-child, .dashboard-load-error > p { color: var(--adv-muted); font-size: 15px; line-height: 1.8; margin-top: 15px; }
.welcome-symbol { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; border-radius: 12px; color: #297d65; background: #e9f6f0; margin-bottom: 22px; }
.dashboard-load-error { max-width: 700px; padding: 30px; }
@media (max-width: 1000px) {
  .dashboard-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-overview { grid-template-columns: 1fr 1fr; }
  .dashboard-panel { padding: 21px; }
  .recent-panel { padding-bottom: 0; }
  .panel-heading { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 700px) {
  .portal-main { padding-block: 28px; }
  .dashboard-heading { align-items: flex-start; gap: 12px; }
  .dashboard-heading h1 { font-size: 26px; letter-spacing: -.8px; }
  .dashboard-eyebrow { font-size: 12px; letter-spacing: 1.2px; }
  .dashboard-subtitle { font-size: 14px; }
  .dashboard-refresh { font-size: 12px; padding: 9px 10px; gap: 5px; }
  .dashboard-refresh svg { width: 13px; height: 13px; }
  .dashboard-scope { font-size: 12px; gap: 9px; }
  .dashboard-metrics { gap: 10px; }
  .dashboard-metric { padding: 16px; border-radius: 11px; }
  .metric-label { font-size: 12px; align-items: flex-start; }
  .metric-label svg { width: 15px; height: 15px; }
  .dashboard-metric > strong { font-size: 27px; }
  .dashboard-metric > p { font-size: 12px; }
  .dashboard-overview { grid-template-columns: 1fr; gap: 15px; }
  .dashboard-panel { padding: 21px; }
  .recent-panel { padding-bottom: 0; }
  .balance-available > strong { font-size: 34px; }
  .setup-section { grid-template-columns: 1fr; gap: 22px; }
  .setup-counts { gap: 20px 12px; }
  .dashboard-empty { padding-inline: 0; }
  .account-welcome { padding: 27px; }
}
@media (max-width: 380px) {
  .dashboard-heading { flex-direction: column; }
  .dashboard-metrics { grid-template-columns: 1fr; }
}


/* Empresas y sucursales: administración de la misma cartera empresarial. */
.admin-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 26px; }
.admin-page-heading h1, .admin-title { font-size: clamp(28px, 3vw, 34px); line-height: 1.25; font-weight: 750; letter-spacing: -1px; margin: 0 0 10px; }
.admin-page-heading > div > p:last-child { color: var(--adv-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.admin-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--adv-blue); border-radius: 8px; padding: 12px 18px; color: white; background: var(--adv-blue); font-size: 14px; font-weight: 600; white-space: nowrap; line-height: 1.4; }
.admin-primary-button:hover { color: white; background: #0957d6; }
.admin-primary-button > span { font-size: 20px; line-height: 1; }
.admin-back-link { display: inline-flex; align-items: center; gap: 7px; color: #56769e; font-size: 14px; margin-bottom: 23px; }
.admin-back-link:hover, .admin-text-link:hover { color: var(--adv-blue); text-decoration: underline; }
.admin-list-panel { padding: 0; overflow: hidden; }
.admin-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 25px; }
.admin-list-heading h2 { font-size: 20px; }
.admin-list-heading p { margin: 7px 0 0; color: var(--adv-muted); font-size: 13px; }
.admin-search { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.admin-search .form-control { font-size: 14px; border-color: var(--adv-line); border-radius: 8px; padding: 10px 12px; width: 250px; }
.admin-text-link { font-size: 14px; color: #376aa8; }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.admin-table th { background: #f8faff; border-block: 1px solid #e7edf6; padding: 14px 20px; color: #607a9c; font-size: 13px; font-weight: 600; }
.admin-table td { padding: 20px; border-bottom: 1px solid #edf2f8; color: #57708f; vertical-align: middle; overflow-wrap: anywhere; max-width: 290px; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td > strong { color: #163657; font-weight: 600; }
.admin-table td > small { display: block; font-size: 12px; color: #7c90ab; margin-top: 5px; }
.admin-table .amount-column { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-row-actions { display: flex; gap: 16px; align-items: center; }
.admin-row-actions a { color: #2c64a9; font-size: 13px; font-weight: 600; white-space: nowrap; }
.admin-row-actions a:hover { text-decoration: underline; }
.admin-badge { display: inline-flex; padding: 5px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.admin-badge.is-active { background: #e8f6ef; color: #26725b; }
.admin-badge.is-inactive { background: #eef2f7; color: #70839e; }
.wallet-missing { color: #9c6a1e; font-size: 13px; }
.code-value { color: #3c6a9e; font-weight: 600; }
.address-column { white-space: pre-line; font-size: 13px; line-height: 1.7; }
.admin-empty { padding: 50px 24px; }
.admin-empty h3 { font-size: 20px; }
.admin-empty p { font-size: 14px; max-width: 470px; }
.admin-empty .admin-primary-button { margin-top: 23px; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #e9eff7; padding: 19px 25px; color: #7489a5; font-size: 13px; }
.admin-pagination > div { display: flex; gap: 8px; }
.admin-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.admin-form-panel { padding: 31px; }
.admin-form-panel h2 { font-size: 20px; }
.admin-form-intro { color: #788ca6; font-size: 13px; margin: 10px 0 26px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 23px 22px; }
.admin-field { min-width: 0; }
.admin-field > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.admin-field > small { display: block; color: #7489a5; font-size: 12px; line-height: 1.8; margin-top: 8px; }
.admin-field .form-control { min-height: 46px; border: 1px solid #d5e0ef; border-radius: 8px; padding: 11px 13px; color: var(--adv-navy); font-size: 16px; }
.admin-field .form-control:focus, .admin-search .form-control:focus { border-color: var(--adv-blue); box-shadow: 0 0 0 3px #1468f314; }
.admin-field textarea.form-control { min-height: 105px; resize: vertical; }
.admin-field .form-control::placeholder { color: #8a9bb1; }
.admin-field .input-validation-error { border-color: #c44855; }
.admin-full { grid-column: 1 / -1; }
.admin-form-divider { height: 1px; background: #e8eef6; margin: 28px 0 25px; }
.conditions-grid { margin-top: 23px; }
.admin-checkbox { display: flex !important; align-items: center; gap: 10px; margin-bottom: 6px !important; cursor: pointer; }
.admin-checkbox .form-check-input { float: none; margin: 0; width: 19px; height: 19px; border-radius: 5px; flex-shrink: 0; cursor: pointer; }
.admin-toggle-field { padding-top: 32px; }
.admin-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid #e8eef6; margin-top: 30px; padding-top: 25px; }
.admin-form-aside { border: 1px solid #dbe7f8; background: #eaf2ff; border-radius: 13px; padding: 27px; }
.aside-symbol { width: 42px; height: 42px; border-radius: 11px; border: 1px solid #d0dff5; display: flex; align-items: center; justify-content: center; background: #f8fbff; color: #3d76be; margin-bottom: 22px; }
.admin-form-aside .dashboard-eyebrow { font-size: 11px; line-height: 1.7; }
.admin-form-aside h2 { font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -.65px; margin: 0 0 15px; }
.admin-form-aside h3 { font-size: 16px; font-weight: 650; margin: 0 0 10px; }
.admin-form-aside p:not(.dashboard-eyebrow) { font-size: 14px; line-height: 1.85; color: #5c789c; margin: 0; }
.aside-rule { height: 1px; background: #d3e1f5; margin-block: 24px; }
.admin-notice { padding: 15px 18px; border-radius: 9px; font-size: 14px; line-height: 1.75; margin-bottom: 23px; }
.success-notice { color: #246b56; background: #e9f6ef; border: 1px solid #cde7da; }
.warning-notice { color: #8e651c; background: #fff7e7; border: 1px solid #f0dfba; }
.shared-wallet-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px; border: 1px solid #d6e4fa; background: #eaf2ff; border-radius: 13px; margin-bottom: 25px; }
.shared-wallet-banner h2 { font-size: 20px; line-height: 1.45; font-weight: 650; letter-spacing: -.5px; margin: 13px 0 10px; max-width: 650px; }
.shared-wallet-banner p { color: #6481a4; font-size: 14px; line-height: 1.7; margin: 0; }
.shared-wallet-value { min-width: 210px; text-align: right; }
.shared-wallet-value > span { color: #6c84a5; font-size: 12px; display: block; }
.shared-wallet-value > strong { font-size: 30px; line-height: 1.4; font-weight: 700; letter-spacing: -1px; display: block; color: #245eaa; margin-top: 6px; }
.shared-wallet-value > a { display: inline-block; font-size: 13px; margin-top: 8px; }
.admin-company-context { padding: 15px 17px; margin-bottom: 25px; background: #f4f8ff; border: 1px solid #e0e9f7; border-radius: 9px; }
.admin-company-context > span { display: block; font-size: 12px; color: #6d84a2; margin-bottom: 5px; }
.admin-company-context > strong { font-weight: 600; font-size: 16px; }
@media (max-width: 1000px) {
  .admin-form-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .admin-form-panel, .admin-form-aside { padding: 24px; }
  .admin-list-heading { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .adv-header-inner { flex-wrap: wrap; padding-block: 14px; gap: 12px; }
  .header-account { margin-left: auto; }
  .product-bar-inner { flex-wrap: wrap; padding-block: 9px; gap: 9px 16px; }
  .product-bar-name > span { font-size: 12px; }
  .admin-page-heading { align-items: flex-start; flex-wrap: wrap; gap: 18px; }
  .admin-page-heading > div > p:last-child { font-size: 14px; }
  .admin-form-layout { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-full { grid-column: auto; }
  .admin-toggle-field { padding-top: 0; }
  .admin-search { width: 100%; }
  .admin-search .form-control { flex: 1; min-width: 140px; width: auto; }
  .admin-form-panel, .admin-form-aside, .admin-list-heading { padding: 22px; }
  .shared-wallet-banner { align-items: flex-start; flex-direction: column; padding: 23px; gap: 22px; }
  .shared-wallet-value { text-align: left; min-width: 0; }
  .admin-pagination { flex-wrap: wrap; padding: 19px 22px; }
  .admin-form-actions .admin-primary-button { flex: 1 1 100%; }
}

.dashboard-heading-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.company-number-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #dce7f8; border-radius: 9px; background: #f3f7ff; padding: 17px 19px; margin-bottom: 25px; }
.company-number-panel > div { flex-shrink: 0; }
.company-number-panel span { display: block; font-size: 12px; color: #6c83a2; margin-bottom: 6px; }
.company-number-panel strong { color: #245eaa; font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.company-number-panel p { color: #6983a5; font-size: 13px; line-height: 1.8; max-width: 285px; margin: 0; }
@media (max-width: 700px) {
  .dashboard-heading { flex-wrap: wrap; }
  .dashboard-heading-actions { flex-shrink: 1; }
  .company-number-panel { align-items: flex-start; flex-direction: column; gap: 12px; }
}

/* Navegación principal alineada al contenido, como el panel Advandsys. */
.platform-nav-inner { min-height: 74px; display: flex; align-items: center; }
.platform-nav { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; width: 100%; overflow-x: auto; padding-block: 11px; scrollbar-width: thin; scrollbar-color: #547ba5 transparent; }
.platform-nav > a { display: inline-flex; justify-content: center; align-items: center; padding: 13px 21px; border-radius: 10px; color: #bdcfe6; font-size: 16px; line-height: 1.4; font-weight: 700; white-space: nowrap; flex-shrink: 0; transition: background-color .15s, color .15s; }
.platform-nav > a:hover { background: #ffffff0d; color: white; }
.platform-nav > a[aria-current="page"] { color: white; background: var(--adv-blue); }
.platform-nav > a:focus-visible { outline-offset: 3px; }
@media (max-width: 700px) {
    .platform-nav-inner { min-height: 65px; }
    .platform-nav { gap: 7px; padding-block: 10px; }
    .platform-nav > a { padding: 11px 17px; border-radius: 9px; font-size: 15px; }
}

.company-import-panel { padding: 21px; border: 1px solid #d4e2f6; border-radius: 9px; background: #f3f7ff; margin-bottom: 25px; }
.company-import-panel .form-control { max-width: 180px; font-size: 22px; letter-spacing: 4px; font-variant-numeric: tabular-nums; }
.company-import-panel > p { font-size: 13px; line-height: 1.8; color: #6a81a1; margin: 16px 0 0; padding-top: 15px; border-top: 1px solid #dce6f6; }

.company-provider-link { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 26px; margin-bottom:24px; background:white; border:1px solid var(--adv-line); border-radius:13px; }
.company-provider-link strong { font-size:18px; }
.company-provider-link p { color:var(--adv-muted); font-size:16px; margin:7px 0 0; }
.admin-field .form-select { min-height:48px; font-size:16px; border-color:#d3dff0; color:#102b4c; }
.provider-endpoint { overflow-wrap:anywhere; }
@media(max-width:700px) { .company-provider-link { flex-direction:column; align-items:flex-start; } }

/* Shared action language: local SVG icons, text labels and consistent controls. */
.action-icon-sprite { position:absolute; width:0; height:0; overflow:hidden; pointer-events:none; }
.action-icon { width:19px; height:19px; display:inline-block; flex:0 0 19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; }
.admin-primary-button, .dashboard-refresh, .adv-button-outline, .action-link, .admin-text-link, .admin-back-link { display:inline-flex; align-items:center; justify-content:center; gap:9px; }
.admin-primary-button, .dashboard-refresh, .adv-button-outline { min-height:45px; font-size:15px; border-radius:10px; line-height:1.4; transition:background-color .16s, border-color .16s, box-shadow .16s, transform .16s; }
.admin-primary-button { background:#1468f3; border-color:#1468f3; box-shadow:0 3px 7px #1468f31c; font-weight:650; padding:12px 19px; }
.admin-primary-button:hover { background:#095bdc; border-color:#095bdc; box-shadow:0 5px 12px #1468f329; transform:translateY(-1px); }
.dashboard-refresh, .adv-button-outline { color:#285c9e; border-color:#cfddf0; box-shadow:0 1px 2px #102b4c06; font-weight:600; }
.dashboard-refresh:hover, .adv-button-outline:hover { background:#edf4ff; border-color:#adc8f0; color:#105ccf; box-shadow:0 3px 8px #163e7210; }
.dashboard-refresh .action-icon { width:18px; height:18px; flex-basis:18px; }
.admin-text-link, .admin-back-link { justify-content:flex-start; }
.action-link { padding:8px 11px; border:1px solid #dce7f6; border-radius:8px; color:#2b619f; font-size:14px; font-weight:600; white-space:nowrap; background:#f7faff; text-decoration:none; }
.action-link:hover { background:#eaf2ff; border-color:#bdd3f3; color:#105ccf; text-decoration:none; }
.admin-row-actions { gap:8px; flex-wrap:wrap; }
.admin-row-actions .action-link { font-size:14px; }
.admin-row-actions a:hover { text-decoration:none; }
.admin-table thead th { background:#f7faff; color:#627d9e; font-weight:600; }
.admin-table tbody tr { transition:background-color .15s; }
.admin-table tbody tr:hover { background:#fafcff; }
.admin-table th:last-child { white-space:nowrap; }
.platform-nav > a { gap:9px; }
.platform-nav .action-icon { opacity:.9; width:18px; height:18px; flex-basis:18px; }
.platform-nav > a[aria-current="page"] { box-shadow:0 3px 8px #00000018; }
.admin-badge { border-radius:7px; padding:6px 10px; }
.assignment-count { display:inline-flex; align-items:center; gap:9px; color:#285c9e; padding:7px 10px 7px 7px; border:1px solid #d7e5f8; background:#f4f8ff; border-radius:9px; font-size:14px; font-weight:600; white-space:nowrap; }
.assignment-count:hover { color:#105ccf; background:#e8f1ff; border-color:#b6d0f5; }
.assignment-count .assignment-number { display:inline-flex; justify-content:center; align-items:center; min-width:28px; height:28px; border-radius:7px; background:#e2edff; color:#1261d7; font-size:15px; font-weight:700; }
.assignment-count .action-icon { width:17px; height:17px; flex-basis:17px; }
.account-companies-link { margin-bottom:18px; }
@media(prefers-reduced-motion:reduce) { .admin-primary-button, .dashboard-refresh, .adv-button-outline, .admin-table tbody tr { transition:none; transform:none; } }
@media(max-width:700px) { .admin-primary-button, .dashboard-refresh, .adv-button-outline { font-size:14px; } .platform-nav > a { padding-inline:13px; } }

/* ML-R1 design line: fixed workspace, deep-blue sidebar, compact white surfaces. */
:root { --adv-navy:#172b43; --adv-blue:#2878d9; --adv-muted:#71829a; --adv-line:#dce5ee; --adv-ice:#eef2f7; }
.portal-frame { --shell-sidebar:250px; --shell-header:80px; background:#eef2f7; }
.portal-frame .adv-header { position:fixed; inset:0 0 auto; height:var(--shell-header); z-index:60; border-bottom:1px solid #dce5ee; box-shadow:0 2px 10px #0b2f4f08; }
.portal-frame .adv-header-inner { width:100%; max-width:none; min-height:var(--shell-header); padding:0 28px 0 18px; }
.shell-brand-area { display:flex; align-items:center; gap:18px; min-width:0; }
.shell-menu-toggle { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid #dce5ee; border-radius:9px; color:#385b7f; background:#f8fafc; cursor:pointer; }
.shell-menu-toggle:hover { background:#eaf2fc; color:#176dcc; }
.portal-frame .adv-brand img { width:44px; height:44px; }
.portal-frame .adv-brand strong { font-size:23px; }
.portal-frame .adv-brand small { font-size:14px; margin-top:4px; color:#536d8c; }
.header-tae-product { border-left:1px solid #dce5ee; padding-left:20px; font-weight:800; font-size:18px; color:#194b79; line-height:1.3; }
.header-tae-product > span { display:block; color:#8495a9; font-size:12px; font-weight:500; margin-top:3px; }
.shell-user { display:inline-flex; align-items:center; gap:10px; color:#263e58; font-size:14px; font-weight:650; }
.shell-user-avatar { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#e7f0fd; color:#2473cd; font-size:15px; font-weight:750; }
.shell-user small { display:block; margin-top:2px; color:#8b9bb0; font-size:11px; font-weight:500; }
.portal-frame .adv-button-outline { min-height:38px; padding:8px 12px; font-size:13px; }
.portal-sidebar { position:fixed; inset:var(--shell-header) auto 0 0; width:var(--shell-sidebar); display:flex; flex-direction:column; background:linear-gradient(180deg,#0c315d,#071f42); color:#d9ecff; z-index:55; border-right:1px solid #082847; }
.sidebar-heading { padding:27px 22px 23px; border-bottom:1px solid #ffffff12; }
.sidebar-heading > span { display:block; color:#8ab3dc; letter-spacing:1.8px; font-size:10px; font-weight:750; }
.sidebar-heading strong { display:block; margin-top:6px; color:#fff; font-size:15px; font-weight:650; }
.portal-navigation { padding:11px 12px 24px; overflow-y:auto; flex:1; }
.sidebar-section-title { display:block; margin:23px 12px 12px; color:#7798bd; font-size:10px; letter-spacing:1.3px; font-weight:750; }
.portal-navigation > a { display:flex; align-items:center; gap:12px; min-height:48px; padding:12px; margin:5px 0; border-radius:10px; color:#bdcfe4; font-size:14px; font-weight:550; line-height:1.5; border:1px solid transparent; }
.portal-navigation > a .action-icon { width:21px; height:21px; flex-basis:21px; color:#83a7d0; }
.portal-navigation > a:hover { color:white; background:#ffffff0b; }
.portal-navigation > a[aria-current="page"] { color:white; background:#2478d9; border-color:#438cdf; box-shadow:0 4px 14px #001a3c30; }
.portal-navigation > a[aria-current="page"] .action-icon { color:white; }
.sidebar-footer { display:flex; align-items:center; gap:8px; padding:20px 24px; border-top:1px solid #ffffff12; color:#8da8c8; font-size:12px; }
.sidebar-status-dot { width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:#5c87b9; }
.portal-frame .portal-main { width:auto; max-width:none; margin:var(--shell-header) 0 0 var(--shell-sidebar); padding:32px 36px 38px; min-height:calc(100vh - var(--shell-header) - 65px); flex:1; }
.portal-frame .adv-footer { margin-left:var(--shell-sidebar); background:#eef2f7; border-top:1px solid #dce5ee; }
.portal-frame .footer-inner { width:100%; max-width:none; padding:18px 36px; font-size:11px; }
.portal-frame .admin-page-heading, .portal-frame .dashboard-heading { margin-bottom:24px; }
.portal-frame .admin-page-heading h1, .portal-frame .dashboard-heading h1 { font-size:32px; font-weight:750; letter-spacing:-1px; line-height:1.25; margin:0 0 9px; color:#18334e; }
.portal-frame .dashboard-eyebrow { font-size:10px; font-weight:750; letter-spacing:1.5px; margin-bottom:9px; color:#5d7b9c; }
.portal-frame .dashboard-subtitle, .portal-frame .admin-page-heading > div > p:last-child { font-size:15px; color:#71829a; }
.portal-frame .dashboard-panel { border:1px solid #dce5ee; border-radius:13px; box-shadow:0 2px 4px #0f2a4308; }
.portal-frame .dashboard-metrics { gap:18px; margin-bottom:22px; }
.portal-frame .dashboard-metric { border:1px solid #dce5ee; border-radius:12px; padding:23px; box-shadow:0 2px 4px #0f2a4308; background:white; }
.portal-frame .dashboard-metric > strong { font-size:32px; color:#154a7d; line-height:1.35; letter-spacing:-1px; margin:12px 0 8px; }
.portal-frame .dashboard-metric .metric-label { font-size:13px; font-weight:600; color:#7588a0; }
.portal-frame .dashboard-metric p { font-size:12px; line-height:1.6; margin-bottom:0; color:#91a0b3; }
.portal-frame .dashboard-overview { gap:22px; margin-bottom:22px; }
.portal-frame .panel-heading h2, .portal-frame .admin-list-heading h2 { font-size:19px; color:#1d354d; }
.portal-frame .balance-panel, .portal-frame .operation-links { padding:25px; }
.portal-frame .balance-available strong { font-size:40px; color:#154a7d; }
.portal-frame .balance-caption { font-size:13px; margin-bottom:0; }
.portal-frame .recent-panel { padding:25px; }
.portal-frame .dashboard-scope { font-size:12px; margin:0 0 20px; }
.portal-frame .scope-tag { background:#e4eefb; border-color:#d3e1f5; color:#356699; font-size:11px; }
.portal-frame .admin-form-panel { padding:26px; }
.portal-frame .admin-form-aside { background:#e9f1fb; border:1px solid #d0dff2; padding:24px; border-radius:13px; }
.portal-frame .admin-form-aside h2 { font-size:23px; }
.portal-frame .admin-form-aside p { font-size:14px; }
.portal-frame .shared-wallet-banner { background:#e8f1fc; border-color:#d0dff2; padding:21px 24px; margin-bottom:22px; }
.portal-frame .shared-wallet-banner h2 { font-size:19px; margin-top:0; }
.portal-frame .admin-primary-button { background:#2878d9; border-color:#2878d9; font-size:14px; border-radius:8px; min-height:43px; }
.portal-frame .admin-primary-button:hover { background:#1b65ba; border-color:#1b65ba; }
.portal-frame .dashboard-refresh { font-size:14px; min-height:43px; border-radius:8px; }
.portal-frame .admin-table th, .portal-frame .recargas-table th { background:#f7f9fc; padding:14px 20px; font-size:11px; text-transform:uppercase; letter-spacing:.45px; color:#7c8fa5; font-weight:650; border-bottom:1px solid #e1e8f0; }
.portal-frame .admin-table td, .portal-frame .recargas-table td { padding:17px 20px; border-bottom-color:#edf1f6; font-size:14px; color:#3e5570; }
.portal-frame .admin-table td strong, .portal-frame .recargas-table td strong { font-size:14px; font-weight:650; color:#263f58; }
.portal-frame .admin-table td small, .portal-frame .recargas-table td small { font-size:12px; color:#93a2b4; margin-top:5px; }
.portal-frame .admin-list-heading { padding:22px 24px; }
.portal-frame .admin-list-heading p { font-size:13px; }
.portal-frame .admin-field label { font-size:14px; color:#536b85; }
.portal-frame .form-control, .portal-frame .form-select { font-size:16px; border-radius:8px; border-color:#d8e2ed; min-height:43px; }
.portal-frame .admin-badge { font-size:12px; }
.operation-links > a { display:flex; align-items:center; gap:13px; padding:14px 0; border-bottom:1px solid #edf1f6; color:#284966; }
.operation-links > a:last-child { border-bottom:0; }
.operation-links > a > span:nth-child(2) { flex:1; }
.operation-links > a strong { display:block; font-size:14px; }
.operation-links > a small { display:block; margin-top:3px; font-size:12px; color:#8a9db4; }
.operation-link-icon { display:inline-flex; align-items:center; justify-content:center; width:37px; height:37px; border-radius:10px; background:#eef4fd; color:#4484cc; }
.operation-links > a:hover strong { color:#2478d9; }
.shell-menu-overlay { display:none; }
.portal-frame.tae-menu-collapsed { --shell-sidebar:76px; }
.tae-menu-collapsed .sidebar-heading, .tae-menu-collapsed .sidebar-section-title, .tae-menu-collapsed .portal-navigation > a > span, .tae-menu-collapsed .sidebar-footer > span:last-child { display:none; }
.tae-menu-collapsed .portal-navigation { padding-top:20px; }
.tae-menu-collapsed .portal-navigation > a { justify-content:center; padding:12px; margin-block:8px; }
.tae-menu-collapsed .sidebar-footer { justify-content:center; }
.report-filters { padding:23px 25px; margin-bottom:22px; }
.report-filter-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:20px; }
.report-filter-heading h2 { display:flex; align-items:center; gap:9px; font-size:16px; font-weight:650; margin:0; color:#2c4967; }
.report-filter-heading h2 svg { color:#6b91bd; }
.report-shortcuts { display:flex; gap:6px; }
.report-shortcuts a { border-radius:999px; background:#f1f5fb; color:#55779e; font-size:12px; padding:6px 12px; font-weight:600; }
.report-shortcuts a:hover { background:#e1ecfb; color:#1d68bd; }
.report-filter-grid { display:grid; grid-template-columns:180px 180px minmax(200px,1fr) minmax(220px,1.1fr); gap:18px; }
.report-filter-grid .admin-field { margin:0; min-width:0; }
.report-filter-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:21px; }
.report-filter-footer > span { font-size:12px; color:#8a9cb1; }
.report-filter-footer > div { display:flex; gap:9px; }
.report-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:22px; }
.report-success-tag { display:inline-flex; align-items:center; gap:8px; border:1px solid #bce4d3; border-radius:999px; padding:8px 14px; color:#218465; background:#ebf8f1; font-size:13px; font-weight:600; }
.report-table { min-width:1200px; }
.report-table td { vertical-align:top; }
.report-table th:first-child { min-width:175px; }
.report-destination { font-variant-numeric:tabular-nums; color:#3c6a99!important; }
.recarga-details summary { display:flex; align-items:center; gap:6px; list-style:none; cursor:pointer; color:#3276c5; font-size:12px; font-weight:600; white-space:nowrap; }
.recarga-details summary::-webkit-details-marker { display:none; }
.recarga-details dl { min-width:190px; max-width:260px; margin:13px 0 0; padding:13px; border:1px solid #dce7f4; border-radius:8px; background:#f7faff; overflow-wrap:anywhere; }
.recarga-details dt { margin-top:8px; font-size:10px; text-transform:uppercase; letter-spacing:.4px; color:#8195ac; font-weight:650; }
.recarga-details dt:first-child { margin-top:0; }
.recarga-details dd { margin:3px 0 0; font-size:12px; color:#375a7d; }
@media(min-width:1700px) { .portal-frame .portal-main { padding:36px 48px 42px; } }
@media(max-width:1250px) { .report-filter-grid { grid-template-columns:1fr 1fr; } .portal-frame .dashboard-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .portal-frame .admin-form-layout { grid-template-columns:1fr; } }
@media(max-width:900px) {
 .portal-frame { --shell-sidebar:0px; --shell-header:72px; }
 .portal-frame.tae-menu-collapsed { --shell-sidebar:0px; }
 .portal-frame .adv-header-inner { padding-inline:14px; gap:10px; flex-wrap:nowrap; }
 .shell-brand-area { gap:11px; }
 .portal-frame .adv-brand small, .header-tae-product, .shell-user { display:none; }
 .portal-frame .adv-brand strong { font-size:20px; }
 .portal-frame .adv-brand img { width:35px; height:35px; }
 .portal-sidebar { width:250px; transform:translateX(-100%); }
 .tae-mobile-menu-open .portal-sidebar { transform:translateX(0); }
 .tae-mobile-menu-open .shell-menu-overlay { display:block; position:fixed; inset:72px 0 0; background:#051b3b66; border:0; z-index:54; }
 .portal-frame .portal-main { padding:25px 22px 32px; }
 .portal-frame .footer-inner { padding-inline:22px; }
 .portal-frame .header-account { margin:0; gap:0; }
}
@media(max-width:620px) {
 .portal-frame .admin-page-heading h1, .portal-frame .dashboard-heading h1 { font-size:27px; }
 .portal-frame .portal-main { padding:22px 15px 28px; }
 .portal-frame .dashboard-metrics, .report-metrics, .report-filter-grid, .portal-frame .dashboard-overview { grid-template-columns:1fr; }
 .report-filter-footer { align-items:flex-start; flex-direction:column; }
 .report-filter-footer > div { width:100%; }
 .report-filter-footer .admin-primary-button { flex:1; }
 .report-filters { padding:21px; }
 .portal-frame .adv-brand { gap:6px; }
 .portal-frame .adv-button-outline { padding-inline:9px; }
 .portal-frame .adv-button-outline > span { display:none; }
 .portal-frame .dashboard-metric > strong { font-size:30px; }
 .portal-frame .dashboard-heading-actions { width:100%; }
}

@media(max-width:900px) {
 .portal-frame:not(.tae-menu-enhanced) .portal-sidebar { position:relative; width:100%; inset:auto; transform:none; margin-top:72px; }
 .portal-frame:not(.tae-menu-enhanced) .portal-main { margin-top:0; }
 .tae-mobile-menu-open { overflow:hidden; }
}

/* Approved Recargas mockup: compact pill actions, horizontal KPIs and numbered pagination. */
.portal-frame { --shell-sidebar:248px; --shell-header:76px; }
.portal-frame .portal-main { padding:24px 24px 30px; }
.portal-frame .admin-page-heading, .portal-frame .dashboard-heading { margin-bottom:20px; }
.portal-frame .header-tae-product { display:flex; align-items:center; gap:5px; font-size:17px; white-space:nowrap; }
.portal-frame .header-tae-product > span { display:inline; margin:0; font-size:17px; font-weight:650; color:#19334f; }
.portal-frame .admin-primary-button, .portal-frame .dashboard-refresh { border-radius:999px; padding:10px 19px; }
.portal-frame .admin-primary-button { box-shadow:0 3px 7px #1468f32b; }
.portal-frame .action-link { background:transparent; border-color:transparent; padding:5px 7px; }
.portal-frame .action-link:hover { background:#eff6ff; color:#1264d6; }
.portal-frame .action-link .action-icon { box-sizing:content-box; padding:5px; border-radius:50%; background:#e9f2ff; color:#116cf5; }
.icon-button-circle { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; border:1px solid #dce5ef; border-radius:50%; color:#19334f; background:#f2f6fb; box-shadow:0 2px 4px #1539560a; }
.icon-button-circle .action-icon { width:20px; height:20px; }
.portal-frame .header-logout { display:inline-flex; align-items:center; gap:8px; padding:0 0 0 20px; min-height:40px; background:transparent; border:0; border-left:1px solid #dce5ef; border-radius:0; box-shadow:none; color:#18334f; font-size:14px; }
.portal-frame .header-logout:hover { color:#1468f3; background:transparent; box-shadow:none; }
.portal-frame .header-logout:hover .icon-button-circle { color:#1468f3; border-color:#b8d2f4; background:#e6effc; }
.portal-frame .report-page-heading h1 { font-size:33px; margin-bottom:8px; }
.report-page-heading { align-items:center; }
.report-success-tag { padding:7px 13px; border-color:#c3eabd; background:#e4fadd; color:#26731f; border-radius:11px; }
.report-filters { padding:18px 22px 16px; margin-bottom:14px; }
.report-filter-heading { margin-bottom:15px; }
.report-filter-heading h2 { font-size:18px; font-weight:700; color:#16324f; gap:11px; }
.report-filter-heading h2 svg { color:#19334f; width:23px; height:23px; }
.report-shortcuts { display:inline-flex; align-items:center; gap:0; padding:0; border:1px solid #cfdaea; border-radius:999px; overflow:hidden; background:white; }
.report-shortcuts > a, .report-shortcuts > button { border:0; border-radius:999px; margin:0; padding:6px 18px; min-height:31px; min-width:76px; color:#243b56; font-size:13px; font-weight:500; background:transparent; line-height:1.4; white-space:nowrap; }
.report-shortcuts > a:hover, .report-shortcuts > button:hover { background:#eef5ff; color:#1468f3; }
.report-shortcuts > .is-selected { background:#cfe7fc; color:#193c60; }
.report-filter-grid { grid-template-columns:minmax(140px,.9fr) minmax(140px,.9fr) minmax(180px,1.1fr) minmax(240px,1.6fr); gap:20px; }
.portal-frame .report-filter-grid label { font-size:13px; margin-bottom:6px; color:#19334f; font-weight:600; }
.portal-frame .report-filter-grid .form-control, .portal-frame .report-filter-grid .form-select { min-height:39px; padding-top:7px; padding-bottom:7px; font-size:14px; border-color:#cbd8e9; border-radius:7px; }
.report-search-input { position:relative; }
.report-search-input > svg { position:absolute; top:50%; left:12px; transform:translateY(-50%); width:17px; height:17px; color:#8194ad; pointer-events:none; }
.portal-frame .report-search-input > .form-control { padding-left:37px; }
.report-filter-footer { justify-content:flex-end; margin-top:15px; }
.report-filter-footer > div { display:flex; align-items:center; gap:17px; }
.portal-frame .report-filter-footer .admin-primary-button { min-width:182px; min-height:42px; background:#086bfa; border-color:#086bfa; padding:9px 20px; font-size:14px; }
.report-reset { display:inline-flex; align-items:center; gap:9px; color:#263c56; font-size:14px; white-space:nowrap; }
.report-reset:hover { color:#1468f3; }
.report-reset:hover .icon-button-circle { background:#e8f1fe; border-color:#c3d6ef; color:#1468f3; }
.report-metrics { gap:15px; margin-bottom:15px; }
.portal-frame .dashboard-metric.report-stat { display:flex; align-items:center; gap:15px; padding:16px 19px; min-height:112px; }
.report-stat-icon { width:56px; height:65px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 56px; border-radius:11px; background:linear-gradient(135deg,#dff1ff,#edf6ff); color:#18385e; }
.report-stat-icon .action-icon { width:32px; height:32px; flex-basis:32px; stroke-width:1.6; }
.report-stat > div { min-width:0; border-left:1px solid #dce5ef; padding-left:17px; }
.report-stat-label { display:block; color:#18334f; font-size:14px; font-weight:650; }
.report-stat strong { display:block; margin:4px 0; color:#122f51; font-size:32px; font-weight:750; line-height:1.15; letter-spacing:-.8px; overflow-wrap:anywhere; }
.portal-frame .report-stat p { color:#758aa3; font-size:12px; line-height:1.4; margin:5px 0 0; }
.portal-frame .report-results .admin-list-heading { padding:18px 22px 14px; }
.report-results-title { display:flex; align-items:center; gap:13px; }
.report-results-title > svg { width:26px; height:26px; color:#19334f; }
.portal-frame .report-results-title h2 { font-size:20px; letter-spacing:-.4px; margin:0; }
.portal-frame .report-results-title p { margin:5px 0 0; color:#748ba4; font-size:13px; }
.report-count-tag { display:inline-flex; align-items:center; gap:7px; padding:6px 12px; border:1px solid #c4eac3; border-radius:999px; background:#e9fbe4; color:#2a7b25; font-size:13px; white-space:nowrap; }
.report-count-tag > span { width:7px; height:7px; background:#2e8e28; border-radius:50%; }
.report-results > .admin-table-scroll { padding:0 12px; }
.report-table { min-width:1120px; border-collapse:separate; border-spacing:0; }
.portal-frame .report-table th { padding:10px 12px; background:#e8eff8; font-size:12px; font-weight:600; text-transform:none; letter-spacing:0; color:#304968; white-space:nowrap; }
.report-table th:first-child { border-radius:7px 0 0 7px; min-width:160px; }
.report-table th:last-child { border-radius:0 7px 7px 0; }
.portal-frame .report-table td { padding:10px 12px; font-size:13px; line-height:1.35; vertical-align:middle; }
.portal-frame .report-table td strong { font-size:13px; font-weight:600; color:#263e59; }
.portal-frame .report-table td small { font-size:12px; color:#8296ae; margin-top:3px; }
.report-table td:nth-child(2) { min-width:210px; }
.report-table td:nth-child(3) { min-width:150px; }
.report-table tbody tr:hover { background:#eaf4ff; }
.recarga-details summary { font-size:13px; gap:7px; font-weight:600; color:#086bfa; }
.detail-icon-circle { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:#e7f1ff; color:#086bfa; }
.detail-icon-circle .action-icon { width:19px; height:19px; flex-basis:19px; }
.recarga-details[open] summary .detail-icon-circle { background:#d6e8ff; }
.report-pagination-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:19px 22px; margin-top:6px; border-top:1px solid #e1e9f3; }
.report-range { color:#415872; font-size:13px; white-space:nowrap; }
.report-page-size { display:flex; align-items:center; gap:12px; margin:0; padding-inline:22px; border-left:1px solid #dce5ef; border-right:1px solid #dce5ef; }
.report-page-size label { color:#415872; font-size:13px; white-space:nowrap; }
.portal-frame .report-page-size .form-select { width:76px; min-height:38px; padding:7px 29px 7px 13px; font-size:14px; border-radius:7px; }
.page-size-submit { width:33px; height:33px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #d4dfef; border-radius:50%; background:white; color:#47719e; }
.page-size-submit[hidden] { display:none; }
.numbered-pagination { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.pager-number, .pager-chevron { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; flex:0 0 36px; border:1px solid #dce5ef; border-radius:50%; background:white; box-shadow:0 2px 3px #173f6b08; font-size:14px; color:#314d6d; font-weight:500; }
.pager-number:hover, .pager-chevron:hover { color:#086bfa; border-color:#b7d1f4; background:#eef5ff; }
.pager-number.is-current { color:white; background:#086bfa; border-color:#086bfa; box-shadow:0 3px 7px #086bfa29; font-weight:700; }
.pager-chevron .action-icon { width:17px; height:17px; flex-basis:17px; }
.pager-chevron.is-disabled { color:#bdc9d8; background:#fafbfd; box-shadow:none; }
.pager-ellipsis { display:inline-flex; align-items:center; justify-content:center; width:20px; height:36px; color:#8ea0b6; }
.portal-frame .footer-inner { padding:18px 26px; color:#8b9aae; font-size:11px; }
@media(max-width:1350px) { .report-filter-grid { grid-template-columns:1fr 1fr; } .portal-frame .dashboard-metric.report-stat { padding:15px; gap:10px; } .report-stat strong { font-size:27px; } .report-stat-icon { width:43px; flex-basis:43px; } .report-stat > div { padding-left:12px; } }
@media(max-width:1100px) { .report-page-size { padding-inline:14px; border-right:0; } .report-pagination-bar { gap:15px; } .report-metrics { grid-template-columns:1fr; } .report-stat strong { font-size:30px; } }
@media(max-width:900px) { .portal-frame { --shell-sidebar:0px; --shell-header:72px; } .portal-frame .header-tae-product { display:none; } .portal-frame .portal-main { padding:24px 20px 30px; } }
@media(max-width:620px) { .portal-frame .portal-main { padding:22px 14px 28px; } .report-filter-heading { align-items:flex-start; flex-direction:column; gap:13px; } .report-filter-grid { grid-template-columns:1fr; } .report-shortcuts { width:100%; } .report-shortcuts > a, .report-shortcuts > button { flex:1; padding-inline:12px; } .report-filter-footer > div { gap:12px; } .report-filter-footer .admin-primary-button { min-width:0; } .report-pagination-bar { justify-content:center; padding:17px 12px; } .report-page-size { border:0; padding:0; } .report-range { width:100%; text-align:center; } .numbered-pagination { flex-wrap:wrap; justify-content:center; } .pager-number, .pager-chevron { width:33px; height:33px; flex-basis:33px; } .portal-frame .header-logout { padding-left:7px; } .portal-frame .header-logout > .icon-button-circle { display:inline-flex; } .portal-frame .header-logout .logout-label { display:none; } .report-results-title > svg { display:none; } }
.portal-frame .admin-primary-button { background:#086bfa; border-color:#086bfa; }
.portal-frame .admin-primary-button:hover { background:#075edc; border-color:#075edc; }
.portal-navigation > a[aria-current="page"] { background:#086bfa; border-color:#3484fb; }
.login-submit { border-radius:999px; background:#086bfa; }
.portal-frame .form-control.input-validation-error, .portal-frame .form-select.input-validation-error { border-color:#cf4355; background:#fffafb; box-shadow:0 0 0 2px #cf435510; }
.portal-frame .form-control.input-validation-error:focus, .portal-frame .form-select.input-validation-error:focus { border-color:#c72e45; box-shadow:0 0 0 3px #cf43551c; }
.field-validation-error { color:#b6253b; }
.field-validation-valid { display:none; }
.portal-frame .field-error { font-size:13px; line-height:1.5; }
.balance-steps { display:flex; flex-wrap:wrap; align-items:center; gap:22px; margin:0 0 22px; color:#94a3b7; font-size:13px; }
.balance-steps > span { display:inline-flex; align-items:center; gap:8px; }
.balance-steps b { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:#e1e8f2; color:#7b91ae; font-size:12px; }
.balance-steps .is-active { color:#286abd; font-weight:600; }
.balance-steps .is-active b { color:white; background:#086bfa; }
.balance-preview { position:sticky; top:98px; }
.balance-preview-row { display:flex; justify-content:space-between; gap:15px; padding:15px 0; border-bottom:1px solid #d3e1f2; color:#627d9e; font-size:13px; }
.balance-preview-row strong { color:#254b78; font-weight:650; white-space:nowrap; font-variant-numeric:tabular-nums; }
.balance-preview-total { padding-top:20px; }
.balance-preview-total span { display:block; color:#627d9e; font-size:13px; }
.balance-preview-total strong { display:block; margin-top:8px; color:#154a7d; font-size:28px; font-weight:750; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.balance-confirm-details { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:22px 0; }
.balance-confirm-details dt { color:#8193aa; font-size:12px; font-weight:500; margin-bottom:6px; }
.balance-confirm-details dd { color:#294560; font-size:16px; margin:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.balance-confirm-note { display:flex; gap:10px; align-items:flex-start; border-radius:9px; padding:15px; background:#f1f8f4; color:#397759; font-size:13px; line-height:1.6; }
.balance-confirm-actions { flex-wrap:wrap; align-items:center; }
.balance-confirm-actions form { margin:0; }
.balance-confirm-actions button:disabled { opacity:.7; cursor:wait; }
@media(max-width:1250px) { .balance-preview { position:static; } }
@media(max-width:620px) { .balance-confirm-details { grid-template-columns:1fr; } .balance-confirm-actions { align-items:stretch; } .balance-confirm-actions form, .balance-confirm-actions form button { width:100%; } }
.portal-frame .supplier-balances { padding:24px; min-width:0; }
.supplier-balances .panel-heading { align-items:center; gap:14px; flex-wrap:wrap; }
.supplier-balances form { margin:0; }
.supplier-balance-list { display:grid; gap:13px; margin-top:19px; }
.supplier-balance-item { padding:18px; border:1px solid #dce6f2; background:#fbfdff; border-radius:11px; }
.supplier-account-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.supplier-account-heading strong { display:block; color:#264968; font-size:16px; font-weight:650; }
.supplier-account-heading small { display:block; color:#8195ad; font-size:11px; margin-top:5px; line-height:1.5; }
.supplier-environment { border:1px solid #dce5ef; padding:4px 7px; border-radius:6px; color:#7d8fa6; background:#f0f4f9; font-size:10px; white-space:nowrap; }
.supplier-environment.is-production { color:#397961; border-color:#d3e8df; background:#eef8f2; }
.supplier-balance-value { display:flex; align-items:baseline; gap:8px; margin:14px 0 10px; }
.supplier-balance-value > strong { font-size:31px; font-weight:750; letter-spacing:-.7px; color:#174e84; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.supplier-balance-value > span { font-size:11px; color:#90a1b6; }
.supplier-balance-value > .supplier-unavailable { font-size:19px; color:#8393a8; font-weight:600; }
.supplier-balance-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.supplier-balance-bottom > span { font-size:10px; color:#90a1b6; line-height:1.6; }
.supplier-refresh { display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; color:#2878d9; padding:5px 0 5px 6px; font-size:11px; font-weight:600; white-space:nowrap; }
.supplier-refresh:hover { color:#085dd1; }
.supplier-refresh .action-icon { width:14px; height:14px; }
.supplier-error { padding:10px 12px; border-radius:7px; color:#8b6730; background:#fff7e8; font-size:12px; line-height:1.6; margin:10px 0; }
.supplier-caption { color:#8ca0b7; font-size:11px; line-height:1.7; margin:16px 0 0; }
.supplier-empty { padding:25px 0; }
@media(max-width:620px) { .supplier-balance-bottom { align-items:flex-start; flex-direction:column; } }

/* Catalog: same shell and action language as the approved portal. */
.catalog-wallet{text-align:right;min-width:200px}.catalog-wallet>span{display:block;color:#6d839b;font-size:.9rem}.catalog-wallet strong{font-size:1.8rem;color:#164e85}.catalog-wallet small{font-size:.8rem;font-weight:500}
.catalog-context{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:24px}.catalog-company-form{display:flex;gap:12px;align-items:flex-end;flex:1;min-width:260px}.catalog-company-form .admin-field{flex:1;min-width:200px}.catalog-updated{display:flex;gap:10px;align-items:center;font-size:.85rem;color:#657e98;padding-bottom:12px}
.catalog-steps{display:flex;align-items:center;gap:16px;color:#91a0b3;font-size:.9rem;margin:22px 0 28px;flex-wrap:wrap}.catalog-steps>span{display:flex;align-items:center;gap:9px}.catalog-steps b{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;border:1px solid #d6dfeb;font-size:.8rem;background:white}.catalog-steps .is-current{color:#086bfa;font-weight:700}.catalog-steps .is-current b{background:#086bfa;color:white;border-color:#086bfa}.catalog-steps .is-done{color:#275884}
.carrier-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}.carrier-card{background:white;border:1px solid #dce5ef;border-radius:20px;padding:25px;display:flex;align-items:center;flex-direction:column;gap:18px;text-decoration:none;color:#153656;min-height:190px;transition:transform .15s,box-shadow .15s,border-color .15s}.carrier-card:hover,.carrier-card:focus-visible{transform:translateY(-3px);border-color:#086bfa;box-shadow:0 10px 25px #16395612;color:#086bfa}.carrier-card>strong{font-size:1.12rem;text-align:center}.carrier-card>span:last-child{display:flex;align-items:center;gap:12px;color:#71869c;font-size:.85rem}.carrier-monogram{display:grid;place-items:center;width:68px;height:58px;background:#edf4ff;color:#1b5da4;border-radius:15px;font-size:2rem;font-weight:800}.carrier-card img{width:125px;height:58px;object-fit:contain}
.catalog-products-heading{display:flex;justify-content:space-between;gap:20px;color:#73869d;font-size:.9rem;margin-bottom:20px}.catalog-tabs{display:flex;gap:8px;border-bottom:1px solid #dce4ef;margin-bottom:20px}.catalog-tabs a{display:flex;align-items:center;gap:9px;padding:14px 18px;text-decoration:none;color:#637d98;border-bottom:3px solid transparent;font-weight:600}.catalog-tabs a[aria-current=page]{color:#086bfa;border-bottom-color:#086bfa}.catalog-tabs a span{border-radius:20px;background:#e5edf7;padding:2px 8px;font-size:.78rem}.catalog-search{display:flex;gap:12px;align-items:flex-end;margin-bottom:24px}.catalog-search .admin-field{flex:1;max-width:500px}
.catalog-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.catalog-product-card{display:flex;flex-direction:column;align-items:flex-start;background:white;border:1px solid #dce5ef;border-radius:18px;padding:23px;text-decoration:none;color:#163657;transition:box-shadow .15s,border-color .15s}.catalog-product-card:hover,.catalog-product-card:focus-visible{border-color:#086bfa;box-shadow:0 8px 25px #16395610;color:#163657}.catalog-product-category{color:#527aa3;background:#edf4ff;border-radius:7px;padding:5px 9px;font-size:.75rem;margin-bottom:16px;display:inline-block}.catalog-product-card>strong{font-size:1.9rem;color:#174e87;margin-bottom:14px}.catalog-product-card strong small{font-size:.75rem;color:#7087a0}.catalog-product-card h2{font-size:1.03rem;line-height:1.5;margin-bottom:12px}.catalog-product-card>p{font-size:.85rem;color:#71869c;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}.catalog-product-footer{margin-top:auto;width:100%;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #eef2f7;font-size:.78rem}.catalog-product-footer>span{display:flex;align-items:center;color:#086bfa;gap:6px}.catalog-product-footer small{color:#8495a9}.catalog-detail{max-width:850px}.catalog-detail-amount{font-size:2.5rem;font-weight:800;color:#174e87;margin-bottom:28px}.catalog-detail-amount small{font-size:1rem}.catalog-detail dl{display:grid;grid-template-columns:auto 1fr;gap:12px 25px;padding:20px 0}.catalog-detail dt{color:#73869d;font-weight:500}.catalog-next-stage{padding:18px;background:#eff5fc;border-radius:12px;color:#557598}
@media(max-width:700px){.catalog-wallet{text-align:left}.catalog-company-form{flex-wrap:wrap;min-width:100%}.catalog-company-form .admin-field{min-width:100%}.catalog-steps{font-size:.78rem;gap:8px}.catalog-steps .action-icon{display:none}.catalog-products-heading{flex-direction:column;gap:10px}.catalog-tabs a{padding:12px 9px;font-size:.85rem}.carrier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.carrier-card{padding:18px 12px}.catalog-detail dl{grid-template-columns:1fr}.catalog-search{flex-wrap:wrap}}
.venta-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(350px,1.2fr);gap:24px;max-width:1100px}.venta-product-summary{display:flex;flex-direction:column;align-items:flex-start}.venta-logo{object-fit:contain;margin-bottom:24px}.venta-amount{display:block;font-size:2.5rem;font-weight:800;color:#17518d;margin:18px 0}.venta-amount small{font-size:1rem;font-weight:500}.venta-product-summary p{white-space:pre-line;line-height:1.7;color:#6d839b}.venta-layout .admin-field{margin:22px 0}.venta-phone{font-size:1.6rem;font-weight:600;letter-spacing:.1em}.venta-submit{margin:16px 0}.venta-confirm{max-width:760px;margin:auto;text-align:center}.venta-confirm-label{display:block;color:#6d839b}.venta-confirm-phone{display:block;font-size:3rem;letter-spacing:.06em;color:#153657;margin:22px 0}.venta-confirm h2{font-size:1.3rem}.venta-confirm form{margin:16px 0}.venta-result-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:25px}.venta-confirm dl{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:12px;margin:20px 0}.venta-confirm dl dt{color:#6d839b}.venta-confirm .empty-symbol{display:inline-grid}.venta-confirm .empty-symbol svg{width:40px;height:40px}
@media(max-width:800px){.venta-layout{grid-template-columns:1fr}.venta-confirm-phone{font-size:2.4rem}}
@media print{.portal-sidebar,.adv-header,.adv-footer,.venta-confirm form,.venta-confirm button,.venta-result-links{display:none!important}.portal-main{margin:0!important;width:100%!important}.venta-confirm{border:0;box-shadow:none}}

.carrier-card [hidden]{display:none!important}

/* Touch-friendly recharge terminal: carriers, denominations, then capture. */
.sale-page-heading{margin-bottom:20px}.sale-context{display:flex;align-items:end;gap:20px;padding:18px 22px;margin-bottom:24px;position:relative}.sale-context .catalog-company-form{max-width:960px}.sale-context .admin-field{margin-bottom:0}.sale-tools{margin-left:auto;position:relative;align-self:center}.sale-tools summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:#627b95;font-size:.9rem}.sale-tools>div{position:absolute;right:0;top:30px;z-index:5;background:white;box-shadow:0 8px 25px #17395725;border:1px solid #dce5ef;border-radius:12px;padding:18px;min-width:220px}.sale-tools small{display:block;margin-bottom:12px;color:#6c8198}.sale-workspace{background:#fff;border:1px solid #dce5ef;border-radius:20px;padding:26px}.sale-section-label{display:flex;align-items:center;gap:11px}.sale-section-label>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:#eaf2ff;color:#086bfa;border-radius:9px;font-size:.9rem;font-weight:750}.sale-section-label h2{margin:0;font-size:1.15rem}.sale-carriers{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:18px 0 26px}.sale-carrier{position:relative;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px solid #e7edf4;border-radius:14px;padding:17px 12px;text-decoration:none;color:#46617d;background:white;transition:border-color .15s,box-shadow .15s}.sale-carrier img{width:140px;max-width:100%;height:46px;object-fit:contain}.sale-carrier-name{font-size:.8rem;font-weight:650}.sale-carrier[aria-current=true]{border-color:#086bfa;background:#f5f9ff;box-shadow:0 0 0 3px #086bfa0c}.sale-carrier:hover,.sale-carrier:focus-visible{border-color:#599af9;outline-offset:3px}.sale-carrier-check{display:none;position:absolute;top:7px;right:8px;width:20px;height:20px;background:#086bfa;color:white;align-items:center;justify-content:center;border-radius:50%;font-size:.75rem}.sale-carrier[aria-current=true] .sale-carrier-check{display:flex}.sale-brand-fallback{font-size:1.5rem;font-weight:850;color:#194f8b}.sale-carrier[data-brand=telcel] .sale-brand-fallback{color:#003c71;font-style:italic}.sale-carrier[data-brand=movistar] .sale-brand-fallback{color:#009fce}.sale-carrier[data-brand=unefon] .sale-brand-fallback{color:#222}.sale-carrier[data-brand=virgin] .sale-brand-fallback{color:#d51423;font-style:italic}.sale-carrier[data-brand=bait] .sale-brand-fallback{color:#111;background:#ffe500;padding:4px 15px}.sale-carrier [hidden]{display:none!important}.sale-product-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e8eef5;padding-top:24px}.sale-product-heading>strong{font-size:.95rem;color:#71859c}.sale-mode{display:inline-flex;gap:5px;background:#eef3f9;border-radius:13px;padding:5px;margin:18px 0 22px}.sale-mode a{display:flex;align-items:center;gap:10px;text-decoration:none;padding:12px 23px;color:#607991;font-weight:700;border-radius:10px}.sale-mode a[aria-current=page]{color:#fff;background:#086bfa;box-shadow:0 3px 8px #086bfa25}.sale-mode a>span{font-size:.75rem;opacity:.8}.sale-denominations{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}.sale-denomination{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px;border:2px solid #e3ebf4;border-radius:15px;background:#fff;text-decoration:none;color:#193b5d;transition:border-color .12s,background .12s,transform .12s;min-height:150px}.sale-denomination>strong{font-size:2.2rem;line-height:1.25;letter-spacing:-1px}.sale-denomination strong small{font-size:.65rem;letter-spacing:.05em;margin-left:6px;color:#7c90a5}.sale-denomination>span{font-size:.8rem;color:#6d8399}.sale-denomination .sale-denomination-action{display:flex;align-items:center;gap:6px;color:#086bfa;font-size:.85rem;font-weight:700;margin-top:auto;padding-top:12px}.sale-denomination:hover,.sale-denomination:focus-visible{border-color:#086bfa;background:#f4f8ff;transform:translateY(-2px);outline-offset:3px}.sale-packages{grid-template-columns:repeat(auto-fill,minmax(225px,1fr))}.sale-denomination .sale-package-name{color:#1b3c5d;font-size:.95rem;font-weight:700;line-height:1.4}.sale-denomination .sale-package-benefits{font-size:.8rem;line-height:1.5}.sale-package-search{margin-bottom:18px}.sale-hint{display:flex;align-items:center;gap:9px;color:#7e91a5;font-size:.85rem;margin:22px 0 0}.sale-prompt{text-align:center;padding:60px 20px;color:#788da3;background:#f8fafc;border:1px dashed #dbe5ef;border-radius:15px}.sale-prompt>.action-icon{width:40px;height:40px;color:#80a8d6;margin-bottom:16px}.sale-prompt h2{font-size:1.2rem;color:#26445f}.sale-capture-dialog{border:0;border-radius:22px;padding:0;width:min(900px,calc(100vw - 32px));max-height:90vh;box-shadow:0 28px 90px #102d4d55;color:#183a5b}.sale-capture-dialog::backdrop{background:#09244488;backdrop-filter:blur(4px)}.sale-capture-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid #e4ebf3;background:#fafcff}.sale-capture-dialog header small{font-size:.7rem;letter-spacing:.12em;color:#7290ad;font-weight:750}.sale-capture-dialog header h2{font-size:1.5rem;margin:5px 0 0}.sale-capture-dialog header button{border:0;background:#edf3fa;border-radius:50%;width:38px;height:38px;color:#486780;font-size:1.8rem;cursor:pointer}.sale-capture-dialog [data-sale-content]{padding:26px}.venta-inline{grid-template-columns: minmax(200px,.8fr) minmax(280px,1.2fr);gap:24px;margin:0}.venta-inline>.dashboard-panel{padding:0;border:0;box-shadow:none}.venta-inline .venta-product-summary{padding-right:24px;border-right:1px solid #e4ebf3}.venta-inline .venta-product-summary .admin-text-link{display:none}.venta-inline .venta-product-summary h2{font-size:1.2rem}.venta-inline .venta-product-summary p{font-size:.85rem}.venta-inline .venta-logo{max-width:140px;height:65px;object-fit:contain}.sale-loading{padding:40px;text-align:center;color:#63809c}
@media(max-width:760px){.sale-context{flex-wrap:wrap}.sale-tools{margin-left:0}.sale-workspace{padding:18px}.sale-carriers{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sale-carrier{min-height:90px;padding:12px 7px}.sale-carrier img{height:36px}.sale-carrier-name{font-size:.7rem}.sale-brand-fallback{font-size:1.1rem}.sale-denominations{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sale-denomination{padding:18px;min-height:135px}.sale-denomination>strong{font-size:1.9rem}.sale-mode{display:flex}.sale-mode a{justify-content:center;flex:1;padding:12px}.sale-product-heading>strong{display:none}.venta-inline{grid-template-columns:1fr}.venta-inline .venta-product-summary{border-right:0;border-bottom:1px solid #e4ebf3;padding:0 0 16px}.venta-inline .venta-product-summary p{display:none}.sale-capture-dialog [data-sale-content]{padding:20px}.sale-capture-dialog>header{padding:18px 20px}.sale-hint{align-items:start}}

/* The denomination itself is the action; no secondary label. */
.sale-denomination{min-height:115px;justify-content:center}.sale-packages .sale-denomination{justify-content:flex-start}
@media(max-width:760px){.sale-denomination{min-height:110px}}

/* Carrier selection and product changes respect reduced-motion preferences. */
.sale-workspace{position:relative}.sale-carrier{transition:border-color .18s,background-color .18s,box-shadow .18s,transform .18s}.sale-carrier:active{transform:scale(.97)}.sale-carrier-check{animation:sale-check-in .18s ease-out}.sale-denominations{animation:sale-products-in .24s ease-out}.sale-denomination{transition:opacity .16s,transform .16s,border-color .16s,background-color .16s}.sale-workspace.is-loading .sale-denominations,.sale-workspace.is-loading .sale-prompt{opacity:.35;pointer-events:none}.sale-loading-status{position:absolute;top:22px;right:26px;color:#086bfa;background:#edf4ff;border-radius:20px;padding:7px 12px;font-size:.8rem;display:flex;align-items:center;gap:8px}.sale-loading-status::before{content:'';width:12px;height:12px;border:2px solid #b7d4ff;border-top-color:#086bfa;border-radius:50%;animation:sale-spin .7s linear infinite}.sale-capture-dialog[open]{animation:sale-modal-in .2s ease-out}
@keyframes sale-products-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes sale-check-in{from{transform:scale(.5)}to{transform:scale(1)}}
@keyframes sale-spin{to{transform:rotate(360deg)}}
@keyframes sale-modal-in{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.sale-carrier,.sale-denomination{transition:none}.sale-denominations,.sale-carrier-check,.sale-loading-status::before,.sale-capture-dialog[open]{animation:none}::view-transition-old(root),::view-transition-new(root){animation:none}}

.venta-apply-note{font-size:.82rem;line-height:1.5;color:#6c8198;margin:16px 0}

.venta-provider-message{white-space:pre-line}

/* Recharge history follows the approved report proportions, with legible ledger values. */
.recargas-report{max-width:1560px;margin-inline:auto}.portal-frame .recargas-report .report-page-heading h1{font-size:38px;color:#102b50;letter-spacing:-.8px}.recargas-report .report-page-heading p{font-size:16px;color:#526b88}.recargas-report .report-filters{padding:20px 23px;margin-bottom:16px;box-shadow:0 3px 9px #15375709}.recargas-report .report-filter-heading h2{font-size:21px;color:#163454}.recargas-report .report-filter-heading h2 svg{width:25px;height:25px}.recargas-report .report-filter-grid{grid-template-columns:1fr 1fr 1.2fr 1.8fr;gap:20px}.portal-frame .recargas-report .admin-field label{font-size:14px;color:#263f5e}.portal-frame .recargas-report .form-control,.portal-frame .recargas-report .form-select{font-size:15px;min-height:42px}.recargas-report .report-filter-footer{margin-top:15px}.recargas-report .report-filter-footer .admin-primary-button{font-size:15px}.recargas-report .report-metrics{gap:16px;margin-bottom:16px}.portal-frame .recargas-report .dashboard-metric.report-stat{min-height:116px;padding:16px 20px;gap:17px;border-radius:14px}.recargas-report .report-stat-icon{width:65px;flex-basis:65px;height:73px}.recargas-report .report-stat-icon .action-icon{width:35px;height:35px}.recargas-report .report-stat-label{font-size:15px}.recargas-report .report-stat strong{font-size:38px;color:#102e55;margin:3px 0}.portal-frame .recargas-report .report-stat p{font-size:13px;color:#627d9b;line-height:1.35}.recargas-report .report-stat strong.report-balance-empty{font-size:21px;letter-spacing:-.3px;line-height:1.35}.portal-frame .recargas-report .report-results-title h2{font-size:25px;color:#143256}.recargas-report .report-results-title>svg{width:32px;height:32px}.recargas-report .report-table{min-width:1160px}.portal-frame .recargas-report .report-table th{padding:10px 13px;font-size:14px;background:linear-gradient(#e4edf9,#dce8f6);color:#213b5d;font-weight:650}.portal-frame .recargas-report .report-table td{font-size:14px;padding:12px 13px;color:#233e5d}.portal-frame .recargas-report .report-table td strong{font-size:14px;color:#173353;font-weight:650}.portal-frame .recargas-report .report-table td small{font-size:12.5px;color:#56708f}.recargas-report .report-table tbody tr:nth-child(even){background:#eef6ff}.recargas-report .report-table tbody tr:hover{background:#e1efff}.recargas-report .report-table tbody tr:last-child td{border-bottom:0}.recargas-report .recarga-details summary{font-size:14px}.recargas-report .report-range,.recargas-report .report-page-size label{font-size:14px}.report-ledger-note{font-size:12px;color:#6a819c;margin:14px 24px 10px}.recargas-report .report-pagination-bar{padding-block:18px}
@media(max-width:1100px){.recargas-report .report-filter-grid{grid-template-columns:1fr 1fr}.recargas-report .report-stat strong{font-size:30px}.recargas-report .report-stat-icon{width:45px;flex-basis:45px;height:55px}.portal-frame .recargas-report .dashboard-metric.report-stat{gap:12px;padding:16px}.recargas-report .report-stat-label{font-size:13px}}
@media(max-width:700px){.recargas-report .report-filter-grid{grid-template-columns:1fr}.portal-frame .recargas-report .report-page-heading h1{font-size:31px}.recargas-report .report-metrics{grid-template-columns:1fr}.recargas-report .report-stat strong{font-size:34px}.recargas-report .report-filter-heading h2{font-size:19px}}

/* A slightly narrower terminal and explicit product family badges. */
.sale-terminal{width:94%;max-width:1800px;margin-inline:auto}.sale-terminal .sale-context{margin-bottom:10px}.sale-active-company{font-size:.83rem;color:#7b8fa3;margin:0 3px 18px}.sale-active-company strong{font-weight:650;color:#4e6984}.sale-terminal .sale-denomination .sale-product-kind{display:inline-flex;align-items:center;align-self:flex-start;font-size:.68rem;font-weight:750;line-height:1.25;padding:5px 8px;border-radius:7px;margin-bottom:3px;letter-spacing:.01em;white-space:nowrap}.sale-product-kind.kind-recarga{background:#eaf2ff;color:#1f64b1}.sale-product-kind.kind-internet{background:#e7f7fa;color:#187483}.sale-product-kind.kind-sin-limite{background:#f0ebff;color:#7452b3}.sale-product-kind.kind-paquete{background:#edf1f5;color:#536a80}.sale-terminal.is-switching-company .sale-workspace{opacity:.35;pointer-events:none}.sale-terminal.is-switching-company .catalog-wallet{position:relative}.sale-terminal.is-switching-company .catalog-wallet strong{visibility:hidden}.sale-terminal.is-switching-company .catalog-wallet::after{content:'Actualizando empresa…';position:absolute;right:0;bottom:0;color:#086bfa;font-size:.9rem}.sale-terminal [data-company-submit][hidden]{display:none!important}
@media(max-width:760px){.sale-terminal{width:100%}.sale-active-company{font-size:.78rem}.sale-terminal .sale-denomination .sale-product-kind{font-size:.65rem}}

.sale-type-section+.sale-type-section{margin-top:28px;padding-top:22px;border-top:1px solid #e7edf5}.sale-type-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px}.sale-type-heading h3{display:flex;align-items:center;gap:9px;font-size:1rem;font-weight:750;color:#274767;margin:0}.sale-type-heading>span{color:#8295a9;font-size:.78rem}.sale-type-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#6c8198}.sale-type-dot.kind-recarga{background:#4484d4}.sale-type-dot.kind-sin-limite{background:#9472ce}.sale-type-dot.kind-internet{background:#3a9cad}

/* Product information is optional disclosure, separate from the sale action. */
.sale-denominations{align-items:start}.sale-product-tile{display:flex;flex-direction:column;min-height:178px;border:2px solid #e3ebf4;border-radius:15px;background:white;overflow:hidden;transition:border-color .15s,box-shadow .15s}.sale-product-tile:hover,.sale-product-tile:focus-within{border-color:#7daef6;box-shadow:0 3px 12px #16395608}.sale-product-tile>.sale-denomination{border:0;border-radius:0;padding:18px 20px 12px;min-height:0;flex:1}.sale-product-tile>.sale-denomination:hover,.sale-product-tile>.sale-denomination:focus-visible{transform:none;background:#f5f9ff;box-shadow:none}.sale-product-tile .sale-package-name{line-height:1.4}.sale-product-details{font-size:.8rem;text-align:left}.sale-product-tile>.sale-product-details{margin:0 20px 15px}.sale-product-details summary{display:flex;align-items:center;gap:6px;list-style:none;color:#3973b8;font-size:.77rem;font-weight:650;cursor:pointer;min-height:30px;width:fit-content;border-radius:5px}.sale-product-details summary::-webkit-details-marker{display:none}.sale-product-details summary:focus-visible{outline:2px solid #086bfa;outline-offset:3px}.sale-product-details summary>.action-icon{width:14px;height:14px;transition:transform .15s}.sale-product-details[open] summary>.action-icon{transform:rotate(90deg)}.sale-product-details>div{color:#70869e;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere;padding-top:8px}.sale-product-details .detail-open-label{display:none}.sale-product-details[open] .detail-open-label{display:inline}.sale-product-details[open] .detail-closed-label{display:none}.venta-inline .venta-product-summary>.sale-product-details{margin:8px 0 15px}
@media(prefers-reduced-motion:reduce){.sale-product-tile,.sale-product-details summary>.action-icon{transition:none}}

/* Carrier products are selected in a dedicated modal before number capture. */
.sale-products-dialog{padding:0;border:1px solid #e2eaf4;border-radius:24px;width:min(1240px,calc(100vw - 48px));max-height:90vh;color:#193b5d;background:white;box-shadow:0 25px 90px #0b284b44;overflow-y:auto}.sale-products-dialog::backdrop{background:#10243d8c;backdrop-filter:blur(4px)}.sale-products-dialog>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 28px;border-bottom:1px solid #e1e9f3;background:#fbfdff}.sale-picker-brand{display:flex;align-items:center;gap:20px}.sale-picker-brand [data-sale-picker-logo]:empty{display:none}.sale-picker-brand img{width:110px;height:46px;object-fit:contain}.sale-picker-brand h2{font-size:1.55rem;line-height:1.2;margin:0}.sale-picker-brand p{font-size:.78rem;margin:5px 0 0;color:#7a8fa5}.sale-products-dialog>header>button{border:0;background:#edf3fa;color:#56718b;width:38px;height:38px;flex-shrink:0;border-radius:50%;font-size:1.7rem;line-height:1;cursor:pointer}.sale-products-dialog-body{padding:22px 28px 28px}.sale-products-dialog .sale-product-heading{display:none}.sale-products-dialog .sale-products-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;flex-wrap:wrap}.sale-products-dialog .sale-mode{margin:0}.sale-products-dialog .sale-package-search{margin:0;max-width:430px;flex:1;min-width:230px}.sale-products-dialog .sale-package-search .admin-field{flex:1}.sale-products-dialog .sale-denominations,.sale-products-dialog .sale-packages{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.sale-products-dialog .sale-product-tile{min-height:174px}.sale-products-dialog .sale-type-heading{margin-bottom:14px}.sale-products-dialog .sale-hint{display:none}.sale-products-dialog>footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e1e9f3;background:#fbfdff;padding:15px 28px;color:#70869e;font-size:.85rem}.sale-products-dialog.is-loading .sale-products-dialog-body{opacity:.45;pointer-events:none}.sale-products-dialog[open]{animation:sale-modal-in .2s ease-out}.sale-products-dialog .sale-product-kind{display:inline-flex;align-self:flex-start;font-size:.68rem;font-weight:750;padding:5px 8px;border-radius:7px;line-height:1.25}
@media(max-width:1000px){.sale-products-dialog .sale-denominations,.sale-products-dialog .sale-packages{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.sale-products-dialog{width:calc(100vw - 24px);max-height:93vh;border-radius:18px}.sale-products-dialog>header{padding:17px 18px}.sale-products-dialog-body{padding:18px}.sale-products-dialog .sale-denominations,.sale-products-dialog .sale-packages{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-picker-brand{gap:12px}.sale-picker-brand img{width:72px;height:34px}.sale-picker-brand h2{font-size:1.25rem}.sale-products-dialog .sale-products-toolbar{gap:16px}.sale-products-dialog .sale-package-search{max-width:none;min-width:100%;flex-wrap:nowrap}.sale-products-dialog>footer{padding:13px 18px;font-size:.78rem}.sale-products-dialog .sale-product-tile>.sale-denomination{padding:15px 14px 10px}.sale-products-dialog .sale-product-details{margin-inline:14px}}
@media(prefers-reduced-motion:reduce){.sale-products-dialog[open]{animation:none}}

/* Colored product cards: clear family identity without extra actions on time air. */
.sale-product-tile{--tile-accent:#3682df;--tile-line:#b9d4f5;--tile-start:#e4f0ff;--tile-end:#f7fbff;position:relative;background:linear-gradient(135deg,var(--tile-start),var(--tile-end));border:1px solid var(--tile-line);box-shadow:0 4px 12px #1639560b;transition:transform .16s,border-color .16s,box-shadow .16s}.sale-product-tile::before{content:'';position:absolute;inset:0 0 auto;height:4px;background:var(--tile-accent);pointer-events:none}.sale-product-tile::after{content:'';position:absolute;width:115px;height:115px;border-radius:50%;right:-40px;top:-40px;border:20px solid var(--tile-line);opacity:.32;pointer-events:none}.sale-product-tile.tile-sin-limite{--tile-accent:#8a60cf;--tile-line:#d5c4ed;--tile-start:#eee6fc;--tile-end:#fcfaff}.sale-product-tile.tile-internet{--tile-accent:#209aa4;--tile-line:#addde1;--tile-start:#def4f4;--tile-end:#f5fcfc}.sale-product-tile.tile-paquete{--tile-accent:#7088aa;--tile-line:#ced9e8;--tile-start:#eaf0f7;--tile-end:#fafcfe}.sale-product-tile:hover,.sale-product-tile:focus-within{border-color:var(--tile-accent);box-shadow:0 7px 18px #16395617;transform:translateY(-2px)}.sale-product-tile>.sale-denomination{position:relative;z-index:1;background:transparent;padding-top:22px}.sale-product-tile>.sale-denomination:hover,.sale-product-tile>.sale-denomination:focus-visible{background:transparent}.sale-product-tile .sale-denomination>strong{color:#153958}.sale-product-tile .sale-package-name{color:#244564}.sale-product-tile>.sale-product-details{position:relative;z-index:1;border-top:1px solid var(--tile-line);padding-top:8px}.sale-product-details summary{white-space:nowrap;width:auto}.sale-product-details summary>span{flex:0 0 auto}.sale-product-details summary>.action-icon{flex:0 0 14px}.sale-product-tile .sale-product-details summary{color:#345e8b}.sale-product-tile .sale-product-details>div{color:#49677f}.sale-products-dialog .sale-product-tile.tile-recarga{min-height:150px}
@media(prefers-reduced-motion:reduce){.sale-product-tile{transition:none}.sale-product-tile:hover,.sale-product-tile:focus-within{transform:none}}

.venta-capture-description{font-size:.94rem;line-height:1.65;color:#5d7691;white-space:pre-line;overflow-wrap:anywhere;margin:18px 0 12px}

/* Denomination cards follow the supplied phone-watermark reference. */
.sale-product-tile{background:linear-gradient(135deg,#fff 30%,#f2f7ff);border:1px solid #dbe5f1;border-radius:19px;box-shadow:0 3px 6px #132f4e08}.sale-product-tile.tile-sin-limite{background:linear-gradient(135deg,#fff 30%,#f6f1fc)}.sale-product-tile.tile-internet{background:linear-gradient(135deg,#fff 30%,#edf9f9)}.sale-product-tile::before,.sale-product-tile::after{display:none}.sale-products-dialog .sale-product-tile.tile-recarga{min-height:186px}.sale-product-tile>.sale-denomination{padding:23px 23px 19px;gap:12px;overflow:hidden;isolation:isolate}.sale-product-tile .sale-denomination>strong{font-size:2.65rem;line-height:1.15;color:#14263e;letter-spacing:-1.3px;margin-top:6px}.sale-product-tile .sale-denomination strong small{font-size:.82rem;color:#7b8798;letter-spacing:0}.sale-product-tile .sale-denomination>.sale-product-kind{font-size:.76rem;padding:5px 9px;max-width:calc(100% - 35px)}.sale-selection-mark{position:absolute;right:19px;top:21px;width:23px;height:23px;border:2px solid #dce2ea;border-radius:50%;display:grid;place-items:center;z-index:2}.sale-selection-mark>svg{width:17px;height:17px;fill:none;stroke:white;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0}.sale-product-tile .sale-denomination>.sale-tile-caption{display:flex;align-items:center;gap:8px;width:100%;padding-top:12px;border-top:1px dashed #dbe3ef;color:#6e7c8f;font-size:.85rem;font-weight:550}.sale-tile-caption>svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:#1769ff;stroke-width:2.4;stroke-linecap:round}.sale-product-tile.is-selected{border-color:#086bfa;box-shadow:0 0 0 2px #086bfa;background:linear-gradient(135deg,#fff 40%,#f2f7ff)}.sale-product-tile.is-selected .sale-selection-mark{background:#086bfa;border-color:#086bfa}.sale-product-tile.is-selected .sale-selection-mark svg{opacity:1}.sale-product-tile.is-selected .sale-denomination>strong{color:#086bfa}.sale-product-tile.is-selected .sale-denomination>.sale-product-kind{color:white;background:#086bfa}.sale-product-tile:hover,.sale-product-tile:focus-within{border-color:#6da5fb}.sale-product-tile.is-selected:hover,.sale-product-tile.is-selected:focus-within{border-color:#086bfa}
@media(max-width:700px){.sale-product-tile .sale-denomination>strong{font-size:2rem}.sale-product-tile .sale-denomination strong small{font-size:.65rem}.sale-products-dialog .sale-product-tile.tile-recarga{min-height:165px}.sale-selection-mark{right:12px;top:15px;width:18px;height:18px}.sale-selection-mark>svg{width:13px;height:13px}.sale-product-tile .sale-denomination>.sale-product-kind{font-size:.65rem;padding:4px 6px}.sale-product-tile .sale-denomination>.sale-tile-caption{font-size:.72rem;gap:5px}.sale-tile-caption>svg{width:16px;height:16px;flex-basis:16px}}

.sale-products-dialog>header>[data-sale-products-close],.sale-capture-dialog>header>[data-sale-close]{display:grid;place-items:center;padding:0;line-height:0;width:40px;height:40px;flex:0 0 40px;align-self:center;box-sizing:border-box}
[data-sale-products-close]>svg,[data-sale-close]>svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

/* Phone privacy is visual: these remain telephone inputs, never credentials. */
.venta-phone-mask{position:relative}
.venta-phone.is-masked{color:transparent!important;-webkit-text-fill-color:transparent;caret-color:#193b5d}
.venta-phone-dots{position:absolute;inset:0;display:flex;align-items:center;padding:16px 19px;pointer-events:none;font-size:clamp(22px,2.2vw,28px);font-weight:750;letter-spacing:.08em;color:#193b5d}
.venta-phone-dots[hidden]{display:none}
.adv-footer .footer-inner{flex-direction:column;justify-content:center;gap:6px;text-align:center;padding-block:18px;font-size:14px;line-height:1.5;color:#526b88}
.adv-footer .footer-inner>span:nth-child(2){display:block;font-size:14px;color:#526b88}
.adv-footer .footer-inner>a{font-size:13px;font-weight:600;margin-top:2px}

/* Larger, matching telephone and confirmation fields, including the visual mask. */
.admin-field .form-control.venta-phone{width:100%;min-width:0;min-height:70px;padding:16px 18px;font-size:clamp(22px,2.2vw,28px);font-weight:750;line-height:1.3;letter-spacing:.08em}
.admin-field .venta-phone::placeholder{font-size:clamp(16px,1.5vw,20px);font-weight:600;letter-spacing:.03em}
@media(max-width:700px){.admin-field .form-control.venta-phone{min-height:64px}}

/* Horizontal portal navigation and focused operation start screen. */
.portal-frame.portal-horizontal{--shell-sidebar:0px;--shell-header:80px;min-height:100vh}
.portal-horizontal .adv-header{position:relative;inset:auto;height:auto}
.portal-horizontal .adv-header-inner{max-width:1800px;margin-inline:auto;padding-inline:32px;min-height:86px}
.portal-horizontal .portal-main{width:100%;margin:0;padding:34px 32px 42px;min-height:0}
.portal-horizontal .adv-footer{margin-left:0}
.portal-topnav{background:#0b2748;border-bottom:1px solid #173a60;position:relative;z-index:55}
.topnav-inner{max-width:1800px;margin:auto;padding:12px 32px}
.topnav-links{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.topnav-links>a,.topnav-admin>summary{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 19px;border-radius:10px;color:#edf4ff;font-weight:700;font-size:16px;text-decoration:none;cursor:pointer;min-height:46px;list-style:none}
.topnav-links>a:hover,.topnav-admin>summary:hover,.topnav-admin.is-current>summary{background:#ffffff14;color:white}
.topnav-links>a[aria-current=page]{background:#086bfa;color:white}
.topnav-admin{position:relative}.topnav-admin>summary::-webkit-details-marker{display:none}
.topnav-admin>summary>svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s}
.topnav-admin[open]>summary>svg{transform:rotate(180deg)}
.topnav-dropdown{position:absolute;right:0;top:calc(100% + 8px);width:290px;padding:10px;background:white;border:1px solid #dce5ee;border-radius:15px;box-shadow:0 14px 35px #0d294324}
.topnav-dropdown a{display:block;color:#264c75;font-size:16px;font-weight:650;padding:15px 14px;text-decoration:none;border-radius:8px}
.topnav-dropdown a:hover,.topnav-dropdown a[aria-current=page]{background:#edf4ff;color:#086bfa}
.topnav-toggle{display:none;align-items:center;gap:9px;border:1px solid #ffffff40;background:transparent;color:white;border-radius:9px;padding:9px 14px;font-weight:650}
.operation-home{max-width:1320px;margin:0 auto}
.operation-home-heading{margin-bottom:32px}.operation-home-heading h1{font-size:34px;font-weight:800;letter-spacing:-.8px;color:#102b50;margin:0 0 9px}.operation-home-heading>p:last-child{font-size:17px;color:#617995;margin:0}
.operation-home>section>h2{font-size:23px;font-weight:750;color:#163454;margin-bottom:19px}
.home-balance-grid,.home-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.home-balance-card{background:white;border:1px solid #dce5ef;border-radius:17px;box-shadow:0 3px 9px #15375708;padding:28px;display:flex;align-items:flex-start;gap:22px;min-width:0}
.home-card-icon{width:58px;height:58px;flex:0 0 58px;border-radius:13px;background:#edf5ff;display:flex;align-items:center;justify-content:center;color:#086bfa}.home-card-icon>.action-icon{width:31px;height:31px}
.home-balance-card>div{min-width:0}.home-balance-card h3{font-size:20px;font-weight:750;color:#163454;margin:0 0 5px;overflow-wrap:anywhere}.home-balance-value{display:block;font-size:38px;line-height:1.3;font-weight:800;color:#17518d;margin:8px 0 13px;overflow-wrap:anywhere}.home-balance-value>small{font-size:15px;font-weight:600}
.home-pending{display:inline-block;background:#fff3d9;color:#8c621b;padding:5px 10px;border-radius:20px;font-size:13px;font-weight:600}.home-balance-card p{font-size:15px;line-height:1.5;color:#617995;margin:10px 0 18px}.home-balance-card .dashboard-refresh{font-size:14px;min-height:40px}.home-balance-card button:disabled{opacity:.6;cursor:default}
.home-shortcuts{margin-top:30px}.home-shortcut{display:flex;align-items:center;gap:20px;min-width:0;padding:25px;background:white;border:1px solid #dce5ef;border-radius:16px;text-decoration:none;box-shadow:0 3px 9px #15375708;transition:border-color .15s,box-shadow .15s;color:#163454}.home-shortcut:hover{border-color:#80b0fb;box-shadow:0 5px 15px #086bfa12;color:#163454}.home-shortcut>span:nth-child(2){flex:1;min-width:0}.home-shortcut strong{display:block;font-size:20px;font-weight:750;margin-bottom:5px}.home-shortcut small{display:block;font-size:15px;color:#617995;line-height:1.5}.home-shortcut>.action-icon{color:#086bfa;flex-shrink:0}
.home-company-form{display:flex;align-items:end;gap:14px;margin-bottom:23px;max-width:700px}.home-company-form .admin-field{flex:1;margin:0}.home-company-balance{max-width:800px}.home-company-balance h2{font-size:21px;line-height:1.5;margin:0;color:#163454}.home-company-balance .home-balance-label{margin:0 0 6px}.home-company-balance .admin-text-link{font-size:15px}.home-empty{padding:24px;background:white;border:1px solid #dce5ef;border-radius:14px;color:#617995}
@media(max-width:1100px){.home-balance-grid,.home-shortcut-grid{gap:16px}.home-balance-card,.home-shortcut{padding:22px;gap:15px}}
@media(max-width:900px){.portal-horizontal .adv-header-inner{padding-inline:18px;min-height:72px}.portal-horizontal .portal-main{margin:0;padding:26px 20px 32px}.topnav-inner{padding:10px 20px}.topnav-links{flex-direction:column;align-items:stretch;gap:4px}.topnav-links>a,.topnav-admin>summary{justify-content:flex-start}.topnav-toggle:not([hidden]){display:inline-flex}.portal-topnav.is-enhanced:not(.is-open) .topnav-links{display:none}.portal-topnav.is-open .topnav-links{margin-top:10px}.topnav-dropdown{position:static;width:100%;margin:4px 0 8px}.home-balance-grid,.home-shortcut-grid{grid-template-columns:1fr}.operation-home-heading h1{font-size:29px}}
@media(max-width:480px){.portal-horizontal .portal-main{padding:23px 14px 30px}.home-balance-card,.home-shortcut{padding:19px;gap:13px}.home-card-icon{width:43px;height:43px;flex-basis:43px}.home-card-icon>.action-icon{width:25px;height:25px}.home-balance-value{font-size:32px}.home-shortcut strong{font-size:18px}.home-shortcut small{font-size:14px}.home-company-form{flex-wrap:wrap}.home-company-form .admin-field{min-width:100%}.operation-home-heading>p:last-child{font-size:16px}}

/* Carrier selection and product-modal header only; product cards keep their current design. */
.sale-terminal .sale-workspace{background:transparent;border:0;border-radius:0;padding:8px 0 0}
.sale-terminal .sale-carriers{grid-template-columns:repeat(6,minmax(0,190px));gap:16px;margin:22px 0 26px}
.sale-terminal .sale-carrier{background:#fff;border:0;min-height:134px;border-radius:22px;padding:21px 15px;gap:15px;box-shadow:0 5px 14px #16395604}
.sale-terminal .sale-carrier img{width:145px;height:51px;object-fit:contain}
.sale-terminal .sale-carrier-name{font-size:16px;font-weight:550;color:#192c43}
.sale-terminal .sale-carrier[aria-current=true]{background:#eef3ff;box-shadow:inset 0 0 0 2px #086bfa}
.sale-terminal .sale-carrier:hover{box-shadow:0 5px 18px #16395612}
.sale-terminal .sale-carrier[aria-current=true]:hover{box-shadow:inset 0 0 0 2px #086bfa,0 5px 18px #16395612}
.sale-terminal .sale-carrier:focus-visible{outline:3px solid #086bfa;outline-offset:4px}
.sale-products-dialog>header{padding:23px 30px;background:#fafbfd}
.sale-products-dialog .sale-picker-brand{gap:24px;min-width:0}
.sale-products-dialog .sale-picker-brand img{width:160px;height:60px;object-fit:contain}
.sale-products-dialog .sale-picker-brand h2{font-size:1.6rem;font-weight:750;color:#182a42}
.sale-products-dialog .sale-picker-brand p{font-size:.9rem;color:#6c7d93;line-height:1.45;margin-top:5px;overflow-wrap:anywhere}
@media(max-width:1100px){.sale-terminal .sale-carriers{grid-template-columns:repeat(3,minmax(0,190px))}}
@media(max-width:600px){.sale-terminal .sale-carriers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sale-terminal .sale-carrier{min-height:120px;padding:18px 12px;border-radius:18px}.sale-terminal .sale-carrier img{max-width:100%;height:44px}.sale-terminal .sale-carrier-name{font-size:14px}.sale-products-dialog>header{padding:18px}.sale-products-dialog .sale-picker-brand{gap:14px}.sale-products-dialog .sale-picker-brand img{width:90px;height:43px}.sale-products-dialog .sale-picker-brand h2{font-size:1.25rem}.sale-products-dialog .sale-picker-brand p{font-size:.78rem}}

/* Top navigation matches the approved left-aligned underline reference. */
.portal-horizontal .topnav-inner{padding-block:0}
.portal-horizontal .topnav-links{justify-content:flex-start;gap:8px}
.portal-horizontal .topnav-links>a,.portal-horizontal .topnav-admin>summary{min-height:66px;padding:20px 24px;border-radius:0;border-bottom:3px solid transparent;background:transparent;color:#95a9c1}
.portal-horizontal .topnav-links>a:hover,.portal-horizontal .topnav-admin>summary:hover{background:#ffffff07;color:#fff}
.portal-horizontal .topnav-links>a[aria-current=page],.portal-horizontal .topnav-admin.is-current>summary{background:transparent;color:#fff;border-bottom-color:#086bfa}
/* Cards are immediate actions rather than selectable items. */
.sale-product-tile .sale-denomination>.sale-product-kind{max-width:100%}
@media(max-width:900px){.portal-horizontal .topnav-inner{padding-block:10px}.portal-horizontal .topnav-links>a,.portal-horizontal .topnav-admin>summary{min-height:46px;padding:12px 16px}.portal-horizontal .topnav-links{gap:4px}}

/* Carrier highlight remains visible independently of hover, without checkmarks. */
.sale-terminal .sale-carrier{border:2px solid transparent;transition:border-color .2s,background-color .2s,box-shadow .2s,transform .2s}
.sale-terminal .sale-carrier:hover{border-color:#e0e5ec;box-shadow:0 6px 16px #1639560c;transform:translateY(-2px)}
.sale-terminal .sale-carrier[aria-current=true],.sale-terminal .sale-carrier[aria-current=true]:hover{border-color:#086bfa;background:#eef2ff;box-shadow:0 3px 10px #086bfa09}
.sale-terminal .sale-carrier:active{transform:scale(.98)}
.sale-products-dialog[open],.sale-capture-dialog[open]{animation:sale-modal-in .28s cubic-bezier(.2,.8,.2,1)}
.sale-products-dialog[open]::backdrop,.sale-capture-dialog[open]::backdrop{animation:sale-backdrop-in .22s ease-out}
@keyframes sale-backdrop-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.sale-terminal .sale-carrier{transition:none}.sale-terminal .sale-carrier:hover,.sale-terminal .sale-carrier:active{transform:none}.sale-products-dialog[open],.sale-capture-dialog[open],.sale-products-dialog[open]::backdrop,.sale-capture-dialog[open]::backdrop{animation:none}}

/* One shared content width: the 1560px recharge-history reference plus page gutters. */
.portal-frame.portal-horizontal{--portal-content-width:1560px}
.portal-frame.portal-horizontal .portal-main{width:100%;max-width:calc(var(--portal-content-width) + 64px);margin:0 auto;min-width:0}
.portal-horizontal .recargas-report,.portal-horizontal .sale-terminal,.portal-horizontal .operation-home{width:100%;max-width:none;margin-inline:0}

.catalog-sync-date{color:#617995;font-size:13px;line-height:1.5;align-self:center}

.catalog-busy-dialog{width:min(460px,calc(100vw - 32px));border:1px solid #dce5ef;border-radius:22px;padding:34px;text-align:center;background:white;color:#193b5d;box-shadow:0 20px 70px #10243d33}
.catalog-busy-dialog::backdrop{background:#10243d88;backdrop-filter:blur(4px)}
.catalog-busy-dialog h2{font-size:23px;font-weight:750;margin:20px 0 12px}
.catalog-busy-dialog p{font-size:16px;line-height:1.6;color:#617995;margin-bottom:22px}
.catalog-busy-dialog progress{display:block;width:100%;height:9px;accent-color:#086bfa}
.catalog-busy-spinner{width:44px;height:44px;border:4px solid #e2edfc;border-top-color:#086bfa;border-radius:50%;margin:auto;animation:sale-spin .8s linear infinite}
.sale-type-section[hidden],.sale-product-tile[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.catalog-busy-spinner{animation:none}}

/* Company actions keep the same positions on every row. */
.admin-row-actions.company-row-actions { display:grid; grid-template-columns:repeat(2,minmax(110px,1fr)); gap:6px 12px; min-width:250px; align-items:center; justify-items:start; }
.admin-row-actions.company-row-actions .action-link { font-size:13px; margin:0; padding:4px 0; }
.company-service-state { min-width:135px; }
.company-service-state small { display:block; margin-top:5px; }
.admin-badge.is-service-blocked { background:#fff1e8; color:#a34218; }
.service-message-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:20px 0; }
.service-message-fields textarea { width:100%; min-height:110px; resize:vertical; }
@media(max-width:700px) { .service-message-fields { grid-template-columns:1fr; gap:18px; } }
