:root{--bg:#f3f5f8;--panel:#ffffff;--fg:#0b1629;--quiet:#515967;--key:#0b3d91;--pop:#00b894;--rule:#d5d8dd;--round:10px;--width:1140px;--display:'Arimo',system-ui,sans-serif;--text-font:'Arimo',system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:5rem} body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.65 var(--text-font)}
img{max-width:100%;height:auto} a{color:var(--key);text-underline-offset:3px}
input,select,textarea{max-width:100%;box-sizing:border-box}
input[type=date],input[type=time],input[type=datetime-local],input[type=month],input[type=week]{min-width:0;max-width:100%}
@supports (-webkit-touch-callout:none){input[type=date],input[type=time],input[type=datetime-local],input[type=month],input[type=week]{-webkit-appearance:none;appearance:none;min-height:2.75em} input::-webkit-date-and-time-value{text-align:left}}
h1,h2,h3{font-family:var(--display);line-height:1.2;letter-spacing:-.01em;color:var(--fg)}
h1{font-size:clamp(1.9rem,4.5vw,2.8rem);margin:.2em 0 .35em} h2{font-size:clamp(1.35rem,3vw,1.8rem);margin:2.20em 0 .6em} h3{font-size:1.15rem;margin:1.6em 0 .4em}
p,ul,ol{margin:0 0 1em}
.ch-wra{max-width:var(--width);margin:0 auto;padding:0 1rem} .ch-mai{max-width:var(--width);margin:0 auto;padding:1.2rem 1rem 3rem}
.ch-ski{position:absolute;left:-9999px} .ch-ski:focus{left:1rem;top:1rem;background:var(--panel);padding:.5rem;z-index:99}
.ch-heain{max-width:var(--width);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1rem;flex-wrap:wrap}
.ch-bra{display:flex;align-items:center;gap:.6rem;font:800 1.15rem var(--display);color:var(--fg);text-decoration:none}
.ch-nav{display:flex;gap:1rem;flex-wrap:wrap;align-items:center} .ch-nav a{color:var(--fg);text-decoration:none;font-weight:600;font-size:.95rem}
.ch-hea{background:var(--key)} .ch-hea a,.ch-hea .ch-bra,.ch-hea summary{color:#fff} .ch-hea .ch-lan summary{border-color:rgba(255,255,255,.5)} .ch-hea .ch-lanlis a{color:var(--fg)} .ch-hea .ch-lanlis a[aria-current]{color:var(--key)}  
.ch-her{margin:1rem 0 1.4rem} .ch-lea{font-size:1.12rem;max-width:46em;color:var(--quiet)} 
.ch-too{margin:1.4rem 0 2rem}
.ch-not{margin:1.4em 0;padding:.9em 1.1em;background:var(--panel);border-left:4px solid var(--pop);border-radius:0 var(--round) var(--round) 0}
.ch-for{margin:1.2em 0;padding:.9em 1.1em;font-family:ui-monospace,Consolas,monospace;background:var(--panel);border:1px dashed var(--key);border-radius:var(--round);overflow-x:auto}
.ch-tabwra{margin:1.2em 0;overflow-x:auto;border:1px solid var(--rule);border-radius:var(--round);background:var(--panel)}
.ch-tab{width:100%;border-collapse:collapse;font-size:.95em;font-variant-numeric:tabular-nums} .ch-tab th,.ch-tab td{padding:.5em .75em;border-bottom:1px solid var(--rule);text-align:left}
.ch-tab thead th{background:color-mix(in srgb,var(--rule) 60%,var(--panel))}
ol.ch-ste{padding-left:1.3em} ol.ch-ste>li{margin:.5em 0}
.ch-fig{margin:1.6em 0;text-align:center} .ch-fig img{width:100%;max-width:720px;border-radius:var(--round);border:1px solid var(--rule);background:#fff} .ch-fig figcaption{font-size:.9em;color:var(--quiet)}
.ch-car{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin:1.2em 0}
.ch-cara{display:block;padding:1.1rem;background:var(--panel);border-radius:var(--round);background:color-mix(in srgb,var(--rule) 45%,var(--panel));border:1px solid transparent;color:var(--fg);text-decoration:none}
.ch-cara b{display:block;font-family:var(--display);margin-bottom:.35rem} .ch-cara span{color:var(--quiet);font-size:.92rem} .ch-cara:hover{border-color:var(--key)}
.ch-cara--img{padding:0;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease} .ch-cara--img:hover{transform:translateY(-3px);box-shadow:0 10px 24px color-mix(in srgb,var(--fg) 14%,transparent)}
.ch-carimg{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover} .ch-cartxt{display:block;padding:1rem 1.1rem 1.1rem} .ch-cartxt>span{display:block}
.ch-carmet{display:block;margin-top:.6rem;font-size:.8rem;font-weight:700;letter-spacing:.04em;color:var(--key)}
.ch-car--feat{grid-template-columns:repeat(2,minmax(0,1fr))} .ch-car--feat>.ch-cara:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.3fr 1fr;align-items:center} .ch-car--feat>.ch-cara:first-child b{font-size:1.35rem}
.ch-bli{display:grid;gap:1rem;margin:1.2em 0} .ch-bro{display:grid;grid-template-columns:240px 1fr;gap:1.1rem;align-items:center;background:var(--panel);border:1px solid var(--rule);border-radius:var(--round);overflow:hidden;color:var(--fg);text-decoration:none}
.ch-bli a,.ch-bro,.ch-poskic{background:none}   /* 13.10: без !important — дизайнер сайта может дать карточкам фон */
.ch-bro .ch-carimg{height:100%;aspect-ratio:auto;min-height:126px} .ch-bro b{display:block;font-family:var(--display);font-size:1.12rem;margin-bottom:.3rem} .ch-bro .ch-cartxt>span{color:var(--quiet);font-size:.93rem} .ch-bro:hover{border-color:var(--key)}
.ch-bli--min{list-style:none;padding:0;counter-reset:bl;gap:0} .ch-bli--min li{counter-increment:bl;border-top:1px solid var(--rule)} .ch-bli--min li:last-child{border-bottom:1px solid var(--rule)}
.ch-bli--min a{display:grid;grid-template-columns:4.2rem 1fr;column-gap:1rem;padding:1.1rem .2rem;color:var(--fg);text-decoration:none} .ch-bli--min a::before{content:counter(bl,decimal-leading-zero);grid-row:1/4;font:800 2.4rem/1 var(--display);color:var(--key)}
.ch-bli--min b{font-family:var(--display);font-size:1.15rem} .ch-bli--min span{color:var(--quiet);font-size:.93rem} .ch-bli--min a:hover b{color:var(--key)}
.ch-poshea--overlay{position:relative;margin:.6rem 0 1.6rem;border-radius:var(--round);overflow:hidden} .ch-poshea--overlay>img{display:block;width:100%;height:auto;min-height:300px;object-fit:cover}
.ch-posov{position:absolute;inset:auto 0 0 0;padding:4rem 1.6rem 1.4rem;background:linear-gradient(transparent,color-mix(in srgb,#000 72%,transparent))} .ch-posov h1,.ch-posov .ch-posmet,.ch-posov .ch-poskic{color:#fff}
.ch-poshea--band{background:var(--key);color:#fff;padding:2.2rem 1.6rem;border-radius:var(--round)} .ch-poshea--band h1,.ch-poshea--band .ch-posmet,.ch-poshea--band .ch-poskic{color:#fff}
.ch-poshea--split{display:grid;grid-template-columns:1.1fr 1fr;gap:1.6rem;align-items:center} .ch-poshea--split .ch-poscov{margin:0}
.ch-toc--chips ol{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.45rem} .ch-toc--chips li{margin:0} .ch-toc--chips a{display:inline-block;padding:.3rem .75rem;border:1px solid var(--rule);border-radius:999px;background:var(--bg);text-decoration:none;font-size:.88rem}
.ch-toc--rail{background:none;border:0;border-left:3px solid var(--pop);border-radius:0;padding:.2rem 0 .2rem 1rem}
.ch-lan--globe summary{display:flex;align-items:center;gap:.35rem} .ch-land{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.8rem} .ch-land a{padding:.25rem .7rem;border:1px solid var(--rule);border-radius:999px;text-decoration:none} .ch-land a[aria-current]{background:var(--key);border-color:var(--key);color:#fff}
@media (max-width:700px){.ch-car--feat{grid-template-columns:1fr} .ch-car--feat>.ch-cara:first-child{display:flex} .ch-bro{grid-template-columns:1fr} .ch-bro .ch-carimg{min-height:0;aspect-ratio:1200/630} .ch-poshea--split{grid-template-columns:1fr} .ch-posov{position:static;background:var(--key);padding:1.2rem} .ch-poshea--overlay>img{min-height:0}}
.ch-pos{max-width:48rem;margin:0 auto} .ch-poshea{margin:.6rem 0 1.2rem} .ch-poshea h1{font-size:clamp(2rem,5vw,3rem);line-height:1.12;letter-spacing:-.01em}
.ch-poskic{display:inline-block;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--key);text-decoration:none}
.ch-upd{color:var(--quiet);font-size:.9rem;margin:2rem 0 0} .ch-sig{font-style:italic;color:var(--quiet)} .ch-posmet{color:var(--quiet);font-size:.92rem;margin:0} .ch-poscov{margin:0 0 1.6rem} .ch-poscov img{display:block;width:100%;height:auto;border-radius:var(--round)}
.ch-pos .ch-lea{font-size:1.2rem;color:var(--fg)} .ch-pos .ch-lea::first-letter{font-family:var(--display);font-size:3.1em;float:left;line-height:.9;margin:.06em .1em 0 0;color:var(--key)}
.ch-pos .ch-toc--post{position:static!important;top:auto!important;z-index:auto;margin:0 0 1.8rem;padding:1rem 1.2rem;background:var(--panel);border:1px solid var(--rule);border-left:4px solid var(--key);border-radius:var(--round);font-size:.95rem}
.ch-toc--post ol{margin:.4rem 0 0;padding-left:1.2rem;columns:1} .ch-toc--post li{margin:.2rem 0}
.ch-pos h3{color:var(--key)} .ch-pos blockquote{margin:1.4em 0;padding:.4em 1.2em;border-left:4px solid var(--pop);font-size:1.1em}
.ch-faqgri{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem} .ch-faqgri>div{background:var(--panel);background:color-mix(in srgb,var(--rule) 45%,var(--panel));border:1px solid transparent;border-radius:var(--round);padding:1rem} .ch-faq h3{margin-top:0;font-size:1rem}
.ch-cru{font-size:.88rem;color:var(--quiet);margin:.4rem 0 1rem} .ch-cru a{color:var(--quiet)}
.ch-cta{margin:2.4rem 0;padding:1.4rem;background:var(--panel);border-radius:var(--round);background:color-mix(in srgb,var(--rule) 45%,var(--panel));border:1px solid transparent;text-align:center}
.ch-btn{display:inline-block;padding:.7em 1.4em;background:var(--key);color:#fff;border-radius:999px;font-weight:700;text-decoration:none}
.ch-foo{border-top:1px solid var(--rule);margin-top:3rem;padding:1.6rem 0 2.4rem;font-size:.9rem;color:var(--quiet);background:var(--panel)}
.ch-foo nav{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem} .ch-foo a{color:var(--quiet)} .ch-foo{background:var(--fg);color:var(--bg)} .ch-foo a,.ch-foo p{color:var(--bg);opacity:.85}

.ch-lay{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:2.4rem;align-items:start} .ch-toc{position:sticky;top:5rem;font-size:.9rem;border-left:2px solid var(--rule);padding-left:1rem} .ch-toc ol{list-style:none;padding:0;margin:.4rem 0 0} .ch-toc li{margin:.35rem 0} .ch-toc a{text-decoration:none;color:var(--quiet)} .ch-toc a:hover{color:var(--key)} .ch-lay>*{min-width:0} @media(max-width:900px){.ch-lay{grid-template-columns:1fr} .ch-toc:not(.ch-toc--post){display:none}}
.ch-lan{position:relative} .ch-lan summary{cursor:pointer;list-style:none;padding:.25rem .6rem;border:1px solid var(--rule);border-radius:999px;font-size:.85rem}
.ch-lanlis{position:absolute;right:0;top:120%;background:var(--panel);border:1px solid var(--rule);border-radius:10px;padding:.4rem;display:grid;min-width:9rem;z-index:40}
.ch-lanlis a{padding:.3rem .5rem;text-decoration:none;color:var(--fg)} .ch-lanlis a[aria-current]{font-weight:700;color:var(--key)}
.ch-cod{display:flex;gap:.35rem;font-size:.8rem;font-weight:700} .ch-cod a{text-decoration:none;color:var(--quiet);padding:.1rem .3rem;border-radius:4px} .ch-cod a[aria-current]{color:var(--key);background:color-mix(in srgb,var(--key) 12%,transparent)}
[data-ad]{margin:1rem auto;text-align:center;overflow:hidden;max-width:100%} [data-ad]:empty{margin:0}
[data-ad="mobile_sticky"]{position:fixed;left:0;right:0;bottom:0;margin:0;z-index:50;background:var(--panel)}
[data-ad="sidebar_left"],[data-ad="sidebar_right"]{position:fixed;top:110px;width:160px;margin:0;z-index:20} [data-ad="sidebar_left"]{left:12px} [data-ad="sidebar_right"]{right:12px}
@media (max-width:1499px){[data-ad="sidebar_left"],[data-ad="sidebar_right"]{display:none}}
.ch-adx{float:right;border:0;background:transparent;font-size:1.2rem;cursor:pointer;color:var(--quiet)}
.ch-btn{border-radius:4px;text-transform:uppercase;letter-spacing:.06em;font-size:.85rem}
.ch-tabwra{border:0;border-top:3px solid var(--key);border-radius:0;background:transparent} .ch-tab thead th{background:transparent;text-transform:uppercase;font-size:.78rem;letter-spacing:.06em}
.ch-sec a:not(.ch-btn):not(.ch-cara){text-decoration-thickness:2px}
:root{--display:'Arimo',system-ui,-apple-system,'Segoe UI',sans-serif;--text-font:'Arimo',system-ui,-apple-system,'Segoe UI',sans-serif} body{font-size:18px;font-kerning:normal;font-optical-sizing:auto;text-rendering:optimizeLegibility} h1,h2,h3{font-weight:700;letter-spacing:0;text-wrap:balance} .ch-bra{font-weight:700} h1{font-size:clamp(1.85rem,4.6vw,1.95rem);line-height:1.08} h2{font-size:clamp(1.3rem,3vw,1.44rem);line-height:1.18} h3{font-size:1.20rem} .ch-poshea h1{font-size:clamp(1.95rem,5vw,2.07rem)} p,li{text-wrap:pretty} .ch-sec>p,.ch-sec>ul,.ch-sec>ol,.ch-pos p,.ch-pos li{max-width:76ch} .ch-tab,.ch-too output,.ch-too [class*=res],.ch-too [class*=val]{font-variant-numeric:tabular-nums lining-nums}  
@media (max-width:640px){.ch-heain{gap:.5rem} .ch-nav{gap:.8rem}}

/* checker-link.com — Link Checker. Archetype D · Dashboard: brand-blue toolbar band (input · mode tabs · button),
   result tiles + stacked status bar right under it, then a table of coloured status pills.
   Colours/radius/fonts only from site tokens; status colours are fixed semantic tokens under .lc mixed with tokens. */
.lc {
    --lc-ok: #14945a;
    --lc-warn: #b9770b;
    --lc-bad: #d03a3a;
    --lc-unc: #64748b;
    --lc-r: var(--round, 10px);
    --lc-rs: calc(var(--lc-r) * .6);
    --lc-on: var(--panel);
    --lc-tx: 55%;
    --lc-bg: 14%;
    color-scheme: inherit;
    color: var(--fg);
    font-family: var(--text-font);
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    margin: 0 0 1.5rem;
}
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc [hidden] { display: none !important; }
.lc-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lc-offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }
.lc button { font: inherit; cursor: pointer; }
.lc button:focus-visible, .lc a:focus-visible, .lc input:focus-visible, .lc textarea:focus-visible, .lc select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--pop) 70%, var(--fg));
    outline-offset: 2px;
}

/* ---------- band (toolbar) ---------- */
.lc-band {
    background-color: var(--key);
    background-image:
        radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--lc-on) 14%, transparent) 1px, transparent 1.6px),
        linear-gradient(135deg, color-mix(in srgb, var(--key) 70%, var(--fg)) 0%, var(--key) 55%, color-mix(in srgb, var(--key) 82%, var(--pop)) 100%);
    background-size: 18px 18px, 100% 100%;
    color: var(--lc-on);
    border-radius: var(--lc-r);
    padding: 16px 20px 18px;
    box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--key) 80%, transparent);
}
.lc-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: calc(var(--lc-r) + 4px); background: color-mix(in srgb, var(--fg) 22%, transparent); width: max-content; max-width: 100%; }
.lc-tab {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    border: 0; border-radius: var(--lc-r); background: transparent; color: color-mix(in srgb, var(--lc-on) 86%, transparent);
    font-weight: 600; font-size: 15.5px;
    transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.lc-tab:hover { background: color-mix(in srgb, var(--lc-on) 12%, transparent); color: var(--lc-on); }
.lc-tab[aria-selected="true"] { background: var(--panel); color: var(--key); box-shadow: 0 2px 8px -3px color-mix(in srgb, var(--fg) 50%, transparent); }
.lc-tab svg { flex: none; }
.lc-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; margin-top: 12px; }
.lc-panel > * { grid-column: 1 / -1; order: 9; min-width: 0; }
.lc-how { order: 0; margin: 0 0 10px; font-size: 14.5px; color: color-mix(in srgb, var(--lc-on) 88%, transparent); }
.lc-how b {
    display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 6px 0 10px; border-radius: 50%;
    background: color-mix(in srgb, var(--lc-on) 18%, transparent); color: var(--lc-on); font-size: 12.5px;
}
.lc-how b:first-child { margin-left: 0; }
.lc-src { order: 1; display: flex; gap: 6px; margin-bottom: 10px; }
.lc-src-b {
    min-height: 40px; padding: 6px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
    border: 1.5px solid color-mix(in srgb, var(--lc-on) 45%, transparent); background: transparent; color: var(--lc-on);
    transition: background-color .2s ease, color .2s ease;
}
.lc-src-b[aria-pressed="true"] { background: var(--lc-on); color: var(--key); border-color: var(--lc-on); }
.lc-field { order: 2; }
.lc-actrow { order: 3; display: flex; align-items: flex-end; margin-top: 12px; }
.lc-opts { order: 4; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lc[data-mode="single"] .lc-field-url, .lc[data-mode="page"][data-src="url"] .lc-field-url { grid-column: 1; }
.lc[data-mode="single"] .lc-actrow, .lc[data-mode="page"][data-src="url"] .lc-actrow { grid-column: 2; margin-top: 0; }
.lc-lab { display: block; margin: 0 0 6px; font-weight: 600; font-size: 15px; color: var(--lc-on); }
.lc-field .lc-lab + .lc-row, .lc-field .lc-lab + .lc-ta { margin-top: 0; }
.lc-field .lc-filebar + .lc-lab { margin-top: 12px; }
.lc-opt { font-weight: 400; color: color-mix(in srgb, var(--lc-on) 78%, transparent); }
.lc-row { position: relative; }
.lc-row-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--quiet); pointer-events: none; }
.lc-in {
    -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%;
    min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px;
    background: var(--panel); color: var(--fg); border: 1.5px solid var(--rule); border-radius: var(--lc-rs);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lc-in::placeholder { color: color-mix(in srgb, var(--quiet) 85%, transparent); }
.lc-in:focus { border-color: var(--pop); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pop) 30%, transparent); outline: none; }
.lc-url { min-height: 54px; padding-left: 42px; font-size: 17px; }
.lc-ta { min-height: 150px; resize: vertical; line-height: 1.45; font-size: 15px; white-space: pre; overflow: auto; }
.lc-filebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.lc-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lc-fileinfo { font-size: 14px; color: color-mix(in srgb, var(--lc-on) 88%, transparent); }
.lc-go {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px 26px;
    border: 0; border-bottom: 4px solid var(--pop); border-radius: var(--lc-rs);
    background: var(--panel); color: var(--key); font-weight: 700; font-size: 17px; white-space: nowrap;
    box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--fg) 70%, transparent);
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.lc-go:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--fg) 80%, transparent); }
.lc-go:active { transform: translateY(1px); }
.lc-busy .lc-go { opacity: .7; cursor: progress; }
.lc-hint { margin: 10px 0 0; font-size: 13.5px; color: color-mix(in srgb, var(--lc-on) 78%, transparent); }
.lc-msg {
    margin: 12px 0 0; padding: 10px 14px; border-radius: var(--lc-rs); font-size: 15px;
    background: var(--panel); color: var(--fg); border-left: 5px solid var(--lc-bad);
}
.lc-msg-warn { border-left-color: var(--lc-warn); }
.lc-privacy { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: color-mix(in srgb, var(--lc-on) 86%, transparent); }
.lc-linkbtn { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.lc-msg .lc-linkbtn { color: var(--key); }
.lc-priv { margin: 8px 0 0; padding: 10px 14px 10px 30px; border-radius: var(--lc-rs); background: color-mix(in srgb, var(--fg) 22%, transparent); font-size: 13.5px; color: var(--lc-on); }
.lc-priv li + li { margin-top: 4px; }

/* ---------- chips / buttons ---------- */
.lc-chip {
    min-height: 38px; padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
    border: 1.5px solid var(--rule); background: var(--panel); color: var(--fg);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.lc-chip[aria-pressed="true"] { background: var(--key); border-color: var(--key); color: var(--panel); }
.lc-chip-band { border-color: color-mix(in srgb, var(--lc-on) 45%, transparent); background: transparent; color: var(--lc-on); }
.lc-chip-band[aria-pressed="true"] { background: var(--lc-on); color: var(--key); border-color: var(--lc-on); }
.lc-chip-band[aria-pressed="true"]::before { content: "✓ "; }
.lc-btn {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 16px; border-radius: var(--lc-rs);
    border: 1.5px solid var(--rule); background: var(--panel); color: var(--fg); font-weight: 600; font-size: 15px;
    transition: border-color .18s ease, background-color .18s ease, transform .15s ease;
}
.lc-btn:hover { border-color: var(--key); }
.lc-btn:active { transform: translateY(1px); }
.lc-btn-prim { background: var(--key); border-color: var(--key); color: var(--panel); }
.lc-btn-ghost { background: transparent; color: var(--lc-on); border-color: color-mix(in srgb, var(--lc-on) 45%, transparent); }
.lc-btn-ghost:hover { border-color: var(--lc-on); background: color-mix(in srgb, var(--lc-on) 10%, transparent); }
.lc-btn-ghost2 { background: transparent; }
.lc-btn-stop { min-height: 38px; padding: 5px 14px; border-color: color-mix(in srgb, var(--lc-bad) 60%, var(--rule)); }
.lc-mini {
    display: inline-block; margin: 4px 6px 0 0; min-height: 32px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
    border: 1.5px solid color-mix(in srgb, var(--key) 55%, var(--rule)); background: var(--panel); color: var(--key);
    transition: background-color .18s ease;
}
.lc-mini:hover { background: color-mix(in srgb, var(--key) 10%, var(--panel)); }

/* ---------- run progress ---------- */
.lc-run { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--lc-rs); background: var(--panel); border: 1px solid var(--rule); }
.lc-run-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.lc-run-txt { min-width: 0; overflow-wrap: anywhere; }
.lc-run-bar { margin-top: 10px; height: 8px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--rule) 70%, var(--bg)); }
.lc-run-bar i {
    display: block; height: 100%; width: 3%; border-radius: inherit;
    background: repeating-linear-gradient(-45deg, var(--key) 0 10px, color-mix(in srgb, var(--key) 70%, var(--pop)) 10px 20px);
    background-size: 28px 100%; animation: lc-stripes .8s linear infinite; transition: width .3s ease;
}
@keyframes lc-stripes { to { background-position: 28px 0; } }

