:root {
  --navy: #0b1f3a;
  --navy-soft: #12335c;
  --blue-light: #eaf1f8;
  --gold: #c8a45d;
  --text: #1d2733;
  --muted: #64748b;
  --white: #ffffff;
  --border: #d8e1ec;
  --shadow: 0 18px 45px rgba(11,31,58,.10);
  --radius: 22px;
  --max: 1180px;
  --content-max: 960px;
}

html {
	scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f7f9fc;
  line-height: 1.6;
  min-height: 100vh;
}

body.sub-page {
  background:
    radial-gradient(circle at top right, rgba(200,164,93,.20), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef4fb 55%, #eaf1f8 100%);
}

a { color: inherit; text-decoration: none; }

.page { overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; }

header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.45rem; letter-spacing: .08em; color: var(--navy); }
.brand span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }

.nav-main { display: flex; gap: 22px; font-size: .95rem; color: var(--navy); }
.nav-main a { opacity: .82; }
.nav-main a:hover { opacity: 1; }
.nav-link { color: var(--navy); font-weight: 700; font-size: .95rem; }

.hero {
  background:
    radial-gradient(circle at top right, rgba(200,164,93,.22), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef4fb 48%, #eaf1f8 100%);
  padding: 92px 24px 76px;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); display: inline-block; }

.content .eyebrow, .intro .eyebrow { display: block; margin-bottom: 16px; font-weight: 800; font-size: .82rem; }
.content .eyebrow::before, .intro .eyebrow::before { display: none; }

h1 {
  color: var(--navy);
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.055em;
  margin: 0 0 22px;
}

.sub-page h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 28px;
}

h2 { color: var(--navy); }
.content h2 { font-size: 1.35rem; margin: 34px 0 10px; }

.subtitle { font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 720px; color: #334155; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.button.primary, button.button { background: var(--navy); color: var(--white); box-shadow: 0 12px 28px rgba(11,31,58,.24); }
.button.secondary { background: var(--white); color: var(--navy); border-color: var(--border); }

.hero-card, .card, .intro, .form-card, .content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 30px; }
.hero-card h2 { margin: 0 0 12px; font-size: 1.35rem; }
.hero-card p, .card p { margin: 0; color: #475569; }

.status { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--blue-light); color: var(--navy); font-size: .86rem; font-weight: 700; }

section { padding: 76px 24px; }
.container { max-width: var(--max); margin: 0 auto; }
.section-title { max-width: 760px; margin-bottom: 38px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 16px; }
.section-title p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 28px; box-shadow: 0 12px 30px rgba(11,31,58,.06); }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.22rem; }
.tag { display: inline-block; margin-bottom: 14px; color: var(--navy); background: var(--blue-light); border-radius: 999px; padding: 5px 11px; font-size: .82rem; font-weight: 700; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }

.principles { background: var(--navy); color: var(--white); }
.principles .section-title h2, .principles .section-title p { color: var(--white); }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle { border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 24px; background: rgba(255,255,255,.06); }
.principle strong { display: block; margin-bottom: 8px; color: var(--gold); font-size: 1.05rem; }
.principle span { color: rgba(255,255,255,.82); }

