@charset "UTF-8";
.client-panel [hidden]{display:none!important}.panel-header-actions{display:flex;align-items:center;gap:13px}.session-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.session-badge svg{width:14px;height:14px}.signin-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;padding:30px 0 38px;max-width:1040px}.signin-copy h2{font-size:38px;line-height:1.16;margin-bottom:20px;max-width:440px}.signin-copy>p:not(.eyebrow){font-size:15px;color:var(--muted);max-width:390px;line-height:1.8}.signin-visual{display:flex;align-items:center;margin-bottom:38px}.signin-visual>img{width:54px;height:54px;border-radius:15px;box-shadow:0 8px 18px #b9452014}.signin-visual-line{width:54px;height:1px;background:#ddd4c6;position:relative;margin:0 10px}.signin-visual-line:after{content:"";display:block;width:6px;height:6px;border:1px solid #c7bca9;border-radius:50%;background:var(--paper);position:absolute;left:24px;top:-3px}.signin-telegram{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#e1edf0;color:#3d778d}.signin-telegram svg{width:26px;height:26px}.signin-benefits{padding:0;list-style:none;display:grid;gap:14px;font-size:12px;color:#66675d;margin:27px 0 0}.signin-benefits li{display:flex;gap:10px;align-items:center}.signin-benefits svg{width:16px;height:16px;color:var(--green)}.signin-card{border:1px solid #ded7ca;border-radius:19px;padding:32px;background:#fff;box-shadow:var(--shadow);min-width:0}.signin-card-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--orange-soft);color:var(--orange);margin-bottom:22px}.signin-card h3{font-size:22px;letter-spacing:-.035em;margin-bottom:14px}.signin-card p{font-size:13px;color:var(--muted);line-height:1.75;margin-bottom:23px}.signin-card .btn-full{min-height:49px;font-size:13px}.signin-card .signin-footnote{font-size:10px;text-align:center;margin:12px 0 0}.signin-safety{border-top:1px solid var(--line);padding-top:19px;margin-top:24px;display:flex;gap:9px}.signin-safety svg{width:15px;height:15px;color:var(--muted);margin-top:3px}.signin-safety p{font-size:10px;margin:0;line-height:1.7}.login-code{padding:17px 15px;background:var(--paper);border:1px solid var(--line);border-radius:10px;text-align:center}.login-code span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.login-code strong{font-size:30px;letter-spacing:.17em;font-weight:650;color:var(--ink);overflow-wrap:anywhere}.signin-card .login-expiry{margin:9px 0 20px;text-align:center;font-size:11px}.signin-card .poll-status{font-size:11px;text-align:center;margin:15px 0}.signin-secondary-actions{display:flex;justify-content:space-between;gap:8px}.signin-secondary-actions .btn{font-size:11px;padding:9px 11px}.new-login-button{background:transparent;padding:3px 0;justify-content:center;width:100%;font-size:11px;margin-top:8px}.btn:disabled{background:#eeeae3;color:#827e73;border-color:#e5e0d6;box-shadow:none;transform:none}.panel-feedback{border:1px solid #e1d1b6;background:#fff6e6;padding:13px 16px;border-radius:9px;font-size:12px;color:#73552b;margin-bottom:22px;overflow-wrap:anywhere}.panel-feedback.success{border-color:#d2e2d4;background:var(--green-soft);color:var(--green)}.client-panel .account-footer>p{max-width:60%;line-height:1.65}.client-panel .account-status p{max-width:210px}.client-panel .account-details{grid-template-columns:1fr 1fr 1fr}.client-panel .unavailable-pay{margin-top:15px;font-size:11px}.panel-refresh{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:23px}.panel-refresh p{font-size:10px;color:var(--muted);margin:0}.panel-empty{background:white;border:1px solid var(--line);border-radius:13px;padding:33px;text-align:center;color:var(--muted);font-size:13px}.client-panel .app-footer>span:last-child{text-align:right;max-width:300px}.client-panel .account-identity h3{overflow-wrap:anywhere}.client-panel .account-details .detail-value{overflow-wrap:anywhere}.client-panel .app-topbar .btn{font-size:11px}.signin-grid[aria-busy=true]{opacity:.8}.client-panel .pill.compatibility{background:#eeeee6;color:#65684d}.client-panel .pill.pilot{background:#e9edf5;color:#4d668d}
@media(max-width:1150px){.signin-grid{gap:32px}.signin-copy h2{font-size:34px}.signin-card{padding:27px}.client-panel .account-footer>p{max-width:100%}.panel-header-actions{gap:10px}}@media(max-width:900px){.signin-grid{max-width:760px;margin:auto;padding-top:15px}.signin-copy h2{font-size:32px}.signin-copy>p:not(.eyebrow){font-size:14px}.panel-header-actions{flex-wrap:wrap;justify-content:flex-end}.client-panel .sidebar-nav{width:auto}.client-panel .account-footer{flex-direction:row;align-items:center}.client-panel .account-footer>p{max-width:65%}.client-panel .account-footer .btn{font-size:11px}}
@media(max-width:650px){.signin-grid{grid-template-columns:1fr;gap:28px;padding:0 0 15px;max-width:440px}.signin-visual{margin:0 0 22px}.signin-visual>img,.signin-telegram{width:44px;height:44px;border-radius:12px}.signin-telegram svg{width:22px;height:22px}.signin-copy h2{font-size:31px;margin-bottom:15px}.signin-copy>p:not(.eyebrow){font-size:13px;margin-bottom:0;max-width:100%}.signin-benefits{grid-template-columns:1fr;gap:10px;margin-top:19px;font-size:11px}.signin-benefits svg{width:15px;height:15px}.signin-card{padding:25px;border-radius:15px}.signin-card h3{font-size:21px}.signin-card p{font-size:12px}.signin-card-icon{margin-bottom:19px}.panel-header-actions{gap:7px}.session-badge{font-size:9px}.client-panel .sidebar{gap:10px}.client-panel .sidebar-nav{width:100%;justify-content:flex-start;gap:12px}.client-panel .sidebar-nav a{padding-inline:10px}.client-panel .app-topbar{gap:10px}.client-panel .app-topbar .btn{font-size:10px;padding:7px 9px}.client-panel .account-details{grid-template-columns:1fr 1fr}.client-panel .account-status p{max-width:120px}.client-panel .account-footer{flex-direction:column;align-items:flex-start;gap:12px}.client-panel .account-footer>p{max-width:100%}.client-panel .account-footer .btn{align-self:flex-end}.client-panel .app-footer>span:last-child{max-width:150px;font-size:9px}.panel-refresh{gap:10px}.panel-refresh .btn{font-size:11px}.panel-feedback{font-size:11px}.client-panel #commercial-description{font-size:11px}.client-panel .account-identity h3{max-width:160px}}
.panel-billing{padding:18px 24px;border-top:1px solid var(--line,#e5e7eb)}.billing-state{font-weight:600;font-size:14px}.billing-date{font-size:13px;color:var(--muted);margin:7px 0 14px}.billing-actions{display:flex;flex-wrap:wrap;gap:10px}.billing-actions .btn{min-height:44px}.panel-billing-dialog{max-width:480px;width:calc(100% - 32px);border:1px solid var(--line,#e5e7eb);border-radius:18px;padding:28px;color:var(--ink,#172b3a);background:var(--paper,#fff)}.panel-billing-dialog::backdrop{background:#10253466}.panel-billing-dialog p{margin:14px 0;font-size:14px;line-height:1.6}.panel-billing-dialog label{display:block;font-size:14px;margin:20px 0 8px}.panel-billing-dialog input{width:100%;box-sizing:border-box;border:1px solid var(--line,#cbd5e1);border-radius:8px;padding:12px;font:inherit}.panel-billing-dialog [hidden]{display:none}.panel-billing-dialog .dialog-actions{margin-top:22px}.billing-conditions{background:var(--orange-soft,#fff5e8);padding:14px;border-radius:10px}@media(max-width:650px){.panel-billing{padding:16px}.billing-actions{gap:9px}.billing-actions .btn{flex-grow:1}.panel-billing-dialog{padding:22px}.panel-billing-dialog .dialog-actions{flex-wrap:wrap}}
.platform-admin{margin:36px 0 8px;padding:22px 24px;border:1px dashed var(--line,#cbd5e1);border-radius:14px;background:#fbfcfd}.platform-admin .section-heading{margin-top:0}.platform-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}.platform-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:white;border:1px solid var(--line,#e5e7eb);border-radius:10px}.platform-item div{display:grid;gap:3px}.platform-meta{font-size:12px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}.platform-state{font-size:13px;font-weight:600}.platform-item .btn{min-height:44px;flex-shrink:0}.platform-empty{font-size:14px;color:var(--muted)}@media(max-width:650px){.platform-admin{padding:16px}.platform-item{flex-direction:column;align-items:stretch}}
/* D-076: estado de la plataforma (solo administrador). Semáforo con las tintas de la marca: verde, ámbar, rojo y gris. */
.health-admin{margin:0 0 34px;padding:24px 26px;border:1px solid #ddd4c4;border-radius:16px;background:linear-gradient(180deg,#fffdf9,#f7f3eb);box-shadow:var(--shadow)}.health-admin .section-heading{margin-bottom:20px}.health-admin .section-heading h2{font-size:20px}
.health-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex-shrink:0;box-shadow:0 0 0 3px #fff}.health-verde{background:#3f8a68}.health-amarillo{background:#d39a2c}.health-rojo{background:#c4473f;animation:health-pulse 2.4s ease-out infinite}.health-gris{background:#b8b3a8}
@keyframes health-pulse{0%{box-shadow:0 0 0 3px #fff,0 0 0 3px #c4473f55}70%{box-shadow:0 0 0 3px #fff,0 0 0 10px #c4473f00}100%{box-shadow:0 0 0 3px #fff,0 0 0 3px #c4473f00}}
@media (prefers-reduced-motion:reduce){.health-rojo{animation:none}}
.health-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.health-stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;display:grid;gap:4px}.health-stat-value{display:flex;align-items:center;gap:10px}.health-stat-value strong{font-size:30px;letter-spacing:-.05em;line-height:1.1}.health-stat-label{font-size:12px;color:var(--muted)}.health-stat-rojo{border-color:#ecc9c4;background:var(--red-soft)}.health-stat-amarillo{border-color:#efdcae;background:var(--amber-soft)}
.health-total{font-size:11px;color:var(--muted);margin:10px 0 18px}
.health-alerts{border-left:3px solid var(--orange);background:#fff;border-radius:0 12px 12px 0;padding:14px 18px;margin-bottom:18px}.health-alerts h3{font-size:14px;letter-spacing:-.01em;margin:0 0 8px}.health-alerts ul{margin:0;padding-left:18px;display:grid;gap:5px;font-size:13px}.health-alerts strong{font-weight:650}.health-muted{font-size:12px;color:var(--muted);margin:0}
.health-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.health-filter{display:flex;gap:6px}.health-filter .btn[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.health-search input{min-height:44px;min-width:240px;border:1px solid #dcd7cd;background:#fff;border-radius:9px;padding:9px 13px;color:var(--ink)}
.health-list{display:grid;gap:10px}.health-business{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.health-business-rojo{border-color:#e7bfb9}.health-business-amarillo{border-color:#ead7a9}
.health-business summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;min-height:52px;transition:background .15s}.health-business summary::-webkit-details-marker{display:none}.health-business summary:hover{background:#fbf8f2}.health-business summary:after{content:"+";color:var(--orange);font-size:20px;line-height:1}.health-business[open] summary:after{content:"−"}
.health-business-title{display:flex;align-items:center;gap:11px;font-size:14px}.health-business-meta{font-size:11px;color:var(--muted);margin-left:auto;text-align:right}
.health-accounts{list-style:none;margin:0;padding:0 18px 16px;display:grid;gap:10px}.health-account{border-top:1px solid #efebe3;padding-top:14px}.health-account-head{display:flex;align-items:center;gap:10px;font-size:13px}.health-tag{font-size:10px;font-weight:650;border-radius:5px;padding:3px 7px;margin-left:auto;background:#efede8;color:#5f5c55}.health-tag-verde{background:var(--green-soft);color:var(--green)}.health-tag-amarillo{background:var(--amber-soft);color:var(--amber)}.health-tag-rojo{background:var(--red-soft);color:var(--red)}
.health-problems{margin:8px 0 0 20px;padding:0;font-size:12px;color:var(--red);display:grid;gap:3px}.health-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 18px;margin:12px 0 0 20px}
.health-log{margin-top:18px;font-size:12px}.health-log summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}.health-log ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px;color:var(--muted)}.health-log p{margin:4px 0 8px}
@media(max-width:900px){.health-summary{grid-template-columns:repeat(2,1fr)}.health-facts{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.health-admin{padding:16px}.health-facts{grid-template-columns:1fr;margin-left:0}.health-business summary{flex-wrap:wrap}.health-business-meta{margin-left:21px;text-align:left;width:100%}.health-search,.health-search input{width:100%;min-width:0}}
