/* Scoped additions; the original Ithy theme and inline styles remain intact. */
.editorial-revision { overflow-wrap:anywhere; }
.editorial-revision h1 { line-height:1.3; }
.editorial-revision h2, .editorial-revision h3 { scroll-margin-top:2rem; }
.editorial-note { border-inline-start:4px solid #388278; padding:1rem 1.2rem; margin:1.5rem 0; background:rgba(56,130,120,.1); border-radius:8px; }
.editorial-note p { margin:.4rem 0; font-size:15px; line-height:1.6; }
.editorial-toc { border:1px solid rgba(127,168,110,.35); border-radius:8px; padding:1rem; margin:1.5rem 0; }
.editorial-toc ol { padding-inline-start:1.4rem; margin:0; }
.editorial-toc li { margin:.5rem 0; }
.editorial-table { max-width:100%; overflow-x:auto; margin:1.5rem 0; }
.editorial-table table { border-collapse:collapse; width:100%; font-size:16px; line-height:1.6; }
.editorial-table caption { text-align:start; padding:.6rem; font-weight:600; }
.editorial-table th, .editorial-table td { border:1px solid rgba(127,168,110,.4); text-align:start; padding:.75rem; vertical-align:top; min-width:7rem; }
.editorial-table th { background:rgba(56,130,120,.15); }
.crawl-response-table th, .crawl-response-table td { min-width:0; padding:.6rem; }
.crawl-response-table th:not(:first-child), .crawl-response-table td:not(:first-child) { white-space:nowrap; }
.crawl-response-table th:first-child, .crawl-response-table td:first-child { min-width:11rem; max-width:16rem; overflow-wrap:anywhere; }
.crawl-response-table:focus-visible { outline:3px solid #cc9900; outline-offset:3px; }
.editorial-revision pre, .editorial-tool pre { direction:ltr; text-align:left; overflow:auto; padding:1rem; border:1px solid rgba(127,168,110,.4); border-radius:8px; line-height:1.65; font-size:15px; }
.editorial-revision code { overflow-wrap:normal; }
.editorial-revision details { border:1px solid rgba(127,168,110,.4); border-radius:8px; padding:1rem; margin:1rem 0; }
.editorial-revision summary { cursor:pointer; font-weight:600; }
.editorial-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:1.2rem; }
.editorial-cards article { border:1px solid rgba(127,168,110,.4); padding:1.1rem; border-radius:8px; min-width:0; }
.editorial-cards h3 { margin-top:0; }
.editorial-hub a, .editorial-tool a, .editorial-note a, .editorial-toc a { text-decoration:underline; text-underline-offset:3px; }
.editorial-tool form { margin:1.5rem 0; }
.editorial-tool fieldset { min-width:0; border:1px solid rgba(127,168,110,.5); padding:1rem; border-radius:8px; margin:1rem 0; }
.editorial-tool legend { color:#7fa86e; padding:0 .4rem; font-weight:600; }
.editorial-tool label { display:block; margin:.6rem 0; font-size:17px; line-height:1.5; }
.editorial-tool input, .editorial-tool select, .editorial-tool textarea { display:block; box-sizing:border-box; max-width:100%; width:100%; margin:.4rem 0 1rem; padding:.75rem; border:1px solid #888; border-radius:6px; color:inherit; background:transparent; font:inherit; }
.editorial-tool select option { color:#212529; background:#e0ded9; }
.editorial-tool textarea { min-height:6rem; }
.editorial-tool button { font:inherit; font-weight:600; padding:.8rem 1.2rem; border:1px solid #388278; border-radius:8px; color:white; background:#388278; cursor:pointer; margin:.5rem .5rem .5rem 0; min-height:44px; }
.editorial-tool button:disabled { opacity:.55; cursor:default; }
.editorial-tool input:focus-visible, .editorial-tool select:focus-visible, .editorial-tool textarea:focus-visible, .editorial-tool button:focus-visible { outline:3px solid #cc9900; outline-offset:3px; }
.editorial-tool #energy-result { border-inline-start:4px solid #388278; padding:1rem; background:rgba(56,130,120,.1); }
@media(max-width:480px) { .editorial-table th,.editorial-table td { padding:.55rem; font-size:15px; } .editorial-note { padding:.8rem; } }
@media print { .editorial-toc { display:none; } .editorial-table { overflow:visible; } .editorial-table table { font-size:10pt; } .editorial-table th,.editorial-table td { min-width:0; color:#111; } }
