/* Control de Bixu. Misma familia que bixu.es: tinta, humo y coral. El color de estado va siempre con su palabra. */
@font-face { font-family: "Bricolage Grotesque"; src: url("bricolage.ada540c0e24a.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter.260c81a4759b.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --tinta: #141416; --gris: #5d5d63; --raya: #e3e3df; --humo: #f4f4f2; --teja: #c2310f; --coral: #ff5a36;
  --bien: #17683f; --pend: #8a5200; --mal: #b3261e; --titulo: "Bricolage Grotesque", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { font-size: 16px; }
html.tv { font-size: clamp(18px, 1.35vw, 28px); }
body { margin: 0; display: grid; grid-template-columns: 13rem minmax(0, 1fr); min-height: 100vh; background: #fff; color: var(--tinta);
  font: 1rem/1.5 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: #b0b0aa; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--teja); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 3px; }
button { font: inherit; cursor: pointer; }
.saltar { position: absolute; left: -999px; }
.saltar:focus { left: 1rem; top: 1rem; background: #fff; padding: .6rem 1rem; z-index: 9; }

.lado { background: var(--tinta); color: #fff; padding: 1.6rem 1rem; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.logo { font: 800 1.9rem/1 var(--titulo); letter-spacing: -.05em; text-decoration: none; margin: 0 0 2rem; }
.lado .logo { padding: 0 .7rem; }
.logo span { color: var(--coral); }
.menu { display: none; }
.plegable { display: flex; flex-direction: column; flex: 1; }
.lado nav { display: grid; gap: .1rem; }
.lado nav a { text-decoration: none; color: #b5b5ba; padding: .5rem .7rem; border-radius: .5rem; }
.lado nav a:hover { color: #fff; }
.lado nav a[aria-current] { color: #fff; background: #2a2a2e; font-weight: 600; }
.pie { margin-top: auto; padding: 0 .7rem; display: grid; gap: .6rem; font-size: .875rem; color: #b5b5ba; }
.pie form { margin: 0; }
.pie button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.tv .lado { display: none; }
.tv body { grid-template-columns: minmax(0, 1fr); }

main { padding: 2.4rem clamp(1.1rem, 4vw, 3.5rem) 2rem; max-width: 76rem; width: 100%; }
.tv main { max-width: none; }
h1 { font: 800 1.9rem/1.1 var(--titulo); letter-spacing: -.03em; margin: 0 0 1.6rem; text-wrap: balance; }
h1.lectura { font-size: 1.5rem; line-height: 1.25; max-width: 44ch; letter-spacing: -.02em; margin-bottom: 0; text-wrap: pretty; }
h2 { font: 700 1.15rem/1.25 var(--titulo); letter-spacing: -.015em; margin: 0 0 .7rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 0 0 .4rem; }
p { margin: 0 0 .5rem; }
.papel, .hora, time, small { color: var(--gris); font-size: .875rem; }
small { display: block; }
.entrada { color: var(--gris); margin-bottom: 2rem; }

.estado { font-weight: 600; color: var(--gris); }
.estado::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: currentColor; margin-right: .4em; vertical-align: .08em; }
.estado.bien { color: var(--bien); } .estado.pend { color: var(--pend); } .estado.mal { color: var(--mal); }
.late::before { animation: late 1.6s ease-in-out infinite; }
@keyframes late { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .late::before { animation: none; } }
.viejo { margin-bottom: 1.6rem; }

.cara { flex: none; width: 1.5rem; height: 1.5rem; border-radius: .4rem; display: grid; place-items: center; color: #fff; font: 700 .8rem/1 "Inter", sans-serif; background: #77777d; }
.cara.claude { background: #b4472a; } .cara.claude::after { content: "C"; }
.cara.chatgpt { background: #14705a; } .cara.chatgpt::after { content: "G"; }
.cara.grok { background: #34343a; } .cara.grok::after { content: "X"; }

.dos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.4rem clamp(2rem, 5vw, 4.5rem); }
.columna { display: grid; gap: 2.4rem; align-content: start; }
.tuyo { background: var(--humo); padding: 1.3rem 1.5rem 1.2rem; border-radius: .8rem; }
.tuyo ul { list-style: none; margin: 0; padding: 0; } .tuyo li { padding: .6rem 0; border-top: 1px solid #dededa; } .tuyo li:first-child { border-top: 0; padding-top: 0; } .tuyo p { margin: 0; }
.medio { max-width: 46rem; margin-bottom: 2.4rem; }

.charla, .equipo { list-style: none; margin: 0 0 .9rem; padding: 0; }
.charla li, .equipo li { display: flex; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--raya); }
.charla li > div, .equipo li > div { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.charla p, .equipo p { margin: 0; }
.charla time { margin-left: .3rem; white-space: nowrap; }
.charla.larga { max-width: 48rem; margin-bottom: 2.4rem; }
.charla .extracto { color: var(--gris); margin-top: .2rem; }
.fila { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.equipo .fila { justify-content: space-between; } .equipo.ancho { max-width: 46rem; margin-bottom: 2.4rem; }
.mas { font-weight: 600; }

.cifras { margin: .6rem 0 .5rem; } .cifras div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--raya); }
.cifras dt { margin: 0; } .cifras dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sueltas { max-width: 26rem; margin-bottom: 2.6rem; }
.movimientos { list-style: none; margin: 0 0 1.2rem; padding: 0; max-width: 46rem; }
.movimientos li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--raya); }
.movimientos strong { display: block; font-weight: 500; } .importe { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.saldo { font-size: 1.1rem; margin-bottom: 1.2rem; } .saldo strong { font: 800 2.6rem/1 var(--titulo); letter-spacing: -.04em; }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .5rem 1rem .5rem 0; border-top: 1px solid var(--raya); vertical-align: top; }
thead th { font-size: .875rem; color: var(--gris); font-weight: 500; border-top: 0; }
tbody th { font-weight: 400; }
td { font-variant-numeric: tabular-nums; }
.n { text-align: right; padding-right: 0; padding-left: 1rem; white-space: nowrap; } td.n { font-weight: 600; }
.ancha { overflow-x: auto; margin-bottom: 1.4rem; }

.proyecto { max-width: 62rem; } .proyecto > .fila { margin-bottom: 2rem; } .proyecto h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.puntos { margin: 0; padding-left: 1.1rem; } .puntos li { margin: .35rem 0; }

.filtro { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin-bottom: 1.8rem; }
.filtro a { text-decoration: none; color: var(--gris); padding: .3rem 0; border-bottom: 2px solid transparent; }
.filtro a[aria-current] { color: var(--tinta); font-weight: 600; border-color: var(--coral); }

summary { cursor: pointer; }
.grupo { max-width: 58rem; margin-bottom: 2rem; }
.grupo > summary { display: flex; align-items: baseline; gap: .6rem; list-style: none; } .grupo > summary h2 { margin: 0; } .grupo > summary span { color: var(--gris); }
.grupo > summary::after { content: "Ver"; margin-left: auto; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; } .grupo[open] > summary::after { content: "Plegar"; }
summary::-webkit-details-marker { display: none; }
.pliegues { margin-top: .7rem; border-bottom: 1px solid var(--raya); } .pliegues > p { padding: .7rem 0; margin: 0; border-top: 1px solid var(--raya); color: var(--gris); }
.pliegues details { border-top: 1px solid var(--raya); }
.pliegues summary { display: grid; gap: .1rem; padding: .75rem 0; list-style: none; }
.pliegues summary:hover .tit { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--teja); }
.pliegues details[open] .tit { font-weight: 600; }
.pliegues .texto { padding: .2rem 0 1.4rem; }

.firma { display: flex; align-items: center; gap: .7rem; margin: 1rem 0 1.2rem; } .firma time { margin-left: .3rem; white-space: nowrap; }
.hilo { margin-bottom: 2rem; padding: .7rem 0; border-block: 1px solid var(--raya); max-width: 70ch; }
.hilo summary { font-weight: 600; } .hilo nav { display: grid; padding-top: .6rem; } .hilo .texto { padding-top: 1rem; }
.hilo a { text-decoration: none; color: var(--gris); padding: .25rem 0; } .hilo a:hover { color: var(--teja); } .hilo a[aria-current] { color: var(--tinta); font-weight: 600; }
.texto { max-width: 70ch; overflow-wrap: anywhere; line-height: 1.6; }
.texto h2, .texto h3, .texto h4 { font: 700 1.1rem/1.3 var(--titulo); margin: 1.8rem 0 .5rem; }
.texto h2 { font-size: 1.25rem; } .texto > :first-child { margin-top: 0; }
.texto ul, .texto ol { padding-left: 1.3rem; margin: 0 0 1rem; } .texto li { margin: .3rem 0; }
.texto p { margin-bottom: .9rem; }
.texto code, pre { font: .875em/1.5 ui-monospace, Consolas, monospace; background: var(--humo); } .texto code { padding: .1em .3em; border-radius: .25em; }
pre { padding: 1rem; overflow-x: auto; border-radius: .5rem; white-space: pre-wrap; }
.texto hr { border: 0; border-top: 1px solid var(--raya); margin: 2rem 0; }
.texto td, .texto th { min-width: 7rem; }
footer { margin-top: 3rem; color: var(--gris); font-size: .875rem; }

.entrar { grid-column: 1 / -1; max-width: 24rem; margin: 0 auto; padding-top: 14vh; }
.entrar h1 { margin-bottom: 1.2rem; }
.entrar label { display: block; font-weight: 600; margin: 1rem 0 .35rem; }
.entrar input { width: 100%; font: inherit; padding: .75rem .85rem; border: 1px solid #8d8d92; border-radius: .5rem; background: #fff; color: inherit; }
.entrar form button { width: 100%; margin-top: 1.5rem; padding: .85rem; border: 0; border-radius: .5rem; background: var(--tinta); color: #fff; font-weight: 600; }
.entrar form button:hover { background: var(--teja); }

@media (max-width: 860px) {
  body { display: block; }
  .lado { height: auto; padding: .6rem 1.1rem; z-index: 5; flex-flow: row wrap; align-items: center; justify-content: space-between; }
  .lado .logo { margin: 0; padding: 0; font-size: 1.6rem; }
  .menu { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .2rem; background: none; border: 0; color: #fff; font-weight: 600; }
  .menu svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .plegable { display: none; flex: 1 0 100%; padding-bottom: .6rem; } .abierto .plegable { display: block; }
  .lado nav a { padding: .7rem; margin: 0 -.7rem; } .pie { margin-top: .8rem; padding: 0; } .pie button { min-height: 44px; } .solo-grande { display: none; }
  main { padding-top: 1.4rem; }
  h1 { font-size: 1.75rem; margin-bottom: 1.1rem; }
  .dos { grid-template-columns: minmax(0, 1fr); }
  /* En el móvil: pendiente de ti, ahora, actividad y proyecto */
  .dos > .columna { display: contents; }
  .tuyo { padding: 1.1rem 1.2rem; }
  .dos > .columna:first-child > :nth-child(1) { order: 1; } .dos > .columna:last-child > :nth-child(1) { order: 2; }
  .dos > .columna:first-child > :nth-child(2) { order: 3; } .dos > .columna:last-child > :nth-child(n+2) { order: 4; }
}
