/* Interfaz compartida de trabajador y administrador. Los colores mantienen la marca del PDF. */
:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #193c31;
  background: #f4f5ef;
  font-synthesis: none;
  --green: #164b3b;
  --accent: #d9eea4;
  --muted: #738279;
  --line: #e4e9df;
  --paper: #fff;
  --danger: #a93434;
  --tg-top: 0px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b2d46e;
  outline-offset: 3px;
}
button,
input,
select,
textarea {
  touch-action: manipulation;
}
input,
select,
textarea {
  color: #193c31;
  min-width: 0;
}
a {
  color: var(--green);
}
[hidden] {
  display: none !important;
}
.brandbar {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1080px;
  margin: auto;
  padding: 16px 30px;
  border-bottom: 1px solid var(--line);
}
.brandmark {
  width: 43px;
  height: 43px;
  background: var(--green);
  color: var(--accent);
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.brandmark svg {
  width: 31px;
  height: 31px;
}
.brandcopy {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 800;
  line-height: 1.5;
}
.brandcopy span {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--muted);
}
.brandbadge {
  margin-left: auto;
  font-size: 11px;
  background: #e7ece1;
  border-radius: 50px;
  padding: 7px 11px;
  color: #4c6658;
  font-weight: 600;
}
main {
  max-width: 1020px;
  margin: auto;
  padding: 30px 0 10px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #7b8c6c;
  margin: 0 0 8px;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 0 0 10px;
  font-weight: 750;
}
h2 {
  font-size: 17px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
  margin: 0 0 12px;
}
p {
  line-height: 1.55;
}
.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.hero {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin-bottom: 24px;
}
.hero-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #71816a;
  white-space: nowrap;
}
.dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #78a34c;
  display: inline-block;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 22px;
  align-items: start;
}
.form-stack {
  display: grid;
  gap: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.card-head {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 20px;
}
.step-no {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  height: 27px;
  background: #eff3e8;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  color: #6e805c;
}
.hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 7px 0 0;
}
.label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: #5d7167;
  margin-bottom: 7px;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  border: 1px solid #dce4d9;
  border-radius: 10px;
  background: #fafbf8;
  padding: 12px;
  min-height: 46px;
  outline: none;
  font-size: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #6d9c65;
  box-shadow: 0 0 0 3px #f0f5e8;
}
input:disabled {
  opacity: 1;
  color: #597166;
  background: #eff3ed;
}
textarea {
  resize: vertical;
  min-height: 104px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.time-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.time-pair select {
  padding: 11px 9px;
}
.time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.time-title {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #889382;
  margin: 20px 0 12px;
}
.switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
}
.switch {
  appearance: none;
  width: 36px;
  height: 21px;
  background: #dce3d7;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  flex: 0 0 36px;
  margin: 0;
  transition: 0.2s;
}
.switch:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  transition: 0.2s;
  box-shadow: 0 1px 3px #0002;
}
.switch:checked {
  background: var(--green);
}
.switch:checked:before {
  transform: translateX(15px);
}
.segmented {
  display: flex;
  background: #f3f6ee;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 12px;
  gap: 5px;
}
.segmented label {
  flex: 1;
  text-align: center;
  cursor: pointer;
}
.segmented input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.segmented span {
  display: block;
  padding: 11px;
  border-radius: 8px;
  color: #77866e;
  font-size: 12px;
  font-weight: 650;
}
.segmented input:checked + span {
  background: var(--green);
  color: white;
  box-shadow: 0 2px 5px #164b3b15;
}
.segmented input:focus-visible + span {
  outline: 2px solid #82a15d;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  min-height: 45px;
  line-height: 1.4;
  background: #fff;
}
.choice:has(input:checked) {
  border-color: #789d61;
  background: #f1f6e8;
  color: #315a2b;
}
.choice input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 0;
}
.choice.wide {
  grid-column: 1/-1;
}
.side-summary {
  position: sticky;
  top: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
}
.side-summary .summary-inner {
  padding: 25px;
}
.summary-kicker {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #bed0bc;
  margin: 0 0 18px;
}
.summary-name {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 5px;
}
.summary-date {
  font-size: 11px;
  color: #bbcebe;
  margin: 0;
}
.hours-number {
  font-size: 49px;
  letter-spacing: -2px;
  line-height: 1;
  margin: 24px 0 6px;
  color: var(--accent);
  font-weight: 600;
}
.hours-number small {
  font-size: 17px;
  letter-spacing: 0;
}
.summary-label {
  font-size: 11px;
  color: #c4d1c2;
}
.summary-items {
  border-top: 1px solid #ffffff24;
  margin-top: 23px;
  padding-top: 17px;
  display: grid;
  gap: 12px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #c0d0c0;
}
.summary-item strong {
  color: #fff;
  font-weight: 500;
  text-align: right;
  max-width: 150px;
  overflow-wrap: anywhere;
}
.summary-bottom {
  padding: 16px 25px;
  background: #ffffff09;
  font-size: 10px;
  line-height: 1.5;
  color: #c0d0c0;
}
.progress-track {
  height: 4px;
  background: #e8edde;
  border-radius: 4px;
  overflow: hidden;
  margin: 16px 0 8px;
}
.progress-fill {
  height: 100%;
  background: #89aa55;
  width: 0;
  transition: width 0.2s;
}
.progress-caption {
  font-size: 10px;
  color: #89967c;
  display: flex;
  justify-content: space-between;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 650;
  min-height: 45px;
  background: var(--green);
  color: white;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn.secondary {
  background: white;
  border-color: #dce4d9;
  color: var(--green);
}
.btn.light {
  background: var(--accent);
  color: var(--green);
}
.btn.small {
  padding: 8px 12px;
  min-height: 35px;
  font-size: 11px;
}
.btn.danger {
  background: #fff2f0;
  color: var(--danger);
  border-color: #f1dcd7;
}
.save-state {
  font-size: 10px;
  color: #829173;
  display: flex;
  align-items: center;
  gap: 6px;
}
.save-state.error {
  color: var(--danger);
}
.inline-error {
  background: #fff2f0;
  color: #9b3333;
  border: 1px solid #f2d5cf;
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 12px;
  margin: 15px 0;
  line-height: 1.5;
}
.notice {
  border-radius: 12px;
  background: #edf3e6;
  color: #536e42;
  padding: 13px 16px;
  font-size: 12px;
  line-height: 1.5;
}
.sitefoot {
  max-width: 1020px;
  margin: 25px auto 0;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #92a086;
}
.sitefoot span {
  color: #a2ad99;
}
.loading,
.empty-state {
  text-align: center;
  padding: 65px 20px;
}
.loading h1,
.empty-state h1 {
  font-size: 24px;
  margin-top: 20px;
}
.loading p,
.empty-state p {
  color: var(--muted);
  font-size: 13px;
}
.spinner {
  width: 25px;
  height: 25px;
  display: inline-block;
  border: 2px solid #e0e6d8;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.success-icon {
  width: 66px;
  height: 66px;
  background: #e5f0d9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  color: #527837;
  font-size: 28px;
}
.receipt {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  max-width: 400px;
  margin: 25px auto;
  padding: 22px;
  font-size: 13px;
}
.receipt strong {
  font-size: 24px;
  display: block;
  margin-top: 9px;
}
.tabs {
  display: flex;
  gap: 5px;
  overflow: auto;
  padding: 5px;
  background: #e9eee2;
  border-radius: 13px;
  margin: 22px 0;
}
.tab {
  border: 0;
  background: transparent;
  padding: 12px 17px;
  border-radius: 9px;
  font-size: 12px;
  color: #6f7d65;
  font-weight: 650;
  white-space: nowrap;
}
.tab.active {
  background: white;
  color: var(--green);
  box-shadow: 0 2px 5px #193c3108;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.stat {
  padding: 22px;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
}
.stat strong {
  font-size: 32px;
  display: block;
  margin-top: 12px;
  letter-spacing: -1px;
}
.stat.accent {
  background: var(--green);
  color: var(--accent);
  border-color: var(--green);
}
.stat.accent span {
  color: #c4d3ba;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.list {
  display: grid;
  gap: 10px;
}
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border: 0;
}
.person-main {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 12px;
  background: #edf2e6;
  color: #6d8055;
  font-weight: 650;
  font-size: 12px;
}
.list-name {
  font-weight: 650;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.list-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.row-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.badge {
  display: inline-block;
  background: #edf3e6;
  color: #647b4d;
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 6px;
}
.badge.off {
  background: #f0f1ed;
  color: #8d9586;
}
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 12px;
  margin: 18px 0;
}
.search {
  max-width: 340px;
  margin: 0 0 10px;
}
.quiet {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 10px;
  color: #8a9680;
  font-weight: 550;
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
}
td {
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
}
td:first-child {
  font-weight: 600;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
}
.drive-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-wrap: anywhere;
}
.drive-fields {
  display: grid;
  gap: 17px;
  margin: 22px 0;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #193c31;
  color: white;
  padding: 13px 20px;
  box-shadow: 0 5px 25px #163c3130;
  border-radius: 12px;
  font-size: 12px;
  max-width: 90vw;
  z-index: 100;
}
.toast.error {
  background: #9d3434;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 540px;
  width: calc(100% - 30px);
  padding: 27px;
  color: var(--green);
  max-height: 85dvh;
  overflow: auto;
  box-shadow: 0 15px 60px #10312630;
}
dialog::backdrop {
  background: #152d2480;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 21px;
  margin-bottom: 10px;
}
dialog .grid2 {
  margin-top: 20px;
}
.review-group {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.review-group .label {
  margin: 0 0 7px;
}
.review-group p {
  font-size: 13px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.modal-fields {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.status-line {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.offline {
  background: #fff3df;
  color: #8a6727;
}
@media (max-width: 1100px) {
  main,
  .sitefoot {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 720px) {
  .brandbar {
    height: 75px;
    padding: 13px 20px;
  }
  .brandmark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .brandcopy {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .brandbadge {
    font-size: 9px;
  }
  main {
    margin: 0;
    padding: 25px 18px 5px;
  }
  h1 {
    font-size: 27px;
  }
  .hero {
    align-items: flex-start;
    margin-bottom: 21px;
    gap: 12px;
  }
  .hero-note {
    font-size: 9px;
    margin-top: 6px;
  }
  .form-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .side-summary {
    position: static;
    order: -1;
  }
  .summary-inner {
    padding: 17px !important;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 15px;
  }
  .summary-kicker {
    grid-column: 1;
    margin: 0 0 9px;
  }
  .summary-name {
    font-size: 14px;
  }
  .summary-date {
    font-size: 10px;
  }
  .hours-number {
    grid-column: 2;
    grid-row: 1/4;
    align-self: center;
    margin: 0;
    font-size: 34px;
    white-space: nowrap;
  }
  .summary-label,
  .summary-items,
  .summary-bottom {
    display: none;
  }
  .card {
    padding: 19px 17px;
    border-radius: 15px;
  }
  .card-head {
    margin-bottom: 17px;
  }
  .grid2 {
    gap: 12px;
  }
  .time-row {
    gap: 12px;
  }
  .choices {
    gap: 7px;
  }
  .choice {
    font-size: 12px;
    padding: 11px 9px;
  }
  .actions {
    position: sticky;
    bottom: 0;
    padding: 15px 0 calc(15px + env(safe-area-inset-bottom));
    background: #f4f5eff5;
    backdrop-filter: blur(8px);
    z-index: 5;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .actions .btn {
    flex: 1;
    min-width: 160px;
  }
  .save-state {
    font-size: 9px;
  }
  .sitefoot {
    margin: 20px 18px 0;
    padding-top: 16px;
    font-size: 9px;
    gap: 15px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 16px 12px;
  }
  .stat strong {
    font-size: 25px;
  }
  .stat span {
    font-size: 9px;
  }
  .tabs {
    margin: 15px 0;
  }
  .tab {
    padding: 11px 13px;
    font-size: 11px;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .filter-grid > div:last-child {
    grid-column: 1/-1;
  }
  .list-row {
    gap: 10px;
  }
  .row-actions .btn {
    font-size: 11px;
    min-height: 40px;
    padding: 9px;
  }
  .avatar {
    flex-basis: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .list-name {
    font-size: 12px;
  }
  .section-title {
    align-items: flex-start;
  }
  .loading,
  .empty-state {
    padding: 50px 15px;
  }
  td,
  th {
    padding: 13px 7px;
  }
  .grid2.single-mobile {
    grid-template-columns: 1fr;
  }
  .brandbar {
    padding-top: calc(13px + env(safe-area-inset-top));
    height: auto;
    min-height: 75px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* Ajustes de formularios y estados sin estilos incrustados en el HTML. */
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.choice-hint {
  margin: -7px 0 14px;
}
.text-gap {
  margin-top: 18px;
}
.success-kicker {
  margin-top: 24px;
}
.filter-actions {
  margin: 0 0 20px;
}
.centered {
  justify-content: center;
}
progress {
  display: block;
  width: 100%;
  height: 5px;
  appearance: none;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}
progress::-webkit-progress-bar {
  background: #e5ecdd;
}
progress::-webkit-progress-value {
  background: #89aa55;
}
progress::-moz-progress-bar {
  background: #89aa55;
}

/* En móviles estrechos, cada entrada/salida ocupa una fila para no recortar los selectores. */
@media (max-width: 380px) {
  .time-row,
  .filter-grid {
    grid-template-columns: 1fr;
  }
}

/* La orientación permanece visible sin enviar mensajes repetidos al trabajador. */
.app-navigation {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f4f5eff7;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-nav {
  display: flex;
  gap: 8px;
  margin-left: 14px;
}
#entry-banner {
  max-width: 1020px;
  margin: 16px auto;
}
#entry-banner .btn {
  display: block;
  margin-top: 12px;
}
.group-member-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.group-member-row input {
  flex: 1;
  min-width: 0;
}
.navigation-hint {
  max-width: 1020px;
  margin: auto;
  padding: 8px 0;
  font-size: 11px;
  line-height: 1.5;
  color: #5d7167;
}
@media (max-width: 1100px) {
  .navigation-hint {
    padding: 8px 24px;
  }
}
@media (max-width: 720px) {
  .app-navigation .brandbar {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }
  .app-navigation .brandcopy {
    max-width: 96px;
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .app-navigation .brandbadge {
    display: none;
  }
  .header-nav {
    gap: 6px;
    margin-left: auto;
  }
  .header-nav .btn {
    font-size: 11px;
    padding: 8px;
    min-height: 40px;
  }
  .navigation-hint {
    padding: 6px 18px;
    font-size: 10px;
  }
}

/* Mantener el resumen por debajo de la nueva cabecera fija en pantallas grandes. */
.side-summary {
  top: 140px;
}

/* Estados públicos de archivo y avisos de alta, sin exponer las respuestas de otros usuarios. */
.worker-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: -10px 0 18px;
}
.record-status {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  background: #eef0e9;
  color: #5b6e60;
}
.record-status.archived {
  background: #e1f0db;
  color: #386634;
}
.record-status.pending {
  background: #fff1d6;
  color: #886225;
}
.record-status.uploading {
  background: #e6effb;
  color: #3c6591;
}
.record-status.draft {
  background: #efeee8;
  color: #7c7969;
}
.status-button {
  background: transparent;
  padding: 0;
  border: 0;
  text-align: left;
}
.draft-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.duplicate-warning {
  margin: 16px 0;
  border: 1px solid #e0c782;
  background: #fff7df;
  color: #7b5b20;
}
.report-stats {
  margin-top: 20px;
}
.report-search {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* Las fechas acompañan a las horas para distinguir una jornada que cruza medianoche. */
.day-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.88rem;
}
.day-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green, #17674d);
}
.time-date {
  display: block;
  margin-top: 6px;
}

/* Los bloqueados se distinguen de los pendientes que siguen reintentándose. */
.record-status.review {
  background: #fbe7df;
  color: #963d28;
}
.review-card {
  margin-top: 18px;
}
.review-job {
  padding: 16px 0;
  border-bottom: 1px solid #d9e3dc;
}
.drive-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .drive-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