.project-list { display: grid; gap: 18px; }
.project { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.project h3 { margin: 0 0 6px; color: var(--navy); }
.project p { margin: 0; color: var(--muted); }
.project .link { color: var(--navy); font-weight: 800; white-space: nowrap; }
.about { background: #ffffff; }

.contact-box { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); border-radius: calc(var(--radius) + 8px); padding: 44px; color: var(--white); display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.contact-box h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.035em; color: var(--white); }
.contact-box p { margin: 0; color: rgba(255,255,255,.82); }
.contact-box .button { background: var(--white); color: var(--navy); justify-self: end; }

.page-main { flex: 1; padding: 72px 24px; }
.wrap { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.intro, .form-card, .content { padding: 34px; }
.content { max-width: var(--content-max); margin: 0 auto; padding: 42px; }
.intro p, .content p, .content li { color: #475569; }
.intro p, .content p { margin: 0 0 14px; }
.content ul { margin: 0 0 16px 22px; padding: 0; }
.content a { color: var(--navy); font-weight: 700; }
.note { margin-top: 24px; padding: 16px; border-radius: 16px; background: var(--blue-light); color: var(--navy); font-size: .95rem; }

label { display: block; color: var(--navy); font-weight: 800; margin-bottom: 7px; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; font: inherit; background: #fbfdff; color: var(--text); }
textarea { min-height: 180px; resize: vertical; }
.field { margin-bottom: 18px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.msg { padding: 16px 18px; border-radius: 16px; margin-bottom: 22px; }
.msg.success { background: #e8f7ee; color: #14532d; border: 1px solid #bbebca; }
.msg.error { background: #fff1f2; color: #7f1d1d; border: 1px solid #fecdd3; }
.msg ul { margin: 8px 0 0 20px; padding: 0; }
.privacy { color: var(--muted); font-size: .9rem; margin-top: 18px; }

footer { padding: 28px 24px; color: var(--muted); border-top: 1px solid var(--border); background: rgba(255,255,255,.75); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .92rem; }
.footer-meta { margin-top: 12px; text-align: center; font-size: .9rem; }
.footer-meta a { color: var(--muted); text-decoration: none; font-weight: 700; }
.footer-meta a:hover { color: var(--navy); }
.footer-meta span { margin: 0 8px; color: var(--muted); }

@media (max-width: 900px) {
  .nav-main { display: none; }
  .hero-inner, .split, .contact-box, .wrap { grid-template-columns: 1fr; }
  .grid, .principle-list { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; }
  .contact-box .button { justify-self: start; }
  .hero { padding-top: 64px; }
}

@media (max-width: 700px) {
  .page-main { padding: 44px 18px; }
  .content, .intro, .form-card { padding: 28px; }
}

/* Books */
.book-highlight {
  background: #ffffff;
}

.featured-card .card-action {
  margin-top: 18px;
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-intro {
  margin-bottom: 28px;
}

.content-list {
  max-width: var(--content-max);
  margin: 0 auto;
}

.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
}

.book-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.book-card p {
  color: #475569;
  margin: 0 0 14px;
}

.book-card .button {
  margin-top: 10px;
}

.book-cover {
  margin: 0;
  width: 220px;
  max-width: 100%;
  justify-self: center;
  align-self: start;
}

.book-cover img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(11,31,58,.20);
  border: 1px solid rgba(216,225,236,.8);
  background: var(--white);
}

.book-hero {
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 42px;
  align-items: center;
  margin-bottom: 28px;
}

.book-hero .lead {
  font-size: 1.15rem;
  color: #475569;
  max-width: 760px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0 8px;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: #fbfdff;
}

.mini-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.mini-card p {
  margin: 0;
}

.notice-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: var(--blue-light);
  color: var(--navy);
}

.notice-box strong {
  display: block;
  margin-bottom: 6px;
}

.notice-box p {
  margin: 0;
  color: var(--navy);
}

/* Book detail additions */
.book-cover-frame {
  margin: 0;
  max-width: 280px;
  justify-self: end;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 35px rgba(11,31,58,.20);
  border: 1px solid rgba(216,225,236,.8);
}

.book-cover-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.quote-box {
  margin: 30px 0 34px;
  padding: 26px 30px;
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  background: var(--blue-light);
}

.quote-box p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.45;
  font-weight: 700;
}

.audience-grid {
  margin-bottom: 34px;
}

.chapter-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 36px;
}

.chapter-list article {
  border: 1px solid var(--border);
  background: #fbfdff;
  border-radius: 18px;
  padding: 20px 22px;
}

.chapter-list span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chapter-list h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.12rem;
}

.chapter-list p {
  margin: 0;
}

/* Book service / technical areas */
.book-service-section {
  max-width: var(--max);
  margin: 34px auto;
  padding: 0 24px;
}

.book-service-inner {
  border-radius: calc(var(--radius) + 8px);
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(200,164,93,.20), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef4fb 58%, #eaf1f8 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-title.compact {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-title.compact h2 {
  margin-bottom: 12px;
}

.section-title.compact p {
  margin: 0;
  color: #475569;
}

.service-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.service-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(216,225,236,.95);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(11,31,58,.07);
}

.service-card-highlight {
  border-color: rgba(200,164,93,.42);
  box-shadow: 0 16px 38px rgba(11,31,58,.10);
}

.service-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.service-card p {
  margin: 0 0 16px;
  color: #475569;
}

.service-card .button {
  margin-top: 8px;
}

.status-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: var(--blue-light);
  color: var(--navy);
}

