/* ===== PorovnejFondy theme pro Quant Lab =====
   Světlá teplá paleta (navy #032246 + krémová #f5f1ea + teplá tmavá #221816),
   fonty Caudex (serif nadpisy) + Source Sans Pro (text) + Big Shoulders (labely),
   3px rohy. Self-host woff2 (latin + latin-ext). Přemazává tmavé proměnné labu. */

/* ---- Caudex (serif) ---- */
@font-face{font-family:'Caudex';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/caudex-400-latin-ext.woff2") format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Caudex';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/caudex-400-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Caudex';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/caudex-700-latin-ext.woff2") format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Caudex';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/caudex-700-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* ---- Source Sans Pro (text) ---- */
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/sourcesans-400-latin-ext.woff2") format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;font-display:swap;src:url("fonts/sourcesans-400-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:600;font-display:swap;src:url("fonts/sourcesans-600-latin-ext.woff2") format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:600;font-display:swap;src:url("fonts/sourcesans-600-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/sourcesans-700-latin-ext.woff2") format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/sourcesans-700-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* ---- Big Shoulders Text (labely) ---- */
@font-face{font-family:'Big Shoulders Text';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/bigshoulders-700-latin-ext.woff2") format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Big Shoulders Text';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/bigshoulders-700-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Big Shoulders Text';font-style:normal;font-weight:800;font-display:swap;src:url("fonts/bigshoulders-800-latin-ext.woff2") format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Big Shoulders Text';font-style:normal;font-weight:800;font-display:swap;src:url("fonts/bigshoulders-800-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --pf-serif:Caudex,"Times New Roman",Georgia,serif;
  --pf-sans:"Source Sans Pro",-apple-system,"Segoe UI",Arial,sans-serif;
  --pf-label:"Big Shoulders Text","Arial Narrow",sans-serif;
  --navy:#032246;
  /* přemaž tmavé strukturní proměnné labu na PF světlou paletu */
  --bg:#f5f1ea !important;
  --panel:#ffffff !important;
  --border:#e5dccb !important;
  --text:#221816 !important;
  --muted:#7a6a60 !important;
  /* datové barvy zůstávají sytější, ale laděné pro světlé pozadí */
  --blue:#2f5fb0 !important;
  --green:#1f8f7a !important;
  --red:#cf3a2f !important;
  --amber:#c98a1e !important;
  --yellow:#c98a1e !important;
  --gold:#a67c3d !important;
}

/* ---- typografie ---- */
body{font-family:var(--pf-sans) !important;-webkit-font-smoothing:antialiased;}
h1,h2,h3{font-family:var(--pf-serif) !important;font-weight:700;color:var(--navy);letter-spacing:0;}
.verdict .big,.wm,.brand .wm{font-family:var(--pf-serif) !important;font-weight:700;}
th,.stat .k,.cat h2,.sig .light,.stat > .k,.brand .tag,.mc-arrow{font-family:var(--pf-label) !important;letter-spacing:.04em;}

/* ---- odkazy = navy ---- */
a{color:#0a3f7a;}
.sub,.hint{color:var(--muted);}

/* ---- 3px rohy jako PF ---- */
.panel,.stat,.card,.sig,.acard,.alertstrip,.verdict,.mastercta,.alok,.feed,table,canvas,input,.filters button,.tfbar button,.stat,.summary,.cat table,.bias{border-radius:3px !important;}

/* ---- jemné stíny pro světlé karty (PF má lehké elevace) ---- */
.panel,.card,.stat,.sig,.acard,.alertstrip,.verdict,.summary,.mastercta{box-shadow:0 1px 3px rgba(3,34,70,.06);}

/* ---- PF-clean přepis tmavých/špinavých prvků na světlé ---- */
.mastercta{background:linear-gradient(135deg,#ffffff,#f4ecdc) !important;border:1px solid var(--navy) !important;}
.posbar{background:#efe7d9 !important;}
.card:hover,.mastercta:hover,.alok:hover{border-color:var(--navy) !important;}
.filters button.on,.tfbar button.on{background:var(--navy) !important;color:#fff !important;border-color:var(--navy) !important;}
/* horní drobečky: odkazy na navy kvůli kontrastu */
body > div:first-of-type a{color:var(--navy) !important;}
/* horní LENDEL wordmark: ČERNÝ, výrazný, jednotný na každé stránce */
body > div:first-of-type b{
  color:#141414 !important;font-family:var(--pf-label) !important;font-weight:800 !important;
  font-size:15px !important;letter-spacing:.16em !important;
}

/* ---- stálá Lendel logo značka v rohu (ČERNÁ, výrazná, na KAŽDÉ stránce) ---- */
body::after{
  content:"";position:fixed;right:16px;bottom:12px;width:168px;height:58px;
  background:url("lendel-signature-black.svg") center/contain no-repeat;
  opacity:.72;pointer-events:none;z-index:50;
}
@media(max-width:640px){body::after{width:120px;height:42px;right:8px;bottom:8px;opacity:.62}}
