/* Responsive refinements shared by every supplier-facing screen. */
.ep-registration-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0;background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 22px;box-shadow:0 5px 18px rgba(16,24,40,.04)}
.ep-registration-summary>div{padding:2px 14px 2px 0;border-right:1px solid #edf0f3}
.ep-registration-summary>div:nth-child(3){border-right:0}
.ep-registration-summary small,.ep-registration-summary strong,.ep-registration-summary span{display:block}
.ep-registration-summary small{color:var(--muted);font-size:12px;margin-bottom:5px}
.ep-registration-summary strong{font-size:16px}
.ep-registration-summary span{color:var(--muted);font-size:13px;margin-top:3px}
.ep-registration-summary>p{grid-column:1/-1;margin:3px 0 0;padding-top:14px;border-top:1px solid #edf0f3;color:var(--muted);font-size:13px}
.ep-approval-explanation{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:28px;align-items:center;margin-top:22px;padding:27px 30px;border-radius:14px;background:linear-gradient(135deg,#131720,#252b36);color:#fff}
.ep-approval-explanation>div>b{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e9f8ee;color:#16833d}
.ep-approval-explanation h2{margin:13px 0 7px;font-size:24px}
.ep-approval-explanation p{margin:0;color:#d2d7e0;line-height:1.55}
.ep-approval-explanation ol{display:grid;gap:10px;margin:0;padding:0}
.ep-approval-explanation li{list-style:none;display:flex;align-items:center;gap:11px;color:#eef1f5}
.ep-approval-explanation li b{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;border:1px solid #6b7280;color:#fff}
.ep-inline-cta{display:inline-block;margin-top:10px;font-size:14px;font-weight:800}
.ep-first-service-empty b{display:block;color:var(--red);font-size:38px;line-height:1}
.ep-first-service-empty .ep-button{width:auto;margin-top:10px}

@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  body{font-size:16px}
  .ep-split{display:block;min-height:100vh}
  .ep-visual{min-height:0;padding:18px 20px 22px;background-position:center 36%}
  .ep-visual .ep-brand{width:178px!important;height:auto!important;min-height:52px}
  .ep-visual .ep-brand img{display:block;width:172px!important;max-height:58px!important}
  .ep-visual-copy{position:relative;left:auto;right:auto;bottom:auto;max-width:none;margin-top:20px;padding-right:4px}
  .ep-visual-copy h2{max-width:430px;margin:0 0 9px;font-size:27px;line-height:1.12}
  .ep-visual-copy p{max-width:500px;margin:0;font-size:15px;line-height:1.45}
  .ep-form-side{display:block;padding:28px 18px 36px;overflow:visible}
  .ep-form-card,.ep-form-card-small{width:100%;max-width:none}
  .ep-form-card h1{font-size:31px;line-height:1.15}
  .ep-form-card h3{font-size:18px;margin-top:24px}
  .ep-lead{font-size:16px}
  .ep-grid-2,.ep-grid-3{grid-template-columns:1fr}
  .ep-span-2,.ep-span-3{grid-column:auto}
  input,select,textarea{min-height:48px;font-size:16px}
  textarea{min-height:105px}
  .ep-button{min-height:48px;font-size:16px}

  .ep-header,.ep-provider-header,.ep-onboarding-header{height:72px;padding:0 14px;gap:10px}
  .ep-header .ep-brand,.ep-provider-header .ep-brand,.ep-onboarding-header .ep-brand{width:158px!important;height:62px!important;flex:0 0 158px}
  .ep-header .ep-brand img,.ep-provider-header .ep-brand img,.ep-onboarding-header .ep-brand img{width:152px!important;max-height:58px!important}
  .ep-header nav{display:none}
  .ep-logout{font-size:15px}
  .ep-provider-account{gap:4px;min-width:0}
  .ep-provider-account>div{display:none}
  .ep-provider-account>b{width:34px;height:34px;font-size:12px}
  .ep-account-arrow{padding:5px}

  .ep-portal-shell{display:block;min-height:calc(100vh - 72px)}
  .ep-portal-sidebar{position:sticky;top:0;z-index:50;height:auto;padding:0;border-right:0;border-bottom:1px solid #e2e6eb;background:#fff}
  .ep-menu-title,.ep-sidebar-status{display:none}
  .ep-portal-sidebar .ep-portal-menu{display:flex;flex-direction:row;align-items:stretch;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;padding:8px 10px;background:#fff;box-shadow:0 5px 15px rgba(16,24,40,.06);scrollbar-width:none}
  .ep-portal-sidebar .ep-portal-menu::-webkit-scrollbar{display:none}
  .ep-portal-sidebar .ep-portal-menu>small{display:none}
  .ep-portal-sidebar .ep-portal-menu a{flex:0 0 88px;display:flex;flex-direction:column;justify-content:center;gap:4px;width:88px;min-width:88px;padding:7px 5px;font-size:13px;text-align:center}
  .ep-portal-sidebar .ep-portal-menu a b{width:28px;height:28px;margin:auto}
  .ep-portal-sidebar .ep-portal-menu a span{font-size:12px;line-height:1.2}
  .ep-portal-sidebar .ep-portal-menu a.active{box-shadow:inset 0 -3px 0 var(--red)}

  .ep-dashboard,.ep-portal-shell>.ep-dashboard{width:calc(100% - 28px);margin:22px auto 42px}
  .ep-dashboard-title{align-items:flex-start;gap:14px}
  .ep-dashboard-title h1{font-size:28px;line-height:1.16}
  .ep-dashboard-title p{font-size:15px;line-height:1.45}
  .ep-dashboard-title>strong{flex:0 0 auto;font-size:23px}
  .ep-flow-steps{grid-template-columns:1fr;gap:10px}
  .ep-flow-steps article{padding:14px}
  .ep-registration-summary{grid-template-columns:1fr;padding:18px;gap:0}
  .ep-registration-summary>div{border-right:0;border-bottom:1px solid #edf0f3;padding:13px 0}
  .ep-registration-summary>div:first-child{padding-top:0}
  .ep-registration-summary>div:nth-child(3){border-bottom:0}
  .ep-registration-summary>p{grid-column:auto;margin-top:8px}
  .ep-company-panel{padding:19px 16px}
  .ep-panel-heading{display:block}
  .ep-private{display:inline-block;margin-top:10px}
  .ep-demo-actions{align-items:stretch;flex-direction:column}
  .ep-demo-actions .ep-button{width:100%}
  .ep-approval-explanation{grid-template-columns:1fr;padding:23px 19px;gap:20px}
  .ep-approval-explanation h2{font-size:22px}
  .ep-submit-panel{padding:19px 17px}
  .ep-submit-panel form,.ep-submit-panel .ep-button{width:100%}
  .ep-timeline{grid-template-columns:1fr;gap:12px}

  .ep-home-hero{padding:24px 20px}
  .ep-home-hero h1{font-size:28px;line-height:1.15}
  .ep-home-hero p{font-size:16px}
  .ep-home-metrics{grid-template-columns:1fr}
  .ep-home-grid,.ep-home-tools{grid-template-columns:1fr}
  .ep-home-panel{padding:20px 17px}
  .ep-home-panel-head{align-items:flex-start;flex-direction:column}
  .ep-company-summary{grid-template-columns:1fr}
  .ep-home-services article{grid-template-columns:72px minmax(0,1fr);padding:11px}
  .ep-home-services img,.ep-home-service-image{width:72px;height:68px}
  .ep-home-services>article>strong{grid-column:2}
  .ep-first-service-empty .ep-button{width:100%}

  .ep-company-title{align-items:flex-start;flex-direction:column}
  .ep-company-title h1{font-size:30px}
  .ep-company-layout,.ep-company-form-grid,.ep-change-list{grid-template-columns:1fr}
  .ep-company-status-card{position:static}
  .ep-company-card{padding:19px 16px}

  .ep-services-page,.ep-availability-page{padding:21px 14px 35px}
  .ep-services-title h1,.ep-availability-header h1{font-size:29px}
  .ep-service-metrics{grid-template-columns:1fr}
  .ep-service-modal>section,.ep-view-modal>section,.ep-slot-modal>section{max-height:calc(100dvh - 20px);border-radius:12px}
  .ep-availability-workspace{grid-template-columns:1fr}
  .ep-calendar-card{overflow-x:auto}
  .ep-weekdays,.ep-calendar-grid{min-width:610px}
}

/* Menú móvil accesible en formato hamburguesa. */
.ep-mobile-menu-toggle{display:none}
.ep-mobile-menu-backdrop[hidden]{display:none}
@media(max-width:760px){
  .ep-provider-header{position:sticky;top:0;z-index:1002}
  .ep-mobile-menu-toggle{display:grid;place-content:center;gap:5px;width:44px;height:44px;margin-left:auto;border:1px solid rgba(255,255,255,.34);border-radius:10px;background:rgba(255,255,255,.08);cursor:pointer}
  .ep-mobile-menu-toggle span{display:block;width:21px;height:2px;border-radius:2px;background:#fff;transition:transform .2s,opacity .2s}
  .ep-mobile-menu-open .ep-mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .ep-mobile-menu-open .ep-mobile-menu-toggle span:nth-child(2){opacity:0}
  .ep-mobile-menu-open .ep-mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .ep-provider-account{margin-left:0}
  .ep-portal-sidebar{position:fixed!important;z-index:1004!important;top:72px!important;bottom:0;left:0;width:min(86vw,330px);height:auto!important;padding:18px 14px!important;border:0!important;box-shadow:18px 0 45px rgba(7,17,34,.24)!important;transform:translateX(-110%);transition:transform .24s ease;overflow-y:auto;background:#fff!important}
  .ep-mobile-menu-open .ep-portal-sidebar{transform:translateX(0)}
  .ep-portal-sidebar .ep-menu-title{display:block!important;padding:2px 12px 18px!important}
  .ep-portal-sidebar .ep-menu-title small{display:block!important}
  .ep-portal-sidebar .ep-portal-menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;overflow:visible!important;padding:12px 0!important;box-shadow:none!important;background:transparent!important}
  .ep-portal-sidebar .ep-portal-menu>small{display:block!important;margin:15px 12px 5px!important}
  .ep-portal-sidebar .ep-portal-menu a{flex:none!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important;padding:12px 13px!important;text-align:left!important;font-size:16px!important}
  .ep-portal-sidebar .ep-portal-menu a b{width:32px!important;height:32px!important;margin:0!important}
  .ep-portal-sidebar .ep-portal-menu a span{font-size:16px!important}
  .ep-portal-sidebar .ep-portal-menu a.active{box-shadow:inset 3px 0 0 var(--red)!important}
  .ep-portal-sidebar .ep-sidebar-status{display:flex!important;margin-top:14px}
  .ep-mobile-menu-backdrop{position:fixed;z-index:1003;inset:72px 0 0;width:100%;border:0;background:rgba(7,17,34,.48)}
  .ep-mobile-menu-open{overflow:hidden}
  .ep-portal-sidebar{position:fixed!important;z-index:1004;top:72px!important;bottom:0;left:0;width:min(88vw,330px);height:auto!important;padding:18px 14px!important;border-right:1px solid #dde3ea!important;border-bottom:0!important;overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:12px 0 34px rgba(8,20,42,.18)}
  .ep-mobile-menu-open .ep-portal-sidebar{transform:translateX(0)}
  .ep-portal-sidebar .ep-menu-title{display:block!important;padding:0 12px 14px}
  .ep-portal-sidebar .ep-portal-menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;overflow:visible!important;padding:12px 0!important;box-shadow:none!important}
  .ep-portal-sidebar .ep-portal-menu>small{display:block!important;margin:15px 12px 5px!important}
  .ep-portal-sidebar .ep-portal-menu a{flex:0 0 auto!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;gap:11px!important;width:100%!important;min-width:0!important;padding:11px 12px!important;text-align:left!important}
  .ep-portal-sidebar .ep-portal-menu a b{width:30px!important;height:30px!important;margin:0!important}
  .ep-portal-sidebar .ep-portal-menu a span{font-size:15px!important}
}

@media(max-width:380px){
  .ep-visual-copy h2{font-size:24px}
  .ep-header .ep-brand,.ep-provider-header .ep-brand,.ep-onboarding-header .ep-brand{width:135px!important;flex-basis:135px}
  .ep-header .ep-brand img,.ep-provider-header .ep-brand img,.ep-onboarding-header .ep-brand img{width:132px!important}
  .ep-provider-account>b{display:none}
}
