* { box-sizing: border-box; }
:root {
  --bg: #0b1220; --card: #131c2e; --line: #22304a; --txt: #e6ecf7;
  --dim: #93a4c0; --acc: #00e5ff; --ok: #22c55e; --warn: #f59e0b; --bad: #ef4444;
}
body {
  margin: 0; background: radial-gradient(1200px 600px at 20% -10%, #16233c 0%, var(--bg) 60%);
  color: var(--txt); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 22px 16px 60px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.logo { font-size: 34px; }
h1 { margin: 0; font-size: 22px; letter-spacing: .3px; }
.sub { margin: 2px 0 0; color: var(--dim); font-size: 12.5px; }
h2 { font-size: 15.5px; margin: 0 0 12px; }
h3 { font-size: 13.5px; margin: 16px 0 6px; color: var(--acc); }
.ghost { margin-left: auto; background: transparent; border: 1px solid var(--line); color: var(--dim);
  padding: 7px 12px; border-radius: 8px; cursor: pointer; font-size: 12.5px; }
.ghost:hover { color: var(--txt); border-color: var(--acc); }
.card { background: linear-gradient(180deg, #16223a 0%, var(--card) 100%); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; margin-bottom: 16px; box-shadow: 0 8px 28px rgba(0,0,0,.28); }
label { display: block; font-size: 12.5px; color: var(--dim); margin: 10px 0 5px; }
input[type=email], input[type=password], input[type=text], select {
  width: 100%; background: #0e1729; border: 1px solid var(--line); color: var(--txt);
  padding: 11px 12px; border-radius: 9px; font-size: 14px; outline: none; }
input:focus, select:focus { border-color: var(--acc); }
input[type=file] { width: 100%; color: var(--dim); font-size: 13px; padding: 9px 0; }
.pw { position: relative; }
.ojo { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent;
  border: 0; font-size: 17px; cursor: pointer; padding: 4px 8px; }
button.primary { width: 100%; margin-top: 14px; background: linear-gradient(90deg, #00e5ff, #22d3ee);
  color: #04121c; border: 0; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
button.primary:hover { filter: brightness(1.08); }
.msg { font-size: 12.5px; color: var(--dim); margin: 10px 0 0; min-height: 16px; white-space: pre-wrap; }
.hint { color: var(--dim); font-size: 12.5px; margin: 0 0 12px; }
.tag { background: #2b1620; color: #ff8fa3; border: 1px solid #59263a; padding: 2px 8px; border-radius: 20px; font-size: 12px; }
.plist { display: flex; flex-direction: column; gap: 8px; }
.pitem { display: flex; justify-content: space-between; background: #0e1729; border: 1px solid var(--line);
  border-radius: 9px; padding: 10px 12px; font-size: 13px; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; }
.tab { flex: 1 0 auto; background: #0e1729; border: 1px solid var(--line); color: var(--dim);
  padding: 10px 14px; border-radius: 9px; cursor: pointer; font-size: 12.5px; white-space: nowrap; }
.tab.active { background: linear-gradient(90deg, #00e5ff, #22d3ee); color: #04121c; font-weight: 700; border-color: transparent; }
.res-line { background: #0e1729; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; font-size: 13px; }
.bar { height: 7px; background: #1b2942; border-radius: 5px; overflow: hidden; margin: 7px 0; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #00e5ff, #22d3ee); }
.ok { color: var(--ok); } .warn { color: var(--warn); } .bad { color: var(--bad); }
.tabla { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 10px 0; }
.tabla th, .tabla td { border: 1px solid var(--line); padding: 6px 9px; text-align: left; }
.tabla th { background: #0e1729; color: var(--dim); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.dl { display: inline-block; background: #0e1729; border: 1px solid var(--accent, #00e5ff); color: var(--acc);
  text-decoration: none; padding: 9px 13px; border-radius: 9px; font-size: 12.5px; }
.dl:hover { background: #12233b; }
.dl.big { background: linear-gradient(90deg, #00e5ff, #22d3ee); color: #04121c; font-weight: 700; border: 0; }
details { margin: 10px 0; background: #0e1729; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; }
summary { cursor: pointer; font-size: 12.5px; color: var(--acc); }
pre.md { white-space: pre-wrap; word-break: break-word; font-size: 11.5px; color: #cbd8ee;
  max-height: 460px; overflow: auto; margin: 8px 0 0; }
.literal { background: #0e1729; border: 1px solid var(--line); border-radius: 9px; padding: 12px;
  font-size: 13.5px; line-height: 1.55; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); margin-top: 12px; }
.chk input { width: auto; }
footer { text-align: center; color: #5c6f8c; font-size: 11.5px; margin-top: 26px; line-height: 1.5; }