/* ---------- empty state ---------- */
.lc-empty { display: flex; align-items: center; gap: 20px; margin: 18px 0 0; padding: 18px 20px; border-radius: var(--lc-r); background: var(--panel); border: 1px dashed var(--rule); }
.lc-empty p { margin: 0; color: var(--quiet); max-width: 52ch; }
.lc-empty-art { flex: none; width: 260px; max-width: 45%; height: auto; }
.lc-ea-node { fill: color-mix(in srgb, var(--lc-unc) 14%, var(--panel)); stroke: color-mix(in srgb, var(--lc-unc) 60%, var(--rule)); stroke-width: 2; }
.lc-ea-amber { fill: color-mix(in srgb, var(--lc-warn) 16%, var(--panel)); stroke: var(--lc-warn); }
.lc-ea-green { fill: color-mix(in srgb, var(--lc-ok) 16%, var(--panel)); stroke: var(--lc-ok); }
.lc-ea-t { font: 700 15px var(--text-font); fill: var(--fg); }
.lc-ea-line { fill: none; stroke: var(--quiet); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 6; animation: lc-dash 1.6s linear infinite; }
@keyframes lc-dash { to { stroke-dashoffset: -24; } }

/* ---------- status colours ---------- */
.lc-c-ok { --c: var(--lc-ok); }
.lc-c-redirect { --c: var(--lc-warn); }
.lc-c-broken { --c: var(--lc-bad); }
.lc-c-unconfirmed, .lc-c-none { --c: var(--lc-unc); }
.lc-c-notchecked, .lc-c-queued { --c: color-mix(in srgb, var(--quiet) 80%, var(--rule)); }
.lc-pill, .lc-bigpill {
    display: inline-block; border-radius: 999px; font-weight: 700; white-space: nowrap;
    background: color-mix(in srgb, var(--c) var(--lc-bg), var(--panel)); color: color-mix(in srgb, var(--c) var(--lc-tx), var(--fg));
    border: 1.5px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.lc-pill { padding: 2px 10px; font-size: 13.5px; }
.lc-bigpill { padding: 10px 22px; font-size: clamp(22px, 4vw, 30px); line-height: 1.15; font-family: var(--display); }

/* ---------- single result ---------- */
.lc-single, .lc-report { margin: 18px 0 0; animation: lc-rise .4s ease both; }
@keyframes lc-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lc-s-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; border-radius: var(--lc-r); background: var(--panel); border: 1px solid var(--rule); }
.lc-s-meta { flex: 1 1 260px; min-width: 0; }
.lc-s-mean { margin: 0; font-size: 17px; font-weight: 600; }
.lc-s-url { margin: 4px 0 6px; color: var(--quiet); overflow-wrap: anywhere; font-size: 15px; }
.lc-puny { color: var(--quiet); }
.lc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.lc-badge-exact { background: color-mix(in srgb, var(--lc-ok) 14%, var(--panel)); color: color-mix(in srgb, var(--lc-ok) var(--lc-tx), var(--fg)); }
.lc-badge-soft { background: color-mix(in srgb, var(--lc-unc) 14%, var(--panel)); color: color-mix(in srgb, var(--lc-unc) 60%, var(--fg)); }
.lc-chainbox { margin-top: 14px; padding: 16px 20px; border-radius: var(--lc-r); background: var(--panel); border: 1px solid var(--rule); }
.lc-h4 { margin: 0 0 10px; font: 700 16px var(--display); }
.lc-chain { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lc-hop { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; animation: lc-hop .45s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 160ms); }
@keyframes lc-hop { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.lc-hop-code {
    flex: none; display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 8px; border-radius: 50%;
    font: 700 17px var(--display); background: color-mix(in srgb, var(--c) var(--lc-bg), var(--panel)); color: color-mix(in srgb, var(--c) var(--lc-tx), var(--fg));
    border: 2px solid var(--c);
}
.lc-hop-body { display: flex; flex-direction: column; min-width: 0; max-width: 300px; }
.lc-hop-url { overflow-wrap: anywhere; font-size: 14px; }
.lc-hop-lab { font-size: 12.5px; color: var(--quiet); }
.lc-hop-arrow { flex: none; color: var(--quiet); }
.lc-warns { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.lc-warn, .lc-tip { margin-top: 4px; padding-left: 12px; border-left: 3px solid var(--lc-warn); }
.lc-warn-bad { border-left-color: var(--lc-bad); }
.lc-tip { border-left-color: var(--lc-ok); }
.lc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.lc-grid > div { padding: 12px 14px; border-radius: var(--lc-rs); background: var(--panel); border: 1px solid var(--rule); min-width: 0; }
.lc-grid dt { font-size: 13px; color: var(--quiet); }
.lc-grid dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.lc-grid dd .lc-sub { font-weight: 400; }
.lc-sub { display: block; font-size: 13px; color: var(--quiet); font-weight: 400; overflow-wrap: anywhere; }
.lc-good { color: color-mix(in srgb, var(--lc-ok) var(--lc-tx), var(--fg)); }
.lc-amber { color: color-mix(in srgb, var(--lc-warn) var(--lc-tx), var(--fg)); }
.lc-bad, .lc-no { color: color-mix(in srgb, var(--lc-bad) var(--lc-tx), var(--fg)); }
.lc-wait { font-style: italic; }
.lc-s-arch { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--lc-rs); background: color-mix(in srgb, var(--pop) 10%, var(--panel)); }
.lc-arch { color: var(--key); font-weight: 600; }
.lc-s-note { margin: 10px 0 0; font-size: 14px; color: var(--quiet); }
.lc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.lc-sep { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--quiet); }
.lc-sep .lc-in { width: auto; min-height: 44px; padding: 6px 30px 6px 10px; font-size: 15px;
    background-image: linear-gradient(45deg, transparent 50%, var(--quiet) 50%), linear-gradient(135deg, var(--quiet) 50%, transparent 50%);
    background-position: right 14px center, right 9px center; background-size: 5px 5px; background-repeat: no-repeat; }

