/* ADMIN CSS 1/4 — base: reset, typography, helpers. (tokens come from /assets/css/tokens.css) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-boot .app, body.is-boot .login { display: none; }
img, svg { max-width: 100%; } img { border: 0; }
a { color: var(--brand-dark); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.3; font-weight: 700; }
h2 { font-size: 18px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
p { margin: 0 0 .8em; } ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 2px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; } .ic-lg { width: 24px; height: 24px; } .ic-sm { width: 16px; height: 16px; vertical-align: -3px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .bold { font-weight: 700; } .right { text-align: right; } .center { text-align: center; }
.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; } .row-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .grow { flex: 1; min-width: 0; }
.mt { margin-top: 14px; } .mb { margin-bottom: 14px; } .gap-s { gap: 6px; }
.spinner { width: 34px; height: 34px; border: 4px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 500; }
body:not(.is-boot) .boot { display: none; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
