/**
 * Workbench - Base
 * Nulstilling, typografi og de få globale regler. Alt andet står i komponenterne.
 */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: .92em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Egne elementer er blokke, medmindre andet er sagt. */
swp-board-page, swp-board, swp-columns, swp-column, swp-card, swp-settings, swp-login, swp-card-editor,
swp-epic-chips, swp-board-filters { display: block; }

main { padding: 32px 24px 60px; max-width: 1680px; margin: 0 auto; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hint { color: var(--dim); font-size: 13px; }
.grow { flex: 1; }
