/* V1.2.9: consistent dark controls, accessible contrast and compact navigator */
:root{--hat129-ink:#f6fbff;--hat129-muted:#c9dfed;--hat129-surface:#142e40;--hat129-raised:#1f435b;--hat129-border:#62859b}
/* Tool rail: make all icons legible even if legacy styles declare opacity */
body.hat062-left-rail #hatStudioMount #hatDock button,
body.hat062-left-rail #hatStudioMount #hatDock button *,
body.hat062-left-rail #hatStudioMount #hatDock .hat062-section {opacity:1!important;color:var(--hat129-ink)!important;filter:none!important;text-shadow:none!important}
body.hat062-left-rail #hatStudioMount #hatDock button{background:transparent!important}
body.hat062-left-rail #hatStudioMount #hatDock button:hover,
body.hat062-left-rail #hatStudioMount #hatDock button[aria-pressed=true],
body.hat062-left-rail #hatStudioMount #hatDock button.hat062-active{background:#286079!important;border-color:#6aa4b7!important}
/* Review dock: dark navy, including every button and nested icon/label. */
body #hat10Dock{background:var(--hat129-surface)!important;color:var(--hat129-ink)!important;border:1px solid var(--hat129-border)!important;box-shadow:0 9px 24px #03121e80!important}
body #hat10Dock .hat10-dock-head{background:transparent!important;border-color:#65859a!important}
body #hat10Dock .hat10-dock-head b,
body #hat10Dock .hat10-dock-tools small,
body #hat10Dock button small{color:var(--hat129-muted)!important;opacity:1!important}
body #hat10Dock .hat10-dock-tools button,
body #hat10Dock button{background:var(--hat129-raised)!important;color:var(--hat129-ink)!important;border:1px solid var(--hat129-border)!important;opacity:1!important}
body #hat10Dock button:hover{background:#30627a!important;border-color:#8ac5d6!important}
body #hat10Dock button[aria-pressed=true]{background:#126d77!important;color:#fff!important;border-color:#70d7c8!important}
body #hat10Dock .hat10-dock-tools button *{opacity:1!important}
/* Property panel: avoid grey/white controls on navy background */
body #hat063Context{color:var(--hat129-ink)!important;background:var(--hat129-surface)!important}
body #hat063Context label,body #hat063Context .hat063-subtitle,body #hat063Context small,
body #hat063Context .hat063-hint,body #hat063Context summary{color:var(--hat129-muted)!important;opacity:1!important}
body #hat063Context button:not(.hat063-swatch),body #hat063Context select,
body #hat063Context input:not([type=color]):not([type=range]){background:#24465b!important;color:var(--hat129-ink)!important;border-color:var(--hat129-border)!important}
body #hat063Context button:hover{border-color:#a2d1dc!important}
/* PDF toolbar no longer floats over the page when enough header room exists. */
body #hat072PageNav.hat129-in-header{
 position:absolute!important;top:5px!important;left:var(--hat129-nav-left,280px)!important;
 right:auto!important;bottom:auto!important;transform:none!important;
 width:max-content!important;max-width:var(--hat129-nav-width,720px)!important;
 flex-wrap:nowrap!important;padding:4px 5px!important;margin:0!important;
 z-index:95!important;box-shadow:none!important;border-radius:9px!important;
}
body #hat072PageNav.hat129-in-header button{min-height:30px!important;min-width:30px!important;padding:3px 6px!important}
body #hat072PageNav.hat129-in-header select{height:30px!important;min-height:30px!important;max-width:78px!important}
body #hat072PageNav.hat129-in-header #hat072Hand{min-width:54px!important;font-size:11px!important}
body #hat072PageNav.hat129-in-header .hat072-page-line,
body #hat072PageNav.hat129-in-header .hat072-nav-line{gap:3px!important}
body #hat072PageNav.hat129-in-header .hat072-doc-icon{display:none!important}
body #hat072PageNav.hat129-in-header #hat072PageCount{margin:0 3px!important;font-size:11px!important}
@media(max-width:700px){body #hat072PageNav.hat129-in-header{position:absolute!important;top:5px!important}}
