/* One card, button, form field and table for the website (site.css) and the
   console (app.css), on the tokens (AP-0990). Each sheet adds only its sizes
   and variants. The page kind sits in :where() so these rules weigh what the
   console's own bare "button", "input" and "th" rules weighed before. */

.card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

.btn, .button, :where(.console, .auth) button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border: 0; border-radius: var(--radius-sm); background: var(--action); color: var(--on-action); font: inherit; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer; transition: filter 150ms ease, background 150ms ease; }
.btn:hover, .button:hover, :where(.console, .auth) button:hover { filter: brightness(1.05); text-decoration: none; }

.field input, :where(.console, .auth) :is(input, select, textarea) { border: 0; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1px var(--line-strong); }
.field input:focus, :where(.console, .auth) :is(input, select, textarea):focus { box-shadow: inset 0 0 0 2px var(--focus); }
.field input[readonly], :where(.console, .auth) :is(input, textarea)[readonly] { background: var(--surface-sunken); }

.prose th, .prose td, :where(.console, .auth) :is(th, td) { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--line); }
.prose th, :where(.console, .auth) :is(thead th, table > tr:first-child > th) { background: var(--surface-sunken); font-weight: 600; }
