/* Site-wide Header + Footer. Shared by React and all static Vite pages. */
tjek-header,tjek-footer{display:block;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
tjek-header{min-height:66px}
.ts-shell-header,.ts-shell-footer{box-sizing:border-box;line-height:1.5}
.ts-shell-header *,.ts-shell-footer *{box-sizing:border-box}
.ts-shell-header{background:#fbfaf7;color:#1d1d1f;border-bottom:1px solid #e2ded6;position:relative;z-index:30}
.ts-shell-head-inner{max-width:1200px;min-height:66px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.ts-shell-brand,.ts-shell-footer-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;white-space:nowrap;font-weight:750;letter-spacing:-.045em;color:#0a2540!important}
.ts-shell-brand{font-size:23px}
.ts-shell-mark,.ts-shell-footer-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;color:white;background:#0a2540;border-radius:11px}
.ts-shell-footer-mark{width:32px;height:32px}
.ts-shell-desktop{display:flex;align-items:center;justify-content:center;gap:4px;flex:1}
.ts-shell-nav-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;border-radius:10px;font-size:13px;font-weight:650;text-decoration:none!important;color:#465565!important;white-space:nowrap;transition:background-color .18s,color .18s}
.ts-shell-nav-link:hover,.ts-shell-nav-link[aria-current="page"]{background:#e9eee9;color:#0a2540!important}
.ts-shell-controls{display:flex;align-items:center;gap:8px;flex:none}
.ts-shell-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;border-radius:999px;background:#0a2540;color:#fff!important;padding:10px 17px;text-decoration:none!important;font-size:13px;font-weight:700;white-space:nowrap;transition:background-color .18s,transform .18s}
.ts-shell-cta:hover{background:#173f5d;transform:translateY(-1px)}
.ts-shell-menu-toggle,.ts-shell-theme{appearance:none;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:12px;color:#465565;cursor:pointer;font-size:23px}
.ts-shell-menu-toggle:hover,.ts-shell-theme:hover{background:#edf0ed}
.ts-shell-menu-toggle{display:none}
.ts-shell-mobile[hidden]{display:none!important}
.ts-shell-mobile{display:none;position:absolute;top:100%;left:0;right:0;background:#fbfaf7;border-bottom:1px solid #d9dfda;box-shadow:0 20px 36px rgba(10,37,64,.13);padding:10px 16px 16px;max-height:calc(100dvh - 84px);overflow-y:auto}
.ts-shell-mobile-link{display:flex;align-items:center;min-height:48px;padding:10px 15px;border-radius:12px;color:#243e52!important;text-decoration:none!important;font-size:15px;font-weight:650}
.ts-shell-mobile-link:hover,.ts-shell-mobile-link[aria-current="page"]{background:#edf0ed;color:#0a2540!important}
.ts-shell-header a:focus-visible,.ts-shell-header button:focus-visible,.ts-shell-footer a:focus-visible{outline:2px solid #2b749e;outline-offset:3px}
.ts-shell-footer{border-top:1px solid #d8ded9;background:#f6f5f1;color:#394b5b;padding:56px 24px 22px}
.ts-shell-footer-inner{max-width:1152px;margin:0 auto}
.ts-shell-footer-grid{display:grid;grid-template-columns:minmax(250px,1.25fr) minmax(185px,1fr) minmax(185px,1fr);gap:32px 72px;align-items:start}
.ts-shell-footer-brand{font-size:24px}
.ts-shell-footer-about>p{font-size:14px;line-height:1.8;color:#596775;margin:16px 0 0;max-width:35ch}
.ts-shell-footer-about>p.ts-shell-disclaimer{font-size:12px;color:#697582;margin-top:12px}
.ts-shell-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ts-shell-footer-col h2{font-family:inherit;font-weight:750;font-size:13px;letter-spacing:.055em;text-transform:uppercase;color:#243f53;line-height:1.5;margin:4px 0 9px}
.ts-shell-footer-link{font-size:14px;font-weight:550;line-height:1.5;color:#536474!important;text-decoration:none!important;padding:3px 0;transition:color .18s}
.ts-shell-footer-link:hover,.ts-shell-footer-link[aria-current="page"]{color:#0a4768!important;text-decoration:underline!important;text-underline-offset:4px}
.ts-shell-ai-credit{display:flex;align-items:flex-start;gap:14px;margin:38px 0 22px;padding:18px 20px;max-width:740px;border:1px solid #dddeda;border-radius:16px;background:#eeefeb;box-shadow:0 2px 12px rgba(15,23,42,.025)}
.ts-shell-ai-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:11px;background:#dfe8ea;color:#0a4768;font-size:19px}
.ts-shell-ai-credit strong{display:block;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#546c79;margin:1px 0 5px}
.ts-shell-ai-credit p{font-size:13px;color:#506270;margin:0;line-height:1.7}
.ts-shell-ai-credit a{color:#0a4768!important;font-weight:700;text-underline-offset:3px}
.ts-shell-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px 30px;flex-wrap:wrap;border-top:1px solid #d9dfdc;padding-top:20px;color:#697784;font-size:12px}
@media(max-width:1070px){
 .ts-shell-desktop{display:none}
 .ts-shell-menu-toggle{display:inline-flex}
 .ts-shell-mobile:not([hidden]){display:flex;flex-direction:column}
 .ts-shell-head-inner{padding:0 20px}
}
@media(max-width:760px){
 .ts-shell-footer{padding:42px 22px 20px}
 .ts-shell-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
 .ts-shell-footer-about{grid-column:1/-1}
 .ts-shell-footer-about>p{max-width:60ch}
 .ts-shell-footer-col h2{font-size:12px}
 .ts-shell-footer-link{font-size:13px}
}
@media(max-width:460px){
 .ts-shell-head-inner{gap:8px;padding:0 13px}
 .ts-shell-brand{font-size:19px;gap:7px}
 .ts-shell-mark{width:33px;height:33px}
 .ts-shell-cta{min-height:40px;padding:9px 12px;font-size:12px}
 .ts-shell-controls{gap:1px}
 .ts-shell-theme{min-width:38px}
 .ts-shell-menu-toggle{min-width:38px}
 .ts-shell-footer-grid{grid-template-columns:1fr}
 .ts-shell-footer-about{grid-column:auto}
 .ts-shell-ai-credit{padding:14px;gap:11px}
 .ts-shell-ai-credit p{font-size:12px}
}
html.dark .ts-shell-header{background:#171a20;border-bottom-color:#343c46;color:#eef2f6}
html.dark .ts-shell-brand{color:#eef2f6!important}
html.dark .ts-shell-mark{background:#eef2f6;color:#0a2540}
html.dark .ts-shell-nav-link,html.dark .ts-shell-theme,html.dark .ts-shell-menu-toggle{color:#c3cdd9!important}
html.dark .ts-shell-nav-link:hover,html.dark .ts-shell-nav-link[aria-current="page"],html.dark .ts-shell-menu-toggle:hover,html.dark .ts-shell-theme:hover{background:#27313b;color:white!important}
html.dark .ts-shell-cta{background:#eef2f6;color:#111318!important}
html.dark .ts-shell-mobile{background:#171a20;border-bottom-color:#343c46}
html.dark .ts-shell-mobile-link{color:#edf2f6!important}
html.dark .ts-shell-mobile-link:hover{background:#27313b}
html.dark .ts-shell-footer{background:#141920;border-top-color:#343c46}
html.dark .ts-shell-footer-brand{color:#eef2f6!important}
html.dark .ts-shell-footer-mark{background:#eef2f6;color:#0a2540}
html.dark .ts-shell-footer-col h2{color:#edf2f6}
html.dark .ts-shell-footer-link{color:#b6c5d2!important}
html.dark .ts-shell-footer-link:hover{color:#d1e6f9!important}
html.dark .ts-shell-footer-about>p,html.dark .ts-shell-ai-credit p{color:#b6c5d2}
html.dark .ts-shell-ai-credit{background:#222b34;border-color:#3d4853}
html.dark .ts-shell-ai-credit strong{color:#b2c9d6}
html.dark .ts-shell-ai-credit a{color:#b6d9ef!important}
html.dark .ts-shell-footer-bottom{border-top-color:#343c46;color:#95a5b4}
@media(prefers-reduced-motion:reduce){
 .ts-shell-header *, .ts-shell-footer *{transition:none!important;scroll-behavior:auto!important}
}


/* Unified first-visit analytics consent, rendered from the shared site shell. */
tjek-consent{display:block}
tjek-consent[hidden]{display:none!important}
.ts-consent-panel{
  position:fixed;left:12px;right:12px;
  bottom:max(12px,env(safe-area-inset-bottom));z-index:110;
  display:flex;align-items:center;gap:18px;max-width:680px;
  max-height:calc(100dvh - 24px);overflow-y:auto;
  margin:0 auto;padding:17px 20px;
  border:1px solid #dcdad4;border-radius:18px;
  background:#fbfaf7;color:#1d1d1f;
  box-shadow:0 20px 60px rgba(15,23,42,.18);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.ts-consent-copy{flex:1;min-width:0}
.ts-consent-copy strong{display:block;font-size:15px;font-weight:700;margin-bottom:3px}
.ts-consent-copy p{font-size:13px;line-height:1.6;color:#5e6472;margin:0}
.ts-consent-actions{display:flex;align-items:center;gap:9px;flex:none}
.ts-consent-actions button{
  appearance:none;min-height:44px;padding:10px 19px;
  border-radius:999px;border:1px solid #cbd0cf;
  background:#f1eee8;color:#1d2834;font-family:inherit;font-size:14px;font-weight:600;line-height:1.25;cursor:pointer;
}
.ts-consent-actions button[data-consent="granted"]{background:#0a2540;color:white;border-color:#0a2540}
.ts-consent-actions button:hover{filter:brightness(.94)}
.ts-consent-actions button:focus-visible{outline:2px solid #176d94;outline-offset:2px}
html.dark .ts-consent-panel{background:#171a20;color:#eef2f6;border-color:#434a56}
html.dark .ts-consent-copy p{color:#a4afbe}
html.dark .ts-consent-actions button[data-consent="denied"]{background:#2d3541;color:#eef2f6;border-color:#4c5b6b}
html.dark .ts-consent-actions button[data-consent="granted"]{background:#eef2f6;color:#111318;border-color:#eef2f6}
@media(max-width:600px){
  .ts-consent-panel{display:block;padding:16px}
  .ts-consent-actions{margin-top:15px}
  .ts-consent-actions button{flex:1}
}
