body {
  visibility: hidden;
}

.content{width:100%;margin-left:auto;margin-right:auto;}.ebene1normal{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:11.25pt;text-indent:-11.25pt;}.ebene2normal{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:11.25pt;}.ebene2klein{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:11.25pt;font-size:10.0pt;}.ebene3normal{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:26.25pt;}.ebene3klein{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:26.25pt;font-size:10.0pt;}.tabelle2normal{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:8.5pt;}.tabelle2klein{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:17.0pt;text-indent:-8.5pt;font-size:10.0pt;}.tabelle2cil{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:8.5pt;font-size:10.0pt;}.tabelle3klein{margin-top:3.6pt;margin-right:0cm;margin-bottom:3.6pt;margin-left:30.9pt;text-indent:-8.5pt;font-size:10.0pt;}.formsperrung1{letter-spacing:0.2em;}.formsigle1{font-variant:small-caps;}::selection{background:#94b5ff;}*,*::after,*::before {box-sizing: inherit;margin:0;}*:focus,*:hover,*:active {outline: none;text-decoration: none;
}.card{background-color:#ffffff;border:none;border-radius:1px;box-shadow:0 0 3px 0 #b0c0e0;display:inline-block;margin:0 4px 4px 0;padding:4px 6px;z-index:0;}.key{border:none;border-radius:1px;box-shadow:inset 0 0 0 1px #ffffff,0 0 3px 0 #aaafff;cursor:pointer;display:inline-block;background:#f8f8ff;font-size:0.95em;margin:1px;padding:1px 4px 1px 4px;}.key:focus,.key:hover{background:#ffffff;border:none;box-shadow:inset 0 0 0 1px #ffffff,0 0 6px 1px #66afff;color:#000000;}.key:active{background:#b8c8f8;border:none;box-shadow:inset 0 0 0 1px #ffffff;color:#000000;}.ref{line-height:1em;padding:0 3px 0 5px;margin:0 1px 0 3px;text-indent:0;}.ref::before{color:#bbbbbb;content:"▶";font-size:0.9em;margin:0 0.1em 0 0;top:-0.1em;}[l]:lang(de):not([l~="de"]){display:none}[l]:lang(en):not([l~="en"]){display:none}body{background-color:#f0f0f0;box-sizing:border-box;font-family:"linbiolinum","Linux Biolinum","Linux Biolinum G","Linux Biolinum O",sans-serif;font-size:12pt;height:100%;line-height:1.45;z-index:0;}nav.card{position:fixed;z-index:2;}p{margin-top:1.5pt;margin-bottom:1.5pt;line-height:1.5;}table{border-spacing:0;}table table td{border:none;border-bottom:1px solid #ffffff;},th{border-left:1px solid #ffffff;border-bottom:2px solid #ffffff;padding-left:5px;padding-right:5px;vertical-align:top;}th{background:#dfe2f6;}u{text-decoration: none; font-family:"linbiolinum","Linux Biolinum","Linux Biolinum G","Linux Biolinum O",sans-serif; font-variant-caps: small-caps; font-feature-settings: "smcp" 1;}i{font-style:italic;}

table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  width: 100rw;
  margin-top: var(--search-bar-height);
}

body {
  margin-left: 3em;   /* spazio per alpha bar */
}

td, th {
  border: 1px solid #d0d0d0;
  padding-left: 5px;
  padding-right: 5px;
  vertical-align: top;
}

/* mappatura semantica → visiva */

p.work {
  margin-left: 11.25pt;
  padding-left: 11.25pt;
  text-indent: -11.25pt;
}

p.subwork {
  margin-left: 26.25pt;
  padding-left: 11.25pt;
  text-indent: -11.25pt;
}

/* default */
table td {
  background: #e6f0ff;
}

/* AUTHOR PADRE + SINGLE = AZZURRO */

tr.single td,
tr.group[id] td {
  background: #e6f0ff;
}

/* WORK E SUBWORK = BIANCO */

tr.work td,
tr.subwork td {
  background: #ffffff;
}