.status-note strong {
  display: block;
  margin-bottom: 6px;
}

.status-note span {
  display: block;
  color: var(--navy);
}


.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(78vw, 280px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  gap: 4px;
  z-index: 20;
}

.mobile-menu nav a {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 700;
}

.mobile-menu nav a:hover {
  background: var(--blue-light);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(11,31,58,.24);
  z-index: 30;
  opacity: .88;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .book-card,
  .book-hero,
  .info-grid,
  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    align-items: start;
  }

  .book-cover {
    width: 190px;
    justify-self: start;
  }

  .book-cover img {
    max-width: 190px;
  }

  .book-cover-frame {
    justify-self: start;
    max-width: 240px;
  }

  .book-service-section {
    padding: 0 18px;
  }

    .content {
        padding: 20px;
    }

    .book-service-inner {
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .service-card {
        padding: 18px;
    }
	
	.intro,
	.form-card {
		padding: 22px;
	}
	
	.mini-card {
		padding: 16px;
	}
	.chapter-list article {
		padding: 16px;
	}
	
	.nav-main,
	.nav-link {
		display: none;
	}

	.mobile-menu {
		display: block;
	}
}

.book-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Feedbackbereich: bewusst nicht öffentlich verlinkt, aber manuell über /feedback/ nutzbar. */
.feedback-panel {
  max-width: 980px;
}

.feedback-intro {
  max-width: 980px;
}

.notice {
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(20, 37, 63, 0.14);
  background: rgba(255, 255, 255, 0.75);
}

.notice.success {
  border-color: rgba(25, 128, 78, 0.28);
}

.notice.error {
  border-color: rgba(160, 42, 42, 0.30);
}

.feedback-code-form,
.feedback-form,
.feedback-book-summary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 37, 63, 0.10);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(20, 37, 63, 0.08);
}

.feedback-book-summary {
  margin-bottom: 22px;
}

