/* Smart Tool Hub — shared page chrome
   hubbar / related / hub-faq / hub-article / foot-nav
   Extracted from the 32-rule block that was byte-identical across 52 pages.
   Loaded by every page BEFORE base.css; page-specific rules stay inline. */
.hubbar{position:sticky;top:0;z-index:9999;width:100%;max-width:980px;margin:0 auto;box-sizing:border-box;padding:8px 6px 6px;display:flex}
.hubbar-back{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#4f46e5;text-decoration:none;background:rgba(255,255,255,.92);border:1px solid #e5e9f2;border-radius: 999px;padding:6px 13px;box-shadow:0 2px 8px rgba(16,24,40,.08);backdrop-filter:blur(6px);transition:.15s}
.hubbar-back:hover{border-color:#4f46e5;color:#4338ca}
.related{width:100%;max-width:980px;margin:32px auto 8px;box-sizing:border-box;padding:0 6px}
.related-title{font-size:12px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#5b6b80;margin-bottom:10px}
.related-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:9px}
.related-list a{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#1e2a44;text-decoration:none;background:#fff;border:1px solid #e5e9f2;border-radius: 12px;padding:10px 12px;transition:.15s}
.related-list a:hover{border-color:#4f46e5;color:#4f46e5;transform:translateY(-1px);box-shadow:0 8px 20px rgba(30,42,68,.10)}
.related-list .cur{opacity:.5;pointer-events:none}
.hub-faq{width:100%;max-width:980px;margin:32px auto 0;box-sizing:border-box;padding:0 6px}
.hub-faq h2{font-size:17px;font-weight:800;color:#1e2a44;margin:0 0 12px}
.hub-faq details{background:#fff;border:1px solid #e5e9f2;border-radius: 12px;margin-bottom:8px;overflow:hidden}
.hub-faq summary{cursor:pointer;font-size:14px;font-weight:600;color:#1e2a44;padding:12px 16px;list-style:none;display:flex;justify-content:space-between;align-items:center}
.hub-faq summary::-webkit-details-marker{display:none}
.hub-faq summary::after{content:"+";font-weight:700;color:#4f46e5;font-size:16px}
.hub-faq details[open] summary::after{content:"–"}
.hub-faq details p{margin:0;padding:0 16px 14px;font-size:13.5px;color:#475569;line-height:1.7}
@media (max-width:640px){.related-list{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
.foot-nav{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;margin-bottom:10px}
.foot-nav a{font-size:12px;font-weight:600;color:#5b6b80;text-decoration:none}
.foot-nav a:hover{color:#4f46e5;text-decoration:underline}
.hub-article{width:100%;max-width:980px;margin:32px auto 0;box-sizing:border-box;padding:0 6px}
.hub-article h2{font-size:17px;font-weight:800;color:#1e2a44;margin:0 0 12px}
.hub-article h3{font-size:14.5px;font-weight:700;color:#1e2a44;margin:18px 0 6px}
.hub-article p{font-size:13.5px;color:#475569;line-height:1.75;margin:0 0 10px}
.hub-article ul,.hub-article ol{margin:0 0 10px 22px;font-size:13.5px;color:#475569;line-height:1.75}
.hub-article li{margin-bottom:4px}
.hub-article .formula{background:#fff;border:1px solid #e5e9f2;border-radius: 10px;padding:10px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;color:#1e2a44;margin:0 0 12px;overflow-x:auto}
.hub-article table{width:100%;border-collapse:collapse;font-size:13px;margin:0 0 12px}
.hub-article th,.hub-article td{border:1px solid #e5e9f2;padding:7px 10px;text-align:left;color:#475569}
.hub-article th{background:#f7f8fc;font-weight:700;color:#1e2a44}