/* ---------- report: tiles, stacked bar, filters ---------- */
.lc-r-h { margin: 0 0 8px; font: 700 19px var(--display); overflow-wrap: anywhere; }
.lc-notes { margin: 0 0 12px; padding: 0; list-style: none; font-size: 14.5px; }
.lc-note { margin-top: 4px; padding: 6px 12px; border-radius: var(--lc-rs); background: var(--panel); border-left: 4px solid color-mix(in srgb, var(--key) 50%, var(--rule)); overflow-wrap: anywhere; }
.lc-note-warn { border-left-color: var(--lc-warn); }
.lc-note-bad { border-left-color: var(--lc-bad); }
.lc-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lc-tile {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 86px; padding: 12px 14px; text-align: left;
    border-radius: var(--lc-r); border: 1.5px solid var(--rule); border-top: 5px solid var(--c, var(--key)); background: var(--panel); color: var(--fg);
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.lc-tile b { font: 700 32px/1.05 var(--display); color: color-mix(in srgb, var(--c, var(--key)) var(--lc-tx), var(--fg)); font-variant-numeric: tabular-nums; }
.lc-tile span { font-size: 14px; font-weight: 600; color: var(--quiet); }
.lc-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--fg) 60%, transparent); }
.lc-tile[aria-pressed="true"] { border-color: var(--c, var(--key)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c, var(--key)) 45%, transparent); }
.lc-t-ok { --c: var(--lc-ok); }
.lc-t-redirect { --c: var(--lc-warn); }
.lc-t-broken { --c: var(--lc-bad); }
.lc-t-unconfirmed { --c: var(--lc-unc); }
.lc-stack { display: flex; height: 12px; margin: 12px 0 0; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--rule) 70%, var(--bg)); }
.lc-stack i { display: block; height: 100%; width: 0; transition: width .7s cubic-bezier(.2, .8, .3, 1); }
.lc-stack [data-seg="ok"] { background: var(--lc-ok); }
.lc-stack [data-seg="redirect"] { background: var(--lc-warn); }
.lc-stack [data-seg="broken"] { background: var(--lc-bad); }
.lc-stack [data-seg="unconfirmed"] { background: var(--lc-unc); }
.lc-more { margin: 8px 0 0; font-size: 14px; color: var(--quiet); min-height: 1em; }
.lc-more .lc-linkbtn[aria-pressed="true"] { color: var(--key); }
.lc-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 10px; }
.lc-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 420px; min-width: 0; }
.lc-search { flex: 0 1 260px; min-width: 0; }
.lc-search .lc-in { min-height: 44px; }

