/* Shared shell for every page of ournichehub.com: skip link, tool header, breadcrumbs,
   FAQ, footer and article components. Loaded after the page's own stylesheet and uses its
   colour variables (--ink, --muted, --line, --white, --accent or --rust). Markup: scripts/lib/site.mjs. */
:root{--shell-accent:var(--accent,var(--rust,#a44b32))}
.shell-skip{position:absolute;left:12px;top:-100px;z-index:100;background:var(--ink,#222);color:#fff;padding:10px 14px;border-radius:4px;text-decoration:none}
.shell-skip:focus{top:12px}

/* Tool header */
.shell-header{box-sizing:border-box;max-width:var(--frame,1380px);margin:0 auto;padding:20px var(--gutter,32px);display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;border-bottom:1px solid var(--line,#d8ddd2);font-size:14px;line-height:1.4}
.shell-brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:22px;font-weight:700;letter-spacing:-.5px;text-decoration:none}
.shell-brand img{display:block;width:30px;height:30px}
.shell-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;margin:0 0 0 auto;padding:0}
.shell-nav>a{color:var(--ink);font-size:14px;text-decoration:none}
.shell-nav>a:hover,.shell-nav>a[aria-current=page]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.shell-header .language-switcher{display:inline-flex;gap:10px;margin:0;font-size:12px}
.shell-header .language-switcher a{color:var(--muted);text-decoration:none}
.shell-header .language-switcher a[aria-current=page]{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.shell-hub{padding-left:22px;border-left:1px solid var(--line,#d8ddd2);color:var(--muted);font-size:13px;text-decoration:none;white-space:nowrap}
.shell-hub:hover{color:var(--ink);text-decoration:underline;text-underline-offset:5px}

/* Breadcrumbs */
.shell-crumbs{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.5}
.shell-crumbs ol{display:flex;flex-wrap:wrap;gap:2px 8px;list-style:none;margin:0;padding:0}
.shell-crumbs li{margin:0;padding:0;color:inherit;font-size:13px;line-height:1.5}
.shell-crumbs li+li::before{content:"›";margin-right:8px}
.shell-crumbs a{color:inherit}

/* FAQ on tool pages */
.shell-faq{box-sizing:border-box;max-width:860px;margin:0;padding:36px 0 12px}
.shell-faq h2{margin:0 0 14px;color:var(--ink);font-size:24px;font-weight:600;line-height:1.3}
.shell-faq details{padding:14px 0;border-top:1px solid var(--line,#d8ddd2)}
.shell-faq details:last-child{border-bottom:1px solid var(--line,#d8ddd2)}
.shell-faq summary{cursor:pointer;color:var(--ink);font-size:16px;font-weight:600;line-height:1.45}
.shell-faq details p{margin:10px 0 0;color:var(--muted);font-size:15px;line-height:1.75}

/* Footer */
.shell-footer{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;max-width:var(--frame,1380px);margin:32px auto 0;padding:26px var(--gutter,32px) 34px;border-top:1px solid var(--line,#d8ddd2);background:none;color:var(--muted);font-size:13px;line-height:1.6}
.shell-footer.wrap{max-width:none;padding-left:0;padding-right:0}
.shell-footer-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 28px}
.shell-footer nav{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;padding:0}
.shell-footer a,.shell-link{color:inherit;text-decoration:none}
.shell-footer a:hover,.shell-link:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.shell-footer .shell-footer-brand{color:var(--ink);font-weight:700}
.shell-footer-tool{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;color:inherit;font-size:13px}
.shell-link{padding:0;border:0;background:none;font:inherit;cursor:pointer}

/* Page components (guides and text pages) */
p.lede{color:var(--ink);font-size:19px;line-height:1.7}
.in-short,.toc{display:block;margin:24px 0;padding:14px 20px 6px;border:1px solid var(--line,#d8ddd2);border-radius:8px;background:var(--white,#fff)}
.in-short{border-left:4px solid var(--shell-accent)}
p.in-short-title,.toc p{margin:0 0 6px;color:var(--ink);font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}
.in-short ul,.toc ol{margin:0 0 8px;padding-left:20px}
.in-short li,.toc li{margin:0 0 4px;font-size:15px;line-height:1.6}
.table-wrap{overflow-x:auto;margin:8px 0 22px;border:1px solid var(--line,#d8ddd2);border-radius:8px;background:var(--white,#fff)}
.table-wrap table{display:table;width:100%;border-collapse:collapse;font-size:14px}
.table-wrap th,.table-wrap td{padding:9px 14px;border-bottom:1px solid var(--line,#d8ddd2);text-align:left;vertical-align:top}
.table-wrap th{font-weight:700}
.table-wrap tbody tr:last-child td{border-bottom:0}
.table-wrap tr.both td{background:#fbf6e3;font-weight:650}
main blockquote{margin:0 0 20px;padding:14px 20px;border-left:4px solid var(--shell-accent);border-radius:0 8px 8px 0;background:var(--white,#fff)}
main blockquote p{margin:0;font-style:italic}
p.formula{padding:12px 16px;border:1px dashed var(--line,#d8ddd2);border-radius:8px;background:var(--white,#fff);color:var(--ink);font-family:Consolas,'Courier New',monospace;font-size:15px}
.tool-cta{display:flex;align-items:center;gap:20px;margin:28px 0;padding:16px 20px;border:1px solid var(--ink);border-radius:10px;background:var(--white,#fff)}
.tool-cta p{margin:0;font-size:15px;line-height:1.6}
.tool-cta a{flex-shrink:0;color:var(--ink);font-weight:700}
details.more{margin:0 0 20px;padding:10px 18px;border:1px dashed var(--line,#d8ddd2);border-radius:8px;background:var(--white,#fff)}
details.more summary{cursor:pointer;color:var(--ink);font-weight:700}
details.more[open] summary{margin-bottom:10px}
.checklist li::marker{font-weight:700}

@media(max-width:760px){
.shell-header{padding:14px var(--gutter,18px);gap:10px 16px}.shell-brand{font-size:20px}.shell-brand img{width:26px;height:26px}
.shell-nav{order:3;width:100%;margin:0;gap:6px 16px}.shell-header .language-switcher{margin-left:auto}.shell-header .language-switcher a[aria-current=page]{display:none}.shell-hub{padding:0;border:0}.shell-header .language-switcher+.shell-hub{margin-left:0}.shell-brand+.shell-nav+.shell-hub{margin-left:auto}
.shell-footer{margin-top:24px;padding:22px var(--gutter,18px) 30px}
p.lede{font-size:17px}.tool-cta{flex-direction:column;align-items:flex-start;gap:12px}}
