/* escritorio.css — estilos da aplicación Escritorio (novembro de 2026). Todo vai baixo .esc (e .axn de axenda.css) */
.axn.esc { clear: both; margin-top: 35px; padding-top: 14px; }
.esc .axn-wrap { max-width: 1400px; }
.esc .axn-head { margin-bottom: 16px; }

/* exemplo (sen sesión iniciada) */
.esc-exemplo-txt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 12px; }
.esc-exemplo-b { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; background: var(--verde); color: #fff !important; font-weight: 800; text-decoration: none !important; }
.esc-exemplo-b:hover { background: #4C7210; }
.esc-exemplo-b svg { width: 17px; height: 17px; }
.esc-exemplo { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--lina); box-shadow: 0 12px 30px rgba(31,41,51,.15); transition: transform .15s, box-shadow .15s; }
.esc-exemplo:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(31,41,51,.22); }
.esc-exemplo img { display: block; width: 100%; height: auto; }

/* aviso de que escritorio se está a ver */
.esc-info { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #EEF4DC; border: 1px solid #CFE0A8; color: #3C5E0B; font-size: 14px; }
.esc-info > svg { width: 20px; height: 20px; flex: none; }
.esc-info a { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid #CFE0A8; color: #3C5E0B; font-weight: 800; text-decoration: none; white-space: nowrap; }
.esc-info a:hover { border-color: var(--verde); color: var(--verde); }
.esc-info a svg { width: 15px; height: 15px; }
.esc-info > span { flex: 1; min-width: 0; }
.esc-info[hidden] { display: none; }
.esc-info-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #3C5E0B; display: grid; place-items: center; cursor: pointer; padding: 0; }
.esc-info-x:hover { background: #fff; }
.esc-info-x svg { width: 16px; height: 16px; }

/* ---------- a mesa (o escritorio en si) ---------- */
.esc-mesa { --cw: 108px; --ch: 118px;
  position: relative; height: max(480px, calc(100vh - 230px)); border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(31,41,51,.22), inset 0 0 0 1px rgba(255,255,255,.12);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.esc-mesa.completa, .esc-mesa:fullscreen { position: fixed; inset: 0; height: 100vh; height: 100dvh; width: 100vw; border-radius: 0; z-index: 100000; box-shadow: none; }
.esc-mesa:-webkit-full-screen { position: fixed; inset: 0; height: 100vh; width: 100vw; border-radius: 0; z-index: 100000; }

.esc-barra { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 20; }
.esc-bb { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--tinta); font: inherit; font-size: 14px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.esc-bb:hover { background: #fff; color: var(--verde); }
.esc-bb svg { width: 19px; height: 19px; flex: none; }
.esc-bb-pin { color: var(--suave); }
.esc-bb-pin.on { background: #EEF4DC; color: #3C5E0B; box-shadow: 0 4px 14px rgba(0,0,0,.18), inset 0 0 0 1.5px #A8C957; }
.esc-bb-pin.on:hover { background: #fff; }
@media (max-width: 760px) { .esc-bb span { display: none; } .esc-bb { width: 42px; padding: 0; justify-content: center; } }

.esc-iconas { position: absolute; inset: 0; }
.esc-baleiro { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; max-width: 420px; text-align: center;
  background: rgba(255,255,255,.88); color: var(--tinta); padding: 16px 20px; border-radius: 16px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* ---------- iconas ---------- */
.esc-ic { position: absolute; width: var(--cw); height: var(--ch); display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 4px 0; border: 0; background: none; border-radius: 16px; cursor: pointer; font: inherit; color: #fff; text-decoration: none;
  transition: background .12s, left .18s, top .18s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.editable .esc-ic { touch-action: none; }
.esc-ic:hover, .esc-ic:focus-visible { background: rgba(255,255,255,.18); outline: none; }
.esc-ic.arrastrando { transition: none; z-index: 30; opacity: .9; pointer-events: none; }
.esc-ic.arrastrando .esc-ic-img { transform: scale(1.08); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.esc-ic.destino { background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 2px #fff; }
.esc-ic-img { width: 62px; height: 62px; flex: none; border-radius: 17px; display: grid; place-items: center; overflow: hidden;
  background: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.25); transition: transform .12s, box-shadow .12s; }
.esc-ic-img svg { width: 32px; height: 32px; }
.esc-ic-txt { max-width: 100%; font-size: 13px; font-weight: 800; line-height: 1.2; text-align: center; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 0 8px rgba(0,0,0,.35);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

.esc-ic.t-app .esc-ic-img { background: #EEF4DC; color: #5E8A12; }
.esc-ic.t-ligazon .esc-ic-img { color: #1F6F8B; }
.esc-ic.t-ligazon .esc-ic-img img { width: 36px; height: 36px; object-fit: contain; }
.esc-ic.t-imaxe .esc-ic-img { background: #fff; padding: 3px; }
.esc-ic.t-imaxe .esc-ic-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.esc-ic.t-cartafol .esc-ic-img, .esc-papeleira .esc-ic-img { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.esc-ic.t-cartafol .esc-ic-img svg, .esc-papeleira .esc-ic-img svg { width: 62px; height: 62px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }

.esc-papeleira { right: 10px; bottom: 6px; left: auto; top: auto; z-index: 5; }
.esc-papeleira .esc-pap-chea { display: none; }
.esc-papeleira.chea .esc-pap-chea { display: inline; }
.esc-papeleira.destino { background: rgba(198,40,40,.35); box-shadow: inset 0 0 0 2px #fff; }

/* ligazóns e cartafoles cunha icona de aplicación (detectada ou escollida) */
.esc-ic .esc-ic-img.app { background: #EEF4DC; color: #5E8A12; border-radius: 17px; box-shadow: 0 5px 14px rgba(0,0,0,.25); overflow: hidden; }
.esc-ic .esc-ic-img.app svg { width: 32px; height: 32px; filter: none; }
.esc-lixo-fila .esc-ic-img.app { background: #EEF4DC; color: #5E8A12; }

/* escoller icona */
.esc-sel-iconas { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; max-height: 236px; overflow-y: auto; padding: 4px; margin: 0 -4px; }
.esc-sel-iconas button { height: 54px; border: 1.5px solid var(--lina); border-radius: 14px; background: #fff; color: #5E8A12; display: grid; place-items: center; cursor: pointer; padding: 0; }
.esc-sel-iconas button svg { width: 24px; height: 24px; }
.esc-sel-iconas button:hover { border-color: var(--verde); background: #F5F7F0; }
.esc-sel-iconas button.on { border-color: var(--verde); background: #EEF4DC; box-shadow: 0 0 0 2px var(--verde); }
.esc-sel-iconas button.auto { font-size: 11px; font-weight: 800; color: var(--suave); line-height: 1.1; text-align: center; }
.esc-sel-iconas button.auto .esc-ic-img { width: 26px; height: 26px; border-radius: 7px; box-shadow: none; background: none; margin: 0 auto 2px; display: grid; place-items: center; overflow: hidden; }
.esc-sel-iconas button.auto .esc-ic-img img, .esc-sel-iconas button.auto .esc-ic-img svg { width: 22px; height: 22px; }
.esc-editar-prev { display: flex; justify-content: center; margin: 0 0 12px; }
.esc-editar-prev .esc-ic { position: relative; color: var(--tinta); cursor: default; }
.esc-editar-prev .esc-ic-txt { color: var(--tinta); text-shadow: none; }
.esc-editar-prev .esc-ic:hover { background: none; }

/* ---------- PIN (vista pública) ---------- */
.esc-pin { position: absolute; inset: 0; display: grid; place-items: center; z-index: 40; background: rgba(15,21,27,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.esc-pin-caixa { background: rgba(255,255,255,.95); border-radius: 26px; padding: 26px 26px 22px; width: min(340px, calc(100% - 32px)); text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.esc-pin-cad { width: 54px; height: 54px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); display: inline-grid; place-items: center; }
.esc-pin-cad svg { width: 26px; height: 26px; }
.esc-pin h2 { margin: 10px 0 12px; font-size: 21px; font-weight: 800; }
.esc-pin-puntos { display: flex; justify-content: center; gap: 12px; min-height: 18px; }
.esc-pin-puntos i { width: 16px; height: 16px; border-radius: 50%; background: var(--tinta); }
.esc-pin-erro { min-height: 20px; margin: 8px 0 6px; color: var(--vermello); font-size: 13.5px; font-weight: 700; }
.esc-pin-teclas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.esc-pin-teclas button { height: 62px; border: 1.5px solid var(--lina); border-radius: 18px; background: #fff; font: inherit; font-size: 24px; font-weight: 800; color: var(--tinta); cursor: pointer; display: grid; place-items: center; touch-action: manipulation; }
.esc-pin-teclas button:active { background: var(--verde-claro); border-color: var(--verde); }
.esc-pin-teclas button svg { width: 26px; height: 26px; }
.esc-pin-teclas button.ok { background: var(--verde); border-color: var(--verde); color: #fff; }
.esc-pin.treme .esc-pin-caixa { animation: esc-treme .35s; }
@keyframes esc-treme { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- ventás ---------- */
.esc-modal { position: fixed; inset: 0; z-index: 100010; display: grid; place-items: center; padding: 16px; background: rgba(15,21,27,.45); }
.esc-modal[hidden], .esc-visor[hidden], .esc-menu[hidden] { display: none !important; }
.esc-xanela { width: min(760px, 100%); max-height: calc(100% - 20px); display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--tinta); }
.esc-xanela.estreita { width: min(480px, 100%); }
.esc-x-cab { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-bottom: 1px solid #EEF0F2; background: #FAFBFA; }
.esc-x-cab h2 { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esc-x-ico { display: grid; place-items: center; }
.esc-x-ico svg { width: 26px; height: 26px; }
.esc-x-ico:empty { display: none; }
.esc-x-pechar, .esc-x-atras { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F2F4F6; color: var(--suave); display: grid; place-items: center; cursor: pointer; padding: 0; }
.esc-x-pechar:hover, .esc-x-atras:hover { background: #E8ECEF; color: var(--tinta); }
.esc-x-pechar svg, .esc-x-atras svg { width: 20px; height: 20px; }
.esc-x-corpo { padding: 16px 18px 18px; overflow: auto; }

/* contido dun cartafol (e da papeleira) */
.esc-cart { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 4px; min-height: 140px; border-radius: 16px; padding: 6px; }
.esc-cart .esc-ic { position: relative; width: auto; color: var(--tinta); touch-action: manipulation; }
.esc-cart .esc-ic-txt { color: var(--tinta); text-shadow: none; }
.esc-cart .esc-ic:hover { background: #F5F7F0; box-shadow: inset 0 0 0 1px #CFE0A8; }
.editable .esc-cart .esc-ic { touch-action: none; }
.esc-cart .esc-ic.orixe { opacity: .3; }
/* copia que se arrastra (vai no <body>, fóra de .esc: leva as súas propias medidas) */
.esc-fantasma { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px 0; border: 0; border-radius: 16px; background: rgba(255,255,255,.22); font-family: "AxNunito", system-ui, sans-serif; box-sizing: border-box; }
.esc-fantasma .esc-ic-img { width: 62px; height: 62px; border-radius: 17px; display: grid; place-items: center; overflow: hidden; background: #fff; color: #1F6F8B; transform: scale(1.1); box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.esc-fantasma .esc-ic-img.app { background: #EEF4DC; color: #5E8A12; }
.esc-fantasma .esc-ic-img svg { width: 32px; height: 32px; }
.esc-fantasma.t-cartafol .esc-ic-img:not(.app) { background: none; box-shadow: none; overflow: visible; }
.esc-fantasma.t-cartafol .esc-ic-img:not(.app) svg { width: 62px; height: 62px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.esc-fantasma.t-ligazon .esc-ic-img img { width: 36px; height: 36px; object-fit: contain; }
.esc-fantasma.t-imaxe .esc-ic-img { padding: 3px; }
.esc-fantasma.t-imaxe .esc-ic-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.esc-fantasma .esc-ic-txt { max-width: 100%; font-size: 13px; font-weight: 800; line-height: 1.2; text-align: center; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 0 8px rgba(0,0,0,.4);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* arrastrando unha icona fóra da ventá dun cartafol: vese o escritorio para soltala nel */
.esc-modal.fora { background: transparent; pointer-events: none; }
.esc-modal.fora .esc-xanela { opacity: .35; transition: opacity .15s; }
.esc-cart-baleiro { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--suave); margin: 24px 0; }
.esc-x-pe { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; padding-top: 12px; border-top: 1px solid #EEF0F2; }

/* botóns */
.esc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--verde); color: #fff;
  font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; text-decoration: none; touch-action: manipulation; }
.esc-btn svg { width: 18px; height: 18px; flex: none; }
.esc-btn.sec { background: #fff; color: var(--tinta); border: 1.5px solid var(--lina); }
.esc-btn.sec:hover { border-color: var(--verde); color: var(--verde); }
.esc-btn.perigo { background: #fff; color: #9A2B2B; border: 1.5px solid #E8C4C4; }
.esc-btn.perigo:hover { background: #FCE4E4; }
.esc-btn.perigo-forte { background: var(--vermello); }
.esc-btn[disabled] { opacity: .5; cursor: default; }

/* lapelas de «Engadir» */
.esc-lapelas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.esc-lapelas button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1.5px solid var(--lina); border-radius: 999px; background: #fff;
  font: inherit; font-size: 14px; font-weight: 800; color: var(--suave); cursor: pointer; }
.esc-lapelas button svg { width: 18px; height: 18px; }
.esc-lapelas button.on { background: var(--verde-claro); border-color: #CFE0A8; color: #3C5E0B; }
.esc-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 4px; }
.esc-app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border: 0; border-radius: 14px; background: none; cursor: pointer; font: inherit; font-size: 12.5px; line-height: 1.2; color: var(--tinta); text-align: center; }
.esc-app:hover { background: #F5F7F0; box-shadow: inset 0 0 0 1px #CFE0A8; }
.esc-app .esc-ic-img { width: 46px; height: 46px; border-radius: 13px; background: #EEF4DC; color: #5E8A12; box-shadow: none; }
.esc-app .esc-ic-img svg { width: 24px; height: 24px; }
.esc-app span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.esc-app.engadida .esc-ic-img { background: var(--verde); color: #fff; }
.esc-busca { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border-radius: 999px; background: #F3F5F7; color: var(--suave); margin-bottom: 10px; }
.esc-busca svg { width: 17px; height: 17px; flex: none; }
.esc-busca input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font: inherit; }
.esc-nota { color: var(--suave); font-size: 13px; margin: 6px 0 12px; }
.esc-campo { margin-bottom: 12px; }
.esc-campo > label { display: block; font-size: 12.5px; font-weight: 700; color: var(--suave); margin: 0 0 5px; }
.esc input[type=url], .esc input[type=password], .esc input[type=tel] { width: 100%; font: inherit; color: var(--tinta); background: #fff; border: 1.5px solid var(--lina); border-radius: 10px; padding: 9px 11px; outline: none; }
.esc input[type=url]:focus, .esc input[type=password]:focus, .esc input[type=tel]:focus { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(94,138,18,.15); }
.esc-subir { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 110px; border: 2.5px dashed var(--lina); border-radius: 16px; background: #FAFBFA; color: var(--suave); font-weight: 800; cursor: pointer; text-align: center; padding: 12px; }
.esc-subir:hover { border-color: var(--verde); color: var(--verde); }
.esc-subir svg { width: 26px; height: 26px; }
.esc-subir img { max-height: 160px; max-width: 100%; border-radius: 10px; }
.esc-subir input { display: none; }

/* configuración */
.esc-sec { margin-bottom: 18px; }
.esc-sec h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.esc-sec h3 svg { width: 18px; height: 18px; color: var(--verde); }
.esc-fondos { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.esc-fondo { position: relative; height: 58px; border: 0; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px;
  font: inherit; font-size: 11.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); overflow: hidden; }
.esc-fondo.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--verde); }
.esc-fondo input[type=color] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.esc-fondo.cor { background: conic-gradient(#F87171, #FBBF24, #A3E635, #34D399, #60A5FA, #A78BFA, #F472B6, #F87171); }
.esc-fondo.foto { background: #F3F5F7; color: var(--suave); text-shadow: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; line-height: 1.1; text-align: center; }
.esc-fondo.foto svg { width: 20px; height: 20px; flex: none; }
.esc-fondo.foto span { max-width: 100%; }
.esc-fondo.foto:hover { color: var(--verde); }
.esc-fondo.foto input { display: none; }
.esc-lin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.esc-lin input { flex: 1; min-width: 160px; }
.esc-estado { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--verde-claro); color: #3C5E0B; font-size: 13px; font-weight: 800; }
.esc-estado.non { background: #F3F5F7; color: var(--suave); }

/* menú contextual */
.esc-menu { position: fixed; z-index: 100020; min-width: 210px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.28); border: 1px solid #E3E7EB; }
.esc-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--tinta); cursor: pointer; text-align: left; }
.esc-menu button:hover { background: #F5F7F0; color: var(--verde); }
.esc-menu button svg { width: 19px; height: 19px; flex: none; color: var(--suave); }
.esc-menu button.perigo { color: #9A2B2B; }
.esc-menu button.perigo svg { color: #C62828; }
.esc-menu hr { border: 0; border-top: 1px solid #EEF0F2; margin: 4px 6px; }

/* destinos de «Mover a…» */
.esc-destinos { display: grid; gap: 6px; }
.esc-destinos button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--lina); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--tinta); cursor: pointer; text-align: left; }
.esc-destinos button:hover { border-color: var(--verde); color: var(--verde); }
.esc-destinos button svg { width: 24px; height: 24px; flex: none; }

/* papeleira */
.esc-lixo { display: grid; gap: 8px; }
.esc-lixo-fila { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--lina); border-radius: 14px; }
.esc-lixo-fila .esc-ic-img { width: 44px; height: 44px; border-radius: 12px; box-shadow: none; background: #F3F5F7; }
.esc-lixo-fila .esc-ic-img svg { width: 26px; height: 26px; }
.esc-lixo-fila .esc-ic-img img { width: 100%; height: 100%; object-fit: cover; }
.esc-lixo-fila b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esc-lixo-fila .esc-btn { min-height: 36px; padding: 0 12px; font-size: 13.5px; }

/* visor de imaxes */
.esc-visor { position: fixed; inset: 0; z-index: 100015; background: rgba(10,14,18,.94); display: flex; align-items: center; justify-content: center; }
.esc-visor figure { margin: 0; max-width: calc(100% - 140px); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.esc-visor img { max-width: 100%; max-height: calc(100vh - 90px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.esc-visor figcaption { color: #fff; font-size: 18px; font-weight: 800; text-align: center; }
.esc-v-b { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.esc-v-b:hover { background: rgba(255,255,255,.28); }
.esc-v-b svg { width: 28px; height: 28px; }
.esc-v-pechar { top: 16px; right: 16px; }
.esc-v-ant { left: 16px; top: 50%; transform: translateY(-50%); }
.esc-v-seg { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .esc-visor figure { max-width: 100%; } .esc-v-ant, .esc-v-seg { top: auto; bottom: 16px; transform: none; } }

/* aviso */
.esc-aviso { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #1F2933; color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; z-index: 100030; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.esc-aviso.on { opacity: 1; }
.esc-aviso.erro { background: var(--vermello); }

/* pé */
.esc-pe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 16px; }
.esc-pe a, .esc-pe button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--lina);
  color: var(--suave); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: none; }
.esc-pe svg { width: 15px; height: 15px; flex: none; }
.esc-pe a:hover, .esc-pe button:hover { color: var(--verde); border-color: var(--verde); }
