/* ===== merged from wortschatz-search-inspector-v1.6.6.2.css ===== */
/* DeuSall v1.6.6 — search-only rich inspector */
.ws-rich-search{--noun:#4f67d8;--noun-soft:#eef2ff;--verb:#159a83;--verb-soft:#eafaf6;--adjective:#df6878;--adjective-soft:#fff0f3;--adverb:#2f8b77;--adverb-soft:#eaf8f4;--preposition:#c57b1b;--preposition-soft:#fff6e8;--conjunction:#7a5bd0;--conjunction-soft:#f3efff;background:radial-gradient(circle at 100% 0%,rgba(54,185,204,.10),transparent 24%),radial-gradient(circle at 0 0,rgba(102,88,232,.09),transparent 22%),#f5f7fb}
.ws-rich-search .search-rich-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;padding:24px 26px;border-radius:24px;border:1px solid #e3e7f1;background:radial-gradient(circle at 94% 10%,rgba(54,185,204,.13),transparent 27%),linear-gradient(135deg,#fff,#f7f6ff 66%,#f1fbfd);box-shadow:0 14px 34px rgba(29,42,68,.05);margin-bottom:14px}.ws-rich-search .search-rich-head h2{margin:8px 0 7px;font-size:42px;color:#5549cf}.ws-rich-search .search-rich-head p{margin:0;color:#65748a;font-size:14px;line-height:1.7}.ws-rich-search .search-rich-head .ar{margin-top:4px;color:#3d6d69;font-size:15px}.ws-rich-search .search-rich-head .count{background:#fff;color:#5b50ce;border:1px solid #dedcf8}
.ws-rich-search .search-rich-controls{padding:12px;border-radius:21px;background:#fff;border:1px solid #e5e9f2;box-shadow:0 12px 26px rgba(29,42,68,.04);margin-bottom:14px}.ws-rich-search .search-rich-box{position:relative}.ws-rich-search .search-rich-box input{width:100%;height:52px;padding:0 18px 0 48px;border:1px solid #dfe5ee;border-radius:15px;background:#fbfcff;font-size:15px;outline:none}.ws-rich-search .search-rich-box input:focus{border-color:#bcb6ff;box-shadow:0 0 0 4px rgba(102,88,232,.09);background:#fff}.ws-rich-search .search-rich-icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);font-size:22px;color:#7d74d6}.ws-rich-search .search-type-filters{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.ws-rich-search .search-type-filters button{border:1px solid #e4e8f0;background:#fff;color:#657287;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:850;cursor:pointer}.ws-rich-search .search-type-filters button.active{background:linear-gradient(135deg,#6658e8,#5073dd);border-color:transparent;color:#fff}.ws-rich-search .search-type-filters .tone-noun:not(.active):hover{background:var(--noun-soft);color:var(--noun)}.ws-rich-search .search-type-filters .tone-verb:not(.active):hover{background:var(--verb-soft);color:var(--verb)}.ws-rich-search .search-type-filters .tone-adjective:not(.active):hover{background:var(--adjective-soft);color:var(--adjective)}.ws-rich-search .search-type-filters .tone-adverb:not(.active):hover{background:var(--adverb-soft);color:var(--adverb)}.ws-rich-search .search-type-filters .tone-preposition:not(.active):hover{background:var(--preposition-soft);color:var(--preposition)}.ws-rich-search .search-type-filters .tone-conjunction:not(.active):hover{background:var(--conjunction-soft);color:var(--conjunction)}
.ws-rich-search .search-workspace.search-workspace-rich{grid-template-columns:330px minmax(0,1fr);gap:14px;align-items:start}.ws-rich-search .search-results-panel{background:#fff;border:1px solid #e5e9f2;border-radius:22px;padding:10px;box-shadow:0 12px 28px rgba(29,42,68,.04)}.ws-rich-search .search-results-head{display:flex;justify-content:space-between;padding:5px 5px 11px;color:#45546b;font-size:12px}.ws-rich-search .search-results-head small{color:#98a3b3;font-size:9px}.ws-rich-search .rich-result-list{padding:0;border:0;max-height:690px}.ws-rich-search .rich-word-btn{position:relative;padding:11px;border-radius:14px;margin-bottom:7px}.ws-rich-search .rich-word-btn::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:999px;background:var(--tone,#6658e8);opacity:0}.ws-rich-search .rich-word-btn:hover,.ws-rich-search .rich-word-btn.active{background:var(--soft,#f4f2ff);border-color:color-mix(in srgb,var(--tone,#6658e8) 22%,#e4e8f0)}.ws-rich-search .rich-word-btn.active::before{opacity:1}.ws-rich-search .tone-noun{--tone:var(--noun);--soft:var(--noun-soft)}.ws-rich-search .tone-verb{--tone:var(--verb);--soft:var(--verb-soft)}.ws-rich-search .tone-adjective{--tone:var(--adjective);--soft:var(--adjective-soft)}.ws-rich-search .tone-adverb{--tone:var(--adverb);--soft:var(--adverb-soft)}.ws-rich-search .tone-preposition{--tone:var(--preposition);--soft:var(--preposition-soft)}.ws-rich-search .tone-conjunction{--tone:var(--conjunction);--soft:var(--conjunction-soft)}.ws-rich-search .rich-word-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.ws-rich-search .rich-word-line b{font-size:13px;color:#34445b}.ws-rich-search .word-type-dot{font-size:8px;font-weight:900;color:var(--tone);background:var(--soft);padding:3px 6px;border-radius:999px}.ws-rich-search .rich-word-main .ar{font-size:11px;color:#526d66;margin-top:4px;text-align:right}.ws-rich-search .rich-word-side small{font-size:9px;color:#5c52c6;background:#f2f0ff;padding:4px 6px;border-radius:999px}.ws-rich-search .search-limit-note{padding:10px;font-size:10px;color:#8893a5;background:#f8f9fc;border-radius:11px}
.ws-rich-search .rich-detail{padding:0;border-radius:24px;border:1px solid #e4e8f1;background:#fff;box-shadow:0 16px 38px rgba(29,42,68,.06);overflow:auto;max-height:760px;position:sticky;top:86px}.ws-rich-search .rich-detail-hero{--tone:#6658e8;--soft:#f3f1ff;padding:24px;background:radial-gradient(circle at 92% 7%,color-mix(in srgb,var(--tone) 15%,transparent),transparent 30%),linear-gradient(135deg,#fff,var(--soft));border-bottom:1px solid #edf0f5}.ws-rich-search .rich-detail-hero.type-noun{--tone:var(--noun);--soft:var(--noun-soft)}.ws-rich-search .rich-detail-hero.type-verb{--tone:var(--verb);--soft:var(--verb-soft)}.ws-rich-search .rich-detail-hero.type-adjective{--tone:var(--adjective);--soft:var(--adjective-soft)}.ws-rich-search .rich-detail-hero.type-adverb{--tone:var(--adverb);--soft:var(--adverb-soft)}.ws-rich-search .rich-detail-hero.type-preposition{--tone:var(--preposition);--soft:var(--preposition-soft)}.ws-rich-search .rich-detail-hero.type-conjunction{--tone:var(--conjunction);--soft:var(--conjunction-soft)}.ws-rich-search .rich-detail-kicker{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--tone)}.ws-rich-search .rich-detail-title h2{margin:7px 0 4px;font-size:38px;color:var(--tone)}.ws-rich-search .rich-detail-ar{font-size:22px;font-weight:800;color:#3b8a65}.ws-rich-search .rich-detail-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.ws-rich-search .rich-chip{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900}.ws-rich-search .chip-level{background:#f2efff;color:#5b50ce}.ws-rich-search .chip-topic{background:#eef7ff;color:#3974a1}.ws-rich-search .chip-rektion{background:#fff1f4;color:#ad4564}.ws-rich-search .chip-soft{background:#f5f6f9;color:#788497}.ws-rich-search .rich-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px}.ws-rich-search .rich-fact{padding:10px 11px;border-radius:13px;border:1px solid #e6eaf1;background:#fff}.ws-rich-search .rich-fact small{display:block;font-size:8px;color:#8a96a7;margin-bottom:3px}.ws-rich-search .rich-fact b{font-size:12px;color:#3e4d63}.ws-rich-search .fact-noun{background:#f4f7ff}.ws-rich-search .fact-verb{background:#f1fbf7}.ws-rich-search .fact-adjective{background:#fff6f8}.ws-rich-search .fact-preposition{background:#fff9ef}.ws-rich-search .fact-level{background:#f7f4ff}.ws-rich-search .fact-topic{background:#f5fbff}
.ws-rich-search .rich-detail-grid{display:grid;grid-template-columns:1fr;gap:12px;padding:14px}.ws-rich-search .rich-detail-grid.has-rektion{grid-template-columns:1.15fr .85fr}.ws-rich-search .rich-section{border-radius:18px;padding:14px;border:1px solid #e7ebf2}.ws-rich-search .section-examples{background:#f8fbff}.ws-rich-search .section-rektion{background:#fff8fb}.ws-rich-search .section-relations{background:#faf8ff;grid-column:1/-1}.ws-rich-search .rich-section-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.ws-rich-search .rich-section-title span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:10px;background:#fff;border:1px solid #e4e8ef;color:#6258c6;font-size:9px;font-weight:900}.ws-rich-search .rich-section-title h3{margin:0;font-size:13px;color:#48576b}.ws-rich-search .rich-examples{display:flex;flex-direction:column;gap:8px}.ws-rich-search .rich-example{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;padding:10px;border-radius:13px;background:#fff;border:1px solid #e7edf4}.ws-rich-search .rich-example-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ws-rich-search .rich-example-pair .de,.ws-rich-search .rich-example-pair .ar{font-size:12px;line-height:1.6}.ws-rich-search .rich-example-pair .ar{border-left:1px solid #eef1f4;padding-left:10px;color:#496b62}.ws-rich-search .example-level{font-size:8px;background:#f2f0ff;color:#6157c4;padding:4px 5px;border-radius:999px}.ws-rich-search .rich-rektion-list{display:flex;flex-direction:column;gap:9px}.ws-rich-search .rich-rektion-item{padding:10px;border-radius:13px;background:#fff;border:1px solid #efdfe6}.ws-rich-search .rich-rektion-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.ws-rich-search .rich-rektion-meaning{font-size:11px;color:#5d756c}.ws-rich-search .rich-rektion-examples>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:7px;border-top:1px solid #f3e8ed;font-size:10px}.ws-rich-search .rich-relations{display:flex;gap:8px;flex-wrap:wrap}.ws-rich-search .relation-chip{display:flex;flex-direction:column;padding:8px 10px;border-radius:12px;background:#fff;border:1px solid #e6e1f6}.ws-rich-search .relation-chip small{font-size:8px;color:#9b94b2}.ws-rich-search .relation-chip b{font-size:11px;color:#5e51b5}.ws-rich-search .rich-empty,.ws-rich-search .rich-empty-state{padding:16px;border:1px dashed #dfe4ec;border-radius:14px;background:#fafbfc;color:#8591a2;font-size:11px}
@media(max-width:1180px){.ws-rich-search .search-workspace.search-workspace-rich{grid-template-columns:280px 1fr}.ws-rich-search .rich-detail-facts{grid-template-columns:repeat(2,1fr)}.ws-rich-search .rich-detail-grid.has-rektion{grid-template-columns:1fr}}@media(max-width:900px){.ws-rich-search .search-rich-head{grid-template-columns:1fr}.ws-rich-search .search-workspace.search-workspace-rich{grid-template-columns:1fr}.ws-rich-search .rich-result-list{max-height:340px}.ws-rich-search .rich-detail{position:static;max-height:none}}@media(max-width:620px){.ws-rich-search .rich-detail-facts{grid-template-columns:1fr 1fr}.ws-rich-search .rich-example-pair,.ws-rich-search .rich-rektion-examples>div{grid-template-columns:1fr}.ws-rich-search .rich-example-pair .ar{border-left:0;padding-left:0}}

/* v1.6.6.1 — didactic highlighting inside search examples */
.ws-rich-search .example-mark-word,
.ws-rich-search .example-mark-prep{
  display:inline;
  padding:.06em .28em;
  border-radius:.42em;
  font:inherit;
  line-height:inherit;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.ws-rich-search .example-mark-word{
  background:linear-gradient(135deg,#e9e7ff,#f4f2ff);
  color:#5548c9;
  font-weight:900;
  box-shadow:inset 0 -1px 0 rgba(85,72,201,.18);
}
.ws-rich-search .example-mark-prep{
  background:linear-gradient(135deg,#fff0f3,#fff7f8);
  color:#b54463;
  font-weight:900;
  box-shadow:inset 0 -1px 0 rgba(181,68,99,.18);
}
.ws-rich-search .rich-example:hover .example-mark-word{background:#dedaff}
.ws-rich-search .rich-example:hover .example-mark-prep{background:#ffe1e8}

/* ===== merged from wortschatz-search-premium-v1.6.14.css ===== */
/* =========================================================
   DeuSall v1.6.14 — Schnellsuche Premium UI
   Scope: Schnellsuche only. Navbar/shared sidebar untouched.
   ========================================================= */

.ws-rich-search{
  background:
    radial-gradient(circle at 100% 0%,rgba(62,188,205,.08),transparent 24%),
    radial-gradient(circle at 0 0,rgba(101,88,232,.055),transparent 22%),
    #f6f8fc;
}

/* HERO -------------------------------------------------- */
.ws-rich-search .search-premium-head{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);
  gap:28px;
  align-items:center;
  min-height:230px;
  padding:30px 32px;
  margin-bottom:16px;
  overflow:hidden;
  position:relative;
  border:1px solid #e1e7f0;
  border-radius:28px;
  background:
    radial-gradient(circle at 91% 13%,rgba(67,198,210,.16),transparent 22%),
    radial-gradient(circle at 74% 84%,rgba(101,88,232,.08),transparent 26%),
    linear-gradient(135deg,#fff 0%,#fbfbff 58%,#f1fbfd 100%);
  box-shadow:0 18px 42px rgba(34,49,77,.055);
}

.ws-rich-search .search-premium-copy{
  position:relative;
  z-index:2;
}

.ws-rich-search .search-premium-head .eyebrow{
  display:block;
  margin-bottom:8px;
  color:#6258c8;
  font-size:10.5px;
  font-weight:950;
  letter-spacing:.15em;
}

.ws-rich-search .search-premium-head h2{
  margin:0 0 9px;
  color:#22344e;
  font-size:clamp(42px,4.3vw,60px);
  line-height:1;
  letter-spacing:-.05em;
  font-weight:900;
}

.ws-rich-search .search-premium-head p{
  max-width:760px;
  margin:0;
  color:#5f7088;
  font-size:15px;
  line-height:1.75;
}

.ws-rich-search .search-premium-head .ar{
  margin-top:5px;
  color:#386e64;
  font:700 14px/1.8 Tahoma,"Segoe UI",Arial,sans-serif;
  text-align:right;
}

.ws-rich-search .search-premium-visual{
  position:relative;
  min-height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ws-rich-search .search-premium-count{
  position:absolute;
  top:0;
  right:0;
  min-width:126px;
  padding:10px 15px;
  border:1px solid #d9e2ee !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.88) !important;
  color:#554dc9 !important;
  font-size:11px !important;
  font-weight:950;
  text-align:center;
  box-shadow:0 8px 22px rgba(55,66,97,.05);
}

.ws-rich-search .search-premium-art{
  position:relative;
  width:220px;
  height:145px;
}

.ws-rich-search .search-book{
  position:absolute;
  left:47px;
  bottom:10px;
  width:142px;
  height:80px;
  transform:perspective(500px) rotateX(7deg);
  filter:drop-shadow(0 16px 20px rgba(74,78,155,.14));
}

.ws-rich-search .book-page{
  position:absolute;
  top:0;
  width:72px;
  height:76px;
  border:1px solid #d8dcfb;
  background:linear-gradient(180deg,#fff,#f3f3ff);
}

.ws-rich-search .book-left{
  left:0;
  border-radius:9px 3px 12px 10px;
  transform:skewY(5deg);
}

.ws-rich-search .book-right{
  right:0;
  border-radius:3px 9px 10px 12px;
  transform:skewY(-5deg);
}

.ws-rich-search .book-spine{
  position:absolute;
  left:50%;
  top:4px;
  bottom:7px;
  width:2px;
  margin-left:-1px;
  background:#c5c8f2;
}

.ws-rich-search .search-orb{
  position:absolute;
  left:94px;
  top:24px;
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:38px;
  font-weight:400;
  background:linear-gradient(135deg,#7763ee,#5d58de);
  box-shadow:0 14px 28px rgba(93,88,222,.25);
}

.ws-rich-search .search-float-chip{
  position:absolute;
  z-index:3;
  display:grid;
  place-items:center;
  min-width:40px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(41,54,84,.06);
}

.ws-rich-search .chip-der{
  left:17px;
  top:48px;
  color:#4476d7;
  background:#eaf1ff;
  transform:rotate(-9deg);
}

.ws-rich-search .chip-die{
  left:60px;
  top:78px;
  color:#278d72;
  background:#e8f9f3;
  transform:rotate(4deg);
}

.ws-rich-search .chip-das{
  right:7px;
  top:8px;
  color:#278d72;
  background:#dff8eb;
  transform:rotate(-7deg);
}

.ws-rich-search .search-premium-note{
  position:absolute;
  right:0;
  bottom:5px;
  display:flex;
  flex-direction:column;
  gap:1px;
  color:#5f6fd3;
  font-size:10px;
  line-height:1.35;
  transform:rotate(-2deg);
}

.ws-rich-search .search-premium-note b{
  font-size:11px;
}

/* CONTROLS -------------------------------------------------- */
.ws-rich-search .search-rich-controls{
  padding:14px;
  margin-bottom:16px;
  border:1px solid #e1e7ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 30px rgba(37,51,80,.045);
}

.ws-rich-search .search-rich-box input{
  height:58px;
  padding:0 20px 0 52px;
  border:1px solid #dbe3ed;
  border-radius:17px;
  background:#fcfdff;
  color:#30435d;
  font-size:15.5px;
  font-weight:600;
}

.ws-rich-search .search-rich-box input::placeholder{
  color:#94a0b1;
  font-weight:500;
}

.ws-rich-search .search-rich-box input:focus{
  border-color:#a9a2f7;
  background:#fff;
  box-shadow:0 0 0 4px rgba(101,88,232,.09);
}

.ws-rich-search .search-rich-icon{
  left:18px;
  color:#6359ce;
  font-size:25px;
}

.ws-rich-search .search-type-filters{
  gap:8px;
  margin-top:11px;
}

.ws-rich-search .search-type-filters button{
  min-height:38px;
  padding:0 14px;
  border:1px solid #dfe5ee;
  color:#52637a;
  background:#fff;
  font-size:11.5px;
  font-weight:900;
  transition:.16s ease;
}

.ws-rich-search .search-type-filters button:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(40,54,84,.045);
}

.ws-rich-search .search-type-filters button.active{
  background:linear-gradient(135deg,#705cf0,#5d58da);
  color:#fff;
  border-color:transparent;
  box-shadow:0 9px 20px rgba(93,88,218,.19);
}

/* WORKSPACE -------------------------------------------------- */
.ws-rich-search .search-workspace.search-workspace-rich{
  display:grid;
  grid-template-columns:350px minmax(0,1fr);
  gap:16px;
  align-items:start;
}

.ws-rich-search .search-results-panel{
  padding:10px;
  border:1px solid #e0e6ef;
  border-radius:23px;
  background:#fff;
  box-shadow:0 14px 34px rgba(37,51,80,.045);
}

.ws-rich-search .search-results-head{
  padding:7px 7px 12px;
  align-items:center;
  color:#2c3e57;
}

.ws-rich-search .search-results-head b{
  font-size:16px;
  font-weight:900;
}

.ws-rich-search .search-results-head small{
  color:#8896a8;
  font-size:10.5px;
}

.ws-rich-search .rich-result-list{
  max-height:720px;
  padding-right:2px;
}

.ws-rich-search .rich-word-btn{
  min-height:72px;
  margin-bottom:8px;
  padding:12px 13px;
  border:1px solid #e6eaf1;
  border-radius:16px;
  background:#fff;
  transition:.16s ease;
}

.ws-rich-search .rich-word-btn::before{
  top:10px;
  bottom:10px;
  width:4px;
}

.ws-rich-search .rich-word-btn:hover{
  transform:translateX(2px);
}

.ws-rich-search .rich-word-btn.active{
  border-color:color-mix(in srgb,var(--tone,#6658e8) 34%,#dfe5ee);
  box-shadow:0 8px 20px rgba(46,57,91,.05);
}

.ws-rich-search .rich-word-line{
  gap:8px;
}

.ws-rich-search .rich-word-line b{
  color:#263950;
  font-size:14px;
  font-weight:900;
}

.ws-rich-search .word-type-dot{
  padding:4px 7px;
  font-size:8.5px;
}

.ws-rich-search .rich-word-main .ar{
  margin-top:5px;
  color:#607970;
  font:600 12px/1.45 Tahoma,"Segoe UI",Arial,sans-serif;
}

.ws-rich-search .rich-word-side small{
  padding:5px 7px;
  font-size:9px;
  font-weight:900;
}

.ws-rich-search .search-limit-note{
  padding:12px;
  font-size:10.5px;
  line-height:1.55;
}

/* DETAIL INSPECTOR ------------------------------------------ */
.ws-rich-search .rich-detail{
  max-height:calc(100vh - 94px);
  overflow:auto;
  position:sticky;
  top:84px;
  border:1px solid #dfe5ee;
  border-radius:26px;
  background:#fff;
  box-shadow:0 18px 42px rgba(36,50,79,.06);
}

.ws-rich-search .rich-detail-hero{
  padding:27px 28px 24px;
  background:
    radial-gradient(circle at 96% 5%,color-mix(in srgb,var(--tone) 10%,transparent),transparent 24%),
    linear-gradient(145deg,#fff 0%,color-mix(in srgb,var(--soft) 62%,#fff) 100%);
}

.ws-rich-search .rich-detail-kicker{
  font-size:10.5px;
  letter-spacing:.13em;
}

.ws-rich-search .rich-detail-title h2{
  margin:8px 0 5px;
  color:#16294a !important;
  font-size:44px;
  line-height:1.04;
  letter-spacing:-.04em;
  font-weight:900;
}

.ws-rich-search .rich-detail-ar{
  color:#269069;
  font:800 22px/1.45 Tahoma,"Segoe UI",Arial,sans-serif;
}

.ws-rich-search .rich-detail-meta{
  gap:8px;
  margin-top:14px;
}

.ws-rich-search .rich-chip{
  min-height:27px;
  align-items:center;
  padding:5px 9px;
  font-size:9.5px;
}

.ws-rich-search .rich-detail-facts{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:20px;
}

.ws-rich-search .rich-fact{
  min-height:64px;
  padding:11px 12px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid #e1e7ef;
  border-radius:14px;
  background:#fff;
}

.ws-rich-search .rich-fact small{
  margin-bottom:5px;
  color:#8391a4;
  font-size:8.8px;
  font-weight:700;
}

.ws-rich-search .rich-fact b{
  color:#2d4059;
  font-size:13px;
  line-height:1.35;
  font-weight:850;
}

.ws-rich-search .fact-noun{background:#f6f8ff}
.ws-rich-search .fact-verb{background:#f2fbf8}
.ws-rich-search .fact-adjective{background:#fff6f8}
.ws-rich-search .fact-preposition{background:#fff9ef}
.ws-rich-search .fact-level{background:#f7f5ff}
.ws-rich-search .fact-topic{background:#f3fafc}

/* DETAIL SECTIONS ------------------------------------------- */
.ws-rich-search .rich-detail-grid{
  gap:14px;
  padding:15px;
}

.ws-rich-search .rich-detail-grid.has-rektion{
  grid-template-columns:1.1fr .9fr;
}

.ws-rich-search .rich-section{
  padding:15px;
  border:1px solid #e2e8f0;
  border-radius:19px;
}

.ws-rich-search .section-examples{
  background:linear-gradient(180deg,#f4fcf8 0%,#fbfffd 100%);
  border-color:#d7eee3;
}

.ws-rich-search .section-rektion{
  background:linear-gradient(180deg,#fff7fa 0%,#fffdfd 100%);
  border-color:#f0dfe6;
}

.ws-rich-search .section-relations{
  background:#fbf9ff;
}

.ws-rich-search .rich-section-title{
  margin-bottom:12px;
}

.ws-rich-search .rich-section-title span{
  min-width:32px;
  height:32px;
  font-size:9.5px;
}

.ws-rich-search .rich-section-title h3{
  color:#34475e;
  font-size:14px;
  font-weight:900;
}

.ws-rich-search .rich-examples{
  gap:9px;
}

.ws-rich-search .rich-example{
  grid-template-columns:31px minmax(0,1fr) auto;
  gap:10px;
  min-height:54px;
  padding:11px 12px;
  border:1px solid #dfe9e4;
  border-radius:14px;
  background:#fff;
}

.ws-rich-search .rich-example-no{
  color:#44556d;
  font-size:12px;
}

.ws-rich-search .rich-example-pair{
  gap:13px;
}

.ws-rich-search .rich-example-pair .de,
.ws-rich-search .rich-example-pair .ar{
  font-size:12.8px;
  line-height:1.65;
}

.ws-rich-search .rich-example-pair .de{
  color:#2e4058;
}

.ws-rich-search .rich-example-pair .ar{
  padding-left:12px;
  color:#2c8268;
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
}

.ws-rich-search .example-level{
  padding:5px 6px;
  font-size:8.5px;
}

.ws-rich-search .example-mark-word{
  background:#ebe8ff;
  color:#5348c9;
  font-weight:950;
}

.ws-rich-search .example-mark-prep{
  background:#ffe7ed;
  color:#b33e5d;
  font-weight:950;
}

.ws-rich-search .rich-rektion-item{
  padding:12px;
  border-radius:14px;
}

.ws-rich-search .rich-rektion-meaning{
  font-size:12px;
}

.ws-rich-search .rich-rektion-examples>div{
  gap:10px;
  padding-top:8px;
  font-size:11px;
  line-height:1.55;
}

/* EMPTY STATE ----------------------------------------------- */
.ws-rich-search .rich-empty,
.ws-rich-search .rich-empty-state{
  padding:22px;
  border:1px dashed #d8e0e9;
  border-radius:15px;
  color:#7f8c9f;
  background:#fafcff;
  font-size:12px;
}

/* RESPONSIVE ------------------------------------------------ */
@media(max-width:1220px){
  .ws-rich-search .search-premium-head{
    grid-template-columns:minmax(0,1fr) 300px;
  }
  .ws-rich-search .search-workspace.search-workspace-rich{
    grid-template-columns:315px minmax(0,1fr);
  }
  .ws-rich-search .rich-detail-facts{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:960px){
  .ws-rich-search .search-premium-head{
    grid-template-columns:1fr;
    min-height:0;
  }
  .ws-rich-search .search-premium-visual{
    display:none;
  }
  .ws-rich-search .search-workspace.search-workspace-rich{
    grid-template-columns:1fr;
  }
  .ws-rich-search .rich-result-list{
    max-height:360px;
  }
  .ws-rich-search .rich-detail{
    position:static;
    max-height:none;
  }
  .ws-rich-search .rich-detail-grid.has-rektion{
    grid-template-columns:1fr;
  }
}

@media(max-width:650px){
  .ws-rich-search .search-premium-head{
    padding:22px 19px;
    border-radius:22px;
  }
  .ws-rich-search .search-premium-head h2{
    font-size:39px;
  }
  .ws-rich-search .search-premium-head p{
    font-size:13.5px;
  }
  .ws-rich-search .search-premium-head .ar{
    font-size:13px;
  }
  .ws-rich-search .search-type-filters button{
    flex:1 1 calc(50% - 8px);
  }
  .ws-rich-search .rich-detail-title h2{
    font-size:36px;
  }
  .ws-rich-search .rich-detail-ar{
    font-size:19px;
  }
  .ws-rich-search .rich-detail-facts{
    grid-template-columns:1fr 1fr;
  }
  .ws-rich-search .rich-example-pair{
    grid-template-columns:1fr;
  }
  .ws-rich-search .rich-example-pair .ar{
    padding-left:0;
    border-left:0;
    border-top:1px solid #edf2ef;
    padding-top:7px;
  }
}

/* ===== merged from wortschatz-search-aurora-vip-v1.6.18.css ===== */
/* ================================================================
   DeuSall v1.6.18 — Schnellsuche Aurora VIP UI
   Scope: .ws-rich-search only
   Navbar / DB / JS / routes untouched.
   ================================================================ */

.ws-rich-search{
  --sv-ink:#172a45;
  --sv-muted:#617289;
  --sv-violet:#6858e8;
  --sv-blue:#536ddd;
  --sv-green:#21a286;
  --sv-line:#dfe6f0;
  background:
    radial-gradient(circle at 96% 0%,rgba(78,198,190,.055),transparent 24%),
    linear-gradient(180deg,#f8f9fd 0%,#f5f7fb 100%) !important;
}

.ws-rich-search .app{
  max-width:1420px !important;
  padding:24px 24px 64px !important;
}

.ws-rich-search .workspace{
  grid-template-columns:255px minmax(0,1fr) !important;
  gap:18px !important;
  align-items:start !important;
}

/* ---------------- VIP sidebar ---------------- */
.ws-rich-search .side.side-clean{
  position:sticky !important;
  top:88px !important;
  max-height:calc(100vh - 106px) !important;
  padding:13px !important;
  border:1px solid #dfe6ef !important;
  border-radius:25px !important;
  background:
    radial-gradient(circle at 100% 0%,rgba(77,199,190,.08),transparent 28%),
    linear-gradient(180deg,#fff 0%,#fcfdff 100%) !important;
  box-shadow:0 20px 48px rgba(35,49,78,.07) !important;
}

.ws-rich-search .side-clean-head{
  position:relative !important;
  min-height:73px !important;
  margin:0 0 9px !important;
  padding:17px 13px 16px 61px !important;
  border:1px solid #dce7ef !important;
  border-radius:17px !important;
  background:
    radial-gradient(circle at 94% 12%,rgba(75,199,190,.12),transparent 30%),
    linear-gradient(135deg,#fff,#f1fbfa) !important;
}

.ws-rich-search .side-clean-head::before{
  content:"" !important;
  position:absolute !important;
  left:13px !important;
  top:50% !important;
  width:38px !important;
  height:38px !important;
  transform:translateY(-50%) !important;
  border-radius:11px !important;
  background:#27b69c url("./search-vip/icon-book.svg") no-repeat center / 21px 21px !important;
  box-shadow:0 10px 22px rgba(38,176,151,.19) !important;
}

.ws-rich-search .side-clean-title{
  color:#23374f !important;
  font-size:18px !important;
  font-weight:950 !important;
}

.ws-rich-search .side-clean-sub{
  margin-top:4px !important;
  color:#687a90 !important;
  font-size:10.5px !important;
}

.ws-rich-search .nav-cap{
  padding:13px 9px 7px !important;
  color:#8695aa !important;
  font-size:9.5px !important;
  letter-spacing:.15em !important;
}

.ws-rich-search .side.side-clean a{
  min-height:49px !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  margin:2px 0 !important;
  padding:8px 9px !important;
  border:1px solid transparent !important;
  border-radius:13px !important;
  color:#53637a !important;
  font-size:12px !important;
  font-weight:850 !important;
}

.ws-rich-search .side.side-clean a::before{
  content:"" !important;
  width:29px !important;
  height:29px !important;
  flex:0 0 29px !important;
  border-radius:9px !important;
  background-color:#f4f6fa !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:16px 16px !important;
  box-shadow:inset 0 0 0 1px #e3e8ef !important;
}

.ws-rich-search .side.side-clean a[href$="/wortschatz"]::before{background-image:url("./search-vip/icon-home.svg") !important}
.ws-rich-search .side.side-clean a[href*="/wortschatz/suche"]::before{background-image:url("./search-vip/icon-search.svg") !important}
.ws-rich-search .side.side-clean a[href*="/wortart/substantive"]::before{background-image:url("./search-vip/icon-cube.svg") !important}
.ws-rich-search .side.side-clean a[href*="/wortart/verben"]::before{background-image:url("./search-vip/icon-rocket.svg") !important}
.ws-rich-search .side.side-clean a[href*="/wortart/adjektive"]::before{background-image:url("./search-vip/icon-pencil.svg") !important}
.ws-rich-search .side.side-clean a[href*="/wortart/adverbien"]::before{background-image:url("./search-vip/icon-bolt.svg") !important}
.ws-rich-search .side.side-clean a[href*="/wortart/praepositionen"]::before{background-image:url("./search-vip/icon-link.svg") !important}
.ws-rich-search .side.side-clean a[href*="/wortart/konjunktionen"]::before{background-image:url("./search-vip/icon-network.svg") !important}

.ws-rich-search .side.side-clean a span{
  color:#35485f !important;
  font-size:12.5px !important;
  font-weight:900 !important;
}
.ws-rich-search .side.side-clean a small{
  margin-left:auto !important;
  color:#8996a9 !important;
  font-size:9px !important;
}
.ws-rich-search .side.side-clean a:hover{
  transform:translateX(2px) !important;
  background:#f8faff !important;
  border-color:#e1e7ef !important;
}
.ws-rich-search .side.side-clean a.active{
  border-color:#d9e2fb !important;
  background:linear-gradient(135deg,#f2f5ff,#fff) !important;
  box-shadow:inset 3px 0 0 #6658e6,0 8px 18px rgba(87,80,190,.06) !important;
}

/* ---------------- Hero ---------------- */
.ws-rich-search .search-premium-head{
  position:relative !important;
  min-height:190px !important;
  display:block !important;
  overflow:hidden !important;
  padding:31px 390px 28px 31px !important;
  border:1px solid #dce5f0 !important;
  border-radius:29px !important;
  background:
    radial-gradient(circle at 75% 16%,rgba(79,205,190,.16),transparent 19%),
    radial-gradient(circle at 90% 65%,rgba(93,115,231,.12),transparent 24%),
    linear-gradient(135deg,#fff 0%,#fbfcff 64%,#eefafa 100%) !important;
  box-shadow:0 22px 52px rgba(35,49,78,.07) !important;
}

.ws-rich-search .search-premium-head::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:22px !important;
  bottom:22px !important;
  width:5px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#6858e8,#4cc6b8) !important;
}

.ws-rich-search .search-premium-head::after{
  content:"" !important;
  position:absolute !important;
  right:0 !important;
  bottom:-5px !important;
  width:385px !important;
  height:185px !important;
  background:url("./search-vip/search-hero.svg") no-repeat center bottom / contain !important;
  pointer-events:none !important;
  z-index:1 !important;
}

.ws-rich-search .search-premium-copy{
  position:relative !important;
  z-index:3 !important;
  max-width:760px !important;
}

.ws-rich-search .search-premium-copy .eyebrow{
  display:block !important;
  margin-bottom:10px !important;
  color:#6559cb !important;
  font-size:10.5px !important;
  font-weight:950 !important;
  letter-spacing:.16em !important;
}

.ws-rich-search .search-premium-copy h2{
  margin:0 0 10px !important;
  color:#172a45 !important;
  font-size:clamp(46px,4.8vw,63px) !important;
  line-height:.96 !important;
  letter-spacing:-.055em !important;
  font-weight:950 !important;
}

.ws-rich-search .search-premium-copy>p:not(.ar){
  max-width:700px !important;
  color:#5d6f87 !important;
  font-size:14px !important;
  line-height:1.7 !important;
}

.ws-rich-search .search-premium-copy .ar{
  max-width:700px !important;
  margin-top:8px !important;
  color:#287d6b !important;
  font:700 14px/1.9 Tahoma,"Segoe UI",Arial,sans-serif !important;
  text-align:right !important;
}

.ws-rich-search .search-premium-visual{
  position:static !important;
}

.ws-rich-search .search-premium-art,
.ws-rich-search .search-premium-note{
  display:none !important;
}

.ws-rich-search .search-premium-count{
  position:absolute !important;
  z-index:5 !important;
  top:18px !important;
  right:20px !important;
  min-width:132px !important;
  margin:0 !important;
  padding:11px 15px !important;
  border:1px solid #dde5ef !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.92) !important;
  color:#5c59ce !important;
  box-shadow:0 10px 23px rgba(64,73,130,.055) !important;
  font-size:10.5px !important;
  font-weight:950 !important;
}

/* ---------------- Search controls ---------------- */
.ws-rich-search .search-rich-controls{
  margin-top:14px !important;
  padding:13px !important;
  border:1px solid #dde5ef !important;
  border-radius:23px !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(35,49,78,.055) !important;
}

.ws-rich-search .search-rich-box{
  position:relative !important;
  min-height:56px !important;
  border:1px solid #dce4ee !important;
  border-radius:16px !important;
  background:#fcfdff !important;
  overflow:hidden !important;
}

.ws-rich-search .search-rich-icon{
  position:absolute !important;
  left:17px !important;
  top:50% !important;
  width:22px !important;
  height:22px !important;
  transform:translateY(-50%) !important;
  font-size:0 !important;
  background:url("./search-vip/icon-search.svg") no-repeat center / 21px 21px !important;
  opacity:.88 !important;
}

.ws-rich-search .search-rich-box input{
  width:100% !important;
  min-height:56px !important;
  padding:0 18px 0 55px !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  color:#263951 !important;
  font-size:14px !important;
  font-weight:650 !important;
}

.ws-rich-search .search-rich-box:focus-within{
  border-color:rgba(104,88,232,.42) !important;
  box-shadow:0 0 0 4px rgba(104,88,232,.08) !important;
}

.ws-rich-search .search-type-filters{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin-top:11px !important;
}

.ws-rich-search .search-type-filters button{
  min-height:38px !important;
  padding:0 14px !important;
  border:1px solid #dfe5ed !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#516277 !important;
  font-size:10.5px !important;
  font-weight:900 !important;
  box-shadow:0 5px 13px rgba(35,49,78,.028) !important;
  transition:.15s ease !important;
}
.ws-rich-search .search-type-filters button:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 8px 16px rgba(35,49,78,.055) !important;
}
.ws-rich-search .search-type-filters button.active{
  border-color:transparent !important;
  background:linear-gradient(135deg,#755aed,#6258de) !important;
  color:#fff !important;
  box-shadow:0 9px 20px rgba(101,88,223,.19) !important;
}
.ws-rich-search .search-type-filters .tone-noun{color:#536ddd !important;background:#f5f7ff !important}
.ws-rich-search .search-type-filters .tone-verb{color:#178c75 !important;background:#effaf6 !important}
.ws-rich-search .search-type-filters .tone-adjective{color:#d45b77 !important;background:#fff3f6 !important}
.ws-rich-search .search-type-filters .tone-adverb{color:#b77a18 !important;background:#fff8eb !important}
.ws-rich-search .search-type-filters .tone-preposition{color:#2f8fc7 !important;background:#f0f8ff !important}
.ws-rich-search .search-type-filters .tone-conjunction{color:#7555cf !important;background:#f6f2ff !important}

/* ---------------- Main inspector grid ---------------- */
.ws-rich-search .search-workspace-rich{
  display:grid !important;
  grid-template-columns:300px minmax(0,1fr) !important;
  gap:14px !important;
  margin-top:14px !important;
}

.ws-rich-search .search-results-panel,
.ws-rich-search .rich-detail{
  border:1px solid #dde5ef !important;
  border-radius:23px !important;
  background:#fff !important;
  box-shadow:0 17px 39px rgba(35,49,78,.06) !important;
}

.ws-rich-search .search-results-panel{
  padding:12px !important;
  overflow:hidden !important;
}

.ws-rich-search .search-results-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:8px 5px 12px !important;
  border-bottom:1px solid #edf0f5 !important;
}
.ws-rich-search .search-results-head b{
  color:#263951 !important;
  font-size:14px !important;
  font-weight:950 !important;
}
.ws-rich-search .search-results-head small{
  color:#8995a8 !important;
  font-size:9.5px !important;
  font-weight:750 !important;
}

.ws-rich-search .rich-result-list{
  padding:10px 0 1px !important;
  gap:8px !important;
}

.ws-rich-search .rich-result-list .result-item,
.ws-rich-search .rich-result-list button,
.ws-rich-search .rich-result-list [role="button"]{
  border-radius:15px !important;
}

/* Detail panel shell */
.ws-rich-search .rich-detail{
  overflow:hidden !important;
  background:
    radial-gradient(circle at 98% 0%,rgba(89,101,225,.08),transparent 26%),
    linear-gradient(180deg,#fff 0%,#fcfdff 100%) !important;
}

/* Common inspector typography */
.ws-rich-search .rich-detail h1,
.ws-rich-search .rich-detail h2,
.ws-rich-search .rich-detail h3{
  color:#172a45 !important;
  letter-spacing:-.035em !important;
}

.ws-rich-search .rich-detail .detail-head,
.ws-rich-search .rich-detail .hero,
.ws-rich-search .rich-detail .word-hero{
  padding:25px 25px 20px !important;
}

.ws-rich-search .rich-detail .word-title,
.ws-rich-search .rich-detail .detail-title{
  font-size:clamp(36px,4vw,52px) !important;
  line-height:1 !important;
  font-weight:950 !important;
}

.ws-rich-search .rich-detail .ar,
.ws-rich-search .rich-detail [dir="rtl"]{
  font-family:Tahoma,"Segoe UI",Arial,sans-serif !important;
}

/* fact/meta cards */
.ws-rich-search .rich-detail .facts,
.ws-rich-search .rich-detail .fact-grid,
.ws-rich-search .rich-detail .meta-grid{
  gap:10px !important;
}
.ws-rich-search .rich-detail .fact,
.ws-rich-search .rich-detail .fact-card,
.ws-rich-search .rich-detail .meta-card{
  border:1px solid #e0e6ef !important;
  border-radius:15px !important;
  background:#fbfcff !important;
  box-shadow:0 6px 15px rgba(35,49,78,.025) !important;
}

/* Example section */
.ws-rich-search .rich-detail .examples,
.ws-rich-search .rich-detail .detail-examples{
  margin:0 14px 14px !important;
  padding:14px !important;
  border:1px solid #dce8e3 !important;
  border-radius:20px !important;
  background:linear-gradient(180deg,#f6fcf9,#fff) !important;
}

.ws-rich-search .rich-detail mark,
.ws-rich-search .rich-detail .example-highlight,
.ws-rich-search .rich-detail .target-word{
  padding:1px 4px !important;
  border-radius:5px !important;
  background:#efeaff !important;
  color:#604fd3 !important;
  font-weight:900 !important;
}

/* Rektion / relations */
.ws-rich-search .rich-detail .rektion,
.ws-rich-search .rich-detail .relations{
  border-radius:18px !important;
}

/* Responsive */
@media(max-width:1120px){
  .ws-rich-search .workspace{
    grid-template-columns:225px minmax(0,1fr) !important;
  }
  .ws-rich-search .search-premium-head{
    padding-right:310px !important;
  }
  .ws-rich-search .search-premium-head::after{
    width:305px !important;
  }
}

@media(max-width:920px){
  .ws-rich-search .workspace{
    grid-template-columns:1fr !important;
  }
  .ws-rich-search .side.side-clean{
    position:static !important;
    max-height:none !important;
  }
  .ws-rich-search .search-workspace-rich{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:720px){
  .ws-rich-search .app{
    padding:16px 11px 46px !important;
  }
  .ws-rich-search .search-premium-head{
    min-height:0 !important;
    padding:24px 19px !important;
    border-radius:23px !important;
  }
  .ws-rich-search .search-premium-head::after{
    display:none !important;
  }
  .ws-rich-search .search-premium-copy h2{
    font-size:40px !important;
  }
  .ws-rich-search .search-premium-count{
    position:static !important;
    display:inline-block !important;
    margin-top:14px !important;
  }
}

/* ===== merged from wortschatz-search-hero-compact-v1.6.18.1.css ===== */
/* ================================================================
   DeuSall v1.6.18.1 — Schnellsuche Hero Compact Fix
   Fix only:
   - reduce oversized hero height
   - move book/search illustration upward
   - tighten vertical spacing
   Everything else remains untouched.
   ================================================================ */

.ws-rich-search .search-premium-head{
  min-height:154px !important;
  padding:22px 370px 21px 30px !important;
  border-radius:25px !important;
}

.ws-rich-search .search-premium-head::before{
  top:18px !important;
  bottom:18px !important;
}

.ws-rich-search .search-premium-head::after{
  right:8px !important;
  bottom:8px !important;
  width:345px !important;
  height:145px !important;
  background-position:center center !important;
  background-size:contain !important;
}

.ws-rich-search .search-premium-copy .eyebrow{
  margin-bottom:7px !important;
}

.ws-rich-search .search-premium-copy h2{
  margin-bottom:7px !important;
  font-size:clamp(42px,4.35vw,57px) !important;
}

.ws-rich-search .search-premium-copy>p:not(.ar){
  font-size:13.5px !important;
  line-height:1.55 !important;
}

.ws-rich-search .search-premium-copy .ar{
  margin-top:5px !important;
  font-size:13.5px !important;
  line-height:1.7 !important;
}

.ws-rich-search .search-premium-count{
  top:14px !important;
  right:17px !important;
  padding:9px 14px !important;
  min-width:126px !important;
}

.ws-rich-search .search-rich-controls{
  margin-top:10px !important;
}

/* Medium screens: retain compact proportions. */
@media(max-width:1120px){
  .ws-rich-search .search-premium-head{
    min-height:150px !important;
    padding-right:300px !important;
  }

  .ws-rich-search .search-premium-head::after{
    right:4px !important;
    bottom:8px !important;
    width:285px !important;
    height:136px !important;
  }
}

/* Mobile: illustration remains hidden as before. */
@media(max-width:720px){
  .ws-rich-search .search-premium-head{
    min-height:0 !important;
    padding:22px 18px !important;
  }

  .ws-rich-search .search-premium-head::after{
    display:none !important;
  }
}

/* ===== merged from wortschatz-search-hero-flow-fix-v1.6.18.2.css ===== */
/* ================================================================
   DeuSall v1.6.18.2 — Schnellsuche Hero Flow Fix
   Root cause:
   legacy .search-premium-visual kept min-height:170px in normal flow.
   This fix removes that hidden vertical reservation completely.
   ================================================================ */

/* Hero height now follows TEXT only. */
.ws-rich-search .search-premium-head{
  display:block !important;
  min-height:0 !important;
  height:auto !important;
  padding:22px 370px 20px 30px !important;
}

/* Critical fix: visual layer must NOT reserve layout height. */
.ws-rich-search .search-premium-visual{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  pointer-events:none !important;
  z-index:2 !important;
}

/* Text stays above the decorative visual. */
.ws-rich-search .search-premium-copy{
  position:relative !important;
  z-index:4 !important;
}

/* Keep the count pill correctly anchored to the hero. */
.ws-rich-search .search-premium-count{
  position:absolute !important;
  top:14px !important;
  right:17px !important;
  z-index:6 !important;
}

/* Decorative SVG stays compact and vertically centered. */
.ws-rich-search .search-premium-head::after{
  right:12px !important;
  bottom:10px !important;
  width:330px !important;
  height:132px !important;
  background-position:center center !important;
  background-size:contain !important;
}

/* Remove any legacy visual children from layout/rendering. */
.ws-rich-search .search-premium-art,
.ws-rich-search .search-premium-note{
  display:none !important;
  width:0 !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

/* Tight, balanced typography. */
.ws-rich-search .search-premium-copy .eyebrow{
  margin-bottom:6px !important;
}

.ws-rich-search .search-premium-copy h2{
  margin-bottom:6px !important;
}

.ws-rich-search .search-premium-copy>p:not(.ar){
  margin:0 !important;
  line-height:1.5 !important;
}

.ws-rich-search .search-premium-copy .ar{
  margin:4px 0 0 !important;
  line-height:1.65 !important;
}

/* Search panel now sits closer to the corrected hero. */
.ws-rich-search .search-rich-controls{
  margin-top:10px !important;
}

@media(max-width:1120px){
  .ws-rich-search .search-premium-head{
    padding-right:300px !important;
  }

  .ws-rich-search .search-premium-head::after{
    right:8px !important;
    width:270px !important;
    height:125px !important;
  }
}

@media(max-width:720px){
  .ws-rich-search .search-premium-head{
    padding:22px 18px !important;
  }

  .ws-rich-search .search-premium-visual{
    display:none !important;
  }

  .ws-rich-search .search-premium-head::after{
    display:none !important;
  }

  .ws-rich-search .search-premium-count{
    position:static !important;
    display:inline-block !important;
    margin-top:12px !important;
  }
}

/* ================================================================
   DeuSall v11.2.2 — Schnellsuche detail stack
   Keep Beispiele and Präpositionen & Rektion full-width and stacked.
   ================================================================ */
.ws-rich-search .rich-detail-grid.has-rektion{
  grid-template-columns:1fr !important;
}

.ws-rich-search .rich-detail-grid.has-rektion .section-examples,
.ws-rich-search .rich-detail-grid.has-rektion .section-rektion,
.ws-rich-search .rich-detail-grid.has-rektion .section-relations{
  grid-column:1 / -1 !important;
}

/* ================================================================
   DeuSall v11.2.4 — Schnellsuche Rektion scroll
   Keep long Rektion example collections compact and independently
   scrollable instead of extending the whole detail page.
   ================================================================ */

/* Several Rektion patterns: scroll inside the Rektion section. */
.ws-rich-search .section-rektion .rich-rektion-list{
  max-height:360px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:6px !important;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}

/* Several examples for one pattern: keep the pattern header visible
   and scroll only its example rows. */
.ws-rich-search .rich-rektion-item{
  overflow:hidden !important;
}

.ws-rich-search .rich-rektion-item .rich-rektion-head{
  position:sticky !important;
  top:0 !important;
  z-index:2 !important;
  padding-bottom:7px !important;
  background:#fff !important;
}

.ws-rich-search .rich-rektion-examples{
  max-height:175px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:5px !important;
  margin-top:4px !important;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}

/* Make the small internal scrollbars visible but unobtrusive. */
.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar,
.ws-rich-search .rich-rektion-examples::-webkit-scrollbar{
  width:7px;
}

.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar-track,
.ws-rich-search .rich-rektion-examples::-webkit-scrollbar-track{
  background:transparent;
}

.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar-thumb,
.ws-rich-search .rich-rektion-examples::-webkit-scrollbar-thumb{
  background:#d9cbd3;
  border-radius:999px;
}

.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar-thumb:hover,
.ws-rich-search .rich-rektion-examples::-webkit-scrollbar-thumb:hover{
  background:#c8b4bf;
}

/* Firefox */
.ws-rich-search .section-rektion .rich-rektion-list,
.ws-rich-search .rich-rektion-examples{
  scrollbar-width:thin;
  scrollbar-color:#d9cbd3 transparent;
}

@media(max-width:900px){
  .ws-rich-search .section-rektion .rich-rektion-list{
    max-height:320px !important;
  }

  .ws-rich-search .rich-rektion-examples{
    max-height:155px !important;
  }
}

/* ================================================================
   DeuSall v11.2.4.1 — Visible Rektion scroll + viewport containment
   ================================================================ */

/* The whole detail inspector must always fit inside the viewport.
   It can scroll internally instead of extending behind the page/footer. */
.ws-rich-search .rich-detail{
  max-height:calc(100vh - 110px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}

/* Keep the Rektion section compact. */
.ws-rich-search .section-rektion{
  min-height:0 !important;
}

/* If there are several Rektion patterns, this area scrolls. */
.ws-rich-search .section-rektion .rich-rektion-list{
  max-height:260px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  min-height:0 !important;
}

/* Force a visible scrollbar once there are more than roughly two
   example rows. This is intentionally smaller than v11.2.4. */
.ws-rich-search .rich-rektion-examples{
  display:block !important;
  max-height:88px !important;
  overflow-y:scroll !important;
  overflow-x:hidden !important;
  min-height:0 !important;
  padding-right:8px !important;
  scrollbar-gutter:stable !important;
}

/* Keep each row intact and readable while scrolling. */
.ws-rich-search .rich-rektion-examples > div{
  min-height:40px !important;
  align-items:center !important;
}

/* Make the scrollbar clearly visible in Chromium/Brave. */
.ws-rich-search .rich-rektion-examples::-webkit-scrollbar,
.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar,
.ws-rich-search .rich-detail::-webkit-scrollbar{
  width:8px !important;
}

.ws-rich-search .rich-rektion-examples::-webkit-scrollbar-track,
.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar-track,
.ws-rich-search .rich-detail::-webkit-scrollbar-track{
  background:#f5eef1 !important;
  border-radius:999px !important;
}

.ws-rich-search .rich-rektion-examples::-webkit-scrollbar-thumb,
.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar-thumb{
  background:#c8aeb9 !important;
  border-radius:999px !important;
  border:2px solid #f5eef1 !important;
}

.ws-rich-search .rich-detail::-webkit-scrollbar-thumb{
  background:#bbc7d7 !important;
  border-radius:999px !important;
  border:2px solid #f2f5f9 !important;
}

/* Firefox */
.ws-rich-search .rich-rektion-examples{
  scrollbar-width:auto !important;
  scrollbar-color:#c8aeb9 #f5eef1 !important;
}

.ws-rich-search .rich-detail{
  scrollbar-width:thin !important;
  scrollbar-color:#bbc7d7 #f2f5f9 !important;
}

@media(max-width:900px){
  .ws-rich-search .rich-detail{
    max-height:none !important;
    overflow:visible !important;
  }

  .ws-rich-search .rich-rektion-examples{
    max-height:96px !important;
  }
}

/* ================================================================
   DeuSall v11.2.4.2 — Rektion clean layout
   One scrollbar only: the whole right detail inspector.
   ================================================================ */

/* Remove nested scroll areas introduced in v11.2.4 / v11.2.4.1. */
.ws-rich-search .section-rektion .rich-rektion-list{
  max-height:none !important;
  overflow:visible !important;
  padding-right:0 !important;
  scrollbar-gutter:auto !important;
}

.ws-rich-search .rich-rektion-examples{
  max-height:none !important;
  overflow:visible !important;
  padding-right:0 !important;
  scrollbar-gutter:auto !important;
}

.ws-rich-search .rich-rektion-item{
  overflow:visible !important;
}

.ws-rich-search .rich-rektion-item .rich-rektion-head{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  background:transparent !important;
}

/* Hide internal scrollbar styling entirely. */
.ws-rich-search .section-rektion .rich-rektion-list::-webkit-scrollbar,
.ws-rich-search .rich-rektion-examples::-webkit-scrollbar{
  display:none !important;
  width:0 !important;
  height:0 !important;
}

/* Only the right detail inspector keeps scrolling when needed. */
.ws-rich-search .rich-detail{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  max-height:calc(100vh - 110px) !important;
}

/* Unsupported patterns are shown compactly instead of empty cards. */
.ws-rich-search .rich-rektion-other{
  padding:11px 12px;
  border:1px dashed #eadce3;
  border-radius:13px;
  background:rgba(255,255,255,.72);
}

.ws-rich-search .rich-rektion-other-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
}

.ws-rich-search .rich-rektion-other-title span{
  color:#6f5360;
  font-size:10px;
  font-weight:900;
}

.ws-rich-search .rich-rektion-other-title small{
  color:#a08d96;
  font-size:8.5px;
}

.ws-rich-search .rich-rektion-other-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.ws-rich-search .rich-rektion-other-chips .rich-chip{
  background:#fff7fa !important;
  border:1px solid #efdce4 !important;
  color:#a44768 !important;
}

/* Give real examples normal breathing room. */
.ws-rich-search .rich-rektion-examples > div{
  min-height:0 !important;
  padding:9px 0 !important;
  line-height:1.55 !important;
}

@media(max-width:900px){
  .ws-rich-search .rich-detail{
    max-height:none !important;
    overflow:visible !important;
  }

  .ws-rich-search .rich-rektion-other-title{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
}

