/* TRUEHELM V2.1.3 | Usable document browsing, compartment editing and contrast.
   Source of truth: existing Deep Ocean palette; only presentation overrides. */

/* The vault is part of the normal page, not an undersized scroll trap.
   Manual lists can be as long as necessary, including on iPad. */
body.v211-dark #page .v195-explorer.v214-vault{
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;
}
body.v211-dark #page .v214-vault #v195Browser,
body.v211-dark #page .v214-vault .v195-browser{
  flex:0 0 auto!important;min-height:0!important;max-height:none!important;
  height:auto!important;overflow:visible!important;overscroll-behavior:auto!important;
  display:block!important;touch-action:pan-y;
}
body.v211-dark #page .v214-vault .v195-rows,
body.v211-dark #page .v214-vault .v195-doc-list{
  overflow:visible!important;max-height:none!important;min-height:0!important;
  touch-action:pan-y;
}
body.v211-dark #page .v214-vault .v195-path{scroll-margin-top:94px}
body.v211-dark #page .v214-vault .v195-doc-row{
  background:#102d42!important;border:1px solid #355c70!important;
  color:#e9f5fb!important;
}
body.v211-dark #page .v214-vault .v195-doc-row :is(strong,b){color:#f3fbff!important}
body.v211-dark #page .v214-vault .v195-doc-row :is(small,em,span:not(.v195-doc-icon)){color:#adcbdb!important}
body.v211-dark #page .v214-vault .v195-doc-row:hover{background:#164158!important}

/* Every equipment tile retains the Deep Ocean appearance. The previous
   legacy light-theme tile background caused white on white captions. */
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row{
  background:#102e43!important;border:1px solid #375e73!important;
  color:#eaf7fc!important;box-shadow:none!important;
}
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row :is(strong,b){
  color:#f1f9ff!important;
}
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row :is(small,em,.v212-location){
  color:#b4d0df!important;opacity:1!important;
}
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row .v2-asset-number{
  background:#235364!important;color:#a7f9ff!important;border:1px solid #4f94a6;
}
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row:hover{
  background:#164258!important;border-color:#56a8bb!important;
}
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row.selected{
  background:#19475b!important;border:2px solid #32d6e4!important;
  box-shadow:inset 0 -3px #32d6e4,0 0 0 1px #237f8f!important;
}
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row.selected strong{
  color:#a1f7ff!important;
}
body.v211-dark #page.v210-room-page .v210-room-main .v198-asset-row .v2-asset-grip{
  background:#17435a!important;border-color:#41849a!important;color:#a1f7ff!important;
}
body.v211-dark #page.v210-room-page .v210-room-sidebar .v210-area-link{
  background:#103046!important;border:1px solid #315a6e!important;color:#c9e3ed!important;
}
body.v211-dark #page.v210-room-page .v210-room-sidebar .v210-area-link.selected{
  background:#17465a!important;color:#abf7ff!important;
  border:2px solid #29d2e4!important;
  box-shadow:inset 0 -4px #29d2e4!important;font-weight:800!important;
}
body.v211-dark #page.v210-room-page .v210-room-sidebar .v210-area-link.selected :is(small,span){color:#c4f9ff!important}
body.v211-dark #page.v210-room-page .v210-room-sidebar .v210-area-link:hover{background:#194960!important}

/* Make near-drawing controls usable without hunting beneath dozens of cards. */
body.v211-dark #page.v210-room-page .v213-edit-tools{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;
  background:#112f45!important;border-top:1px solid #365e73;
  border-bottom:1px solid #365e73;color:#eaf9fd;
}
body.v211-dark #page.v210-room-page .v213-edit-tools>strong{
  color:#a5f7ff!important;white-space:nowrap;font-size:12px;
}
body.v211-dark #page.v210-room-page .v213-edit-tools>span{
  flex:1;min-width:145px;font-size:12px;color:#d9f1f9;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body.v211-dark #page.v210-room-page .v213-edit-tools>small{
  flex:1 0 100%;font-size:11px;color:#b4d1df;
}
body.v211-dark #page.v210-room-page .v213-edit-tools .btn:disabled{
  opacity:.45!important;cursor:not-allowed;
}
body.v211-dark #page.v210-room-page .v213-edit-tools .btn:enabled{
  border:1px solid #47c0cb!important;color:#e1fbff!important;
}
/* A selected tab is cyan; yellow remains exclusive to the left main sidebar. */
body.v211-dark :is(.v234-asset-tabs,.v234-part-tabs,.v223-page-tabs,.v223-filter-tabs) button.active,
body.v211-dark :is(.v234-asset-tabs,.v234-part-tabs,.v223-page-tabs,.v223-filter-tabs) button[aria-selected="true"]{
  color:#a8faff!important;background:#17465b!important;
  border-color:#44cedb!important;box-shadow:inset 0 -4px #20d3e4!important;
}
@media(max-width:700px){
  body.v211-dark #page.v210-room-page .v213-edit-tools>span{flex-basis:100%;order:1}
  body.v211-dark #page.v210-room-page .v213-edit-tools>small{order:2}
  body.v211-dark #page .v214-vault{padding:12px!important}
}
