/* Pomocnik POZ v10 — wygląd odtworzony na podstawie motywu WordPress */
*{box-sizing:border-box}
html{font-size:16px}
body{margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:#000;line-height:1.45}
a{color:#0056b3}
.container{width:1200px;max-width:calc(100% - 28px);margin:0 auto;padding:0;background:#fff}

/* Nagłówek */
.site-header{background:#fff;border:0}
.site-header>.container{padding-top:10px}
.brand{display:block;width:300px;height:100px;margin:10px 0;text-decoration:none}
.brand img{display:block;width:300px;height:100px;object-fit:contain;object-position:left center}
.menu-bar{width:100%;height:50px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px rgba(0,0,0,.1);margin:0 auto}
.menu-bar ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}
.menu-bar li{margin:0 15px}
.menu-bar a{display:block;text-decoration:none;color:#000;font-weight:700;font-size:14px;padding:8px 12px;border-radius:4px;transition:.2s ease}
.menu-bar a:hover,.menu-bar a.active{background:#0056b3;color:#fff}

/* Treść i siatka */
.content{padding:40px 0 54px}
.page-content{width:100%;max-width:none}
.calculator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;width:100%}
.calculator-column{display:flex;flex-direction:column;align-items:stretch;gap:20px;min-width:0;margin:0;padding:0}
.calculator-column>br{display:none}

/* Wspólne karty kalkulatorów — jak w starym motywie */
.calculator-column form[id],
.calculator-column>div[id]:not(.phq9-wrap),
.calculator-column #conversion-calculator,
.calculator-column #flozins-form{
 width:100%!important;max-width:none!important;margin:0!important;padding:20px!important;
 background:#f9f9f9!important;border:1px solid #ddd!important;border-radius:8px!important;
 box-shadow:0 2px 4px rgba(0,0,0,.10)!important;font-family:Arial,sans-serif!important
}
.calculator-column form h3,
.calculator-column>div[id]>h3,
.calculator-column>div[id] form h3{
 margin:0 0 15px!important;text-align:center!important;color:#0056b3!important;font-size:18px!important;
 line-height:1.25!important;text-transform:uppercase!important;font-weight:700!important
}
.calculator-column form label,
.calculator-column>div[id] form label{
 display:block!important;color:#333!important;font-size:14px!important;font-weight:400!important;margin:0 0 5px!important;line-height:1.35!important
}
.calculator-column form input[type="number"],
.calculator-column form select{
 display:block!important;width:100%!important;min-height:40px!important;padding:9px 10px!important;margin:0 0 15px!important;
 font-size:14px!important;border:1px solid #007bff!important;border-radius:4px!important;background:#eef6ff!important;color:#000!important
}
.calculator-column form input[type="number"]:focus,
.calculator-column form select:focus{outline:none!important;border-color:#0056b3!important;box-shadow:0 0 4px rgba(0,123,255,.5)!important}
.calculator-column form input[type="checkbox"],
.calculator-column form input[type="radio"]{width:auto!important;min-height:0!important;padding:0!important;margin:3px 7px 0 0!important;vertical-align:top!important;accent-color:#007bff}
.calculator-column form button,
.calculator-column .phq9-btn{
 display:inline-block!important;width:auto!important;padding:10px 18px!important;font-size:14px!important;font-weight:700!important;color:#fff!important;
 background:#007bff!important;border:0!important;border-radius:4px!important;cursor:pointer!important;box-shadow:0 2px 4px rgba(0,0,0,.1)!important
}
.calculator-column form button:hover,.calculator-column .phq9-btn:hover{background:#0056b3!important}
.calculator-column form button[type="reset"],.calculator-column .phq9-btn-secondary,.calculator-column .phq9-btn-primary{background:#6c757d!important}
.calculator-column form button[type="reset"]:hover,.calculator-column .phq9-btn:hover{background:#5a6268!important}
.calculator-column form br{display:none}

/* Checkboxowe kalkulatory */
#chads2-vasc-form label,#has-bled-form label,#wells-form label{display:flex!important;align-items:flex-start!important;gap:7px!important;margin:0 0 14px!important;font-weight:400!important}
#chads2-vasc-form label input,#has-bled-form label input,#wells-form label input{flex:0 0 auto!important}

/* QTc oraz konwersje — zachowanie kompaktowe, ale estetyczne */
#qtc-calculator form{margin:0!important}
#qtc-calculator input[type="number"]{width:100%!important;margin-left:0!important}
#conversion-calculator>div{margin-bottom:14px!important}
#conversion-calculator input[type="number"]{width:58%!important;display:inline-block!important;margin:5px 4px 5px 0!important;min-height:36px!important}
#conversion-calculator select{width:38%!important;display:inline-block!important;margin:5px 0!important;min-height:36px!important}

/* Noty bibliograficzne */
.form-add-info{width:100%;font-size:.69rem!important;color:#6c757d!important;line-height:1.32!important;margin:0!important;padding:14px!important;background:#f1f5f8!important;border-radius:6px!important}
.form-add-info p{margin:0 0 8px}.form-add-info p:last-child{margin-bottom:0}.form-add-info ul{margin:6px 0 8px;padding-left:20px}.form-add-info a{color:#0056b3;text-decoration:underline}

/* PHQ-9 — CSS w WordPressie był wstrzykiwany przez wp_enqueue_style */
.phq9-wrap{width:100%;margin:0}
.phq9-card{max-width:100%;background:#f3f3f3;border:1px solid #d9d9d9;border-radius:12px;padding:20px 18px 18px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.phq9-title{margin:0 0 12px;text-align:center;color:#0056b3;font-size:1.75em;font-weight:700;line-height:1.2}
.phq9-subtitle{margin:0 0 10px;color:#333;font-size:15px;line-height:1.5}
.phq9-scale-note{margin:0 0 16px;color:#555;font-size:13px;line-height:1.5}
.phq9-questions{display:flex;flex-direction:column;gap:16px}
.phq9-question{background:#f6f6f6;border:1px solid #d8dde3;border-radius:10px;padding:14px 16px}
.phq9-question-text{margin:0 0 10px;font-size:14px;line-height:1.5;color:#243b53;font-weight:400}
.phq9-q-number{display:inline-block;margin-right:4px;font-weight:700;color:#123c66}
.phq9-options{display:flex;flex-direction:column;gap:4px}
.phq9-option{display:flex!important;align-items:flex-start!important;gap:8px!important;cursor:pointer!important;padding:1px 0!important;margin:0!important;font-size:14px!important;line-height:1.4!important;color:#294766!important}
.phq9-option input[type="radio"]{margin:3px 0 0!important;flex:0 0 auto}
.phq9-bottom{margin-top:16px;padding-top:14px;border-top:1px solid #d6dce1}
.phq9-score-line{margin:0 0 12px;font-size:15px;color:#333}.phq9-score-line span{font-weight:700;color:#0056b3}
.phq9-actions{display:flex;flex-wrap:wrap;gap:10px}

/* Stopka */
footer{background:#f5f5f5;padding:20px;text-align:center;font-size:14px;border-top:1px solid #ddd;color:#333}
footer .container{display:flex;flex-direction:column;align-items:center;gap:7px;background:transparent}
.footer-menu{display:flex;justify-content:center;gap:15px;flex-wrap:wrap}.footer-menu a{color:#555;text-decoration:none;font-size:14px}.footer-menu a:hover{color:#000;text-decoration:underline}
.engine-version{font-size:10px;color:#aaa}

/* Cookies */
.cookie-consent{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:rgba(31,31,31,.94);color:#fff;padding:15px 20px;text-align:center;font-size:13px;line-height:1.45;box-shadow:0 -2px 8px rgba(0,0,0,.18)}
.cookie-consent button{margin-left:18px;padding:8px 18px;border:0;border-radius:4px;background:#007bff;color:#fff;font-weight:700;cursor:pointer}.cookie-consent button:hover{background:#0056b3}

/* Panel administracyjny */
.narrow{max-width:520px;padding-top:8vh}.adminbar{background:#18212a;color:#fff}.adminbar .container{display:flex;align-items:center;justify-content:space-between;padding:14px 0}.adminbar a{color:#fff;margin-right:16px}.editor,.form-grid{display:grid;gap:16px}.editor{padding:28px 0 60px}.editor label,.form-grid label{display:grid;gap:6px;font-weight:600}.editor input,.editor select,.editor textarea,.form-grid input,.form-grid select,.form-grid textarea{font:inherit;padding:10px 12px;border:1px solid #bbb;border-radius:6px}.editor textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.button{background:#075cab;color:#fff;border:0;padding:11px 18px;border-radius:6px;text-decoration:none;cursor:pointer;display:inline-block;width:max-content}.notice{padding:14px;border-radius:6px;margin:18px 0}.ok{background:#e9f8ed}.error{background:#ffecec;color:#8a1111}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;width:100%}.table-wrap th,.table-wrap td{text-align:left;padding:10px;border-bottom:1px solid #ddd}

@media(max-width:900px){
 .container{max-width:calc(100% - 24px)}
 .brand,.brand img{width:240px;height:80px}
 .calculator-grid{grid-template-columns:1fr}
 .menu-bar{height:auto;min-height:50px}.menu-bar ul{padding:6px}.menu-bar li{margin:2px}.menu-bar a{font-size:13px;padding:7px 9px}
}
@media(max-width:520px){
 .content{padding-top:24px}.calculator-column form[id],.calculator-column>div[id]:not(.phq9-wrap),.calculator-column #conversion-calculator{padding:16px!important}
 .phq9-card{padding:16px 14px}.phq9-title{font-size:1.45em}.phq9-question{padding:12px 13px}
 .cookie-consent button{display:block;margin:10px auto 0}
}

/* Pomocnik POZ v11 — dopracowane podstrony */
body.subpage{background:#f7f9fc;color:#172033}
body.subpage .site-header>.container{background:#fff}
body.subpage .content{padding:44px 0 64px;background:transparent}
.subpage-layout{
 max-width:1120px;margin:0 auto;padding:42px 48px 52px;background:#fff;
 border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 12px 35px rgba(30,64,175,.07)
}
.subpage-layout>h1{
 position:relative;margin:0 0 34px;padding:0 0 16px;color:#102a43;
 font-size:2.15rem;line-height:1.15;letter-spacing:-.025em
}
.subpage-layout>h1:after{content:"";position:absolute;left:0;bottom:0;width:72px;height:4px;border-radius:4px;background:#0877d1}
.subpage-layout h2{margin:38px 0 16px;color:#123c66;font-size:1.45rem;line-height:1.25}
.subpage-layout h3{margin:28px 0 12px;color:#173f67;font-size:1.1rem;line-height:1.35}
.subpage-layout h4{margin:24px 0 10px;color:#1f3b57;font-size:1rem}
.subpage-layout p{margin:0 0 16px;font-size:1rem;line-height:1.72;color:#26384a}
.subpage-layout strong{color:#172b3e}
.subpage-layout a{color:#006bc7;text-decoration-thickness:1px;text-underline-offset:3px}
.subpage-layout a:hover{color:#004e97;text-decoration-thickness:2px}
.subpage-layout ul,.subpage-layout ol{margin:10px 0 22px;padding-left:25px;color:#26384a}
.subpage-layout li{margin:8px 0;line-height:1.58}
.subpage-layout hr{border:0;border-top:1px solid #e1e8ef;margin:34px 0}
.subpage-layout blockquote{
 margin:26px 0;padding:18px 22px;border-left:5px solid #1683d8;border-radius:0 10px 10px 0;
 background:#eef7ff;color:#24415d
}
.subpage-layout img{max-width:100%;height:auto;border-radius:8px}
.subpage-layout p>img,.subpage-layout figure img{box-shadow:0 5px 18px rgba(15,23,42,.12);border:1px solid #dce3ea}
.subpage-layout figure{margin:28px 0}
.subpage-layout figcaption{margin-top:9px;color:#64748b;font-size:.88rem;line-height:1.45}
.subpage-layout table{width:100%;border-collapse:separate;border-spacing:0;margin:24px 0;border:1px solid #d7e0e8;border-radius:10px;overflow:hidden;font-size:.92rem}
.subpage-layout th{background:#eaf4fd;color:#123c66;font-weight:700}
.subpage-layout th,.subpage-layout td{padding:11px 12px;border-right:1px solid #dfe7ee;border-bottom:1px solid #dfe7ee;text-align:left;vertical-align:top}
.subpage-layout tr:last-child td{border-bottom:0}.subpage-layout th:last-child,.subpage-layout td:last-child{border-right:0}
.subpage-layout tbody tr:nth-child(even){background:#f8fafc}

/* Linki — każda grupa jako lekka sekcja */
body.page-linki .subpage-layout h3{margin-top:0;padding:15px 18px;background:#eaf4fd;border-radius:10px;color:#0b4d85}
body.page-linki .subpage-layout p,body.page-linki .subpage-layout ul{padding-left:4px}
body.page-linki .subpage-layout ul{list-style:none;padding-left:0;display:grid;gap:8px}
body.page-linki .subpage-layout li{margin:0;padding:11px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}

/* Moje zdrowie — ważne informacje jako wyróżnione bloki */
body.page-moje-zdrowie .subpage-layout>p:first-of-type a,
body.page-moje-zdrowie .subpage-layout>p:nth-of-type(2) a{
 display:inline-flex;align-items:center;min-height:42px;margin-right:10px;padding:10px 16px;border-radius:8px;
 background:#0877d1;color:#fff;text-decoration:none;font-weight:700;box-shadow:0 4px 10px rgba(8,119,209,.18)
}
body.page-moje-zdrowie .subpage-layout>p:first-of-type a:hover,
body.page-moje-zdrowie .subpage-layout>p:nth-of-type(2) a:hover{background:#005ca8}
body.page-moje-zdrowie .subpage-layout ol{padding:18px 24px 18px 44px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}

/* Wytyczne — materiały wizualne mają więcej miejsca */
body.page-wytyczne .subpage-layout{max-width:1180px}
body.page-wytyczne .subpage-layout p:has(> img){text-align:center}
body.page-wytyczne .subpage-layout img{display:block;margin:0 auto}

@media(max-width:900px){
 body.subpage .content{padding-top:26px}
 .subpage-layout{padding:30px 26px 38px;border-radius:12px}
 .subpage-layout>h1{font-size:1.8rem}
 .subpage-layout table{display:block;overflow-x:auto;white-space:normal}
}
@media(max-width:560px){
 body.subpage{background:#fff}
 .subpage-layout{padding:24px 18px 32px;border:0;border-radius:0;box-shadow:none}
 .subpage-layout>h1{font-size:1.6rem;margin-bottom:26px}
 .subpage-layout p{font-size:.96rem;line-height:1.65}
 body.page-moje-zdrowie .subpage-layout>p:first-of-type a,
 body.page-moje-zdrowie .subpage-layout>p:nth-of-type(2) a{display:flex;margin:0 0 10px;justify-content:center}
}

/* Pomocnik POZ v12 — białe podstrony, bez karty; czytelne wytyczne */

/* Pomocnik POZ v12 — białe podstrony, bez karty; czytelne wytyczne */
body.subpage{background:#fff;color:#172033}
body.subpage .content{padding:42px 0 62px;background:#fff}
.subpage-layout{
 max-width:1120px;margin:0 auto;padding:0;background:transparent;
 border:0;border-radius:0;box-shadow:none
}
.subpage-layout>h1{margin-bottom:34px}

/* Czytelność bez ciężkich ramek */
.subpage-layout p{max-width:980px}
.subpage-layout blockquote{background:#f7fbff;border-left-color:#0877d1}
.subpage-layout p>img,.subpage-layout figure img{box-shadow:none;border:0;border-radius:2px}
.subpage-layout figure{margin:0}
.subpage-layout figcaption{max-width:100%;margin-top:12px;color:#526579;font-size:.9rem;line-height:1.5}

/* Linki: mniej pudełek, więcej porządku */
body.page-linki .subpage-layout h3{padding:0;background:transparent;border-radius:0;color:#172b3e}
body.page-linki .subpage-layout ul{gap:0;margin-top:8px}
body.page-linki .subpage-layout li{padding:8px 0;background:transparent;border:0;border-bottom:1px solid #edf1f5;border-radius:0}
body.page-linki .subpage-layout li:last-child{border-bottom:0}

/* Moje zdrowie: zachowaj wyróżnienia, ale bez dużych paneli */
body.page-moje-zdrowie .subpage-layout ol{padding:8px 0 8px 28px;background:transparent;border:0;border-radius:0}

/* WordPressowe kolumny na stronie Wytyczne */
body.page-wytyczne .subpage-layout{max-width:1280px}
body.page-wytyczne .wp-block-columns{
 display:grid;grid-template-columns:minmax(260px,.72fr) minmax(480px,1.28fr);
 gap:34px;align-items:start;width:100%;margin:0
}
body.page-wytyczne .wp-block-column{min-width:0}
body.page-wytyczne .wp-block-image{display:flex;flex-direction:column;align-items:center;width:100%}
body.page-wytyczne .wp-block-image img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto}
body.page-wytyczne .wp-block-column:first-child img{max-height:700px}
body.page-wytyczne .wp-block-column:last-child img{width:100%}
body.page-wytyczne .wp-block-image figcaption{align-self:stretch;text-align:left}

@media(max-width:900px){
 body.subpage .content{padding:30px 0 46px}
 .subpage-layout{padding:0 8px}
 body.page-wytyczne .wp-block-columns{grid-template-columns:1fr;gap:34px}
 body.page-wytyczne .wp-block-column:first-child img{max-height:none}
 body.page-wytyczne .wp-block-column:last-child img{width:auto;max-width:100%}
}

/* Pomocnik POZ v13 — czytelniejsze listy i materiały dla pacjenta/lekarza */

/* Linki: wracają czytelne wypunktowania zamiast szeregu podobnych akapitów */
body.page-linki .subpage-layout ul{
 display:block;list-style:disc;margin:10px 0 26px;padding-left:28px
}
body.page-linki .subpage-layout li{
 display:list-item;margin:7px 0;padding:2px 0 2px 4px;border:0;background:transparent;
 line-height:1.55
}
body.page-linki .subpage-layout li::marker{color:#0877d1;font-size:1.15em}
body.page-linki .resource-list{
 margin:12px 0 28px;padding:13px 22px 13px 42px;
 background:#f8fafc;border-left:4px solid #0877d1;border-radius:0 8px 8px 0
}
body.page-linki .resource-list .resource-item{margin:8px 0;padding-left:2px}
body.page-linki .subpage-layout>p{margin-bottom:14px}
body.page-linki .subpage-layout>p:has(+ ul){margin-bottom:7px;font-weight:600;color:#243b53}

/* Moje zdrowie: dwa równorzędne działania, rozróżnione kolorem */
body.page-moje-zdrowie .health-downloads{
 display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 24px
}
body.page-moje-zdrowie .health-download{
 display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 19px;
 border-radius:7px;color:#fff!important;text-decoration:none!important;font-weight:700;
 box-shadow:0 4px 10px rgba(15,23,42,.12);transition:transform .15s ease,box-shadow .15s ease,background .15s ease
}
body.page-moje-zdrowie .health-download:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(15,23,42,.17)}
body.page-moje-zdrowie .health-download-doctor{background:#0877d1}
body.page-moje-zdrowie .health-download-doctor:hover{background:#0563b2}
body.page-moje-zdrowie .health-download-patient{background:#2f8f4e}
body.page-moje-zdrowie .health-download-patient:hover{background:#267640}
/* wyłącz starsze selektory przycisków v11/v12 */
body.page-moje-zdrowie .subpage-layout>p:first-of-type a,
body.page-moje-zdrowie .subpage-layout>p:nth-of-type(2) a{
 display:inline;color:#006bc7;background:transparent;box-shadow:none;padding:0;margin:0;min-height:0;font-weight:inherit
}

/* Lista rozliczeniowa: łatwa do szybkiego skanowania */
body.page-moje-zdrowie .subpage-layout ol{
 counter-reset:health-rule;list-style:none;margin:14px 0 28px;padding:0;display:grid;gap:9px
}
body.page-moje-zdrowie .subpage-layout ol li{
 counter-increment:health-rule;position:relative;margin:0;padding:13px 16px 13px 54px;
 background:#f8fafc;border-left:3px solid #c9dceb;border-radius:0 7px 7px 0;line-height:1.55
}
body.page-moje-zdrowie .subpage-layout ol li::before{
 content:counter(health-rule);position:absolute;left:14px;top:11px;width:27px;height:27px;
 display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e3f1fc;color:#075cab;
 font-weight:700;font-size:.88rem
}
body.page-moje-zdrowie .subpage-layout>p:last-child{
 margin-top:24px;padding:14px 17px;background:#f4f8fb;border-left:4px solid #0877d1;border-radius:0 7px 7px 0
}

@media(max-width:560px){
 body.page-moje-zdrowie .health-downloads{display:grid;grid-template-columns:1fr}
 body.page-moje-zdrowie .health-download{width:100%}
 body.page-linki .resource-list{padding-left:34px}
}

/* Pomocnik POZ v14 — tematyczne grupy linków */
body.page-linki .link-groups{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:6px
}
body.page-linki .link-group{
 padding:22px 24px 20px;background:#f8fafc;border:1px solid #e1e8ef;border-radius:10px
}
body.page-linki .link-group h2{
 margin:0 0 13px;padding:0;color:#173f67;font-size:1.18rem;line-height:1.25
}
body.page-linki .link-group-intro{margin:0 0 11px;color:#526579;font-size:.94rem;line-height:1.55}
body.page-linki .link-group ul{margin:0;padding-left:22px}
body.page-linki .link-group li{margin:8px 0;padding:0 0 0 2px;line-height:1.52}
body.page-linki .link-group li::marker{color:#0877d1}
body.page-linki .link-group-coord{border-top:4px solid #0877d1}
body.page-linki .link-group-facilities{border-top:4px solid #5b7c99}
body.page-linki .link-group-patient{border-top:4px solid #2f8f4e}
body.page-linki .link-group-diagnostics{border-top:4px solid #7b61a8}
body.page-linki .link-group-travel{border-top:4px solid #d18416}
body.page-linki .link-group-other{border-top:4px solid #64748b}
@media(max-width:800px){body.page-linki .link-groups{grid-template-columns:1fr;gap:16px}}

/* v16: czytelny podział sekcji TK serca */
.link-group-cardiac-ct .cardiac-subheading {
  list-style: none;
  margin: .2rem 0 .35rem;
  font-weight: 700;
  color: #163a5f;
}
.link-group-cardiac-ct li:has(.cardiac-subheading) {
  list-style: none;
  margin-left: -1.2rem;
}
.link-group-cardiac-ct .cardiac-facilities-heading {
  margin-top: .8rem;
}

/* v17: kolorowe paski dla sekcji Dieta i TK serca */
body.page-linki .link-group-diet{border-top:4px solid #2f8f4e}
body.page-linki .link-group-cardiac-ct{border-top:4px solid #0f8b8d}

/* v18: odświeżona strona O autorze */
body.page-o-autorze .author-profile{max-width:980px}
body.page-o-autorze .author-lead{font-size:1.18rem;color:#173f67;margin:0 0 16px}
body.page-o-autorze .author-profile>p{line-height:1.7}
body.page-o-autorze .author-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:30px 0 24px}
body.page-o-autorze .author-sections section{padding:22px 24px;background:#f8fafc;border:1px solid #e1e8ef;border-radius:10px;border-top:4px solid #0877d1}
body.page-o-autorze .author-sections section:nth-child(2){border-top-color:#2f8f4e}
body.page-o-autorze .author-sections h2{margin:0 0 10px;font-size:1.15rem;color:#173f67}
body.page-o-autorze .author-sections p{margin:0;line-height:1.65}
body.page-o-autorze .author-note{margin-top:20px;padding:15px 18px;background:#f4f8fb;border-left:4px solid #0877d1;border-radius:0 8px 8px 0}
@media(max-width:760px){body.page-o-autorze .author-sections{grid-template-columns:1fr}}

/* v20: oddzielna podstrona — lipidy i hiperurykemia */
body.page-lipidy-i-hiperurykemia .subpage-layout{max-width:1200px}
.lu-tool{--lu-blue:#0877d1;--lu-green:#2f8f4e;--lu-pink:#b51f62;--lu-text:#172033;max-width:1200px}
.lu-intro{max-width:1000px;margin:-8px 0 24px;padding:14px 18px;background:#f4f8fb;border-left:4px solid var(--lu-blue);border-radius:0 8px 8px 0}
.lu-intro p{margin:0!important}
.lu-tabs{display:flex;gap:8px;margin:0 0 24px;border-bottom:1px solid #dce4ec}
.lu-tab{appearance:none;border:0;border-bottom:3px solid transparent;background:transparent;padding:12px 18px;font:inherit;font-weight:700;color:#526579;cursor:pointer}
.lu-tab.is-active{color:var(--lu-blue);border-bottom-color:var(--lu-blue)}
.lu-panel{display:none}.lu-panel.is-active{display:block}
.lu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.lu-card{padding:23px 24px;background:#f8fafc;border:1px solid #e1e8ef;border-radius:11px}
.lu-card h2{margin:0 0 18px;font-size:1.18rem;color:#173f67}
.lu-card label{display:block;margin:0 0 15px;font-weight:650;color:#253b50}
.lu-card input[type=number],.lu-card select{box-sizing:border-box;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #becbd7;border-radius:7px;background:#fff;color:#172033;font:inherit}
.lu-card input:focus,.lu-card select:focus{outline:3px solid rgba(8,119,209,.14);border-color:#0877d1}
.lu-card small{display:block;margin-top:5px;color:#64748b;font-weight:400;line-height:1.45}
.lu-inline{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:8px}.lu-inline select{min-width:0}
.lu-checks{display:grid;gap:9px;margin:4px 0 17px}.lu-checks label{display:flex;gap:9px;align-items:flex-start;margin:0;font-weight:500;line-height:1.45}.lu-checks input{margin-top:4px}
.lu-primary{border:0;border-radius:8px;background:#0877d1;color:#fff;padding:11px 18px;font:inherit;font-weight:750;cursor:pointer;box-shadow:0 4px 10px rgba(8,119,209,.18)}.lu-primary:hover{background:#0563b2}
.lu-result{margin-top:24px}.lu-result:empty{display:none}
.lu-result-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;padding:17px 20px;border-radius:10px;color:#fff}.lu-result-head span{font-size:.92rem;opacity:.9}.lu-result-head strong{font-size:1.42rem}.lu-result-head small{margin-left:auto}.lu-low{background:#2f8f4e}.lu-high{background:#0877d1}.lu-very-high{background:#b51f62}.lu-urate-head{background:#8c2459}
.lu-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.lu-targets>div{padding:16px 18px;border:1px solid #dde6ee;border-radius:9px;background:#fff}.lu-targets small,.lu-targets span{display:block;color:#64748b}.lu-targets strong{display:block;margin:3px 0;font-size:1.35rem;color:#173f67}
.lu-status,.lu-dose{display:flex;flex-direction:column;gap:4px;margin:14px 0;padding:16px 18px;background:#f8fafc;border-left:4px solid #0877d1;border-radius:0 8px 8px 0}.lu-status strong{color:#173f67}.lu-status span,.lu-dose span{color:#526579;line-height:1.5}
.lu-dose{border-left-color:#8c2459}.lu-dose strong{font-size:1.65rem;color:#8c2459}.lu-dose small{color:#64748b}
.lu-plan{margin:14px 0;padding:18px 20px;background:#f8fafc;border:1px solid #e1e8ef;border-radius:9px}.lu-plan h3{margin:0 0 8px;font-size:1.05rem;color:#173f67}.lu-plan p{margin:0 0 5px}.lu-plan ol{margin:8px 0 0;padding-left:22px}.lu-plan li{margin:6px 0;line-height:1.5}
.lu-alert{margin:14px 0;padding:14px 17px;border-left:4px solid;border-radius:0 8px 8px 0;line-height:1.55}.lu-warning{background:#fff8e8;border-color:#d18416}.lu-danger{background:#fff0f2;border-color:#c72b46}.lu-ok{background:#effaf2;border-color:#2f8f4e}
.lu-reasons{margin:12px 0!important;color:#526579}
.lu-info-card p{margin:0 0 14px!important;line-height:1.65}
.lu-sources{margin-top:28px;padding:14px 18px;border:1px solid #dfe7ee;border-radius:9px;background:#fff}.lu-sources summary{cursor:pointer;font-weight:700;color:#173f67}.lu-sources ul{margin:14px 0 0;padding-left:22px}.lu-sources li{margin:8px 0}
@media(max-width:820px){.lu-grid{grid-template-columns:1fr}.lu-targets{grid-template-columns:1fr}}
@media(max-width:560px){.lu-tabs{display:grid;grid-template-columns:1fr 1fr}.lu-tab{padding:10px 7px;font-size:.9rem}.lu-card{padding:19px 16px}.lu-inline{grid-template-columns:minmax(0,1fr) 94px}.lu-result-head small{width:100%;margin-left:0}.lu-targets strong{font-size:1.2rem}}

/* Lipidy: wybór celu kalkulatora i grupy wyników */
.lu-mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}
.lu-mode-btn{min-height:48px;padding:10px 13px;border:1px solid #b7c8d8;border-radius:8px;background:#fff;color:#23435f;font:inherit;font-weight:750;cursor:pointer;transition:.15s ease}
.lu-mode-btn:hover{border-color:#0877d1;background:#f2f8fd}
.lu-mode-btn.is-active{border-color:#0877d1;background:#0877d1;color:#fff;box-shadow:0 4px 12px rgba(8,119,209,.2)}
.lu-results-block{padding:15px 16px 2px;margin:0 0 15px;border:1px solid #dbe5ee;border-radius:9px;background:#fff}
.lu-results-block h3{margin:0 0 13px;font-size:1rem;color:#173f67}
.lu-baseline-block{border-left:4px solid #0877d1;background:#f7fbff}
@media(max-width:680px){.lu-mode-picker{grid-template-columns:1fr}.lu-mode-btn{min-height:44px}}

/* v20.4 — rzeczywiste tabele na stronie Wytyczne */
body.page-wytyczne .guideline-table{margin:30px 0 42px}
body.page-wytyczne .guideline-table h2{margin-bottom:8px}
body.page-wytyczne .guideline-context{margin-top:0;color:#555}
body.page-wytyczne .table-scroll{overflow-x:auto;border:1px solid #d8dee8;border-radius:10px}
body.page-wytyczne .guideline-table table{width:100%;border-collapse:collapse;min-width:760px;background:#fff;font-size:.95rem}
body.page-wytyczne .guideline-table th{background:#eef3fa;text-align:left;font-weight:700}
body.page-wytyczne .guideline-table th,body.page-wytyczne .guideline-table td{padding:11px 12px;border-right:1px solid #d8dee8;border-bottom:1px solid #d8dee8;vertical-align:top;line-height:1.42}
body.page-wytyczne .guideline-table th:last-child,body.page-wytyczne .guideline-table td:last-child{border-right:0}
body.page-wytyczne .guideline-table tbody tr:last-child td{border-bottom:0}
body.page-wytyczne .guideline-source{font-size:.9rem;color:#4b5563;margin-top:12px}
body.page-wytyczne .guideline-notes{font-size:.88rem;color:#4b5563;margin-top:10px}
body.page-wytyczne .guideline-notes p{margin:5px 0}

/* v20.5 — bardziej kompaktowe tabele wytycznych */
body.page-wytyczne .guideline-table{margin:22px 0 30px}
body.page-wytyczne .guideline-table h2{font-size:1.25rem;line-height:1.25}
body.page-wytyczne .guideline-context{font-size:.86rem;margin-bottom:8px}
body.page-wytyczne .table-scroll{border-radius:7px}
body.page-wytyczne .guideline-table table{min-width:0;table-layout:fixed;font-size:.79rem}
body.page-wytyczne .guideline-table th,
body.page-wytyczne .guideline-table td{padding:5px 6px;line-height:1.24;overflow-wrap:anywhere;word-break:normal}
body.page-wytyczne .guideline-table th{font-size:.76rem;line-height:1.15}
body.page-wytyczne .guideline-table td strong{font-weight:700}
body.page-wytyczne .guideline-table br{line-height:1.05}
body.page-wytyczne .guideline-source{font-size:.79rem;line-height:1.35;margin-top:8px}
body.page-wytyczne .guideline-notes{font-size:.76rem;line-height:1.3;margin-top:7px}
body.page-wytyczne .guideline-notes p{margin:3px 0}

/* Helicobacter pylori: najwięcej miejsca na opis leczenia */
body.page-wytyczne .guideline-table:first-of-type table th:nth-child(1),
body.page-wytyczne .guideline-table:first-of-type table td:nth-child(1){width:18%}
body.page-wytyczne .guideline-table:first-of-type table th:nth-child(2),
body.page-wytyczne .guideline-table:first-of-type table td:nth-child(2){width:68%}
body.page-wytyczne .guideline-table:first-of-type table th:nth-child(3),
body.page-wytyczne .guideline-table:first-of-type table td:nth-child(3){width:14%;text-align:center}

/* Borelioza: zwarte kolumny techniczne */
body.page-wytyczne .guideline-table:nth-of-type(2) table th:nth-child(1),
body.page-wytyczne .guideline-table:nth-of-type(2) table td:nth-child(1){width:25%}
body.page-wytyczne .guideline-table:nth-of-type(2) table th:nth-child(2),
body.page-wytyczne .guideline-table:nth-of-type(2) table td:nth-child(2){width:17%}
body.page-wytyczne .guideline-table:nth-of-type(2) table th:nth-child(3),
body.page-wytyczne .guideline-table:nth-of-type(2) table td:nth-child(3){width:34%}
body.page-wytyczne .guideline-table:nth-of-type(2) table th:nth-child(4),
body.page-wytyczne .guideline-table:nth-of-type(2) table td:nth-child(4){width:9%;text-align:center;white-space:nowrap}
body.page-wytyczne .guideline-table:nth-of-type(2) table th:nth-child(5),
body.page-wytyczne .guideline-table:nth-of-type(2) table td:nth-child(5){width:15%;text-align:center}

@media(max-width:760px){
 body.page-wytyczne .guideline-table table{font-size:.74rem;min-width:620px}
 body.page-wytyczne .guideline-table th{font-size:.71rem}
 body.page-wytyczne .guideline-table th,
 body.page-wytyczne .guideline-table td{padding:4px 5px;line-height:1.2}
 body.page-wytyczne .table-scroll{-webkit-overflow-scrolling:touch}
}

/* v20.6 — borelioza jako kompaktowy akordeon */
body.page-wytyczne .guideline-lyme .lyme-accordion{display:grid;gap:7px}
body.page-wytyczne .guideline-lyme details{border:1px solid #d8dee8;border-radius:7px;background:#fff;overflow:hidden}
body.page-wytyczne .guideline-lyme summary{padding:8px 10px;background:#eef3fa;color:#173f67;font-size:.82rem;font-weight:700;line-height:1.25;cursor:pointer;list-style-position:inside}
body.page-wytyczne .guideline-lyme details[open] summary{border-bottom:1px solid #d8dee8}
body.page-wytyczne .guideline-lyme .table-scroll{border:0;border-radius:0}
body.page-wytyczne .guideline-lyme table.lyme-mini{min-width:0;width:100%;table-layout:fixed;font-size:.77rem}
body.page-wytyczne .guideline-lyme table.lyme-mini th:nth-child(1),body.page-wytyczne .guideline-lyme table.lyme-mini td:nth-child(1){width:31%}
body.page-wytyczne .guideline-lyme table.lyme-mini th:nth-child(2),body.page-wytyczne .guideline-lyme table.lyme-mini td:nth-child(2){width:47%}
body.page-wytyczne .guideline-lyme table.lyme-mini th:nth-child(3),body.page-wytyczne .guideline-lyme table.lyme-mini td:nth-child(3){width:22%;text-align:center;white-space:nowrap}
body.page-wytyczne .guideline-lyme table.lyme-mini th,body.page-wytyczne .guideline-lyme table.lyme-mini td{padding:5px 7px;line-height:1.2}
body.page-wytyczne .guideline-lyme table.lyme-mini small{font-size:.7rem;color:#526579}
body.page-wytyczne .guideline-lyme .lyme-simple{padding:8px 10px;font-size:.79rem;line-height:1.35}
body.page-wytyczne .guideline-lyme .lyme-simple p{margin:3px 0}
@media(max-width:760px){body.page-wytyczne .guideline-lyme table.lyme-mini{min-width:0;font-size:.72rem}body.page-wytyczne .guideline-lyme summary{font-size:.78rem}}
