@font-face {
  font-family: "NS Edo";
  src: url("/ui/fonts/edo-sz.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020, U+002E, U+0030-0039, U+0041-005A, U+0061-007A, U+00A0;
}

@font-face {
  font-family: "NS Franklin";
  src: url("/ui/fonts/franklin-demi.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cielo: #14d5f5;
  --cielo-medio: #6ae7ff;
  --cielo-claro: #d5fbff;
  --pradera: #86ab37;
  --pradera-clara: #a9cf55;
  --pradera-honda: #4c6e1b;
  --pradera-noche: #33480f;
  --tinta: #241810;
  --tinta-2: #3e3022;
  --tinta-3: #6a5844;
  --madera: #6d3c09;
  --madera-honda: #4a2a10;
  --madera-clara: #a8723a;
  --pergamino: #ecd9bd;
  --pergamino-2: #dcc19a;
  --pergamino-borde: #a9855a;
  --oro: #f2b630;
  --oro-claro: #ffd56a;
  --oro-hondo: #c68a0f;
  --oro-borde: #6b4300;
  --rojo: #d4411a;
  --rojo-hondo: #8a2410;
  --verde: #2ea32e;
  --verde-hondo: #1c6e1c;
  --texto: #33200f;
  --texto-suave: #6a5238;
  --claro: #fbf1de;
  --apagado: #cdb99a;
  --linea: rgba(205, 185, 154, 0.28);
  --ok: #58b43a;
  --aviso: #f0a91a;
  --error: #e0564a;
  --f-display: "NS Edo", "NS Franklin", "Franklin Gothic Demi", "Arial Narrow", "Trebuchet MS", system-ui, sans-serif;
  --f-ui: "NS Franklin", "Franklin Gothic Demi", "Avenir Next", "Segoe UI", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --f-body: "Avenir Next", "Segoe UI", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --header-h: 56px;
  --radio: 12px;
  --sombra: 0 10px 30px rgba(20, 10, 2, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.se-body {
  margin: 0;
  min-height: 100vh;
  background: var(--tinta);
  color: var(--claro);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
body.se-body img { max-width: 100%; }
body.se-body:not(.ns-play):not(.panel) { display: flex; flex-direction: column; }
body.se-body:not(.ns-play):not(.panel) > main { flex: 1 0 auto; }
body.se-body:not(.ns-play):not(.panel) > header, body.se-body:not(.ns-play):not(.panel) > footer { flex: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden], .hidden { display: none !important; }
.se-sprite { position: absolute; }
.se-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.se-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--oro); color: var(--tinta);
  padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.se-skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--oro-claro); outline-offset: 2px; }
.lp :focus-visible, .on-light :focus-visible, .ns-band--meadow :focus-visible { outline-color: var(--tinta-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.se-title {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--oro-claro);
  -webkit-text-stroke: 0.14em var(--tinta);
  paint-order: stroke fill;
  text-shadow: 0 0.07em 0 var(--tinta), 0 0.14em 0.1em rgba(20, 10, 2, 0.35);
  letter-spacing: 0.02em;
  line-height: 1.06;
  margin: 0;
}

.se-header {
  position: sticky; top: 0; z-index: 60;
  padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  background: linear-gradient(180deg, var(--madera) 0%, var(--madera-honda) 55%, #341d0c 100%);
  border-bottom: 3px solid var(--madera-clara);
  box-shadow: 0 3px 0 var(--tinta), 0 8px 18px rgba(20, 10, 2, 0.4);
  container: hdr / inline-size;
}
.se-header__in {
  max-width: 1920px; margin: 0 auto; padding: 0 14px; min-height: var(--header-h);
  display: flex; align-items: center; gap: 10px; flex-wrap: nowrap;
}
.se-brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; padding: 4px 0; }
.se-brand img { display: block; height: 38px; width: auto; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.4)); }
.se-nav { display: flex; align-items: center; flex: none; gap: 2px; margin-right: auto; margin-left: 8px; }
.se-nav a, .se-nav button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; min-width: 40px; padding: 0 10px;
  border: 0; border-radius: 10px; background: transparent; color: var(--apagado);
  font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; text-decoration: none; letter-spacing: 0.01em;
}
@media (pointer: coarse) { .se-nav a, .se-nav button { min-height: 44px; } }
.se-nav a:hover, .se-nav button:hover { color: var(--claro); background: rgba(255, 255, 255, 0.1); }
.se-nav [aria-current="page"] { color: var(--tinta); background: var(--oro); }
.se-nav [aria-current="page"]:hover { background: var(--oro-claro); color: var(--tinta); }
.se-nav svg { width: 18px; height: 18px; flex: none; }
.se-nav__txt {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.se-badge-n {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rojo); color: #fff;
  font: 400 0.72rem/20px var(--f-ui); text-align: center; box-shadow: 0 0 0 2px var(--madera-honda);
}
.se-nav .se-badge-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 0.66rem; line-height: 18px; white-space: nowrap; }
.se-header__right { display: flex; align-items: center; flex: none; gap: 10px; }
.se-header__right--solo { margin-left: auto; }
.se-guest { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.se-guest__links { display: flex; gap: 2px; }
.se-guest__links a {
  padding: 8px 12px; border-radius: 8px; color: var(--apagado); text-decoration: none; font-family: var(--f-ui); font-weight: 700; font-size: 0.93rem; white-space: nowrap;
}
.se-guest__links a:hover { color: var(--claro); background: rgba(255, 255, 255, 0.1); }
.se-guest__links a[aria-current="page"] { color: var(--oro-claro); }
.se-guest .se-btn, .se-header__right .se-btn { white-space: nowrap; flex: none; }

.se-lang { position: relative; display: inline-flex; align-items: center; }
.se-lang > summary {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; cursor: pointer;
  background: rgba(36, 24, 16, 0.55); color: var(--claro);
  font: 400 12px/1 var(--f-ui); letter-spacing: 0.04em;
}
.se-lang > summary::-webkit-details-marker { display: none; }
.se-lang > summary:hover, .se-lang[open] > summary { background: rgba(255, 255, 255, 0.16); }
.se-lang > summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.se-lang__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 90; min-width: 168px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--linea); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background: var(--tinta-2); color: var(--claro);
}
.se-lang__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px;
  background: transparent; color: inherit; font: 600 14px/1.2 var(--f-body); text-align: left; text-decoration: none; cursor: pointer;
}
.se-lang__opt:hover, .se-lang__opt:focus-visible { background: rgba(255, 255, 255, 0.12); outline: none; }
.se-lang__opt[aria-selected="true"] { color: var(--oro-claro); }
.se-lang__code { font: 400 11px/1 var(--f-ui); opacity: 0.7; }

