.screener-page-wrap main{padding-top:38px}
.screen-title-row{gap:0;padding-top:24px}
.screen-title-row .s-info h1{margin:0}
.screen-title-meta{margin-top:6px}
.screen-title-meta span{color:var(--muted);font-size:12.5px;font-weight:400;line-height:1.45}
.screen-kind-tabs{margin-bottom:22px;background:#fff;overflow-x:auto;scrollbar-width:none}
.screen-kind-tabs::-webkit-scrollbar{display:none}
.screen-kind-tabs .ptab{color:var(--muted);text-decoration:none}
.screen-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px;align-items:stretch;margin-top:18px}
.screen-hero h1{margin:12px 0 8px;font-size:44px;line-height:1;letter-spacing:-.055em;color:var(--text)}
.screen-hero p{max-width:760px;margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.screen-hero-card{border:1px solid var(--sep);border-radius:8px;background:#fff;padding:18px;display:flex;flex-direction:column;justify-content:center}
.screen-hero-card span{font-size:10.5px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--dim)}
.screen-hero-card strong{margin:6px 0 3px;font-size:38px;line-height:1;color:var(--teal);letter-spacing:-.05em}
.screen-hero-card em{font-style:normal;color:var(--muted);font-size:12px;line-height:1.45}
.screen-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.screen-kpi-grid>div{border:1px solid rgba(0,0,0,.07);border-radius:8px;background:#fff;padding:14px 15px}
.screen-kpi-grid span{display:block;color:var(--dim);font-size:11px;font-weight:800;margin-bottom:6px}
.screen-kpi-grid b{display:block;color:var(--text);font-size:24px;line-height:1.1;letter-spacing:-.04em}
.screen-kpi-grid em{display:block;margin-top:5px;color:var(--muted);font-size:11.5px;font-style:normal;line-height:1.35}
.screen-panel{border:0;border-radius:0;background:#fff;margin-top:18px;min-width:0}
.screen-filter-panel{padding:18px 20px;border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);background:#fff;box-shadow:var(--ui-card-shadow)}
.screen-filter-head,.screen-table-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.screen-filter-head h2,.screen-table-head h2{margin:0 0 4px;color:var(--text);font-size:20px;letter-spacing:-.035em}
.screen-filter-head p,.screen-table-head p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.55}
.screen-filter-head button{height:34px;border:1px solid rgba(0,0,0,.09);border-radius:7px;background:#fff;color:var(--muted);font:700 11.5px/1 'Inter',sans-serif;padding:0 12px;cursor:pointer}
.screen-filter-head button:hover{color:var(--text);background:#fafbfc}
.screen-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.screen-filter-grid label{display:flex;flex-direction:column;gap:6px;min-width:0}
.screen-filter-grid .screen-search-filter{grid-column:1/-1}
.screen-filter-grid span{font-size:10.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.screen-filter-grid input,.screen-filter-grid select{width:100%;height:38px;border:1px solid rgba(0,0,0,.1);border-radius:8px;background:#fff;color:var(--text);font:600 12.5px/1 'Inter',sans-serif;padding:0 11px;outline:none}
.screen-filter-grid input:focus,.screen-filter-grid select:focus{border-color:rgba(22,163,74,.45);box-shadow:0 0 0 3px rgba(22,163,74,.08)}
.screen-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.screen-presets button{height:30px;border:0;border-radius:999px;background:rgba(22,163,74,.09);color:var(--teal);font:900 11.5px/1 'Open Sans',sans-serif;padding:0 11px;cursor:pointer}
.screen-presets button:hover{background:rgba(22,163,74,.14)}
.screen-table-panel{overflow:hidden}
.screen-market-panel{padding-bottom:8px}
.screen-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.screen-market-card{display:flex;min-width:0;align-items:center;gap:13px;padding:14px;border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);background:#fff;color:var(--text);text-decoration:none;box-shadow:var(--ui-card-shadow);transition:border-color .18s ease,transform .18s ease}
.screen-market-card:hover{border-color:rgba(22,132,81,.32);transform:translateY(-1px)}
.screen-market-logo-cluster{width:50px;height:50px;flex:0 0 50px;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);overflow:hidden;border-radius:9px;background:#f4f5f8}
.screen-market-logo-cluster img{display:block;width:100%;height:100%;object-fit:contain;background:#f4f5f8}
.screen-market-card-copy{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;gap:4px}
.screen-market-card-copy strong{overflow:hidden;color:var(--text);font-size:13px;font-weight:750;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.screen-market-card-copy small{color:var(--muted);font-size:11px;font-weight:600}
.screen-market-card>i{flex:0 0 auto;color:var(--dim);font-size:11px}
.screen-table-head{padding:0}
.screen-table-note{font-size:11.5px;font-weight:800;color:var(--dim);white-space:nowrap}
.screen-table-wrap{overflow:auto;padding:0 0 16px}
.screen-table{width:100%;min-width:640px;table-layout:fixed;border-collapse:collapse;font-size:12.5px}
/* Nutzer-Korrektur 06.09.2026: Spaltenkoepfe brachen bei schmalen Spalten
   bis auf einzelne Buchstaben pro Zeile um -- Ueberschriften bleiben jetzt
   einzeilig, die Tabelle scrollt stattdessen horizontal (siehe .screen-table
   min-width:640px + .screen-table-wrap{overflow:auto} oben). */
.screen-table th{white-space:nowrap;line-height:1.15}
.screen-table th button>span{white-space:nowrap;line-height:1.15}
.screen-table th small{display:block;margin-top:2px;color:var(--dim);font-size:9.5px;font-weight:500;line-height:1.2}
.screen-table td:first-child{text-align:left}
.screen-table td{padding:12px 10px;border-bottom:1px solid rgba(0,0,0,.055);text-align:right;color:var(--text);vertical-align:middle}
.screen-table tr:last-child td{border-bottom:none}
.screen-table td small{display:none!important}
.screen-table td .etf-holding-valuation-plain small{display:block!important}
.screen-moat-evidence{display:inline-flex;flex-direction:column;align-items:flex-end;gap:3px;white-space:nowrap}
.screen-table td .screen-moat-evidence small{display:block!important;color:#94a3b8!important;font-size:9px!important;font-weight:650;line-height:1!important}
.screen-moat-text{font-weight:800}
.screen-moat-text.is-very-strong{color:#087f5b}
.screen-moat-text.is-strong{color:#168451}
.screen-moat-text.is-medium{color:#9a6700}
.screen-moat-text.is-narrow{color:#c26a12}
.screen-moat-text.is-none{color:#b43a3a}
.etf-screen-table{min-width:920px}
.etf-screen-table th,.etf-screen-table th button>span{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
.etf-screen-table td:nth-child(n+2){white-space:nowrap}
.etf-screen-table .etf-screen-name{min-width:0}
.etf-screen-table .etf-screen-name>span:last-child{min-width:0}
.etf-screen-table .etf-screen-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.screen-score{display:inline-flex;align-items:center;gap:6px;border-radius:8px;background:rgba(22,163,74,.09);color:var(--teal);font-weight:900;padding:5px 8px;min-width:62px}
.screen-score em{font-style:normal;font-size:11px;color:var(--teal);opacity:.85}
.screen-company{display:flex;align-items:center;gap:10px}
.screen-company>span:first-child{width:32px;height:32px;border-radius:50%;background:var(--side);display:grid;place-items:center;overflow:hidden;flex:0 0 auto}
.screen-company img{width:100%;height:100%;object-fit:contain}
.screen-company>.screen-stock-logo{border-radius:50%;background:#fff;isolation:isolate}
.screen-company>.screen-stock-logo img{display:block;width:100%;height:100%;max-width:none;max-height:none;padding:0;border-radius:50%;object-fit:cover;transform:scale(1.04)}
.screen-company>span:first-child>b{font-size:10px!important;color:var(--teal)}
.screen-company .research-table-entity-copy>b,.screen-company.etf-screen-name>span:last-child>b{display:block;color:var(--text);font-size:12px!important;font-weight:700!important;line-height:1.25!important}
.screen-company .research-table-entity-copy>small,.screen-company.etf-screen-name>span:last-child>small{display:block;margin-top:2px;color:var(--dim);font-size:9.5px!important;line-height:1.15!important}
.screen-pos{color:var(--teal)!important;font-weight:900}
.screen-neg{color:var(--red)!important;font-weight:900}
.screen-risk{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900}
.screen-risk.low{background:rgba(22,163,74,.09);color:var(--teal)}
.screen-risk.mid{background:rgba(245,158,11,.13);color:#a16207}
.screen-risk.high{background:rgba(220,38,38,.08);color:var(--red)}
.screen-empty{display:none;padding:18px 16px 22px;border-top:1px solid rgba(0,0,0,.06);color:var(--dim);font-size:13px;font-weight:800;text-align:center}
.screen-empty.show{display:block}
.screen-empty-state{display:flex;flex-direction:column;align-items:center;gap:10px;padding:42px 24px;border:1px dashed var(--sep);border-radius:10px;background:#fafbfc;text-align:center}
.screen-empty-state i{font-size:22px;color:var(--dim)}
.screen-empty-state p{margin:0;max-width:420px;color:var(--muted);font-size:13px;font-weight:600;line-height:1.5}
.screen-table tr[data-screen-row][hidden]{display:none!important}
.screen-sparkline{display:grid;min-width:116px;grid-template-columns:70px auto;align-items:center;justify-content:end;gap:8px}
.screen-sparkline svg{display:block;width:70px;height:24px;overflow:visible}
.screen-sparkline strong{min-width:48px;font-size:11px;font-weight:750;text-align:right;white-space:nowrap}
.screen-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid var(--sep);color:var(--muted);font-size:11.5px;font-weight:650}
.screen-pager[hidden]{display:none!important}
.screen-pager-controls{display:flex;align-items:center;gap:5px}
.screen-pager-button{display:inline-flex;width:30px;height:28px;align-items:center;justify-content:center;border:1px solid var(--sep);border-radius:6px;background:#fff;color:var(--muted);font:700 11px/1 'Inter',sans-serif;cursor:pointer}
.screen-pager-button:hover:not(:disabled){border-color:#cbd5e1;color:var(--text);background:#f8fafc}
.screen-pager-button.is-active{border-color:#111827;background:#111827;color:#fff}
.screen-pager-button:disabled:not(.is-active){opacity:.35;cursor:default}
@media(max-width:980px){
  .screen-hero{grid-template-columns:1fr}
  .screen-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .screen-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .screen-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .screener-page-wrap main{padding-left:18px;padding-right:18px}
  .screen-hero h1{font-size:36px}
  .screen-kpi-grid,.screen-filter-grid{grid-template-columns:1fr}
  .screen-filter-head,.screen-table-head{display:block}
  .screen-filter-head button{margin-top:12px}
  .screen-table-note{margin-top:8px;white-space:normal}
  .screen-table-wrap{padding-left:12px;padding-right:12px}
  .screen-pager{align-items:flex-start;flex-direction:column}
  .screener-page-wrap main{padding-top:24px!important}
  .screener-page-wrap .breadcrumb{padding-top:4px}
  .screener-page-wrap .stock-row{margin-top:14px}
  .screener-page-wrap .stock-row .s-logo{width:46px;height:46px;flex-basis:46px}
  .screener-page-wrap .stock-row .s-info h1{font-size:24px;line-height:1.15}
  .screener-page-wrap .sib-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}
  .screener-page-wrap .sib-col{min-width:0;padding:10px;border:1px solid var(--sep);border-radius:8px;background:#fafbfc}
  .screener-page-wrap .sib-col-lbl{font-size:8.5px;line-height:1.2}
  .screener-page-wrap .sib-col-val{margin-top:4px;font-size:12px;line-height:1.25;white-space:normal}
  .screen-kind-tabs{margin-top:14px;margin-bottom:15px}
  .screen-kind-tabs .ptab{flex:0 0 auto}
  .screen-market-grid{grid-template-columns:minmax(0,1fr)}
  .screen-panel{margin-top:12px}
  .screen-table-head{margin-bottom:10px}
  .screen-table-head h2{font-size:18px}
  .screen-table-head p{font-size:11.5px;line-height:1.45}
  .screen-table-note{margin-top:5px;font-size:10px}
  .screen-moat-evidence{align-items:flex-start}
  /* Auf schmalen Displays bleiben Spalten lesbar und die Tabelle scrollt
     horizontal, statt Marktkapitalisierung und Burggraben zusammenzuquetschen. */
  .screen-table-wrap{padding-left:0;padding-right:0;overflow-x:auto;overscroll-behavior-inline:contain}
  .screen-table:not(.etf-screen-table){min-width:640px;table-layout:fixed}
}
