/* RepuestoApp 6.7 · Suscripciones, prueba por días y sucursales adicionales */
.subscription-global-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:14px 18px;border:1px solid #cbdbe8;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(38,71,91,.08);text-decoration:none;color:#183d50}.subscription-global-banner div{display:grid;gap:3px}.subscription-global-banner b{font-size:.86rem;letter-spacing:.04em}.subscription-global-banner span{font-size:.88rem;color:#607886}.subscription-global-banner>strong{white-space:nowrap;font-size:.86rem}.subscription-global-banner.subscription-warning{background:#fff9e8;border-color:#ead49b}.subscription-global-banner.subscription-grace{background:#fff4e7;border-color:#e8bc83}.subscription-global-banner.subscription-blocked{background:#fff0f0;border-color:#e7a8a8;color:#8f2f2f}.subscription-global-banner.subscription-trial{background:#eef8ff;border-color:#b9d9ec}.subscription-global-banner.subscription-ok{background:#edf9f3;border-color:#b9dfcc}
.subscription-page-head{margin-bottom:18px}.subscription-status-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-bottom:18px}.subscription-main-card,.subscription-pricing-card,.subscription-branches-card,.subscription-company-card{padding:24px!important}.subscription-main-card{border-left:5px solid #38a77a}.subscription-main-card.subscription-warning{border-left-color:#dca82c}.subscription-main-card.subscription-grace{border-left-color:#d3812d}.subscription-main-card.subscription-blocked{border-left-color:#c84b4b}.subscription-main-card.subscription-trial{border-left-color:#428ec2}.subscription-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.subscription-card-head h2{margin:.2rem 0 .35rem}.subscription-price-badge,.subscription-state{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;font-weight:800;font-size:.75rem;letter-spacing:.03em;white-space:nowrap;border:1px solid #cbdbe8;background:#f7fafc;color:#315668}.subscription-state.subscription-ok{background:#eaf8f1;border-color:#b8dfcb;color:#257454}.subscription-state.subscription-trial{background:#edf7ff;border-color:#bbd9ec;color:#2a739f}.subscription-state.subscription-warning{background:#fff7df;border-color:#ead49b;color:#896614}.subscription-state.subscription-grace{background:#fff0df;border-color:#e6bb83;color:#995918}.subscription-state.subscription-blocked{background:#ffeded;border-color:#eab2b2;color:#9b3636}.subscription-big-number{display:block;margin-top:14px;font-size:2.2rem;color:#245b8d}.subscription-main-card>small{display:block;color:#6c7f89}.subscription-date-row{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #e3edf2;padding-top:12px;margin-top:14px;font-size:.9rem}.subscription-plan-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #e4edf1}.subscription-plan-row div{display:grid;gap:3px}.subscription-plan-row small,.subscription-help{color:#6c7f89}.subscription-plan-row strong{font-size:1.35rem;color:#245b8d}.branch-price-offer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.branch-price-offer>div{display:grid;gap:4px;padding:15px;border-radius:16px;background:#f5fafc;border:1px solid #d6e5ec}.branch-price-offer b{font-size:1.25rem;color:#245b8d}.branch-price-offer span{color:#6c7f89;font-size:.86rem}.annual-offer{background:#edf9f4!important;border-color:#bfe0cf!important}.subscription-branch-list{display:grid;gap:10px;margin:14px 0 18px}.subscription-branch-row{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(180px,.8fr);align-items:center;gap:14px;padding:14px 16px!important}.subscription-branch-row>div:first-child{display:grid;gap:3px}.subscription-branch-row small,.branch-expiry{color:#6c7f89;font-size:.84rem}.branch-expiry{text-align:right}.warehouse-branch-status-list{margin-bottom:18px}.branch-offer-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px!important;margin-bottom:18px}.branch-offer-banner h2{margin:.25rem 0}.branch-offer-prices{display:flex;gap:10px;flex-wrap:wrap}.branch-offer-prices>span{display:grid;min-width:145px;padding:14px;border:1px solid #d6e5ec;border-radius:16px;background:#f7fbfd}.branch-offer-prices b{font-size:1.2rem;color:#245b8d}.branch-offer-prices small{color:#6c7f89}.company-subscription-note{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px!important;margin-bottom:18px}.company-subscription-note h2{margin:.2rem 0}.subscription-admin-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.subscription-admin-summary article{display:grid;gap:4px;padding:18px!important}.subscription-admin-summary span{font-size:.82rem;color:#6c7f89}.subscription-admin-summary strong{font-size:1.7rem;color:#245b8d}.subscription-admin-summary small{color:#6c7f89}.subscription-company-list{display:grid;gap:18px}.subscription-company-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.subscription-company-meta>span{display:grid;gap:4px;padding:12px 14px;border-radius:14px;background:#f6fafc;border:1px solid #dfeaf0}.subscription-company-meta small{color:#6c7f89}.subscription-admin-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:18px}.subscription-admin-actions form{margin:0}.subscription-trial-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.subscription-trial-form label{margin:0;min-width:120px}.subscription-trial-form input{max-width:120px}.subscription-branch-admin{border-top:1px solid #dce8ed;padding-top:18px}.subscription-branch-admin-row{display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(320px,1.4fr);gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f5}.subscription-branch-admin-row>div:first-child{display:grid;gap:3px}.subscription-branch-admin-row small{color:#6c7f89}.subscription-branch-buttons{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.subscription-branch-buttons form{margin:0}.subscription-branch-buttons .btn{padding:8px 11px;font-size:.82rem}.included-label{text-align:right;color:#287552}.side-nav a .nav-plan-badge{margin-left:auto;font-size:.68rem;padding:2px 6px;border-radius:999px;background:#eaf8f1;color:#287552}
@media(max-width:1050px){.subscription-admin-summary{grid-template-columns:repeat(2,1fr)}.subscription-branch-admin-row{grid-template-columns:1fr auto}.subscription-branch-buttons{grid-column:1/-1;justify-content:flex-start}.subscription-status-grid{grid-template-columns:1fr}.branch-offer-banner{align-items:flex-start;flex-direction:column}}
@media(max-width:720px){.subscription-global-banner{align-items:flex-start;flex-direction:column}.subscription-global-banner>strong{white-space:normal}.subscription-main-card,.subscription-pricing-card,.subscription-branches-card,.subscription-company-card{padding:18px!important}.subscription-card-head{flex-direction:column}.subscription-branch-row{grid-template-columns:1fr;align-items:flex-start}.branch-expiry{text-align:left}.branch-price-offer{grid-template-columns:1fr}.subscription-admin-summary{grid-template-columns:1fr}.subscription-company-meta{grid-template-columns:1fr}.subscription-admin-actions{display:grid}.subscription-admin-actions form,.subscription-admin-actions .btn{width:100%}.subscription-trial-form{display:grid}.subscription-trial-form input{max-width:none}.subscription-branch-admin-row{grid-template-columns:1fr}.subscription-branch-buttons{grid-column:auto;display:grid}.subscription-branch-buttons form,.subscription-branch-buttons .btn{width:100%}.included-label{text-align:left}.company-subscription-note{align-items:flex-start;flex-direction:column}.branch-offer-prices{width:100%}.branch-offer-prices>span{flex:1}.subscription-date-row{flex-direction:column;gap:4px}}

/* RepuestoApp 6.8 · Gestión de empresas unificada estilo directorio premium */
.company-hub-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.company-hub-page-head h1{margin:.2rem 0}.company-hub-count{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid #c8d9e7;border-radius:999px;background:#eef7ff;color:#385d73;font-size:.78rem;font-weight:800;white-space:nowrap}
.company-hub-pricing{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:center;gap:20px;padding:22px 24px!important;margin-bottom:18px}.company-hub-pricing h2{margin:.25rem 0 .35rem}.company-hub-pricing p{margin:0;color:#647c8a}.company-hub-price-pills{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px}.company-hub-price-pills span{display:grid;gap:2px;padding:11px 13px;border:1px solid #d7e4eb;border-radius:13px;background:#f8fbfd}.company-hub-price-pills span.annual{background:#edf9f4;border-color:#b8dfcc}.company-hub-price-pills small{font-size:.68rem;color:#708591}.company-hub-price-pills b{font-size:1.05rem;color:#2d4c91}
.company-create-panel{margin-bottom:18px;padding:0!important;overflow:hidden}.company-create-panel>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:17px 20px;cursor:pointer;background:linear-gradient(135deg,#f8fbfd,#eef8f5)}.company-create-panel>summary::-webkit-details-marker{display:none}.company-create-panel>summary>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e9f4ff}.company-create-panel>summary>div{display:grid;gap:2px;flex:1}.company-create-panel>summary small{color:#6c7e8b}.company-create-panel>summary i{font-style:normal;color:#6b7c89;transition:.2s}.company-create-panel[open]>summary i{transform:rotate(180deg)}.company-create-panel>form{padding:22px;border-top:1px solid #dce7ed}
.company-hub-list{display:grid;gap:22px}.company-hub-card{padding:0!important;overflow:hidden;border:1px solid #bcd0e3!important;box-shadow:0 14px 32px rgba(44,72,103,.09)!important}.company-hub-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #dbe7ee;background:#fff}.company-hub-identity{display:flex;align-items:center;gap:14px;min-width:0}.company-hub-logo{width:46px;height:46px;border-radius:13px;background:#1f2545;color:#fff;display:grid;place-items:center;overflow:hidden;flex:0 0 auto;font-weight:900}.company-hub-logo img{width:100%;height:100%;object-fit:cover}.company-hub-identity>div:last-child{display:grid;gap:3px;min-width:0}.company-hub-identity strong{color:#2c4592;font-size:1.05rem}.company-hub-identity small{color:#607785;white-space:normal}.company-hub-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.company-hub-open{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;border:1px solid #c9d9e4;background:#fff;color:#2f4b87;font-weight:800;font-size:.78rem}.company-hub-open:hover{background:#f1f7fb}
.company-hub-options{margin:14px 16px 0;padding:16px;border:1px solid #bdd9e7;border-radius:15px;background:linear-gradient(135deg,#fbfdff,#f0faf7)}.company-hub-section-title{display:flex;align-items:flex-start;gap:10px}.company-hub-section-title>span:first-child{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#f0f7ff;flex:0 0 auto}.company-hub-section-title>div{flex:1;min-width:0}.company-hub-section-title small{display:block;color:#00a98f;font-weight:900;letter-spacing:.13em;font-size:.66rem}.company-hub-section-title h3{margin:.15rem 0;color:#2e428e;font-size:1rem}.company-hub-section-title p{margin:.25rem 0 0;color:#667b89;font-size:.82rem}.company-hub-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.company-hub-option-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px;border:1px solid #d6e3eb;border-radius:13px;background:#fff}.company-hub-option-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#eef6ff;font-size:1.15rem}.company-hub-option-card>div{display:grid;gap:3px}.company-hub-option-card b{font-size:.78rem;color:#2f478d}.company-hub-option-card small{font-size:.68rem;line-height:1.35;color:#667b89}.company-hub-option-state{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;font-size:.58rem;font-weight:900;letter-spacing:.03em;white-space:nowrap}.company-hub-option-state.included{background:#e8f8f1;color:#20805e}.company-hub-option-state.paid{background:#fff6db;color:#9b6d0d;border:1px solid #ecd89d;text-decoration:none}
.company-hub-subscription{margin:14px 16px 0;padding:17px;border:1px solid #c9dce9;border-radius:15px;background:#fff}.company-hub-subscription.subscription-blocked{border-color:#efb1b1;background:#fffafa}.company-hub-subscription.subscription-grace,.company-hub-subscription.subscription-warning{border-color:#ead19a;background:#fffdf7}.company-hub-subscription.subscription-ok{border-color:#b9dfcb;background:#fbfffd}.company-hub-subscription.subscription-trial{border-color:#bdd9ec;background:#fbfdff}.company-hub-subscription-title{align-items:center}.company-hub-subscription-title .subscription-state{margin-left:auto}.company-hub-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.company-hub-meta-grid>div{display:grid;gap:4px;padding:10px 12px;border:1px solid #dfe8ed;border-radius:12px;background:#fff}.company-hub-meta-grid small{font-size:.58rem;letter-spacing:.06em;color:#748792}.company-hub-meta-grid b{font-size:.76rem;color:#33498a}.company-hub-message{padding:9px 12px;border-radius:10px;font-size:.75rem;margin-bottom:12px}.company-hub-message.warning{background:#fff2c8;color:#865f0a}.company-hub-message.danger{background:#ffe7e7;color:#9c3131}.company-hub-message.info{background:#eaf6ff;color:#2b6f96}.company-hub-message.success{background:#eaf8f1;color:#257454}.company-hub-subscription-controls{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px}.company-hub-control-box{display:grid;align-content:start;gap:10px;padding:13px;border:1px solid #d7e5ec;border-radius:13px;background:#fff}.company-hub-control-heading{display:flex;gap:8px;align-items:flex-start}.company-hub-control-heading>span{font-size:1.15rem}.company-hub-control-heading>div{display:grid;gap:2px}.company-hub-control-heading b{font-size:.76rem;color:#304784}.company-hub-control-heading small{font-size:.66rem;color:#71838e;line-height:1.35}.company-hub-control-box label{font-size:.68rem;margin:0}.company-hub-control-box input,.company-hub-control-box select{margin-top:5px}.company-hub-control-box .btn{width:100%;font-size:.72rem;padding:9px 11px}
.company-hub-history{margin-top:10px;border:1px solid #d7e4ea;border-radius:11px;background:#fff;overflow:hidden}.company-hub-history>summary{list-style:none;cursor:pointer;padding:10px 12px;font-weight:800;color:#315069;font-size:.7rem}.company-hub-history>summary::-webkit-details-marker{display:none}.company-hub-history>summary:before{content:'▸';margin-right:7px}.company-hub-history[open]>summary:before{content:'▾'}.company-hub-history-table{border-top:1px solid #e2ebef}.company-hub-history-table>div{display:grid;grid-template-columns:1fr .7fr .6fr 1.5fr;gap:8px;padding:8px 10px;font-size:.67rem;border-bottom:1px solid #edf2f4}.company-hub-history-table>div:last-child{border-bottom:0}.company-hub-history-table .head{font-weight:900;color:#405773;background:#f6f9fb}.company-hub-empty{margin:0;padding:12px;color:#73848d;font-size:.75rem}
.company-hub-branches{margin:14px 16px 16px;padding:17px;border:1px solid #b9ddce;border-radius:15px;background:linear-gradient(135deg,#fbfffd,#f1faf6)}.company-hub-branch-count{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;background:#eaf8f1;border:1px solid #b9dfcb;color:#26775a;font-weight:900;font-size:.68rem;white-space:nowrap}.company-hub-branch-list{display:grid;gap:10px;margin-top:12px}.company-hub-branch-card{padding:13px;border:1px solid #b9dccd;border-radius:13px;background:#f7fffb}.company-hub-branch-card.primary{background:#f5f9ff;border-color:#c8ddeb}.company-hub-branch-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.company-hub-branch-head>div{display:grid;gap:2px}.company-hub-branch-head strong{color:#2e478c;font-size:.76rem}.company-hub-branch-head small{color:#6c808b;font-size:.64rem}.company-hub-branch-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}.company-hub-branch-meta>span{display:grid;gap:4px;padding:9px;border:1px solid #dfe9e4;border-radius:11px;background:#fff}.company-hub-branch-meta small{font-size:.55rem;color:#7b8b91;letter-spacing:.05em}.company-hub-branch-meta b{font-size:.68rem;color:#334b89}.company-hub-branch-actions{display:flex;gap:7px;flex-wrap:wrap;padding-top:9px;border-top:1px solid #dce9e2}.company-hub-branch-actions form{margin:0}.company-hub-branch-actions .btn{font-size:.65rem;padding:8px 10px}.company-hub-included-note{padding:9px 10px;border-top:1px solid #dce7ed;color:#287355;font-size:.68rem;font-weight:800}.company-hub-no-branches{margin-top:10px;padding:11px 12px;border:1px dashed #bad9cc;border-radius:11px;background:#fff;color:#667d72;font-size:.72rem}
.company-hub-empty{padding:24px!important;text-align:center}.company-hub-card .modal form{padding:0}.company-hub-card .modal label{margin-top:10px}
@media(max-width:1180px){.company-hub-pricing{grid-template-columns:1fr}.company-hub-price-pills{grid-template-columns:repeat(2,1fr)}.company-hub-meta-grid,.company-hub-branch-meta{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.company-hub-page-head{align-items:flex-start;flex-direction:column}.company-hub-header{align-items:flex-start;flex-direction:column}.company-hub-header-actions{justify-content:flex-start}.company-hub-option-grid,.company-hub-subscription-controls{grid-template-columns:1fr}.company-hub-section-title{flex-wrap:wrap}.company-hub-subscription-title .subscription-state,.company-hub-branch-count{margin-left:38px}.company-hub-history-table>div{grid-template-columns:1fr 1fr}.company-hub-history-table .head{display:none}}
@media(max-width:560px){.company-hub-pricing,.company-create-panel>form{padding:18px!important}.company-hub-price-pills{grid-template-columns:1fr 1fr}.company-hub-card{border-radius:18px!important}.company-hub-header{padding:17px}.company-hub-identity{align-items:flex-start}.company-hub-header-actions{width:100%}.company-hub-open{flex:1;justify-content:center}.company-hub-options,.company-hub-subscription,.company-hub-branches{margin-left:10px;margin-right:10px;padding:14px}.company-hub-option-card{grid-template-columns:auto minmax(0,1fr)}.company-hub-option-state{grid-column:2;justify-self:start}.company-hub-meta-grid,.company-hub-branch-meta{grid-template-columns:1fr 1fr}.company-hub-branch-head{align-items:flex-start;flex-direction:column}.company-hub-branch-actions{display:grid}.company-hub-branch-actions form,.company-hub-branch-actions .btn{width:100%}.company-hub-price-pills span{padding:9px}.company-hub-price-pills small{font-size:.62rem}}
