.technician-work-page {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px;
  color: var(--text, #1d241c);
}

.technician-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.technician-page-eyebrow,
.technician-work-detail-header > div > span,
.technician-instructions > span,
.technician-section-heading span,
.technician-camera-wizard header > span {
  color: var(--accent, #557a46);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}

.technician-page-header h1,
.technician-work-detail-header h1,
.technician-camera-wizard h1 {
  margin: 6px 0;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.05;
}

.technician-page-header p,
.technician-work-detail-header p,
.technician-camera-wizard p {
  margin: 0;
  color: var(--text-muted, #70766d);
}

.technician-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.technician-summary article {
  padding: 18px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 12px;
  background: var(--surface, #ffffff);
}

.technician-summary span,
.technician-summary strong {
  display: block;
}

.technician-summary span {
  color: var(--text-muted, #70766d);
  font-size: 12px;
  font-weight: 700;
}

.technician-summary strong {
  margin-top: 8px;
  font-size: 28px;
}

.technician-work-list,
.technician-camera-list {
  display: grid;
  gap: 14px;
}

.technician-work-card,
.technician-camera-card {
  padding: 20px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 14px;
  background: var(--surface, #ffffff);
}

.technician-work-card__header,
.technician-camera-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.technician-work-card__code,
.technician-camera-card__title > span {
  color: var(--accent, #557a46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.technician-work-card h2,
.technician-camera-card h3 {
  margin: 5px 0 0;
  font-size: 19px;
}

.technician-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 999px;
  background: var(--surface-muted, #f5f7f3);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.technician-work-card__client {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 10px;
  background: var(--surface-muted, #f5f7f3);
}

.technician-work-card__client span,
.technician-work-card__client strong {
  display: block;
}

.technician-work-card__client span {
  color: var(--text-muted, #70766d);
  font-size: 11px;
  font-weight: 700;
}

.technician-work-card__client strong {
  margin-top: 5px;
}

.technician-work-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.technician-work-card__details > div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-muted, #70766d);
  font-size: 13px;
}

.technician-work-card__details svg,
.technician-work-information svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--accent, #557a46);
}

.technician-progress {
  margin-top: 18px;
}

.technician-progress__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
}

.technician-progress__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-muted, #edf0ea);
}

.technician-progress__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent, #557a46);
  transition: width .25s ease;
}

.technician-work-card__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border, #dfe3dc);
}

.technician-primary-button,
.technician-secondary-button,
.technician-map-button,
.technician-back-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.technician-primary-button {
  border: 1px solid var(--accent, #557a46);
  background: var(--accent, #557a46);
  color: #ffffff;
}

.technician-secondary-button,
.technician-map-button,
.technician-back-button {
  border: 1px solid var(--border, #dfe3dc);
  background: var(--surface, #ffffff);
  color: var(--text, #1d241c);
}

.technician-primary-button svg,
.technician-secondary-button svg,
.technician-map-button svg,
.technician-back-button svg {
  width: 18px;
  height: 18px;
}

.technician-primary-button--full,
.technician-map-button {
  width: 100%;
}

.technician-back-button {
  margin-bottom: 16px;
}

.technician-work-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 14px;
  background: var(--surface, #ffffff);
}

.technician-work-information {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 14px;
  background: var(--surface, #ffffff);
}

.technician-work-information article {
  display: flex;
  min-height: 95px;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid var(--border, #dfe3dc);
  border-bottom: 1px solid var(--border, #dfe3dc);
}

.technician-work-information span,
.technician-work-information strong,
.technician-work-information a {
  display: block;
}

.technician-work-information span {
  color: var(--text-muted, #70766d);
  font-size: 11px;
  font-weight: 700;
}

.technician-work-information strong {
  margin-top: 5px;
  font-size: 14px;
}

.technician-work-information a {
  margin-top: 6px;
  color: var(--accent, #557a46);
  font-size: 13px;
  font-weight: 700;
}

.technician-instructions {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 12px;
  background: var(--surface, #ffffff);
}

.technician-instructions p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.technician-map-button {
  margin-top: 14px;
}

.technician-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 14px;
}

.technician-section-heading h2 {
  margin: 5px 0 0;
}

.technician-section-heading > strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 50%;
}

.technician-camera-card__number {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent, #557a46);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.technician-camera-card__title {
  flex: 1;
}

.technician-camera-card__info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.technician-camera-card__info > div {
  padding: 12px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 9px;
  background: var(--surface-muted, #f5f7f3);
}

.technician-camera-card__info span,
.technician-camera-card__info strong {
  display: block;
}

.technician-camera-card__info span {
  color: var(--text-muted, #70766d);
  font-size: 10px;
  font-weight: 700;
}

.technician-camera-card__info strong {
  margin-top: 5px;
  font-size: 12px;
}

.technician-loading,
.technician-empty,
.technician-error {
  display: flex;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 14px;
  background: var(--surface, #ffffff);
  text-align: center;
}

.technician-empty--compact {
  min-height: 280px;
}

.technician-loading span,
.technician-empty p,
.technician-error p {
  max-width: 540px;
  margin: 8px 0 18px;
  color: var(--text-muted, #70766d);
}

.technician-loading__spinner {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 3px solid var(--border, #dfe3dc);
  border-top-color: var(--accent, #557a46);
  border-radius: 50%;
  animation: technician-spin .8s linear infinite;
}

.technician-empty__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 18px;
}

.technician-empty__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent, #557a46);
}

.technician-camera-wizard {
  padding: 22px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 14px;
  background: var(--surface, #ffffff);
}

.technician-wizard-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.technician-wizard-steps article {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 10px;
  text-align: center;
}

.technician-wizard-steps article.is-active {
  border-color: var(--accent, #557a46);
  background: var(--surface-muted, #f5f7f3);
}

.technician-wizard-steps strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent, #557a46);
  color: #ffffff;
}

.technician-wizard-steps span {
  font-size: 11px;
  font-weight: 700;
}

@keyframes technician-spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .technician-camera-card__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technician-wizard-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .technician-work-page {
    padding: 14px;
    padding-bottom: 90px;
  }

  .technician-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .technician-summary article {
    padding: 14px;
  }

  .technician-summary strong {
    font-size: 23px;
  }

  .technician-work-card,
  .technician-camera-card {
    padding: 16px;
  }

  .technician-work-card__header,
  .technician-work-detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .technician-work-card__details,
  .technician-work-information {
    grid-template-columns: 1fr;
  }

  .technician-work-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .technician-work-card__footer > * {
    width: 100%;
  }

  .technician-camera-card > header {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .technician-camera-card > header .technician-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .technician-camera-card__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technician-wizard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technician-primary-button,
  .technician-secondary-button,
  .technician-map-button,
  .technician-back-button {
    min-height: 52px;
    font-size: 14px;
  }
}

[data-technician-sidebar-link],
[data-technician-sidebar-link] span {
  text-transform: none !important;
}

.technician-page-eyebrow,
.technician-work-detail-header > div > span,
.technician-instructions > span,
.technician-section-heading span,
.technician-camera-wizard header > span,
.technician-work-card__code,
.technician-camera-card__title > span {
  text-transform: none;
  letter-spacing: .03em;
}

[data-technician-sidebar-link],
[data-technician-sidebar-link] span {
  text-transform: none !important;
}

.technician-page-eyebrow,
.technician-work-detail-header > div > span,
.technician-instructions > span,
.technician-section-heading span,
.technician-camera-wizard header > span,
.technician-work-card__code,
.technician-camera-card__title > span {
  text-transform: none;
  letter-spacing: .03em;
}

[data-technician-sidebar-link],
[data-technician-sidebar-link] *,
.technician-page-eyebrow,
.technician-work-detail-header > div > span,
.technician-instructions > span,
.technician-section-heading span,
.technician-camera-wizard header > span,
.technician-work-card__code,
.technician-camera-card__title > span {
  text-transform: none !important;
}

.technician-wizard-navigation {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.technician-camera-form {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 12px;
  background: var(--surface, #ffffff);
}

.technician-camera-form__header {
  margin-bottom: 20px;
}

.technician-camera-form__header span {
  color: var(--accent, #557a46);
  font-size: 11px;
  font-weight: 800;
}

.technician-camera-form__header h2 {
  margin: 5px 0 0;
}

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

.technician-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.technician-form-field--full {
  grid-column: 1 / -1;
}

.technician-form-field span,
.technician-check-field span {
  font-size: 12px;
  font-weight: 700;
}

.technician-form-field input,
.technician-form-field select,
.technician-form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 9px;
  background: var(--surface, #ffffff);
  color: inherit;
  font: inherit;
}

.technician-check-field {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 9px;
}

.technician-check-field input {
  width: 18px;
  height: 18px;
}

.technician-camera-form__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border, #dfe3dc);
}

.technician-form-error {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #c86c6c;
  border-radius: 9px;
  background: #fff3f3;
  color: #8d2525;
  font-size: 13px;
}

.technician-photo-help {
  grid-column: 1 / -1;
  padding: 15px;
  border: 1px solid var(--border, #dfe3dc);
  border-radius: 9px;
  background: var(--surface-muted, #f5f7f3);
}

.technician-photo-help p {
  margin: 6px 0 0;
}

@media (max-width: 900px) {
  .technician-wizard-navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .technician-wizard-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technician-form-grid {
    grid-template-columns: 1fr;
  }

  .technician-form-field--full,
  .technician-photo-help {
    grid-column: auto;
  }

  .technician-camera-form {
    padding: 14px;
  }

  .technician-camera-form__footer {
    flex-direction: column-reverse;
  }

  .technician-camera-form__footer button {
    width: 100%;
  }
}

/* =========================================================
   AGRO INTEL · EJECUCIÓN TÉCNICA DE CÁMARAS
   ========================================================= */

.technician-camera-wizard {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--border, #d9dfd5);
  border-radius: 16px;
  background: var(--surface, #ffffff);
}

.technician-camera-wizard > header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border, #d9dfd5);
}

.technician-camera-wizard > header > span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent, #527747);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.technician-camera-wizard > header h1 {
  margin: 0;
  color: var(--text, #20271f);
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.05;
}

.technician-camera-wizard > header p {
  margin: 10px 0 0;
  color: var(--text-muted, #747b71);
  font-size: 14px;
  line-height: 1.55;
}

.technician-wizard-navigation {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.technician-wizard-step {
  display: flex;
  min-width: 0;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border, #d9dfd5);
  border-radius: 12px;
  background: var(--surface, #ffffff);
  color: var(--text, #20271f);
  font: inherit;
  cursor: pointer;
  transition:
    border-color .18s ease,
    background-color .18s ease,
    transform .18s ease;
}

.technician-wizard-step:hover {
  border-color: var(--accent, #527747);
  background: var(--surface-muted, #f3f6f1);
  transform: translateY(-1px);
}

.technician-wizard-step.is-active {
  border-color: var(--accent, #527747);
  background: var(--surface-muted, #edf3e9);
}

.technician-wizard-step strong {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent, #527747);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.technician-wizard-step span {
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
}

.technician-camera-form {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--border, #d9dfd5);
  border-radius: 14px;
  background: var(--surface, #ffffff);
}

.technician-camera-form__header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border, #d9dfd5);
}

.technician-camera-form__header span {
  display: block;
  color: var(--accent, #527747);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.technician-camera-form__header h2 {
  margin: 6px 0 0;
  color: var(--text, #20271f);
  font-size: clamp(23px, 5vw, 31px);
  line-height: 1.1;
}

.technician-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.technician-form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.technician-form-field--full {
  grid-column: 1 / -1;
}

.technician-form-field > span,
.technician-check-field > span {
  color: var(--text, #20271f);
  font-size: 12px;
  font-weight: 750;
}

.technician-form-field input,
.technician-form-field select,
.technician-form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border, #cfd6ca);
  border-radius: 10px;
  outline: none;
  background: var(--surface, #ffffff);
  color: var(--text, #20271f);
  font: inherit;
  font-size: 14px;
  transition:
    border-color .18s ease,
    background-color .18s ease;
}

.technician-form-field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.technician-form-field input:focus,
.technician-form-field select:focus,
.technician-form-field textarea:focus {
  border-color: var(--accent, #527747);
  background: #ffffff;
}

.technician-form-field input::placeholder,
.technician-form-field textarea::placeholder {
  color: #9aa096;
}

.technician-check-field {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid var(--border, #d9dfd5);
  border-radius: 10px;
  background: var(--surface-muted, #f5f7f3);
  cursor: pointer;
}

.technician-check-field input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  accent-color: var(--accent, #527747);
}

.technician-photo-help {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid var(--border, #d9dfd5);
  border-radius: 10px;
  background: var(--surface-muted, #f5f7f3);
}

.technician-photo-help strong {
  display: block;
  color: var(--text, #20271f);
  font-size: 14px;
}

.technician-photo-help p {
  margin: 7px 0 0;
  color: var(--text-muted, #747b71);
  font-size: 13px;
  line-height: 1.5;
}

.technician-camera-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border, #d9dfd5);
}

.technician-camera-form__footer button {
  min-width: 150px;
}

.technician-primary-button,
.technician-secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color .18s ease,
    background-color .18s ease,
    opacity .18s ease;
}

.technician-primary-button {
  border: 1px solid var(--accent, #527747);
  background: var(--accent, #527747);
  color: #ffffff;
}

.technician-primary-button:hover {
  background: #45683c;
}

.technician-secondary-button {
  border: 1px solid var(--border, #cfd6ca);
  background: var(--surface, #ffffff);
  color: var(--text, #20271f);
}

.technician-secondary-button:hover {
  border-color: var(--accent, #527747);
  background: var(--surface-muted, #f3f6f1);
}

.technician-primary-button:disabled,
.technician-secondary-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.technician-form-error {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid #d7a1a1;
  border-radius: 10px;
  background: #fff4f4;
  color: #8b2626;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .technician-wizard-navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .technician-camera-wizard {
    padding: 14px;
    border-radius: 12px;
  }

  .technician-camera-form {
    padding: 15px;
    border-radius: 11px;
  }

  .technician-wizard-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .technician-wizard-step {
    min-height: 72px;
    padding: 9px;
  }

  .technician-wizard-step strong {
    width: 29px;
    height: 29px;
  }

  .technician-wizard-step span {
    font-size: 10px;
  }

  .technician-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .technician-form-field--full,
  .technician-photo-help {
    grid-column: auto;
  }

  .technician-camera-form__footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .technician-camera-form__footer button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .technician-check-field {
    min-height: 55px;
  }
}

@media (max-width: 430px) {
  .technician-work-page {
    padding-inline: 10px;
  }

  .technician-camera-wizard {
    padding: 12px;
  }

  .technician-camera-form {
    padding: 13px;
  }

  .technician-wizard-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.technician-file-help {
  display: block;
  color: var(--text-muted, #747b71);
  font-size: 11px;
  line-height: 1.45;
}

.technician-form-field input[type="file"] {
  min-height: 58px;
  padding: 9px;
  cursor: pointer;
}

.technician-form-field input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 14px;
  border: 1px solid var(--border, #cfd6ca);
  border-radius: 8px;
  background: var(--surface-muted, #f3f6f1);
  color: var(--text, #20271f);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.technician-photo-preview {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(
    auto-fill,
    minmax(
      150px,
      1fr
    )
  );
  gap: 10px;
}

.technician-photo-preview > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--border, #cfd6ca);
  border-radius: 10px;
  color: var(--text-muted, #747b71);
  text-align: center;
}

.technician-photo-preview__item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border, #d9dfd5);
  border-radius: 10px;
  background: var(--surface, #ffffff);
}

.technician-photo-preview__item img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: var(--surface-muted, #f3f6f1);
}

.technician-photo-preview__item div {
  padding: 10px;
}

.technician-photo-preview__item strong,
.technician-photo-preview__item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technician-photo-preview__item strong {
  font-size: 11px;
}

.technician-photo-preview__item span {
  margin-top: 4px;
  color: var(--text-muted, #747b71);
  font-size: 10px;
}

@media (max-width: 680px) {
  .technician-photo-preview {
    grid-template-columns: repeat(
      2,
      minmax(
        0,
        1fr
      )
    );
  }

  .technician-photo-preview__item img {
    height: 105px;
  }
}

/* =========================================================
   AGRO INTEL · MIS TRABAJOS A TODO EL ANCHO
   ========================================================= */

#page-content {
  width: 100%;
  max-width: none;
}

.technician-work-page,
.technician-jobs-page,
.technician-page,
.technician-work-list,
.technician-work-detail,
.technician-work-content {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.technician-work-page {
  padding:
    24px
    18px;
}

.technician-work-page > *,
.technician-work-detail > *,
.technician-work-content > * {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.technician-work-card,
.technician-work-summary,
.technician-work-information,
.technician-work-cameras,
.technician-camera-card,
.technician-camera-wizard {
  width: 100%;
  max-width: none;
}

@media (min-width: 821px) {
  .technician-work-page {
    padding:
      24px
      28px;
  }

  body:not(.sidebar-desktop-collapsed)
  .technician-work-page {
    width: 100%;
  }

  body.sidebar-desktop-collapsed
  .technician-work-page {
    width: 100%;
    padding-inline: 32px;
  }
}

@media (max-width: 820px) {
  .technician-work-page {
    width: 100%;
    padding:
      16px
      12px;
  }

  .technician-work-page > *,
  .technician-work-detail > *,
  .technician-work-content > * {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   AGRO INTEL · DESCARGA DE RESUMEN PDF
   ========================================================= */

.technician-pdf-action {
  display: flex;
  width: calc(100% - 56px);
  max-width: none;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin:
    22px
    28px
    0;
  padding:
    18px
    20px;
  border:
    1px solid
    var(--border-strong);
  border-radius: 14px;
  background:
    var(--accent-softer);
}

.technician-pdf-action > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.technician-pdf-action span {
  color:
    var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
}

.technician-pdf-action strong {
  color:
    var(--text);
  font-size: 17px;
}

.technician-pdf-action small {
  color:
    var(--text-muted);
  font-size: 12px;
}

.technician-pdf-button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding:
    0
    17px;
  border:
    1px solid
    var(--accent-dark);
  border-radius: 10px;
  background:
    var(--accent);
  color:
    #ffffff;
  font-weight: 800;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.technician-pdf-button:hover {
  background:
    var(--accent-dark);
  transform:
    translateY(-1px);
}

.technician-pdf-button:disabled {
  cursor:
    wait;
  opacity: .72;
  transform: none;
}

.technician-pdf-button svg {
  width: 18px;
  height: 18px;
}

.technician-pdf-spinner {
  width: 17px;
  height: 17px;
  border:
    2px solid
    rgba(
      255,
      255,
      255,
      .45
    );
  border-top-color:
    #ffffff;
  border-radius:
    50%;
  animation:
    technician-pdf-spin
    650ms
    linear
    infinite;
}

@keyframes technician-pdf-spin {
  to {
    transform:
      rotate(
        360deg
      );
  }
}

@media (max-width: 820px) {
  .technician-pdf-action {
    width:
      calc(
        100% -
        24px
      );
    align-items:
      stretch;
    flex-direction:
      column;
    gap:
      14px;
    margin:
      12px
      12px
      0;
    padding:
      16px;
  }

  .technician-pdf-button {
    width:
      100%;
  }
}
