/* Listado por departamento: sustituye tarjetas y modales históricos por enlaces directos. */
.mg8-resoluciones .mg8-masthead { background:#fff;border-bottom:0;padding-bottom:36px; }
.mg8-resoluciones .mg8-masthead h1::before { content:"";display:block;width:64px;height:4px;background:var(--amber);margin-bottom:30px; }
.mg8-resoluciones .mg8-territory-nav { display:flex;flex-wrap:wrap;gap:16px 38px;border-bottom:1px solid var(--line);padding-block:12px 24px; }
.mg8-resoluciones .mg8-territory-nav a { text-decoration:none;min-height:44px;padding-block:10px;font-weight:600; }
.mg8-resoluciones .mg8-resolution-region { display:grid;grid-template-columns:260px minmax(0,1fr);gap:60px;padding-block:60px; }
.mg8-resoluciones .mg8-region-heading .mg8-kicker { font-size:10px;margin-bottom:16px; }
.mg8-resoluciones .mg8-region-heading h2 { font-size:32px; }
.mg8-resoluciones .mg8-resolution-list { border-top:2px solid var(--amber); }
.mg8-resoluciones .mg8-resolution { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line); }
.mg8-resoluciones .mg8-resolution h3 { font-size:21px; }.mg8-resoluciones .mg8-resolution p { margin-top:9px;font-size:16px; }
.mg8-resoluciones .mg8-resolution a { display:inline-flex;gap:24px;align-items:center;min-height:48px;padding:10px 14px;border:1px solid var(--line);text-decoration:none;font-size:14px; }
.mg8-resoluciones .mg8-resolution a:hover { border-color:var(--blue);background:#f4f8fc; }
.mg8-resoluciones .mg-document-tools { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:16px 20px;align-items:end;padding:26px;margin-block:4px 26px;border:1px solid var(--line);background:#f1f6fa; }
.mg8-resoluciones .mg-document-tools label { display:block;font-size:14px;font-weight:600; }
.mg8-resoluciones .mg-document-tools :is(input,select) { display:block;min-width:0;width:100%;min-height:48px;padding:10px 12px;margin-top:8px;border:1px solid #9aafc3;border-radius:0;background:#fff;color:var(--navy);font:inherit;font-size:16px; }
.mg8-resoluciones .mg-document-reset { justify-self:start;min-height:48px;padding:10px 18px;border:1px solid var(--navy);background:var(--navy);color:#fff;font:inherit;font-size:14px;cursor:pointer; }
.mg8-resoluciones .mg-document-reset:hover { background:var(--blue); }
.mg8-resoluciones .mg-document-tools :is(.mg-document-status,.mg-document-help) { grid-column:1/-1;font-size:14px; }
.mg8-resoluciones .mg-document-status { font-weight:600; }
.mg8-resoluciones .mg-document-empty { margin-block:24px;padding:24px;border-left:3px solid var(--amber);background:#f1f6fa; }
.mg8-resoluciones :is(input,select,button):focus-visible { outline:3px solid var(--blue);outline-offset:4px; }
.mg8-resoluciones [hidden] { display:none; }
@media(max-width:1024px) { .mg8-resoluciones .mg-document-tools { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }.mg8-resoluciones .mg-document-tools > div:first-child { grid-column:1/-1; } }
@media(max-width:767px) { .mg8-resoluciones .mg-document-tools { grid-template-columns:minmax(0,1fr);padding:20px; }.mg8-resoluciones .mg-document-reset { justify-self:stretch; } }
@media(max-width:1024px) { .mg8-resoluciones .mg8-resolution-region { grid-template-columns:200px minmax(0,1fr);gap:30px; } }
@media(max-width:767px) { .mg8-resoluciones .mg8-resolution-region { grid-template-columns:1fr;gap:24px;padding-block:38px; }.mg8-resoluciones .mg8-resolution { grid-template-columns:1fr;gap:16px; }.mg8-resoluciones .mg8-resolution a { justify-self:start; }.mg8-resoluciones .mg8-territory-nav { gap:12px 24px; } }

/* Ayuda previa y conexiones documentales; fichas y filtros intactos. */
.mg8-resoluciones .mg8-resolution-guide { display:grid;grid-template-columns:.9fr 1.4fr;gap:60px;padding-block:12px 40px; }
.mg8-resoluciones .mg8-resolution-guide h2 { font-size:clamp(28px,3vw,38px); }
.mg8-resoluciones .mg8-resolution-guide ol { list-style:none;counter-reset:reading;margin:0;padding:0;display:grid;gap:18px; }
.mg8-resoluciones .mg8-resolution-guide li { counter-increment:reading;position:relative;padding-left:40px;border-left:2px solid #5fc3e2; }
.mg8-resoluciones .mg8-resolution-guide li::before { content:counter(reading,decimal-leading-zero);position:absolute;left:12px;top:3px;font-size:11px;color:var(--blue); }
.mg8-resoluciones .mg8-resolution-guide strong { display:block;font-size:18px;line-height:1.4; }
.mg8-resoluciones .mg8-resolution-guide p { margin-top:7px;font-size:15px; }
.mg8-resoluciones .mg8-resolution-note { padding:0 0 22px;max-width:85ch; }
.mg8-resoluciones .mg8-resolution-note p { font-size:15px; }
@media(max-width:1024px) { .mg8-resoluciones .mg8-resolution-guide { gap:35px; } }
@media(max-width:767px) { .mg8-resoluciones .mg8-resolution-guide { grid-template-columns:1fr;gap:26px;padding-bottom:30px; } }