.search-bar {
  position: sticky;
  top: 0;
  left: 3em;
  right: 0;
  z-index: 100;

  background: #f0f0f0;
  padding: 6px 8px;
  border-bottom: 1px solid #c0c0c0;
}

.alpha-anchor {
  display: block;
  height: 0;
}

.alpha-anchor {
  scroll-margin-top: 135px;
}

tr.work td:nth-child(n+4) {
  padding-left: 22pt;
}

tr.subwork td:nth-child(n+4) {
  padding-left: 22pt;
  padding-left: calc(22pt + 15pt);
}

/* con <u> = non indentare */
tr.work td:nth-child(4):has(u),
tr.subwork td:nth-child(4):has(u),
tr.group td:nth-child(4):has(u),
tr.single td:nth-child(4):has(u) {
  padding-left: 5px !important;
}

/* single senza <u> = indentare */
tr.single td:nth-child(4):not(:has(u)) {
  padding-left: 22pt !important;
}

td table {
  margin-top: 2pt;
  margin-bottom: 2pt;
  border-collapse: collapse;
}

td table td,
td table th {
  padding-top: 1pt;
  padding-bottom: 1pt;
  line-height: 1.2;
}

/* =========================================
   EVIDENZIAZIONE TEMPORANEA AL TARGET
   ========================================= */

@keyframes alphaFlash {
  0% { background-color: #fff7a8; }
  60% { background-color: #fff7a8; }
  100% { background-color: transparent; }
}

.alpha-anchor:target ~ p,
.alpha-anchor:target ~ p ~ p,
.alpha-anchor:target ~ p ~ p ~ p,
.alpha-anchor:target ~ p ~ p ~ p ~ p {
  animation: alphaFlash 2.5s ease-out forwards;
}

/* =====================================
   ALPHA BAR – VERSIONE ULTRA LEGGERA
   ===================================== */

.alpha-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 3em;
  height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 6px;

  background: #f8f8ff;
  border-right: 1px solid #c0c0c0;

  z-index: 101;
}

.alpha-bar a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 2px 0;
  text-decoration: none;
  color: #4a4a8a;
  font-size: 0.9em;
}

.alpha-bar a:hover {
  background: #e6ebff;
}

