/* Apaxco Sabe V17 · Panel comercial operable, móvil y accesible */
.merchant-dashboard{min-height:min(78vh,780px);grid-template-columns:205px minmax(0,1fr);background:#f7faff}
.merchant-dashboard .v17-sidebar{background:linear-gradient(174deg,#102d5b,#153e80);gap:4px;padding:19px 11px;min-width:0}
.v17-sidebar img{margin-bottom:17px!important}
.v17-sidebar button{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;font-weight:600;font-size:.84rem;padding:10px 13px;border:1px solid transparent!important;white-space:nowrap;transition:background .15s ease}
.v17-sidebar button:hover{background:#ffffff19}
.v17-sidebar button.is-active{background:#eaf2ff!important;color:#144488!important}
.v17-sidebar button:focus-visible,.v17-main button:focus-visible{outline:3px solid #ffbb44;outline-offset:2px}
.v17-nav-count{font-size:.73rem;background:#e25555;color:#fff;border-radius:999px;min-width:23px;text-align:center;padding:2px 5px}
.v17-main{min-width:0;max-height:78vh;overflow-y:auto;overflow-x:hidden;padding:26px 28px 38px!important;overscroll-behavior:contain}
.v17-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:13px;margin-bottom:14px;border-bottom:1px solid #e1e9f6}
.v17-panel-header h2{font-family:Poppins,system-ui,sans-serif;font-size:clamp(1.55rem,2.7vw,2.1rem);line-height:1.25;margin:4px 0!important;color:#0e315e}
.v17-panel-header p{color:#60718c;font-size:.87rem;line-height:1.5;margin:0}
.v17-panel-header button{flex-shrink:0}
.v17-tab-panel{animation:v17-panel-in .14s ease-out;min-width:0}
.v17-tab-panel[hidden]{display:none!important}
@keyframes v17-panel-in{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:none}}
.v17-tab-panel h3{font-size:1.07rem;color:#173e78;margin:10px 0 12px}
.v17-tab-panel h4{font-size:1rem;color:#153968;margin:0 0 7px}
.v17-tab-panel p{color:#60718c;font-size:.88rem;line-height:1.55}
.v17-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 24px}
.v17-quick-actions button{min-height:42px}
.v17-tab-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 18px}
.v17-tab-heading h3{margin:0 0 3px}
.v17-tab-heading p{margin:0}
.v17-tab-heading button{flex-shrink:0}
.v17-business-list,.v17-inquiry-list{display:grid;gap:11px}
.v17-card{background:#fff;border:1px solid #e0e9f6;border-radius:15px;padding:17px;margin:10px 0;box-shadow:0 2px 12px #1c509008}
.v17-managed-card{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0}
.v17-managed-card>div:nth-child(2){min-width:0}
.v17-managed-card strong,.v17-product-row strong{overflow-wrap:anywhere;color:#163c72}
.v17-managed-card .v17-row-actions{display:flex;flex-wrap:wrap;grid-column:2/4;gap:8px}
.v17-managed-card .v17-row-actions button{min-height:35px;font-size:.81rem}
.v17-product-list{display:grid;gap:10px}
.v17-product-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:11px;align-items:center;background:#fff;border:1px solid #e1eaf6;padding:13px;border-radius:14px}
.v17-product-row small,.v17-notice small,.v17-hours-card small,.v17-promo-row small{display:block;color:#65758d;line-height:1.5;font-size:.78rem}
.v17-product-row em{font-style:normal;background:#eef6ff;color:#28558b;border-radius:999px;padding:5px 8px;font-size:.72rem}
.v17-product-thumb{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#eaf3ff;overflow:hidden}
.v17-product-thumb img{height:100%;width:100%;object-fit:cover}
.v17-hours-card,.v17-promo-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.v17-hours-card p,.v17-promo-row p{margin:3px 0}
.v17-hours-card button,.v17-promo-row button{flex-shrink:0}
.v17-inquiry-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:#fff;padding:17px;border:1px solid #e0e9f6;border-radius:15px;min-width:0}
.v17-inquiry-row>div:first-child{min-width:0;overflow-wrap:anywhere;flex:1}
.v17-inquiry-row strong{color:#143b70}
.v17-inquiry-row small{display:block;margin-top:3px;font-size:.8rem;color:#718198}
.v17-inquiry-row p{margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.v17-inquiry-actions{display:grid;justify-items:start;gap:8px;min-width:122px}
.v17-pill{font-size:.75rem;color:#1a6d59;background:#dcf6eb;border-radius:999px;padding:5px 9px;font-weight:800}
.v17-pill-new{color:#815000;background:#fff2ce}
.v17-inquiry-actions button{width:100%;min-height:34px}
.v17-analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.v17-analytics-grid>article{min-width:0;background:white;border:1px solid #e1e9f6;border-radius:14px;padding:15px}
.v17-verification-row,.v17-notice{display:grid;gap:10px}
.v17-verification-row textarea{width:100%;resize:vertical;border:1px solid #c8d6e9;border-radius:9px;padding:10px;margin-top:6px;font:inherit}
.v17-verification-row button,.v17-notice button{justify-self:start}
.v17-notice small{margin-top:-5px}
.v17-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.v17-form{display:grid;gap:12px;margin:0}
.v17-form h4{margin:0 0 4px}
.v17-form label{display:grid;gap:6px;font-weight:600;color:#345074;font-size:.83rem;min-width:0}
.v17-form input{height:44px;min-width:0;width:100%;border:1px solid #bfd0e6;border-radius:9px;padding:9px 11px;font:inherit;background:#fff;color:#102e52}
.v17-form input:read-only{background:#f2f5fa;color:#64758c}
.v17-form button{justify-self:start;min-height:40px}
.v17-helper{margin:0;font-size:.78rem!important}
.v17-form-status{margin:0!important;font-weight:700!important;color:#13735c!important;min-height:18px}
.v17-form-status[data-error="true"]{color:#b62838!important}
.v17-settings-business{margin-top:15px}
.v17-empty{border:1px dashed #b7c9e3;background:#f0f6ff;padding:18px;border-radius:12px;color:#506584!important}
.v17-next-steps{margin-top:24px}
.v17-next-steps button{margin-top:7px}
@media(max-width:840px){.merchant-dashboard{grid-template-columns:1fr;min-height:0}.merchant-dashboard .v17-sidebar{position:relative;display:flex;flex-direction:row;padding:10px 12px;gap:7px;overflow-x:auto;scrollbar-width:thin}.v17-sidebar button{width:auto!important;flex:0 0 auto;padding:9px 12px;min-height:40px}.v17-sidebar img{display:none}.v17-main{max-height:calc(90dvh - 140px);padding:18px!important}.v17-settings-grid{grid-template-columns:1fr}.v17-panel-header{flex-wrap:wrap}}
@media(max-width:560px){.v17-managed-card{grid-template-columns:46px minmax(0,1fr);gap:8px}.v17-managed-card .verification-chip{grid-column:2;justify-self:start}.v17-managed-card .v17-row-actions{grid-column:1 / -1}.v17-managed-card .v17-row-actions button{flex:1}.v17-product-row{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.v17-product-row em{grid-column:2}.v17-product-row button{grid-column:3;grid-row:1 / 3}.v17-inquiry-row{flex-direction:column}.v17-inquiry-actions{width:100%;display:flex;flex-wrap:wrap}.v17-inquiry-actions button{width:auto}.v17-hours-card,.v17-promo-row{align-items:flex-start;flex-direction:column}.v17-quick-actions button{flex:1 1 140px}.v17-tab-heading button{width:100%}.v17-main{max-height:calc(100dvh - 120px)}.v17-panel-header button{width:100%}}
.v17-plan-interest{margin-top:24px;background:#f4f8ff}
.v17-plan-interest h3{margin:0 0 6px}
.v17-plan-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #d9e5f5;padding:10px 0;flex-wrap:wrap}
.v17-plan-row span{color:#266487;font-size:.83rem;font-weight:700}
@media(max-width:560px){.v17-plan-row button{width:100%}}
