/* Shared look for the sign-in and admin pages. Colours, fonts and both themes come from tokens.css. */
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--glow) no-repeat fixed,var(--bg);color:var(--fg);font:15.5px/1.55 var(--font-ui);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
a{color:var(--accent)}
a.btn{color:var(--fg);text-decoration:none}
a.btn-primary{color:var(--accent-fg)}
.brand{display:flex;align-items:center;gap:9px;font-weight:600;font-size:15px;white-space:nowrap;color:var(--fg);text-decoration:none}
.brand img{width:26px;height:26px;display:block}
.tag{margin-left:2px;padding:1px 6px;border-radius:5px;background:var(--accent-soft);color:var(--accent);font:600 11px/16px var(--font-ui);letter-spacing:.04em}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label{font-size:13.5px;font-weight:500}
.field .hint{font-size:12.5px;color:var(--muted)}
input[type=text],input[type=password],select{height:44px;padding:0 16px;border:1px solid var(--line-input);border-radius:999px;background:var(--surface);width:100%}
input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}
.btn{height:40px;padding:0 18px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);font-weight:500;font-size:14.5px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn:hover{background:var(--surface-2)}
.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}
.btn-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.btn-danger{color:var(--danger)}
.btn-danger:hover{background:var(--danger-soft)}
.btn:disabled{opacity:.55;cursor:default}
.msg{border-radius:10px;padding:10px 12px;font-size:14px;margin-bottom:14px}
.msg-error{background:var(--danger-soft);color:var(--danger)}
.msg-ok{background:var(--good-soft);color:var(--good)}
.chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:12px;font-size:12.5px;font-weight:600;white-space:nowrap}
.chip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.chip-good{background:var(--good-soft);color:var(--good)}
.chip-warn{background:var(--warn-soft);color:var(--warn)}
.chip-bad{background:var(--danger-soft);color:var(--danger)}
.chip-grey{background:var(--surface-2);color:var(--muted)}
h1,.page-title{font-family:var(--font-ui);font-weight:600;letter-spacing:-.015em}
