/* Kreiszeichner P1A – Papier, Tinte, Ocker. Die Bühne gehört der Linie;
   alles andere tritt zurück. Linke Achse, keine Mitte. */

body.kz { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.5; }
.kopf, main, .fuss { max-width: 56rem; margin-left: clamp(1rem, 6vw, 5rem); margin-right: 1rem; }
.kopf { padding: 2rem 0 1rem; }
.kopf h1 { font-size: 1.5rem; font-weight: normal; margin: 0; }
.unterzeile, .still, .stand { color: var(--muted); }
.unterzeile { margin: .3rem 0 0; }

.buehne { background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.buehne canvas { display: block; width: 100%; }
.stand { font-size: .9rem; margin: .5rem 0 1.2rem; }

.regler { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .9rem 1.6rem; align-items: end; }
.regler label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; color: var(--muted); }
.regler label output { color: var(--text); font-weight: bold; display: inline; }
.regler select, .regler input[type=number] {
  font: inherit; color: var(--text); background: var(--card);
  border: 1px solid var(--line); border-radius: 6px; padding: .4rem .5rem;
}
.regler input[type=range], .regler input[type=checkbox] { accent-color: var(--akzent); }
.regler .schalter { flex-direction: row; align-items: center; gap: .5rem; color: var(--text); }
.datei input { font: inherit; color: var(--text); }
.knoepfe { display: flex; gap: .8rem; flex-wrap: wrap; }
.knoepfe button {
  font: inherit; border: 0; border-radius: 6px; padding: .55rem 1.1rem; cursor: pointer;
  background: var(--akzent); color: var(--auf-akzent);
}
.knoepfe button.zweit { background: transparent; color: var(--akzent); border: 1px solid var(--akzent); }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }

.physik { margin-top: 2rem; }
.physik h2 { font-size: 1.05rem; font-weight: normal; margin: 0 0 .5rem; }
.tabelle { overflow-x: auto; }
.physik table { border-collapse: collapse; font-size: .85rem; font-variant-numeric: tabular-nums; }
.physik th, .physik td { text-align: left; padding: .3rem .8rem .3rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.physik th { color: var(--muted); font-weight: normal; }

.fuss { color: var(--muted); font-size: .75rem; padding: 2rem 0 1.5rem; }
