:root {
  color-scheme: light;
  --ink: #1b3028;
  --muted: #54665c;
  --line: #d9ded2;
  --paper: #f5f4ed;
  --card: #fffef8;
  --green: #254939;
  --gold: #caa968;
  --soft: #e9eee3;
  --red: #974436;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.48 system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
select,
input[type="checkbox"] {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #b48131;
  outline-offset: 3px;
}
header {
  background: #182922;
  color: #f8f3df;
  border-bottom: 1px solid #34463a;
}
.frame {
  width: min(1200px, calc(100% - 64px));
  margin: auto;
}
.mast {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font:
    bold 26px Georgia,
    serif;
}
.division {
  height: 19px;
  width: 1px;
  background: #536055;
}
.mastsub {
  font-size: 14px;
  color: #ced4c8;
}
.right {
  margin-left: auto;
}
.ghost,
.navbtn,
.plain,
.ico,
.pill {
  border: 0;
  background: transparent;
}
.ghost {
  color: #e6ecdd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px;
}
.hero {
  margin-top: 28px;
  border-radius: 17px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: #192b23;
  color: #f5f0df;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 42px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #16251ee6 0%, #18271f7a 40%, transparent 74%),
    url(/wald.webp) center 50% / cover;
}
.eyebrow,
.kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 750;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #87703f;
}
.hero .eyebrow {
  color: #e4c68a;
}
.ruleline {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font:
    500 clamp(40px, 5vw, 68px) / 1.05 Georgia,
    serif;
  letter-spacing: -0.047em;
  margin: 12px 0 13px;
}
.hero .meta {
  color: #e3e5d7;
  font-size: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.meta span,
.inline,
.btn,
.soft,
.danger,
.plain,
.pill,
.ico,
.navbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
nav {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #cdd3c6;
  margin: 14px 0 24px;
  overflow: auto;
}
.navbtn {
  padding: 14px 2px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
  border-bottom: 3px solid transparent;
}
.navbtn[aria-current="page"] {
  color: var(--green);
  border-color: var(--green);
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  background: var(--card);
  min-width: 0;
}
.panel.tint {
  background: #e9eee3;
  border-color: #d1d9c9;
}
.head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 19px;
}
.emblem {
  width: 41px;
  height: 41px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}