/* ---------- table ---------- */
.lc-tablewrap { overflow-x: auto; border-radius: var(--lc-r); border: 1px solid var(--rule); background: var(--panel); }
.lc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lc-table th { position: sticky; top: 0; background: color-mix(in srgb, var(--key) 8%, var(--panel)); text-align: left; padding: 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.lc-table th button { width: 100%; min-height: 42px; padding: 8px 10px; border: 0; background: none; color: var(--fg); font-weight: 700; font-size: 13.5px; text-align: left; }
.lc-table th button::after { content: " ↕"; color: var(--quiet); font-weight: 400; }
.lc-table th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--key); }
.lc-table th[aria-sort="descending"] button::after { content: " ↓"; color: var(--key); }
.lc-table td { padding: 9px 10px; border-top: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); vertical-align: top; min-width: 0; }
.lc-r { transition: background-color .2s ease; }
.lc-r:hover { background: color-mix(in srgb, var(--key) 4%, var(--panel)); }
.lc-r-broken td:first-child { box-shadow: inset 4px 0 0 var(--lc-bad); }
.lc-td-url { max-width: 340px; }
.lc-u { overflow-wrap: anywhere; }
.lc-x, .lc-kind { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--quiet) 15%, var(--panel)); color: var(--quiet); }
.lc-open { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 4px; vertical-align: middle; border-radius: 6px; color: var(--key); }
.lc-open:hover { background: color-mix(in srgb, var(--key) 10%, var(--panel)); }
.lc-srcico { display: inline-flex; vertical-align: middle; margin-left: 6px; color: var(--quiet); }
.lc-td-st { min-width: 150px; }
.lc-td-st .lc-sub { max-width: 260px; margin-top: 3px; }
.lc-td-an { max-width: 220px; overflow-wrap: anywhere; }
.lc-rel { display: inline-block; margin: 0 4px 3px 0; padding: 0 7px; border-radius: 6px; font-size: 12.5px; background: color-mix(in srgb, var(--quiet) 12%, var(--panel)); }
.lc-rel-on { background: color-mix(in srgb, var(--key) 15%, var(--panel)); color: color-mix(in srgb, var(--key) 80%, var(--fg)); font-weight: 700; }
.lc-issue {
    display: inline-block; margin: 0 4px 4px 0; padding: 1px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
    background: color-mix(in srgb, var(--lc-warn) 15%, var(--panel)); color: color-mix(in srgb, var(--lc-warn) var(--lc-tx), var(--fg));
}
.lc-issue.lc-info { background: color-mix(in srgb, var(--lc-unc) 12%, var(--panel)); color: color-mix(in srgb, var(--lc-unc) 65%, var(--fg)); }
.lc-td-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lc-nomatch { margin: 12px 0; color: var(--quiet); }
.lc-showall { margin-top: 10px; }

