/* ==========================================================================
   Panel de gestión · World U7–U17 2026
   ========================================================================== */
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(../assets/fonts/chakra-petch-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(../assets/fonts/chakra-petch-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../assets/fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../assets/fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../assets/fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../assets/fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }

:root {
  --mint: #7bd2bf; --mint-d: #1d7a67; --mint-l: #e4f6f1;
  --graphite: #4a4a4a; --graphite-d: #2d3236; --graphite-xd: #1d2124;
  --sky: #0272ad; --sky-l: #e2f5fc;
  --bg: #f2f5f8; --card: #fff; --line: #dbe3ea; --ink: #22282c; --muted: #5d6871;
  --red: #c9363b; --red-l: #fdecec; --amber: #9a6700; --amber-l: #fff4d6;
  --f-d: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --f-b: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 var(--f-b); color: var(--ink); background: var(--bg); }
a { color: var(--sky); }
h1, h2, h3 { font-family: var(--f-d); font-weight: 700; line-height: 1.2; color: var(--graphite-d); margin: 0 0 .6rem; }
img { max-width: 100%; display: block; }
code { font-size: .85em; background: var(--bg); padding: .1rem .35rem; border-radius: 4px; }
:focus-visible { outline: 3px solid #1ea7ff; outline-offset: 2px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 1.6rem; }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- Estructura ---------- */
.adm { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--graphite-xd); color: rgba(255,255,255,.82); overflow-y: auto; }
.side__brand { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1rem; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.side__brand img { width: 40px; }
.side__brand span { font: 700 1rem/1.15 var(--f-d); }
.side__brand small { display: block; font: 400 .78rem var(--f-b); color: var(--mint); }
.side__nav { padding: .6rem .6rem 1rem; flex: 1; }
.side__g { margin: 1rem .6rem .3rem; font: 600 .72rem var(--f-d); color: rgba(255,255,255,.45); letter-spacing: .04em; }
.side a { display: flex; align-items: center; gap: .65rem; padding: .48rem .6rem; border-radius: 8px; color: rgba(255,255,255,.82); text-decoration: none; font-size: .95rem; }
.side a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a.on { background: var(--mint); color: var(--graphite-xd); font-weight: 700; }
.side__foot { padding: .6rem; border-top: 1px solid rgba(255,255,255,.08); }
.main { min-width: 0; }
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .8rem; padding: .9rem 2rem; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar h1 { font-size: 1.35rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__menu { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .4rem; cursor: pointer; }
.content { padding: 1.6rem 2rem 4rem; max-width: 1400px; }
@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 60; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: transform .2s; }
  .side-open .side { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .bar__menu { display: inline-flex; }
  .bar { padding: .7rem 1rem; }
  .content { padding: 1.2rem 1rem 4rem; }
}

/* ---------- Avisos ---------- */
.notice { padding: .8rem 1rem; border-radius: var(--r); margin-bottom: 1rem; background: var(--sky-l); border-left: 4px solid var(--sky); }
.notice--ok { background: var(--mint-l); border-color: var(--mint-d); }
.notice--error { background: var(--red-l); border-color: var(--red); }
.toast { position: fixed; z-index: 200; right: 1.2rem; bottom: 1.2rem; padding: .75rem 1.1rem; border-radius: 10px; background: var(--graphite-d); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .4s, transform .4s; font-weight: 600; max-width: 420px; }
.toast--ok { border-left: 4px solid var(--mint); }
.toast--error { background: var(--red); }
.toast.out { opacity: 0; transform: translateY(10px); }
.intro { color: var(--muted); max-width: 80ch; margin: 0 0 1.2rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: .45rem .95rem; font: 600 .95rem var(--f-b); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--graphite); }
.btn:disabled { opacity: .5; cursor: default; }
.btn--primary { background: var(--sky); border-color: var(--sky); color: #fff; }
.btn--primary:hover { background: #025f90; border-color: #025f90; }
.btn--quiet { background: transparent; border-color: transparent; color: var(--muted); }
.btn--quiet:hover { color: var(--ink); border-color: var(--line); }
.btn--danger { color: var(--red); border-color: #f0c4c6; }
.btn--danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn--s { min-height: 34px; padding: .3rem .7rem; font-size: .88rem; }
.btn--block { width: 100%; }
.stack { display: grid; gap: .5rem; margin-top: 1rem; }
.stack--row { display: flex; flex-wrap: wrap; gap: .5rem; }
.linkdanger { margin-top: 1rem; background: none; border: 0; color: var(--red); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }

/* ---------- Paneles ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; }
.panel + .panel { margin-top: 1.2rem; }
.panel h2 { font-size: 1.1rem; }
.panel--sticky { position: sticky; top: 80px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.h2 { font-size: 1.15rem; margin: 1.8rem 0 .8rem; }
@media (max-width: 1000px) { .cols2 { grid-template-columns: 1fr; } }

.dash-status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 1.5rem; border-radius: 14px; background: var(--graphite-d); color: #fff; }
.dash-status .muted { color: rgba(255,255,255,.75); margin: 0; }
.dash-status a:not(.btn) { color: var(--mint); }
.dash-status__k { margin: 0; font-size: .85rem; color: rgba(255,255,255,.65); }
.dash-status__v { margin: .1rem 0 .3rem; font: 700 1.6rem var(--f-d); color: var(--mint); }
.dash-status--live .dash-status__v { color: #ff8b8f; }
.actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .8rem; }
.action { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.action:hover { border-color: var(--graphite); }
.action .i { grid-row: span 2; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--sky-l); color: var(--sky); }
.action strong { font-family: var(--f-d); font-size: 1.02rem; }
.action span { font-size: .88rem; color: var(--muted); }
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mini a { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); padding: .3rem; border-radius: 8px; }
.mini a:hover { background: var(--bg); }
.mini img, .mini__ph { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--bg); flex: none; }
.mini span { display: flex; flex-direction: column; }
.mini small { color: var(--muted); }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.kv .warn { color: var(--amber); } .kv .ok { color: var(--mint-d); }
.log { list-style: none; margin: 0; padding: 0; font-size: .9rem; max-height: 300px; overflow: auto; }
.log li { padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.log time { color: var(--muted); font-size: .82rem; margin-right: .3rem; }
.emptybox { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: #fff; border: 1px dashed var(--line); border-radius: 14px; }

/* ---------- Listados ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.toolbar__q, .toolbar select, #picker-q, #picker-type { min-height: 40px; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; min-width: 220px; background: #fff; }
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.list { width: 100%; border-collapse: collapse; }
.list th { text-align: left; font: 600 .78rem var(--f-d); color: var(--muted); padding: .7rem .8rem; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap; }
.list td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list tr:last-child td { border-bottom: 0; }
.list td.main a { font-weight: 700; color: var(--graphite-d); text-decoration: none; }
.list td.main a:hover { color: var(--sky); text-decoration: underline; }
.list .w1 { width: 1%; }
.list tr.is-hidden td:not(:nth-child(-n+2)) { opacity: .5; }
.list tr.is-child td.main { padding-left: 2.2rem; position: relative; }
.list tr.is-child td.main::before { content: "└"; position: absolute; left: 1rem; color: var(--muted); }
.list tr.dragging { background: var(--mint-l); }
.list .thumb { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; }
.grip { cursor: grab; color: var(--muted); }
.acts { white-space: nowrap; text-align: right; }
.acts a, .acts button { display: inline-flex; padding: .35rem; border-radius: 6px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.acts a:hover, .acts button:hover { color: var(--ink); background: var(--bg); }
.trunc { display: inline-block; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; color: var(--muted); font-size: .9rem; }
.pill { display: inline-block; padding: .05rem .5rem; font: 600 .75rem var(--f-d); border-radius: 999px; background: var(--bg); }
.pill--ok { background: var(--mint-l); color: var(--mint-d); }
.pill--warn { background: var(--amber-l); color: var(--amber); }
.switch { position: relative; width: 42px; height: 24px; border-radius: 999px; border: 0; background: #c5ced6; cursor: pointer; padding: 0; transition: background .15s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch.on { background: var(--mint-d); }
.switch.on span { transform: translateX(18px); }
.list--strings td { padding: .35rem .5rem; }
.list--strings input { width: 100%; min-width: 180px; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .92rem; }
.list--strings input.changed { border-color: var(--mint-d); background: var(--mint-l); }
.list--strings .key { white-space: nowrap; }

/* ---------- Formularios ---------- */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.4rem; align-items: start; }
.editor__main > .fields { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
@media (max-width: 1100px) { .editor { grid-template-columns: 1fr; } .panel--sticky { position: static; } }
.fields { display: flex; flex-wrap: wrap; gap: 1.1rem 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; flex: 1 1 100%; min-width: 0; }
.field--half { flex: 1 1 calc(50% - .5rem); min-width: 200px; }
.field__l { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.req { color: var(--red); }
.help { color: var(--muted); font-size: .85rem; }
.field input:not([type=checkbox]):not([type=file]), .field select, .field textarea, .form input:not([type=checkbox]) {
  width: 100%; min-height: 42px; padding: .5rem .7rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c9d3dc; border-radius: 8px; }
.field textarea { min-height: 80px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); outline: 2px solid rgba(2,114,173,.2); outline-offset: 0; }
.check { display: flex; align-items: center; gap: .55rem; font-weight: 600; cursor: pointer; flex: 1 1 100%; }
.check input { width: 18px; height: 18px; accent-color: var(--mint-d); }
.check.field--half { flex: 1 1 calc(50% - .5rem); }
.form { display: grid; gap: 1rem; }

/* Idiomas */
.langtabs { position: sticky; top: 64px; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .6rem; margin-bottom: 1rem; background: var(--graphite-d); border-radius: 12px; }
.langtabs button { display: inline-flex; gap: .4rem; align-items: baseline; padding: .45rem .9rem; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.8); font: 700 .95rem var(--f-d); cursor: pointer; }
.langtabs button span { font: 400 .82rem var(--f-b); }
.langtabs button[aria-selected=true] { background: var(--mint); color: var(--graphite-xd); }
.langtabs__hint { color: rgba(255,255,255,.6); font-size: .82rem; margin-left: auto; padding-right: .4rem; }
.editor[data-lang=en] .i18n:not([data-lang=en]),
.editor[data-lang=es] .i18n:not([data-lang=es]),
.editor[data-lang=fr] .i18n:not([data-lang=fr]) { display: none; }
.langdots { display: inline-flex; gap: 3px; }
.langdots i { font: 600 .65rem var(--f-d); font-style: normal; padding: .05rem .3rem; border-radius: 4px; background: #eef1f4; color: #9aa5ae; }
.langdots i.has { background: var(--mint-l); color: var(--mint-d); }
.editor--settings .panel { scroll-margin-top: 140px; }
.toc { display: grid; margin-bottom: 1rem; }
.toc a { padding: .35rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .92rem; }
.meta-s { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }

/* Imagen / fichero */
.pick { display: flex; gap: 1rem; align-items: center; padding: .6rem; border: 1px dashed #c9d3dc; border-radius: 10px; }
.pick__prev { width: 140px; height: 96px; flex: none; display: grid; place-items: center; background: var(--bg); border-radius: 8px; overflow: hidden; }
.pick__prev img { width: 100%; height: 100%; object-fit: cover; }
.pick__empty { color: var(--muted); font-size: .85rem; }
.pick__file { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .8rem; padding: .4rem; word-break: break-all; text-align: center; }
.pick__btns { display: flex; flex-wrap: wrap; gap: .4rem; }
/* Varias fotos */
.multi { border: 1px dashed #c9d3dc; border-radius: 10px; padding: .7rem; }
.multi.dropping, .dropzone.dropping, .modal__box.dropping, .lib.dropping { outline: 3px dashed var(--mint-d); outline-offset: -3px; background: var(--mint-l); }
.multi__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; list-style: none; margin: 0 0 .7rem; padding: 0; }
.multi__list:empty { display: none; }
.multi__list li { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg); cursor: grab; }
.multi__list li.dragging { opacity: .4; }
.multi__list img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.multi__file { display: grid; place-items: center; height: 100%; padding: .3rem; font-size: .72rem; text-align: center; word-break: break-all; }
.multi__x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.multi__drop { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.multi__prog { font-weight: 700; color: var(--mint-d); }
.vfield { display: flex; gap: .5rem; }
.vfield__thumb { width: 200px; border-radius: 8px; margin-top: .4rem; }

/* Editor de texto */
.rich { border: 1px solid #c9d3dc; border-radius: 10px; background: #fff; overflow: hidden; }
.rich__bar { display: flex; flex-wrap: wrap; gap: 2px; padding: .35rem; background: #f6f8fa; border-bottom: 1px solid var(--line); }
.rich__bar button { min-width: 34px; height: 32px; padding: 0 .55rem; border: 1px solid transparent; border-radius: 6px; background: transparent; cursor: pointer; font: 600 .85rem var(--f-b); color: var(--ink); }
.rich__bar button:hover, .rich__bar button.on { background: #fff; border-color: var(--line); }
.rich__bar .sep { width: 1px; background: var(--line); margin: 4px 4px; }
.rich__html { margin-left: auto; }
.rich__area { min-height: 200px; max-height: 70vh; overflow: auto; padding: 1rem 1.1rem; outline: none; line-height: 1.6; }
.rich__area:focus { box-shadow: inset 0 0 0 2px rgba(2,114,173,.25); }
.rich__area:empty::before { content: "Escribe aquí…"; color: #9aa5ae; }
.rich__area h2 { font-size: 1.35rem; margin: 1.2rem 0 .5rem; }
.rich__area h3 { font-size: 1.12rem; margin: 1rem 0 .4rem; }
.rich__area p { margin: 0 0 .8rem; }
.rich__area img { max-height: 280px; border-radius: 6px; }
.rich__area iframe { width: 100%; max-width: 480px; aspect-ratio: 16/9; border: 0; }
.rich__area blockquote { border-left: 4px solid var(--mint); margin: 1rem 0; padding-left: 1rem; color: var(--graphite-d); }
.rich__area table { border-collapse: collapse; width: 100%; }
.rich__area td, .rich__area th { border: 1px solid var(--line); padding: .35rem .5rem; }
.rich__code { width: 100%; min-height: 280px; border: 0; padding: 1rem; font: 13px/1.5 ui-monospace, Consolas, monospace; background: #1e2327; color: #e3eef2; resize: vertical; display: none; }
.rich.is-html .rich__area { display: none; }
.rich.is-html .rich__code { display: block; }

/* ---------- Ventanas ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; background: rgba(20,24,27,.6); }
.modal-open { overflow: hidden; }
.modal__box { display: flex; flex-direction: column; width: min(1100px, 100%); max-height: calc(100vh - 2rem); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal__head { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.modal__head h2 { margin: 0 auto 0 0; font-size: 1.2rem; }
.modal__drop { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; padding: .7rem 1.2rem; background: var(--bg); color: var(--muted); font-size: .9rem; }
.modal__prog { font-weight: 700; color: var(--mint-d); }
.modal__grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; padding: 1rem 1.2rem; align-content: start; }
.modal__foot { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.2rem; border-top: 1px solid var(--line); color: var(--muted); }
.pcard, .lcard { position: relative; display: flex; flex-direction: column; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--bg); cursor: pointer; overflow: hidden; text-align: left; font: inherit; }
.pcard img, .lcard img, .pcard__f, .lcard__f { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcard__f, .lcard__f { display: grid; place-items: center; font: 700 1.1rem var(--f-d); color: var(--sky); background: var(--sky-l); }
.pcard__n, .lcard__n { padding: .3rem .45rem; font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard.sel { border-color: var(--mint-d); box-shadow: 0 0 0 3px var(--mint); }
.pcard.sel::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-d); color: #fff; font-weight: 700; }
.picker-more { grid-column: 1 / -1; justify-self: center; }
.lcard:hover { border-color: var(--graphite); }
.lcard__warn { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-l); color: var(--amber); font-weight: 700; font-size: .85rem; }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; min-height: 200px; border-radius: 12px; }
.dropzone { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: 1.4rem; margin-bottom: 1.2rem; border: 2px dashed #c9d3dc; border-radius: 14px; background: #fff; color: var(--muted); }
.dropzone__prog { font-weight: 700; color: var(--mint-d); }
.modal__box--detail { width: min(1000px, 100%); }
.md { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; padding: 1.2rem; overflow-y: auto; }
.md__form { display: grid; gap: .8rem; align-content: start; }
.md__prev video { width: 100%; border-radius: 8px; }
.focus { position: relative; cursor: crosshair; border-radius: 8px; overflow: hidden; background: var(--bg); }
.focus img { width: 100%; max-height: 60vh; object-fit: contain; }
.focus__pt { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--mint-d), 0 2px 8px rgba(0,0,0,.4); pointer-events: none; }
.copyrow { display: flex; gap: .4rem; }
@media (max-width: 760px) { .md { grid-template-columns: 1fr; } }

/* ---------- Usuarios ---------- */
.narrowform { max-width: 720px; }

/* ---------- Acceso / instalación ---------- */
.login { display: grid; place-items: center; min-height: 100vh; padding: 1rem; background: linear-gradient(180deg, #fff 0%, var(--sky-l) 100%); }
.login__box { width: min(420px, 100%); padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(2,114,173,.35); }
.login__box--wide { width: min(560px, 100%); }
.login__bot { width: 84px; margin-bottom: .6rem; }
.login__logo { width: 100%; margin-bottom: 1.2rem; }
.login h1 { font-size: 1.5rem; margin-bottom: .2rem; }
.login .field__l { font-weight: 700; font-size: .92rem; }
.login__back { text-align: center; margin: 1rem 0 0; font-size: .9rem; }
.checks { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .25rem; font-size: .92rem; }
.checks .ok { color: var(--mint-d); } .checks .ko { color: var(--red); font-weight: 700; }
