.oysc-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--paper, #f3f6f1);
  color: var(--ink, #14171a);
}

.oysc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line, #d7d5cf);
  background: var(--card, #ffffff);
}
.oysc-head .ti {
  font-family: var(--mono, 'IBM Plex Mono', 'Courier New', Courier, monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--green, #2f6b46);
}
.oysc-head .pl {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--mut, #6b6e73);
}
.oysc-head button { flex: 0 0 auto; }

.oysc-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 12px 16px 24px;
}

.oysc-tab {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono, 'IBM Plex Mono', 'Courier New', Courier, monospace);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.oysc-tab th,
.oysc-tab td {
  padding: 0 4px;
  text-align: right;
  border-bottom: 1px solid var(--line3, #eef2e8);
}
.oysc-tab th {
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--mut, #6b6e73);
  border-bottom: 1px solid var(--line, #d7d5cf);
  padding-bottom: 6px;
}
.oysc-tab .nr { text-align: left; color: var(--ink, #14171a); }
.oysc-tab td.dif { color: var(--mut, #6b6e73); }
.oysc-tab tr.sum td {
  border-top: 1px solid var(--line, #d7d5cf);
  border-bottom: 0;
  font-weight: 700;
  padding-top: 4px;
}
.oysc-tab td.in { padding: 2px 4px; }
.oysc-tab td.in input {
  width: 44px;
  height: 44px;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  text-align: center;
  color: var(--ink, #14171a);
  background: var(--card, #ffffff);
  border: 1px solid var(--line2, #c7cac9);
  border-radius: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.oysc-tab td.in input::-webkit-outer-spin-button,
.oysc-tab td.in input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.oysc-tab td.in input:focus {
  outline: 2px solid var(--green, #2f6b46);
  outline-offset: -2px;
}
@media (max-width: 359px) {
  .oysc-tab .len { display: none; }
}
.oysc-note {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mut, #6b6e73);
}
.oysc-keep { margin-top: 18px; }
.oysc-keep[hidden] { display: none; }

.oysc-body > button[data-sc="reset"] { margin-top: 18px; }
.oysc-foot {
  flex: 0 0 auto;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 10px 16px;
  border-top: 1px solid var(--line, #d7d5cf);
  background: var(--card, #ffffff);
  font-family: var(--mono, 'IBM Plex Mono', 'Courier New', Courier, monospace);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mut, #6b6e73);
}
.oysc-foot .dif {
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #14171a);
}
.oysc-tab td.in.zahl {
  padding: 5px 4px;
  font-weight: 700;
  color: var(--ink, #14171a);
}
.oyrd-neuner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.oyrd-neuner.eins { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 719px) {
  .oyrd-neuner { grid-template-columns: minmax(0, 1fr); }
}
.oyrd-blatt .oysc-foot { margin-top: 18px; }
