
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, Helvetica, sans-serif;
    }

    body {
      background: #ffffff;
      color: #111111;
    }

    button,
    input,
    select {
      font-family: inherit;
    }

    button:disabled {
      opacity: 0.65;
      cursor: not-allowed;
    }

    /* HEADER */
    header {
      background: #ffd400;
      padding: 12px 5%;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 22px;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    header .logo {
      grid-column: 1;
      justify-self: start;
    }

    .logo img {
      width: 190px;
      height: auto;
      display: block;
    }

    .header-search {
      grid-column: 2;
      justify-self: center;
    }

    .header-actions {
      grid-column: 3;
      justify-self: end;
      display: grid;
      justify-items: stretch;
      gap: 7px;
      min-width: 190px;
    }

    .header-actions .login {
      justify-self: end;
      min-width: 124px;
    }

    .header-coverage {
      border: 2px solid #111111;
      background: rgba(255,255,255,0.55);
      color: #111111;
      border-radius: 14px;
      padding: 7px 10px;
      text-align: left;
      cursor: pointer;
      line-height: 1.2;
      min-width: 0;
      transition: 0.2s;
    }

    .header-coverage:hover {
      background: #ffffff;
      transform: translateY(-1px);
    }

    .header-coverage strong {
      display: block;
      font-size: 13px;
      margin-bottom: 2px;
    }

    .header-coverage span {
      display: block;
      font-size: 11px;
      color: #333333;
    }

    .header-coverage b {
      display: inline-block;
      margin-top: 3px;
      font-size: 11px;
      text-decoration: underline;
    }

    .header-search {
      width: 100%;
      background: #ffffff;
      padding: 6px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

    .header-search input {
      flex: 1;
      min-width: 0;
      border: none;
      outline: none;
      padding: 12px 16px;
      font-size: 15px;
      border-radius: 999px;
      background: transparent;
    }

    .header-search button {
      border: none;
      background: #111111;
      color: #ffffff;
      border-radius: 999px;
      padding: 12px 21px;
      font-weight: 800;
      cursor: pointer;
    }

    .login {
      background: #111111;
      color: #ffffff;
      border: none;
      padding: 12px 24px;
      border-radius: 25px;
      font-weight: bold;
      cursor: pointer;
      transition: 0.2s;
      white-space: nowrap;
    }

    .login:hover {
      transform: scale(1.04);
    }


    /* BANNER PRINCIPAL PIDE Y LLEGA - CARRUSEL 4 SERVICIOS */
    /* PYL_HOME_CAROUSEL_RESTORE_OLD_FORMAT_NATIONAL_20260924
       Recupera exactamente la geometría visual anterior que se veía bien en móvil
       (1491:1055) y conserva los artes clásicos. Sólo se nacionalizan los rótulos
       locales incrustados de comida, compras y fletes; Viajes no llevaba rótulo local. */
    .pyl-home-carousel-wrap {
      background: #ffffff;
      padding: 18px 5% 16px;
    }

    .pyl-home-carousel {
      position: relative;
      width: min(1100px, 100%);
      max-height: none;
      margin: 0 auto;
      aspect-ratio: 1491 / 1055;
      overflow: hidden;
      border-radius: 28px;
      background: #0a0a0a;
      box-shadow: 0 14px 40px rgba(0,0,0,0.16);
      isolation: isolate;
      transition: aspect-ratio .35s ease;
    }

    .pyl-home-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      padding: 0;
      margin: 0;
      background: #0a0a0a;
      opacity: 0;
      transform: scale(1.012);
      transition: opacity .6s ease, transform .8s ease;
      pointer-events: none;
      z-index: 1;
    }

    .pyl-home-slide.is-active {
      opacity: 1;
      transform: scale(1);
      pointer-events: auto;
      z-index: 2;
    }

    .pyl-home-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #0a0a0a;
      user-select: none;
      -webkit-user-drag: none;
    }

    /* Comida, compras y fletes tenían margen exterior en el arte clásico.
       Este fue el ajuste original que hacía que el carrusel se viera lleno y limpio. */
    .pyl-home-slide[data-index="0"] img,
    .pyl-home-slide[data-index="2"] img,
    .pyl-home-slide[data-index="3"] img {
      object-fit: cover;
      transform: scale(1.10);
      transform-origin: center center;
    }

    /* Viajes ya encajaba perfecto en el formato anterior: no se toca ni se recorta. */
    .pyl-home-slide[data-index="1"] img {
      object-fit: contain;
      object-position: center center;
      transform: none;
    }

    /* Nacionalización quirúrgica: tapa únicamente el pill "PIDE Y LLEGA · TOMÉ"
       de los tres artes que lo traen. El badge vive en la zona negra izquierda,
       lejos de rostros, productos y CTA. */
    .pyl-home-slide::before,
    .pyl-home-slide::after {
      content: none;
    }

    .pyl-home-slide[data-index="0"]::before,
    .pyl-home-slide[data-index="2"]::before,
    .pyl-home-slide[data-index="3"]::before {
      content: "PIDE Y LLEGA · COBERTURA POR CIUDAD";
      position: absolute;
      top: 25.5%;
      left: 2.4%;
      z-index: 6;
      display: flex;
      align-items: center;
      justify-content: center;
      width: min(45%, 360px);
      min-height: 34px;
      padding: 6px 10px;
      box-sizing: border-box;
      border: 0;
      border-radius: 999px;
      background: #ffd400;
      color: #111111;
      font-size: clamp(8.5px, 1vw, 12px);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: 0;
      white-space: nowrap;
      pointer-events: none;
      box-shadow: none;
    }

    .pyl-home-carousel-dots {
      position: absolute;
      left: 50%;
      bottom: 14px;
      transform: translateX(-50%);
      z-index: 7;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 9px;
      border-radius: 999px;
      background: rgba(0,0,0,.48);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .pyl-home-carousel-dot {
      width: 9px;
      height: 9px;
      border: 0;
      padding: 0;
      border-radius: 999px;
      background: rgba(255,255,255,.55);
      cursor: pointer;
      transition: width .25s ease, background .25s ease;
    }

    .pyl-home-carousel-dot.is-active {
      width: 28px;
      background: #ffd400;
    }

    @media (max-width: 700px) {
      .pyl-home-carousel-wrap {
        padding: 10px 10px 12px;
      }

      .pyl-home-carousel {
        border-radius: 19px;
        box-shadow: 0 8px 24px rgba(0,0,0,.15);
      }

      .pyl-home-slide[data-index="0"]::before,
      .pyl-home-slide[data-index="2"]::before,
      .pyl-home-slide[data-index="3"]::before {
        top: 25.2%;
        left: 2.2%;
        width: 48%;
        min-height: 28px;
        padding: 4px 6px;
        font-size: clamp(7.5px, 1.9vw, 9px);
      }

      .pyl-home-carousel-dots {
        bottom: 9px;
        gap: 6px;
        padding: 5px 7px;
      }

      .pyl-home-carousel-dot {
        width: 7px;
        height: 7px;
      }

      .pyl-home-carousel-dot.is-active {
        width: 22px;
      }
    }

    @media (max-width: 380px) {
      .pyl-home-slide[data-index="0"]::before,
      .pyl-home-slide[data-index="2"]::before,
      .pyl-home-slide[data-index="3"]::before {
        width: 50%;
        min-height: 26px;
        font-size: 7.5px;
        padding-inline: 5px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .pyl-home-slide {
        transition: opacity .15s linear;
        transform: none;
      }
    }

    /* PIDE Y LLEGA — portada de origen compacta aprobada (solo dos textos visibles).
       Mantener H1 accesible/SEO sin repetir logo; proteger index.html. */
    .tomecino-banner {
      background: #111111;
      color: #ffffff;
      padding: 18px 6% 15px;
      text-align: center;
      border-bottom: 5px solid #ffd400;
    }

    .tomecino-banner > .pyl-national-title {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
      border: 0;
    }

    .tomecino-banner > .pyl-national-subtitle,
    .tomecino-banner > .tomecino-title {
      display: none;
    }

    .tomecino-banner > .tomecino-subtitle {
      max-width: 880px;
      margin: 0 auto 10px;
      font-size: clamp(15px, 2.5vw, 19px);
      line-height: 1.42;
      font-weight: 700;
      color: #ffffff;
    }

    .tomecino-banner > .tomecino-services {
      max-width: 920px;
      margin: 0 auto;
      color: #dddddd;
      font-size: clamp(13px, 1.8vw, 15px);
      line-height: 1.45;
      font-weight: 400;
    }

    @media (max-width: 600px) {
      .tomecino-banner {
        padding: 17px 5% 15px;
      }
      .tomecino-banner > .tomecino-subtitle {
        font-size: clamp(15px, 3.5vw, 17px);
        line-height: 1.43;
        margin-bottom: 10px;
      }
      .tomecino-banner > .tomecino-services {
        font-size: 13px;
        line-height: 1.5;
      }
    }

    /* SERVICIOS */
    .services,
    .work {
      padding: 65px 7%;
      text-align: center;
    }

    .services h2,
    .payments h2 {
      font-size: 35px;
      margin-bottom: 35px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 18px;
      max-width: 1100px;
      margin: auto;
    }

    .card {
      background: #ffffff;
      border: 2px solid #eeeeee;
      border-radius: 22px;
      padding: 32px 15px;
      cursor: pointer;
      transition: 0.2s;
    }

    .card:hover {
      transform: translateY(-6px);
      border-color: #ffd400;
      box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    }

    .icon {
      font-size: 45px;
      margin-bottom: 15px;
    }

    .service-art {
      width: 118px;
      height: 96px;
      margin: 0 auto 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 20px;
      background: linear-gradient(145deg,#fffdf2,#fff);
      overflow: hidden;
    }

    .service-art img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    /* BOTONES */
    .yellow-button,
    .black-button {
      border: none;
      padding: 15px 30px;
      border-radius: 30px;
      font-weight: bold;
      cursor: pointer;
      transition: 0.2s;
    }

    .yellow-button {
      background: #ffd400;
      color: #111111;
    }

    .black-button {
      background: #111111;
      color: #ffffff;
    }

    .yellow-button:hover,
    .black-button:hover {
      transform: scale(1.03);
    }

    /* NEGOCIOS */
    .business {
      background: #111111;
      color: #ffffff;
      padding: 70px 7%;
      text-align: center;
    }

    .business h2 {
      font-size: 36px;
      margin-bottom: 15px;
    }

    .business p {
      color: #dddddd;
      margin-bottom: 28px;
      font-size: 17px;
    }

    /* TRABAJADORES */
    .work h2 {
      font-size: 34px;
      margin-bottom: 35px;
    }

    .work-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-width: 1000px;
      margin: auto;
    }

    .work-card {
      padding: 32px;
      border-radius: 22px;
      background: #f7f7f7;
      border: 1px solid #eeeeee;
    }

    .work-card h3 {
      margin-bottom: 10px;
    }

    .work-card p {
      color: #555555;
      line-height: 1.5;
      margin-bottom: 20px;
    }

    /* PAGOS · BLOQUE DE SEGURIDAD COMPACTO */
    .payments {
      padding: 28px 7% 44px;
      background: #f7f7f7;
    }

    .payment-security-note {
      max-width: 900px;
      margin: 0 auto;
      background: linear-gradient(145deg, #0b0b0b 0%, #171717 100%);
      color: #ffffff;
      border: 1px solid #252525;
      border-radius: 26px;
      padding: 30px 32px;
      text-align: left;
      line-height: 1.65;
      box-shadow: 0 14px 34px rgba(0,0,0,0.14);
    }

    .payment-security-note h3 {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #ffd400;
      margin: 0 0 14px;
      font-size: 24px;
      line-height: 1.25;
      font-weight: 900;
    }

    .payment-security-note p {
      color: #eeeeee;
      margin: 0;
      font-size: 16px;
      line-height: 1.72;
    }

    .payment-security-note strong {
      color: #ffffff;
    }

    @media (max-width: 700px) {
      .payments {
        padding: 18px 7% 32px;
      }

      .payment-security-note {
        border-radius: 22px;
        padding: 24px 22px;
      }

      .payment-security-note h3 {
        font-size: 20px;
        gap: 8px;
      }

      .payment-security-note p {
        font-size: 15px;
        line-height: 1.68;
      }
    }

    /* MISIÓN Y VISIÓN · SECCIÓN INSTITUCIONAL COMPACTA */
    .pyl-mission-vision {
      background: #ffffff;
      padding: 18px 7% 20px;
      border-top: 1px solid #eeeeee;
    }

    .pyl-mission-vision-inner {
      width: min(760px, 100%);
      margin: 0 auto;
      display: grid;
      gap: 8px;
    }

    .pyl-mission-vision details {
      border: 1px solid #dddddd;
      border-radius: 13px;
      background: #ffffff;
      overflow: hidden;
    }

    .pyl-mission-vision summary {
      list-style: none;
      cursor: pointer;
      padding: 12px 14px;
      font-size: 13px;
      font-weight: 900;
      color: #111111;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .pyl-mission-vision summary::-webkit-details-marker {
      display: none;
    }

    .pyl-mission-vision summary::after {
      content: "+";
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #ffd400;
      color: #111111;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      font-weight: 900;
      flex: 0 0 24px;
    }

    .pyl-mission-vision details[open] summary::after {
      content: "−";
    }

    .pyl-mission-vision p {
      margin: 0;
      padding: 0 14px 14px;
      color: #555555;
      font-size: 13px;
      line-height: 1.6;
      text-align: left;
    }

    /* FOOTER */
    footer {
      background: #111111;
      color: #ffffff;
      padding: 40px 7%;
      text-align: center;
    }

    footer h2 {
      font-size: 28px;
    }

    footer strong {
      color: #ffd400;
    }

    footer p {
      margin-top: 10px;
      color: #bbbbbb;
    }

    .pyl-seo-service-links {
      margin: 18px auto 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 16px;
      max-width: 920px;
      font-size: 14px;
    }

    .pyl-seo-service-links a {
      color: #ffd400;
      text-decoration: none;
      font-weight: 700;
    }

    .pyl-seo-service-links a:hover {
      text-decoration: underline;
    }

    /* MODALES */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.70);
      z-index: 1000;
      padding: 20px;
      overflow-y: auto;
    }

    .modal.active {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #ffffff;
      width: 100%;
      max-width: 570px;
      border-radius: 25px;
      padding: 35px;
      position: relative;
      max-height: 90vh;
      overflow-y: auto;
    }

    .admin-modal-content {
      max-width: 1050px;
    }

    .coverage-modal-content,
    .service-modal-content,
    .worker-panel-content,
    .business-panel-content {
      max-width: 760px;
    }

    .business-documents-modal-content {
      max-width: 700px;
    }

    .close {
      position: absolute;
      top: 15px;
      right: 18px;
      background: #111111;
      color: #ffffff;
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 21px;
    }

    .modal-content h2 {
      font-size: 29px;
      margin-bottom: 8px;
      padding-right: 40px;
    }

    .modal-description {
      color: #666666;
      line-height: 1.5;
      margin-bottom: 25px;
    }

    /* LOGIN */
    .access-options {
      display: grid;
      gap: 13px;
    }

    .access-button {
      width: 100%;
      border: 2px solid #eeeeee;
      background: #ffffff;
      border-radius: 15px;
      padding: 17px 18px;
      font-weight: bold;
      cursor: pointer;
      font-size: 16px;
      text-align: left;
    }

    .access-button:hover {
      border-color: #ffd400;
    }

    .google-button {
      background: #ffffff;
      color: #111111;
      border: 2px solid #dddddd;
    }

    /* Registro cliente con Google o email/contraseña, responsive. */
    .pyl-own-account-button {
      background: #ffd400;
      color: #111111;
      border-color: #ffd400;
    }

    .pyl-own-account-button:hover { border-color: #111111; }

    .pyl-auth-pane[hidden], #accessMain[hidden] { display: none !important; }

    .pyl-auth-pane .modal-description { margin-bottom: 16px; }
    .pyl-auth-pane .form-group { margin-bottom: 12px; }
    .pyl-auth-pane input { width: 100%; box-sizing: border-box; }

    .pyl-auth-switch {
      margin: 18px 0 0;
      font-size: 14px;
      text-align: center;
      line-height: 1.5;
    }

    .pyl-auth-link {
      display: inline;
      border: 0;
      background: transparent;
      color: #111111;
      font-weight: bold;
      text-decoration: underline;
      cursor: pointer;
      font-size: inherit;
      padding: 3px;
    }

    .pyl-auth-status {
      margin-top: 12px;
      padding: 12px;
      border-radius: 10px;
      background: #fff8d9;
      color: #242424;
      font-size: 14px;
      line-height: 1.5;
    }
    .pyl-auth-status[hidden] { display: none !important; }
    .pyl-auth-status--error { background: #ffeded; color: #8c1717; }


    .legal-text {
      font-size: 12px;
      color: #777777;
      line-height: 1.5;
      text-align: center;
      margin-top: 20px;
    }

    /* MI CUENTA */
    .account-modal-content {
      max-width: 650px;
      padding: 0;
      overflow: hidden;
    }

    .account-modal-content .close {
      top: 18px;
      right: 18px;
      z-index: 2;
    }

    .account-hero {
      background: #111111;
      color: #ffffff;
      padding: 30px 76px 28px 28px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .account-avatar {
      width: 58px;
      height: 58px;
      min-width: 58px;
      border-radius: 18px;
      background: #ffd400;
      color: #111111;
      display: grid;
      place-items: center;
      font-size: 24px;
      font-weight: 950;
      box-shadow: 0 8px 22px rgba(0,0,0,.18);
    }

    .account-hero-copy {
      min-width: 0;
    }

    .account-hero-copy h2 {
      color: #ffffff;
      margin: 0 0 4px;
      padding: 0;
      font-size: 27px;
    }

    .account-hero-copy p {
      margin: 0;
      color: #cfcfcf;
      line-height: 1.45;
      font-size: 14px;
    }

    .account-content {
      padding: 24px 28px 28px;
    }

    .account-section-title {
      font-size: 12px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: #777777;
      margin: 0 0 10px;
    }

    .account-box {
      background: #fafafa;
      border: 1px solid #e9e9e9;
      border-radius: 18px;
      padding: 4px 18px;
      margin: 0 0 22px;
    }

    .account-data-row {
      display: grid;
      grid-template-columns: 110px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
      padding: 14px 0;
      border-bottom: 1px solid #e9e9e9;
    }

    .account-data-row:last-child {
      border-bottom: none;
    }

    .account-data-label {
      color: #777777;
      font-size: 13px;
      font-weight: 800;
    }

    .account-data-value {
      color: #111111;
      font-weight: 850;
      word-break: break-word;
      text-align: right;
    }

    .account-role-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      justify-self: end;
      min-height: 30px;
      padding: 6px 11px;
      border-radius: 999px;
      background: #fff4b8;
      border: 1px solid #f1cf21;
      color: #3d3400;
      font-size: 12px;
      font-weight: 950;
    }

    .account-actions {
      display: grid;
      gap: 10px;
      margin-bottom: 18px;
    }

    .account-action-button {
      width: 100%;
      border: 1px solid #e5e5e5;
      background: #ffffff;
      color: #111111;
      border-radius: 15px;
      padding: 15px 16px;
      font-weight: 900;
      font-size: 15px;
      cursor: pointer;
      text-align: left;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      transition: border-color .15s ease, transform .15s ease;
    }

    .account-action-button:hover {
      border-color: #ffd400;
      transform: translateY(-1px);
    }

    .account-action-button::after {
      content: "›";
      font-size: 24px;
      line-height: 1;
      color: #777777;
    }

    .account-logout-button {
      width: 100%;
      border: 1px solid #dddddd;
      background: #f7f7f7;
      color: #333333;
      border-radius: 15px;
      padding: 14px 16px;
      font-weight: 850;
      cursor: pointer;
    }

    @media (max-width: 560px) {
      .account-hero {
        padding: 26px 64px 24px 22px;
      }

      .account-content {
        padding: 20px 18px 22px;
      }

      .account-data-row {
        grid-template-columns: 1fr;
        gap: 5px;
      }

      .account-data-value,
      .account-role-badge {
        text-align: left;
        justify-self: start;
      }
    }

    /* FORMULARIOS */
    .form-group {
      margin-bottom: 17px;
    }

    .form-group label {
      display: block;
      font-weight: bold;
      margin-bottom: 7px;
    }

    .form-group input,
    .form-group select {
      width: 100%;
      padding: 13px 15px;
      border: 2px solid #eeeeee;
      border-radius: 12px;
      outline: none;
      font-size: 15px;
    }

    .form-group input:focus,
    .form-group select:focus {
      border-color: #ffd400;
    }

    .form-group input[readonly] {
      background: #f3f3f3;
      color: #555555;
    }

    .phone-wrapper {
      display: flex;
      gap: 8px;
    }

    .country-code {
      background: #f5f5f5;
      border: 2px solid #eeeeee;
      border-radius: 12px;
      padding: 13px;
      font-weight: bold;
      white-space: nowrap;
    }

    .form-submit {
      width: 100%;
    }

    .back-button {
      border: none;
      background: transparent;
      font-weight: bold;
      cursor: pointer;
      margin-bottom: 20px;
    }

    .success-message,
    .error-message {
      display: none;
      padding: 15px;
      border-radius: 12px;
      margin-top: 20px;
      line-height: 1.5;
    }

    .success-message {
      background: #e9f9ee;
      border: 1px solid #a9dfb8;
      color: #176b2c;
    }

    .error-message {
      background: #fff0f0;
      border: 1px solid #f0b0b0;
      color: #8b1e1e;
    }

    .step-badge {
      display: inline-block;
      background: #111111;
      color: #ffffff;
      border-radius: 999px;
      padding: 7px 13px;
      font-size: 12px;
      font-weight: bold;
      margin-bottom: 14px;
    }

    .vehicle-fields {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .vehicle-fields .form-group {
      margin-bottom: 0;
    }

    .helper-text {
      color: #666666;
      font-size: 13px;
      line-height: 1.5;
      margin: 8px 0 18px;
    }

    .document-list {
      display: grid;
      gap: 14px;
      margin-top: 15px;
    }

    .document-item {
      border: 2px solid #eeeeee;
      border-radius: 16px;
      padding: 16px;
      background: #fafafa;
    }

    .document-item h3 {
      font-size: 16px;
      margin-bottom: 6px;
    }

    .document-item p {
      color: #666666;
      font-size: 13px;
      line-height: 1.4;
      margin-bottom: 12px;
    }

    .document-status {
      margin-top: 9px;
      font-size: 13px;
      font-weight: bold;
    }

    .document-status.ok {
      color: #176b2c;
    }

    .document-status.error {
      color: #8b1e1e;
    }

    /* COMISIONES Y TALONARIOS */
    .commission-box {
      background: #111111;
      border: 2px solid #ffd400;
      color: #ffffff;
      border-radius: 20px;
      padding: 22px;
      margin: 18px 0;
      line-height: 1.55;
      box-shadow: 0 14px 34px rgba(0,0,0,0.16);
    }

    .commission-box p {
      color: #eeeeee;
      margin: 0;
    }

    .commission-box strong {
      color: #ffd400;
    }

    .commission-title {
      color: #ffd400;
      font-size: 19px;
      font-weight: 950;
      margin-bottom: 9px;
    }

    .commercial-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-bottom: 15px;
      margin-bottom: 16px;
      border-bottom: 1px solid rgba(255,212,0,0.32);
    }

    .commercial-brand-mark {
      width: 44px;
      height: 44px;
      min-width: 44px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      background: #ffd400;
      color: #111111;
      font-size: 27px;
      font-weight: 950;
      line-height: 1;
    }

    .commercial-brand-copy strong {
      display: block;
      color: #ffffff;
      font-size: 15px;
      font-weight: 950;
      letter-spacing: .02em;
    }

    .commercial-brand-copy span {
      display: block;
      color: #bdbdbd;
      font-size: 12px;
      margin-top: 2px;
    }

    .commercial-benefits {
      display: grid;
      gap: 10px;
      margin-top: 16px;
    }

    .commercial-benefit {
      background: #1b1b1b;
      border: 1px solid #2f2f2f;
      border-radius: 14px;
      padding: 13px 14px;
      color: #e7e7e7;
      font-size: 14px;
      line-height: 1.45;
    }

    .commercial-benefit strong {
      display: block;
      color: #ffd400;
      font-size: 14px;
      margin-bottom: 3px;
    }

    .accept-box {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 13px 14px;
      background: #f7f7f7;
      border: 1px solid #e5e5e5;
      border-radius: 13px;
      margin: 16px 0;
      line-height: 1.45;
      font-size: 14px;
    }

    .accept-box input {
      width: 18px;
      height: 18px;
      margin-top: 1px;
      flex: 0 0 auto;
      accent-color: #111111;
    }

    .price-book {
      border: 1px solid #e4e4e4;
      border-radius: 16px;
      overflow: hidden;
      margin: 16px 0;
      background: #ffffff;
    }

    .price-book summary {
      cursor: pointer;
      padding: 15px 17px;
      font-weight: 900;
      background: #111111;
      color: #ffffff;
      list-style: none;
    }

    .price-book summary::-webkit-details-marker {
      display: none;
    }

    .price-book-inner {
      padding: 12px;
      overflow-x: auto;
    }

    .price-table,
    .coverage-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    .price-table {
      min-width: 590px;
    }

    .price-table th,
    .price-table td,
    .coverage-table th,
    .coverage-table td {
      border-bottom: 1px solid #ececec;
      padding: 10px 8px;
      text-align: left;
    }

    .price-table th,
    .coverage-table th {
      background: #f5f5f5;
      font-size: 12px;
      text-transform: uppercase;
    }

    .price-table td:nth-child(n+2),
    .price-table th:nth-child(n+2),
    .coverage-table td:last-child,
    .coverage-table th:last-child {
      text-align: right;
      white-space: nowrap;
    }

    .coverage-note {
      background: #fff8d8;
      border: 1px solid #f2d45b;
      border-radius: 14px;
      padding: 14px;
      line-height: 1.5;
      margin-bottom: 16px;
      color: #4d4200;
    }

    /* CARRERAS */
    .ride-flow {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      margin: 18px 0;
    }

    .ride-flow-card {
      background: #f7f7f7;
      border: 1px solid #eeeeee;
      border-radius: 18px;
      padding: 20px 16px;
      line-height: 1.5;
    }

    .ride-flow-card .ride-icon {
      font-size: 32px;
      margin-bottom: 8px;
    }

    .ride-flow-card h3 {
      margin-bottom: 7px;
      font-size: 17px;
    }

    .ride-flow-card p {
      color: #666666;
      font-size: 14px;
    }

    /* PANEL PRIVADO */
    .private-panel-note {
      background: #f7f7f7;
      border-left: 4px solid #ffd400;
      border-radius: 12px;
      padding: 14px;
      color: #555555;
      line-height: 1.5;
      margin: 14px 0 18px;
    }

    .worker-service-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin: 18px 0;
    }

    .worker-service-card {
      background: #f7f7f7;
      border: 1px solid #e8e8e8;
      border-radius: 16px;
      padding: 17px;
    }

    .worker-service-card strong {
      display: block;
      margin-bottom: 6px;
    }

    .worker-service-active {
      color: #176b2c;
      font-weight: 800;
      font-size: 13px;
    }

    .status-panel {
      border: 2px solid #eeeeee;
      border-radius: 18px;
      padding: 18px;
      margin: 16px 0;
      background: #ffffff;
    }

    .status-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .live-status {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      border-radius: 999px;
      padding: 8px 12px;
      font-weight: 900;
      font-size: 13px;
      background: #f0f0f0;
      color: #555555;
    }

    .live-status.online {
      background: #e5f8ea;
      color: #176b2c;
      border: 1px solid #a9dfb8;
    }

    .live-status.offline {
      background: #f4f4f4;
      color: #666666;
      border: 1px solid #dddddd;
    }

    .status-action-button {
      border: none;
      border-radius: 999px;
      padding: 10px 15px;
      font-weight: 900;
      cursor: pointer;
    }

    .worker-status-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex-wrap: wrap;
    }

    .status-action-button.wallet {
      background: #111111;
      color: #ffd400;
      border: 1px solid #111111;
      font-size: 12px;
      padding: 9px 13px;
    }

    .status-action-button.start {
      background: #198754;
      color: #ffffff;
    }

    .status-action-button.stop {
      background: #c62828;
      color: #ffffff;
    }

    .service-toggle {
      margin-top: 12px;
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 10px 13px;
      font-weight: 900;
      cursor: pointer;
    }

    .service-toggle.on {
      background: #198754;
      color: #ffffff;
    }

    .service-toggle.off {
      background: #dddddd;
      color: #333333;
    }

    .worker-service-card.is-on {
      border-color: #a9dfb8;
      background: #f5fff7;
    }

    .worker-service-card.is-off {
      border-color: #e5e5e5;
      background: #fafafa;
    }

    .worker-active-delivery {
      margin: 18px 0;
      border: 2px solid #ffd400;
      border-radius: 18px;
      padding: 18px;
      background: #fffdf1;
    }

    .worker-active-delivery.is-empty {
      border-color: #e5e5e5;
      background: #fafafa;
    }

    .worker-active-delivery-title {
      font-size: 18px;
      font-weight: 900;
      margin-bottom: 8px;
    }

    .worker-active-delivery-phase {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      border-radius: 999px;
      padding: 8px 12px;
      background: #111111;
      color: #ffffff;
      font-size: 13px;
      font-weight: 900;
      margin-bottom: 14px;
    }

    .worker-navigation-target {
      border-radius: 14px;
      background: #ffffff;
      border: 1px solid #e8e8e8;
      padding: 14px;
      margin: 12px 0;
      line-height: 1.5;
    }

    .worker-navigation-target strong {
      display: block;
      margin-bottom: 5px;
    }

    .worker-navigation-reference {
      margin-top: 6px;
      color: #666666;
      font-size: 13px;
    }

    .worker-navigation-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 14px;
    }

    .worker-navigation-button {
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 12px 14px;
      font-weight: 900;
      cursor: pointer;
    }

    .worker-navigation-button.waze {
      background: #111111;
      color: #ffffff;
    }

    .worker-navigation-button.google {
      background: #ffd400;
      color: #111111;
    }

    .worker-delivery-progress-button {
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 12px 14px;
      margin-top: 12px;
      font-weight: 900;
      cursor: pointer;
      background: #198754;
      color: #ffffff;
    }

    .worker-delivery-refresh {
      width: 100%;
      border: 1px solid #dddddd;
      border-radius: 999px;
      padding: 10px 13px;
      margin-top: 10px;
      font-weight: 800;
      cursor: pointer;
      background: #ffffff;
      color: #333333;
    }

    .worker-navigation-warning {
      margin-top: 10px;
      padding: 10px 12px;
      border-radius: 12px;
      background: #fff3cd;
      color: #6b5700;
      font-size: 13px;
      line-height: 1.45;
    }

    .panel-actions-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 14px;
    }

    .panel-placeholder {
      background: #fff8d8;
      border: 1px solid #f2d45b;
      border-radius: 14px;
      padding: 14px;
      line-height: 1.5;
      color: #4d4200;
      margin-top: 14px;
    }



    /* ACTIVIDAD Y GANANCIAS DEL TRABAJADOR */
    .worker-metrics-panel {
      border: 1px solid #e6e6e6;
      border-radius: 18px;
      background: #ffffff;
      padding: 16px;
    }

    .worker-metrics-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .worker-metrics-updated {
      color: #777777;
      font-size: 12px;
      line-height: 1.35;
    }

    .worker-metrics-refresh {
      border: 1px solid #dedede;
      background: #f7f7f7;
      color: #111111;
      border-radius: 12px;
      padding: 9px 11px;
      font-weight: 850;
      cursor: pointer;
      white-space: nowrap;
    }

    .worker-metrics-refresh:disabled {
      opacity: .55;
      cursor: wait;
    }

    .worker-metrics-summary {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 16px;
    }

    .worker-metric-card {
      background: #fafafa;
      border: 1px solid #ededed;
      border-radius: 15px;
      padding: 13px;
      min-width: 0;
    }

    .worker-metric-card span {
      display: block;
      color: #777777;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.35;
      margin-bottom: 6px;
    }

    .worker-metric-card strong {
      display: block;
      color: #111111;
      font-size: 22px;
      font-weight: 950;
      line-height: 1.1;
    }

    .worker-metric-card small {
      display: block;
      color: #8a8a8a;
      font-size: 10px;
      margin-top: 5px;
    }

    .worker-metrics-periods {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      margin: 4px 0 12px;
    }

    .worker-metrics-period-button {
      border: 1px solid #dddddd;
      background: #ffffff;
      color: #333333;
      border-radius: 12px;
      padding: 9px 8px;
      font-weight: 900;
      cursor: pointer;
    }

    .worker-metrics-period-button.is-active {
      background: #111111;
      border-color: #111111;
      color: #ffffff;
    }

    .worker-money-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .worker-money-card {
      border-radius: 16px;
      padding: 15px;
      border: 1px solid #e8e8e8;
      background: #fafafa;
    }

    .worker-money-card span {
      display: block;
      color: #666666;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 6px;
      line-height: 1.35;
    }

    .worker-money-card strong {
      display: block;
      color: #111111;
      font-size: 21px;
      font-weight: 950;
    }

    .worker-money-card.net {
      background: #fff8d8;
      border-color: #f2d45b;
    }

    .worker-money-card.commission strong {
      color: #8a3b13;
    }

    .worker-metrics-note {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid #eeeeee;
      color: #666666;
      font-size: 12px;
      line-height: 1.5;
    }

    .worker-metrics-error {
      border: 1px solid #efcaca;
      background: #fff5f5;
      color: #8a1f1f;
      border-radius: 14px;
      padding: 13px;
      font-size: 13px;
      line-height: 1.45;
    }

    @media (max-width: 650px) {
      .worker-metrics-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .worker-money-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 420px) {
      .worker-metrics-toolbar {
        align-items: stretch;
        flex-direction: column;
      }

      .worker-metrics-refresh {
        width: 100%;
      }

      .worker-metrics-periods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    /* PANEL DE TRABAJO - ORGANIZADO */
    .worker-panel-content {
      max-width: 760px;
      padding: 0;
      overflow: hidden;
    }

    .worker-panel-content .close {
      top: 18px;
      right: 18px;
      z-index: 2;
    }

    .worker-panel-hero {
      background: #111111;
      color: #ffffff;
      padding: 28px 76px 24px 28px;
    }

    .worker-panel-hero h2 {
      margin: 0 0 5px;
      padding: 0;
      color: #ffffff;
      font-size: 27px;
    }

    .worker-panel-hero p {
      margin: 0;
      color: #cfcfcf;
      line-height: 1.45;
      font-size: 14px;
    }

    .worker-panel-body {
      padding: 22px 28px 28px;
    }

    .worker-section {
      margin-top: 22px;
    }

    .worker-section:first-child {
      margin-top: 0;
    }

    .worker-section-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .worker-section-heading strong {
      font-size: 15px;
      font-weight: 950;
      color: #111111;
    }

    .worker-section-heading span {
      color: #777777;
      font-size: 12px;
      font-weight: 750;
    }

    .worker-panel-content .private-panel-note {
      margin: 0 0 18px;
      border-radius: 14px;
      background: #fff8d8;
      border: 1px solid #f2d45b;
      color: #514500;
      line-height: 1.5;
    }

    .worker-panel-content .status-panel {
      margin: 0;
      border: 1px solid #e6e6e6;
      background: #fafafa;
      box-shadow: none;
    }

    .worker-panel-content .worker-service-grid {
      margin: 0;
    }

    .worker-panel-content .worker-service-card {
      min-height: 170px;
      display: flex;
      flex-direction: column;
    }

    .worker-panel-content .worker-service-card .service-toggle {
      margin-top: auto;
    }

    .worker-panel-content .worker-active-delivery {
      margin: 0;
    }

    .worker-panel-tools {
      border-top: 1px solid #ededed;
      padding-top: 18px;
    }

    .worker-panel-tools .panel-actions-grid {
      margin-top: 0;
    }

    @media (max-width: 560px) {
      .worker-panel-hero {
        padding: 25px 64px 22px 20px;
      }

      .worker-panel-body {
        padding: 18px 16px 22px;
      }

      .worker-panel-content .worker-service-grid,
      .worker-panel-tools .panel-actions-grid,
      .worker-navigation-grid {
        grid-template-columns: 1fr;
      }

      .worker-panel-content .status-panel-header {
        align-items: stretch;
      }

      .worker-panel-content .status-action-button {
        width: 100%;
      }
    }


    /* PANEL DEL NEGOCIO - ORGANIZADO */
    .business-panel-content {
      max-width: 760px;
      padding: 0;
      overflow: hidden;
    }

    .business-panel-content .close {
      top: 18px;
      right: 18px;
      z-index: 2;
    }

    .business-panel-hero {
      background: #111111;
      color: #ffffff;
      padding: 28px 76px 24px 28px;
    }

    .business-panel-hero h2 {
      margin: 0 0 5px;
      padding: 0;
      color: #ffffff;
      font-size: 27px;
    }

    .business-panel-hero p {
      margin: 0;
      color: #cfcfcf;
      line-height: 1.45;
      font-size: 14px;
    }

    .business-panel-body {
      padding: 22px 28px 28px;
    }

    .business-section {
      margin-top: 22px;
    }

    .business-section:first-child {
      margin-top: 0;
    }

    .business-section-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .business-section-heading strong {
      font-size: 15px;
      font-weight: 950;
      color: #111111;
    }

    .business-section-heading span {
      color: #777777;
      font-size: 12px;
      font-weight: 750;
    }

    .business-selector-card {
      border: 1px solid #e6e6e6;
      background: #fafafa;
      border-radius: 16px;
      padding: 16px;
      margin-bottom: 18px;
    }

    .business-selector-card label {
      display: block;
      font-weight: 900;
      margin-bottom: 8px;
    }

    .business-selector-card select {
      width: 100%;
    }

    .business-panel-content .status-panel {
      margin: 0;
      border: 1px solid #e6e6e6;
      background: #fafafa;
      box-shadow: none;
    }

    .business-operation-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .business-operation-card {
      border: 1px solid #e6e6e6;
      border-radius: 16px;
      background: #ffffff;
      padding: 16px;
    }

    .business-operation-card > strong,
    .business-operation-card > label {
      display: block;
      font-weight: 950;
      color: #111111;
      margin-bottom: 9px;
    }

    .business-operation-card select {
      width: 100%;
    }

    .business-panel-note {
      margin-top: 18px;
      border-radius: 14px;
      background: #fff8d8;
      border: 1px solid #f2d45b;
      color: #514500;
      padding: 14px 16px;
      line-height: 1.5;
      font-size: 13px;
    }

    @media (max-width: 560px) {
      .business-panel-hero {
        padding: 25px 64px 22px 20px;
      }

      .business-panel-body {
        padding: 18px 16px 22px;
      }

      .business-operation-grid {
        grid-template-columns: 1fr;
      }

      .business-panel-content .status-panel-header {
        align-items: stretch;
      }

      .business-panel-content .status-action-button {
        width: 100%;
      }
    }

    /* PANEL NEGOCIO */
    .business-panel-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin: 16px 0;
    }

    .business-panel-card {
      border: 1px solid #e5e5e5;
      border-radius: 16px;
      padding: 17px;
      background: #fafafa;
    }

    .business-panel-card label {
      display: block;
      font-weight: 900;
      margin-bottom: 8px;
    }

    .business-panel-card select {
      width: 100%;
      padding: 12px 13px;
      border: 2px solid #eeeeee;
      border-radius: 12px;
      background: #ffffff;
      outline: none;
    }

    .business-panel-card select:focus {
      border-color: #ffd400;
    }

    /* ADMIN */
    .admin-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .admin-summary {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .admin-chip {
      background: #f3f3f3;
      border: 1px solid #e5e5e5;
      border-radius: 999px;
      padding: 8px 13px;
      font-size: 13px;
      font-weight: bold;
    }

    .admin-chip.active-now {
      background: #e5f8ea;
      border-color: #a9dfb8;
      color: #176b2c;
    }

    .admin-breakdown {
      width: 100%;
      margin-top: 8px;
      color: #555555;
      font-size: 13px;
      line-height: 1.55;
    }

    .admin-tabs {
      display: flex;
      gap: 10px;
      margin: 0 0 18px;
      flex-wrap: wrap;
    }

    .admin-tab-button {
      border: 2px solid #111111;
      background: #ffffff;
      color: #111111;
      border-radius: 999px;
      padding: 11px 17px;
      font-weight: 900;
      cursor: pointer;
    }

    .admin-tab-button.active {
      background: #111111;
      color: #ffffff;
    }

    .admin-tab-panel {
      display: none;
    }

    .admin-tab-panel.active {
      display: block;
    }

    .admin-list {
      display: grid;
      gap: 18px;
    }

    .admin-card {
      border: 2px solid #eeeeee;
      border-radius: 20px;
      padding: 20px;
      background: #ffffff;
    }

    .admin-card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 15px;
      margin-bottom: 15px;
    }

    .admin-card-header h3 {
      font-size: 21px;
      margin-bottom: 5px;
    }

    .admin-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px 18px;
      background: #f8f8f8;
      border-radius: 14px;
      padding: 15px;
      margin-bottom: 16px;
    }

    .admin-meta div {
      word-break: break-word;
      font-size: 14px;
    }

    .admin-status {
      display: inline-block;
      border-radius: 999px;
      padding: 7px 11px;
      font-size: 12px;
      font-weight: bold;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .admin-status.pendiente {
      background: #fff4c7;
      color: #725700;
    }

    .admin-status.aprobado {
      background: #e5f8ea;
      color: #176b2c;
    }

    .admin-status.rechazado {
      background: #ffe5e5;
      color: #8b1e1e;
    }

    .active-mini-badge {
      display: inline-block;
      margin-top: 8px;
      border-radius: 999px;
      padding: 6px 10px;
      background: #e5f8ea;
      color: #176b2c;
      font-size: 12px;
      font-weight: 900;
    }

    .inactive-mini-badge {
      display: inline-block;
      margin-top: 8px;
      border-radius: 999px;
      padding: 6px 10px;
      background: #f2f2f2;
      color: #666666;
      font-size: 12px;
      font-weight: 900;
    }

    .admin-documents {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin: 12px 0 18px;
    }

    .admin-document {
      border: 1px solid #e5e5e5;
      border-radius: 14px;
      padding: 14px;
      background: #fafafa;
    }

    .admin-document h4 {
      margin-bottom: 7px;
      font-size: 15px;
    }

    .admin-document p {
      color: #555555;
      font-size: 13px;
      line-height: 1.5;
      margin-bottom: 9px;
    }

    .admin-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .approve-button,
    .reject-button,
    .view-document-button {
      border: none;
      border-radius: 999px;
      padding: 11px 16px;
      font-weight: bold;
      cursor: pointer;
    }

    .approve-button {
      background: #198754;
      color: #ffffff;
    }

    .reject-button {
      background: #c62828;
      color: #ffffff;
    }

    .view-document-button {
      background: #111111;
      color: #ffffff;
    }

    .admin-empty {
      text-align: center;
      padding: 35px 20px;
      color: #666666;
      background: #f8f8f8;
      border-radius: 16px;
    }

    @media (max-width: 850px) {
      header {
        grid-template-columns: 1fr auto;
        gap: 10px 12px;
        padding: 11px 5%;
      }

      header .logo {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
      }

      .header-actions {
        grid-column: 2;
        grid-row: 1;
        min-width: 150px;
        gap: 6px;
      }

      .header-actions .login {
        width: 100%;
        min-width: 0;
      }

      .header-coverage {
        width: 100%;
        padding: 7px 9px;
        border-radius: 11px;
      }

      .header-coverage strong,
      .header-coverage b {
        display: block;
        margin: 0;
      }

      .header-coverage strong {
        font-size: 11px;
      }

      .header-coverage span {
        display: none;
      }

      .header-coverage b {
        margin-top: 2px;
        font-size: 10px;
      }

      .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
      }

      .logo img {
        width: 145px;
      }

      .cards {
        grid-template-columns: repeat(2, 1fr);
      }

      .work-cards,
      .payment-grid,
      .ride-flow,
      .worker-service-grid,
      .worker-navigation-grid,
      .business-panel-grid,
      .panel-actions-grid {
        grid-template-columns: 1fr;
      }

      .modal-content {
        padding: 30px 22px;
      }
    }

    @media (max-width: 600px) {
      .vehicle-fields,
      .admin-meta,
      .admin-documents {
        grid-template-columns: 1fr;
      }

      .admin-card-header {
        flex-direction: column;
      }

      .header-coverage span {
        display: none;
      }

      .header-coverage strong {
        font-size: 12px;
      }
    }


  /* =========================================================
     MASTER 2026-08-13: SOPORTE + CATÁLOGO + MEDIA NEGOCIOS
     ========================================================= */
  .master-support-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 2500;
    border: 0; border-radius: 999px; padding: 13px 18px;
    background: #111; color: #fff; font-weight: 800; cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.22); display:none;
  }
  .master-support-fab.has-unread::after {
    content:""; width:11px; height:11px; border-radius:50%; background:#ff3b30;
    position:absolute; top:4px; right:6px; border:2px solid #fff;
  }
  .master-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
  .master-card { border:1px solid #e5e5e5; border-radius:16px; padding:14px; background:#fff; }
  .master-media-preview { width:92px; height:92px; border-radius:18px; object-fit:cover; background:#f3f3f3; border:1px solid #ddd; }
  .master-product-row { display:grid; grid-template-columns:90px 1fr; gap:14px; border:1px solid #e5e5e5; border-radius:16px; padding:12px; margin:12px 0; }
  .master-product-photo { width:90px; height:90px; object-fit:cover; border-radius:14px; background:#f3f3f3; border:1px solid #ddd; }
  .master-product-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .master-product-fields .full { grid-column:1/-1; }
  .master-product-fields input,.master-product-fields textarea,.master-product-fields select,
  .master-support-layout input,.master-support-layout textarea,.master-support-layout select,
  .master-checkout input,.master-checkout textarea,.master-checkout select { width:100%; padding:10px; border:1px solid #ccc; border-radius:10px; background:#fff; }
  .master-support-layout { display:grid; grid-template-columns:minmax(220px,320px) 1fr; gap:14px; min-height:430px; }
  .master-support-list { border:1px solid #e5e5e5; border-radius:14px; overflow:auto; max-height:520px; }
  .master-support-item { padding:12px; border-bottom:1px solid #eee; cursor:pointer; }
  .master-support-item.active { background:#fff4b8; }
  .master-support-item.unread { font-weight:800; }
  .master-support-chat { border:1px solid #e5e5e5; border-radius:14px; padding:12px; display:flex; flex-direction:column; min-height:430px; }
  .master-support-messages { flex:1; overflow:auto; max-height:340px; padding:4px; }
  .master-msg { max-width:82%; padding:9px 11px; border-radius:13px; margin:7px 0; background:#f1f1f1; }
  .master-msg.mine { margin-left:auto; background:#ffe25b; }
  .master-msg small { display:block; opacity:.65; margin-top:4px; }
  .master-catalog-business { border:1px solid #e5e5e5; border-radius:18px; padding:14px; margin:12px 0; }
  .master-business-head { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
  .master-business-logo { width:64px; height:64px; border-radius:16px; object-fit:cover; background:#111; }
  .master-product-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; }
  .master-catalog-product { border:1px solid #eee; border-radius:15px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
  .master-catalog-product img { width:100%; height:145px; object-fit:cover; background:#f2f2f2; }
  .master-catalog-product .body { padding:10px; display:flex; flex-direction:column; gap:6px; flex:1; }
  .master-cart-bar {
    position: fixed;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 1200;
    width: min(92vw, 540px);
    margin: 0;
    padding: 12px 14px;
    border: 2px solid #ffd400;
    border-radius: 16px;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 38px rgba(0,0,0,.38);
  }
  .master-cart-bar button {
    background: #ffd400;
    color: #111;
    border: 0;
    border-radius: 12px;
    padding: 11px 15px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
  }
  #serviceModalBody {
    padding-bottom: 94px;
  }
  @media (max-width: 560px) {
    .master-cart-bar {
      width: calc(100vw - 24px);
      padding: 11px 12px;
    }
    .master-cart-bar button {
      padding: 10px 12px;
      font-size: 13px;
    }
  }
  .master-checkout-summary { border:1px solid #e5e5e5; border-radius:14px; padding:12px; margin:12px 0; }
  .master-status-ok { color:#087a2f; font-weight:800; }
  .master-status-warn { color:#a05a00; font-weight:800; }
  .master-location-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .master-location-grid .full { grid-column:1/-1; }
  .master-location-help { font-size:13px; line-height:1.45; color:#444; margin:6px 0 10px; }
  .master-location-detected { border:1px solid #cfe8d5; background:#f3fff6; border-radius:12px; padding:10px; }
  .master-location-manual { border:1px solid #ffe08a; background:#fffaf0; border-radius:12px; padding:10px; }
  .master-location-switch { border:0; background:transparent; padding:6px 0; text-decoration:underline; cursor:pointer; font-weight:700; color:#333; }
  #checkoutMasterCalculate { margin-top:10px; }
  #checkoutMasterConfirm:disabled,#checkoutMasterCalculate:disabled { opacity:.55; cursor:not-allowed; }
  @media (max-width:560px){ .master-location-grid { grid-template-columns:1fr; } .master-location-grid .full { grid-column:auto; } }
  @media (max-width:760px){
    .master-support-layout { grid-template-columns:1fr; }
    .master-product-row { grid-template-columns:1fr; }
    .master-product-fields { grid-template-columns:1fr; }
    .master-product-fields .full { grid-column:auto; }
  }