/* ---------- history ---------- */
.lc-hist { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 8px; }
.lc-hist-t { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 4px; border: 0; background: none; color: var(--fg); font-weight: 700; }
.lc-hist-t[aria-expanded="true"] svg { transform: rotate(-40deg); }
.lc-hist-t svg { transition: transform .25s ease; }
.lc-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--key); color: var(--panel); font-size: 13px; }
.lc-hist-ol { margin: 4px 0 8px; padding: 0; list-style: none; }
.lc-hist-i {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; width: 100%; min-height: 44px; padding: 7px 10px; text-align: left;
    border: 0; border-radius: var(--lc-rs); background: none; color: var(--fg); transition: background-color .15s ease;
}
.lc-hist-i:hover { background: color-mix(in srgb, var(--key) 7%, var(--panel)); }
.lc-dot { grid-row: span 2; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--c); }
.lc-hist-u { overflow-wrap: anywhere; font-weight: 600; }
.lc-hist-m { grid-column: 2; font-size: 13px; color: var(--quiet); }

/* ---------- toast ---------- */
.lc-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 50; max-width: calc(100vw - 32px); padding: 10px 18px; border-radius: 999px;
    background: var(--fg); color: var(--panel); font-weight: 600; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--fg) 70%, transparent);
    transform: translate(-50%, 20px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.lc-toast.lc-toast-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .lc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .lc-tablewrap { overflow: visible; border: 0; background: none; }
    .lc-table, .lc-table tbody, .lc-table tr, .lc-table td { display: block; width: 100%; }
    .lc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .lc-table tr { margin: 0 0 10px; padding: 8px 12px; border-radius: var(--lc-r); border: 1px solid var(--rule); background: var(--panel); }
    .lc-table td { position: relative; padding: 5px 0 5px 100px; min-height: 30px; border: 0; max-width: none; }
    .lc-table td::before { content: attr(data-label); position: absolute; left: 0; top: 7px; width: 92px; font-size: 12.5px; font-weight: 700; color: var(--quiet); overflow-wrap: anywhere; }
    .lc-table td.lc-td-url { padding-left: 0; padding-top: 4px; font-weight: 600; }
    .lc-table td.lc-td-url::before { display: none; }
    .lc-r-broken td:first-child { box-shadow: none; }
    .lc-r-broken { border-left: 5px solid var(--lc-bad) !important; }
    .lc-pill { white-space: normal; }
}
@media (max-width: 640px) {
    .lc-band { padding: 14px 14px 16px; }
    .lc-tabs { width: 100%; }
    .lc-tab { flex: 1 1 0; justify-content: center; padding: 8px 8px; font-size: 14.5px; }
    .lc-tab svg { display: none; }
    .lc-panel { grid-template-columns: minmax(0, 1fr); }
    .lc[data-mode="single"] .lc-actrow, .lc[data-mode="page"][data-src="url"] .lc-actrow { grid-column: 1; margin-top: 12px; }
    .lc-actrow, .lc-go { width: 100%; }
    .lc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lc-t-all { grid-column: 1 / -1; }
    .lc-tile { min-height: 74px; }
    .lc-tile b { font-size: 27px; }
    .lc-grid { grid-template-columns: minmax(0, 1fr); }
    .lc-empty { flex-direction: column; align-items: flex-start; }
    .lc-empty-art { max-width: 100%; width: 100%; }
    .lc-hop-body { max-width: calc(100vw - 150px); }
    .lc-search { flex: 1 1 100%; }
    .lc-how b { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .lc *, .lc *::before, .lc *::after { animation: none !important; transition: none !important; }
}
@media print {
    .lc-band, .lc-run, .lc-empty, .lc-actions, .lc-filters, .lc-hist, .lc-toast, .lc-mini, .lc-open, .lc-showall, .lc-more .lc-linkbtn { display: none !important; }
    .lc-tablewrap { overflow: visible; border: 0; }
    .lc-table { font-size: 11px; }
    .lc-tile { min-height: 0; box-shadow: none; }
    .lc-single, .lc-report { animation: none; }
}

/* design: sites/<d>/design/site.css */
/* checker-link.com — [D] Dashboard of a link monitoring console.
   Deep-navy strip: header + H1 + docked brand-blue toolbar; light page with tiles/table below.
   Signature: status pills (OK green · redirect amber · broken red · unconfirmed grey) in logo ring and headings. */
:root{
  --bg:#f3f5f8;--key:#0b3d91;--pop:#00b894;
  --cl-strip:#08275e;--cl-strip2:#0a3277;--cl-on:#ffffff;--cl-on2:#d6e2f5;
  --cl-ok:#14945a;--cl-warn:#c27c0e;--cl-bad:#d03a3a;--cl-unc:#64748b;
  --cl-ink2:#2a3446
}
body{background:var(--bg);color:var(--fg);font-family:var(--text-font);-webkit-font-smoothing:antialiased}
::selection{background:color-mix(in srgb,var(--pop) 35%,transparent)}

/* ---------- header: part of the navy strip ---------- */
.ch-hea{background:var(--cl-strip);border:0;box-shadow:none;color:var(--cl-on);position:relative;z-index:5}
.ch-heain{max-width:var(--width);min-height:68px;padding:.55rem 1rem;gap:.8rem 1.6rem;border-bottom:1px solid color-mix(in srgb,var(--cl-on) 12%,transparent)}
.ch-hea .ch-bra{display:inline-flex;align-items:center;gap:.7rem;color:var(--cl-on);font-family:var(--display);font-weight:700;font-size:1.16rem;letter-spacing:0;text-decoration:none}
.ch-hea .ch-bra span{color:var(--cl-on)}
.ch-bra svg{width:38px;height:38px;flex:none;border-radius:50%;box-shadow:0 0 0 3px var(--pop),0 0 0 6px color-mix(in srgb,var(--pop) 22%,transparent)}
.ch-bra svg circle{fill:var(--cl-on)}
.ch-bra svg path{stroke:var(--key);stroke-width:2.3}
.ch-hea .ch-bra:hover svg{box-shadow:0 0 0 3px var(--pop),0 0 0 7px color-mix(in srgb,var(--pop) 35%,transparent)}
.ch-nav{gap:.3rem 1.1rem;align-items:center}
.ch-hea .ch-nav>a{display:inline-flex;align-items:center;min-height:44px;padding:0 .2rem;color:var(--cl-on2);font-size:.98rem;font-weight:600;text-transform:none;letter-spacing:0;text-decoration:none;border-bottom:3px solid transparent;transition:color .15s ease,border-color .15s ease}
.ch-hea .ch-nav>a:hover{color:var(--cl-on)}
.ch-hea .ch-nav>a[aria-current]{color:var(--cl-on);border-bottom-color:var(--pop)}
.ch-hea .ch-cod{display:flex;gap:2px;padding:3px;margin-left:.4rem;border-radius:8px;background:color-mix(in srgb,#000 24%,transparent);font-size:.82rem;font-weight:700}
.ch-hea .ch-cod a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:0 .35rem;border-radius:6px;color:var(--cl-on2);text-decoration:none;letter-spacing:.02em;transition:background-color .15s ease,color .15s ease}
.ch-hea .ch-cod a:hover{color:var(--cl-on);background:color-mix(in srgb,var(--cl-on) 12%,transparent)}
.ch-hea .ch-cod a[aria-current]{background:var(--cl-on);color:var(--key)}
.ch-hea .ch-lan summary{color:var(--cl-on)}
.ch-hea .ch-lanlis a{color:var(--fg)}

/* ---------- first screen: strip continues under the H1 and docks the toolbar ---------- */
.ch-mai{padding-top:0}
.ch-her{position:relative;margin:0;padding:1.7rem 0 1.5rem;background:var(--cl-strip);color:var(--cl-on);
  box-shadow:0 0 0 100vmax var(--cl-strip);clip-path:inset(0 -100vmax);text-align:left;display:block;border-radius:0}
.ch-her>div{max-width:none}
@media (min-width:1000px){.ch-her{background-image:url(/assets/img/d-nodes.svg);background-repeat:no-repeat;background-position:right 0 center;background-size:330px auto;padding-right:360px}}
.ch-her h1{color:var(--cl-on);font-family:var(--display);font-weight:700;font-size:clamp(1.75rem,3.4vw,2.45rem);line-height:1.16;letter-spacing:0;margin:0 0 .5rem;max-width:30ch}
.ch-her .ch-lea{color:var(--cl-on2);font-size:1.06rem;line-height:1.6;max-width:68ch;margin:0;opacity:1}
.ch-her .ch-art{display:none}
.ch-too{position:relative;isolation:isolate;margin:0 0 2.6rem;padding:0;background:none;border:0;box-shadow:none}
.ch-too::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:112px;background:var(--cl-strip);
  box-shadow:0 0 0 100vmax var(--cl-strip);clip-path:inset(0 -100vmax);pointer-events:none}
.ch-too::after{content:"";position:absolute;z-index:-1;left:0;right:0;top:112px;height:1px;background:color-mix(in srgb,var(--key) 18%,transparent);
  box-shadow:0 0 0 100vmax color-mix(in srgb,var(--key) 18%,transparent);clip-path:inset(0 -100vmax);pointer-events:none}

/* ---------- text area: article column + contents rail ---------- */
.ch-lay{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:3rem;align-items:start}
.ch-sec{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:2.6rem 0 0;max-width:46rem}
.ch-sec--guides,.ch-faq{max-width:none}
.ch-cara,.ch-bro,.ch-cara *,.ch-bro *{text-decoration:none}
.ch-lay .ch-sec:first-child{margin-top:.6rem}
.ch-sec>h2{display:flex;align-items:center;gap:.7rem;font-family:var(--display);font-weight:700;font-size:clamp(1.35rem,2.4vw,1.62rem);line-height:1.25;letter-spacing:0;color:var(--fg);margin:0 0 .9rem;padding:0;border:0}
.ch-sec>h2::before{content:"";flex:none;width:26px;height:12px;border-radius:999px;background:var(--cl-ok);box-shadow:inset 0 0 0 2px color-mix(in srgb,#fff 35%,transparent)}
.ch-sec:nth-of-type(4n+2)>h2::before{background:var(--cl-warn)}
.ch-sec:nth-of-type(4n+3)>h2::before{background:var(--key)}
.ch-sec:nth-of-type(4n+4)>h2::before{background:var(--cl-unc)}
.ch-sec>h2::after{content:none}
.ch-sec h3{font-family:var(--display);font-weight:700;font-size:1.14rem;color:var(--fg);margin:1.6em 0 .4em;letter-spacing:0}
.ch-sec p,.ch-sec li{color:var(--cl-ink2);line-height:1.72}
.ch-sec p{margin:0 0 1.05em}
.ch-sec ul,.ch-sec ol{padding-left:1.3rem;margin:0 0 1.1em}
.ch-sec li{margin:.3em 0}
.ch-sec ul>li::marker{color:var(--pop)}
.ch-sec ol>li::marker{color:var(--key);font-weight:700}
.ch-sec strong,.ch-pos strong{color:var(--fg)}
.ch-sec code,.ch-pos code{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:.88em;padding:.08em .38em;border-radius:5px;background:color-mix(in srgb,var(--key) 8%,#fff);color:var(--key);border:1px solid color-mix(in srgb,var(--key) 14%,transparent);overflow-wrap:anywhere}
.ch-sec a:not(.ch-cara):not(.ch-bro):not(.ch-btn),.ch-pos a:not(.ch-poskic):not(.ch-cara):not(.ch-bro),.ch-faq a{color:var(--key);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--pop) 80%,transparent);text-decoration-thickness:2px;text-underline-offset:3px;background:none;transition:text-decoration-color .15s ease,color .15s ease}
.ch-sec a:not(.ch-cara):not(.ch-bro):not(.ch-btn):hover,.ch-faq a:hover{color:var(--cl-strip);text-decoration-color:var(--key)}

/* contents rail */
.ch-toc{position:sticky;top:1.4rem;margin-top:.6rem;padding:0 0 0 1rem;border:0;border-left:2px solid color-mix(in srgb,var(--key) 16%,transparent);background:none;font-size:.9rem}
.ch-toc strong,.ch-toc b{display:block;margin:0 0 .5rem;font-size:.95rem;color:var(--fg);letter-spacing:0;text-transform:none}
.ch-toc ol,.ch-toc ul{list-style:none;margin:0;padding:0}
.ch-toc li{margin:0}
.ch-toc a{display:block;padding:.32rem 0;color:var(--quiet);text-decoration:none;line-height:1.4;border:0;transition:color .15s ease}
.ch-toc a:hover{color:var(--key)}

/* notes, formulas, figures */
.ch-not{background:#fff;border:1px solid var(--rule);border-left:5px solid var(--pop);border-radius:0 var(--round) var(--round) 0;padding:.95em 1.15em;margin:1.4em 0}
.ch-not p:last-child{margin-bottom:0}
.ch-for{background:var(--cl-strip);color:var(--cl-on);border:0;border-radius:var(--round);font-size:.95rem;padding:1em 1.2em}
.ch-for code{background:none;border:0;padding:0;color:inherit;font-size:1em}
.ch-fig{margin:1.8em 0}
.ch-fig img{border:1px solid var(--rule);border-radius:var(--round);background:#fff;box-shadow:0 8px 22px -18px color-mix(in srgb,var(--fg) 60%,transparent)}
.ch-fig figcaption{margin-top:.55rem;font-size:.9rem;color:var(--quiet)}

/* tables read like the checker's result table */
.ch-tabwra{background:#fff;border:1px solid var(--rule);border-radius:var(--round);overflow-x:auto;margin:1.4em 0;box-shadow:0 6px 18px -16px color-mix(in srgb,var(--fg) 60%,transparent)}
.ch-tab{font-size:.95rem;border-collapse:collapse;width:100%}
.ch-tab caption{caption-side:top;text-align:left;padding:.7rem .95rem;font-weight:700;color:var(--fg);background:color-mix(in srgb,var(--key) 5%,#fff);border-bottom:1px solid var(--rule)}
.ch-tab thead th{background:color-mix(in srgb,var(--key) 9%,#fff);color:var(--key);font-weight:700;font-size:.9rem;letter-spacing:0;text-transform:none;border-bottom:2px solid color-mix(in srgb,var(--key) 30%,transparent);padding:.6em .95em;text-align:left;vertical-align:bottom}
.ch-tab td{padding:.62em .95em;border-bottom:1px solid color-mix(in srgb,var(--rule) 75%,transparent);vertical-align:top;color:var(--cl-ink2)}
.ch-tab tbody tr:last-child td{border-bottom:0}
.ch-tab tbody tr:hover td{background:color-mix(in srgb,var(--pop) 6%,#fff)}
.ch-tab td:first-child{font-weight:600;color:var(--fg)}

/* ---------- guide cards (home + hub) ---------- */
.ch-car{gap:1.1rem}
.ch-cara{background:#fff;border:1px solid var(--rule);border-radius:var(--round);box-shadow:none;color:var(--fg);text-decoration:none;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.ch-cara:hover{border-color:var(--key);transform:translateY(-2px);box-shadow:0 12px 24px -18px color-mix(in srgb,var(--key) 70%,transparent)}
.ch-cara--img{overflow:hidden}
.ch-carimg{border-bottom:1px solid var(--rule);background:color-mix(in srgb,var(--key) 6%,#fff)}
.ch-cartxt b,.ch-cara b{font-family:var(--display);font-weight:700;font-size:1.06rem;line-height:1.35;color:var(--fg)}
.ch-cartxt>span,.ch-cara span{color:var(--quiet)}
.ch-carmet{display:inline-flex;align-items:center;gap:.4rem;margin-top:.7rem;font-size:.8rem;font-weight:700;letter-spacing:0;color:var(--cl-ok)}
.ch-carmet::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--pop)}
.ch-bli{gap:.9rem}
.ch-bro{background:#fff;border:1px solid var(--rule);border-radius:var(--round);grid-template-columns:260px 1fr;transition:border-color .2s ease,box-shadow .2s ease}
.ch-bro:hover{border-color:var(--key);box-shadow:0 12px 24px -18px color-mix(in srgb,var(--key) 70%,transparent)}
.ch-bro b{font-family:var(--display);font-size:1.14rem;font-weight:700;color:var(--fg)}

/* ---------- FAQ: answer tiles ---------- */
.ch-faq{margin-top:3rem}
.ch-faqgri{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1rem}
.ch-faqgri>div{background:#fff;border:1px solid var(--rule);border-top:3px solid var(--key);border-radius:var(--round);padding:1rem 1.15rem .4rem}
.ch-faqgri>div:nth-child(3n+2){border-top-color:var(--pop)}
.ch-faqgri>div:nth-child(3n+3){border-top-color:var(--cl-warn)}
.ch-faqgri h3{font-size:1.04rem;line-height:1.38;margin:0 0 .45rem;color:var(--fg)}
.ch-faqgri p{font-size:.96rem;line-height:1.62;color:var(--cl-ink2)}
.ch-faq details{background:#fff;border:1px solid var(--rule);border-radius:var(--round);padding:.2rem 1rem;margin:.6rem 0}
.ch-faq summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;color:var(--fg)}

/* buttons / CTA */
.ch-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.7rem 1.4rem;border-radius:8px;background:var(--key);color:#fff;font-weight:700;text-decoration:none;border:0;border-bottom:3px solid var(--pop);text-transform:none;letter-spacing:0;transition:background-color .15s ease,transform .15s ease}
.ch-btn:hover{background:var(--cl-strip);transform:translateY(-1px)}
.ch-cta{margin:2.4rem 0 1rem;background:#fff;border:1px solid var(--rule);border-radius:var(--round)}

/* breadcrumbs */
.ch-cru{margin:1.2rem 0 .6rem;font-size:.9rem;color:var(--quiet)}
.ch-cru a{color:var(--key);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--key) 35%,transparent)}
.ch-cru a:hover{border-bottom-color:var(--key)}

/* ---------- article ---------- */
.ch-pos{max-width:46rem}
.ch-poshea{margin:.4rem 0 1.4rem}
.ch-poshea h1{font-family:var(--display);font-weight:700;font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.18;letter-spacing:0}
.ch-poshea--split{position:relative;background:var(--cl-strip);color:var(--cl-on);border-radius:0;padding:1.8rem 0;margin:0 0 1.8rem;gap:2rem;
  box-shadow:0 0 0 100vmax var(--cl-strip);clip-path:inset(0 -100vmax)}
.ch-poshea--split h1{color:var(--cl-on)}
.ch-poshea--split .ch-posmet{color:var(--cl-on2)}
.ch-poshea--split .ch-poskic{color:var(--cl-on)}
.ch-poshea--split .ch-poscov img{border:0;box-shadow:0 14px 30px -16px #000}
.ch-pos:has(.ch-poshea--split){max-width:none}
.ch-pos:has(.ch-poshea--split)>:not(.ch-poshea){max-width:46rem;margin-left:auto;margin-right:auto}
.ch-poshea--band{position:relative;background:var(--cl-strip);color:var(--cl-on);border-radius:0;padding:1.9rem 0 1.7rem;margin:0 0 1.6rem;
  box-shadow:0 0 0 100vmax var(--cl-strip);clip-path:inset(0 -100vmax)}
.ch-poshea--band h1{color:var(--cl-on)}
.ch-poshea--band .ch-posmet{color:var(--cl-on2)}
.ch-poskic{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:.6rem;font-size:.85rem;font-weight:700;letter-spacing:0;text-transform:none;color:var(--key);text-decoration:none}
.ch-poskic::before{content:"";width:22px;height:10px;border-radius:999px;background:var(--pop)}
.ch-poshea--band .ch-poskic{color:var(--cl-on)}
.ch-posmet{font-size:.92rem;color:var(--quiet)}
.ch-poscov{margin:0 0 1.6rem}
.ch-poscov img{display:block;width:100%;height:auto;border-radius:var(--round);border:1px solid var(--rule);background:#fff}
.ch-pos .ch-lea{font-size:1.14rem;line-height:1.7;color:var(--fg);margin:0 0 1.6rem;padding-left:1rem;border-left:4px solid var(--pop)}
.ch-pos .ch-sec{margin-top:2.4rem}
.ch-toc--post{position:static;margin:0 0 1.8rem;padding:1rem 1.15rem;background:#fff;border:1px solid var(--rule);border-left:4px solid var(--key);border-radius:0 var(--round) var(--round) 0}
.ch-toc--post ol{list-style:none;counter-reset:tp;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.1rem 1.4rem}
.ch-toc--post li{counter-increment:tp}
.ch-toc--post a{display:flex;gap:.55rem;padding:.35rem 0;color:var(--fg);font-size:.95rem}
.ch-toc--post a::before{content:counter(tp);flex:none;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:color-mix(in srgb,var(--key) 10%,#fff);color:var(--key);font-size:.75rem;font-weight:700}
.ch-toc--chips ol{display:flex;flex-wrap:wrap;gap:.45rem}
.ch-toc--chips a{display:inline-flex;padding:.3rem .75rem;border:1px solid var(--rule);border-radius:999px;background:#fff;color:var(--fg)}
.ch-toc--chips a::before{content:none}

/* ---------- footer: the strip closes the page ---------- */
.ch-foo{background:var(--cl-strip);color:var(--cl-on2);border:0;margin-top:3.5rem;padding:1.8rem 0 2.2rem;font-size:.92rem}
.ch-fooin{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 2rem}
.ch-foo p{margin:0;color:var(--cl-on2);opacity:1}
.ch-foo nav{display:flex;flex-wrap:wrap;gap:.2rem 1.1rem}
.ch-foo a{display:inline-flex;align-items:center;min-height:40px;color:var(--cl-on);opacity:1;text-decoration:none;border-bottom:2px solid transparent}
.ch-foo a:hover{border-bottom-color:var(--pop)}
.ch-foo .ch-cod a{color:var(--cl-on2)}
.ch-foo .ch-cod a[aria-current]{color:var(--key);background:var(--cl-on)}

/* focus stays visible on dark and light */
.ch-hea a:focus-visible,.ch-foo a:focus-visible{outline:3px solid var(--pop);outline-offset:2px;border-radius:4px}

/* tabular figures for codes and counts */
.ch-tab,.ch-carmet,.ch-posmet{font-variant-numeric:tabular-nums}

@media (max-width:980px){
  .ch-lay{grid-template-columns:1fr;gap:0}
  .ch-toc:not(.ch-toc--post){position:static;order:-1;margin:1rem 0 .4rem;padding:.8rem 1rem;border-left:4px solid var(--key);background:#fff;border-radius:0 var(--round) var(--round) 0}
}
@media (max-width:700px){
  .ch-heain{min-height:0;padding:.55rem 1rem .4rem;gap:.2rem .8rem}
  .ch-hea .ch-cod{margin-left:0}
  .ch-her{padding:1.1rem 0 1.1rem}
  .ch-her h1{font-size:1.72rem}
  .ch-her .ch-lea{font-size:1rem}
  .ch-too::before{height:84px}
  .ch-too::after{top:84px}
  .ch-bro{grid-template-columns:1fr}
  .ch-poshea--band{padding:1.4rem 0 1.3rem}
  .ch-fooin{flex-direction:column;align-items:flex-start}
  .ch-tab{font-size:.9rem}
  .ch-tab thead th,.ch-tab td{padding:.55em .7em}
}
@media (prefers-reduced-motion:reduce){
  .ch-cara,.ch-bro,.ch-btn,.ch-hea .ch-nav>a,.ch-hea .ch-cod a{transition:none}
  .ch-cara:hover,.ch-btn:hover{transform:none}
}
