/* Declaración de Operatividad: paleta del modelo Requerimientos.
   Limitado a estas tres pantallas; conserva estados, imágenes y firmas. */
:is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) {
  color:#344353;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}
@media screen {
  .sig-firma-selector-operatividad button {background:#e8edf1!important;color:#344353!important;border:1px solid #b9c8d8!important;}
  .sig-firma-selector-operatividad h3 {color:#344353!important;}
  :is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) > .app-header {
    background:#e8edf1!important;color:#344353!important;border-bottom:1px solid #b9c8d8;
  }
  :is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) .header-title {color:#344353!important;text-shadow:none!important;}
  :is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) .calib-toolbar {background:#f3f6fa!important;}
  :is(#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) .seg-table th {background:#e8edf1!important;color:#344353!important;border-color:#b9c8d8!important;}
  :is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) :is(.calib-btn,.um-tbtn) {
    background:#e8edf1 !important;color:#344353 !important;border:1px solid #b9c8d8;
    border-radius:5px;font:600 12px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
    padding:7px 11px;min-height:32px;white-space:normal;
  }
  :is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) :is(.calib-btn,.um-tbtn):hover {background:#d7e3ef !important;}
  :is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) :is(button,input,select,textarea):focus-visible {outline:2px solid #1a3e8a;outline-offset:2px;}
  #screen-mant-declaracion-op .sub-cfg-fieldset {background:#fff!important;box-shadow:none;border:1px solid #b9c8d8;border-radius:6px;margin-bottom:12px;padding:12px;}
  #screen-mant-declaracion-op .sub-cfg-fieldset legend {color:#344353!important;font-size:12px;font-weight:700;}
  #screen-mant-declaracion-op .sub-cfg-row {gap:8px;min-width:0;}
  #screen-mant-declaracion-op .sub-cfg-label {font-size:12px;color:#344353!important;}
  :is(#screen-mant-declaracion-op,#screen-mant-declaracion-op-historial,#screen-mant-declaracion-op-cronograma) .sub-cfg-input {font-family:inherit;font-size:12px;min-height:30px;min-width:0;max-width:100%;box-sizing:border-box;color:#344353!important;background:#fff;}
  #screen-mant-declaracion-op .sub-cfg-input[readonly] {background:#f3f6fa;}
  #mdo-print-area {background:#fff;}
  #mdo-items-tbody .umchk-area-header {background:#eef4fb;color:#0a1e50;border-radius:5px;}
  #mdo-items-tbody .umchk-row {grid-template-columns:28px minmax(0,1fr) auto minmax(140px,260px);gap:10px;padding:8px 10px;border-radius:5px;}
  #mdo-items-tbody :is(.umchk-row-criterio,.umchk-row-num,.umchk-opt,.umchk-obs-input) {font-size:12px;line-height:1.35;}
  #mdo-items-tbody .umchk-row-evalua {font-size:11px;line-height:1.35;color:#4a6788;}
  #mdo-items-tbody .umchk-opt input {accent-color:#1a3e8a;}
  #mdo-items-tbody .umchk-obs-input {min-width:0;width:100%;box-sizing:border-box;}
}
#mdo-print-area .mdo-hoja {color:#344353!important;border-color:#b9c8d8!important;}
#mdo-print-area .mdo-doc-head {background:#e8edf1!important;color:#344353!important;border-color:#b9c8d8!important;}
#mdo-print-area .mdo-doc-head > div {color:inherit!important;}
#mdo-print-area .sub-cfg-fieldset {border-color:#b9c8d8!important;}
@media screen and (max-width:700px) {
  #screen-mant-declaracion-op .calib-toolbar {gap:8px !important;}
  #screen-mant-declaracion-op .calib-toolbar > .sub-cfg-row {width:100%;flex-wrap:wrap;}
  #screen-mant-declaracion-op .calib-toolbar .sub-cfg-row > div {min-width:0 !important;width:100%;}
  #screen-mant-declaracion-op .calib-toolbar select {min-width:0 !important;width:100%;}
  #screen-mant-declaracion-op .pg-table-wrap {padding:0 8px 12px !important;}
  #screen-mant-declaracion-op .sub-cfg-fieldset [style*="grid-template-columns"] {grid-template-columns:1fr !important;}
  #screen-mant-declaracion-op .sub-cfg-fieldset .sub-cfg-row {flex-direction:column;align-items:stretch;}
  #screen-mant-declaracion-op .sub-cfg-label {width:auto;min-width:0;}
  #screen-mant-declaracion-op .sub-cfg-input {width:100%;}
  #mdo-items-tbody .umchk-row {grid-template-columns:24px minmax(0,1fr);gap:6px;}
  #mdo-items-tbody :is(.umchk-row-opciones,.umchk-row-obs) {grid-column:2;}
}
@media print {
  #mdo-print-area {background:#fff !important;color:#344353;}
  #mdo-print-area .sub-cfg-fieldset {background:#fff !important;box-shadow:none !important;}
  #mdo-print-area :is(input,textarea,select) {color:#344353 !important;background:#fff !important;}
}
