/* JB DEV · identidad compartida (landing, Mi cuenta y panel). Sin fuentes ni recursos externos.
   Componentes con especificidad cero (:where) para que cada pantalla ajuste su densidad. */
:root{
--paper:#F6F7FB;--paper-2:#ECEFF7;--surface:#FFFFFF;--line:#DDE2EF;
--ink:#0C1230;--ink-2:#454E70;--blue:#3354F4;--blue-deep:#2038C8;--mark:#FFE14D;
--dark:#0C1230;--dark-card:#161F4A;--dark-card-2:#1E2A63;--dark-text:#C4CBE6;--dark-muted:#9AA4CC;
--tint-blue:#E4E9FF;--tint-yellow:#FFF3B0;--tint-green:#E3F4EC;--tint-rose:#FFE4E6;
--error:#C42B3C;--error-bg:#FDECEE;--error-ink:#8C1D2A;--ok:#16A36A;--ok-ink:#0D6B45;
--warn:#B45309;--warn-bg:#FFF4E0;
--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
--shadow:0 30px 60px -28px rgba(12,18,48,.35);--shadow-dark:0 40px 70px -30px rgba(12,18,48,.6);
--focus:0 0 0 3px #fff,0 0 0 6px rgba(51,84,244,.55)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
:where(h1),:where(h2),:where(h3){color:var(--ink);font-weight:800;text-wrap:balance}
:where(h1){letter-spacing:-.035em;line-height:1.06}:where(h2){letter-spacing:-.03em;line-height:1.08}
:where(a){color:var(--blue);text-underline-offset:3px}:where(a:hover){color:var(--blue-deep)}
:where(:focus-visible){outline:3px solid var(--blue);outline-offset:3px}
:where(code),:where(kbd),:where(.mono){font-family:var(--mono)}
:where(.muted){color:var(--ink-2)}

/* Botones: principal azul, secundario con borde de tinta, sobre oscuro amarillo. */
:where(.btn),:where(button),:where(.button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;
border:2px solid var(--ink);border-radius:12px;background:transparent;color:var(--ink);font:650 16px/1.2 var(--sans);
text-decoration:none;text-align:center;cursor:pointer;transition:background .18s,color .18s,border-color .18s,transform .18s}
:where(.btn:hover),:where(button:hover),:where(.button:hover){background:var(--ink);color:#fff}
:where(.btn-blue),:where(button.primary),:where(.button.primary){background:var(--blue);border-color:var(--blue);color:#fff}
:where(.btn-blue:hover),:where(button.primary:hover),:where(.button.primary:hover){background:var(--blue-deep);border-color:var(--blue-deep);color:#fff}
:where(.btn-lg){min-height:56px;padding:0 28px;font-size:17px}
:where(.btn-sm){min-height:40px;padding:0 16px;font-size:15px;border-radius:10px}
:where(.btn-mark){background:var(--mark);border-color:#ffffff80;color:var(--ink)}:where(.btn-mark:hover){background:#fff;color:var(--ink)}
:where(button:active),:where(.btn:active),:where(.button:active){transform:translateY(1px)}
:where(button:focus-visible),:where(.btn:focus-visible),:where(.button:focus-visible){outline:0;box-shadow:var(--focus)}
:where(.text-button){border:0;min-height:0;padding:6px 8px;background:transparent;color:var(--ink-2);font-weight:650}
:where(.text-button:hover){background:transparent;color:var(--ink)}

/* Campos */
:where(label){display:block;font-weight:650;font-size:15px;color:var(--ink)}
:where(input:not([type=checkbox]):not([type=radio]):not([type=hidden])),:where(select),:where(textarea){display:block;width:100%;min-height:52px;
margin:6px 0 14px;padding:12px 14px;border:2px solid var(--ink);border-radius:14px;background:var(--surface);
color:var(--ink);font:500 17px var(--sans)}
:where(textarea){min-height:120px}
:where(input)::placeholder,:where(textarea)::placeholder{color:#7C84A3}
:where(input:not([type=checkbox]):not([type=radio]):focus-visible),:where(select:focus-visible),:where(textarea:focus-visible){
border-color:var(--blue);outline:3px solid rgba(51,84,244,.35);outline-offset:3px}
:where(input[readonly]){background:var(--paper-2)}
:where(input[type=checkbox]),:where(input[type=radio]){width:20px;height:20px;accent-color:var(--blue);flex:none;margin:2px 0 0}
:where(.check){display:flex;align-items:flex-start;gap:12px;font-weight:500}

/* Superficies */
:where(.card){background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:clamp(22px,4vw,36px);
margin:0 0 24px;box-shadow:var(--shadow)}
:where(.pill),:where(.badge){display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:99px;font-size:13px;
font-weight:700;line-height:1.2;white-space:nowrap;background:var(--tint-blue);color:var(--blue-deep)}
:where(.pill-founder){background:var(--mark);color:var(--ink)}
:where(.pill-ok){background:var(--tint-green);color:var(--ok-ink)}:where(.pill-warn){background:var(--warn-bg);color:var(--warn)}
:where(.pill-error){background:var(--error-bg);color:var(--error-ink)}
:where(.pill-ok)::before,:where(.pill-warn)::before,:where(.pill-error)::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
:where(.notice){padding:14px 16px;border-radius:14px;border:1px solid #F3D5A3;background:var(--warn-bg);color:var(--warn)}
:where(.notice-error),:where([role=alert].error){border-color:#F6C4CB;background:var(--error-bg);color:var(--error-ink)}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){body{font-size:16px}}