.inline-form-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.feedback-code-form input,
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 37, 63, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.feedback-code-form input {
  max-width: 260px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-form fieldset {
  border: 0;
  border-top: 1px solid rgba(20, 37, 63, 0.12);
  padding: 24px 0 0;
  margin: 0 0 26px;
}

.feedback-form legend {
  font-weight: 800;
  padding-right: 12px;
}

.feedback-form label {
  display: block;
  margin: 14px 0;
  font-weight: 650;
}

.feedback-form label input,
.feedback-form label select,
.feedback-form label textarea {
  margin-top: 7px;
  font-weight: 400;
}

.feedback-items {
  display: grid;
  gap: 18px;
  margin-bottom: 16px;
}

.feedback-item {
  border: 1px solid rgba(20, 37, 63, 0.12);
  border-radius: 18px;
  padding: 18px;
  background: rgba(244, 247, 251, 0.82);
}

.feedback-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.remove-feedback-item {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.feedback-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkbox-line {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
}

.checkbox-line input {
  width: auto;
  margin-top: 4px !important;
}

.muted {
  color: rgba(20, 37, 63, 0.70);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .feedback-code-form,
  .feedback-form,
  .feedback-book-summary {
    padding: 18px;
  }

  .feedback-contact-grid {
    grid-template-columns: 1fr;
  }

  .inline-form-row input,
  .inline-form-row button {
    max-width: none;
    width: 100%;
  }
}

/* Feedbacksystem – manueller Testbereich */
.feedback-book-summary {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  margin-bottom: 28px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feedback-book-cover {
  width: 132px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(11,31,58,.18);
  background: #fff;
}

.feedback-book-summary-text h2 {
  margin: 10px 0 8px;
}

.feedback-reference-picker {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

.feedback-reference-picker .is-hidden {
  display: none;
}

.feedback-reference-picker select {
  margin-top: 6px;
}

.selected-reference {
  margin: 0;
  font-size: .92rem;
}

@media (max-width: 700px) {
  .feedback-book-summary {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .feedback-book-cover {
    width: 92px;
    border-radius: 10px;
  }
}

/* Feedbacksystem V3: Suche statt Select-Kaskade */
.feedback-item-search {
  background: rgba(248, 250, 252, 0.92);
}

.feedback-search-picker {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(20, 37, 63, 0.12);
  border-radius: 18px;
  background: #fff;
}

.feedback-reference-results {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.feedback-result-card {
  display: grid;
  gap: 5px;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(20, 37, 63, 0.13);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(244, 247, 251, 0.92);
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.feedback-result-card:hover,
.feedback-result-card:focus {
  border-color: rgba(20, 37, 63, 0.32);
  background: #fff;
}

.feedback-result-card.is-selected {
  border-color: rgba(20, 84, 150, 0.55);
  background: rgba(232, 241, 252, 0.95);
}

.feedback-result-meta {
  font-size: 0.82rem;
  color: rgba(20, 37, 63, 0.62);
}

.feedback-result-preview {
  font-size: 0.92rem;
  color: rgba(20, 37, 63, 0.76);
  line-height: 1.45;
}

.feedback-selected-reference {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

/* Feedback V6: auswählbarer Buchbaum mit Kapiteln, Abschnitten, Textstellen und Listen */
.feedback-reference-tree {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.feedback-reference-tree-v6 {
  padding: 4px 0;
}

.feedback-tree-item {
  display: grid;
  gap: 5px;
  width: calc(100% - (var(--feedback-tree-level, 0) * 22px));
  margin-left: calc(var(--feedback-tree-level, 0) * 22px);
  padding: 10px 12px;
  text-align: left;
  border: 1px solid rgba(20, 37, 63, 0.10);
  border-left: 4px solid rgba(20, 37, 63, 0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.76);
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.feedback-tree-item-chapter {
  border-left-color: rgba(20, 84, 150, 0.78);
  background: rgba(232, 241, 252, 0.88);
  font-weight: 750;
}

.feedback-tree-item-subchapter,
.feedback-tree-item-heading {
  border-left-color: rgba(20, 84, 150, 0.38);
  background: rgba(246, 249, 253, 0.92);
}

.feedback-tree-item:hover,
.feedback-tree-item:focus {
  border-color: rgba(20, 37, 63, 0.32);
  border-left-color: rgba(20, 84, 150, 0.7);
  background: #fff;
}

.feedback-tree-item.is-selected {
  border-color: rgba(20, 84, 150, 0.55);
  border-left-color: rgba(20, 84, 150, 0.95);
  background: rgba(232, 241, 252, 0.98);
}

.feedback-tree-item-title {
  font-weight: 620;
  line-height: 1.45;
  white-space: pre-line;
}

.feedback-tree-item-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(20, 37, 63, 0.52);
}

.feedback-tree-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.feedback-tree-item-preview {
  font-size: 0.92rem;
  color: rgba(20, 37, 63, 0.74);
  line-height: 1.45;
  white-space: pre-line;
}

.feedback-tree-list {
  margin: 2px 0 0 1.2rem;
  padding: 0;
  color: rgba(20, 37, 63, 0.82);
  line-height: 1.45;
}

.feedback-selected-reference {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(20, 37, 63, 0.045);
  font-size: 0.92rem;
}

.feedback-selected-reference.muted,
.feedback-selected-reference:empty {
  display: block;
  padding: 0;
  background: transparent;
}

@media (max-width: 700px) {
  .feedback-tree-item {
    width: calc(100% - (var(--feedback-tree-level, 0) * 12px));
    margin-left: calc(var(--feedback-tree-level, 0) * 12px);
  }
}
