/* IQcad documentation — minor HTML theme tweaks */

/* Slightly tighter table cells */
.wy-table-responsive table td,
.wy-table-responsive table th {
    white-space: normal;
}

/* Monospace code blocks */
div.highlight pre {
    font-size: 0.85em;
    line-height: 1.4;
}

/* Wider content area */
.wy-nav-content {
    max-width: 960px;
}

/* ---- iqcad.iqsoft.xyz overlay: appended to the manual's custom.css by _server/build-docs.sh ---- */
body{font-family:"Inter",system-ui,-apple-system,sans-serif;}
h1,h2,h3,h4,h5,h6,legend,.rst-content .toctree-wrapper>p.caption{font-family:"Archivo","Inter",system-ui,sans-serif;letter-spacing:-.01em;}
.rst-content code,.rst-content tt,code,pre,.rst-content pre.literal-block,.rst-content div[class^=highlight] pre{font-family:"JetBrains Mono",SFMono-Regular,Consolas,monospace;}

a,a:visited{color:#B95209;}
a:hover{color:#9E4507;}

.wy-side-nav-search,.wy-nav-top{background-color:#1D2127;}
.wy-side-nav-search input[type=text]{border-color:#3a414b;}
.wy-nav-side{background:#1C2026;}
.wy-menu-vertical a:hover{background-color:#2A2F37;}
.wy-menu-vertical header,.wy-menu-vertical p.caption{color:#F58220;}
.wy-nav-top a{color:#fff;}

.iq-back{display:block;margin:-6px 0 12px;font-family:"JetBrains Mono",monospace;font-size:12px;color:#9AA3AE!important;text-align:center;}
.iq-back:hover{color:#fff!important;}

.wy-side-nav-search>a.iq-logo{display:block;margin:4px auto 14px;padding:0;}
.wy-side-nav-search>a.iq-logo img{display:block;width:200px;max-width:100%;height:auto;margin:0 auto;padding:0;background:none;border-radius:0;}

.rst-content code.literal,.rst-content tt.literal{color:#C0392B;}
.rst-content footer a{text-decoration:underline;}
.rst-content .admonition .admonition-title,.rst-content .note .admonition-title,.rst-content .seealso .admonition-title{background:#2D6A96;}
.rst-content .tip .admonition-title,.rst-content .hint .admonition-title,.rst-content .important .admonition-title{background:#147A64;}
.rst-content .warning .admonition-title,.rst-content .caution .admonition-title,.rst-content .attention .admonition-title{background:#A3540F;}
.rst-content .danger .admonition-title,.rst-content .error .admonition-title{background:#B03A2E;}
footer,.rst-content footer{color:#5F6670;}
