/* ČisTech category content — isolated, dependency-free components */
.ct-category-copy,.ct-preview{--ct-ink:#142a35;--ct-muted:#49636e;--ct-line:#d5e1e5;--ct-paper:#fff;--ct-wash:#f2f7f8;--ct-accent:#0b6571;--ct-accent-soft:#e9f5f4;--ct-warn:#80510f;--ct-warn-bg:#fff7e8;--ct-focus:#147f94}
.ct-category-copy{width:100%;max-width:none;margin:0;color:var(--ct-ink,#142a35);font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.ct-category-copy p,.ct-category-copy li,.ct-category-copy blockquote{max-width:none}
.ct-category-copy p{margin:.65em 0 1em}
.ct-category-copy h2{margin:1.8em 0 .55em;color:var(--ct-ink,#142a35);font-size:clamp(20px,1.6vw,24px);font-weight:700;line-height:1.27;letter-spacing:-.018em}
.ct-category-copy h3{margin:1.35em 0 .45em;color:var(--ct-ink,#142a35);font-size:19px;line-height:1.3}
.ct-category-copy ul,.ct-category-copy ol{margin:.55em 0 1.15em;padding-inline-start:1.3em}
.ct-category-copy li{padding-inline-start:.18em}
.ct-category-copy li+li{margin-top:.42em}
.ct-category-copy a{color:var(--ct-accent,#0b6571);font-weight:600;text-decoration-thickness:1px;text-underline-offset:.18em}
.ct-category-copy a:hover{color:#084b55;text-decoration-thickness:2px}
.ct-category-copy a:focus-visible{outline:3px solid var(--ct-focus,#147f94);outline-offset:3px;border-radius:2px}
.ct-category-note{max-width:none;margin:1.2em 0;padding:.9em 1.1em;background:var(--ct-warn-bg,#fff7e8);border:1px solid #e8cf9f;border-radius:10px;color:#493719}
.ct-category-note p{margin:.15em 0}
.ct-category-branches{margin:1.8em 0 0;padding:1.1em 1.2em;background:var(--ct-wash,#f2f7f8);border:1px solid var(--ct-line,#d5e1e5);border-radius:12px}
.ct-category-label{margin:0 0 .7em!important;color:var(--ct-muted,#49636e);font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.ct-category-branches ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.55rem 1.1rem;margin:0;padding:0;list-style:none}
.ct-category-branches li{max-width:none;margin:0!important;padding:.4em 0;border-bottom:1px solid var(--ct-line,#d5e1e5)}
.ct-category-branches a{display:inline-flex;align-items:baseline;gap:.35em}
.ct-preview{min-height:100vh;background:#edf3f5;color:var(--ct-ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
.ct-preview-main{width:min(100%,1440px);margin:0 auto;padding:clamp(1rem,3vw,2.8rem)}
.ct-preview-main>h1{margin:0 0 .45em;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.13;letter-spacing:-.035em}
.ct-preview-intro{max-width:78ch;margin:0 0 1.5rem;color:var(--ct-muted);line-height:1.65}
.ct-preview-row{margin:.65rem 0;background:var(--ct-paper);border:1px solid var(--ct-line);border-radius:12px;box-shadow:0 2px 8px rgb(25 54 68 / 4%);overflow:hidden}
.ct-preview-row[open]{box-shadow:0 8px 26px rgb(25 54 68 / 8%)}
.ct-preview-row>summary{display:flex;align-items:center;gap:.55rem;min-height:3.25rem;padding:.8rem 1.05rem;color:var(--ct-ink);font-weight:650;cursor:pointer;list-style-position:inside}
.ct-preview-row>summary:hover{background:#f7fafb}
.ct-preview-row>summary:focus-visible{outline:3px solid var(--ct-focus);outline-offset:-3px}
.ct-preview-id{color:var(--ct-muted);font-size:.8rem;font-weight:600}
.ct-preview-card{padding:clamp(.9rem,2vw,1.6rem);border-top:1px solid var(--ct-line)}
.ct-preview-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1.2rem;margin:0 0 1.25rem;padding:1rem 1.1rem;background:var(--ct-wash);border:1px solid var(--ct-line);border-radius:10px}
.ct-preview-meta>h2{grid-column:1/-1;margin:0;color:var(--ct-ink);font-size:1.3rem;line-height:1.25}.ct-preview-meta>div{min-width:0}
.ct-preview-meta small,.ct-preview-label{display:block;margin:0 0 .25em;color:var(--ct-muted);font-size:.74rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.ct-preview-meta p{margin:0;line-height:1.5;overflow-wrap:anywhere}
.ct-preview-section{padding:.3rem 0 .8rem}
.ct-preview-section+.ct-preview-section{border-top:1px solid var(--ct-line)}
.ct-preview-section>h3{margin:.8em 0 .45em;color:var(--ct-muted);font-size:.8rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.ct-preview-card hr{display:none}
@media(max-width:680px){.ct-category-copy{font-size:15px;line-height:1.65}.ct-category-copy h2{margin-top:1.45em}.ct-category-branches{padding:.9em}.ct-category-branches ul{grid-template-columns:1fr}.ct-preview-main{padding:.75rem}.ct-preview-row{margin:.5rem 0;border-radius:9px}.ct-preview-row>summary{padding:.72rem .8rem}.ct-preview-card{padding:.75rem}.ct-preview-meta{grid-template-columns:1fr;gap:.7rem;padding:.8rem}.ct-category-note{padding:.8em}}

/* Comparison tables used selectively on broad categories */
.ct-category-table-scroll{max-width:100%;margin:1.1em 0 1.4em;overflow-x:auto;border:1px solid var(--ct-line,#d5e1e5);border-radius:10px;background:#fff;overscroll-behavior-inline:contain}
.ct-category-copy table{width:100%;min-width:540px;border-collapse:collapse;text-align:left;font-size:15px;line-height:1.5}
.ct-category-copy th,.ct-category-copy td{padding:.7rem .85rem;border-bottom:1px solid var(--ct-line,#d5e1e5);vertical-align:top}
.ct-category-copy thead th{background:#edf5f6;color:var(--ct-ink,#142a35);font-weight:750}
.ct-category-copy tbody th{width:30%;font-weight:650}
.ct-category-copy tbody tr:last-child th,.ct-category-copy tbody tr:last-child td{border-bottom:0}
@media(max-width:680px){.ct-category-table-scroll{margin-inline:-.15rem;border-radius:7px}.ct-category-copy table{font-size:14px}.ct-category-copy th,.ct-category-copy td{padding:.62rem .7rem}}

/* Shoptet typography: independent of theme root font sizing */
.ct-category-copy p,.ct-category-copy li,.ct-category-copy blockquote{font-size:inherit;line-height:inherit;max-width:none}
.ct-category-copy .ct-category-label{font-size:12px;line-height:1.5}
.ct-category-copy,.ct-category-copy *{box-sizing:border-box}
.ct-category-copy .ct-category-branches ul{gap:10px 20px}

/* V4: two-column tables fit narrow screens; wider tables retain scrolling. */
@media (max-width:680px){
  .ct-category-copy .ct-category-table-scroll:has(table > thead > tr > :nth-child(2):last-child):not(:has([colspan],[rowspan])) table:not(:has(tr > :nth-child(3))){
    min-width:0; width:100%; table-layout:fixed;
  }
  .ct-category-copy .ct-category-table-scroll:has(table > thead > tr > :nth-child(2):last-child):not(:has([colspan],[rowspan])) table:not(:has(tr > :nth-child(3))) :is(th,td){
    white-space:normal; overflow-wrap:anywhere; word-break:normal; padding:8px;
  }
  .ct-category-copy .ct-category-table-scroll:has(table > thead > tr > :nth-child(2):last-child):not(:has([colspan],[rowspan])) table:not(:has(tr > :nth-child(3))) tr > :first-child{width:40%}
}