/* Fase 2: campos del reporte de 48 px con valores en azul marino (fecha y hora sin aspecto de marcador). */
@media screen {
  .fg2-section label{display:block;margin:0 0 14px;font-size:14px;font-weight:600;color:var(--navy)}
  .fg2-section input:not([type=checkbox]):not(.fg-date-native),.fg2-section select,.fg2-section textarea{
    display:block;width:100%;box-sizing:border-box;min-height:48px;margin-top:6px;padding:0 14px;
    background:#fff;border:1px solid #c9d5dc;border-radius:var(--r-md);color:var(--navy);-webkit-text-fill-color:var(--navy);font-size:16px;font-weight:500;opacity:1}
  .fg2-section textarea{min-height:104px;padding:12px 14px;line-height:1.45}
  .fg2-section select,#campus-scope select,#report-filters select,#form-editor select{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2305223a' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
  #campus-scope select,#report-filters select,#form-editor select{padding-left:14px;font-size:15px;font-weight:500}
  .fg2-section input:focus,.fg2-section select:focus,.fg2-section textarea:focus{border-color:var(--teal);outline:3px solid var(--teal-100);outline-offset:0}
  .fg2-section input::-webkit-datetime-edit,.fg2-section input::-webkit-datetime-edit-fields-wrapper,
  .fg2-section input::-webkit-datetime-edit-text,.fg2-section input::-webkit-datetime-edit-month-field,
  .fg2-section input::-webkit-datetime-edit-day-field,.fg2-section input::-webkit-datetime-edit-year-field,
  .fg2-section input::-webkit-datetime-edit-hour-field,.fg2-section input::-webkit-datetime-edit-minute-field,
  .fg2-section input::-webkit-datetime-edit-ampm-field{color:var(--navy);-webkit-text-fill-color:var(--navy)}
  .fg2-section input[type=date]:not(.fg-date-native),.fg2-section input[type=time]{
    display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;
    -webkit-appearance:none;appearance:none;line-height:46px}
  .fg2-section > label{min-width:0;max-width:100%}
  .fg2-section label:has(> input[type=checkbox]){display:flex;align-items:center;gap:12px;min-height:48px;padding:0 14px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--soft)}
  .fg2-section input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:var(--teal-d)}
  .fg2-section .field-hint{display:block;margin-top:6px;font-size:12.5px;font-weight:500;color:var(--muted)}
  .fg2-section fieldset{margin:0 0 14px;padding:14px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--soft)}
  .fg2-section fieldset legend{font-weight:800;padding:0 4px}
  .fg2-section fieldset p{font-size:13px;color:var(--muted);margin:4px 0 10px}
  .fg2-section fieldset label{display:flex;align-items:center;gap:10px;margin:0;min-height:44px;font-weight:600;padding:0;border:0;background:none}
}

/* 28 nov 2026 — Fecha en español: dd/mm/aaaa (el nativo sigue en YYYY-MM-DD). */
.fg-date-es{position:relative;display:block;width:100%;}
.fg-date-es .fg-date-text{
  width:100%;min-height:48px;box-sizing:border-box;
  padding:10px 48px 10px 14px;
  border:1px solid #c9d5dc;border-radius:var(--r-md,14px);
  background:#fff;color:var(--navy,#05223A);
  font:500 16px/1.3 Inter,system-ui,sans-serif;
}
.fg-date-es .fg-date-text:focus{outline:2px solid #007883;outline-offset:1px;border-color:#007883}
body[data-p3-role] #report .fg2-section .fg-date-es > input[type=date].fg-date-native,
.fg2-section .fg-date-es > input[type=date].fg-date-native,
.fg-date-es > .fg-date-native{
  position:absolute !important;
  width:1px !important;height:1px !important;
  min-width:0 !important;min-height:0 !important;max-width:none !important;
  margin:0 !important;padding:0 !important;border:0 !important;
  opacity:0 !important;pointer-events:none !important;
  overflow:hidden !important;clip:rect(0 0 0 0) !important;clip-path:inset(50%) !important;
  appearance:none !important;-webkit-appearance:none !important;
  left:0 !important;bottom:0 !important;
}
.fg-date-es .fg-date-cal{
  position:absolute;right:0;top:0;width:48px;height:48px;min-height:48px;
  padding:0;border:0;background:transparent;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2305223a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;
}
.fg-date-es .fg-date-cal:focus-visible{outline:2px solid #007883;outline-offset:-2px;border-radius:12px}
