/* dhosting Centrum pomocy. Light variant of the blog look: Avenir, dhosting green, group colours from the blog Topics.
   One rule per selector; dark mode overrides are grouped at the end. */

/* ===== base ===== */
.r{
  --bg:#fff;--fg:#1f2a2e;--mut:#56626a;--line:#e2e8e7;--soft:#f1f3f4;--pri:#2f7d5f;--prih:#276a51;--link:#2a7155;
  --dark:#16302c;--ok:#2f8a4f;--c:#A4AFB9;--t:#4f5d69;
  margin:0;font-family:Avenir,"Nunito Sans",Arial,sans-serif;color:var(--fg);background:var(--bg);font-size:16px;line-height:1.6;
}
.r *{box-sizing:border-box}
.r [hidden]{display:none!important} /* the hidden attribute wins over display:flex/grid of a class */
.r a{color:var(--link);text-decoration:none}
.r a:hover{text-decoration:underline}
.r h1,.r h2,.r h3,.r h4{font-weight:800;line-height:1.2;margin:0;letter-spacing:-.01em;color:var(--fg)}
.r p{margin:0}
.r button{font:inherit}
.r :focus-visible{outline:3px solid #8fcfb0;outline-offset:2px}
.w{max-width:1200px;margin:0 auto;padding:0 32px}
.narrow{max-width:820px}
.sp{flex:1}
.mut{color:var(--mut)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.i{flex:none}
.wp-site-blocks>*{margin-block-start:0}
.show-m{display:none}

/* group colours: inline --c (bar) and --tl (text on white); in dark mode text uses the bar colour */
.r [style*="--tl:"]{--t:var(--tl)}

/* shared hover of framed boxes (tiles, tasks, blog cards, related articles, subcategory tiles) */
.r a.tile,.r a.task,.r a.post,.r a.rl,.r a.sc{transition:box-shadow .15s,border-color .15s,transform .15s}
.r a.tile:hover,.r a.task:hover,.r a.post:hover,.r a.rl:hover,.r a.sc:hover{text-decoration:none;border-color:var(--c);box-shadow:0 10px 26px rgba(20,40,35,.08);transform:translateY(-2px)}

/* ===== buttons, chips, labels ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:8px;font-weight:800;font-size:15px;border:1px solid transparent;cursor:pointer;white-space:nowrap}
.r a.btn{text-decoration:none}
.r .btn.pri{background:var(--pri);color:#fff}
.r .btn.pri:hover{background:var(--prih)}
.r .btn.ghost{background:#fff;color:var(--fg);border-color:#cfd8d6}
.r .btn.sm{height:38px;padding:0 14px;font-size:14px}
.eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#24654c}
.r a.chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);color:var(--fg);border-radius:30px;padding:5px 13px;font-size:14px;font-weight:600}
.r a.chip:hover{text-decoration:none;border-color:var(--pri)}
.fmt{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--t)}
.gname{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:var(--t);font-size:13px}
.gname::before{content:"";width:12px;height:3px;border-radius:2px;background:var(--c)}
.typ{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;flex:none}
.tl{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:20px;padding:2px 9px}
.typ.instrukcja,.tl.instrukcja{background:#e8f3ee;color:#23704f}
.typ.problem,.tl.problem{background:#fdf1e3;color:#94470b}
.typ.wyjasnienie,.tl.wyjasnienie{background:#ecf0fa;color:#3c57a6}

/* ===== header ===== */
.hd{background:#fff;border-bottom:1px solid var(--line)}
body:has(.th3) .hd{border-bottom:0}
.hd1{display:flex;align-items:center;gap:20px;height:72px}
.r a.logo{display:inline-flex;align-items:center}
.logo-svg{height:30px;width:auto;display:block}
/* Header logo and label: same box model as the blog header, so both sites line up identically.
   The SVG's viewBox has empty space under the wordmark, hence the top margin. */
.hd a.logo{display:flex;line-height:0;height:32px}
.hd .logo-svg{height:32px;margin:9px 0 12px}
.lg-d{display:none!important}
.tag{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#24654c;border-left:1px solid var(--line);padding:2px 0 0 14px;line-height:20px}
.ulinks{display:flex;align-items:center;gap:4px}
.r a.u{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 10px;font-size:14px;font-weight:600;color:#3b4650;white-space:nowrap}
.r a.u:hover{color:var(--fg);text-decoration:none}
.u .i{color:var(--pri)}
.sd{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none;background:#8ea4a0}
.sd.st-operational{background:var(--ok)}
.sd.st-maintenance{background:#3b82c4}
.sd.st-degraded{background:#d6a21c}
.sd.st-downtime{background:#c9443c}
.hd2w{display:flex;align-items:center;gap:8px;margin-top:-6px;padding:8px 0 20px} /* tabs at the same height as the blog's */
.nav{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0;margin-left:-12px}
.nav::-webkit-scrollbar{display:none}
.r a.tab{position:relative;display:inline-flex;align-items:center;flex:none;height:44px;padding:0 12px;border-radius:8px;color:var(--fg);font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden}
.r a.tab::after{content:"";position:absolute;left:12px;bottom:4px;width:20px;height:3px;border-radius:2px;background:var(--c);transition:width .35s cubic-bezier(.2,.8,.2,1)}
.r a.tab:hover{text-decoration:none;background:var(--soft)}
.r a.tab:hover::after{width:calc(100% - 24px)}
.r a.tab.on{background:var(--soft)}
.r a.tab.on::after{left:0;width:100%;bottom:0;border-radius:0}
.sbox{position:relative;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--soft);border-radius:40px;padding:0 14px;height:40px;width:280px;color:var(--mut);flex:none}
.sbox input{border:0;background:transparent;font:inherit;font-size:14px;width:100%;outline:none;color:var(--fg);min-width:0}
/* focus ring on the whole search field, not on the inner input (same as the blog) */
.r .sbox input:focus,.r .sbox input:focus-visible,.r .bigsearch input:focus,.r .bigsearch input:focus-visible{outline:none;box-shadow:none}
.sbox:focus-within{border-color:var(--pri);box-shadow:0 0 0 3px rgba(47,125,95,.15)}
.iconbtn{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--fg);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;list-style:none}
.iconbtn::-webkit-details-marker{display:none}
.mnav{position:static}
.mpanel{position:absolute;left:0;right:0;top:72px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 18px 40px rgba(20,40,35,.12);padding:16px;z-index:20;display:flex;flex-direction:column;gap:14px}
.mpanel nav{display:flex;flex-direction:column}
.mpanel .tab{justify-content:flex-start}
.mpanel .sbox{width:100%;height:46px}
.mlinks{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:8px}
/* theme dropdown at the end of the header row */
details.tdd{position:relative;margin-left:6px}
details.tdd summary{list-style:none;display:inline-flex;align-items:center;gap:4px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:40px;color:#3b4650;cursor:pointer}
details.tdd summary::-webkit-details-marker{display:none}
details.tdd summary:hover,details.tdd[open] summary{color:var(--fg);background:var(--soft)}
.ti{display:none}
html[data-theme-choice="auto"] .ti-auto,html[data-theme-choice="light"] .ti-light,html[data-theme-choice="dark"] .ti-dark{display:inline-flex}
.tmenu{position:absolute;right:0;top:calc(100% + 8px);list-style:none;margin:0;padding:6px;min-width:190px;background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 36px rgba(20,30,35,.16);z-index:40}
.tmenu button{display:flex;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--fg);font-size:14px;font-weight:600;cursor:pointer;text-align:left}
.tmenu button:hover{background:var(--soft)}
.tmenu button[aria-pressed="true"]{color:var(--pri);font-weight:800}

/* ===== search suggestions ===== */
.sugg{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 50px rgba(20,40,35,.16);text-align:left;overflow:hidden;z-index:30;min-width:320px}
.sbox .sugg{left:auto;right:0;width:560px;max-width:calc(100vw - 32px)}
.mpanel .sbox .sugg{left:0;right:0;width:auto}
.sugg h4{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);padding:14px 20px 6px;font-weight:800}
.r .sugg a.si{display:flex;align-items:center;gap:12px;padding:10px 20px;color:var(--fg);font-size:15px;line-height:1.35}
.r .sugg a.si:hover,.r .sugg a.si.on{background:var(--soft);text-decoration:none}
.si .i{color:var(--mut)}
.si .gp{margin-left:auto;font-size:12px;font-weight:800;color:var(--t);white-space:normal;max-width:96px;text-align:right;line-height:1.25;padding-left:10px}
.sugg .all{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:12px 20px;font-size:14px;font-weight:700}
.sugg .none{padding:16px 20px;color:var(--mut);font-size:15px}

/* ===== home ===== */
.hero{background:var(--soft);border-bottom:1px solid var(--line)}
.hero .w{padding-top:72px;padding-bottom:64px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}
.hero h1{font-size:46px}
.hero .lead{font-size:18px;color:var(--mut);max-width:760px} /* one line on desktop, as wide as the search box */
.bigsearch{position:relative;width:100%;max-width:760px;margin-top:10px;display:flex;align-items:center;gap:12px;background:#fff;border:2px solid var(--pri);border-radius:14px;height:66px;padding:0 8px 0 22px;box-shadow:0 10px 30px rgba(20,60,45,.10);color:var(--mut)}
.bigsearch:focus-within{box-shadow:0 0 0 4px rgba(47,125,95,.18),0 10px 30px rgba(20,60,45,.10)}
.bigsearch input{border:0;background:transparent;font:inherit;font-size:19px;width:100%;outline:none;color:var(--fg);min-width:0}
.bigsearch .btn{height:50px;padding:0 26px}
.bigsearch.flat{margin:0;height:58px;border-width:1px;box-shadow:none}
.hints{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;font-size:14px;color:var(--mut);align-items:center}
.sec{padding:64px 0}
.sec.soft{background:var(--soft)}
.sec.cat{padding-top:36px}
.sh{display:flex;align-items:flex-end;gap:16px;margin-bottom:26px}
.sh h2{font-size:28px}
.more{font-weight:700}
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.r a.tile{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;color:var(--fg);min-height:190px}
.ic{width:46px;height:46px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;color:var(--t)}
.tint{background:color-mix(in srgb,var(--c) 18%,#fff)}
.tile h3{font-size:19px}
.tile .bar,.sc .bar{display:block;width:28px;height:3px;border-radius:2px;background:var(--c);transition:width .35s}
.r a.tile:hover .bar,.r a.sc:hover .bar{width:60px}
.tile p{font-size:14px;color:var(--mut)}
.tile .cnt{margin-top:auto;font-size:13px;font-weight:800;color:var(--t)}
.tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.r a.task{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;color:var(--fg);font-weight:700;font-size:15px;line-height:1.35}
.task .ic{width:38px;height:38px;border-radius:10px;flex:none}
.task .ar{margin-left:auto;color:var(--mut);display:inline-flex}
.duo{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;align-items:start}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.posts.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.r a.post{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;color:var(--fg)}
.post h3{font-size:17px;line-height:1.35}
.post .gname{margin-top:auto}

/* ===== status, help ===== */
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}
.card h3{font-size:18px}
.sthead{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.sthead h3{flex:1}
.sthead a{font-size:13px;font-weight:700}
.srow{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:15px}
.srow .ok{margin-left:auto;font-size:13px;font-weight:800;color:var(--ok)}
.srow .st-degraded,.srow .st-downtime{color:#a3521c}
.inc{margin-top:10px;font-size:14px;background:#fff7e0;border-radius:10px;padding:10px 12px}
/* status notice on category and article pages, only when something is wrong */
.stalert{display:flex;align-items:center;gap:12px;background:#fff7e0;border:1px solid #f0dca0;color:#5c4300;border-radius:12px;padding:12px 16px;font-size:14.5px;margin:0 0 28px}
.stalert b{color:#3d2c00}
.r .stalert a{margin-left:auto;font-weight:800;color:#7a5f00;white-space:nowrap}
.stalert.st-downtime{background:#fdecea;border-color:#f3c2bc;color:#6b1d16}
.stalert.st-maintenance{background:#eaf2fb;border-color:#c6dbf2;color:#1d4570}
.stnote{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--mut);margin:0;white-space:nowrap}
.stnote a{font-weight:700}
/* dark green help box (home, end of lists) */
.help{background:var(--dark);color:#e6eeec;border-radius:14px;padding:26px;display:flex;flex-direction:column;gap:12px}
.r .help h2,.r .help h3{color:#fff}
.help .h3{font-size:20px}
.help p{color:#b9cbc7}
.help.row-help{flex-direction:row;align-items:center;gap:18px;margin-top:32px}
.help.row-help>div{flex:1}
.hopts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:4px}
.r a.hopt{display:flex;flex-direction:column;gap:2px;background:#1f3d38;border:1px solid #2c4a46;border-radius:10px;padding:14px;color:#fff;font-weight:800;transition:box-shadow .15s,border-color .15s,transform .15s}
.r a.hopt:hover{text-decoration:none;border-color:#8fcfb0;box-shadow:0 10px 26px rgba(0,0,0,.25);transform:translateY(-2px)}
.hopt span{font-weight:600;font-size:13px;color:#b9cbc7}
/* light help bar at the end of an article */
.helpl{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;background:var(--soft);border-radius:12px;padding:16px 20px;margin-top:36px;font-size:15px}
.helpl span{color:var(--mut)}
.hl{display:flex;gap:20px;flex-wrap:wrap}
.r .hl a{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:14px}

/* ===== footer ===== */
.ft{background:var(--soft);border-top:1px solid var(--line);padding:48px 0 28px;font-size:14px}
.fcols{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:28px}
.fabout{display:flex;flex-direction:column;gap:12px;color:var(--mut);max-width:320px}
.r .fh{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);margin:0 0 12px}
.ft ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.r .ft a{color:var(--fg)}
.fbot{border-top:1px solid var(--line);margin-top:34px;padding-top:18px;color:var(--mut);font-size:13px}

/* ===== breadcrumbs, bands ===== */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--mut);align-items:center}
.r .crumbs a{color:var(--mut);text-decoration:underline;text-decoration-color:transparent}
.r .crumbs a:hover{text-decoration-color:currentColor}
.band{background:var(--soft);border-bottom:1px solid var(--line)}
.band .w{padding-top:32px;padding-bottom:32px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.band h1{font-size:34px}

/* ===== category banner (blog th3, light): same layout for every category, about 260 px ===== */
.th3{position:relative;overflow:hidden;background:var(--soft);padding:40px 0 44px;display:flex;align-items:flex-start;color:var(--t);border-bottom:1px solid var(--line)}
.th3 .tdots{position:absolute;inset:0;background-image:radial-gradient(currentColor 1.4px,transparent 1.6px);background-size:18px 18px;opacity:.16;-webkit-mask-image:linear-gradient(100deg,transparent 35%,#000 80%);mask-image:linear-gradient(100deg,transparent 35%,#000 80%)}
.th3 .w{width:100%;position:relative;min-height:180px}
.th3art{position:absolute;right:max(96px,calc((100% - 1200px)/2 + 96px));top:50%;transform:translateY(-50%);height:230px;width:430px;max-width:48%}
.th3art svg{width:100%;height:100%}
.net .bold{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;stroke-opacity:.85}
.net .vx{fill:var(--soft);stroke:currentColor;stroke-width:1.5}
.net .faint{fill:none;stroke:currentColor;stroke-opacity:.28;stroke-width:1}
.net .dash{stroke-dasharray:3 5}
.net .on{fill:currentColor;fill-opacity:.5}
.throw{display:flex;align-items:center;gap:22px;margin-top:16px;position:relative}
.ico-xl{width:80px;height:80px;border-radius:20px;background:var(--c);color:#132b28;display:inline-flex;align-items:center;justify-content:center;flex:none}
.th3 h1{font-size:50px;max-width:640px}
.th3 h1.long{font-size:38px}
.th3 .desc{color:var(--mut);font-size:18px;max-width:540px;margin-top:16px;position:relative}
.th3 .stats{margin-top:14px;font-size:14px;color:var(--mut);position:relative}
.th3 .stats b{color:var(--fg)}

/* ===== category pages: tiles page full width, subcategory page tree + list ===== */
.lay1{display:block}
.lay2{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.tcol{position:sticky;top:20px}
.r .h2s{font-size:22px;margin:0 0 18px}
.h2s .mut{font-weight:600;font-size:16px}
.r #pozostale{margin-top:44px;scroll-margin-top:20px}
.sk{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lay1 .sk{grid-template-columns:repeat(3,minmax(0,1fr))}
.r a.sc{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px;color:var(--fg)}
.sc .t{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sc h3{font-size:18px}
.sc .cnt{font-size:13px;font-weight:800;color:var(--t);white-space:nowrap}
.sc ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;font-size:14.5px;color:#36434a}
.sc li{display:flex;gap:8px;align-items:flex-start;line-height:1.35}
.sc li::before{content:"";flex:none;width:5px;height:5px;border-radius:50%;background:#a8b3b8;margin-top:8px}
.sc p{font-size:14px;color:var(--mut)}
.sc .more{font-size:14px;font-weight:800;color:var(--link);margin-top:auto}
.r a.sc.rest{background:var(--soft);border-color:var(--soft)}
/* category tree (variant T2, search filter look): counts on the right, buckets last behind a separator */
.ctree{display:flex;flex-direction:column}
.ctsub{display:flex;flex-direction:column;padding-left:20px}
.ctree .nm{flex:1;min-width:0}
.ctree .n{margin-left:10px;font-size:13px;color:#8a969c;font-weight:600}
.r .ctree a.ck{justify-content:flex-start}
.r .ctree a.ck.on .n{color:var(--fg)}
.r .ctree a.ck.open{font-weight:800}
.r .ctree a.ck.bucket{color:var(--mut)}
.ctsep{height:1px;background:var(--line);margin:6px 0}
.ctd{border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin-bottom:16px}
.ctd summary{display:flex;align-items:center;gap:10px;font-weight:800;cursor:pointer;list-style:none}
.ctd summary span{flex:1}
.ctd summary::-webkit-details-marker{display:none}
.ctd .ctree{margin-top:10px}
/* filters above the list: Typ chips (like the blog's Format chips) and sort */
.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bar2{margin-bottom:18px}
.fchips{display:flex;flex-wrap:wrap;gap:4px}
.r a.fchip{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;border-radius:40px;border:1px solid transparent;color:var(--mut);font-size:14px;font-weight:700;white-space:nowrap}
.r a.fchip:hover{text-decoration:none;color:var(--fg);background:var(--soft)}
.r a.fchip.on{border-color:#cfd8d6;color:var(--fg);background:transparent}
.r a.fchip .i{opacity:.85}
.sortl{font-size:14px;color:var(--mut);display:inline-flex;gap:8px;align-items:center}
.sortl select{font:inherit;font-size:14px;border:0;border-radius:8px;padding:7px 10px;background:var(--soft);color:var(--fg)}
/* article list: one left edge, row hover padding outside it */
.list,.reslist{list-style:none;margin:0;padding:0}
.list>li{border-top:1px solid var(--line)}
.r a.row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;align-items:start;margin:0 -12px;padding:18px 12px;color:var(--fg);border-radius:10px}
.r a.row:hover{text-decoration:none;background:var(--soft)}
.r a.row:hover h3{color:var(--pri)}
.row h3{font-size:17px;line-height:1.35}
.row p{font-size:14px;color:var(--mut);margin-top:6px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.empty{color:var(--mut);padding:24px 0}
.pag{display:flex;gap:6px;margin-top:24px;align-items:center;flex-wrap:wrap}
.r .pag a,.pag span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;border-radius:8px;border:1px solid var(--line);color:var(--fg);font-weight:700;padding:0 10px}
.r .pag .current{background:var(--fg);border-color:var(--fg);color:#fff}
.pag .dots{border:0}

/* ===== article: ToC (or category tree) + text column 760 px from the content edge, no right column ===== */
.art-sec{padding-top:28px}
.crow{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.art2{display:grid;grid-template-columns:230px minmax(0,760px);gap:64px;justify-content:start;align-items:start}
.art2.notoc .toc{visibility:hidden}
.art2 .stalert{margin-bottom:20px}
.toc{position:sticky;top:20px;font-size:14px}
.toc .toch{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);margin-bottom:10px}
.toc ol{list-style:none;margin:0;padding:0;border-left:2px solid var(--line)}
.r .toc ol a{display:block;padding:6px 0 6px 14px;margin-left:-2px;color:var(--mut);border-left:2px solid transparent;line-height:1.35}
.r .toc ol a.on{color:var(--fg);font-weight:800;border-left-color:var(--pri)}
.tools{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}
.tbtn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--mut);border:1px solid var(--line);border-radius:8px;padding:6px 10px;background:#fff;cursor:pointer}
.tbtn:hover{color:var(--fg)}
.kick{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.body h1{font-size:40px;margin:14px 0 12px}
.meta{display:flex;flex-wrap:wrap;gap:16px;font-size:14px;color:var(--mut);align-items:center}
.meta span{display:inline-flex;align-items:center;gap:6px}
.tocm{border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin-top:18px}
.tocm summary{display:flex;align-items:center;gap:10px;font-weight:800;cursor:pointer;list-style:none}
.tocm summary::-webkit-details-marker{display:none}
.tocm .toch{display:none}
.tocm ol{margin:10px 0 0;padding-left:20px}
.r .relh{font-size:20px;margin:40px 0 14px}
.rel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.r a.rl{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--fg);font-weight:700;font-size:15px;line-height:1.35}

/* ===== article content (old classic HTML and new blocks) ===== */
.prose{margin-top:22px;font-size:17px;line-height:1.7}
.prose>*,.r .prose p{margin:0 0 16px}
.prose h2{font-size:26px;margin:40px 0 14px;scroll-margin-top:20px}
.prose h3{font-size:20px;margin:28px 0 10px}
.prose h4{font-size:17px;margin:22px 0 8px}
.r .prose a{text-decoration:underline;text-underline-offset:2px}
/* product names written as <em><strong>: upright bold instead of synthetic bold italic (Avenir has no bold italic) */
.prose em > strong,.prose strong > em{font-style:normal;font-weight:800}
/* images: frame with white padding, breathing room when alone in a paragraph, old alignment classes, lightbox */
.prose img{max-width:100%;height:auto;border-radius:10px;border:1px solid var(--line);padding:12px;background:#fff}
.r .prose p:has(> img:only-child),.r .prose p:has(> a:only-child > img),.prose figure{margin:28px 0}
.prose figcaption{font-size:14px;color:var(--mut);margin-top:6px}
.prose .aligncenter{display:block;margin-left:auto;margin-right:auto}
.prose .alignright{float:right;margin:0 0 12px 20px}
.prose .alignleft{float:left;margin:0 20px 12px 0}
.prose a.zoom{cursor:zoom-in}
dialog.lbox{border:0;padding:0;background:transparent;max-width:min(1200px,94vw);max-height:92vh;overflow:visible}
dialog.lbox::backdrop{background:rgba(16,22,24,.82)}
dialog.lbox img{display:block;max-width:min(1200px,94vw);max-height:90vh;width:auto;height:auto;border-radius:10px;background:#fff;padding:12px;cursor:zoom-out}
.lbclose{position:absolute;top:-14px;right:-14px;width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:#1f2a2e;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.3)}
/* lists: numbered steps */
.prose ul{padding-left:22px}
.prose ol{list-style:none;padding:0;counter-reset:s}
.prose ol>li{position:relative;padding:2px 0 22px 54px;counter-increment:s}
.prose ol>li::before{content:counter(s);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;background:var(--pri);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:16px}
.prose ol>li::after{content:"";position:absolute;left:17px;top:42px;bottom:6px;width:2px;background:var(--line)}
.prose ol>li:last-child::after{display:none}
.prose ol ol>li::before{background:var(--soft);color:var(--fg)}
.prose table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.prose th{background:var(--soft)}
.prose code{background:#e9efec;border-radius:5px;padding:1px 6px;font-size:.92em;font-family:ui-monospace,Menlo,monospace}
.prose pre{position:relative;background:#e9efec;color:#1f2f2b;border:1px solid #d6e0dc;border-radius:10px;padding:14px 52px 14px 18px;font-size:14.5px;overflow-x:auto;font-family:ui-monospace,Menlo,monospace}
.prose pre code{background:none;padding:0}
.copy{position:absolute;top:8px;right:8px;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#4d605a;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.copy:hover{background:rgba(0,0,0,.06);color:#1f2f2b}
.copy.done{color:var(--pri)}
.prose blockquote{border-left:3px solid var(--pri);background:var(--soft);margin:0 0 16px;padding:12px 18px;border-radius:0 10px 10px 0}
/* inline boxes from the old theme: only known colours, never a blanket [style*="background"] override */
.prose [style*="#fff6eb" i],.prose [style*="#fcf8e3" i]{background:#fff7e0!important;border-color:#f0dca0!important;border-radius:12px}

/* ===== search ===== */
.sres{padding-top:0}
.sgrid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;padding-top:28px}
.fbox .fh{margin:0 0 8px}
.fbox .fh:not(:first-child){margin-top:24px}
.r a.ck{display:flex;align-items:center;gap:10px;padding:6px 10px;margin-left:-10px;border-radius:8px;font-size:15px;color:var(--fg)}
.r a.ck:hover{background:var(--soft);text-decoration:none}
.r a.ck.on{background:var(--soft);font-weight:800}
.ck .sw{width:10px;height:10px;border-radius:3px;background:var(--c)}
.r a.res{display:block;padding:18px 0;border-top:1px solid var(--line);color:var(--fg)}
.r a.res:hover{text-decoration:none}
.r a.res:hover h3{color:var(--pri)}
.res h3{font-size:18px;margin:6px 0 4px}
.res p{font-size:15px;color:var(--mut)}
.res mark{background:#fff1b8;color:inherit;border-radius:3px;padding:0 2px}
.rmeta{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--mut);flex-wrap:wrap}

/* ===== page, 404 ===== */
.ptitle{font-size:38px;margin:18px 0 6px}

/* ===== responsive ===== */
@media (max-width:1100px){
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lay1 .sk{grid-template-columns:repeat(2,minmax(0,1fr))}
  .art2,.art2.notoc{grid-template-columns:minmax(0,760px)}
  .art2 .toc{display:none}
  .tocm.show-m{display:block}
  .th3art{max-width:38%;opacity:.6}
}
@media (max-width:860px){
  .w{padding:0 16px}
  .hide-m{display:none!important}
  .show-m{display:block}
  .hd1{height:64px;gap:10px}
  .mpanel{top:64px}
  .tag{font-size:11px;padding-left:10px}
  .hero .w{padding-top:36px;padding-bottom:32px;gap:12px}
  .hero h1{font-size:30px}
  .hero .lead{font-size:16px}
  .bigsearch{height:56px;padding:0 6px 0 14px}
  .bigsearch input{font-size:16px}
  .bigsearch .btn{display:none}
  .hints{justify-content:flex-start}
  .tiles{gap:10px}
  .r a.tile{min-height:0;padding:16px;gap:8px}
  .tile p{display:none}
  .tasks,.duo,.posts,.posts.two,.rel,.hopts,.sgrid,.lay2,.sk,.lay1 .sk{grid-template-columns:1fr}
  .sec{padding:36px 0}
  .sh h2{font-size:22px}
  .fcols{grid-template-columns:1fr 1fr}
  .th3{padding:28px 0 32px}
  .th3 .w{min-height:0}
  .th3art{display:none}
  .th3 h1,.th3 h1.long{font-size:30px}
  .ico-xl{width:56px;height:56px;border-radius:14px}
  .crow{flex-wrap:wrap}
  .body h1{font-size:29px}
  .prose{font-size:16.5px}
  .prose ol>li{padding-left:46px}
  .prose ol>li::before{width:32px;height:32px;font-size:15px}
  .prose ol>li::after{left:15px;top:38px}
  .help.row-help{flex-direction:column;align-items:flex-start}
  .fbox{display:flex;flex-wrap:wrap;gap:4px}
  .fbox .fh{width:100%}
}

/* ===== print: article only ===== */
@media print{
  .hd,.ft,.toc,.tools,.tocm,.helpl,.relh,.rel,.posts,.crow,.copy{display:none!important}
  .art2{display:block}
  .prose{font-size:12pt}
  .r a{color:inherit}
}

/* ===== dark mode: neutral graphite, green only as accent; html.dk set before first paint ===== */
.dk .r{--bg:#1b1f22;--fg:#e8ecee;--mut:#a3adb3;--line:#353c41;--soft:#21262a;--link:#7cc9a3;--pri:#2f7d5f;--prih:#2a7155;--dark:#173029;--ok:#5bd08a;color-scheme:dark}
.dk .r [style*="--tl:"]{--t:var(--c)}
.dk .lg-l{display:none!important}
.dk .lg-d{display:block!important}
.dk .hd{background:#16191c;border-bottom-color:var(--line)}
.dk .r a.u,.dk details.tdd summary{color:#c9d1d5}
.dk .eyebrow,.dk .tag{color:#7cc9a3}
.dk .r a.u:hover{color:#fff}
.dk details.tdd summary{border-color:var(--line)}
.dk .r a.tab{color:#cbd8d5}
.dk .r a.tab:hover{color:#fff;background:transparent}
.dk .r a.tab.on{background:rgba(255,255,255,.07);color:#fff}
.dk .sbox{background:transparent;border-color:var(--line)}
.dk .sbox input,.dk .bigsearch input{color:#fff}
.dk .sbox:focus-within{border-color:#7cc9a3;box-shadow:0 0 0 3px rgba(124,201,163,.28)}
.dk .bigsearch{background:#23292c;border-color:#3a8f6e;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.dk .bigsearch:focus-within{border-color:#7cc9a3;box-shadow:0 0 0 4px rgba(124,201,163,.28),0 10px 30px rgba(0,0,0,.35)}
.dk .iconbtn{background:transparent;border-color:var(--line);color:#fff}
.dk .mpanel{background:#1b1f22;border-color:var(--line)}
.dk .tmenu{background:#23292c;border-color:#353c41;box-shadow:0 14px 36px rgba(0,0,0,.45)}
.dk .tmenu button:hover{background:#2c3337}
.dk .tmenu button[aria-pressed="true"]{color:#7cc9a3}
.dk .sugg{background:#23292c;border-color:var(--line);box-shadow:0 18px 50px rgba(0,0,0,.45)}
.dk .hero,.dk .sec.soft,.dk .ft,.dk .th3,.dk .band{background:#16191c;border-color:var(--line)}
.dk .net .vx{fill:#16191c}
.dk .r a.chip{background:#23292c;border-color:var(--line);color:var(--fg)}
.dk .r a.tile,.dk .r a.task,.dk .r a.post,.dk .r a.rl,.dk .r a.sc,.dk .card{background:#23292c;border-color:var(--line);color:var(--fg)}
.dk .r a.tile:hover,.dk .r a.task:hover,.dk .r a.post:hover,.dk .r a.rl:hover,.dk .r a.sc:hover{box-shadow:0 10px 26px rgba(0,0,0,.3)}
.dk .r a.sc.rest,.dk .typ{background:#21262a;border-color:var(--line)}
.dk .sc ul{color:#c9d1d5}
.dk .tint{background:color-mix(in srgb,var(--c) 16%,#23292c)}
.dk .help{background:#173029;border:1px solid #24443b}
.dk .r a.hopt{background:#1f3d36;border-color:#2c4a43}
.dk .r a.row:hover,.dk .r .sugg a.si:hover,.dk .r .sugg a.si.on,.dk .r a.ck:hover,.dk .r a.ck.on{background:#21262a}
.dk .typ.instrukcja,.dk .tl.instrukcja{background:rgba(127,198,164,.14);color:#8fcfb0}
.dk .typ.problem,.dk .tl.problem{background:rgba(221,175,133,.14);color:#e2b98f}
.dk .typ.wyjasnienie,.dk .tl.wyjasnienie{background:rgba(147,169,216,.14);color:#a9bce4}
.dk .r a.fchip.on{border-color:#4f585e}
.dk .ctree .n{color:#7d878d}
.dk .sortl select{background:#23292c;color:var(--fg)}
.dk .r .btn.ghost{background:transparent;color:var(--fg);border-color:#454d52}
.dk .tbtn{background:transparent;border-color:var(--line);color:var(--mut)}
.dk .pag .current{background:#e8ecee;border-color:#e8ecee;color:#1b1f22}
.dk .srow .ok{color:#8fcfb0}
.dk .inc,.dk .stalert{background:#2a2614;border-color:#5a4c1e;color:#f0dfa8}
.dk .stalert b,.dk .r .stalert a{color:#ffe9a8}
.dk .res mark{background:rgba(214,182,86,.25);color:#fff}
.dk .prose pre,.dk .prose code{background:#21262a;color:#dfe7ea;border-color:#394146}
.dk .copy{color:#a6d6be}
.dk .copy:hover{background:rgba(255,255,255,.08);color:#fff}
.dk .prose img{border-color:#353c41}
.dk .prose th{background:#21262a}
.dk .prose blockquote{background:#23292c}
.dk .prose ol ol>li::before{background:#2c3337;color:var(--fg)}
.dk .prose [style*="#fff6eb" i],.dk .prose [style*="#fcf8e3" i]{background:#2a2614!important;border-color:#5a4c1e!important;color:#f0dfa8!important}
