/* Cuenta: suscripción, packs y movimientos (account-billing.mjs). */
.ab-root { display: flex; flex-direction: column; gap: 30px; max-width: 980px; margin: 0 0 30px; font-family: Manrope, Arial, sans-serif; color: #17231f; }
.ab-root[hidden] { display: none; }
.ab-mono { font-family: "DM Mono", Manrope, monospace; color: #173e32; }
.ab-sub { display: flex; flex-direction: column; gap: 16px; border: 1px solid #cfe0d7; border-radius: 14px; padding: 22px 24px; background: linear-gradient(135deg, #eaf4ef 0%, #ffffff 55%, #f4f1e6 100%); }
.ab-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.ab-col { display: flex; flex-direction: column; gap: 4px; }
.ab-right { align-items: flex-end; text-align: right; }
.ab-label { font-size: 11px; font-weight: 700; color: #476056; text-transform: uppercase; letter-spacing: .4px; }
.ab-plan-name { font-size: 22px; letter-spacing: -.5px; }
.ab-plan-price { font-size: 18px; }
.ab-renew { align-self: flex-end; border-radius: 999px; padding: 4px 10px; background: #f8efd4; color: #7a5c12; font-size: 12px; font-weight: 600; }
.ab-pages { display: flex; flex-direction: column; gap: 8px; }
.ab-pages strong.ab-title { font-size: 14px; }
.ab-count { font-size: 15px; }
.ab-track { height: 12px; overflow: hidden; border-radius: 999px; background: #e6ece8; }
.ab-fill { height: 100%; width: 0; border-radius: 999px; background: #1c6a57; transition: width .25s; }
.ab-sub[data-tone="near"] .ab-fill { background: #8a6410; }
.ab-sub[data-tone="full"] .ab-fill { background: #9a3b2a; }
.ab-small { font-size: 12px; color: #56665f; }
.ab-chat { font-size: 13px; font-weight: 600; }
.ab-block { display: flex; flex-direction: column; gap: 12px; }
.ab-block h2 { margin: 0; font-size: 18px; letter-spacing: -.3px; }
.ab-block .ab-hint { font-size: 13px; color: #56665f; }
.ab-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ab-plan { display: flex; flex-direction: column; gap: 10px; border: 1px solid #dfe6e2; border-top: 5px solid #1c6a57; border-radius: 12px; padding: 18px 20px; background: #fff; }
.ab-plan .ab-tag { align-self: flex-start; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.ab-plan strong.ab-size { font-size: 20px; letter-spacing: -.4px; }
.ab-plan .ab-price { font-size: 16px; }
.ab-plan button { margin-top: 4px; border: 1px solid #245d49; border-radius: 8px; padding: 9px 13px; background: #245d49; color: #fff; font: 600 13px Manrope, Arial, sans-serif; cursor: pointer; }
.ab-plan.is-current button { border-color: #cbd6d1; background: #eef2ef; color: #56665f; cursor: default; }
.ab-t0 { border-color: #cfe3d9; border-top-color: #1c6a57; } .ab-t0 .ab-tag { color: #1c6a57; background: #e2f1ea; } .ab-t0.is-current { border: 2px solid #1c6a57; border-top-width: 5px; background: #f2f9f5; }
.ab-t1 { border-color: #cfdcec; border-top-color: #35679b; } .ab-t1 .ab-tag { color: #35679b; background: #e3edf7; } .ab-t1.is-current { border: 2px solid #35679b; border-top-width: 5px; background: #f3f7fc; }
.ab-t2 { border-color: #ead9a8; border-top-color: #8a6410; } .ab-t2 .ab-tag { color: #8a6410; background: #f8efd4; } .ab-t2.is-current { border: 2px solid #8a6410; border-top-width: 5px; background: #fdf9ec; }
.ab-list { overflow: hidden; border: 1px solid #dfe6e2; border-radius: 12px; background: #fff; }
.ab-pack { display: grid; grid-template-columns: 1fr 110px 110px; gap: 18px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eef2ef; }
.ab-pack:last-child, .ab-move:last-child { border-bottom: 0; }
.ab-pack .ab-name { font-size: 15px; font-weight: 600; }
.ab-pack .ab-price { font-size: 15px; text-align: right; }
.ab-pack button { justify-self: end; border: 1px solid #245d49; border-radius: 8px; padding: 8px 14px; background: #fff; color: #245d49; font: 600 13px Manrope, Arial, sans-serif; cursor: pointer; }
.ab-move { display: grid; grid-template-columns: 130px 1fr 90px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #eef2ef; font-size: 13px; }
.ab-move .ab-amount { text-align: right; }
.ab-empty { padding: 14px 18px; font-size: 13px; color: #56665f; }
.ab-root button:focus-visible { outline: 2px solid #a58a4e; outline-offset: 2px; }
.ab-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(18, 35, 30, .45); font-family: Manrope, Arial, sans-serif; color: #17231f; }
.ab-dialog { display: flex; flex-direction: column; gap: 14px; width: 440px; max-width: 100%; border-radius: 14px; padding: 26px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.ab-dialog strong.ab-dtitle { font-size: 19px; letter-spacing: -.3px; }
.ab-dline { display: flex; justify-content: space-between; gap: 14px; border-radius: 10px; padding: 12px 14px; background: #f3f7f5; font-size: 14px; }
.ab-dnote { font-size: 13px; line-height: 1.6; color: #56665f; }
.ab-dactions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.ab-dactions button { border: 1px solid #cbd6d1; border-radius: 8px; padding: 10px 14px; background: #fff; color: #245d49; font: 600 13px Manrope, Arial, sans-serif; cursor: pointer; }
@media (max-width: 760px) { .ab-plans { grid-template-columns: 1fr; } .ab-pack { grid-template-columns: 1fr auto; } .ab-pack button { grid-column: 1 / -1; justify-self: stretch; } }
