/* Element defaults shared by the shell and by service-rendered fragments. No classes here. */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font); color: var(--ink); background: var(--ground); line-height: 1.5; }
body { margin: 0; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 650; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.1rem; }
h3 { font-size: 1rem; }
p { margin: 0; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
table { border-collapse: collapse; inline-size: 100%; }
th, td { text-align: start; padding: 0.6rem 0.75rem; border-block-end: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 600; }
dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; }
dt { color: var(--ink-soft); }
dd { margin: 0; overflow-wrap: break-word; min-inline-size: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
label { display: grid; gap: 0.25rem; font-weight: 600; font-size: 0.9rem; }
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea {
  padding: 0.55rem 0.7rem; border: 1px solid var(--ink-soft); border-radius: var(--radius); background: var(--card);
}
textarea { min-block-size: 7rem; resize: vertical; }
button {
  padding: 0.55rem 1rem; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--card); cursor: pointer;
}
button[type="submit"], button.primary { background: var(--ink); color: var(--on-ink); }
button[formnovalidate] { background: var(--card); color: var(--ink); }
dialog { border: 0; border-radius: var(--radius); padding: 1.5rem; inline-size: min(34rem, 92vw); box-shadow: 0 1rem 3rem rgb(0 0 0 / 0.25); }
dialog::backdrop { background: rgb(20 33 43 / 0.45); }
dialog form { display: grid; gap: var(--gap); }
