/* Shared technical layout. This screen-only layer is enabled by the local design flag. */
@media screen {
.mf-theme-technical {
 --mf-border:#d7dfe6;--mf-slate-100:#edf1f4;--mf-slate-500:#596b7b;
 --mf-navy-700:#284b70;--mf-font-sans:Inter,"Segoe UI",sans-serif;
}
.mf-theme-technical .mf-content {min-width:0}
.mf-theme-technical .mf-content-header {align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.mf-theme-technical .mf-content-actions {flex-wrap:wrap;gap:6px}
.mf-theme-technical .mf-content-title {font-weight:500;letter-spacing:-.3px}
.mf-theme-technical .mf-topbar {padding:4px 0 10px;margin-bottom:14px}
.mf-theme-technical .mf-topbar-btn {width:30px;height:30px;border-radius:3px;color:#647789}
.mf-theme-technical .mf-rail {background:#243447}
.mf-theme-technical .mf-rail-item {color:#b3c1cf;border-radius:4px}
.mf-theme-technical .mf-rail-item.active {background:#ffffff14;color:#fff}
.mf-theme-technical .mf-rail-item.active::before {background:#b4ccdf}
.mf-theme-technical .mf-sub {width:240px;border-color:#d7dfe6}
.mf-theme-technical .mf-sub-title {font-size:15px;color:#243447}
.mf-theme-technical .mf-panel {padding:14px;border:1px solid #d7dfe6;box-shadow:none;border-radius:4px;margin-bottom:12px}
.mf-theme-technical .mf-panel-title {font-size:13px;text-transform:none;letter-spacing:0}
.mf-theme-technical .mf-form-label {font:500 12px/1.4 var(--mf-font-sans);color:#536676;text-transform:none;letter-spacing:0}
.mf-theme-technical .mf-form-input,.mf-theme-technical .mf-form-select {min-width:0;max-width:100%;padding:7px 9px;min-height:33px;border-radius:3px}
.mf-theme-technical .mf-btn {border-radius:3px;font-weight:500}
.mf-theme-technical .mf-btn-info {background:#fff;color:#284b70;border:1px solid #c7d4df}
.mf-theme-technical .mf-table th {background:#edf1f4;font-size:11px;color:#536676;text-transform:none;letter-spacing:0;padding:9px 10px}
.mf-theme-technical .mf-table td {font-size:12px;padding:9px 10px}
.mf-theme-technical .mf-tag {border-radius:3px;font-size:11px;font-weight:500}
.mf-theme-technical .mf-filters-actions {flex-wrap:wrap}
.mf-theme-technical #qr-scanner-input {background:#fff;border:1px solid #c7d4df;border-radius:3px;text-align:left;max-width:100%;width:220px}
.mf-theme-technical .qr-scan-label {font:500 12px var(--mf-font-sans);text-transform:none;letter-spacing:0;color:#536676}
.mf-theme-technical .mf-sample-heading {flex-wrap:wrap;gap:12px;padding-bottom:14px;border-bottom:1px solid #d7dfe6;margin-bottom:14px!important}
.mf-theme-technical .mf-sample-layout {grid-template-columns:minmax(0,1fr) 280px!important}
.mf-theme-technical .mf-sample-layout>div {min-width:0}
.mf-theme-technical .mf-record-card {background:#fff!important;border:1px solid #d7dfe6!important;border-radius:4px!important;padding:14px!important}
.mf-theme-technical .mf-record-card>div:first-child {color:#344b5e!important;letter-spacing:0!important;text-transform:none!important;font-size:13px!important;border-bottom:1px solid #e1e7ec;padding-bottom:8px;margin-bottom:10px!important}
.mf-theme-technical .mf-record-card div[style*="font-size:10px"] {color:#607383!important;font-size:11px!important}
.mf-theme-technical .mf-record-card div[style*="font-size:13px"] {color:#243447!important}
.mf-theme-technical .mf-record-card .mf-assay-group,.mf-theme-technical .mf-record-card .mf-active-ingredient {background:#f1f4f6!important;color:#344b5e!important;border-radius:3px!important}
.mf-theme-technical #seccion-datos-generales>div:nth-child(2){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.mf-theme-technical .seccion {border-radius:4px;padding:14px;margin-bottom:12px;box-shadow:none}
.mf-theme-technical .grp-btn {background:#fff!important;border:1px solid #c7d4df!important;color:#344b5e!important;border-radius:3px;padding:8px 10px}
.mf-theme-technical #gd5 .grp-btn {color:#a32d2d!important}
.mf-theme-technical .grp-btn svg [class^="a-"] {animation:none!important}
.mf-theme-technical .grp-btn svg {color:inherit}
.mf-theme-technical .dash2-layout {grid-template-columns:minmax(0,1fr) 265px;gap:14px}
.mf-theme-technical .dash2 .kpi-row {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px}
.mf-theme-technical .dash2 .kpi {padding:11px 12px;min-height:0;box-shadow:none;border-radius:4px}
.mf-theme-technical .dash2 .kpi .value {font-size:24px;color:#243447}
.mf-theme-technical .dash2 .kpi.red .value {color:var(--mf-red-600)}
.mf-theme-technical .dash2 .kpi .label,.mf-theme-technical .dash2 .pipeline-stage .label,.mf-theme-technical .dash2 .filters-bar .f label {font:500 11px/1.4 var(--mf-font-sans);text-transform:none;letter-spacing:0}
.mf-theme-technical .dash2 .pipeline-row {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mf-theme-technical .dash2 .pipeline-stage {display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 10px;min-height:60px;padding:9px 12px;border-radius:4px}
.mf-theme-technical .dash2 .pipeline-stage .sub {grid-column:1/3;font-size:11px}
.mf-theme-technical .dash2 .pipeline-stage .value {font-size:21px;margin:0}
.mf-theme-technical .dash2 .chart-card {padding:12px;border-radius:4px;box-shadow:none;min-width:0}
.mf-theme-technical .dash2 .canvas-wrap {height:190px;min-height:190px}
.mf-theme-technical .dash2 .tabs {flex-wrap:wrap}
.mf-theme-technical .dash2 .tabs button {font-size:12px;padding:8px 11px}
.mf-theme-technical .dash2 .avisos {border-radius:4px;min-width:0}
.mf-theme-technical .dash2 .msg-head {background:#edf1f4;color:#243447}
.mf-theme-technical .dash2 .msg {background:#fff;border-color:#d7dfe6;border-radius:3px}
.mf-theme-technical .dash2 .msg.tone-crit {border-left:3px solid var(--mf-red-600)}
.mf-theme-technical .dash2 .msg.tone-warn {border-left:3px solid var(--mf-amber-600)}
.mf-theme-technical .dash2 .u-posit {background:#fff!important;border-color:#d7dfe6!important;border-left:3px solid var(--mf-amber-600)!important}
.mf-theme-technical .dash2 .u-posit.tone-crit {border-left-color:var(--mf-red-600)!important}
@media(max-width:1100px){.mf-theme-technical .dash2-layout{grid-template-columns:minmax(0,1fr)}.mf-theme-technical .dash2 .avisos{position:static}.mf-theme-technical .mf-sample-layout{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){
 .mf-theme-technical .dash2 .kpi-row,.mf-theme-technical .dash2 .pipeline-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mf-theme-technical .dash2 .charts-row{grid-template-columns:minmax(0,1fr)!important}
 .mf-theme-technical .dash2 .filters-bar .f{width:100%;min-width:0}
 .mf-theme-technical .dash2 .filters-bar select{width:100%;min-width:0!important;max-width:100%}
 .mf-theme-technical .mf-content-header>*{max-width:100%}
 .mf-theme-technical .qr-scan-wrap{margin-left:0;width:100%}
 .mf-theme-technical #qr-scanner-input{width:100%}
 .mf-theme-technical #seccion-datos-generales>div:nth-child(2){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mf-theme-technical .mf-record-card{overflow-wrap:anywhere}
 .mf-theme-technical .grp-dd{max-width:calc(100vw - 90px)}
}
}

@media screen {
.mf-theme-technical .dash2 .chart-card {min-height:0}
.mf-theme-technical .dash2 .chart-card .canvas-wrap {flex:0 0 auto;height:210px}
.mf-theme-technical .mf-active-ingredient>div {color:#243447!important}
.mf-theme-technical #seccion-ensayos .mf-assay-group+div {border-bottom-color:#d7dfe6!important}
}