.alpha-info {
  margin-top: auto;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alpha-bar .info-btn {
  width: 1.6em;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  border: 1px solid #c0c0c0;
  border-radius: 3px;
  font-size: 0.9em;
  color: #333;
  text-decoration: none;
}

.alpha-bar .info-btn:hover {
  background: #ffffff;
}

@keyframes textFlash {
  0% { text-shadow: 0 0 2px #ffff80, 0 0 4px #ffff80; }
  60% { text-shadow: 0 0 2px #ffff80, 0 0 4px #ffff80; }
  100% { text-shadow: none; }
}

.alpha-anchor:target ~ p {
  animation: textFlash 2.5s ease-out forwards;
}

.search-bar {
  position: fixed;
  top: 0;
  left: 3em;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f0f0;
  padding: 6px 8px;
  border-bottom: 1px solid #c0c0c0;
  min-height: var(--search-bar-height);
}

.search-bar input[type="text"],
.search-bar select {
  font-size: 1.05em;
  padding: 6px 10px;
  border: 1px solid #b0c0e0;
  border-radius: 3px;
  background: #ffffff;
}

#searchText { width: 22em; }
#searchColumn,
#classFilter { width: 11em; }

.search-bar button {
  background: #f8f8ff;
  border: 1px solid #b0c0e0;
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 0.95em;
  cursor: pointer;
  box-shadow: 0 0 3px #aaafff;
}

.search-bar button:hover {
  background: #ffffff;
  box-shadow: 0 0 6px #66afff;
}

:root {
  --search-bar-height: 74px;
}

.alpha-anchor {
  scroll-margin-top: calc(var(--search-bar-height) + 60px);
}

.alpha-bar .info-btn {
  font-size: 1em;
  width: 1.6em;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alpha-bar .info-btn.info::before {
  content: "ℹ︎";
  font-size: 1.1em;
}

.alpha-bar .info-btn.credits::before {
  content: "?";
  font-size: 1.05em;
}

.alpha-bar .info-btn[title] {
  position: relative;
}

.alpha-bar .info-btn::before {
  font-variant: normal;
  line-height: 1;
}

.small-body {
  font-size: 0.85em;
  line-height: 1.35;
}

td table {
  font-size: 0.85em;
  line-height: 1.35;
}

tr.alpha-only {
  display: none;
}

tr.work td,
tr.subwork td {
  background: #ffffff;
}

/* ==============================
   THEAD FISSO
   ============================== */

thead th {
  position: sticky;
  top: var(--search-bar-height);
  z-index: 90;
  background: #dfe2f6;
  vertical-align: middle;
}

thead th p {
  margin: 0;
}

.target {
  scroll-margin-top: calc(var(--search-bar-height) + 50px);
}

/* =====================================
   FLASH RIGA SENZA ALTERARE BACKGROUND
   ===================================== */

@keyframes rowFlash {
  0%   { box-shadow: inset 0 0 0 9999px rgba(255, 247, 168, 0.9); }
  100% { box-shadow: inset 0 0 0 9999px rgba(255, 247, 168, 0); }
}

tr:has(.target:target) td {
  animation: rowFlash 1.5s ease-out;
}

.alpha-bar a,
.key,
.ref {
  text-decoration: none !important;
}

/* =====================================
   OFFSET PER TR TARGET
   ===================================== */

tr:target::before {
  content: "";
  display: block;
  height: 160px;
  margin-top: -160px;
}

/* =========================
   COPYRIGHT MODAL
   ========================= */

.alpha-bar .info-btn.copyright::before {
  content: "©";
  font-size: 1.05em;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #ffffff;
  padding: 18px 22px;
  border: 1px solid #c0c0c0;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
  max-width: 420px;
  position: relative;
  font-size: 0.95em;
}

.modal-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 1em;
  cursor: pointer;
  color: #444;
}

.modal-close:hover {
  color: #000;
}

.modal-content {
  text-align: justify;
}

.hidden {
  display: none !important;
}

#sortMode {
  margin-left: auto;
}

td table {
  margin-top: 2pt;
  margin-bottom: 2pt;
  border-collapse: collapse;
}



td table td,
td table th {
  border: none;
  border-top: 1.8px solid #e6e6e6;
  padding-top: 1pt;
  padding-bottom: 1pt;
  line-height: 1.2;
}

td table tr:first-child td,
td table tr:first-child th {
  border-top: none;
}

.range-inner {
  width: 80%;
  border-collapse: collapse;
  table-layout: fixed;
}

.range-inner td:first-child {
  width: 20%;
  text-align: right;
  padding-right: 0;
}

.range-inner td:last-child {
  width: 20%;
  text-align: right;
  padding-left: 0;
  position: relative;
}

.range-inner td {
  width: 20%;
  text-align: right;
  white-space: nowrap;
  padding: 0;
  border: none !important;
  border-top: 1.8px solid #e6e6e6 !important;

  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* niente linea sulla prima riga */
.range-inner tr:first-child td {
  border-top: none !important;
}

/* SUPERSCRIPT dentro range-inner:
   non deve alterare l'allineamento numerico */
.range-inner sup {
  position: relative;
  display: inline-block;
  width: 0;
  font-size: 0.65em;
  line-height: 1;
  vertical-align: super;
  top: -0.25em;
  margin-left: 0.03em;
}


/* SUPERSCRIPT dentro p.tabelle2cil:
   resa tipografica normale inline */
p.tabelle2cil sup {
  position: static;
  font-size: 0.65em;
  line-height: 1;
  vertical-align: super;
  margin-left: 0.03em;

  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

td table,
td table td,
td table p.tabelle2cil {
  font-size: 10pt !important;
  line-height: 1.2 !important;
}