/* Components built on tokens.css. Add components here as pages need them. */
[hidden] { display: none !important; }
.muted { color: var(--color-text-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-4); }
.card--narrow { max-width: 26rem; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--control-h); padding: var(--space-1) var(--space-4); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; color: #fff; background: var(--color-primary); border: 1px solid var(--color-primary); border-radius: var(--radius-md); }
.button:hover { background: var(--color-primary-hover); }
.button--ghost { color: var(--color-text); background: var(--color-surface); border-color: var(--color-border-strong); }
.button--ghost:hover { background: var(--color-bg); }
.button--sm { min-height: 1.625rem; padding: 0 var(--space-3); font-size: var(--text-xs); }
.alert { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-left-width: 4px; border-radius: var(--radius-md); background: var(--color-surface); }
.alert--success { border-left-color: var(--color-accent-strong); }
.alert--error { border-left-color: var(--color-danger); }
.alert--info { border-left-color: var(--color-primary); }
.alert__close { margin-left: auto; padding: 0 var(--space-1); font-size: var(--text-lg); line-height: 1.2; color: var(--color-text-muted); background: none; border: 0; cursor: pointer; }
