:root{--navy:#153454;--blue:#2d71b4;--soft:#eaf3ff;--sky:#eaf5ff;--muted:#71859a;--line:#e3ebf3;--text:#293c51;--bg:#fff;--shadow:0 14px 55px rgba(39,91,143,.055)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:linear-gradient(165deg,#f9fcff 0%,#fff 40%);font:15px/1.55 'Segoe UI',Inter,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,.dropzone:focus-visible{outline:3px solid #73b4eb;outline-offset:3px}a{text-decoration:none;color:inherit}.container{width:min(1110px,calc(100% - 48px));margin:auto}.site-header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:49px;height:49px;display:block}.brand-icon svg{height:100%;width:100%}.brand strong{font-size:30px;font-weight:800;letter-spacing:-1px;color:var(--navy);line-height:1}.brand-dot{color:#69a9e5}.brand small{display:block;font-size:11px;line-height:1.5;letter-spacing:.3px;color:#567593;font-weight:600}.header-right{display:flex;gap:24px;align-items:center}.privacy-chip{border:1px solid #dcefe8;border-radius:999px;color:#34816a;background:#f5fffb;padding:7px 13px;font-size:12px;font-weight:600}.green-dot{display:inline-block;background:#51b98b;width:7px;height:7px;border-radius:50%;margin-right:6px}.header-domain{color:#6b849e;font-size:12px;font-weight:600}.hero{text-align:center;max-width:740px;margin:72px auto 42px}.eyebrow{color:#5193ca;font-size:10.5px;font-weight:800;letter-spacing:2.3px}.hero h1{font-size:clamp(36px,5.2vw,60px);color:var(--navy);line-height:1.16;letter-spacing:-2.6px;margin:17px 0 16px;font-weight:770}.hero h1 span{color:#5ba0dd}.hero p{color:#698097;font-size:16px;line-height:1.8;max-width:675px;margin:0 auto}.upload-panel{max-width:820px;margin:0 auto 76px}.dropzone{border:2px dashed #b6d5f1;border-radius:18px;background:linear-gradient(150deg,#f7fbff,#fff);min-height:325px;text-align:center;padding:29px 20px;transition:.18s;cursor:pointer;box-shadow:var(--shadow)}.dropzone.dragging,.dropzone:hover{border-color:#5a9bdb;background:#f1f8ff}.upload-icon{display:grid;place-items:center;margin:auto auto 4px;width:74px;height:74px;background:#e8f4ff;border-radius:17px}.dropzone h2{font-size:21px;margin:15px 0 2px;color:var(--navy)}.dropzone p{color:var(--muted);font-size:13px;margin:5px 0 17px}.choose-file,.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;border-radius:9px}.choose-file{background:var(--blue);color:#fff;padding:11px 25px;font-size:13px}.dropzone small{display:block;color:#97a8b9;margin-top:16px;font-size:11px}.upload-bottom{display:flex;justify-content:space-between;align-items:center;padding:15px 4px;font-size:11.5px;color:#8a9aac}.text-link{border:none;background:none;color:#3784c8;font-weight:700;font-size:12px}.error{background:#fff0ef;border:1px solid #ffd1cb;color:#a33328;border-radius:9px;padding:12px 16px;margin-top:9px}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:52px;max-width:970px;margin:76px auto 76px}.feature-row>div{text-align:center}.feature-icon{color:#367bbd;margin:auto auto 13px;font-size:29px;background:#eff7ff;border-radius:11px;width:52px;height:52px;display:grid;place-items:center}.feature-row strong{color:#254563;font-size:14px}.feature-row p{color:#8798a8;font-size:12px;line-height:1.8}.consult{border-radius:20px;background:#edf6ff;padding:33px 40px;display:flex;align-items:center;justify-content:space-between;gap:40px}.consult h2{font-size:23px;color:var(--navy);margin:9px 0}.consult p{font-size:13px;color:#6a8195;max-width:680px;margin:0}.btn{border:0;padding:11px 19px;font-size:12.5px;white-space:nowrap}.btn-primary{color:#fff;background:#2e76b9}.btn-primary:hover{background:#1f5c96}.btn-light{color:#376da3;background:#eff6fd}.btn-outline{color:#2c70ac;background:#fff;border:1px solid #d5e5f5}.footer{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:50px 0 35px;color:#9caab8;font-size:11px}.footer-brand{font-size:11px}.footer-sf{font-size:22px;color:var(--navy);font-weight:800}.results{margin:15px 0 55px}.results-head{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:24px 0}.results-head h2{font-size:27px;margin:3px 0;color:var(--navy);letter-spacing:-.7px}.subline{color:#8295a7;font-size:12px;margin:0}.results-actions{display:flex;gap:9px}.notice{font-size:12px;line-height:1.6;color:#557c9e;background:#f4f9ff;border:1px solid #d8e8f5;border-radius:12px;padding:11px 15px;margin-bottom:16px}.notice.warning{background:#fffbf1;border-color:#f5e4ba;color:#907130}.tabs{display:flex;border-bottom:1px solid var(--line);gap:18px;margin:25px 0 24px}.tab{padding:12px 12px;background:none;border:0;color:#7188a0;font-weight:700;font-size:13px;white-space:nowrap}.tab.active{color:#2367a4;box-shadow:inset 0 -3px #448ccd}.tab-panel{min-height:140px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:17px}.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px;box-shadow:var(--shadow)}.kpi-label{display:block;color:#74889c;font-size:12px}.kpi-value{display:block;color:#17416a;font-size:clamp(16px,2.2vw,23px);font-weight:780;letter-spacing:-.5px;margin:11px 0 5px;font-variant-numeric:tabular-nums}.kpi-change{font-size:11px;color:#8399ad}.kpi-change.good{color:#398466}.kpi-change.bad{color:#cc7354}.dashboard-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:23px;box-shadow:var(--shadow)}.panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}.panel h3{font-size:16px;color:var(--navy);margin:0}.muted{color:#91a0ae;font-size:11px}.funding-segments{height:18px;border-radius:999px;overflow:hidden;background:#edf3fa;display:flex}.funding-segments span{height:100%}.funding-legend{display:flex;justify-content:space-between;gap:8px;margin-top:19px;font-size:12px}.funding-legend strong{font-size:17px;color:var(--navy)}.funding-legend i{display:inline-block;border-radius:50%;width:9px;height:9px;margin-right:7px}.diagnosis-item{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #edf2f8;font-size:12px}.diagnosis-item:last-child{border:0}.diagnosis-item .face{font-size:22px}.diagnosis-item strong{display:block;color:#294d6e}.diagnosis-item small{display:block;color:#8398ad}.summary-p{font-size:13px;color:#5c748b;line-height:1.9;margin:8px 0}.summary-p b{color:var(--navy)}.statement-toolbar{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#7890a7;margin:0 0 15px}.statement-block{border:1px solid var(--line);border-radius:15px;background:#fff;margin:15px 0;overflow:hidden}.statement-header{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f3f8ff;padding:15px 19px}.statement-header h3{font-size:15px;margin:0;color:#214c75}.statement-meta{font-size:11px;color:#8294a5}.statement-table{width:100%;border-collapse:collapse;font-size:11.5px}.statement-table thead{background:#fafcff}.statement-table th{color:#8297ac;text-align:right;padding:10px 12px;border-bottom:1px solid #e7edf5}.statement-table th:first-child{text-align:left}.statement-table td{border-bottom:1px solid #f0f4f8;padding:8px 12px;vertical-align:top}.statement-table td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.statement-table tr:last-child td{border-bottom:none}.stmt-label{display:inline-block;color:#31516e}.stmt-code{font-family:monospace;color:#abc0d4;font-size:10px;margin-right:7px}.stmt-group{font-weight:700;background:#f9fcff}.stmt-details{background:none;border:0;color:#6c8dac;font-size:11px;text-align:left}.ratio-group-title{font-size:17px;color:#1a4269;margin:28px 0 12px}.ratio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ratio-card{background:#fff;border:1px solid #e3edf6;border-radius:13px;padding:19px;box-shadow:var(--shadow)}.ratio-top{display:flex;justify-content:space-between;gap:8px}.ratio-card h4{color:#31526f;font-size:14px;margin:0 0 2px}.ratio-number{font-size:25px;color:#173f69;font-weight:750;letter-spacing:-.6px}.ratio-prev{font-size:11px;color:#8598aa}.ratio-desc{color:#6d8297;font-size:12px;margin:12px 0 10px;min-height:36px}.ratio-formula{background:#f8fbff;color:#6d8499;border-radius:8px;padding:8px 10px;font-size:11px}.score{display:flex;align-items:center;gap:5px;padding:4px 9px;border-radius:9px;font-size:11px;font-weight:700;height:fit-content}.score .face{font-size:18px}.score.excellent{background:#dff7e8;color:#2b7b57}.score.good{background:#e9f6e7;color:#437f52}.score.average{background:#fff2d5;color:#866b31}.score.poor{background:#ffeadb;color:#a35e2a}.score.danger{background:#fee1e2;color:#b14854}.score.unknown{background:#f0f3f7;color:#748294}.intro-panel p{font-size:12px;color:#7891a8}.legend{display:flex;flex-wrap:wrap;gap:9px 17px;color:#687f95;font-size:11px;margin-top:15px}.pdf-panel{display:flex;align-items:center;gap:32px;padding:40px}.pdf-panel p{font-size:13px;color:#698199}.pdf-illustration{height:140px;min-width:112px;background:#eaf4ff;display:grid;place-items:center;border-radius:15px;font-size:32px;color:#4089c5;font-weight:800}.empty-state{padding:40px;text-align:center;font-size:13px;color:#8092a3}.warn-inline{color:#a87925;background:#fff8e8;border-radius:7px;padding:7px 10px;font-size:11px;margin:10px 0}.hidden{display:none!important}@media(max-width:760px){.container{width:min(100% - 30px,1110px)}.site-header{height:80px}.header-domain{display:none}.brand strong{font-size:25px}.brand small{font-size:9px}.privacy-chip{font-size:10px;padding:6px}.hero{margin:48px auto 35px}.hero h1{letter-spacing:-1.4px}.hero p{font-size:14px}.feature-row{gap:12px}.consult{display:block}.consult .btn{margin-top:22px}.results-head,.footer{flex-direction:column;align-items:start}.kpi-grid{grid-template-columns:1fr 1fr}.dashboard-row,.ratio-grid{grid-template-columns:1fr}.tabs{gap:0;overflow-x:auto}.tab{padding:11px 10px}.statement-table{font-size:10px}.statement-table th,.statement-table td{padding:7px 5px}.pdf-panel{padding:22px;display:block}.pdf-illustration{margin-bottom:20px}}@media(max-width:460px){.feature-row{grid-template-columns:1fr;gap:24px}.upload-bottom{flex-direction:column;gap:12px}.kpi-grid{grid-template-columns:1fr}.results-actions{flex-wrap:wrap}.statement-table td:last-child,.statement-table th:last-child{display:none}}

/* SF.Lipczyk v2 — kolory oceny na kropkach, bez pastelowych znaczników */
.status-dot{display:inline-block;width:13px;height:13px;border-radius:50%;flex:0 0 13px;background:#8495a8;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.status-dot.excellent{background:#118f4b}.status-dot.good{background:#32b549}.status-dot.average{background:#edb000}.status-dot.poor{background:#ed721b}.status-dot.danger{background:#d71931}.status-dot.unknown{background:#8495a8}
.score{background:transparent!important;border:1px solid #e5edf5;color:#344b64!important;padding:5px 8px;white-space:nowrap}
.ratio-reference{background:#f2f7fd;color:#315c82;border-left:3px solid #70a5d8;border-radius:5px;padding:7px 9px;font-size:11px;margin:12px 0 6px;font-weight:700}
.diagnosis-item .status-dot{width:16px;height:16px;flex-basis:16px}
.legend span{display:inline-flex;align-items:center;gap:6px}.legend .status-dot{width:11px;height:11px;flex-basis:11px}
.brand-dot{font-weight:700;letter-spacing:-.9px}.footer-contact{display:flex;flex-direction:column;color:#536f8b;font-size:11px;line-height:1.65}.footer-contact strong{color:#21476e}
.kpi-grid{grid-template-columns:repeat(3,1fr)}.kpi{padding:18px}.hero{margin-top:54px}
@media(max-width:760px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.footer-contact{margin:6px 0 12px}}
@media(max-width:460px){.kpi-grid{grid-template-columns:1fr}.score{white-space:normal}}

/* v3 – skrócony dashboard */
body.has-report .hero{display:none}body.has-report .feature-row{display:none}
body.has-report .results{margin-top:18px}body.has-report .site-header{padding-top:14px;padding-bottom:14px}
body.has-report .results-head{margin-bottom:8px}
body.has-report .results-head h2{font-size:clamp(18px,2vw,26px)}
body.has-report .dashboard-row{gap:12px;margin-bottom:12px}
body.has-report .panel{padding:16px}
body.has-report .kpi-grid{gap:9px;margin:12px 0}
body.has-report .kpi{padding:12px 14px;min-height:92px}
.kpi-top{display:flex;flex-direction:column;gap:6px}
.kpi-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:4px;min-height:27px}
.tiny-bars{height:29px;width:30px;display:flex;align-items:flex-end;justify-content:center;gap:3px}
.tiny-bars i{width:10px;border-radius:2px 2px 0 0;display:block}
.tiny-bars .bar-older{background:#bbd8ef}.tiny-bars .bar-newer{background:#247bce}
body.has-report .consult{margin-top:20px;padding:16px 20px}
body.has-report .consult h2{font-size:19px}
body.has-report .consult p{font-size:12px}
body.has-report .footer{margin-top:24px}
.cond-overview{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.cond-dot{width:28px;height:28px;flex-basis:28px}
.cond-title{font-size:16px;color:#183d65;display:block}
.cond-content p{margin:4px 0 0;color:#617892;font-size:12px}
.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #e3edf7;padding-top:10px}
.insight-col h4{margin:0 0 6px;font-size:12px;color:#27476a}
.insight-col ul{padding:0;margin:0;list-style:none}.insight-col li{position:relative;padding:3px 0 3px 16px;font-size:12px;line-height:1.45;color:#4b637c}
.insight-col li:before{content:'●';position:absolute;left:0;font-size:11px;color:#95a6b6}
.insight-col li.good:before{color:#179947}.insight-col li.warn:before{color:#e78b11}
.summary-disclaimer{font-size:10.5px;color:#8b9eae;border-top:1px solid #e3edf7;padding-top:8px;margin:10px 0 0}
.statement-table td:first-child{width:60%}.stmt-label{font-size:12px}.stmt-code{display:none}.statement-table td,.statement-table th{padding:6px 10px}
.stmt-unmapped td:first-child{color:#ad5027}.statement-block{margin-bottom:14px}
@media(max-width:650px){.insight-grid{grid-template-columns:1fr;gap:12px}body.has-report .kpi-grid{grid-template-columns:repeat(2,1fr)}.statement-table td:first-child{width:65%}.statement-table td{font-size:11px}}

@media(min-width:1100px){body.has-report .kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr))}body.has-report .kpi{padding:10px;min-height:95px}body.has-report .kpi-value{font-size:clamp(14px,1.4vw,20px)}body.has-report .kpi-change{font-size:10px}}
body.has-report #tab-overview .dashboard-row .panel{min-height:auto}
body.has-report .results-head{padding:0;margin:0 0 12px}

.brand-icon img{display:block;width:100%;height:100%;object-fit:contain}.brand strong{font-size:clamp(19px,2vw,27px)}.footer-sf{font-size:16px}

#asset-pie-chart{min-height:220px}
.asset-pie-wrap{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center}
.asset-pie-svg{width:190px;height:190px;overflow:visible;filter:drop-shadow(0 10px 18px rgba(39,91,143,.10))}
.pie-center-label{font:600 10px Arial, sans-serif;fill:#6e879d}
.pie-center-value{font:700 11px Arial, sans-serif;fill:#173f69}
.asset-pie-legend{display:grid;gap:10px}
.asset-pie-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding-bottom:8px;border-bottom:1px solid #eef3f8}
.asset-pie-row:last-child{border-bottom:0;padding-bottom:0}
.asset-pie-name{display:flex;align-items:center;gap:8px;color:#37536f;font-size:12px;line-height:1.35}
.asset-pie-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:0 0 10px;margin-top:3px}
.asset-pie-val{display:flex;flex-direction:column;align-items:flex-end;color:#7a8da0;font-size:11px;white-space:nowrap}
.asset-pie-val strong{color:#173f69;font-size:13px}
@media(max-width:760px){.asset-pie-wrap{grid-template-columns:1fr;justify-items:center}.asset-pie-legend{width:100%}}
