/* V21.9 — standalone page and public invitation; all styles scoped. */
.tp219-main,.tp219-invite,.tp219-fallback-footer{--tp-blue:#1769ad;--tp-dark:#173d61;--tp-muted:#4b6c86;--tp-border:#d5e5f3;box-sizing:border-box;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--tp-dark);}
.tp219-main *, .tp219-invite *, .tp219-fallback-footer *{box-sizing:border-box;}
body:has(#teplo-partnership-v219){background:#f0f5fb;margin:0;}
.tp219-main{max-width:1360px;margin:24px auto 0;padding:0 20px 46px;}
.tp219-main h1,.tp219-main h2,.tp219-main h3,.tp219-invite h2{color:var(--tp-dark);line-height:1.2;letter-spacing:-.02em;}
.tp219-main h1{font-size:clamp(34px,4vw,56px);margin:14px 0 18px;font-weight:800;letter-spacing:-.035em;}
.tp219-main h2{font-size:clamp(24px,2.4vw,34px);margin:7px 0 16px;font-weight:760;}
.tp219-main h3{font-size:19px;margin:0 0 10px;font-weight:720;}
.tp219-main p,.tp219-invite p{font-size:15px;line-height:1.65;color:var(--tp-muted);margin:0 0 13px;}
.tp219-main p:last-child,.tp219-invite p:last-child{margin-bottom:0;}
.tp219-main a:not(.tp219-btn){color:var(--tp-blue);}
.tp219-hero{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:36px;padding:40px;background:linear-gradient(135deg,#fff,#dfedfa);border:1px solid var(--tp-border);border-radius:24px;overflow:hidden;}
.tp219-hero p{font-size:17px;max-width:720px;}
.tp219-pill{display:inline-block;background:#e6f2fc;color:#215f91;border:1px solid #d5e5f3;border-radius:999px;padding:6px 12px;font-weight:700;font-size:12px;margin-bottom:16px;}
.tp219-kicker{text-transform:uppercase;letter-spacing:1.3px;font-size:12px;color:#357bad;font-weight:800;}
.tp219-hero-visual{position:relative;max-width:390px;width:100%;margin:auto;}
.tp219-hero-visual img{display:block;width:100%;height:auto;max-height:380px;object-fit:cover;object-position:center 34%;border-radius:18px;}
.tp219-hero-visual span{position:absolute;bottom:12px;left:12px;padding:5px 10px;background:#fff;color:var(--tp-dark);border-radius:8px;font-size:12px;font-weight:700;}
.tp219-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px;}
.tp219-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:12px 19px;border:1px solid #c5dced;border-radius:12px;color:#215f91!important;background:white;font-size:14px;line-height:1.35;font-weight:700;text-decoration:none!important;min-height:44px;transition:background .15s;}
.tp219-btn:hover{background:#e9f4fd;}.tp219-primary{background:var(--tp-blue);border-color:var(--tp-blue);color:#fff!important;}.tp219-primary:hover{background:#14578c;}
.tp219-btn:focus-visible,.tp219-main a:focus-visible{outline:3px solid #429de0;outline-offset:3px;}
.tp219-section{margin-top:30px;scroll-margin-top:110px;}
.tp219-card{padding:22px;border:1px solid var(--tp-border);border-radius:18px;background:#fff;box-shadow:0 4px 18px rgba(34,83,115,.035);min-width:0;}
.tp219-story{display:grid;grid-template-columns:minmax(200px, .75fr) 1.25fr;align-items:center;gap:26px;}
.tp219-story img{display:block;width:100%;max-height:285px;object-fit:cover;object-position:center 40%;border-radius:13px;}
.tp219-note{background:#f0f7fc;border-left:3px solid #79add3;border-radius:5px;padding:12px 14px;color:var(--tp-muted);font-size:14px;line-height:1.55;}
.tp219-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px 30px;align-items:center;}
.tp219-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.tp219-metrics div{background:#eef6fc;padding:14px 10px;border-radius:11px;}
.tp219-metrics strong{display:block;font-size:clamp(22px,2.5vw,36px);color:var(--tp-blue);font-weight:800;line-height:1.15;white-space:nowrap;}
.tp219-metrics span{display:block;font-size:12px;line-height:1.4;margin-top:5px;color:var(--tp-muted);}
.tp219-bars{display:grid;gap:10px;}.tp219-bars>div{display:grid;grid-template-columns:86px minmax(0,1fr) 52px;align-items:center;gap:10px;font-size:13px;}
.tp219-bars i{display:block;height:12px;background:#eaf2f8;border-radius:8px;overflow:hidden;}.tp219-bars b{display:block;background:linear-gradient(90deg,#1769ad,#5aa8dc);height:100%;border-radius:8px;}.tp219-bars strong{text-align:right;font-variant-numeric:tabular-nums;}
.tp219-main .tp219-small{font-size:12px;color:#58778d;line-height:1.55;margin-top:12px;}.tp219-stats .tp219-small{grid-column:1/-1;margin:0;}
.tp219-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.tp219-grid .tp219-card p{margin:0;}
.tp219-symbol{display:flex;align-items:center;justify-content:center;background:#e5f2fc;border-radius:12px;width:42px;height:42px;color:var(--tp-blue);font-size:23px;font-weight:800;margin-bottom:12px;}
.tp219-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.tp219-flow article{background:#fff;border:1px solid var(--tp-border);border-radius:16px;padding:22px;}.tp219-flow span{display:block;font-size:24px;font-weight:800;color:#6bafd9;margin-bottom:10px;}.tp219-flow p{margin:0;}
.tp219-callout,.tp219-contact{background:#e2effa;border:1px solid #d0e4f3;border-radius:18px;padding:23px;margin-top:14px;}.tp219-contact{margin-top:30px;text-align:center;padding:28px;}.tp219-contact .tp219-actions{justify-content:center;}
.tp219-funding{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;}.tp219-funding>div+div{border-left:1px solid var(--tp-border);padding-left:24px;}.tp219-funding ul{margin:0;padding-left:20px;color:var(--tp-muted);font-size:15px;line-height:1.75;}.tp219-funding li::marker{color:var(--tp-blue);}
.tp219-pdf{display:flex;align-items:center;gap:20px;}.tp219-doc{display:flex;justify-content:center;align-items:center;border:1px solid #c8dff1;border-radius:13px;flex:0 0 88px;height:110px;background:#e8f4fd;color:var(--tp-blue);font-size:25px;font-weight:800;}.tp219-pdf .tp219-actions{margin-top:12px;}
.tp219-invite{max-width:1320px;margin:24px auto 28px;padding:18px 24px;display:grid;grid-template-columns:144px minmax(0,1fr);align-items:center;gap:22px;background:linear-gradient(110deg,#e1f0fa,#f3f8fd);border:1px solid #cfe2f1;border-radius:20px;text-align:left;}
.tp219-invite img{display:block;width:144px;height:145px;object-fit:cover;object-position:center 30%;border-radius:13px;}.tp219-invite h2{font-size:clamp(22px,2.5vw,29px);margin:5px 0 8px;}.tp219-invite p{max-width:800px;font-size:14px;}.tp219-invite .tp219-actions{margin-top:10px;}
.tp219-fallback-footer{padding:24px 20px;background:#e5f0f9;text-align:center;line-height:1.8;font-size:13px;}.tp219-fallback-footer a{color:var(--tp-blue);margin:0 8px;}
@media (min-width:750px) and (max-width:1320px){#tv8-header .tv8-desktop .tp219-nav-link{padding-inline:7px;}#tv8-header .tv8-desktop .tp219-nav-link .tp219-nav-text{font-size:11px;}}
@media (max-width:900px){.tp219-hero{gap:20px;padding:28px;}.tp219-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.tp219-stats{grid-template-columns:1fr;}.tp219-funding{gap:18px;}.tp219-invite{margin-left:12px;margin-right:12px;}}
@media (max-width:620px){.tp219-main{padding:0 12px 26px;margin-top:14px;}.tp219-hero{grid-template-columns:1fr;padding:22px;gap:18px;border-radius:19px;}.tp219-hero p{font-size:15px;}.tp219-hero-visual{max-width:none;}.tp219-hero-visual img{height:245px;max-height:none;object-position:center 28%;}.tp219-card{padding:17px;}.tp219-story,.tp219-funding,.tp219-flow,.tp219-grid{grid-template-columns:1fr;}.tp219-story img{max-height:225px;}.tp219-funding>div+div{padding:16px 0 0;border-left:0;border-top:1px solid var(--tp-border);}.tp219-metrics{gap:6px;}.tp219-metrics div{padding:11px 6px;}.tp219-metrics strong{font-size:23px;}.tp219-metrics span{font-size:11px;}.tp219-pdf{align-items:flex-start;gap:12px;}.tp219-doc{flex-basis:49px;height:64px;font-size:16px;}.tp219-invite{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:13px;margin:18px 10px;}.tp219-invite img{width:88px;height:108px;}.tp219-invite h2{font-size:21px;}.tp219-invite .tp219-kicker{font-size:10px;letter-spacing:.5px;}.tp219-invite .tp219-btn{font-size:12px;padding:9px 10px;}.tp219-invite p{font-size:13px;}.tp219-contact{padding:22px 14px;}.tp219-section{margin-top:23px;}}
@media(max-width:350px){.tp219-invite{grid-template-columns:1fr;}.tp219-invite img{width:100%;height:130px;object-position:center 25%;}.tp219-metrics strong{font-size:19px;}.tp219-bars>div{grid-template-columns:73px 1fr 45px;gap:7px;}}
