/* Desktop workbench. Document surfaces stay white; navigation is quiet and dense. */
:root {
  --navy: #243447;
  --gold: #007acc;
  --ivory: #f5f6f8;
  --muted: #647184;
  --line: #dfe3e8;
  --serif: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ask-composer {
  position: relative;
  width: 100%;
}
.ask-composer textarea {
  display: block;
  width: 100%;
  padding: 10px 44px 12px 10px;
  resize: vertical;
  min-height: 88px;
}
.ask-composer .ask-send {
  position: absolute;
  right: 7px;
  bottom: 8px;
  background: #007acc;
  color: #fff;
  border: 0;
  border-radius: 6px;
}
.ask-composer .ask-send:hover {
  background: #0063a6;
}
body {
  font:
    13px/1.45 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: #f5f6f8;
}
h1,
h2,
h3,
.brand {
  font-family: inherit;
  font-weight: 600;
}
h1 {
  font-size: 21px;
  margin: 0 0 4px;
}
h2 {
  font-size: 15px;
  margin: 0 0 10px;
}
h3 {
  font-size: 14px;
  margin: 0 0 6px;
}
.shell {
  grid-template-columns: 190px minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.sidebar,
.portal-shell .sidebar {
  background: #252b34;
  padding: 14px 8px;
  gap: 15px;
  overflow: auto;
  border-right: 1px solid #171c22;
}
.sidebar .brand {
  font-size: 16px;
  letter-spacing: 1px;
  padding: 0 8px;
}
.brand small {
  display: none;
}
.brand img {
  width: 22px;
  margin: 0 8px 0 0;
}
.sidebar nav {
  gap: 2px;
}
.sidebar nav a {
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 3px;
  min-height: 32px;
}
.sidebar nav a.active {
  background: #394453;
  border-left-color: #4ca9ed;
}
.sidebar .account {
  padding: 8px;
}
.sidebar .account p {
  margin: 5px 0;
}
.content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.topbar {
  min-height: 43px;
  height: 43px;
  padding: 5px 14px;
  gap: 10px;
  background: #fff;
  flex-shrink: 0;
}
.topbar input {
  max-width: 520px;
  flex: 1;
}
.topbar .row {
  gap: 6px;
}
.topbar .language button {
  font-size: 11px;
  padding: 3px 5px;
  min-height: 27px;
}
main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.page-head {
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}
.eyebrow {
  display: none;
}
.page-head p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 12px;
}
button,
.button {
  min-height: 30px;
  padding: 4px 9px;
  font-size: 12px;
  border-radius: 4px;
  gap: 5px;
  background: #fff;
}
button:hover,
.button:hover {
  background: #edf4fb;
  border-color: #9dbbda;
}
.primary {
  background: #007acc;
  color: white;
  border-color: #007acc;
}
.primary:hover {
  background: #0063a6;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
input,
select,
textarea {
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 13px;
}
input,
select {
  min-height: 30px;
}
.panel {
  padding: 14px;
  margin-bottom: 12px;
  background: white;
  border-radius: 5px;
}
.grid {
  gap: 12px;
}
.stats {
  margin: 12px 0;
  border-radius: 5px;
  overflow: hidden;
}
.stat {
  padding: 12px 16px;
}
.stat strong {
  font: 600 25px/1.2 system-ui;
}
.table-wrap {
  margin-bottom: 12px;
  border-radius: 5px;
}
th,
td {
  padding: 8px 10px;
  font-size: 12px;
}
.actions {
  gap: 5px;
}
.row {
  gap: 8px;
}
details {
  margin: 8px 0;
}
.compliance-filters,
.research-filters {
  gap: 10px;
  padding: 12px;
  margin-bottom: 12px;
}
.field-grid {
  gap: 12px;
}
.tabs {
  gap: 3px;
  margin: 10px 0;
}
.tabs a {
  padding: 6px 10px;
}
dialog {
  border-radius: 7px;
}
dialog header {
  padding: 12px 16px;
}
.icon-button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  text-decoration: none;
  border-color: transparent;
  background: transparent;
}
.icon-button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #e8edf3;
}
.sidebar .icon-button {
  color: white;
}
.shell.nav-collapsed {
  grid-template-columns: 52px minmax(0, 1fr);
}
.nav-collapsed .sidebar {
  padding: 10px 4px;
}
.nav-collapsed .sidebar .brand {
  font-size: 0;
  padding: 0 8px;
}
.nav-collapsed .sidebar .brand img {
  margin: 0;
}
.nav-collapsed .sidebar nav a {
  font-size: 0;
  display: flex;
  justify-content: center;
  padding: 8px 2px;
}
.nav-collapsed .sidebar nav a:before {
  content: attr(data-short);
  font-size: 11px;
  font-weight: 600;
}
.nav-collapsed .sidebar .account {
  display: none;
}
.editor-workbench {
  border: 1px solid #cfd6de;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  height: calc(100dvh - 125px);
  min-height: 440px;
  margin-bottom: 12px;
}
.editor-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
  min-height: 37px;
  background: #eceff3;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.editor-tabs [role="tab"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  height: 36px;
  padding: 6px 13px;
  border-top: 2px solid transparent;
}
.editor-tabs [role="tab"].active {
  background: #fff;
  border-top-color: #007acc;
}
.editor-tabs select {
  width: auto;
  max-width: 280px;
  font-size: 11px;
}
.tab-filename {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  text-align: right;
  padding: 0 8px;
  color: var(--muted);
}
.editor-body {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.editor-status {
  font-size: 11px;
  padding: 3px 10px;
  min-height: 23px;
  border-top: 1px solid var(--line);
  background: #f7f9fb;
  flex-shrink: 0;
}
.editor-status.error {
  color: #b42318;
}
.editor-workbench .research-layout {
  display: grid;
  align-items: stretch;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
}
.editor-workbench .research-layout.research-collapsed {
  grid-template-columns: minmax(0, 1fr);
}
.editor-workbench .research-reader {
  padding: 0;
  margin: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.editor-workbench .research-reader > .actions {
  padding: 5px 9px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  flex-shrink: 0;
}
.editor-workbench .research-reader h3 {
  font-size: 12px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}
.editor-workbench .research-reader > p {
  display: none;
}
.editor-workbench .research-side {
  top: 0;
  padding: 10px;
  border: 0;
  border-left: 1px solid var(--line);
  margin: 0;
  max-height: none;
  min-height: 0;
  overflow: auto;
  background: #fafbfd;
  position: relative;
  resize: horizontal;
  min-width: 240px;
  max-width: 600px;
}
.research-side h2 {
  font-size: 13px;
}
.research-side > .actions {
  align-items: center;
  justify-content: space-between;
}
.research-side .panel {
  padding: 10px;
  margin: 10px 0;
}
.research-selection {
  max-height: 85px;
  overflow: auto;
  font-size: 12px;
  padding: 8px;
  margin: 8px 0;
  border-left: 2px solid #007acc;
  background: #eef3f8;
}
.research-text {
  font-size: 13px;
  line-height: 1.6;
}
.research-results {
  font-size: 12px;
}
.research-results h3 {
  margin: 12px 0 6px;
}
.research-results input {
  min-width: 0;
  width: 100%;
}
.research-results .research-form {
  padding: 0;
}
.research-side .selection-menu {
  position: static;
  display: flex;
  gap: 5px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  flex-wrap: wrap;
  margin: 0;
}
.selection-menu[hidden] {
  display: none !important;
}
.selection-menu .icon-button {
  width: 38px;
  height: 34px;
  background: #eef2f7;
  border: 1px solid #d9e1e9;
}
.selection-menu .icon-button:hover {
  background: #dbeaff;
  border-color: #007acc;
}
.document-viewer {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.document-controls {
  padding: 4px 8px;
  gap: 4px;
  border-bottom: 1px solid #e2e6eb;
  background: #fff;
  flex-shrink: 0;
}
.document-controls input[type="number"] {
  width: 55px;
  padding: 3px;
}
.document-controls input[type="search"] {
  width: 180px;
  padding: 4px 7px;
}
.document-controls select {
  font-size: 11px;
}
.document-viewer > p {
  margin: 0;
  padding: 2px 8px;
  font-size: 11px;
}
.document-viewer > p:empty {
  display: none;
}
.document-stage {
  height: auto;
  min-height: 0;
  flex: 1;
  background: #e8ebef;
}
.document-frame {
  padding: 8px;
}
.document-content {
  max-width: 1000px;
  margin: auto;
  padding: 32px 40px;
  min-height: 100%;
  box-shadow: 0 1px 5px #0002;
}
.document-section {
  margin-bottom: 18px;
}
.document-content .research-text {
  font-size: inherit;
}
.editor-workbench > .editor-body > .panel {
  margin: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}
.editor-body > .panel > h2 {
  display: none;
}
.editor-body > .panel > h3 {
  padding: 5px 10px;
}
.editor-body > .panel > a {
  padding: 3px 10px;
}
.mode-pane {
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.draft-toolbar {
  display: flex;
  gap: 7px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.draft-note {
  font-size: 11px;
  margin: 0;
  padding: 5px 10px;
  background: #fff9e9;
  color: #685426;
  flex-shrink: 0;
}
.draft-editor {
  flex: 1;
  resize: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 20px 28px;
  font:
    14px/1.7 Consolas,
    "Cascadia Code",
    monospace;
  tab-size: 2;
  min-height: 240px;
  outline-offset: -2px;
}
.draft-diff {
  overflow: auto;
  flex: 1;
}
.revision-diff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  font:
    12px/1.65 Consolas,
    "Cascadia Code",
    monospace;
  align-content: start;
  min-width: 550px;
}
.diff-heading {
  position: sticky;
  top: 0;
  background: #eef1f5;
  border-bottom: 1px solid #d8dfe7;
  padding: 7px 12px;
  z-index: 1;
  font: 600 12px system-ui;
}
.diff-line {
  display: flex;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-right: 1px solid #e2e6eb;
  min-height: 21px;
  padding-right: 10px;
}
.diff-line.added {
  background: #daf2df;
  border-left: 3px solid #2b8b47;
}
.diff-line.removed {
  background: #fde2e2;
  border-left: 3px solid #c64646;
}
.line-number {
  min-width: 45px;
  width: 45px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 10px;
  margin-right: 10px;
  color: #7c8997;
  background: #00000003;
  user-select: none;
}
.empty-state {
  margin: auto;
  padding: 30px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.focus-editor {
  position: fixed;
  inset: 0;
  z-index: 1000;
  height: 100dvh !important;
  margin: 0;
  border-radius: 0;
}
.editor-workbench:has(.research-side[hidden]) .research-reader {
  grid-column: 1/-1;
}
@media (min-width: 1800px) {
  .editor-workbench .research-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
  .editor-workbench .research-layout.research-collapsed {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  main {
    padding: 12px;
  }
  .editor-workbench .research-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .editor-tabs select {
    max-width: 160px;
  }
  .tab-filename {
    display: none;
  }
  .document-controls input[type="search"] {
    width: 140px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: flex;
    flex-direction: column;
    height: 100dvh;
  }
  .sidebar {
    display: none;
  }
  .shell.nav-collapsed .sidebar {
    display: flex;
    position: fixed;
    left: 0;
    top: 43px;
    bottom: 0;
    width: 190px;
    z-index: 1100;
  }
  .nav-collapsed .sidebar nav a {
    font-size: 12px;
    justify-content: flex-start;
  }
  .nav-collapsed .sidebar nav a:before {
    display: none;
  }
  .nav-collapsed .sidebar .brand {
    font-size: 16px;
  }
  .content {
    flex: 1;
  }
  .topbar {
    padding: 4px 8px;
  }
  .topbar input {
    min-width: 60px;
    width: 100px;
  }
  .topbar .language button {
    padding: 3px;
  }
  .topbar .row {
    gap: 2px;
  }
  main {
    padding: 10px;
  }
  .editor-workbench {
    height: calc(100dvh - 115px);
    min-height: 350px;
  }
  .editor-workbench .research-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-workbench .research-side {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(310px, 90%);
    max-width: 90%;
    z-index: 5;
    box-shadow: -5px 0 20px #0002;
  }
  .editor-workbench .research-side:not([data-open]) {
    display: none;
  }
  .editor-tabs {
    overflow-x: auto;
  }
  .editor-tabs [role="tab"] {
    padding: 5px 8px;
    white-space: nowrap;
  }
  .editor-tabs select {
    max-width: 120px;
  }
  .document-content {
    padding: 18px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-head {
    gap: 8px;
  }
  h1 {
    font-size: 18px;
  }
  .research-layout.research-collapsed .research-side {
    display: none;
  }
}
.editor-workbench .research-layout {
  grid-template-columns: minmax(0, 1fr) 5px var(--tools-width, 310px);
}
.editor-workbench .research-side {
  resize: none;
  min-width: 0;
  max-width: none;
}
.tools-divider {
  background: #e7ebef;
  cursor: col-resize;
  touch-action: none;
}
.sidebar button {
  background: transparent;
  color: #dce4ee;
  border-color: #536071;
}
.sidebar button:hover {
  background: #394453;
}
.diff-full-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 12px;
  border-right: 1px solid #dfe3e8;
}
.diff-hunk-actions {
  grid-column: 1/-1;
  background: #edf2f8;
  padding: 3px 8px;
  text-align: right;
}
.diff-hunk-actions button {
  min-height: 24px;
  font-size: 11px;
  padding: 2px 7px;
}
.research-selection:empty {
  display: none;
}
main.document-mode {
  padding: 8px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.dashboard-columns > div {
  min-width: 0;
}
.dashboard-columns .empty {
  padding: 14px;
}
.dashboard-columns th {
  font-family: inherit;
  letter-spacing: 0.4px;
}
@media (max-width: 900px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}
.document-mode > .page-head {
  display: none;
}
.document-mode > .editor-workbench {
  height: calc(100dvh - 60px);
  margin: 0;
}
.tools-divider:hover,
.tools-divider:focus-visible {
  background: #007acc;
}
.research-collapsed .tools-divider {
  display: none;
}
@media (max-width: 700px) {
  .editor-workbench .research-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tools-divider {
    display: none;
  }
}
/* Matter-wide IDE: activity rail, document explorer, editor and status bar. */
main.matter-mode,
main.document-mode.matter-mode {
  padding: 0;
  overflow: hidden;
  display: flex;
  min-height: 0;
}
.matter-workbench {
  display: grid;
  grid-template-columns: 48px 215px minmax(0, 1fr);
  grid-template-rows: 42px minmax(0, 1fr) 23px;
  flex: 1;
  min-height: 0;
  min-width: 0;
  background: #f4f5f7;
}
.matter-titlebar {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
  border-bottom: 1px solid var(--line);
  background: #f0f1f4;
  min-width: 0;
}
.matter-titlebar h1 {
  font-size: 14px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.matter-titlebar a {
  white-space: nowrap;
  font-size: 12px;
}
.matter-activity {
  background: #252b34;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: auto;
  padding: 4px 0;
  gap: 3px;
}
.matter-activity .icon-button {
  width: 48px;
  min-height: 42px;
  border-radius: 0;
  color: #adb8c6;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.matter-activity .active {
  color: #fff;
  background: #38414e;
  border-left-color: #5db9f9;
}
.matter-activity .icon-button:hover {
  color: #fff;
  background: #38414e;
}
.matter-explorer {
  overflow: auto;
  background: #e9ecf0;
  border-right: 1px solid #d3d8e0;
  padding: 12px 5px;
  min-width: 0;
}
.matter-explorer h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 9px;
}
.explorer-file {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  padding: 7px 6px;
  border-radius: 3px;
  color: #354255;
  text-decoration: none;
}
.explorer-file span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.explorer-file.active,
.explorer-file:hover {
  background: #d3dfef;
}
.file-type {
  font-size: 8px;
  color: #3578b1;
  font-weight: 700;
  min-width: 26px;
}
.matter-explorer > a:last-child {
  font-size: 11px;
  display: block;
  margin: 12px 6px;
}
.matter-center {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}
.matter-tab {
  height: 34px;
  flex-shrink: 0;
  background: #f0f2f5;
  border-bottom: 1px solid var(--line);
  padding: 7px 12px;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-top: 2px solid #007acc;
}
.matter-pane {
  padding: 14px;
  overflow: auto;
  min-height: 0;
  flex: 1;
  min-width: 0;
}
.matter-pane > .panel {
  margin-bottom: 12px;
}
.matter-pane.has-document {
  padding: 0;
  display: flex;
  overflow: hidden;
}
.matter-pane .editor-workbench {
  flex: 1;
  min-height: 0;
  height: 100%;
  margin: 0;
  border: 0;
}
.matter-status {
  grid-column: 1/-1;
  background: #007acc;
  color: #fff;
  padding: 3px 12px;
  font-size: 11px;
}
.matter-workbench.explorer-hidden {
  grid-template-columns: 48px 0 minmax(0, 1fr);
}
.explorer-hidden .matter-explorer {
  visibility: hidden;
  padding: 0;
  border: 0;
}
.office-pane {
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden !important;
  height: 100%;
}
.office-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background: #f4f6f9;
  border-bottom: 1px solid var(--line);
  gap: 10px;
  font-size: 12px;
}
.office-frame {
  border: 0;
  flex: 1;
  width: 100%;
  min-height: 0;
  background: #fff;
}
@media (max-width: 850px) {
  .matter-workbench {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .matter-explorer {
    display: none;
  }
  .matter-activity .icon-button {
    width: 44px;
  }
  .matter-titlebar .muted {
    display: none;
  }
  .matter-titlebar {
    gap: 6px;
    padding: 4px 6px;
  }
  .matter-workbench.explorer-hidden {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .matter-pane {
    padding: 8px;
  }
}
.mode-pane.office-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.office-layout:not(:has(.research-side)),
.office-layout:has(.research-side[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}
.office-stage {
  min-width: 0;
  min-height: 0;
}
@media (max-width: 850px) {
  .mode-pane.office-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep navigation geometry stable while a destination is prepared off-screen. */
.content {
  position: relative;
}
main.route-loading::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 30;
  background: #007acc;
  animation: route-progress 1.2s ease-in-out infinite;
  transform-origin: left;
  pointer-events: none;
}
@keyframes route-progress {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.15);
  }
  50% {
    opacity: 1;
    transform: scaleX(0.85);
  }
}
.sidebar nav a,
.matter-activity .icon-button {
  transition:
    background-color 120ms ease,
    color 120ms ease;
}
.matter-activity {
  border-right: 1px solid #171c22;
  background: #303844;
}
@media (prefers-reduced-motion: reduce) {
  main.route-loading::after {
    animation: none;
  }
  .sidebar nav a,
  .matter-activity .icon-button {
    transition: none;
  }
}

.review-highlights {
  padding: 10px;
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fafbfc;
}
.review-highlights p {
  margin: 6px 0;
}
.risk-highlight {
  border-left: 3px solid #bd7318;
  background: #fff8e9;
  padding: 8px 10px;
  margin: 7px 0;
}
.risk-source-highlight {
  background: #fff1bd;
  box-shadow: -4px 0 #bd7318;
}
.risk-source-highlight:focus {
  outline: 2px solid #007acc;
  outline-offset: 3px;
}
