[hidden]{display:none!important}
.brand img{display:block;width:250px;height:60px;object-fit:contain}
.site-header{height:80px}
.hero{max-width:900px;padding-top:42px}
.hero h1{font-size:clamp(30px,4vw,48px);line-height:1.12}
.hero>p:not(.eyebrow):not(.updated-at){color:var(--muted);font-size:17px;max-width:820px}
.workspace .catalog-section{top:96px;max-height:calc(100vh - 116px)}
.empty-profile{min-height:240px;display:flex;flex-direction:column;justify-content:center}
.empty-profile p{color:var(--muted);max-width:560px}
#catalogCount{font-size:12px;margin:10px 0 0}
.source-panel{display:block}
.source-panel p{color:var(--muted);font-size:14px}
.source-meta{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}
.source-actions .copy-link{margin:0;width:auto}
.svg-chart svg{min-width:0}
.hierarchy-main.hbar{grid-template-columns:minmax(0,1fr) auto;gap:8px}
.hierarchy-main.hbar .hbar-track{grid-column:1/-1;grid-row:2}
.hierarchy-main.hbar b{grid-column:2;grid-row:1;overflow-wrap:anywhere}
@media(max-width:820px){
 .site-header{height:auto;position:relative}
 .brand img{width:210px;height:52px}
 .workspace .catalog-section{position:static;max-height:none}
 .source-actions{align-items:stretch;flex-direction:column}
 .source-actions .copy-link,.source-actions a{width:100%;text-align:center}
 .empty-profile{min-height:180px}
}

/* 1.7: układ zgodny ze sprawozdaniem uproszczonym */
#reportType { margin-top: 8px; font-weight: 600; }
.structure-total { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; padding:14px; background:#f4f8f7; border-radius:10px; margin-bottom:16px; }
.structure-total b { white-space:nowrap; }
.structure-extra { margin-top:22px; padding-top:18px; border-top:1px solid #dce5e5; }
.structure-extra h4 { margin:0 0 8px; }
.structure-extra p { font-size:14px; line-height:1.5; }

/* 1.8: panel początkowy */
.empty-profile { justify-content:flex-start; padding:32px; }
.empty-profile h2 { margin:0 0 14px; font-size:clamp(24px,2.5vw,32px); line-height:1.25; }
.empty-profile .welcome-intro { max-width:720px; margin:0; line-height:1.65; }
.welcome-topics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:28px 0; }
.welcome-topic { min-width:0; padding:20px 16px; border:1px solid #dce5e5; border-radius:14px; background:#f8fbfa; }
.welcome-topic svg { display:block; width:36px; height:36px; margin-bottom:16px; fill:none; stroke:#0f8b8d; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.welcome-topic h3 { font-size:17px; line-height:1.35; margin:0 0 8px; }
.welcome-topic p { font-size:14px; line-height:1.6; margin:0; }
.empty-profile .welcome-hint { max-width:none; margin:0; padding-top:20px; border-top:1px solid #dce5e5; font-size:15px; color:var(--text,#18353e); }
@media(max-width:1100px) { .welcome-topics { grid-template-columns:1fr; gap:12px; } .welcome-topic { padding:16px; } }
@media(max-width:820px) { .empty-profile { padding:22px 18px; } .welcome-topics { margin:22px 0; } }

/* 1.9: osobne uwagi zapisane jako tekst, bez interpretowania HTML */
#statusNotice { white-space:pre-line; overflow-wrap:anywhere; }
