/* Shared look for the new Neuhouse admin: Geist type, cool porcelain neutrals, ink for actions,
   cobalt only for AI, glass panels floating over content. Every module loads this first. */
:root{
  --stage:#e6e7e9; --glass:rgba(255,255,255,.80); --solid:#ffffff; --ink:#0f1114; --ink-2:#3a3f47; --mute:#6a707a; --faint:#a1a6ae;
  --line:rgba(16,18,22,.08); --row:#eff0f2; --row-hover:#e8e9ec; --fill:#dadce1; --sel-bg:#0f1114; --sel-fg:#ffffff;
  --accent:#2b54ff; --accent-soft:rgba(43,84,255,.12); --ok:#14a06a; --bad:#d6453d;
  --shadow:0 18px 50px -18px rgba(14,16,20,.30),0 3px 10px -2px rgba(14,16,20,.08);
  --f-ui:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --f-num:"Geist Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --stage:#111215; --glass:rgba(22,24,28,.80); --solid:#1b1d21; --ink:#f2f3f5; --ink-2:#c9cdd3; --mute:#9aa0aa; --faint:#626872;
  --line:rgba(255,255,255,.08); --row:rgba(255,255,255,.055); --row-hover:rgba(255,255,255,.085); --fill:rgba(255,255,255,.16);
  --sel-bg:#f2f3f5; --sel-fg:#0f1114; --accent:#5b7bff; --accent-soft:rgba(91,123,255,.2); --ok:#3ccf92; --bad:#ff7a70;
  --shadow:0 18px 50px -18px rgba(0,0,0,.75),0 3px 10px -2px rgba(0,0,0,.45); color-scheme:dark }}
:root[data-theme="dark"]{
  --stage:#111215; --glass:rgba(22,24,28,.80); --solid:#1b1d21; --ink:#f2f3f5; --ink-2:#c9cdd3; --mute:#9aa0aa; --faint:#626872;
  --line:rgba(255,255,255,.08); --row:rgba(255,255,255,.055); --row-hover:rgba(255,255,255,.085); --fill:rgba(255,255,255,.16);
  --sel-bg:#f2f3f5; --sel-fg:#0f1114; --accent:#5b7bff; --accent-soft:rgba(91,123,255,.2); --ok:#3ccf92; --bad:#ff7a70;
  --shadow:0 18px 50px -18px rgba(0,0,0,.75),0 3px 10px -2px rgba(0,0,0,.45); color-scheme:dark }
[hidden]{display:none!important}

/* sign-in sheet */
.nh-auth{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px;background:rgba(10,11,13,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:nhIn .2s ease-out}
@keyframes nhIn{from{opacity:0}to{opacity:1}}
.nh-card{width:min(380px,100%);box-sizing:border-box;background:var(--glass);-webkit-backdrop-filter:blur(22px) saturate(1.4);backdrop-filter:blur(22px) saturate(1.4);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;padding:26px 24px 20px;display:flex;flex-direction:column;gap:12px;font:14px/1.4 var(--f-ui);color:var(--ink)}
.nh-mark{width:34px;height:34px;color:var(--ink)}
.nh-mark svg{width:100%;height:100%}
.nh-card h1{font-size:20px;font-weight:600;letter-spacing:-.015em;margin:4px 0 0}
.nh-sub{margin:0 0 4px;color:var(--mute);font-size:13px}
.nh-field{display:flex;flex-direction:column;gap:6px}
.nh-field span{font-size:10.5px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--faint)}
.nh-field input{height:44px;border-radius:12px;border:0;background:var(--row);padding:0 13px;font:inherit;color:var(--ink);outline:none;box-shadow:inset 0 0 0 1px var(--line)}
.nh-field input:focus{background:var(--solid);box-shadow:inset 0 0 0 1px var(--line),0 0 0 3px var(--accent-soft)}
.nh-err{margin:0;color:var(--bad);font-size:13px}
.nh-btn{height:46px;border-radius:14px;border:0;background:var(--sel-bg);color:var(--sel-fg);font:500 14px var(--f-ui);cursor:pointer;margin-top:4px}
.nh-btn:disabled{opacity:.6;cursor:default}
.nh-foot{margin:4px 0 0;color:var(--faint);font-size:11.5px;text-align:center}
