/* ALVISA: composición editorial, fotografía de ruta y detalles de marca. */
.units-heading, .unit-detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 25px 0; }
.units-heading h2 { font-size: 24px; margin: 0; }
.units-heading p, .unit-form > p { color: #68666a; line-height: 1.7; }
.admin-unit-row { display: flex; align-items: center; gap: 22px; border-top: 1px solid #e5dedd; padding: 24px 0; }
.admin-unit-row > img, .unit-no-photo { width: 140px; height: 100px; object-fit: cover; border-radius: 8px; }
.unit-no-photo { display: grid; place-items: center; background: #f3eeeb; color: #68666a; font-size: 12px; }
.admin-unit-row > div { flex: 1; min-width: 0; }
.admin-unit-row h3 { margin: 10px 0; overflow-wrap: anywhere; }
.admin-unit-row p { color: #68666a; font-size: 13px; }
.admin-unit-row form { padding: 0; background: none; border: 0; }
.unit-status { display: inline-block; font-size: 11px; font-weight: 700; background: #f8e7e5; color: #9e242c; padding: 6px 10px; border-radius: 5px; }
.unit-actions { display: flex; gap: 18px; font-size: 13px; color: #a4262e; font-weight: 700; }
.unit-secondary { border: 1px solid #d8cecb; padding: 10px 14px; border-radius: 5px; background: white; cursor: pointer; }
.unit-empty { padding: 28px; background: #f8f4f2; border-radius: 8px; line-height: 1.8; }
.unit-form { padding: 0; border: 0; background: none; }
.unit-form h2 { font-size: 23px; margin: 28px 0 16px; }
.unit-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 25px 0 35px; }
.unit-fields label { display: flex; flex-direction: column; gap: 9px; font-size: 13px; font-weight: 600; }
.unit-fields input, .unit-fields select, .unit-fields textarea { width: 100%; padding: 12px; border: 1px solid #c7bdb9; border-radius: 6px; font-size: 16px; background: #fffdfc; }
.unit-full { grid-column: 1 / -1; }
.unit-fields textarea { resize: vertical; }
.unit-edit-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.unit-edit-photos label { display: block; font-size: 12px; }
.unit-edit-photos img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.unit-edit-photos input, .unit-publish input { width: auto; }
.unit-form input[type=file] { display: block; max-width: 100%; padding: 16px 0; font-size: 14px; }
.unit-publish { margin: 25px 0; padding: 20px; background: #f8f4f2; border-radius: 8px; }
.unit-publish label { font-weight: 600; }
.unit-publish p { font-size: 12px; line-height: 1.8; margin-bottom: 0; }
.public-units-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin: 40px 0; }
.public-unit-card { border: 1px solid #e5dedd; border-radius: 12px; overflow: hidden; background: white; }
.public-unit-card img { display: block; width: 100%; height: 230px; object-fit: cover; }
.public-unit-body { padding: 26px; overflow-wrap: anywhere; }
.public-unit-body h2 { font-size: 24px; margin: 16px 0; }
.public-unit-body p { color: #68666a; font-size: 14px; line-height: 1.8; }
.public-unit-body .unit-capacity { color: #9e242c; font-weight: 600; }
.unit-detail-heading { margin: 35px 0; }
.unit-detail-heading .eyebrow { margin-bottom: 15px; }
.unit-detail-heading h1 { overflow-wrap: anywhere; }
.unit-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 45px; }
.unit-gallery a:first-child { grid-column: 1 / -1; }
.unit-gallery img { display: block; width: 100%; height: 210px; object-fit: cover; border-radius: 10px; }
.unit-gallery a:first-child img { height: min(55vw,580px); object-fit: contain; background: #f3eeeb; }
.unit-detail-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 50px; }
.unit-multiline { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.9; color: #68666a; }
.unit-specs { background: #f8f4f2; border-top: 3px solid #bc3038; padding: 28px; border-radius: 8px; }
.unit-specs dl > div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e5dedd; padding: 14px 0; font-size: 14px; }
.unit-specs dt { color: #68666a; }
.unit-specs dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
@media(max-width: 1000px) { .public-units-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 760px) {
  .public-units-grid, .unit-detail-grid, .unit-fields { grid-template-columns: 1fr; }
  .unit-full { grid-column: auto; }
  .admin-unit-row { flex-wrap: wrap; gap: 16px; }
  .admin-unit-row > img { width: 100px; height: 85px; }
  .unit-gallery, .unit-edit-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .unit-gallery img { height: 140px; }
  .unit-detail-grid { gap: 28px; }
}
body { background: #fffdfb; }
.topbar { background: #262b30; letter-spacing: 1.2px; }
header { border-bottom: 1px solid #ebe5e2; }
.nav { height: 100px; }
.logo-window { width: 235px; height: 79px; }
.button { border-radius: 5px; padding: 18px 24px; letter-spacing: .15px; }
.button.small { padding: 15px 20px; }
.hero-premium { min-height: 655px; background: #f8f3ed; color: #262b30; }
.hero-premium .hero-photo {
  inset: 0 0 0 27%;
  background-image: url('../img/alvisa-highway-hero-v1.webp');
  background-position: 64% center;
}
.hero-premium::after {
  background: linear-gradient(90deg, #faf7f2 0%, #faf7f2 22%, #faf7f2f5 33%, #faf7f2c9 43%, #faf7f235 61%, #262b3000 76%);
}
.hero-premium::before {
  content: ''; position: absolute; bottom: 0; right: 0; width: 38%; height: 9px;
  background: #bc3038; clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-premium .hero-content { position: relative; padding-top: 92px; padding-bottom: 84px; }
.hero-premium .eyebrow { color: #9e242c; font-size: 10px; letter-spacing: 1.8px; }
.hero-premium .eyebrow i { background: #bc3038; }
.hero-premium h1 {
  max-width: 600px; font-family: 'Manrope', sans-serif;
  font-size: clamp(44px, 4.45vw, 64px); font-weight: 800;
  letter-spacing: -2.8px; line-height: 1.12; margin-top: 26px; margin-bottom: 25px;
}
.hero-premium h1 em { color: #b52630; }
.hero-premium .hero-content > p { color: #5d5757; max-width: 410px; font-size: 15px; line-height: 1.85; }
.hero-premium .hero-actions { gap: 23px; max-width: 560px; }
.hero-premium .text-link { color: #333135; }
.hero-premium .hero-note { color: #655c5b; margin-top: 40px; font-size: 10px; }
.hero-premium .hero-note span { color: #9e242c; font-weight: 700; }
.hero-premium .photo-label {
  display: flex; flex-direction: column; gap: 8px; right: 5%; bottom: 55px;
  color: white; padding: 18px 24px; border-left: 2px solid #e14a51;
  background: #262b30d9; backdrop-filter: blur(10px); font-size: 17px; letter-spacing: 0;
}
.hero-premium .photo-label span { font-size: 9px; letter-spacing: 2px; color: #ffd2d3; }
.hero-image-note { position: absolute; right: 20px; bottom: 18px; color: white; font-size: 9px; text-shadow: 0 1px 4px #000; }
.value-strip { padding: 35px 0; border-bottom: 1px solid #e8dfda; }
.value-strip > div > span { color: #bc3038; }
.value-strip p { font-weight: 700; }
.value-strip small { font-weight: 400; }
.section { padding-top: 84px; padding-bottom: 84px; }
h2 { font-family: 'Manrope', sans-serif; font-weight: 700; letter-spacing: -1.2px; }
.service-explorer { margin-top: 70px; margin-bottom: 20px; }
.explorer-options { gap: 12px; }
.explorer-option { border-radius: 8px 8px 0 0; }
.explorer-panel { border-radius: 0 0 12px 12px; box-shadow: 0 14px 40px #262b3006; }
.home-service-link { background: white; padding: 32px; border-radius: 10px; border: 1px solid #e7dfda; border-top: 3px solid #bc3038; }
.home-service-link h3 { font-family: 'Manrope', sans-serif; font-size: 23px; letter-spacing: -.7px; }
.home-service-link:hover { border-color: #d9acae; box-shadow: 0 18px 36px #262b300c; }
.service-action { color: #a4262e; font-weight: 700; }
.faq { max-width: 960px; }
.faq details { padding: 24px 0; }
.home-contact { background: #f5eae6; padding: 60px 0; }
footer { background: #f6f3f0; }
.admin-card { border-radius: 12px; }
@media (max-width: 1100px) {
  .logo-window { width: 195px; }
  .hero-premium h1 { max-width: 500px; font-size: 52px; }
  .hero-premium .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-premium .hero-content { padding-top: 70px; padding-bottom: 64px; }
}
@media (max-width: 760px) {
  .nav { height: 82px; }
  .logo-window { width: 205px; height: 68px; }
  .hero-premium { min-height: auto; padding-bottom: 0; }
  .hero-premium .hero-content { padding-top: 45px; padding-bottom: 35px; }
  .hero-premium .hero-photo { position: relative; inset: auto; height: 290px; width: 100%; background-position: 72% center; z-index: 0; }
  .hero-premium { display: flex; flex-direction: column; }
  .hero-premium .hero-content { order: -1; }
  .hero-premium::after { display: none; }
  .hero-premium::before { z-index: 2; width: 60%; height: 6px; }
  .hero-premium h1 { font-size: clamp(35px, 8.8vw, 54px); letter-spacing: -1.6px; max-width: 100%; margin-top: 22px; }
  .hero-premium .hero-content > p { max-width: 100%; font-size: 14px; }
  .hero-premium .hero-actions { gap: 22px; margin-top: 26px; }
  .hero-premium .hero-note { margin-top: 30px; line-height: 1.7; }
  .hero-premium .photo-label { bottom: 40px; right: 20px; font-size: 14px; padding: 14px 18px; z-index: 1; }
  .hero-image-note { z-index: 1; bottom: 14px; }
  .value-strip { padding: 25px 0; }
  .section { padding-top: 55px; padding-bottom: 55px; }
  .service-explorer { margin-top: 45px; }
  .explorer-options { gap: 5px; }
  .home-service-link { padding: 26px; }
  .home-contact { padding: 45px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-service-link:hover { transform: none; }
}

/* Cat?logo de flota: fotograf?a protagonista y ficha comercial compacta. */
.public-units-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; align-items: stretch; }
.public-unit-card { display: flex; flex-direction: column; border-color: #e9e3df; border-radius: 18px; box-shadow: 0 8px 28px #262b3007; transition: box-shadow .2s, border-color .2s; }
.public-unit-card:hover { border-color: #d8b3b3; box-shadow: 0 16px 40px #262b3012; }
.unit-card-photo { display: block; position: relative; overflow: hidden; background: #f0ece8; }
.public-unit-card .unit-card-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.public-unit-card:hover .unit-card-photo img { transform: scale(1.025); }
.unit-card-category { position: absolute; left: 20px; top: 20px; padding: 9px 13px; background: #fffffff2; color: #8c2028; font-size: 11px; font-weight: 700; border-radius: 6px; box-shadow: 0 2px 10px #262b3010; }
.unit-photo-count { position: absolute; right: 18px; bottom: 18px; background: #262b30e8; color: white; padding: 7px 11px; font-size: 11px; border-radius: 5px; }
.public-unit-body { flex: 1; display: flex; flex-direction: column; padding: 28px 30px 26px; }
.public-unit-body .unit-card-model { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .7px; color: #777074; }
.public-unit-body h2 { font-family: 'Manrope',sans-serif; font-size: clamp(23px,2.4vw,29px); font-weight: 700; letter-spacing: -.8px; line-height: 1.25; margin: 0 0 18px; }
.public-unit-body .unit-capacity { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; color: #8c2028; background: #fbefed; border: 1px solid #f1deda; padding: 8px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.public-unit-body .unit-card-description { color: #6a6365; line-height: 1.8; font-size: 14px; margin: 18px 0 25px; }
.unit-card-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; border-top: 1px solid #eee7e3; padding-top: 22px; margin-top: auto; }
.unit-card-actions .button { padding: 13px 18px; font-size: 12px; gap: 30px; }
.unit-card-quote { color: #555055; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #c9b8b7; }
.unit-card-quote:hover { color: #a4262e; }
@media(min-width: 1400px) { .public-units-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; } }
@media(max-width: 760px) {
 .public-units-grid { grid-template-columns: 1fr; gap: 26px; }
 .public-unit-body { padding: 24px; }
 .unit-card-category { left: 14px; top: 14px; font-size: 10px; }
}
@media(prefers-reduced-motion: reduce) { .public-unit-card:hover .unit-card-photo img { transform: none; } }

/* Cotizaci?n guiada por tipo de operaci?n. */
.quote { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: 65px; }
.quote-form-premium { border: 1px solid #e8dfda; border-top: 4px solid #bc3038; border-radius: 16px; padding: 34px; background: #fff; box-shadow: 0 18px 50px #262b3008; }
.quote-form-heading h2 { font-size: 27px; margin: 14px 0 12px; letter-spacing: -.8px; }
.quote-form-heading .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
.quote-form-premium .form-subtitle { font-size: 14px; line-height: 1.8; margin-bottom: 22px; }
.quote-form-premium input, .quote-form-premium select, .quote-form-premium textarea { border-radius: 7px; border-color: #d9cfca; padding: 12px 13px; background: #fffdfc; font-size: 16px; min-height: 48px; }
.quote-form-premium input:hover, .quote-form-premium select:hover, .quote-form-premium textarea:hover { border-color: #ad9695; }
.quote-form-premium label { font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.quote-form-premium .form-grid { gap: 20px 18px; margin-top: 18px; }
.quote-form-premium .quote-field-wide { grid-column: 1 / -1; }
.quote-service-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 13px; }
.quote-service-options[hidden] { display: none; }
.quote-service-options button { min-width: 0; padding: 13px 10px; border: 1px solid #e5dedd; border-radius: 8px; background: #fff; color: #4c4447; text-align: left; font-size: 14px; font-weight: 700; cursor: pointer; }
.quote-service-options button > span { display: block; font-size: 10px; color: #9e242c; margin-bottom: 9px; }
.quote-service-options small { display: block; font-size: 12px; font-weight: 400; line-height: 1.5; margin-top: 6px; }
.quote-service-options button[aria-pressed=true] { border-color: #bc3038; background: #fbefed; box-shadow: inset 0 0 0 1px #bc3038; color: #8c2028; }
.quote-service-help { background: #f8f4f2; padding: 14px 16px; border-radius: 7px; font-size: 14px; line-height: 1.7; color: #554c4e; margin: 16px 0 30px; }
.quote-form-premium .quote-section { border: 0; border-top: 1px solid #e9e1dc; border-radius: 0; padding: 24px 0 4px; margin: 26px 0; min-width: 0; }
.quote-section legend { font-size: 14px; font-weight: 700; padding: 0 12px 0 0; letter-spacing: -.2px; color: #262b30; }
.quote-section legend > span { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 7px; border-radius: 50%; background: #fbefed; color: #9e242c; font-size: 10px; }
.quote-form-premium .caption { font-size: 14px; line-height: 1.7; color: #554c4e; }
.quote-form-premium .privacy { padding: 15px 0; font-size: 14px; color: #554c4e; line-height: 1.8; }
.quote-form-premium .submit { width: 100%; border-radius: 7px; font-size: 15px; }
.quote-form-premium [hidden] { display: none !important; }
.quote-form-premium #form-status:not(:empty) { padding: 14px; background: #f8f4f2; border-radius: 7px; line-height: 1.8; }
@media(max-width: 1050px) { .quote { grid-template-columns: 1fr; gap: 35px; } .quote-intro { max-width: 650px; } }
@media(max-width: 760px) {
 .quote-form-premium { padding: 25px 20px; }
 .quote-form-premium input, .quote-form-premium select, .quote-form-premium textarea { font-size: 16px; }
 .quote-form-premium .form-grid { grid-template-columns: 1fr; gap: 18px; }
 .quote-form-premium .quote-field-wide { grid-column: auto; }
 .quote-service-options { gap: 6px; }
 .quote-service-options button { padding: 14px 12px; font-size: 14px; }
 .quote-service-options small { font-size: 12px; }
 .quote-form-heading h2 { font-size: 24px; }
}

/* Courier y cuatro opciones de servicio. */
.services, .home-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.services .custom-service { grid-column: auto; }
.quote-service-options { grid-template-columns: repeat(4,minmax(0,1fr)); }
.explorer-options { grid-template-columns: repeat(4,minmax(0,1fr)); }
@media(max-width:760px) { .services, .home-service-grid { grid-template-columns: 1fr; } .quote-service-options, .explorer-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* Gesti?n de solicitudes y clientes. */
.admin-shell:has(.crm-row), .admin-shell:has(.crm-request) { max-width: 1100px; }
.admin-nav { gap: 18px; font-size: 13px; }
.crm-shortcuts, .crm-toolbar, .crm-pages { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin: 24px 0; }
.crm-shortcuts .button { flex: 1; }
.crm-filter { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; padding: 18px; background: #f8f4f2; border: 1px solid #e8dfda; border-radius: 8px; margin: 24px 0; }
.crm-filter label { flex: 1; min-width: 180px; font-size: 12px; }
.crm-filter input, .crm-filter select { display: block; width: 100%; min-height: 44px; border-radius: 5px; border: 1px solid #cfc3bf; padding: 10px; background: white; margin-top: 9px; font-size: 16px; }
.crm-row { display: flex; gap: 24px; justify-content: space-between; align-items: center; border-top: 1px solid #e5dedd; padding: 24px 0; overflow-wrap: anywhere; }
.crm-row h2 { font-size: 21px; margin: 14px 0; }
.crm-row h3 { font-size: 17px; }
.crm-row p { font-size: 13px; line-height: 1.8; }
.crm-request { background: #f8f4f2; padding: 22px; border-radius: 9px; margin: 30px 0; }
.crm-request summary { font-weight: 700; cursor: pointer; }
.crm-data > div { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid #e5dedd; font-size: 13px; line-height: 1.8; }
.crm-data dt { color: #68666a; }
.crm-data dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.crm-timeline { margin-top: 24px; }
.crm-timeline article { border-left: 2px solid #bc3038; padding: 0 0 22px 22px; margin-left: 6px; }
.crm-change { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; max-height: 180px; overflow: auto; }
.quote-form-premium .crm-toolbar { align-items: stretch; }
.quote-form-premium .crm-toolbar .button { flex: 1; font-size: 11px; justify-content: center; }
@media(max-width:760px) { .crm-data > div { grid-template-columns: 1fr; gap: 4px; } .crm-row { flex-direction: column; align-items: flex-start; gap: 8px; } .crm-toolbar .button { width: 100%; } }

.admin-shell h1 { overflow-wrap: anywhere; }
.error-card { margin-top: 30px; }
.error-card p { line-height: 1.8; }

/* Alinear los controles del filtro, sin el margen global de los selectores. */
.crm-filter { align-items: flex-end; }
.crm-filter label { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.crm-filter input, .crm-filter select { height: 46px; min-height: 46px; margin: 0; }
.crm-filter > .button { height: 46px; min-height: 46px; margin: 0; padding: 12px 22px; }
@media (max-width: 600px) {
  .crm-filter { flex-direction: column; align-items: stretch; }
  .crm-filter label { min-width: 0; width: 100%; }
  .crm-filter > .button { justify-content: center; }
}

/* Operaciones, agenda, avisos y respaldos. */
.admin-nav { display: flex; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid #eadfda; border-bottom: 1px solid #eadfda; gap: 12px 20px; }
.admin-shell:has(.calendar-grid) { max-width: 1280px; }
.admin-shell:has(.calendar-grid) .admin-card { padding: 28px; }
.notice-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 12px; background: #bc3038; color: white; font-size: 10px; }
.inline-checkbox { width: auto; min-height: 0; vertical-align: middle; margin-right: 8px; }
.calendar-scroll { overflow-x: auto; margin: 24px 0 40px; }
.calendar-grid { width: 100%; min-width: 700px; table-layout: fixed; border-collapse: collapse; }
.calendar-grid th { padding: 14px 5px; background: #262b30; color: white; font-size: 12px; }
.calendar-grid td { vertical-align: top; height: 120px; padding: 9px 6px; border: 1px solid #e8dfda; font-size: 12px; }
.calendar-grid caption { text-align: left; padding: 12px 0; }
.calendar-grid .calendar-muted { background: #f5f2ef; color: #8d8587; }
.calendar-grid .calendar-today { box-shadow: inset 0 3px 0 #bc3038; }
.calendar-event { display: block; border-left: 2px solid #bc3038; background: #fbefed; margin-top: 8px; padding: 8px; border-radius: 3px; font-size: 10px; color: #6e252c; overflow-wrap: anywhere; line-height: 1.5; }
.calendar-event small { display: block; margin-top: 3px; }
.calendar-cancelled { opacity: .6; text-decoration: line-through; border-color: #7d7374; background: #ece8e5; }
.operation-section { border-top: 1px solid #e8dfda; padding-top: 24px; margin-top: 32px; }
.tracking-page { max-width: 860px; }
.tracking-current { background: #f8eeea; border-left: 4px solid #bc3038; border-radius: 10px; padding: 28px; margin: 32px 0; }
.tracking-current h2 { font-size: 28px; margin: 14px 0; }
.tracking-page p { line-height: 1.8; overflow-wrap: anywhere; }
.backup-name { font-size: 14px; overflow-wrap: anywhere; }
@media(max-width:760px) { .admin-shell:has(.calendar-grid) .admin-card { padding: 18px; } .admin-nav { font-size: 12px; gap: 10px 16px; } }

/* Detalle comercial de cotizaciones. */
.quote-document-editor { border: 1px solid #e5dedd; border-radius: 10px; padding: 22px; margin: 26px 0; }
.quote-document-editor legend { color: #a4262e; }
.quote-document-editor .unit-fields select { margin-bottom: 0; }
.quote-item-fields { margin: 20px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid #e5dedd; }
.quote-item-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; border: 1px solid #e5dedd; border-left: 3px solid #bc3038; background: #fffdfc; padding: 18px; border-radius: 7px; margin-bottom: 16px; }
.quote-item-row label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.quote-item-row .quote-item-description { grid-column: span 2; }
.quote-item-row input, .quote-item-row textarea { width: 100%; font-size: 16px; border-radius: 5px; padding: 10px; }
.quote-item-row .remove-quote-item { grid-column: 1 / -1; justify-self: end; font-size: 12px; }
.quote-document-editor[disabled] { opacity: .8; }
@media(max-width:760px) { .quote-document-editor { padding: 16px; } .quote-item-row { grid-template-columns: 1fr; } .quote-item-row .quote-item-description { grid-column: auto; } }

/* Indicadores, equipo y área del conductor. */
.admin-shell:has(.metric-grid), .admin-shell:has(.report-table) { max-width: 1280px; }
.metric-grid, .role-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 16px; margin: 24px 0; }
.metric-grid article, .role-grid article, .trip-card { border: 1px solid #e5dedd; border-radius: 10px; padding: 24px; background: #fffdfc; min-width: 0; }
.metric-grid span { display: block; font-size: 13px; line-height: 1.6; color: #61575a; }
.metric-grid strong { display: block; margin-top: 12px; font-size: clamp(24px,2.4vw,34px); color: #92232d; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.role-grid h2 { font-size: 19px; letter-spacing: -.3px; }
.role-grid p, .trip-card p { font-size: 14px; line-height: 1.8; }
.status-summary, .report-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.status-summary > span { padding: 10px 14px; border-radius: 6px; background: #f8f4f2; font-size: 13px; }
.status-summary strong { margin-left: 8px; }
.report-tabs a { padding: 12px 16px; border: 1px solid #e5dedd; border-radius: 6px; font-size: 14px; }
.report-tabs a[aria-current] { background: #262b30; border-color: #262b30; color: #fff; }
.report-scroll { overflow-x: auto; max-width: 100%; border: 1px solid #e5dedd; border-radius: 8px; }
.report-table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 13px; line-height: 1.6; }
.report-table th, .report-table td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid #e5dedd; max-width: 280px; overflow-wrap: anywhere; }
.report-table th { background: #262b30; color: white; }
.report-table caption { text-align: left; padding: 14px 16px; }
.report-table tbody tr:nth-child(even) { background: #f8f4f2; }
.trip-card { margin: 22px 0; overflow-wrap: anywhere; }
.trip-card h2 { font-size: 23px; line-height: 1.4; }
.unit-form input[type=file] { max-width: 100%; }
@media(max-width:600px) { .metric-grid, .role-grid { grid-template-columns: 1fr; } .trip-card { padding: 18px; } .report-tabs a { flex: 1; text-align: center; } }

/* Lectura y acompanamiento del formulario en pantallas amplias. */
.quote-intro > p { max-width: 390px; font-size: 16px; color: #554c4e; }
.quote-detail strong { font-size: 15px; }
.quote-detail p { font-size: 14px; line-height: 1.7; color: #554c4e; }
.quote-form-premium input::placeholder,
.quote-form-premium textarea::placeholder { color: #716568; opacity: 1; }
.quote-form-premium :is(input, select, textarea, button, a):focus-visible {
  outline: 3px solid #92232d;
  outline-offset: 3px;
}
.quote-form-premium :is(input, select, textarea, button) { scroll-margin-top: 125px; }
@media (min-width: 1051px) and (min-height: 800px) {
  .quote-intro { position: sticky; top: 124px; padding-top: 0; }
}
@media (min-width: 761px) and (max-width: 1200px) {
  .quote-service-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer-main > p, .company-contact { font-size: 15px; line-height: 1.8; }
.business-hours { font-size: 14px; }
.footer-bottom { font-size: 12px; line-height: 1.7; flex-wrap: wrap; }
.hero-premium .hero-note { font-size: 12px; line-height: 1.7; }
.value-strip small { font-size: 13px; line-height: 1.7; }
