:root{
  --r4x-gold:#d6aa2b;
  --r4x-gold-deep:#8b6714;
  --r4x-ink:#171717;
  --r4x-text:#2b2823;
  --r4x-muted:#6f6a62;
  --r4x-bg:#f7f3ec;
  --r4x-surface:#fffefb;
  --r4x-soft:#fbf8f1;
  --r4x-line:#e5d8c2;
  --r4x-line-strong:#d2b76c;
  --r4x-graphite:#151515;
  --r4x-radius:18px;
  --r4x-shadow:0 14px 34px rgba(33,25,14,.06);
  --r4x-soft-shadow:0 8px 18px rgba(33,25,14,.04);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{
  margin:0;
  background:linear-gradient(180deg,#fbfaf7 0%,#f7f3ec 100%);
  color:var(--r4x-text);
  font-family:"Open Sans",Arial,sans-serif;
  font-synthesis:none;
  font-size:15px;
  line-height:1.55;
  font-weight:400;
}
button,input{font-family:"Open Sans",Arial,sans-serif;font-synthesis:none}
button{cursor:pointer}
button:focus-visible,input:focus-visible{outline:2px solid rgba(214,170,43,.65);outline-offset:2px}
.r4x-shell{min-height:100vh}
.r4x-page{max-width:1120px;margin:0 auto;padding:18px 18px 56px}
.r4x-tool-body{padding-top:10px}

.r4x-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:end;
  margin:0 0 12px;
  padding:0 2px;
}
.r4x-kicker{
  margin:0 0 3px;
  color:#7c5e18;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.66rem;
  font-weight:700;
}
.r4x-hero h1{
  margin:0;
  color:#151515;
  font-size:clamp(1.22rem,1.42vw,1.48rem);
  line-height:1.16;
  letter-spacing:-.012em;
  font-weight:700;
}
.r4x-hero p{
  margin:5px 0 0;
  max-width:600px;
  color:#514c45;
  font-size:.88rem;
  line-height:1.48;
}
.r4x-stats{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.r4x-stat{
  position:relative;
  min-width:112px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--r4x-line);
  border-radius:14px;
  padding:10px 12px 10px 38px;
  box-shadow:0 10px 22px rgba(33,25,14,.055);
  overflow:hidden;
}
.r4x-stat-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  background:rgba(214,170,43,.12);
  color:#a47a18;
  font-size:.62rem;
  font-weight:700;
}
.r4x-stat b{display:block;color:#151515;font-size:1.04rem;line-height:1.05;font-weight:700;letter-spacing:-.01em}
.r4x-stat span{display:block;margin-top:4px;color:#6c675f;font-size:.68rem}

.r4x-plus-hint{
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid rgba(214,170,43,.36);
  border-radius:14px;
  background:linear-gradient(180deg,#fffdf7,#fff9ed);
  color:#38342d;
  box-shadow:var(--r4x-soft-shadow);
}
.r4x-plus-hint strong{font-weight:700;color:#70530f}
.r4x-plus-hint span{font-size:.84rem}

.r4x-workbench{
  margin-bottom:14px;
  padding:13px;
  border:1px solid rgba(214,190,139,.72);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,252,246,.92));
  box-shadow:0 18px 40px rgba(33,25,14,.075);
}
.r4x-mode-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.r4x-tab{
  border:1px solid var(--r4x-line);
  background:#fffefb;
  color:#1d1b18;
  border-radius:999px;
  padding:8px 13px;
  font-weight:700;
  font-size:.78rem;
  line-height:1;
  box-shadow:0 5px 12px rgba(33,25,14,.035);
  transition:border-color .16s,background .16s,color .16s,transform .16s;
}
.r4x-tab:hover{border-color:var(--r4x-line-strong);transform:translateY(-1px)}
.r4x-tab.is-active{background:#151515;color:#fff;border-color:#151515;box-shadow:0 10px 18px rgba(0,0,0,.12)}

.r4x-search-panel{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#171717 0%,#202020 58%,#171717 100%);
  border:1px solid rgba(214,170,43,.40);
  border-radius:18px;
  padding:11px;
  box-shadow:0 18px 36px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.05);
}
.r4x-search-panel::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(214,170,43,0),rgba(214,170,43,.82),rgba(214,170,43,0));
}
.r4x-search-panel > *{position:relative;z-index:1}
.r4x-search-topline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.r4x-search-wrap{position:relative;min-width:0}
.r4x-search-input{
  width:100%;
  min-height:42px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:13px;
  background:#222;
  color:#fff;
  padding:0 42px 0 14px;
  outline:none;
  font-weight:600;
  font-size:.9rem;
  letter-spacing:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.r4x-search-input::placeholder{color:#aaa59e;font-weight:400}
.r4x-search-input:focus{border-color:rgba(214,170,43,.82);box-shadow:0 0 0 3px rgba(214,170,43,.14),inset 0 1px 0 rgba(255,255,255,.04)}
.r4x-clear-btn{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  display:none;
  align-items:center;
  justify-content:center;
  width:27px;
  height:27px;
  border:0;
  border-radius:999px;
  background:#333;
  color:#fff;
  font-size:1rem;
  line-height:1;
}
.r4x-clear-btn.is-visible{display:flex}
.r4x-result-note{
  color:#f5efe2;
  font-size:.78rem;
  line-height:1.2;
  white-space:nowrap;
  text-align:right;
  font-weight:600;
}
.r4x-search-bottomline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:9px;
}

.r4x-search-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.r4x-reset-btn,.r4x-filter-toggle{
  min-height:30px;
  border-radius:999px;
  padding:0 11px;
  font-weight:700;
  font-size:.7rem;
  line-height:1;
  white-space:nowrap;
}
.r4x-reset-btn{
  display:none;
  border:1px solid rgba(214,170,43,.68);
  background:transparent;
  color:#f2d77a;
}
.r4x-reset-btn.is-visible{display:inline-flex;align-items:center}
.r4x-reset-btn:hover{background:rgba(214,170,43,.1)}
.r4x-filter-toggle{border:1px solid rgba(255,255,255,.18);background:#242424;color:#f7f3e8}
.r4x-filter-toggle.is-active{border-color:var(--r4x-gold);background:#fffaf0;color:#161616}

.r4x-filter-drawer{display:block;margin-top:12px;padding-top:12px;border-top:1px solid #eee5d5}
.r4x-filter-bar{display:flex;align-items:center;justify-content:space-between}
.r4x-filter-bar-second{margin-top:10px}
.r4x-filter-label{
  display:block;
  color:#76580f;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.65rem;
  font-weight:700;
  margin-bottom:7px;
}
.r4x-filter-section{display:flex;flex-wrap:wrap;gap:7px}
.r4x-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid var(--r4x-line);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#25231f;
  padding:6px 10px;
  font-weight:600;
  font-size:.77rem;
  line-height:1;
  box-shadow:0 4px 10px rgba(33,25,14,.024);
  transition:background .16s,border-color .16s,color .16s,transform .16s;
}
.r4x-chip:hover{border-color:var(--r4x-line-strong);transform:translateY(-1px)}
.r4x-chip.is-active{background:#151515;color:#fff;border-color:var(--r4x-gold);box-shadow:0 8px 15px rgba(0,0,0,.11)}
.r4x-chip-icon,.r4x-category-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  min-width:18px;
  border-radius:999px;
  background:color-mix(in srgb, var(--cat-accent, #d6aa2b) 14%, white);
  color:var(--cat-accent, #9a7315);
  border:1px solid color-mix(in srgb, var(--cat-accent, #d6aa2b) 28%, white);
  font-weight:700;
  font-size:.62rem;
  line-height:1;
}
.r4x-chip.is-active .r4x-chip-icon{
  background:color-mix(in srgb, var(--cat-accent, #d6aa2b) 85%, #151515);
  border-color:rgba(255,255,255,.25);
  color:#fff;
}
.r4x-letter-chip{min-width:34px;justify-content:center;padding-left:0;padding-right:0}

.r4x-list{display:grid;gap:10px}
.r4x-card{
  border:1px solid var(--r4x-line);
  border-radius:17px;
  background:rgba(255,255,255,.92);
  overflow:hidden;
  box-shadow:var(--r4x-soft-shadow);
  transition:border-color .16s,box-shadow .16s,transform .16s;
}
.r4x-card:hover{border-color:#dbc788;box-shadow:0 13px 30px rgba(33,25,14,.065)}
.r4x-card.is-open{border-color:var(--r4x-line-strong);box-shadow:0 14px 34px rgba(33,25,14,.08)}
.r4x-card.is-highlight{box-shadow:0 0 0 3px rgba(214,170,43,.22),0 14px 34px rgba(33,25,14,.08)}
.r4x-card-main{padding:13px 14px;outline:none}
.r4x-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.r4x-term-meta{min-width:0}
.r4x-category{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  margin-bottom:7px;
  border:1px solid #e8decc;
  border-radius:999px;
  background:#fbfaf6;
  color:#302b22;
  padding:5px 9px;
  font-size:.67rem;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}
.r4x-card h2{
  margin:0;
  color:#191919;
  font-size:.98rem;
  line-height:1.24;
  font-weight:700;
  letter-spacing:-.008em;
}
.r4x-term-en{margin-top:3px;color:#746d63;font-size:.76rem;font-weight:600}
.r4x-preview{margin:8px 0 0;color:#4d4942;font-size:.84rem;line-height:1.45;max-width:980px}
.r4x-card-controls{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.r4x-open-indicator,.r4x-fav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:29px;
  height:29px;
  border:1px solid #d7bf79;
  border-radius:999px;
  background:#fffefb;
  color:#151515;
  font-weight:700;
  font-size:.88rem;
  line-height:1;
}
.r4x-fav-btn.is-active{background:#fff7d7;color:#78570e}
.r4x-detail{border-top:1px solid #eee5d5;padding:12px 14px 13px;background:#fffefb}
.r4x-depth{margin:0 0 7px;padding:9px 10px;border-left:3px solid #ddd;border-radius:11px}
.r4x-depth h4,.r4x-meta-block h4{margin:0 0 4px;font-size:.72rem;line-height:1.25;font-weight:700}
.r4x-depth p{margin:0;color:#26231f;font-size:.86rem;line-height:1.52}
.r4x-depth-kurz{border-left-color:#3a72e8;background:#f5f7ff}.r4x-depth-kurz h4{color:#255ccf}
.r4x-depth-einfach{border-left-color:#d6aa2b;background:#fff9ec}.r4x-depth-einfach h4{color:#82600f}
.r4x-depth-wo{border-left-color:#1495d1;background:#f3fbff}.r4x-depth-wo h4{color:#0875a7}
.r4x-depth-warum{border-left-color:#7d60dd;background:#f7f4ff}.r4x-depth-warum h4{color:#6240c2}
.r4x-depth-schief{border-left-color:#e24a5f;background:#fff6f7}.r4x-depth-schief h4{color:#bd2e43}
.r4x-depth-blick{border-left-color:#1aa99c;background:#f2fcfa}.r4x-depth-blick h4{color:#0d7b72}
.r4x-depth-verw{border-left-color:#b7791f;background:#fff9e8}.r4x-depth-verw h4{color:#83500c}
.r4x-meta-block{margin-top:11px}
.r4x-meta-block + .r4x-meta-block{margin-top:9px}
.r4x-tag-row{display:flex;flex-wrap:wrap;gap:6px}
.r4x-tag{
  display:inline-flex;
  align-items:center;
  border:1px solid #e2dacd;
  background:#f8f7f4;
  color:#2c2822;
  border-radius:999px;
  padding:5px 9px;
  font-size:.72rem;
  line-height:1.15;
}
.r4x-tag-link{border-color:rgba(214,170,43,.66);background:#fffaf0;color:#76580f}
.r4x-tag-link:hover{background:#fff3c4}
.r4x-free-upgrade{
  display:flex;
  flex-wrap:wrap;
  gap:4px 7px;
  margin-top:9px;
  border:1px dashed rgba(214,170,43,.66);
  border-radius:12px;
  background:#fffdf5;
  padding:8px 10px;
  color:#333;
  font-size:.81rem;
}
.r4x-free-upgrade strong{color:#73550f}
.r4x-loadmore-wrap{display:flex;justify-content:center;padding:8px 0 0}
.r4x-loadmore{
  border:1px solid var(--r4x-line-strong);
  background:#fffaf0;
  color:#151515;
  border-radius:999px;
  padding:9px 15px;
  font-weight:700;
  font-size:.82rem;
  box-shadow:var(--r4x-soft-shadow);
}
.r4x-loadmore span{margin-left:8px;color:#73550f;font-weight:600}
.r4x-empty{border:1px dashed var(--r4x-line);border-radius:18px;background:#fff;padding:24px;text-align:center;color:#666}
.r4x-empty strong{display:block;color:#222;margin-bottom:4px}
.r4x-footer{margin-top:26px;text-align:center;color:#736d63;font-size:.79rem}
.r4x-error{max-width:720px;margin:80px auto;background:#fff;border:1px solid #f1c9c9;border-radius:18px;padding:24px;color:#8a1515;box-shadow:var(--r4x-shadow)}

.r4x-landing{max-width:900px;margin:0 auto;padding:58px 18px}
.r4x-landing-card{background:#fff;border:1px solid var(--r4x-line);border-radius:24px;box-shadow:var(--r4x-shadow);padding:25px}
.r4x-landing-logo{width:58px;height:58px;object-fit:contain}
.r4x-landing-card h1{margin:6px 0 10px;font-size:2rem;line-height:1.1}
.r4x-landing-card p{color:#444;max-width:680px}
.r4x-landing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.r4x-landing-link{display:block;text-decoration:none;border:1px solid var(--r4x-line);border-radius:18px;background:#fbfaf7;padding:18px;color:inherit}
.r4x-landing-link strong{display:block;font-size:1.04rem;margin-bottom:5px}
.r4x-landing-link span{color:#666;font-size:.9rem}
.r4x-landing-link:hover{border-color:var(--r4x-gold)}

@media(min-width:681px){
  .r4x-filter-toggle{display:none}
  .r4x-filter-drawer{display:block!important}
}
@media(max-width:860px){
  .r4x-page{padding-top:14px}
  .r4x-hero{grid-template-columns:1fr;gap:10px;align-items:start}
  .r4x-stats{justify-content:flex-start}
  .r4x-search-topline{grid-template-columns:1fr}
  .r4x-result-note{text-align:left}
  .r4x-search-bottomline{align-items:flex-start}
  .r4x-search-actions{margin-left:auto}
  .r4x-filter-toggle{display:inline-flex;align-items:center;justify-content:center}
}
@media(max-width:680px){
  body{font-size:14px;background:#f7f3ec}
  .r4x-page{padding:12px 10px 42px}
  .r4x-tool-body{padding-top:6px}
  .r4x-hero{margin-bottom:9px}
  .r4x-kicker{font-size:.6rem;margin-bottom:2px;letter-spacing:.11em}
  .r4x-hero h1{font-size:1.12rem;line-height:1.18}
  .r4x-hero p{font-size:.79rem;line-height:1.42;margin-top:4px}
  .r4x-stats{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .r4x-stat{padding:8px 10px;border-radius:13px}
  .r4x-stat b{font-size:.98rem}
  .r4x-stat span{font-size:.64rem}
  .r4x-plus-hint{padding:9px 10px;border-radius:13px;margin-bottom:10px}
  .r4x-plus-hint span{font-size:.76rem}
  .r4x-workbench{padding:9px;border-radius:17px;margin-bottom:12px}
  .r4x-mode-tabs{gap:6px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;margin-bottom:8px;scrollbar-width:none}
  .r4x-mode-tabs::-webkit-scrollbar{display:none}
  .r4x-tab{flex:0 0 auto;padding:7px 10px;font-size:.71rem}
  .r4x-search-panel{padding:8px;border-radius:15px;box-shadow:0 10px 22px rgba(0,0,0,.11)}
  .r4x-search-input{min-height:40px;font-size:.8rem;padding-left:12px;border-radius:12px}
  .r4x-search-bottomline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:8px}
  
  
  
  .r4x-search-actions{display:flex;justify-content:flex-end;gap:6px;margin-left:0}
  .r4x-reset-btn,.r4x-filter-toggle{min-height:29px;font-size:.67rem;padding:0 9px}
  .r4x-result-note{font-size:.71rem;white-space:normal}
  .r4x-filter-drawer{display:none;margin-top:8px;padding-top:8px}
  .r4x-filter-drawer.is-open{display:block}
  .r4x-filter-label{font-size:.6rem;margin-bottom:6px}
  .r4x-filter-bar-second{margin-top:8px}
  .r4x-filter-section{flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:4px;scrollbar-width:none}
  .r4x-filter-section::-webkit-scrollbar{display:none}
  .r4x-chip{flex:0 0 auto;font-size:.69rem;padding:6px 8px}
  .r4x-letter-chip{min-width:30px}
  .r4x-list{gap:9px}
  .r4x-card{border-radius:15px}
  .r4x-card-main{padding:11px}
  .r4x-category{font-size:.6rem;margin-bottom:6px;max-width:calc(100vw - 112px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 8px}
  .r4x-card h2{font-size:.93rem}
  .r4x-preview{font-size:.8rem;line-height:1.44;margin-top:7px}
  .r4x-open-indicator,.r4x-fav-btn{width:28px;height:28px}
  .r4x-detail{padding:10px 11px 12px}
  .r4x-depth{padding:8px 9px;margin-bottom:7px}
  .r4x-depth h4,.r4x-meta-block h4{font-size:.68rem}
  .r4x-depth p{font-size:.8rem}
  .r4x-tag{font-size:.68rem}
  .r4x-landing-grid{grid-template-columns:1fr}
}

.r4x-search-bottomline{justify-content:flex-end;margin-top:8px}
@media(max-width:680px){
  .r4x-search-bottomline{margin-top:7px;display:flex;justify-content:flex-end}
}

.r4x-glossar-switch{
  display:flex;
  justify-content:flex-end;
  margin:-4px 2px 10px;
}
.r4x-switch-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid var(--r4x-line-strong);
  background:#fffaf0;
  color:#161616;
  text-decoration:none;
  font-size:.78rem;
  font-weight:700;
  box-shadow:var(--r4x-soft-shadow);
}
.r4x-switch-link:hover{background:#fff3d2;border-color:var(--r4x-gold)}
.r4x-loadmore-wrap{display:none!important}
.r4x-backtop{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:20;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid var(--r4x-line-strong);
  background:#151515;
  color:#fff;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .16s, transform .16s;
  font-weight:700;
}
.r4x-backtop.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
@media(max-width:680px){
  .r4x-glossar-switch{justify-content:flex-start;margin:0 0 10px}
  .r4x-switch-link{min-height:32px;font-size:.72rem;padding:0 11px}
  .r4x-backtop{right:12px;bottom:14px;width:39px;height:39px}
  .r4x-filter-drawer.is-open{display:block}
  .r4x-filter-drawer.is-open .r4x-filter-section{
    flex-wrap:wrap;
    overflow:visible;
    padding-bottom:0;
  }
  .r4x-filter-drawer.is-open .r4x-chip,
  .r4x-filter-drawer.is-open 
}

.r4x-active-filters{
  display:none;
  align-items:flex-start;
  gap:8px;
  margin-top:10px;
  padding:9px 10px;
  border:1px solid #eadfce;
  border-radius:15px;
  background:rgba(255,253,248,.82);
}
.r4x-active-filters.is-visible{display:flex}
.r4x-active-label{
  flex:0 0 auto;
  color:#76580f;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding-top:6px;
}
.r4x-active-list{display:flex;flex-wrap:wrap;gap:6px}
.r4x-active-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  border:1px solid color-mix(in srgb, var(--cat-accent, #d6aa2b) 22%, #e7ddcc);
  border-radius:999px;
  background:#fffefb;
  color:#2b2823;
  padding:0 9px;
  font-size:.7rem;
  font-weight:700;
  line-height:1;
}
.r4x-active-chip i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border-radius:999px;
  background:color-mix(in srgb, var(--cat-accent, #d6aa2b) 14%, white);
  color:var(--cat-accent, #9a7315);
  font-style:normal;
  font-size:.58rem;
}
.r4x-active-chip span{color:#8a6a20;font-weight:700}
.r4x-active-chip:hover{border-color:var(--r4x-line-strong);background:#fff8e8}
.r4x-depth{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62);
}
.r4x-depth h4{letter-spacing:.01em}

@media(max-width:680px){
  .r4x-active-filters{display:none;flex-direction:column;gap:7px;padding:8px 9px;border-radius:13px}
  .r4x-active-filters.is-visible{display:flex}
  .r4x-active-label{padding-top:0;font-size:.6rem}
  .r4x-active-list{gap:5px}
  .r4x-active-chip{font-size:.66rem;min-height:26px;padding:0 8px}
  .r4x-stat{padding-left:34px}
  .r4x-stat-icon{left:10px}
}

.r4x-card{
  position:relative;
  border-color:#e7ddcc;
  background:rgba(255,255,255,.95);
  box-shadow:0 7px 17px rgba(33,25,14,.035);
  transition:border-color .16s, box-shadow .16s, transform .16s;
}
.r4x-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:var(--cat-accent, #d6aa2b);
  opacity:.74;
}
.r4x-card:hover{
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 34%, #e7ddcc);
  box-shadow:0 16px 34px rgba(33,25,14,.085);
  transform:translateY(-1px);
}
.r4x-card.is-open{
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 45%, #d6c49c);
  box-shadow:0 18px 38px rgba(33,25,14,.09);
}
.r4x-card.is-highlight{
  box-shadow:0 0 0 3px color-mix(in srgb, var(--cat-accent, #d6aa2b) 28%, transparent),0 18px 38px rgba(33,25,14,.09);
}
.r4x-card-main{padding-left:16px}
.r4x-category{
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 22%, #eadfce);
  background:linear-gradient(180deg,#fffdf8,color-mix(in srgb, var(--cat-accent, #d6aa2b) 7%, #fbf8f1));
  color:#3e3527;
  padding-left:6px;
}
.r4x-open-indicator,.r4x-fav-btn{
  box-shadow:0 5px 12px rgba(33,25,14,.04);
}
.r4x-card.is-open .r4x-open-indicator{
  background:#151515;
  color:#fff;
  border-color:#151515;
}

.r4x-workbench{
  position:sticky;
  top:var(--r4x-glossar-sticky-top, 10px);
  z-index:35;
  transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease, background .18s ease;
}
.r4x-workbench.is-stuck{
  border-color:rgba(214,170,43,.78);
  background:rgba(255,253,248,.96);
  box-shadow:0 20px 44px rgba(33,25,14,.14),0 0 0 1px rgba(214,170,43,.12);
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.r4x-search-identity{
  display:none;
  min-width:0;
  color:#fff7e3;
  line-height:1.15;
}
.r4x-search-identity strong{
  display:block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.02em;
}
.r4x-search-identity span{
  display:block;
  margin-top:2px;
  color:#d8cda9;
  font-size:.68rem;
  font-weight:600;
}
.r4x-collapse-toggle{
  min-height:30px;
  border-radius:999px;
  padding:0 11px;
  font-weight:700;
  font-size:.7rem;
  line-height:1;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.055);
  color:#f7f3e8;
}
.r4x-collapse-toggle:hover{border-color:rgba(214,170,43,.55);background:rgba(255,255,255,.09)}
.r4x-collapse-toggle.is-collapsed{background:#fffaf0;color:#151515;border-color:var(--r4x-gold)}
.r4x-workbench.is-collapsed{padding:9px 10px;border-radius:18px}
.r4x-workbench.is-collapsed .r4x-mode-tabs,
.r4x-workbench.is-collapsed .r4x-filter-drawer,
.r4x-workbench.is-collapsed .r4x-active-filters{display:none!important}
.r4x-workbench.is-collapsed .r4x-search-panel{padding:9px 10px;border-radius:15px}
.r4x-workbench.is-collapsed .r4x-search-topline{grid-template-columns:minmax(0,1fr) auto;gap:10px}
.r4x-workbench.is-collapsed .r4x-search-identity{display:block}
.r4x-workbench.is-collapsed .r4x-search-wrap{display:none}
.r4x-workbench.is-collapsed .r4x-result-note{text-align:right;align-self:center}
.r4x-workbench.is-collapsed .r4x-search-bottomline{margin-top:7px;justify-content:flex-end}

.r4x-float-actions{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  display:flex;
  align-items:center;
  gap:8px;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .16s ease, transform .16s ease;
}
.r4x-float-actions.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.r4x-float-filter{
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(214,170,43,.82);
  background:#fffaf0;
  color:#151515;
  box-shadow:0 14px 30px rgba(0,0,0,.15);
  font-size:.78rem;
  font-weight:700;
  line-height:1;
}
.r4x-float-filter.has-active{
  background:#151515;
  color:#fff;
  border-color:var(--r4x-gold);
}
.r4x-float-actions .r4x-backtop{
  position:static;
  right:auto;
  bottom:auto;
  opacity:1;
  pointer-events:auto;
  transform:none;
  flex:0 0 auto;
}
@media(max-width:680px){
  .r4x-workbench{
    top:var(--r4x-glossar-sticky-top-mobile, 7px);
    max-height:calc(100vh - 12px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .r4x-workbench.is-stuck{box-shadow:0 16px 34px rgba(33,25,14,.16),0 0 0 1px rgba(214,170,43,.14)}
  .r4x-collapse-toggle{min-height:29px;font-size:.67rem;padding:0 9px}
  .r4x-workbench.is-collapsed .r4x-search-topline{grid-template-columns:minmax(0,1fr) auto}
  .r4x-workbench.is-collapsed .r4x-result-note{font-size:.68rem;white-space:nowrap}
  .r4x-search-identity strong{font-size:.72rem}
  .r4x-search-identity span{font-size:.63rem}
  .r4x-float-actions{right:12px;bottom:14px;gap:7px}
  .r4x-float-filter{min-height:39px;padding:0 12px;font-size:.72rem;box-shadow:0 12px 26px rgba(0,0,0,.17)}
  .r4x-float-actions .r4x-backtop{width:39px;height:39px}
}

.r4x-search-topline{
  display:block;
}
.r4x-search-bottomline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin-top:9px;
}
.r4x-result-note{
  text-align:left;
  white-space:nowrap;
  color:#f5efe2;
  font-weight:700;
}
.r4x-search-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  margin-left:0;
}
.r4x-filter-toggle{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  border-color:rgba(214,170,43,.72);
  background:#fffaf0;
  color:#151515;
  min-height:32px;
  padding:0 13px;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}
.r4x-filter-toggle.is-active{
  background:#151515;
  color:#fff;
  border-color:var(--r4x-gold);
  box-shadow:0 10px 22px rgba(0,0,0,.15);
}
.r4x-filter-toggle.has-active:not(.is-active){
  border-color:var(--r4x-gold);
  background:#fff4cb;
}
.r4x-filter-drawer{
  display:none!important;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #eee5d5;
}
.r4x-filter-drawer.is-open{display:block!important}
.r4x-filter-drawer.is-open .r4x-filter-section{
  flex-wrap:wrap;
  overflow:visible;
  padding-bottom:0;
}
.r4x-filter-drawer.is-open .r4x-chip,
.r4x-filter-drawer.is-open 
.r4x-collapse-toggle{display:none!important}
.r4x-workbench.is-collapsed .r4x-mode-tabs,
.r4x-workbench.is-collapsed .r4x-filter-drawer,
.r4x-workbench.is-collapsed .r4x-active-filters{display:inherit}
.r4x-workbench.is-collapsed .r4x-search-wrap{display:block}
.r4x-workbench.is-collapsed .r4x-search-topline{display:block}
.r4x-workbench.is-collapsed .r4x-search-bottomline{display:grid}
.r4x-search-identity{display:none!important}
.r4x-float-actions{
  right:18px;
  bottom:18px;
  flex-direction:column;
  align-items:flex-end;
  gap:9px;
}
.r4x-float-filter{
  min-height:40px;
  padding:0 14px;
  border-color:rgba(214,170,43,.82);
  background:#fffaf0;
  color:#151515;
}
.r4x-float-filter.is-open{
  background:#151515;
  color:#fff;
  border-color:var(--r4x-gold);
}
.r4x-float-filter.has-active:not(.is-open){
  background:#fff4cb;
  border-color:var(--r4x-gold);
}
.r4x-float-actions .r4x-backtop{
  width:42px;
  height:42px;
}
@media(max-width:680px){
  .r4x-search-panel{padding:9px;border-radius:16px}
  .r4x-search-bottomline{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    margin-top:8px;
  }
  .r4x-search-actions{gap:6px}
  .r4x-reset-btn,.r4x-filter-toggle{min-height:30px;font-size:.67rem;padding:0 9px}
  .r4x-result-note{font-size:.72rem;white-space:nowrap}
  .r4x-filter-drawer.is-open .r4x-filter-section{
    flex-wrap:wrap;
    overflow:visible;
    padding-bottom:0;
  }
  .r4x-float-actions{right:12px;bottom:14px;gap:8px;align-items:flex-end}
  .r4x-float-filter{min-height:37px;padding:0 11px;font-size:.7rem}
  .r4x-float-actions .r4x-backtop{width:39px;height:39px}
}

.r4x-filter-toggle,
.r4x-float-filter{
  -webkit-font-smoothing:antialiased;
  text-shadow:none;
}
.r4x-filter-toggle{
  min-width:126px;
  border-color:rgba(214,170,43,.68);
  background:linear-gradient(180deg,#fffdf5,#fff2cc);
  color:#1b1710;
  box-shadow:0 9px 20px rgba(33,25,14,.12);
}
.r4x-filter-toggle:hover{border-color:var(--r4x-gold);box-shadow:0 12px 26px rgba(33,25,14,.16)}
.r4x-filter-toggle.is-active,
.r4x-filter-toggle.has-active:not(.is-active){
  background:linear-gradient(180deg,#202020,#111);
  color:#fff!important;
  border-color:var(--r4x-gold);
  box-shadow:0 12px 26px rgba(0,0,0,.20),0 0 0 1px rgba(214,170,43,.12);
}
.r4x-filter-toggle.has-active:not(.is-active)::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:7px;
  border-radius:999px;
  background:var(--r4x-gold);
  box-shadow:0 0 0 3px rgba(214,170,43,.16);
}

.r4x-float-actions{
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.12));
}
.r4x-float-filter{
  position:relative;
  min-width:132px;
  justify-content:center;
  border:1px solid rgba(214,170,43,.76)!important;
  background:linear-gradient(180deg,#fffdf5,#fff2cc)!important;
  color:#1b1710!important;
  box-shadow:0 16px 34px rgba(0,0,0,.18),0 0 0 1px rgba(255,255,255,.62) inset!important;
}
.r4x-float-filter:hover{transform:translateY(-1px)}
.r4x-float-filter.is-open,
.r4x-float-filter.has-active:not(.is-open){
  background:linear-gradient(180deg,#202020,#111)!important;
  color:#fff!important;
  border-color:var(--r4x-gold)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.26),0 0 0 1px rgba(214,170,43,.16) inset!important;
}
.r4x-float-filter.has-active:not(.is-open)::before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:7px;
  border-radius:999px;
  background:var(--r4x-gold);
  box-shadow:0 0 0 3px rgba(214,170,43,.18);
}
.r4x-float-actions .r4x-backtop{
  background:linear-gradient(180deg,#191919,#050505);
  border-color:rgba(214,170,43,.58);
  box-shadow:0 16px 34px rgba(0,0,0,.22),0 0 0 1px rgba(255,255,255,.08) inset;
}

.r4x-filter-drawer .r4x-category-chip:not([data-category="all"]){
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 20%, #e8decc);
  background:linear-gradient(180deg,#fffefb,#fffdf8);
  color:#2b2823;
}
.r4x-filter-drawer .r4x-category-chip:not([data-category="all"]):hover{
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 52%, #d9ccb9);
  background:linear-gradient(180deg,#fffefb,color-mix(in srgb, var(--cat-accent, #d6aa2b) 8%, #fffaf0));
}
.r4x-filter-drawer .r4x-category-chip.is-active:not([data-category="all"]){
  background:linear-gradient(180deg,color-mix(in srgb, var(--cat-accent, #d6aa2b) 16%, white),color-mix(in srgb, var(--cat-accent, #d6aa2b) 8%, #fffaf0));
  color:#181511;
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 70%, #cbb987);
  box-shadow:0 8px 18px rgba(33,25,14,.07),0 0 0 1px color-mix(in srgb, var(--cat-accent, #d6aa2b) 16%, transparent) inset;
}
.r4x-filter-drawer .r4x-category-chip.is-active:not([data-category="all"]) .r4x-chip-icon{
  background:linear-gradient(180deg,color-mix(in srgb, var(--cat-accent, #d6aa2b) 92%, white),var(--cat-accent, #d6aa2b));
  color:#fff;
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 70%, #fff);
}
.r4x-filter-drawer .r4x-category-chip[data-category="all"].is-active,
.r4x-letter-chip.is-active,

.r4x-active-filters{
  background:linear-gradient(180deg,#fffefb,#fffaf2);
  border-color:#e8d9bc;
  box-shadow:0 10px 24px rgba(33,25,14,.055);
}
.r4x-active-chip{
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 32%, #e5d8c2);
  background:linear-gradient(180deg,#fffefb,color-mix(in srgb, var(--cat-accent, #d6aa2b) 7%, #fff8ea));
  color:#241f18;
  box-shadow:0 4px 10px rgba(33,25,14,.03);
}
.r4x-active-chip:hover{
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 62%, #d5c190);
  background:linear-gradient(180deg,#fffefb,color-mix(in srgb, var(--cat-accent, #d6aa2b) 12%, #fff4d5));
}
.r4x-active-chip span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:17px;
  height:17px;
  border-radius:999px;
  background:rgba(0,0,0,.06);
  color:#5b4420;
  margin-left:2px;
}

.r4x-card::before{opacity:.58;width:4px}
.r4x-card.is-open::before{opacity:.78}
.r4x-category{
  background:linear-gradient(180deg,#fffefb,color-mix(in srgb, var(--cat-accent, #d6aa2b) 6%, #fbf8f1));
  border-color:color-mix(in srgb, var(--cat-accent, #d6aa2b) 26%, #e8decc);
}
.r4x-category-icon{
  background:color-mix(in srgb, var(--cat-accent, #d6aa2b) 16%, white);
  color:var(--cat-accent, #9a7315);
}

@media(max-width:680px){
  .r4x-filter-toggle{min-width:116px;padding:0 10px}
  .r4x-float-filter{min-width:122px;padding:0 12px;font-size:.7rem}
  .r4x-float-filter.has-active:not(.is-open)::before{width:6px;height:6px;margin-right:6px}
}

:root{
  --r4x-bg:#f8f5ee;
  --r4x-surface:#fffefb;
  --r4x-text:#211f1b;
  --r4x-muted:#5f5a52;
  --r4x-line:#dfd0b8;
  --r4x-line-soft:#eee5d6;
  --r4x-gold:#d2a72c;
  --r4x-gold-deep:#8a6514;
  --r4x-crisp-shadow:0 1px 2px rgba(26,22,14,.08),0 10px 22px rgba(26,22,14,.055);
  --r4x-card-shadow:0 1px 2px rgba(26,22,14,.075),0 8px 18px rgba(26,22,14,.045);
}
html{
  -webkit-font-smoothing:auto;
  -moz-osx-font-smoothing:auto;
  text-rendering:auto;
}
body{
  background:#f8f5ee;
  color:var(--r4x-text);
  font-size:15.5px;
  line-height:1.5;
  letter-spacing:0;
}
button,input{font-weight:600;letter-spacing:0;text-shadow:none!important}
.r4x-page{max-width:1120px;padding:16px 18px 56px}
.r4x-tool-body{padding-top:6px}
.r4x-hero{align-items:center;margin-bottom:10px;gap:14px}
.r4x-kicker{font-size:.64rem;letter-spacing:.11em;margin-bottom:2px;color:#755812}
.r4x-hero h1{font-size:clamp(1.18rem,1.30vw,1.40rem);line-height:1.16;font-weight:700;letter-spacing:-.01em}
.r4x-hero p{font-size:.85rem;line-height:1.42;margin-top:4px;color:#4f4a43;max-width:560px}
.r4x-stats{gap:7px}
.r4x-stat{
  min-width:108px;
  border-color:#ddcdae;
  border-radius:13px;
  padding:9px 11px 9px 35px;
  background:#fffefb;
  box-shadow:0 1px 2px rgba(26,22,14,.07),0 8px 16px rgba(26,22,14,.04);
}
.r4x-stat b{font-size:1rem;font-weight:700;letter-spacing:-.006em}
.r4x-stat span{font-size:.67rem;color:#635d55}
.r4x-stat-icon{left:11px;width:17px;height:17px;background:#fff6df;border:1px solid #ead49f;color:#956c12}
.r4x-glossar-switch{margin:0 0 10px;display:flex;justify-content:flex-end}
.r4x-switch-link{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 13px;border-radius:999px;
  border:1px solid #d2aa39;background:#fff7dc;color:#17140f;text-decoration:none;font-size:.76rem;font-weight:700;
  box-shadow:0 1px 2px rgba(26,22,14,.08),0 7px 14px rgba(26,22,14,.045);
}
.r4x-switch-link:hover{background:#fff1c3;border-color:#bd8e1e}

.r4x-workbench{
  padding:12px;
  border-radius:18px;
  border-color:#d9c698;
  background:#fffefb;
  box-shadow:var(--r4x-crisp-shadow);
}
.r4x-workbench.is-stuck{
  border-color:#cfa32a;
  background:#fffefb;
  box-shadow:0 1px 3px rgba(26,22,14,.10),0 10px 24px rgba(26,22,14,.085);
  backdrop-filter:none!important;
}
.r4x-mode-tabs{gap:7px;margin-bottom:9px}
.r4x-tab{
  min-height:34px;padding:0 12px;font-size:.76rem;font-weight:700;border-color:#ddd0bb;background:#fffefb;
  box-shadow:0 1px 1px rgba(26,22,14,.045);
}
.r4x-tab:hover{transform:none;border-color:#cda742;background:#fffaf0}
.r4x-tab.is-active{background:#161616;border-color:#161616;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.16)}

.r4x-search-panel{
  border-radius:16px;
  padding:10px;
  background:#151515;
  border:1px solid #2d2a23;
  box-shadow:0 1px 3px rgba(0,0,0,.22),0 8px 18px rgba(0,0,0,.12);
}
.r4x-search-panel::before{left:11px;right:11px;height:1px;background:linear-gradient(90deg,transparent,#d2a72c,transparent);opacity:.85}
.r4x-search-input{
  min-height:41px;border-radius:11px;background:#222; border-color:#3d3d3d;color:#fff;padding-left:13px;
  font-size:.88rem;font-weight:500;box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.r4x-search-input::placeholder{color:#a8a29a;font-weight:400}
.r4x-search-input:focus{border-color:#d2a72c;box-shadow:0 0 0 2px rgba(210,167,44,.20)}
.r4x-search-bottomline{margin-top:8px;gap:8px}
.r4x-result-note{font-size:.76rem;color:#fbf2dc;font-weight:700}
.r4x-search-actions{gap:7px}
.r4x-reset-btn,.r4x-filter-toggle{min-height:31px;font-size:.69rem;font-weight:700;padding:0 11px}
.r4x-reset-btn{border-color:#cfa32a;color:#f4d76e;background:rgba(255,255,255,.02)}
.r4x-reset-btn:hover{background:rgba(210,167,44,.10)}
.r4x-filter-toggle{
  min-width:124px;background:#fff7dc!important;color:#18140e!important;border-color:#d2a72c!important;
  box-shadow:0 1px 2px rgba(0,0,0,.18)!important;
}
.r4x-filter-toggle.is-active,
.r4x-filter-toggle.has-active:not(.is-active){
  background:#181818!important;color:#fff!important;border-color:#d2a72c!important;
  box-shadow:0 1px 3px rgba(0,0,0,.28)!important;
}
.r4x-filter-toggle.has-active:not(.is-active)::before{box-shadow:none;width:6px;height:6px;background:#d2a72c}

.r4x-filter-drawer{margin-top:10px;padding-top:10px;border-top:1px solid #eadfcc}
.r4x-filter-label{font-size:.64rem;letter-spacing:.08em;color:#745813;margin-bottom:6px}
.r4x-filter-section,
.r4x-chip,

.r4x-chip:hover,
.r4x-chip.is-active,
.r4x-chip-icon,.r4x-category-icon{width:17px;height:17px;min-width:17px;font-size:.58rem;border-width:1px}
.r4x-letter-chip{min-width:33px;padding:0}
.r4x-active-filters{
  margin-top:10px;border-radius:14px;background:#fffdf8;border:1px solid #e4d4b5;box-shadow:0 1px 2px rgba(26,22,14,.05);
  padding:9px 10px;
}
.r4x-active-filters strong{font-size:.66rem;color:#765812;letter-spacing:.08em}
.r4x-active-chip{min-height:28px;font-size:.71rem;font-weight:600;box-shadow:none}

.r4x-list{gap:10px}
.r4x-card{
  border-color:#dfd0b8;background:#fffefb;border-radius:16px;box-shadow:var(--r4x-card-shadow);
  transition:border-color .14s ease,box-shadow .14s ease;
}
.r4x-card:hover{transform:none;border-color:#cfae59;box-shadow:0 1px 3px rgba(26,22,14,.085),0 10px 22px rgba(26,22,14,.065)}
.r4x-card.is-open{border-color:#cfa32a;box-shadow:0 1px 3px rgba(26,22,14,.095),0 12px 26px rgba(26,22,14,.075)}
.r4x-card-main{padding:13px 14px 12px 15px}
.r4x-category{padding:5px 8px;font-size:.66rem;margin-bottom:7px;border-color:#e2d5c0;background:#fbfaf6;font-weight:700}
.r4x-card h2{font-size:1rem;line-height:1.24;font-weight:700;color:#161616;letter-spacing:-.006em}
.r4x-term-en{font-size:.75rem;color:#675f55;font-weight:600}
.r4x-preview{font-size:.84rem;line-height:1.45;color:#46423c;margin-top:7px}
.r4x-open-indicator,.r4x-fav-btn{
  width:29px;height:29px;border-color:#d2aa39;background:#fffefb;box-shadow:0 1px 2px rgba(26,22,14,.06);font-weight:700;
}
.r4x-card.is-open .r4x-open-indicator{background:#151515;color:#fff;border-color:#151515}
.r4x-detail{padding:11px 14px 13px;background:#fffefb;border-top-color:#eadfcc}
.r4x-depth{margin-bottom:7px;border-radius:10px;padding:8px 10px;border-left-width:3px;background-clip:padding-box}
.r4x-depth h4,.r4x-meta-block h4{font-size:.70rem;font-weight:700;margin-bottom:4px}
.r4x-depth p{font-size:.84rem;line-height:1.48;color:#26231f}
.r4x-tag{font-size:.71rem;min-height:27px;padding:0 9px;background:#fbfaf6;border-color:#ded2be}
.r4x-tag-link{background:#fff8e8;border-color:#d5ae45;color:#72540f}
.r4x-free-upgrade{font-size:.80rem;border-radius:11px;background:#fffdf5}

.r4x-float-actions{right:18px;bottom:18px;gap:8px;filter:none!important}
.r4x-float-filter{
  min-width:128px;min-height:39px;background:#fff7dc!important;color:#17140e!important;border-color:#d2a72c!important;
  box-shadow:0 1px 3px rgba(0,0,0,.18),0 8px 16px rgba(0,0,0,.12)!important;font-size:.74rem;
}
.r4x-float-filter:hover{transform:none}
.r4x-float-filter.is-open,.r4x-float-filter.has-active:not(.is-open){
  background:#161616!important;color:#fff!important;border-color:#d2a72c!important;box-shadow:0 1px 3px rgba(0,0,0,.26),0 10px 20px rgba(0,0,0,.18)!important;
}
.r4x-float-filter.has-active:not(.is-open)::before{box-shadow:none;width:6px;height:6px;background:#d2a72c}
.r4x-float-actions .r4x-backtop{width:41px;height:41px;background:#111;border-color:#d2a72c;box-shadow:0 1px 3px rgba(0,0,0,.25),0 9px 18px rgba(0,0,0,.16)}
.r4x-footer{font-size:.73rem;color:#6a6259;margin-top:20px}

@media(min-width:681px){
  .r4x-filter-drawer{display:none!important}
  .r4x-filter-drawer.is-open{display:block!important}
}
@media(max-width:680px){
  body{font-size:15px;background:#f8f5ee}
  .r4x-page{padding:10px 10px 48px;max-width:430px}
  .r4x-hero{display:block;margin-bottom:9px;padding:0 2px}
  .r4x-kicker{font-size:.62rem;margin-bottom:2px}
  .r4x-hero h1{font-size:1.24rem;line-height:1.16}
  .r4x-hero p{font-size:.82rem;line-height:1.39;margin-top:4px}
  .r4x-stats{justify-content:flex-start;margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .r4x-stat{min-width:0;padding:9px 10px 9px 34px;border-radius:13px}
  .r4x-glossar-switch{justify-content:flex-start;margin-bottom:9px}
  .r4x-switch-link{min-height:33px;font-size:.74rem;padding:0 12px}
  .r4x-workbench{padding:10px;border-radius:17px;top:6px;max-height:calc(100vh - 10px)}
  .r4x-mode-tabs{gap:6px;margin-bottom:8px}
  .r4x-tab{min-height:32px;padding:0 10px;font-size:.72rem}
  .r4x-search-panel{padding:9px;border-radius:15px}
  .r4x-search-input{min-height:40px;font-size:.84rem;border-radius:10px;padding-left:12px}
  .r4x-search-bottomline{grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:8px}
  .r4x-result-note{font-size:.70rem}
  .r4x-search-actions{gap:6px}
  .r4x-reset-btn,.r4x-filter-toggle{min-height:30px;font-size:.66rem;padding:0 9px}
  .r4x-filter-toggle{min-width:112px}
  .r4x-filter-drawer{margin-top:9px;padding-top:9px}
  .r4x-filter-label{font-size:.61rem;margin-bottom:6px}
  .r4x-filter-section,
  .r4x-chip,
  .r4x-letter-chip{min-width:31px;padding:0}
  .r4x-list{gap:9px}
  .r4x-card{border-radius:15px}
  .r4x-card-main{padding:12px 12px 11px 14px}
  .r4x-category{font-size:.62rem;margin-bottom:7px;max-width:245px;overflow:hidden;text-overflow:ellipsis}
  .r4x-card h2{font-size:.98rem;line-height:1.25}
  .r4x-preview{font-size:.82rem;line-height:1.43;margin-top:7px}
  .r4x-card-controls{gap:6px}
  .r4x-open-indicator,.r4x-fav-btn{width:28px;height:28px}
  .r4x-detail{padding:10px 12px 12px}
  .r4x-depth{padding:8px 9px;margin-bottom:7px}
  .r4x-depth p{font-size:.82rem;line-height:1.47}
  .r4x-float-actions{right:11px;bottom:13px;gap:7px}
  .r4x-float-filter{min-width:118px;min-height:37px;font-size:.68rem;padding:0 10px}
  .r4x-float-actions .r4x-backtop{width:39px;height:39px}
}

.r4x-visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.r4x-hero h1{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.22em;
  font-weight:700;
}
.r4x-title-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:.16em;
  line-height:1;
  filter:saturate(.95);
}
.r4x-title-plus{
  color:var(--r4x-gold-deep);
  text-shadow:0 1px 0 rgba(255,255,255,.65);
}
.r4x-search-topline{display:block}
.r4x-search-row{
  display:grid;
  grid-template-columns:142px minmax(0,1fr);
  gap:9px;
  align-items:center;
}
.r4x-search-mode-select-wrap{display:block;min-width:0}
.r4x-search-mode-select{
  width:100%;
  min-height:41px;
  border:1px solid rgba(210,167,44,.72);
  border-radius:11px;
  background:#181818;
  color:#fff;
  padding:0 34px 0 12px;
  font-family:"Open Sans",Arial,sans-serif;
  font-size:.80rem;
  font-weight:700;
  line-height:1;
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 1px 2px rgba(0,0,0,.18);
  background-image:
    linear-gradient(45deg,transparent 50%,#d2a72c 50%),
    linear-gradient(135deg,#d2a72c 50%,transparent 50%);
  background-position:
    calc(100% - 17px) 50%,
    calc(100% - 12px) 50%;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
}
.r4x-search-mode-select:hover{border-color:#e0bd55;background-color:#1c1c1c}
.r4x-search-mode-select:focus{outline:2px solid rgba(210,167,44,.28);outline-offset:2px;border-color:#d2a72c}
.r4x-filter-drawer{border-top:1px solid #eadfcc}
.r4x-filter-drawer .r4x-filter-bar:first-child{margin-top:0}
@media(max-width:680px){
  .r4x-search-row{grid-template-columns:108px minmax(0,1fr);gap:7px}
  .r4x-search-mode-select{min-height:40px;font-size:.72rem;padding-left:10px;padding-right:28px;background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%}
  .r4x-hero h1{gap:.18em}
  .r4x-title-icon{margin-right:.10em}
}

.r4x-filter-drawer{display:none!important}
.r4x-filter-drawer.is-open{display:block!important}
.r4x-filter-drawer .r4x-filter-section{display:flex!important;flex-wrap:wrap!important;gap:8px!important;overflow:visible!important;padding-bottom:0!important;align-items:flex-start}
.r4x-filter-drawer .r4x-chip,.r4x-filter-drawer .r4x-letter-chip{display:inline-flex!important;visibility:visible!important;opacity:1!important;min-height:34px!important}
.r4x-filter-drawer .r4x-letter-chip{min-width:34px!important;justify-content:center!important}
@media(max-width:680px){
  .r4x-filter-drawer .r4x-filter-section{gap:7px!important}
  .r4x-filter-drawer .r4x-chip,.r4x-filter-drawer .r4x-letter-chip{min-height:32px!important}
}

.r4x-filter-drawer{
  display:none!important;
  margin-top:10px;
  padding-top:12px;
  border-top:1px solid #eadfcc;
}
.r4x-filter-drawer.is-open{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
.r4x-filter-drawer .r4x-filter-section,
.r4x-filter-drawer.is-open .r4x-filter-section{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  gap:8px!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0 0 2px 0!important;
  margin:0!important;
  visibility:visible!important;
  opacity:1!important;
}
.r4x-filter-drawer .r4x-filter-bar{
  display:flex!important;
  align-items:center!important;
  min-height:auto!important;
  margin:0 0 7px!important;
}
.r4x-filter-drawer .r4x-filter-bar-second{margin-top:12px!important;}
.r4x-filter-drawer .r4x-chip,
.r4x-filter-drawer .r4x-letter-chip,
.r4x-filter-drawer.is-open .r4x-chip,
.r4x-filter-drawer.is-open .r4x-letter-chip{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  min-height:32px!important;
  overflow:visible!important;
  align-items:center!important;
  justify-content:center!important;
}
.r4x-filter-drawer .r4x-letter-chip,
.r4x-filter-drawer.is-open .r4x-letter-chip{
  min-width:34px!important;
  padding:0 10px!important;
}
.r4x-filter-drawer .r4x-category-chip,
.r4x-filter-drawer.is-open .r4x-category-chip{
  min-width:auto!important;
  padding:7px 11px!important;
  white-space:nowrap!important;
}
.r4x-filter-drawer .r4x-chip-icon,
.r4x-filter-drawer .r4x-category-icon{
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
}
@media(max-width:680px){
  .r4x-filter-drawer .r4x-filter-section,
  .r4x-filter-drawer.is-open .r4x-filter-section{gap:7px!important;}
  .r4x-filter-drawer .r4x-category-chip,
  .r4x-filter-drawer.is-open .r4x-category-chip{white-space:normal!important;text-align:left!important;justify-content:flex-start!important;}
}

.r4x-filter-drawer .r4x-category-chip[data-category="all"],
.r4x-filter-drawer .r4x-letter-chip[data-letter="all"]{
  color:#1a1711!important;
  background:linear-gradient(180deg,#fffefb,#fffaf1)!important;
  border-color:#dfc98a!important;
}
.r4x-filter-drawer .r4x-category-chip[data-category="all"].is-active,
.r4x-filter-drawer .r4x-letter-chip[data-letter="all"].is-active{
  color:#ffffff!important;
  background:linear-gradient(180deg,#1b1b1b,#050505)!important;
  border-color:#d6aa2b!important;
  box-shadow:0 9px 18px rgba(0,0,0,.14),0 0 0 1px rgba(214,170,43,.26) inset!important;
}
.r4x-filter-drawer .r4x-category-chip[data-category="all"].is-active .r4x-chip-icon,
.r4x-filter-drawer .r4x-category-chip[data-category="all"].is-active .r4x-category-icon{
  background:#d6aa2b!important;
  color:#17130a!important;
  border-color:#f2dc89!important;
}
.r4x-filter-drawer .r4x-category-chip[data-category="all"].is-active *,
.r4x-filter-drawer .r4x-letter-chip[data-letter="all"].is-active *{
  color:inherit!important;
}

html.r4x-filter-scroll-locked,
body.r4x-filter-scroll-locked{
  overflow:hidden!important;
  overscroll-behavior:none;
}
body.r4x-filter-scroll-locked{
  width:100%;
}
body.r4x-filter-scroll-locked .r4x-workbench{
  max-height:var(--r4x-filter-panel-max-height, calc(100dvh - 18px));
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
body.r4x-filter-scroll-locked .r4x-filter-drawer.is-open{
  overflow:visible;
  overscroll-behavior:contain;
}
body.r4x-filter-scroll-locked .r4x-filter-section{
  overflow:visible;
}
@media(max-width:680px){
  body.r4x-filter-scroll-locked .r4x-workbench{
    max-height:var(--r4x-filter-panel-max-height, calc(100dvh - 12px));
  }
}

.r4x-locked-card{
  max-width:720px;
  margin:34px auto 0;
  padding:24px;
  border:1px solid rgba(214,170,43,.36);
  border-radius:22px;
  background:linear-gradient(180deg,#fffefb,#fff9ee);
  box-shadow:0 18px 42px rgba(33,25,14,.08);
}
.r4x-locked-card h1{
  display:flex;
  align-items:center;
  gap:.18em;
  margin:0 0 10px;
  color:#171717;
  font-size:clamp(1.28rem,2vw,1.72rem);
  line-height:1.16;
  font-weight:700;
  letter-spacing:-.015em;
}
.r4x-locked-card p{
  margin:0;
  max-width:620px;
  color:#4f4a43;
  font-size:.94rem;
  line-height:1.55;
}
.r4x-locked-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.r4x-secondary-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 14px;
  border:1px solid var(--r4x-line);
  border-radius:999px;
  background:#fffefb;
  color:#1d1b18;
  text-decoration:none;
  font-size:.82rem;
  font-weight:700;
}
.r4x-secondary-link:hover{border-color:var(--r4x-line-strong)}

body.r4x-filter-scroll-locked::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9990;
  background:rgba(17,17,17,.22);
}
.r4x-filter-drawer{
  display:none!important;
}
.r4x-filter-drawer.is-open{
  display:block!important;
  position:fixed!important;
  z-index:9999!important;
  left:50%!important;
  right:auto!important;
  top:calc(env(safe-area-inset-top, 0px) + 14px)!important;
  transform:translateX(-50%)!important;
  width:min(760px, calc(100vw - 28px))!important;
  max-height:min(var(--r4x-filter-panel-max-height, calc(100dvh - 28px)), calc(100dvh - 28px))!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid rgba(210,167,44,.52)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fffdf8 0%,#fbf7ee 100%)!important;
  box-shadow:0 24px 70px rgba(21,18,12,.24),0 0 0 1px rgba(255,255,255,.72) inset!important;
}
.r4x-filter-drawer-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:0 0 12px!important;
  margin:0 0 14px!important;
  border-bottom:1px solid #eadfcc!important;
}
.r4x-filter-drawer-head strong{
  font-size:.88rem!important;
  line-height:1.2!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:#5f4711!important;
  font-weight:700!important;
}
.r4x-filter-close{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  border:1px solid #d2a72c!important;
  background:#151515!important;
  color:#fffaf0!important;
  font:700 .74rem/1 "Open Sans",Arial,sans-serif!important;
  cursor:pointer!important;
}
.r4x-filter-drawer.is-open .r4x-filter-section{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  overflow:visible!important;
  padding-bottom:0!important;
  align-items:flex-start!important;
}
.r4x-filter-drawer.is-open .r4x-filter-bar{
  display:flex!important;
  margin:0 0 8px!important;
}
.r4x-filter-drawer.is-open .r4x-filter-bar-second{
  margin-top:16px!important;
}
.r4x-filter-drawer.is-open .r4x-chip,
.r4x-filter-drawer.is-open .r4x-letter-chip{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
}
.r4x-filter-toggle.is-active,
.r4x-float-filter.is-open{
  background:#151515!important;
  color:#fffaf0!important;
  border-color:#d2a72c!important;
}
@media (max-width: 720px){
  .r4x-filter-drawer.is-open{
    top:calc(env(safe-area-inset-top, 0px) + 10px)!important;
    width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:20px!important;
    padding:14px!important;
  }
  .r4x-filter-drawer-head{margin-bottom:12px!important;padding-bottom:10px!important;}
  .r4x-filter-drawer.is-open .r4x-filter-section{gap:7px!important;}
  .r4x-filter-close{min-height:32px;padding:0 12px;font-size:.7rem!important;}
}

html.r4x-filter-scroll-locked,
body.r4x-filter-scroll-locked{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
body.r4x-filter-scroll-locked::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9990;
  background:rgba(17,17,17,.22);
  pointer-events:none;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  filter:none!important;
}
.r4x-filter-drawer.is-open{
  z-index:10000!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  max-height:min(var(--r4x-filter-panel-max-height, calc(100dvh - 28px)), calc(100dvh - 28px))!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
}
.r4x-workbench.is-stuck,
.r4x-workbench,
.r4x-float-actions{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
@media (max-width:720px){
  .r4x-filter-drawer.is-open{
    max-height:calc(100dvh - 20px)!important;
  }
}

body.r4x-filter-scroll-locked::before{
  content:none!important;
  display:none!important;
  background:transparent!important;
  opacity:0!important;
  pointer-events:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  filter:none!important;
}
.r4x-filter-drawer-head{align-items:center!important;}
.r4x-filter-drawer-actions{
  display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important;
}
.r4x-panel-reset{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:0 13px!important;
  border-radius:999px!important;border:1px solid #d2a72c!important;background:#fff8e7!important;color:#5f4308!important;
  font:700 .72rem/1 "Open Sans",Arial,sans-serif!important;cursor:pointer!important;white-space:nowrap!important;
}
.r4x-panel-reset:hover:not(:disabled){background:#fff0c9!important;border-color:#bd8f13!important;}
.r4x-panel-reset:disabled,.r4x-panel-reset.is-disabled{
  opacity:.45!important;cursor:not-allowed!important;background:#fbf7ed!important;color:#8c806d!important;border-color:#e0d3bd!important;
}
.r4x-filter-drawer .r4x-letter-chip.is-active{
  color:#fffaf0!important;background:linear-gradient(180deg,#1b1b1b,#050505)!important;border-color:#d6aa2b!important;
  box-shadow:0 9px 18px rgba(0,0,0,.14),0 0 0 1px rgba(214,170,43,.26) inset!important;
}
.r4x-filter-drawer .r4x-letter-chip.is-active,
.r4x-filter-drawer .r4x-letter-chip.is-active *{
  color:#fffaf0!important;-webkit-text-fill-color:#fffaf0!important;opacity:1!important;visibility:visible!important;
}
.r4x-filter-drawer .r4x-letter-chip:not(.is-active){color:#1a1711!important;-webkit-text-fill-color:#1a1711!important;}
@media(max-width:680px){
  .r4x-filter-drawer-head{gap:10px!important;}
  .r4x-filter-drawer-actions{gap:7px!important;}
  .r4x-panel-reset,.r4x-filter-close{min-height:32px!important;padding:0 10px!important;font-size:.66rem!important;}
}

.r4x-stat-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
  padding:0!important;
}

.r4x-filter-drawer.is-open .r4x-filter-label{
  font-size:.70rem!important;
}
.r4x-filter-drawer.is-open .r4x-chip,
.r4x-filter-drawer.is-open .r4x-letter-chip{
  font-size:.82rem!important;
}
@media (max-width:720px){
  .r4x-filter-drawer.is-open .r4x-filter-label{
    font-size:.69rem!important;
  }
  .r4x-filter-drawer.is-open .r4x-chip,
  .r4x-filter-drawer.is-open .r4x-letter-chip{
    font-size:.80rem!important;
  }
}

.r4x-filter-icon{
  width:16px;
  height:16px;
  display:inline-block;
  flex:0 0 auto;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}
.r4x-filter-toggle{
  gap:7px!important;
  white-space:nowrap!important;
}
.r4x-filter-toggle .r4x-filter-icon{
  width:15px;
  height:15px;
}
.r4x-filter-toggle .r4x-filter-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#d2a72c;
  color:#111;
  font:700 .68rem/1 "Open Sans",Arial,sans-serif;
}
.r4x-float-filter,
.r4x-float-filter.has-active,
.r4x-float-filter.is-open,
.r4x-float-filter.has-active:not(.is-open){
  position:relative!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  max-width:42px!important;
  padding:0!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:0!important;
  line-height:1!important;
  background:#111!important;
  color:#fffaf0!important;
  border:1px solid #d2a72c!important;
  box-shadow:0 1px 3px rgba(0,0,0,.24),0 10px 20px rgba(0,0,0,.16)!important;
  overflow:visible!important;
}
.r4x-float-filter:hover{transform:none!important;}
.r4x-float-filter.is-open{
  background:#fff7d7!important;
  color:#111!important;
  border-color:#b78912!important;
  box-shadow:0 1px 3px rgba(0,0,0,.18),0 10px 22px rgba(183,137,18,.20)!important;
}
.r4x-float-filter .r4x-filter-icon{
  width:19px!important;
  height:19px!important;
}
.r4x-float-filter .r4x-filter-badge{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:19px;
  height:19px;
  padding:0 5px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#d2a72c;
  color:#111;
  border:2px solid #fffdf7;
  font:700 .67rem/1 "Open Sans",Arial,sans-serif;
  box-shadow:0 3px 9px rgba(0,0,0,.18);
}
.r4x-float-filter::before{
  content:none!important;
  display:none!important;
}
@media(max-width:720px){
  .r4x-float-filter,
  .r4x-float-filter.has-active,
  .r4x-float-filter.is-open,
  .r4x-float-filter.has-active:not(.is-open){
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-width:40px!important;
  }
  .r4x-float-filter .r4x-filter-icon{width:18px!important;height:18px!important;}
}

.r4x-filter-drawer.is-open .r4x-letter-section{
  display:grid!important;
  grid-template-columns:repeat(7, max-content)!important;
  justify-content:start!important;
  align-content:start!important;
  gap:8px!important;
  width:auto!important;
  max-width:100%!important;
}
.r4x-filter-drawer.is-open .r4x-letter-chip{
  justify-content:center!important;
}
@media(max-width:720px){
  .r4x-filter-drawer.is-open .r4x-letter-section{
    gap:7px!important;
  }
}

@media (min-width:721px){
  .r4x-filter-drawer.is-open .r4x-letter-section{
    display:flex!important;
    flex-wrap:wrap!important;
    grid-template-columns:none!important;
    justify-content:flex-start!important;
    gap:8px!important;
  }
}
@media (max-width:720px){
  .r4x-filter-drawer.is-open .r4x-letter-section{
    display:grid!important;
    grid-template-columns:repeat(7, max-content)!important;
    justify-content:start!important;
    align-content:start!important;
    gap:7px!important;
    width:auto!important;
    max-width:100%!important;
  }
}

.r4x-filter-toggle.has-active:not(.is-active)::before{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  box-shadow:none!important;
}
.r4x-filter-toggle{
  gap:5px!important;
}
.r4x-filter-toggle .r4x-filter-icon{
  width:14px!important;
  height:14px!important;
}
.r4x-filter-toggle .r4x-filter-count{
  min-width:17px!important;
  height:17px!important;
  padding:0 5px!important;
  font-size:.64rem!important;
}
@media(max-width:680px){
  .r4x-search-bottomline{
    grid-template-columns:minmax(0, auto) minmax(0, 1fr)!important;
    column-gap:9px!important;
  }
  .r4x-search-actions{
    justify-content:flex-end!important;
    min-width:0!important;
    gap:5px!important;
  }
  .r4x-reset-btn{
    min-height:30px!important;
    padding:0 9px!important;
    font-size:.64rem!important;
  }
  .r4x-filter-toggle{
    min-width:0!important;
    min-height:30px!important;
    padding:0 9px!important;
    font-size:.64rem!important;
  }
}

.r4x-active-filters.is-compact .r4x-active-list{
  flex-wrap:nowrap!important;
  overflow:hidden!important;
  min-width:0!important;
}
.r4x-active-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border:1px solid #d2a72c;
  border-radius:999px;
  background:#fff8df;
  color:#5b420d;
  font:700 .71rem/1 "Open Sans",Arial,sans-serif;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(33,25,14,.035);
}
.r4x-active-more:hover{background:#fff0bd;border-color:#bd8f13;}
@media(max-width:680px){
  .r4x-active-more{min-height:26px;padding:0 9px;font-size:.68rem;}
  .r4x-active-filters.is-compact .r4x-active-list .r4x-active-chip{max-width:calc(100vw - 170px);overflow:hidden;text-overflow:ellipsis;}
}

.r4x-active-more.is-collapse{
  background:#fffefb;
  color:#5b420d;
}
.r4x-active-more.is-collapse:hover{
  background:#fff5d4;
}

/* v160 Origin integration: shared header spacing and manual focus mode */
.r4x-glossar-origin-shell .r4x-page{padding-top:18px;}
.r4x-action-icon{
  width:19px;
  height:19px;
  display:block;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}
.r4x-float-search,
.r4x-focus-toggle{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  max-width:42px!important;
  padding:0!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#111!important;
  color:#fffaf0!important;
  border:1px solid #d2a72c!important;
  box-shadow:0 1px 3px rgba(0,0,0,.24),0 10px 20px rgba(0,0,0,.16)!important;
}
.r4x-float-search.is-open,
.r4x-focus-toggle.is-active{
  background:#fff7d7!important;
  color:#111!important;
  border-color:#b78912!important;
}
.r4x-float-search.has-active::after{
  content:"";
  position:absolute;
  top:4px;
  right:5px;
  width:7px;
  height:7px;
  border-radius:999px;
  background:#d2a72c;
  border:1px solid #111;
}
.r4x-float-actions{
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:7px!important;
  z-index:10020!important;
}
.r4x-float-actions .r4x-backtop,
.r4x-float-filter,
.r4x-float-search,
.r4x-focus-toggle{order:initial;}
.r4x-float-filter{order:1;}
.r4x-float-search{order:2;}
.r4x-float-actions .r4x-backtop{order:3;}
.r4x-focus-toggle{order:4;}
.r4x-float-search-panel{
  position:fixed;
  right:70px;
  bottom:72px;
  z-index:10019;
  width:min(560px, calc(100vw - 92px));
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .14s ease, transform .14s ease;
}
.r4x-float-search-panel.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.r4x-float-search-inner{
  display:grid;
  grid-template-columns:128px minmax(0,1fr) 34px;
  gap:8px;
  align-items:center;
  padding:9px;
  border:1px solid rgba(210,167,44,.58);
  border-radius:18px;
  background:#151515;
  box-shadow:0 18px 42px rgba(0,0,0,.22);
}
.r4x-float-search-inner .r4x-search-input{min-height:40px;}
.r4x-float-search-inner .r4x-clear-btn{
  position:static!important;
  opacity:1!important;
  pointer-events:auto!important;
  width:32px!important;
  height:32px!important;
  transform:none!important;
  justify-self:center;
}
body.r4x-glossar-focus-mode .r4x-header,
body.r4x-glossar-focus-mode .r4x-hero,
body.r4x-glossar-focus-mode .r4x-glossar-switch,
body.r4x-glossar-focus-mode .r4x-plus-hint,
body.r4x-glossar-focus-mode .r4x-footer{
  display:none!important;
}
body.r4x-glossar-focus-mode .r4x-workbench{
  position:static!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.r4x-glossar-focus-mode .r4x-workbench .r4x-mode-tabs,
body.r4x-glossar-focus-mode .r4x-workbench .r4x-search-panel,
body.r4x-glossar-focus-mode .r4x-workbench .r4x-active-filters{
  display:none!important;
}
body.r4x-glossar-focus-mode{
  background:#f7f3ec;
}
body.r4x-glossar-focus-mode .r4x-page{
  padding-top:12px!important;
}
@media(max-width:720px){
  .r4x-float-actions{right:11px!important;bottom:13px!important;gap:7px!important;}
  .r4x-float-search,
  .r4x-focus-toggle{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-width:40px!important;
  }
  .r4x-float-search-panel{
    right:58px;
    bottom:64px;
    width:calc(100vw - 74px);
  }
  .r4x-float-search-inner{
    grid-template-columns:106px minmax(0,1fr) 32px;
    gap:7px;
    padding:8px;
    border-radius:16px;
  }
}


/* v161 Origin focus fix: in focus mode the floating controls remain fixed and visible. */
body.r4x-glossar-focus-mode .r4x-float-actions{
  display:flex!important;
  position:fixed!important;
  opacity:1!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
}
body.r4x-glossar-focus-mode .r4x-float-search-panel.is-open{
  opacity:1!important;
  pointer-events:auto!important;
}


/* v162 Origin sticky/header fix
   The glossary workbench must stay fully visible below the shared header.
   The header height is written to --r4x-shared-header-height by JS. */
.r4x-workbench{
  top:calc(var(--r4x-shared-header-height, 88px) + 10px)!important;
}
@media(max-width:720px){
  .r4x-workbench{
    top:calc(var(--r4x-shared-header-height, 68px) + 7px)!important;
  }
}
body.r4x-glossar-focus-mode .r4x-workbench{
  top:0!important;
}