.se-account { position: relative; flex: none; }
.se-account > summary {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 4px; border-radius: 19px; list-style: none; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.07); font-family: var(--f-ui); font-weight: 700; font-size: 0.92rem;
}
.se-account > summary::-webkit-details-marker { display: none; }
.se-account > summary:hover, .se-account[open] > summary { background: rgba(255, 255, 255, 0.16); }
.se-account > summary svg { width: 16px; height: 16px; flex: none; }
.se-avatar {
  position: relative; flex: none; width: 30px; height: 30px; aspect-ratio: 1 / 1; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--rojo); color: #fff; font: 400 0.95rem/1 var(--f-display); border: 2px solid var(--oro);
}
.se-account__name { display: none; max-width: 120px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; min-width: 250px; padding: 8px;
  max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--tinta-2); border: 2px solid var(--madera-clara); border-radius: 14px; box-shadow: var(--sombra);
}
.se-menu__who { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; border-bottom: 1px solid var(--linea); margin-bottom: 6px; }
.se-menu__who .se-avatar { width: 40px; height: 40px; }
.se-menu__who b { display: block; font-size: 0.98rem; overflow-wrap: anywhere; }
.se-menu__who span.se-menu__sub { display: block; font-size: 0.8rem; color: var(--apagado); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.se-menu a, .se-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px;
  background: transparent; color: var(--claro); font-size: 0.93rem; text-align: left; text-decoration: none;
}
.se-menu a:hover, .se-menu button:hover, .se-menu a:focus-visible, .se-menu button:focus-visible { background: rgba(255, 255, 255, 0.12); }
.se-menu hr { border: 0; border-top: 1px solid var(--linea); margin: 6px 0; }
.se-menu form { margin: 0; }
.se-menu svg { width: 18px; height: 18px; flex: none; color: var(--apagado); }
.se-menu .se-menu__danger { color: #ffc2b8; }

.se-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 12px; border: 2px solid transparent; font-family: var(--f-ui); font-weight: 800; font-size: 0.97rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; transition: transform 0.08s ease, filter 0.15s ease, background-color 0.15s;
}
.se-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.se-btn:active:not(:disabled) { transform: translateY(2px); }
.se-btn-primary {
  background: linear-gradient(180deg, var(--oro-claro) 0%, var(--oro) 48%, #e0a01a 100%); color: #3a2300;
  border-color: var(--oro-borde); box-shadow: 0 4px 0 var(--oro-borde), 0 8px 16px rgba(0, 0, 0, 0.25);
}
.se-btn-primary:hover:not(:disabled) { filter: brightness(1.07); }
.se-btn-primary:active:not(:disabled) { box-shadow: 0 2px 0 var(--oro-borde); }
.se-btn-secondary { background: rgba(255, 255, 255, 0.09); color: var(--claro); border-color: rgba(255, 255, 255, 0.3); }
.se-btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
.se-btn-danger { background: #a3241d; color: #fff; border-color: #6d1510; box-shadow: 0 3px 0 #6d1510; }
.se-btn-danger:hover:not(:disabled) { background: #bd2d25; }
.se-btn-sm { min-height: 34px; padding: 0 14px; font-size: 0.85rem; border-radius: 9px; }
@media (pointer: coarse) { .se-btn-sm { min-height: 40px; } }
.se-btn-block { width: 100%; }

.se-field { margin-bottom: 16px; }
.se-label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 0.88rem; color: var(--claro); }
.se-input {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.22);
  background: #1a110a; color: var(--claro); font: inherit; font-size: 1rem;
}
.se-input::placeholder { color: #8a7a66; }
.se-input:focus { border-color: var(--oro); outline: none; box-shadow: 0 0 0 3px rgba(242, 182, 48, 0.3); }
.se-input[aria-invalid="true"] { border-color: var(--error); }
.se-hint { margin: 6px 0 0; font-size: 0.8rem; color: var(--apagado); }
.se-error {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(224, 86, 74, 0.16); border: 1px solid rgba(224, 86, 74, 0.55);
  color: #ffd6d0; font-size: 0.9rem;
}
.se-error a { color: #fff; }
.se-error.se-ok { background: rgba(88, 180, 58, 0.16); border-color: rgba(88, 180, 58, 0.5); color: #cbf0bd; }
.se-pw { position: relative; }
.se-pw .se-input { padding-right: 84px; }
.se-pw button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 32px; padding: 0 10px; border-radius: 8px; border: 0;
  background: rgba(255, 255, 255, 0.1); color: var(--apagado); font-size: 0.78rem; font-weight: 700;
}
.se-pw button:hover { color: var(--claro); background: rgba(255, 255, 255, 0.2); }
.se-meter { display: flex; gap: 4px; margin-top: 8px; }
.se-meter span { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); transition: background-color 0.2s; }
.se-meter[data-score="1"] span:nth-child(-n+1) { background: #e0564a; }
.se-meter[data-score="2"] span:nth-child(-n+2) { background: #f0a91a; }
.se-meter[data-score="3"] span:nth-child(-n+3) { background: #a5cf3a; }
.se-meter[data-score="4"] span:nth-child(-n+4) { background: #58b43a; }

.ns-foot { background: #170f08; color: var(--apagado); padding: 30px 0 36px; font-size: 0.88rem; border-top: 3px solid var(--madera); }
.ns-foot__in { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ns-foot__in img { height: 44px; width: auto; flex: none; }
.ns-foot__txt { margin: 0; flex: 1 1 300px; max-width: 56em; line-height: 1.5; }
.ns-foot__links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.ns-foot__links a { color: var(--claro); text-decoration: none; padding: 6px 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); font-family: var(--f-ui); font-weight: 700; font-size: 0.85rem; }
.ns-foot__links a:hover { background: rgba(255, 255, 255, 0.16); }
.ns-foot__langs { width: min(1180px, calc(100% - 40px)); margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.ns-foot__langs a { color: var(--apagado); text-decoration: underline; }
.ns-foot__langs a[aria-current="true"] { color: var(--claro); font-weight: 800; text-decoration: none; }

@container hdr (min-width: 64rem) {
  .se-nav a, .se-nav button { padding: 0 14px; }
  .se-nav__txt { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
  .se-nav .se-badge-n { position: static; margin-left: 2px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 0.72rem; line-height: 20px; }
}
@container hdr (min-width: 52rem) {
  .se-account__name { display: block; }
}
@container hdr (max-width: 45rem) {
  .se-guest__links, .se-hdr-versions { display: none; }
}
@container hdr (max-width: 31rem) {
  .se-header__in { min-height: 0; gap: 4px 6px; padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; flex-wrap: wrap; }
  .se-brand img { height: 30px; }
  .se-header__in > .se-header__right, .se-guest { margin-left: auto; }
  .se-header__right { gap: 6px; }
  .se-account > summary { height: 32px; padding: 0 8px 0 3px; gap: 5px; }
  .se-avatar { width: 26px; height: 26px; }
  .se-lang > summary { height: 32px; padding: 0 8px; }
  .se-nav { order: 6; flex: 1 0 100%; justify-content: space-around; margin: 0; gap: 6px; padding-top: 3px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .se-nav a, .se-nav button { flex: 0 1 64px; min-height: 36px; border-radius: 9px; }
  .se-guest { gap: 6px; }
  .se-guest .se-btn { padding: 0 10px; }
}
@container hdr (max-width: 24rem) {
  .se-brand img { height: 26px; }
  .se-guest .se-btn-sm { padding: 0 8px; font-size: 0.8rem; }
}

.ns-notice { display: block; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 0.94rem; }
.ns-notice.error { background: rgba(224, 86, 74, 0.16); border-color: rgba(224, 86, 74, 0.55); color: #ffd6d0; }
.ns-notice.ok { background: rgba(88, 180, 58, 0.16); border-color: rgba(88, 180, 58, 0.5); color: #cbf0bd; }

.ns-pg, :where(body.panel) {
  --bg: #1f140b; --panel: #2f2012; --panel-2: #3b2a18; --ink: #fbf1de; --muted: #cdb99a; --accent: #d4411a; --accent-ink: #fff;
  --line: rgba(255, 255, 255, 0.2); --bad: #ff8a78; --good: #8fe08a; --info: #7fd3ee; --warn: #ffd36a; --link: #ffd08a; --field: #1a110a;
}
body.panel .ns-pg {
  --bg: #f4e6cc; --panel: #fffaf0; --panel-2: #f1e0bf; --ink: #3a2511; --muted: #6d5636; --accent: #c4361a; --accent-ink: #fff;
  --line: #cfae7c; --bad: #a3241d; --good: #2c6a18; --info: #12495f; --warn: #8a5a00; --link: #8a4a00; --field: #fffdf6;
}
body.panel { background: var(--pergamino); color: var(--texto); min-height: 0; }
.ns-pg { width: min(780px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 54px; color: var(--ink); }
.ns-pg.wide { width: min(1000px, calc(100% - 32px)); }
body.panel .ns-pg { width: 100%; padding: 16px 18px 30px; }
:where(.ns-pg) h1 { font: 400 clamp(1.9rem, 4vw, 2.7rem)/1.08 var(--f-display); text-transform: uppercase; color: var(--oro-claro); -webkit-text-stroke: 0.12em var(--tinta); paint-order: stroke fill; text-shadow: 0 0.06em 0 var(--tinta); margin: 0 0 12px; letter-spacing: 0.02em; }
body.panel :where(.ns-pg) h1 { color: var(--rojo-hondo); -webkit-text-stroke: 0; text-shadow: none; font-size: 1.7rem; }
:where(.ns-pg) h2 { font: 400 1.35rem/1.15 var(--f-display); text-transform: uppercase; color: var(--oro-claro); margin: 26px 0 10px; letter-spacing: 0.02em; }
body.panel :where(.ns-pg) h2 { color: var(--rojo-hondo); }
:where(.ns-pg) h3 { font: 700 1.05rem/1.25 var(--f-ui); color: var(--ink); margin: 0 0 6px; }
:where(.ns-pg) p { margin: 8px 0; }
:where(.ns-pg) .lead { color: var(--muted); margin: 0 0 20px; font-size: 1.05rem; max-width: 680px; }
:where(.ns-pg) .hint, :where(.ns-pg) .muted { color: var(--muted); font-size: 0.9rem; }
:where(.ns-pg) a { color: var(--link); }
:where(.ns-pg) a:hover { color: #fff; }
body.panel :where(.ns-pg) a:hover { color: var(--rojo-hondo); }
:where(.ns-pg) .card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 14px 0; display: grid; gap: 14px; }
body.panel :where(.ns-pg) .card { background: var(--panel); border-color: var(--pergamino-borde); box-shadow: 0 3px 0 rgba(107, 67, 0, 0.18); }
:where(.ns-pg) .card.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
:where(.ns-pg) .card p { margin: 6px 0; }
:where(.ns-pg) .card > h2:first-child { margin-top: 0; }
:where(.ns-pg) .card > ol, :where(.ns-pg) .card > ul { margin: 0; }
:where(.ns-pg) dl.card { grid-template-columns: max-content 1fr; gap: 8px 18px; }
:where(.ns-pg) dt { color: var(--muted); }
:where(.ns-pg) dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
:where(.ns-pg) label { display: grid; gap: 6px; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
:where(.ns-pg) input, :where(.ns-pg) textarea, :where(.ns-pg) select {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--field); color: var(--ink); font: inherit; font-size: 1rem;
}
:where(.ns-pg) textarea { min-height: 120px; resize: vertical; }
:where(.ns-pg) input:focus, :where(.ns-pg) select:focus, :where(.ns-pg) textarea:focus { border-color: var(--oro); outline: none; box-shadow: 0 0 0 3px rgba(242, 182, 48, 0.3); }
:where(.ns-pg) input[type=file] { min-height: 0; padding: 8px; }
:where(.ns-pg) input[type=file]::file-selector-button { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; margin-right: 12px; font: inherit; cursor: pointer; }
:where(.ns-pg) input[type=checkbox], :where(.ns-pg) input[type=radio] { width: 18px; min-height: 0; height: 18px; padding: 0; accent-color: var(--oro); }
:where(.ns-pg) .button, :where(.ns-pg) button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; cursor: pointer;
  border-radius: 12px; border: 2px solid var(--oro-borde); font: 800 0.97rem/1 var(--f-ui); letter-spacing: 0.01em; text-decoration: none; color: #3a2300;
  background: linear-gradient(180deg, var(--oro-claro) 0%, var(--oro) 48%, #e0a01a 100%); box-shadow: 0 4px 0 var(--oro-borde), 0 8px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.08s ease, filter 0.15s ease; width: auto;
}
:where(.ns-pg) .button:hover, :where(.ns-pg) button:hover { filter: brightness(1.07); color: #3a2300; }
:where(.ns-pg) .button:active, :where(.ns-pg) button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--oro-borde); }
:where(.ns-pg) .button.ghost, :where(.ns-pg) button.ghost { background: rgba(255, 255, 255, 0.09); color: var(--ink); border-color: var(--line); box-shadow: none; }
:where(.ns-pg) .button.ghost:hover, :where(.ns-pg) button.ghost:hover { background: rgba(255, 255, 255, 0.18); color: var(--ink); }
body.panel :where(.ns-pg) .button.ghost, body.panel :where(.ns-pg) button.ghost { background: var(--panel-2); border-color: var(--pergamino-borde); }
:where(.ns-pg) button.link { background: none; border: 0; box-shadow: none; padding: 0; min-height: 0; color: var(--ink); font-weight: 400; text-decoration: underline; }
:where(.ns-pg) .button.small, :where(.ns-pg) button.small { min-height: 34px; padding: 0 14px; font-size: 0.85rem; border-radius: 9px; }
:where(.ns-pg) button:disabled, :where(.ns-pg) .button[aria-disabled=true] { opacity: 0.55; cursor: not-allowed; }
:where(.ns-pg) form.inline { display: inline; margin: 0; }
:where(.ns-pg) .row, :where(.ns-pg) .actions-left { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
:where(.ns-pg) .notice { display: block; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-weight: 700; font-size: 0.94rem; }
:where(.ns-pg) .notice.error { background: rgba(224, 86, 74, 0.16); border-color: rgba(224, 86, 74, 0.55); color: var(--bad); }
:where(.ns-pg) .notice.ok { background: rgba(88, 180, 58, 0.16); border-color: rgba(88, 180, 58, 0.5); color: var(--good); }
body.panel :where(.ns-pg) .notice.error { background: #fbd9d4; }
body.panel :where(.ns-pg) .notice.ok { background: #dff3d4; }
:where(.ns-pg) .tag { display: inline-block; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; font-size: 12px; color: var(--good); vertical-align: middle; }
:where(.ns-pg) .sessions { list-style: none; margin: 0; padding: 0; }
:where(.ns-pg) .session { gap: 6px; }
:where(.ns-pg) .session form { margin: 0; }
:where(.ns-pg) .appeal-hint p { margin: 0 0 8px; }
:where(.ns-pg) .wrap { overflow-wrap: anywhere; white-space: pre-wrap; }
:where(.ns-pg) .thread { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
:where(.ns-pg) .msg { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
:where(.ns-pg) .msg.mine { border-color: var(--info); }
:where(.ns-pg) .msg.staff { border-color: var(--warn); }
:where(.ns-pg) .msg-head { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
:where(.ns-pg) .msg-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
:where(.ns-pg) ol, :where(.ns-pg) ul { padding-left: 1.3rem; }
:where(.ns-pg) li { margin: 4px 0; }
:where(.ns-pg) code { background: rgba(255, 255, 255, 0.12); padding: 1px 6px; border-radius: 5px; font-size: 0.9em; }
.table-wrap { overflow-x: auto; }
:where(.ns-pg) table { width: 100%; border-collapse: collapse; font-size: 0.92rem; text-align: left; }
:where(.ns-pg) th { padding: 11px 12px; color: var(--muted); font-weight: 700; background: rgba(0, 0, 0, 0.22); border-bottom: 1px solid var(--line); white-space: nowrap; }
:where(.ns-pg) td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.nf { text-align: center; padding: 30px 0; }
.nf-code { margin: 0; font: 400 clamp(4rem, 14vw, 8rem)/1 var(--f-display); color: var(--oro-claro); -webkit-text-stroke: 0.08em var(--tinta); paint-order: stroke fill; text-shadow: 0 0.05em 0 var(--tinta); }
.nf .row { justify-content: center; }
.nf .lead { margin-inline: auto; }
.ns-pg .section-anchor { scroll-margin-top: calc(var(--hdr-h, 60px) + 12px); }

@media (max-width: 640px) {
  .ns-pg { padding: 22px 0 40px; }
  :where(.ns-pg) .card { padding: 16px; }
  :where(.ns-pg) dl.card { grid-template-columns: 1fr; gap: 2px; }
  :where(.ns-pg) dt { margin-top: 8px; }
}
