/* NEXOMAKE v3. Shared foundations; component layout stays with its surface. */
@font-face{font-family:'Roboto Condensed';src:url('../fonts/brand-v3/roboto-condensed-800.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}
:root{
 --nx-bg:#0b0e0e;--nx-surface:#101414;--nx-raised:#1b2221;
 --nx-text:#f6f2e9;--nx-muted:#b4b9b8;--nx-line:#ffffff1c;--nx-control:#687370;
 --nx-accent:#ff7338;--nx-on-accent:#1c110c;--nx-hover:#ff8b57;
 --nx-link:#ff9162;--nx-link-hover:#ffbc9f;--nx-focus:#ffae87;--nx-selected:#ff73381f;
 --nx-success:#78dba4;--nx-warning:#ffd166;--nx-danger:#ff8f8f;--nx-info:#a8c7ff;
 --nx-heading:'Roboto Condensed','Arial Narrow','Liberation Sans Narrow',Arial,sans-serif;
 --nx-body:Arial,sans-serif;--nx-radius:12px;color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--nx-bg);color:var(--nx-text);font-family:var(--nx-body);line-height:1.5}
:where(h1,h2,h3,h4,h5,h6){font-family:var(--nx-heading);font-weight:800;line-height:1.15;overflow-wrap:break-word}
:where(button,input,select,textarea){font-family:inherit}
:where(button,[role=button],summary){cursor:pointer}
:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible{outline:2px solid var(--nx-focus);outline-offset:3px}
:where(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.5}
:where([aria-busy=true]){cursor:progress}
:where(input,textarea,select){accent-color:var(--nx-accent)}
:where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),textarea,select){border-color:var(--nx-control)}
:where([aria-invalid=true]){border-color:var(--nx-danger)}
.nx-primary.nx-primary{background:var(--nx-accent);color:var(--nx-on-accent);border-color:transparent;border-radius:10px;font-weight:700}
.nx-primary.nx-primary:hover:not(:disabled){background:var(--nx-hover)}
.nx-primary.nx-primary:active:not(:disabled){background:var(--nx-link-hover)}
.nx-primary.nx-primary:disabled{background:var(--nx-raised);color:var(--nx-muted);border-color:var(--nx-control)}
.nx-secondary.nx-secondary{background:var(--nx-raised);color:var(--nx-text);border:1px solid var(--nx-control);border-radius:10px}
.nx-secondary.nx-secondary:hover{background:#293330}
.nx-selected.nx-selected{background:var(--nx-selected);color:var(--nx-text);border-color:var(--nx-accent)}
.nx-brand{display:inline-flex;align-items:center;gap:8px;font-family:Arial,sans-serif;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.nx-brand img{width:32px;height:32px;flex-shrink:0}.nx-brand small{font-size:11px;letter-spacing:.08em;color:var(--nx-muted)}
@media(max-width:639px){.nx-brand.nx-admin-header-brand{font-size:16px}.nx-admin-header-brand img{width:28px;height:28px}.nx-admin-header-brand small{display:none}}
.nx-reading{max-width:70ch;line-height:1.7;text-align:left;overflow-wrap:break-word}
.nx-reading h1{font-size:clamp(28px,5vw,44px)}
.nx-reading :is(h2,h3){margin-top:1.5em}
.nx-reading a{color:var(--nx-link)}
.nx-reading a:hover{color:var(--nx-link-hover)}
.nx-reading p{text-align:left}
.nx-status-success{color:var(--nx-success)}.nx-status-error{color:var(--nx-danger)}.nx-status-waiting{color:var(--nx-warning)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto;animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms}}

/* Field borders are functional, independent of decorative card dividers. */
body :is(input,textarea,select):not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]){border-color:var(--nx-control)}
body :is(input,textarea,select)[aria-invalid=true]{border-color:var(--nx-danger)}
body :is(input,textarea,select,button,a,summary):focus-visible{outline:2px solid var(--nx-focus);outline-offset:3px}
