/* Manual de uso (panel y zona de socios) */
.man { --m-navy: #04253D; --m-navy2: #0B3556; --m-gold: #FDC143; --m-red: #CA4128; --m-line: #dbe2ea; --m-grey: #F1F4F8; --m-muted: #5d6879;
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.man-side { position: sticky; top: 72px; max-height: calc(100vh - 90px); overflow: auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(4,37,61,.06); padding: 14px; font-size: .9rem; }
.man-public .man-side, .man-socios .man-side { top: 90px; }
.man-search input { width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 12px; border: 2px solid var(--m-line); border-radius: 8px; font: inherit; }
.man-search input:focus { border-color: var(--m-gold); outline: none; }
.man-toc { margin-top: 12px; }
.man-toc ol { list-style: none; margin: 8px 0; padding: 0; }
.man-toc li > a { display: flex; gap: 8px; padding: 7px 8px; border-radius: 6px; color: #1c2533; text-decoration: none; line-height: 1.3; }
.man-toc li > a:hover { background: var(--m-grey); }
.man-toc li.on > a { background: var(--m-navy); color: #fff; font-weight: 600; }
.man-toc ul { list-style: none; margin: 4px 0 8px 18px; padding: 0 0 0 8px; border-left: 2px solid var(--m-gold); }
.man-toc ul a { display: block; padding: 4px 8px; color: var(--m-navy2); text-decoration: none; font-size: .85rem; border-radius: 4px; }
.man-toc ul a:hover, .man-toc ul a.cur { background: #fff6dc; }
.man-toc ul .l3 a { padding-left: 18px; font-size: .8rem; color: var(--m-muted); }
.man-home { display: block; padding: 7px 8px; border-radius: 6px; text-decoration: none; color: var(--m-navy); font-weight: 600; }
.man-home.on, .man-home:hover { background: var(--m-grey); }
.man-print { display: block; margin-top: 10px; padding: 8px; font-size: .82rem; color: var(--m-muted); border-top: 1px solid var(--m-line); }
.man-main { min-width: 0; }
.man-body, .man-results { background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(4,37,61,.06); padding: 28px 34px 34px; line-height: 1.65; color: #1c2533; }
.man-body h1 { font: 700 1.9rem/1.15 Oswald, sans-serif; color: var(--m-navy); text-transform: uppercase; margin: 6px 0 12px; }
.man-body h2 { font: 700 1.35rem/1.2 Oswald, sans-serif; color: var(--m-navy); text-transform: uppercase; margin: 2.2em 0 .6em; padding-top: .6em; border-top: 1px solid var(--m-line); scroll-margin-top: 80px; }
.man-body h3 { font: 600 1.08rem/1.3 Inter, sans-serif; color: var(--m-navy2); margin: 1.6em 0 .5em; scroll-margin-top: 80px; text-transform: none; }
.man-body h4 { font: 600 .98rem Inter, sans-serif; margin: 1.3em 0 .4em; scroll-margin-top: 80px; text-transform: none; }
.man-body .hl { opacity: 0; margin-left: 6px; color: var(--m-gold); text-decoration: none; font-size: .8em; }
.man-body h2:hover .hl, .man-body h3:hover .hl, .man-body h4:hover .hl { opacity: 1; }
.man-body p, .man-body li { max-width: 78ch; }
.man-body ul, .man-body ol { padding-left: 1.4em; }
.man-body li { margin: .25em 0; }
.man-body .lead { font-size: 1.08rem; color: var(--m-muted); }
.man-body code { background: var(--m-grey); border-radius: 4px; padding: 1px 5px; font-size: .88em; }
.man-body pre { background: #0f1b2a; color: #e6edf3; padding: 14px; border-radius: 8px; overflow: auto; }
.man-body pre code { background: none; color: inherit; }
.man-body kbd, .man-how kbd { display: inline-block; min-width: 1.4em; text-align: center; padding: 0 6px; border: 1px solid #c4ccd6; border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 .82em Inter, sans-serif; }
.man-body .ui { display: inline-block; padding: 0 7px; border-radius: 5px; background: var(--m-navy); color: #fff; font: 500 .82em/1.7 Oswald, sans-serif; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.man-body hr { border: 0; border-top: 2px dashed var(--m-line); margin: 2em 0; }
.man-body .crumbs { font-size: .85rem; color: var(--m-muted); }
.man-body .crumbs a { color: var(--m-muted); }
.man-body .ic { margin-right: 4px; }
/* Figuras */
.man-body figure.shot { margin: 1.2em 0 1.6em; }
.man-body figure.shot img { display: block; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--m-line); box-shadow: 0 6px 24px rgba(4,37,61,.12); cursor: zoom-in; }
.man-body figcaption { font-size: .86rem; color: var(--m-muted); margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--m-gold); }
/* Avisos */
.man-body .note { border-radius: 8px; padding: 12px 16px 4px; margin: 1.2em 0; border-left: 5px solid; }
.man-body .note > b { display: block; font: 600 .78rem Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.man-body .note.tip { background: #edf8ef; border-color: #2e8b47; } .man-body .note.tip > b { color: #2e7a41; }
.man-body .note.info { background: #eef5fc; border-color: #1C8DC9; } .man-body .note.info > b { color: #17739f; }
.man-body .note.warn { background: #fff4ef; border-color: var(--m-red); } .man-body .note.warn > b { color: var(--m-red); }
.man-body .note.example { background: #fffaea; border-color: var(--m-gold); } .man-body .note.example > b { color: #9a6f00; }
/* Tablas */
.man-body .tbl { overflow-x: auto; margin: 1em 0; }
.man-body table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.man-body th { background: var(--m-navy); color: #fff; text-align: left; padding: 8px 10px; font-weight: 600; }
.man-body td { border-bottom: 1px solid var(--m-line); padding: 8px 10px; vertical-align: top; }
.man-body tr:nth-child(even) td { background: #fafbfd; }
/* Diagrama de proceso */
.man-body ol.flow { list-style: none; padding: 0; margin: 1.4em 0; display: flex; flex-wrap: wrap; gap: 14px 30px; counter-reset: f; }
.man-body ol.flow li { position: relative; flex: 1 1 170px; max-width: 260px; background: #fff; border: 2px solid var(--m-navy); border-radius: 10px; padding: 26px 12px 12px; margin: 0; font-size: .88rem; line-height: 1.4; }
.man-body ol.flow li.opt { border-style: dashed; border-color: #8a97a8; }
.man-body ol.flow li:not(:last-child)::after { content: '➜'; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); color: var(--m-red); font-size: 1.2rem; }
.man-body ol.flow .n { position: absolute; top: -13px; left: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--m-red); color: #fff; font: 700 .85rem/26px Oswald; text-align: center; }
.man-body ol.flow b { display: block; color: var(--m-navy); margin-bottom: 4px; }
.man-body ol.flow span:not(.n):not(.ui) { color: #3b4656; }
.man-body ol.flow .ui { color: #fff; font-size: .78em; white-space: normal; }
/* En este capítulo / navegación */
.man-intoc { background: var(--m-grey); border-radius: 8px; padding: 12px 16px; margin: 1em 0 1.6em; font-size: .92rem; }
.man-intoc ol { columns: 2 240px; margin: 6px 0 0; }
.man-pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--m-line); }
.man-pn a { padding: 10px 14px; border-radius: 8px; background: var(--m-grey); text-decoration: none; color: var(--m-navy); font-weight: 600; }
.man-pn a:hover { background: #fff6dc; }
.man-upd { font-size: .8rem; color: var(--m-muted); margin-top: 2em; }
/* Portada */
.man-how { display: grid; gap: 6px; background: #fffaea; border-radius: 8px; padding: 12px 16px; margin: 1em 0 1.6em; font-size: .92rem; }
.man-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.man-card { display: grid; gap: 4px; padding: 16px; border-radius: 10px; border: 1px solid var(--m-line); text-decoration: none; color: #1c2533; background: #fff; transition: transform .12s, box-shadow .12s; }
.man-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(4,37,61,.12); border-color: var(--m-gold); }
.man-card .ic { font-size: 1.6rem; }
.man-card b { color: var(--m-navy); }
.man-card small { color: var(--m-muted); line-height: 1.4; }
/* Resultados */
.man-results h2 { font: 700 1.2rem Oswald, sans-serif; text-transform: uppercase; color: var(--m-navy); margin: 0 0 12px; }
.man-results h2 small { color: var(--m-muted); font: 400 .9rem Inter; }
.man-results ol.res { list-style: none; padding: 0; margin: 0; }
.man-results ol.res li { padding: 10px 0; border-bottom: 1px solid var(--m-line); }
.man-results ol.res a { color: var(--m-navy); text-decoration: none; }
.man-results ol.res a:hover b { text-decoration: underline; }
.man-results ol.res p { margin: 4px 0 0; font-size: .88rem; color: #3b4656; }
mark.mh { background: #ffe58a; color: inherit; border-radius: 3px; padding: 0 1px; }
/* Ampliar captura */
.man-zoom { position: fixed; inset: 0; z-index: 2000; background: rgba(4,20,35,.88); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.man-zoom[hidden] { display: none; }
.man-zoom img { max-width: 96vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 10px 50px rgba(0,0,0,.5); background: #fff; }
.man-zoom span { color: #c8d3e0; font-size: .85rem; }
@media (max-width: 900px) {
  .man { grid-template-columns: 1fr; }
  .man-side { position: static; max-height: none; }
  .man-body, .man-results { padding: 20px 16px; }
  .man-body ol.flow li { max-width: none; flex-basis: 100%; }
  .man-body ol.flow li:not(:last-child)::after { content: '⬇'; right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); }
}
/* Versión para imprimir */
.man-printpage { font: 15px/1.6 Inter, sans-serif; color: #1c2533; max-width: 900px; margin: 0 auto; padding: 20px; background: #fff; }
.man-printpage .man-body { box-shadow: none; padding: 0; }
.pp-bar { position: sticky; top: 0; background: #fff; padding: 10px 0; border-bottom: 1px solid #dbe2ea; display: flex; gap: 16px; align-items: center; }
.pp-bar button { background: #CA4128; color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; cursor: pointer; font: inherit; }
.pp-cover { text-align: center; padding: 80px 0 60px; }
.pp-cover h1 { font: 700 2.4rem Oswald, sans-serif; color: #04253D; text-transform: uppercase; }
.pp-toc { margin-bottom: 40px; } .pp-toc h2 { font: 700 1.4rem Oswald; color: #04253D; text-transform: uppercase; }
.pp-chap { margin-top: 50px; }
@media print {
  .pp-bar, .hl { display: none !important; }
  .pp-cover, .pp-toc, .pp-chap { break-after: page; }
  .man-body h2, .man-body h3 { break-after: avoid; }
  .man-body figure, .man-body .note, .man-body ol.flow li, .man-body tr { break-inside: avoid; }
  .man-body a { color: inherit; }
  .man-body figure.shot img { box-shadow: none; max-height: 60vh; width: auto; }
}
