/* Colores y letra de seitonsoft.com */
@font-face { font-family: Murecho; src: url(/murecho.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light dark;
  --surface: light-dark(#f5f1e8, #161513); --raised: light-dark(#fcfaf5, #201e1b); --sunken: light-dark(#ebe5d8, #0f0e0c);
  --tatami: light-dark(#ddd3c0, #2e2a25); --line: light-dark(#d6cdbb, #3a3631); --strong: light-dark(#8f8676, #6f685d);
  --ink: light-dark(#1d1b18, #f0ebe1); --muted: light-dark(#5d584f, #aaa293); --on-ink: light-dark(#f5f1e8, #161513);
  --shu: light-dark(#c13b22, #e8664a); --on-shu: light-dark(#fff, #1d0e09); --shu-soft: light-dark(#f7e0d8, #3d1f17); --shu-ink: light-dark(#a8321c, #f08468);
  --ai: light-dark(#24426c, #93b2dd); --ai-soft: light-dark(#e0e6ef, #1c2738);
  --matsu: light-dark(#386544, #86b892); --matsu-soft: light-dark(#dfeadf, #1b2b1f);
  --kin: light-dark(#8a5d0c, #e2b04f); --kin-soft: light-dark(#f4e6c8, #33270f);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 16px/1.5 Murecho, system-ui, sans-serif; overflow-wrap: anywhere; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 1.15rem; font-weight: 700; } h3 { font-size: 1rem; font-weight: 600; }
a { color: var(--ai); } .muted { color: var(--muted); } small, .small { font-size: .84rem; }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.btn { border: 1px solid var(--strong); background: none; padding: 7px 14px; min-height: 40px; cursor: pointer; text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
.btn:hover { background: var(--sunken); } .btn:disabled { opacity: .5; cursor: wait; }
.btn.main { background: var(--shu); border-color: var(--shu); color: var(--on-shu); font-weight: 600; } .btn.main:hover { filter: brightness(1.08); }
.btn.sm { min-height: 32px; padding: 3px 10px; font-size: .84rem; } .btn.danger { color: var(--shu-ink); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .between { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 12px; align-content: start; } .pre { white-space: pre-wrap; }
label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--strong); background: var(--raised); font-weight: 400; border-radius: 0; }
textarea { min-height: 110px; resize: vertical; }
/* entrada */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login form { width: min(100%, 380px); display: grid; gap: 16px; background: var(--raised); border: 1px solid var(--line); border-top: 6px solid var(--shu); padding: 32px; }
.logo { background: #f5f1e8; padding: 5px; display: block; }
.error { color: var(--shu-ink); background: var(--shu-soft); padding: 8px 12px; } .error:empty { display: none; }
/* estructura */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--raised); border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side .brand { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; text-decoration: none; color: inherit; }
.side nav { display: grid; gap: 2px; } .side nav a { padding: 8px 10px; color: inherit; text-decoration: none; border-left: 3px solid transparent; }
.side nav a:hover { background: var(--sunken); } .side nav a.on { border-color: var(--shu); background: var(--shu-soft); font-weight: 600; }
.side .foot { margin-top: auto; padding-top: 16px; display: grid; gap: 8px; }
main { padding: clamp(18px, 3.5vw, 44px); display: grid; gap: 28px; align-content: start; min-width: 0; max-width: 1400px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.two { display: grid; gap: 28px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.card { background: var(--raised); border: 1px solid var(--line); padding: 18px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
a.card:hover, button.card:hover { border-color: var(--strong); } button.card { text-align: left; cursor: pointer; width: 100%; }
.card.project { border-top: 5px solid var(--shu); }
.bar { height: 8px; background: var(--tatami); } .bar i { display: block; height: 100%; background: var(--matsu); }
.tag { font-size: .78rem; font-weight: 600; padding: 2px 8px; background: var(--tatami); white-space: nowrap; }
.t-ok { background: var(--matsu-soft); color: var(--matsu); } .t-warn { background: var(--kin-soft); color: var(--kin); } .t-bad { background: var(--shu-soft); color: var(--shu-ink); } .t-info { background: var(--ai-soft); color: var(--ai); }
.who { display: inline-flex; gap: 6px; align-items: center; } .who b { width: 28px; height: 28px; display: grid; place-items: center; background: var(--ai-soft); color: var(--ai); font-size: .74rem; position: relative; flex: none; }
.who.on b::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; background: var(--matsu); border: 2px solid var(--raised); border-radius: 50%; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; } .tabs a { padding: 9px 14px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-color: var(--shu); font-weight: 600; }
.board { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(210px, 1fr)); overflow-x: auto; } .col { background: var(--sunken); padding: 12px; display: grid; gap: 10px; align-content: start; min-height: 200px; } .col.over, .drop.over { outline: 2px dashed var(--shu); outline-offset: -2px; }
.col .card { padding: 12px; gap: 8px; }
.list { border: 1px solid var(--line); background: var(--raised); } .list > * { padding: 9px 14px; border-top: 1px solid var(--line); } .list > :first-child { border-top: 0; }
.link { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } .gallery button { border: 1px solid var(--line); background: var(--raised); padding: 0; cursor: pointer; text-align: left; } .gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--sunken); } .gallery span { display: block; padding: 6px 8px; font-size: .8rem; }
.empty { border: 1px dashed var(--strong); padding: 26px; color: var(--muted); text-align: center; }
dialog { border: 1px solid var(--line); border-top: 6px solid var(--shu); background: var(--surface); color: inherit; padding: 26px; width: min(94vw, 620px); max-height: 92vh; overflow: auto; } dialog::backdrop { background: #080706a8; } dialog.wide { width: min(96vw, 1200px); } dialog img, dialog video { max-width: 100%; max-height: 70vh; display: block; margin: auto; }
.pair { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
#avisos { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 9; max-width: min(380px, 92vw); } #avisos div { background: var(--ink); color: var(--on-ink); padding: 10px 14px; }
code.pass { font-size: 1.2rem; background: var(--sunken); padding: 10px; user-select: all; display: block; text-align: center; }
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); } .two, .pair { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; } .side .brand { margin: 0 0 6px; } .side nav { display: flex; overflow-x: auto; } .side nav a { white-space: nowrap; } .side .foot { margin: 0; padding: 4px 0 0; }
}
