*{margin:0;padding:0;box-sizing:border-box}
:root{--primary:#0F766E;--primary-dark:#115E59;--primary-light:#0E7490;--accent:#B45309;--text:#1F2421;--text-light:#5C554D;--bg:#FBF8F1;--bg-warm:#F2ECE0;--bg-card:#FFFFFF;--border:#E4DDD0;--shadow:0 1px 3px rgba(31,36,33,0.08)}
body{font-family:'Figtree',-apple-system,sans-serif;color:var(--text);line-height:1.7;background:var(--bg)}
a{color:var(--primary);text-decoration:none}a:hover{color:var(--accent);text-decoration:underline}
img{max-width:100%;height:auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(251,248,241,.95);border-bottom:1px solid var(--border);backdrop-filter:blur(8px)}
.header-inner{max-width:1200px;margin:0 auto;padding:.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between}
.site-logo{font-weight:800;font-size:1.1rem;color:var(--text)}.site-logo span{color:var(--primary-light)}.site-logo:hover{text-decoration:none}
.main-nav{display:flex;gap:1.5rem}.main-nav a{color:var(--text-light);font-size:.88rem;font-weight:500;border-bottom:2px solid transparent}.main-nav a:hover{color:var(--primary-light);border-bottom-color:var(--primary-light);text-decoration:none}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;width:28px;height:20px;position:relative}.menu-toggle span,.menu-toggle::before,.menu-toggle::after{display:block;width:100%;height:2px;background:var(--primary-light);position:absolute;left:0}.menu-toggle span{top:9px}.menu-toggle::before{content:'';top:0}.menu-toggle::after{content:'';top:18px}
.mobile-nav{display:none;flex-direction:column;background:var(--bg);border-top:1px solid var(--border);padding:.5rem 1.5rem}.mobile-nav.open{display:flex}.mobile-nav a{padding:.6rem 0;color:var(--text-light);border-bottom:1px solid var(--border)}
.hero{position:relative;min-height:400px;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.3)}.hero-content{position:relative;z-index:2;text-align:center;max-width:720px;padding:3rem 1.5rem;color:#fff}
.hero-badge{display:inline-block;background:var(--primary);color:#fff;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;padding:.35rem 1rem;border-radius:20px;margin-bottom:1rem}
.hero h1{font-size:2.4rem;font-weight:800;line-height:1.2;margin-bottom:.75rem}.hero p{font-size:1.05rem;opacity:.92;max-width:600px;margin:0 auto}
.hero-cta{display:inline-flex;align-items:center;gap:.5rem;background:var(--primary);color:#fff;padding:.75rem 1.75rem;border-radius:8px;font-weight:600;margin-top:1.25rem}.hero-cta:hover{background:var(--primary-dark);text-decoration:none;color:#fff}
.breadcrumb{max-width:1200px;margin:0 auto;padding:.75rem 1.5rem;font-size:.82rem;color:var(--text-light)}.breadcrumb a{color:var(--text-light)}.breadcrumb span{margin:0 .4rem;opacity:.5}
.page-layout{max-width:1200px;margin:0 auto;padding:1.5rem;display:grid;grid-template-columns:1fr 300px;gap:2.5rem}
.article-content{min-width:0}.article-content h2{font-size:1.5rem;font-weight:700;color:var(--text);margin:2rem 0 .75rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}.article-content h2:first-child{margin-top:0}.article-content p{margin-bottom:1rem;font-size:.96rem;color:var(--text)}
.content-image{margin:1.75rem 0;border-radius:10px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border)}.content-image img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}.content-image figcaption{padding:.6rem 1rem;font-size:.82rem;color:var(--text-light);background:var(--bg-card);font-style:italic}
.highlight-box{background:var(--bg-warm);border-left:4px solid var(--primary);padding:1.25rem 1.5rem;border-radius:0 8px 8px 0;margin:1.5rem 0}.highlight-box p{margin-bottom:.5rem;font-size:.93rem;color:var(--text)}.highlight-box p:last-child{margin-bottom:0}
.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:1.5rem 0}.benefit-card{background:var(--bg-card);border-radius:10px;padding:1.25rem;border:1px solid var(--border)}.benefit-card h4{font-size:1rem;font-weight:600;margin-bottom:.4rem;color:var(--text)}.benefit-card p{font-size:.85rem;color:var(--text-light);margin:0}
.article-content h3{font-size:1.15rem;font-weight:600;color:var(--text);margin:1.5rem 0 .5rem}
.article-content ul,.article-content ol{margin:0 0 1rem 1.5rem;font-size:.96rem;color:var(--text)}.article-content li{margin-bottom:.4rem;line-height:1.6}
.article-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.9rem;border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}
.article-content thead{background:var(--primary-dark);color:#fff}
.article-content th{padding:.7rem .9rem;text-align:left;font-weight:600;font-size:.82rem;text-transform:uppercase;letter-spacing:.03em;border-bottom:2px solid var(--primary)}
.article-content td{padding:.65rem .9rem;border-bottom:1px solid var(--border);color:var(--text)}
.article-content tbody tr:nth-child(even){background:var(--bg-warm)}
.article-content tbody tr:hover{background:var(--bg-card)}
@media(max-width:900px){.article-content table{display:block;overflow-x:auto;white-space:nowrap}.article-content th,.article-content td{white-space:normal;min-width:120px}}
.ad-space,.ad-space-inline{display:none}
.sidebar{display:flex;flex-direction:column;gap:1.5rem}.sidebar-widget{background:var(--bg-card);border-radius:10px;padding:1.25rem;border:1px solid var(--border)}.sidebar-widget h3{font-size:.8rem;font-weight:700;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--primary-dark)}.sidebar-nav{display:flex;flex-direction:column;gap:.25rem}.sidebar-nav a{display:block;padding:.4rem .6rem;font-size:.85rem;color:var(--text-light);border-radius:6px}.sidebar-nav a:hover{background:var(--primary);color:#fff;text-decoration:none}
.site-footer{background:#14302E;color:#AFC3BF;margin-top:3rem}.footer-inner{max-width:1200px;margin:0 auto;padding:2.5rem 1.5rem;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:2rem}.footer-brand .site-logo{color:#fff;margin-bottom:.5rem;display:inline-block}.footer-brand p{font-size:.82rem;color:#8FA6A2;margin-top:.5rem}.footer-col h4{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#5EEAD4;margin-bottom:.75rem;font-weight:700}.footer-col a{display:block;font-size:.82rem;color:#AFC3BF;padding:.2rem 0}.footer-col a:hover{color:#5EEAD4;text-decoration:none}.footer-bottom{max-width:1200px;margin:0 auto;padding:1rem 1.5rem;border-top:1px solid rgba(255,255,255,.14);font-size:.75rem;color:#8FA6A2;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
@media(max-width:900px){.page-layout{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr}.main-nav{display:none}.menu-toggle{display:block}.hero h1{font-size:1.8rem}}

.skip-to:focus{position:fixed!important;left:16px;top:16px;opacity:1!important;pointer-events:auto!important;z-index:9999;background:var(--primary);color:#fff;border-radius:6px;padding:8px 16px;outline:2px solid var(--primary);font-size:14px;text-decoration:none}

a:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:2px}
button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.byline{max-width:800px;margin:0 auto .5rem;padding:0 1.5rem;font-size:.85rem;color:var(--text-light)}
.byline strong{color:var(--text)}
.last-reviewed{font-size:.8rem;color:var(--text-light);margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border)}
.faq-section{margin:2rem 0 1.5rem}
.faq-section h2{font-size:1.5rem;font-weight:700;color:var(--text);margin:0 0 1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}
.faq-item{margin-bottom:1.25rem;padding:1rem 1.25rem;background:var(--bg-card);border:1px solid var(--border);border-radius:8px}
.faq-item h3{font-size:1.05rem;font-weight:600;color:var(--text);margin:0 0 .5rem}
.faq-item p{font-size:.93rem;color:var(--text);margin:0}
.related-articles{margin-top:2rem;padding:1.25rem;background:var(--bg-card);border:1px solid var(--border);border-radius:8px}
.related-articles h3{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:.75rem}
.related-articles a{display:block;padding:8px 0;border-bottom:1px solid var(--border);text-decoration:none;color:var(--text-light)}
.related-articles a:last-child{border-bottom:none}
.related-articles a:hover{color:var(--primary-light)}
.related-articles a strong{color:var(--text)}

.article-toc{background:var(--bg-warm);border:1px solid var(--border);border-radius:8px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.article-toc h2,.article-toc h3{font-size:.95rem;font-weight:700;color:var(--text);margin-bottom:.6rem;text-transform:uppercase;letter-spacing:.03em}
.article-toc ol{margin:0 0 0 1.2rem;font-size:.9rem;color:var(--text-light)}
.article-toc li{margin-bottom:.3rem;line-height:1.5}
.article-toc a{color:var(--primary);text-decoration:none}
.article-toc a:hover{text-decoration:underline}
.author-bio-box{display:flex;gap:1.25rem;align-items:flex-start;background:var(--bg-warm);border:1px solid var(--border);border-radius:10px;padding:1.25rem 1.5rem;margin:2rem 0}
.author-bio-box .author-info h3{font-size:.95rem;font-weight:700;color:var(--text);margin-bottom:.25rem}
.author-bio-box .author-info p{font-size:.85rem;color:var(--text-light);line-height:1.5;margin:0}
.author-bio-box .author-info a{color:var(--primary);font-size:.85rem}
@media(max-width:600px){.author-bio-box{flex-direction:column;align-items:center;text-align:center}}
.editorial-note{font-size:.82rem;color:var(--text-light);font-style:italic;margin:1rem 0;padding:.75rem 1rem;border-left:3px solid var(--accent);background:var(--bg-warm);border-radius:0 6px 6px 0}
.counterexample{font-size:.92rem;color:var(--text);margin:1rem 0;padding:.75rem 1rem;border-left:3px solid #d97706;background:#fffbeb;border-radius:0 6px 6px 0}
.case-pattern{font-size:.92rem;color:var(--text);margin:1rem 0;padding:.75rem 1rem;border-left:3px solid #0e7490;background:#ecfeff;border-radius:0 6px 6px 0}
.author-byline{display:flex;gap:1rem;align-items:flex-start;max-width:1200px;margin:0 auto 1rem;padding:1rem 1.5rem;font-size:.88rem;color:var(--text-light)}
.author-byline .byline-avatar{flex-shrink:0;width:42px;height:42px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.95rem}
.author-byline strong{color:var(--text)}
.author-byline .article-toc{flex:1;margin:0}
.widget-intro{font-size:.96rem;color:var(--text-light);margin:.5rem 0 1rem;line-height:1.65}
.kmh-widget-placeholder{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.5rem 1.5rem 1.25rem;margin:1.75rem 0;box-shadow:var(--shadow)}
.kmh-widget-placeholder.is-mounted .widget-loading-state{display:none}
.widget-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}
.widget-header h3{font-size:1.1rem;font-weight:700;color:var(--text);margin:0 0 .35rem;display:flex;align-items:center;gap:.5rem}
.widget-header h3::before{content:'';width:6px;height:20px;background:var(--primary);border-radius:3px}
.widget-tagline{font-size:.88rem;color:var(--text-light);margin:0;line-height:1.5}
.widget-loading-state{padding:1.25rem;text-align:center;background:var(--bg-warm);border-radius:8px;border:1px dashed var(--border);font-size:.88rem;color:var(--text-light)}
.widget-loading-state p{margin:0;font-size:.88rem}
.widget-mount{margin-top:.75rem}
.widget-mount[aria-hidden="true"]{display:none}
.widget-methodology{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.88rem;color:var(--text-light)}
.widget-methodology summary{cursor:pointer;font-weight:600;color:var(--primary-light);padding:.4rem 0;font-size:.9rem;list-style:none;display:flex;align-items:center;gap:.4rem}
.widget-methodology summary::-webkit-details-marker{display:none}
.widget-methodology summary::before{content:'\25B8';display:inline-block;transition:transform .2s;color:var(--primary-light);font-size:.85rem}
.widget-methodology[open] summary::before{transform:rotate(90deg)}
.widget-methodology summary:hover{color:var(--accent)}
.widget-methodology p{margin:.5rem 0;font-size:.85rem;color:var(--text-light);line-height:1.6}
.widget-fieldset{background:var(--bg-warm);border:1px solid var(--border);border-radius:8px;padding:1rem 1.25rem;margin-bottom:1rem}
.widget-fieldset legend{padding:0 .5rem;font-weight:600;color:var(--text);font-size:.92rem}
.widget-question-label{display:block;font-weight:600;color:var(--text);margin-bottom:.5rem;font-size:.92rem;line-height:1.5}
.widget-question-hint{display:block;font-size:.82rem;color:var(--text-light);margin-bottom:.6rem;font-weight:400}
.widget-radio-group,.widget-check-group{display:flex;flex-direction:column;gap:.4rem}
.widget-radio-group label,.widget-check-group label{display:flex;align-items:flex-start;gap:.55rem;padding:.55rem .75rem;background:var(--bg-card);border:1px solid var(--border);border-radius:6px;cursor:pointer;font-size:.9rem;color:var(--text);line-height:1.45;min-height:44px;transition:background .15s,border-color .15s}
.widget-radio-group label:hover,.widget-check-group label:hover{background:var(--bg);border-color:var(--primary)}
.widget-radio-group input,.widget-check-group input{margin-top:.2rem;accent-color:var(--primary)}
.widget-radio-group input:focus-visible,.widget-check-group input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.widget-radio-group label:has(input:checked),.widget-check-group label:has(input:checked){background:rgba(15,118,110,.12);border-color:var(--primary)}
.widget-number-input,.widget-text-input{width:100%;padding:.6rem .75rem;background:var(--bg);border:1px solid var(--border);border-radius:6px;font-size:.95rem;color:var(--text);font-family:inherit;min-height:44px}
.widget-number-input:focus,.widget-text-input:focus{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}
.widget-slider{width:100%;-webkit-appearance:none;appearance:none;height:6px;background:var(--bg);border-radius:3px;outline:none;margin:.5rem 0;border:1px solid var(--border)}
.widget-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;background:var(--primary);border-radius:50%;cursor:pointer;border:2px solid #fff}
.widget-slider::-moz-range-thumb{width:22px;height:22px;background:var(--primary);border-radius:50%;cursor:pointer;border:2px solid #fff}
.widget-slider:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.widget-slider-row{display:grid;grid-template-columns:1fr auto;gap:.5rem;align-items:center}
.widget-slider-value{font-weight:700;color:var(--primary-light);font-size:.95rem;min-width:32px;text-align:center;background:var(--bg);border-radius:4px;padding:.15rem .5rem}
.widget-slider-anchors{display:flex;justify-content:space-between;font-size:.75rem;color:var(--text-light);margin-top:-.25rem}
.widget-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border)}
.widget-button{background:var(--primary);color:#fff;border:none;padding:.7rem 1.4rem;border-radius:6px;font-size:.92rem;font-weight:600;cursor:pointer;min-height:44px;transition:background .15s}
.widget-button:hover{background:var(--primary-dark)}
.widget-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.widget-button:disabled{background:var(--border);color:var(--text-light);cursor:not-allowed}
.widget-button-secondary{background:transparent;color:var(--primary-light);border:1px solid var(--primary);padding:.7rem 1.4rem;border-radius:6px;font-size:.92rem;font-weight:600;cursor:pointer;min-height:44px}
.widget-button-secondary:hover{background:rgba(15,118,110,.10)}
.widget-button-secondary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.widget-results{margin-top:1.25rem;padding:1.25rem;background:var(--bg-warm);border:1px solid var(--border);border-radius:8px}
.widget-results-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid var(--border);flex-wrap:wrap;gap:.5rem}
.widget-results-header h4{font-size:1.05rem;font-weight:700;color:var(--text);margin:0}
.widget-results-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin:.75rem 0}
.widget-result-card{background:var(--bg-card);border:1px solid var(--border);border-left:3px solid var(--primary);border-radius:8px;padding:.85rem 1rem}
.widget-result-card .widget-result-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-light);margin-bottom:.3rem;font-weight:600}
.widget-result-card .widget-result-value{font-size:1.45rem;font-weight:800;color:var(--primary-light);line-height:1.15;margin-bottom:.25rem}
.widget-result-card .widget-result-detail{font-size:.82rem;color:var(--text-light);line-height:1.45}
.widget-verdict-badge{display:inline-block;padding:.3rem .8rem;background:var(--primary);color:#fff;border-radius:14px;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.widget-verdict-band-strong-kb,.widget-verdict-band-stage-5{background:#0E7490}
.widget-verdict-band-lean-kb,.widget-verdict-band-stage-4{background:#22D3EE;color:#0C0E14}
.widget-verdict-band-hybrid,.widget-verdict-band-stage-3{background:var(--accent);color:#fff}
.widget-verdict-band-lean-wiki,.widget-verdict-band-stage-2{background:#D97706;color:#fff}
.widget-verdict-band-strong-wiki,.widget-verdict-band-stage-1{background:#B45309;color:#fff}
.widget-honesty{font-size:.82rem;color:var(--text-light);font-style:italic;margin-top:1rem;padding:.6rem .85rem;border-left:3px solid var(--primary);background:var(--bg);border-radius:0 6px 6px 0;line-height:1.55}
.widget-honesty strong{color:var(--text);font-style:normal}
.widget-error-state{padding:.75rem 1rem;background:rgba(217,119,6,.15);border-left:3px solid var(--accent);color:var(--text);border-radius:0 6px 6px 0;font-size:.88rem;margin-top:.75rem}
.widget-section-heading{font-size:.95rem;font-weight:700;color:var(--text);margin:1rem 0 .5rem;display:flex;align-items:center;gap:.5rem}
.widget-section-heading .widget-section-counter{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:var(--primary);color:#fff;border-radius:50%;font-size:.78rem;font-weight:700}
@media (max-width:600px){.widget-radio-group label,.widget-check-group label{font-size:.88rem;padding:.55rem .7rem}.widget-results-cards{grid-template-columns:1fr}.widget-actions{flex-direction:column}.widget-button,.widget-button-secondary{width:100%}}
@media print {
  .site-header, .mobile-nav, .menu-toggle, .sidebar, .site-footer, .hero-cta, .hero-badge { display: none !important; }
  .hero { min-height: auto !important; padding: 20px 0; }
  .hero-bg { display: none; }
  .hero-content { position: static; color: #000; text-shadow: none; }
  .page-layout { display: block; }
  .article-content { max-width: 100%; }
  body { font-size: 12pt; line-height: 1.5; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .comparison-table { font-size: 9pt; }
  .benefits-grid { display: block; }
  .benefit-card { border: 1px solid #ccc; margin-bottom: 8px; page-break-inside: avoid; }
  .highlight-box { border: 1px solid #999; background: #f5f5f5 !important; }
  img { max-width: 100%; }
  .related-articles { page-break-before: always; }
}
/* Editorial Teal skin: Lora display headings + dark-footer link colors */
.hero h1,.article-content h2,.article-content h3,.faq-section h2,.highlight-box h3,.benefit-card h4,.author-bio-box .author-info h3,.related-articles h3,.widget-header h3,.widget-results-header h4{font-family:'Lora',Georgia,serif}
.footer-bottom a{color:#AFC3BF;text-decoration:underline}.footer-bottom a:hover{color:#5EEAD4}

/* a11y: in-prose link underline (link-in-text-block) */
.article-content p a,.article-content li a{text-decoration:underline}
