/* NaufraBot Streaming — tokens y piezas comunes */
:root{
  --papel:#EEF1EC;
  --hoja:#FFFFFF;
  --tinta:#1B2A24;
  --suave:#55665E;
  --linea:#D5DDD6;
  --hoja2:#F6F8F5;
  --verde:#0E7A5A;
  --verde-hondo:#0A5C44;
  --verde-claro:#DDF1E8;
  --ambar:#B9770E;
  --ambar-claro:#FCEFD6;
  --rojo:#C2412F;
  --rojo-claro:#FBE3DE;
  --radio:14px;
  --radio-g:22px;
  --sombra:0 1px 2px rgba(27,42,36,.06),0 8px 24px rgba(27,42,36,.07);
  --letra:'Schibsted Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--papel);color:var(--tinta);font:400 16px/1.55 var(--letra);font-feature-settings:'tnum' 0}
img,svg{display:block;max-width:100%}
a{color:var(--verde-hondo)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid #2BB58A;outline-offset:2px;border-radius:6px}
.num{font-variant-numeric:tabular-nums}
.oculto{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.boton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:12px;border:1px solid transparent;font-weight:700;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .1s}
.boton:active{transform:translateY(1px)}
.boton.principal{background:var(--verde);color:#fff}
.boton.principal:hover{background:var(--verde-hondo)}
.boton.borde{background:var(--hoja);border-color:var(--linea);color:var(--tinta)}
.boton.borde:hover{border-color:#9FB3A8}
.boton.peligro{background:var(--rojo-claro);color:#8E2A1D;border-color:#F0C4BA}
.boton[disabled]{opacity:.55;cursor:not-allowed}

.estado{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 9px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}
.estado::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.estado.bien{background:var(--verde-claro);color:var(--verde-hondo)}
.estado.pronto{background:var(--ambar-claro);color:#8A5600}
.estado.vencido{background:var(--rojo-claro);color:#9B2F20}
.estado.neutro{background:#E8ECE9;color:var(--suave)}

.campo{display:grid;gap:6px}
.campo label{font-size:14px;font-weight:700}
.campo small{color:var(--suave);font-size:13px}
.campo input,.campo select,.campo textarea{width:100%;min-height:46px;padding:10px 12px;border:1px solid #C5D0C8;border-radius:12px;background:var(--hoja);outline:0}
.campo textarea{min-height:90px;resize:vertical}
.campo input:focus,.campo select:focus,.campo textarea:focus{border-color:var(--verde);box-shadow:0 0 0 3px rgba(14,122,90,.15)}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