.tint .emblem {
  background: #dbe4d4;
}
.head h2,
h2,
h3 {
  font:
    600 24px/1.15 Georgia,
    serif;
  letter-spacing: -0.025em;
  margin: 0;
}
h3 {
  font-size: 19px;
}
.head small,
.sub,
.muted,
small {
  color: var(--muted);
  font-size: 14px;
}
.head small {
  display: block;
  margin-top: 4px;
}
p {
  margin: 0.55em 0 1em;
}
.form {
  display: grid;
  gap: 13px;
}
.field {
  display: grid;
  gap: 5px;
  font-weight: 650;
  font-size: 14px;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bfc9ba;
  background: #fffefa;
  border-radius: 8px;
  padding: 10px 11px;
  line-height: 1.35;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.actions,
.tools {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.actions {
  margin-top: 17px;
}
.btn,
.soft,
.danger,
.plain,
.pill,
.ico {
  min-height: 40px;
  justify-content: center;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 650;
  font-size: 14px;
}
.btn {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
}
.soft,
.ico {
  background: #fafbf4;
  border: 1px solid #bdcabb;
}
.danger {
  border: 1px solid #dbc0b8;
  background: #fff7f2;
  color: var(--red);
}
.plain {
  color: var(--green);
  padding-inline: 6px;
}
.pill {
  background: var(--soft);
}
.ico {
  padding: 7px;
  min-width: 38px;
}
.btn:hover:not(:disabled) {
  background: #173527;
}
.soft:hover:not(:disabled),
.ico:hover:not(:disabled),
.navbtn:hover {
  background: #e8eee2;
}
.full {
  width: 100%;
}
.list {
  display: grid;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.row:first-child {
  border-top: 0;
}
.rowmain {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.rowmain b,
.rowmain small {
  display: block;
}
.num {
  background: #eaf0e4;
  color: #48634e;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 8px;
  font: 600 14px Georgia;
}
.badge {
  font-size: 12px;
  font-weight: 650;
  padding: 3px 9px;
  background: #e8eee1;
  color: #35533d;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wolf {
  color: #833f32;
  background: #f4e2d9;
}
.solo,
.wechsel {
  background: #efe8d4;
  color: #705d32;
}
.checks {
  display: grid;
  gap: 4px;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.split {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.divider,
details {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
.status {
  border-left: 3px solid #ad8a47;
  padding: 9px 13px;
  background: #f4eedf;
  border-radius: 0 6px 6px 0;
  margin: 13px 0;
  font-size: 14px;
}
.empty {
  margin: 5px 0 15px;
}
.book {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.book article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
}
.book article p {
  font-size: 14px;
}
.book .badge {
  margin-bottom: 9px;
}
a {
  color: #30563e;
}
.bar {
  border-radius: 10px;
  height: 5px;
  background: #dce3d8;
  overflow: hidden;
  margin: 14px 0;
}
.bar i {
  display: block;
  height: 100%;
  background: #517053;
}
.log {
  margin: 0;
  padding-left: 20px;
}
.log li {
  padding: 5px;
}
.footer {
  margin: 20px 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
dialog {
  max-width: 510px;
  width: calc(100% - 28px);
  max-height: 86dvh;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 23px;
  box-shadow: 0 18px 90px #10291948;
}
dialog::backdrop {
  background: #0d1a15a8;
}
dialog h2 {
  margin-bottom: 15px;
}
#toast {
  position: fixed;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  background: #20372d;
  color: white;
  border-radius: 9px;
  padding: 10px 18px;
  z-index: 10;
  max-width: 94vw;
}
#toast:empty {
  display: none;
}
.modalerror {
  color: #943b2f;
}
.hiddenpanel {
  text-align: center;
  padding: 60px 15px;
}
.dead {
  color: #6d736c;
}
.sr {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#screen {
  padding-bottom: 15px;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.roleinput {
  display: grid;
  grid-template-columns: 1fr minmax(125px, 0.75fr) auto;
  gap: 8px;
}
.taglist {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .frame {
    width: calc(100% - 32px);
  }
  .grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(235px, 1fr);
    gap: 13px;
  }
  .panel {
    padding: 18px;
  }
  .hero {
    padding: 24px 27px;
  }
  .book {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .mast {
    height: 56px;
    gap: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .mastsub,
  .ghost {
    font-size: 12px;
  }
  .frame {
    width: calc(100% - 24px);
  }
  .hero {
    margin-top: 13px;
    min-height: 159px;
    padding: 19px;
  }
  .hero:before {
    background-position: 72% center;
  }
  .hero h1 {
    font-size: 40px;
    max-width: 90%;
  }
  .hero .meta {
    font-size: 12px;
  }
  .grid,
  .two {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 14px;
  }
  .stack {
    gap: 13px;
  }
  .panel {
    padding: 17px;
  }
  .head h2,
  h2 {
    font-size: 22px;
  }
  nav {
    gap: 12px;
    margin: 5px 0 14px;
  }
  .navbtn {
    font-size: 13px;
    gap: 5px;
    padding: 12px 0;
  }
  .navbtn .icon {
    width: 16px;
  }
  .roleinput {
    grid-template-columns: 1fr auto;
  }
  .roleinput input {
    grid-column: 1/-1;
  }
  .book {
    grid-template-columns: 1fr;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .ghost .icon {
    width: 16px;
  }
  .btn,
  .ico,
  .plain,
  .soft {
    min-height: 44px;
  }
  .row {
    gap: 7px;
  }
  .footer {
    margin-bottom: 20px;
  }
}
@media (max-width: 380px) {
  .mastsub,
  .division {
    display: none;
  }
  .navbtn .icon {
    display: none;
  }
}
@media (max-width: 650px) {
  nav {
    justify-content: space-between;
    gap: 4px;
  }
  .navbtn {
    font-size: 13px;
    gap: 4px;
  }
  .navbtn .icon {
    width: 15px;
  }
}
@media (max-width: 390px) {
  .navbtn {
    font-size: 12px;
  }
}
.field input,
.field textarea,
.field select {
  font-weight: 400;
}
