
/* ===== Skin eFlow/eFixYou (solo aspetto) ===== */
:root { --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --red: #e30613; --red-strong: #e30613; --red-d: #b8050f; --bg: #f2f2f7; --line: #e5e5ea; --focus: rgba(227,6,19,.25);
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --red: #ff4650; --red-strong: #e30613; --bg: #000; --card: #1c1c1e; --line: #2c2c2e; } }
:root[data-theme="dark"] { --red: #ff4650; --red-strong: #e30613; --bg: #000; --card: #1c1c1e; --line: #2c2c2e; }
body, h1, h2, h3, .brand-app, .entry-name, .empty strong, .tname.all, .crumb.cur, .u-name, .hl-score b, .num, .sum-count, .chip, .tree-card summary { font-family: var(--sys) !important; }
h1, h2, h3 { color: var(--text); font-weight: 700; letter-spacing: -.01em; }
.deco, .empty-net { display: none !important; }
.card, .tree-card { border: 0; border-radius: 18px; box-shadow: var(--shadow); }
.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
input[type=text], input[type=password], input[type=search], input:not([type]), textarea, select { border: 1px solid var(--line); border-radius: 12px; background: var(--input); }
:root[data-theme="dark"] input, :root[data-theme="dark"] textarea, :root[data-theme="dark"] select { background: #2c2c2e; border-color: #3a3a3c; }
.btn { border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; }
.btn:hover { border-color: var(--red-strong); color: var(--red-strong); }
.btn.primary, .btn.red.solid { background: var(--red-strong); border-color: var(--red-strong); color: #fff; }
.btn.primary:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.tab { border-bottom-color: transparent; font-weight: 600; }
.tab[aria-selected="true"], .tab.on { color: var(--red-strong); border-bottom-color: var(--red-strong); }
.num { border-radius: 50%; }

/* ===== Pagine di benvenuto (login, setup, verifica, recupero): stile eFlow/eFixYou ===== */
body[data-page="login"], body[data-page="setup"], body[data-page="mfa"], body[data-page="enroll"], body[data-page="recover"], body[data-page="recovery"], body[data-page="password"] { background: var(--bg); }
.auth { max-width: 420px; margin: 6vh auto 0; padding: 32px 28px 26px; text-align: center; border-radius: 24px; }
.auth.wide { max-width: 640px; }
.auth form, .auth label, .auth .alert, .auth p.small-p { text-align: left; }
.auth .welcome-logo, .auth .shield { display: block; width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 18px; object-fit: contain; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.auth h1 { font-size: 1.6rem; margin: 0 0 6px; }
.auth > .muted { margin: 0 0 18px; }
.auth input[type=text], .auth input[type=password], .auth input:not([type]) { height: 46px; padding: 0 14px; font-size: 1rem; }
.auth .btn.primary.block { height: 48px; border-radius: 14px; font-size: 1rem; margin-top: 6px; }
.auth .step-hint { margin-top: 16px; text-align: center; }
.auth a { color: var(--red-strong); }
.topbar .brand-app { font-weight: 700; }
@media (max-width: 480px) { .auth { margin-top: 2vh; padding: 24px 18px 20px; } }
