/* v193 category navigation */
.tools-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.tools-directory article{display:flex;flex-direction:column;min-width:0}.tools-directory h2 a,.tool-categories a{display:flex;align-items:center;gap:10px}.tools-directory svg,.tool-categories svg{width:26px;height:26px;flex:none;color:#ff943b}.tool-entry{display:block;padding:9px 0;border-bottom:1px solid #ffffff15}.tool-open{margin-top:auto;padding-top:16px;color:#ff943b!important}.tool-categories,.tool-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 20px}.tool-categories a,.tool-jumps a,.tools-back{padding:9px 12px;border:1px solid #ffffff25;border-radius:8px;background:#17191bd9;text-decoration:none}.tool-categories a[aria-current=page]{border-color:#ff792f;color:#ff943b}.tool-categories a:hover,.tool-jumps a:hover,.tool-entry:hover{color:#ff943b}.tool-pending{padding:18px;border:1px solid #ffffff25;border-radius:8px}.technical-page article[id]{scroll-margin-top:24px}@media(max-width:950px){.tools-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.tools-directory{grid-template-columns:1fr}.tool-categories a{flex:1 1 40%;font-size:13px}.tool-categories svg{width:20px;height:20px}.tool-jumps a{font-size:13px}}

.tools-directory article{gap:8px;justify-content:flex-start!important}.tools-directory h2 a{text-decoration:none}.tools-directory .tool-entry{margin:0!important}.tools-directory .tool-open{margin-top:auto!important}.eng-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.eng-tool{min-width:0;justify-content:flex-start!important}.eng-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.eng-fields label{min-width:0}.eng-fields input{width:100%;box-sizing:border-box}.eng-tool output{display:block;margin:12px 0}.eng-tool output div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #ffffff20}.eng-tool output strong{color:#ff943b;text-align:right}.eng-tool canvas{width:100%;height:auto;display:block;background:#101214;border-radius:8px}.eng-tool canvas[hidden]{display:none}.eng-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.eng-actions button{cursor:pointer;padding:8px 12px;color:#ff943b;background:#17191b;border:1px solid #ff792f;border-radius:7px}.eng-tool details{margin-top:10px}.eng-tool summary{cursor:pointer}@media(max-width:750px){.eng-grid{grid-template-columns:1fr!important}}@media(max-width:420px){.eng-fields{grid-template-columns:1fr}}
/* v201: unified INVAR INSIDE controls */

.technical-page .tool-categories a,
.technical-page .tool-jumps a,
.technical-page .tools-back,
.technical-page .tools-directory .tool-entry,
.technical-page .tools-directory .tool-open,
.technical-page .eng-actions button {
    cursor: pointer !important;
    background: linear-gradient(
        180deg,
        #303337 0%,
        #202225 48%,
        #111315 100%
    );
    border: 1px solid #a85e32;
    border-radius: 9px;
    color: #ffb078;
    font-weight: 600;
    text-decoration: none !important;
    padding: 11px 14px;
    box-shadow:
        inset 0 1px 0 #ffffff16,
        0 2px 4px #00000066;
    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        color .2s ease;
    transform: none !important;
}

.technical-page .tool-categories a:hover,
.technical-page .tool-jumps a:hover,
.technical-page .tools-back:hover,
.technical-page .tools-directory .tool-entry:hover,
.technical-page .tools-directory .tool-open:hover,
.technical-page .eng-actions button:hover {
    background: linear-gradient(
        180deg,
        #493124,
        #251c17 55%,
        #151311
    );
    border-color: #ff792f;
    color: #ffd0a8;
    box-shadow:
        inset 0 1px 0 #ffffff20,
        0 0 12px #ff792f40;
}

.technical-page .tool-categories a[aria-current="page"] {
    background: linear-gradient(
        180deg,
        #50301e,
        #2a1c15 55%,
        #171311
    );
    border-color: #ff792f;
    color: #ffb078;
    box-shadow:
        inset 0 0 10px #ff792f25,
        0 0 10px #ff792f40;
}

.technical-page .tools-directory h2 a,
.technical-page .eng-tool summary,
.technical-page #compression button,
.technical-page #compression summary {
    cursor: pointer !important;
}

.technical-page .tools-directory h2 a {
    text-decoration: none !important;
}

.technical-page .tool-categories,
.technical-page .tool-jumps,
.technical-page .eng-actions {
    gap: 8px;
}

.technical-page .tools-directory article {
    gap: 8px;
}

.technical-page .tools-directory .tool-entry,
.technical-page .tools-directory .tool-open {
    text-align: center;
}

.technical-page .tools-directory .tool-open {
    margin-top: auto !important;
}

.technical-page .eng-actions button:focus-visible,
.technical-page .tool-categories a:focus-visible,
.technical-page .tool-jumps a:focus-visible,
.technical-page .tools-back:focus-visible,
.technical-page .tools-directory a:focus-visible {
    outline: 2px solid #ff943b;
    outline-offset: 3px;
}


/* v202: native pointer for calculator navigation */

html body.technical-page .tool-categories a,
html body.technical-page .tool-categories a *,
html body.technical-page .tool-jumps a,
html body.technical-page .tool-jumps a *,
html body.technical-page .tools-back,
html body.technical-page .tools-back *,
html body.technical-page .tools-directory a,
html body.technical-page .tools-directory a *,
html body.technical-page .eng-actions button,
html body.technical-page .eng-actions button * {
    cursor: pointer !important;
}


/* v260: compact directory and single calculator pages */
.technical-page .category-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 24px}.technical-page .category-menu .tool-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #a85e32;border-radius:9px;background:linear-gradient(180deg,#303337,#202225 48%,#111315);color:#ffb078;text-decoration:none;font-weight:600;min-width:0}.technical-page .category-menu .tool-entry::after{content:'→';flex:none;color:#ff943b}.technical-page .category-menu .tool-entry:hover{border-color:#ff943b;color:#ffd0a8}.technical-page .category-menu .tool-entry:focus-visible{outline:2px solid #ff943b;outline-offset:3px}.technical-page .eng-grid.eng-single{grid-template-columns:minmax(0,1fr)!important}.technical-page .eng-single>article{grid-column:1/-1;min-width:0}.technical-page .eng-single>.eng-tool{width:100%;max-width:1000px;box-sizing:border-box;justify-self:center}.technical-page .directory-quick summary{cursor:pointer;color:#ffb078;padding:8px 0}.technical-page .directory-quick .tool-entry{margin-top:6px!important}.technical-page .tools-directory article{align-self:start}.technical-page .directory-quick{min-width:0}@media(max-width:600px){.technical-page .category-menu{grid-template-columns:1fr}}
