/* ToolTech Uniform palette; native GizmoSDK-style Doxygen navigation. */
:root { color-scheme:dark; }
body,table,div,p,dl { font-family:Arial,Helvetica,sans-serif; }
body { margin:0; background:#14232f; color:#e1e6e9; }
#titlearea { background:#172c3d; border-bottom:1px solid #39505f; padding:24px 32px 20px; box-sizing:border-box; }
#titlearea table,#titlearea tbody,#projectrow { display:block; }
#projectrow { height:auto; }
#projectlogo,#projectalign { display:block; padding:0; text-align:left; }
#projectlogo img { display:block; width:240px; max-width:70vw; height:auto; margin:0 0 20px; }
#projectname { font-size:26px; font-weight:500; line-height:1.3; letter-spacing:-.02em; color:#e9f3f7; }
#projectnumber { display:inline-block; font-size:12px; font-weight:400; letter-spacing:0; margin-left:12px; color:#a7bcc9; }
#projectbrief { margin-top:6px; font-size:13px; color:#a7bcc9; }
#doc-content,div.contents { background:#14232f; color:#e1e6e9; }
div.header { background:#1b3040; border-bottom:1px solid #39505f; margin:0; }
div.headertitle { padding:22px 32px; }
div.contents { margin:12px; }
div.title { margin:0; font-size:25px; line-height:1.3; font-weight:500; }
a,a:visited,.el { color:#afd5e8; text-underline-offset:3px; }
a:hover { color:#d6edf4; }
h1,h2,h3,.title { color:#e9f3f7; }
h2.groupheader,td h2.groupheader { box-shadow:none; border-bottom:1px solid #39505f; color:#a9d2e3; }
/* Retain Doxygen menu semantics, keyboard controls and active-page markers. */
#main-nav,.sm-dox,.sm-dox ul { background:#1b3040; background-image:none; border-color:#39505f; }
.sm-dox a,.sm-dox a:focus,.sm-dox a:active { background:none; text-shadow:none; color:#e1e6e9; }
.sm-dox a:hover,.sm-dox a.highlighted { background:#28485d; color:#fff; }
.sm-dox a.current { background:#28485d; box-shadow:inset 0 -3px #86bdcd; }
.sm-dox ul a.current { box-shadow:inset 3px 0 #86bdcd; }
.reference-nav { display:flex; flex-wrap:wrap; align-items:center; gap:0 24px; padding:0 32px; background:#172c3d; border-bottom:1px solid #39505f; }
.reference-nav a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; text-decoration:none; }
.reference-nav a[aria-current] { color:#e9f3f7; box-shadow:inset 0 -2px #86bdcd; }
.reference-nav a:hover { text-decoration:underline; }
.reference-nav img { width:26px; height:26px; margin-right:8px; }
a:focus-visible,input:focus-visible { outline:2px solid #9ed5f8; outline-offset:3px; }
.memproto,table.directory tr.even { background:#1c3344; }
.memdoc,div.fragment { background:#122633; }
.memproto,.memdoc { border-color:#39505f; box-shadow:none; }
.memtitle { background:#1c3344; background-image:none; border-color:#39505f; }

div.fragment { overflow:auto; padding:10px; border-color:#39505f; }
.memname { white-space:normal; overflow-wrap:anywhere; }
div.contents > .textblock { max-width:100ch; }
div.contents img { max-width:100%; height:auto; }
table.directory { width:100%; }
table.doxtable th { background:#29495d; }
table.doxtable td,table.doxtable th { border-color:#39505f; }
hr.footer { border-color:#39505f; }
address.footer { padding:12px 32px; color:#a7bcc9; }
@media(max-width:767px) {
 #titlearea { padding:20px 16px 16px; }
 #projectlogo img { width:200px; margin-bottom:16px; }
 #projectname { font-size:24px; }
 #projectnumber { display:block; margin:4px 0 0; }
 .reference-nav { padding:0 16px; gap:0 18px; }
 div.headertitle { padding:18px 16px; }
 div.contents { margin:20px 16px 32px; }
 div.title { font-size:22px; overflow-wrap:anywhere; }
 .contents > table { display:block; overflow-x:auto; }
 address.footer { padding-inline:16px; }
}

/* Current Doxygen category remains visible even with the menu collapsed. */
body[data-reference-category="main"] #main-menu > li > a[href="index.html"],
body[data-reference-category="pages"] #main-menu > li > a[href="pages.html"],
body[data-reference-category="classes"] #main-menu > li > a[href="annotated.html"],
body[data-reference-category="files"] #main-menu > li > a[href="files.html"] {
 background:#28485d; box-shadow:inset 0 -3px #86bdcd; color:#fff;
}

/* Preserve Doxygen's native desktop member layout; constrain only small screens. */
@media(max-width:767px) {
 .memtitle { float:none; box-sizing:border-box; max-width:100%; overflow-wrap:anywhere; }
 .memtitle::after { display:none; }
 div.memitem { clear:both; box-sizing:border-box; display:block!important; width:auto; min-width:0; max-width:100%; overflow-x:auto; }
 div.memproto { overflow-x:auto; }
}
.memtitle::after { background:#1c3344; }
