/* Sidebar navigation only: distinct from the role/logo panel; no dashboard-card redesign. */
#online-workspace-sidebar nav {
  gap:8px;
  margin-top:16px;
  padding:12px;
  border:1px solid #6794a9;
  border-radius:16px;
  background:linear-gradient(155deg,#174c65,#0b3046);
}
#online-workspace-sidebar nav .nav-item {
  box-sizing:border-box;
  min-height:46px;
  padding:11px 13px;
  border:1px solid #6b98ab;
  border-left-width:4px;
  border-radius:10px;
  background:#123e55;
  color:#f0f8fc;
  font-family:inherit;
  font-size:17px;
  font-weight:650;
  line-height:1.35;
  letter-spacing:.01em;
  white-space:normal;
  overflow-wrap:anywhere;
}
#online-workspace-sidebar nav .nav-item:hover {background:#205a72}
#online-workspace-sidebar nav .nav-item:is(.active,[aria-current=page]) {
  background:#ecf7f4;
  color:#0b3c4e;
  border-color:#90c9c4;
  border-left-color:#cb9e29;
  font-weight:750;
}
#online-workspace-sidebar nav .nav-item:focus-visible {outline:3px solid #ffdc75;outline-offset:3px}
/* Keep labels on their own line when their original textareas become optional-note buttons. */
#app .shared-observation-fields label {display:block;margin:16px 0 8px;line-height:1.45}
#app .coordinated-detail-open {display:block;margin:9px 0 20px}
#app .coordinated-detail-summary {margin-top:-10px;margin-bottom:20px}
#app .coordinated-detail-summary[hidden] {display:none}
/* Caption text is a disposable preview field, in both entry and saved-record demo views. */
:is(#demo-entry-preview,#saved-demo-preview) .demo-preview-caption {
  display:block;
  margin:14px 0 8px;
  color:#183c49;
  font-size:16px;
  font-weight:650;
  line-height:1.45;
}
:is(#demo-entry-preview,#saved-demo-preview) .demo-preview-caption textarea {
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  min-height:82px;
  margin-top:8px;
  padding:10px;
  border:1px solid #5c8191;
  border-radius:9px;
  background:#fbfdff;
  color:#173c4d;
  font:inherit;
  font-weight:400;
  resize:vertical;
}
:is(#demo-entry-preview,#saved-demo-preview) .demo-preview-caption textarea:focus-visible {outline:3px solid #a85b14;outline-offset:3px}
@media(max-width:980px) {#online-workspace-sidebar nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0;gap:8px}#online-workspace-sidebar nav .nav-item {width:100%;font-size:16px}}
@media(max-width:520px) {#online-workspace-sidebar {grid-template-columns:minmax(0,1fr)}#online-workspace-sidebar nav {padding:10px}#online-workspace-sidebar nav .nav-item {min-height:46px;padding:9px 10px}}
