/* UI-03: only action affordances; no changes to dashboard geometry. */
:is(.st-inline-report, body.domain-intelligence-page) .st-ui03-action {
  cursor: pointer;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-ui03-action:hover {
  outline: 1px solid var(--st-line-strong, #8493a6);
  outline-offset: 2px;
  border-radius: 6px;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-ui03-action:focus-visible {
  outline: 2px solid var(--st-blue, #5197ef);
  outline-offset: 3px;
  border-radius: 6px;
}
/* Native dialog is in the top layer and cannot resize the six-card grid. */
#st-evidence-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px;
  box-sizing: border-box;
  border: 0;
  border-left: 1px solid var(--st-line-strong, #525b69);
  background: var(--st-surface, #131923);
  color: var(--st-ink, #ecf2fb);
  box-shadow: -16px 0 48px rgba(0,0,0,.25);
  font: inherit;
  overflow: hidden;
}
#st-evidence-drawer[open] { display: flex; flex-direction: column; gap: 16px; }
#st-evidence-drawer::backdrop { background: rgba(9,13,23,.56); }
#st-evidence-drawer .st-ui03-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; }
#st-evidence-drawer .st-ui03-title { font-size: 20px; line-height: 1.25; margin: 0; color: inherit; }
#st-evidence-drawer .st-ui03-meta, #st-evidence-drawer .st-ui03-foot, #st-evidence-drawer .st-ui03-message, #st-evidence-drawer .st-ui03-owner { font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; margin: 0; color: var(--st-muted, inherit); }
#st-evidence-drawer .st-ui03-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--st-line-strong, #525b69); flex: none; }
#st-evidence-drawer button { font: inherit; font-size: 12px; line-height: 1.35; cursor: pointer; border-radius: 7px; padding: 8px 10px; color: inherit; border: 1px solid var(--st-line-strong, #525b69); background: var(--st-surface-2, #232c3b); }
#st-evidence-drawer button[aria-pressed="true"] { font-weight: 700; outline: 1px solid var(--st-blue, #5197ef); }
#st-evidence-drawer button:focus-visible { outline: 2px solid var(--st-blue, #5197ef); outline-offset: 2px; }
#st-evidence-drawer .st-ui03-content { flex: 1 1 auto; min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; }
#st-evidence-drawer .st-ui03-section-title { font-size: 15px; margin: 0; color: inherit; }
#st-evidence-drawer .st-ui03-record { min-width: 0; border: 1px solid var(--st-line-strong, #525b69); border-radius: 9px; padding: 13px; display: flex; flex-direction: column; gap: 9px; background: var(--st-surface-2, #232c3b); }
#st-evidence-drawer .st-ui03-value { margin: 0; padding: 8px 0; border: 0; background: transparent; font: 12px/1.6 ui-monospace,monospace; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; user-select: text; color: inherit; }
#st-evidence-drawer .st-ui03-copy { align-self: flex-end; }
#st-evidence-drawer .st-ui03-foot { flex: none; padding-top: 12px; border-top: 1px solid var(--st-line-strong, #525b69); }
@media (max-width:600px) {
  #st-evidence-drawer { width: 100%; padding: 16px; border-left: 0; }
}
@media print { #st-evidence-drawer { display: none !important; } }
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-trigger.st-ui03-action {
  cursor: pointer;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-ui03-action :is(.st-category-name, .fact-name, strong) {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  text-decoration-color: var(--st-line-strong, #8493a6);
}
