/* Documents tab. Uses the board's colours and buttons from styles.css. */
#docs h2 { margin: 18px 0 4px; font-size: 1.1rem; }
#docs .dc-firms { margin: 4px 0 2px; }
#docs .dc-firms button { border-radius: 999px; padding: 8px 18px; }
#docs .dc-head { justify-content: space-between; align-items: flex-end; }
#docs .dc-add { margin: 0; padding: 8px 14px; min-height: 44px; font-size: .95rem; color: var(--brand); }
#docs .dc-list { padding: 0 12px; }
#docs .dc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; align-items: center; width: 100%; min-height: 52px;
  padding: 8px 0; background: transparent; color: var(--text); text-align: left; border-radius: 0; border-top: 1px dashed var(--line); }
#docs .dc-row:first-child { border-top: 0; }
#docs .dc-row b { font-weight: 600; white-space: nowrap; }
#docs .dc-row .meta { min-width: 0; text-align: right; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#docs .dc-row i { font-style: normal; color: var(--muted); font-size: 1.3rem; width: 14px; text-align: center; }
#docs .dc-acct b { font-size: 1.05rem; }
#docs .dc-file { padding-left: 10px; }
dialog.dc-sheet { max-height: calc(100dvh - 32px); overflow-y: auto; }
dialog.dc-sheet h3 { margin: 0 0 2px; }
dialog.dc-sheet .dc-look { margin: 10px 0 4px; }
dialog.dc-sheet .dc-look:empty { margin: 0; }
dialog.dc-sheet .dc-look img, dialog.dc-sheet .dc-look canvas { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; background: #fff; }
dialog.dc-sheet a[aria-disabled=true] { opacity: .5; pointer-events: none; }
dialog.dc-sheet a.big { margin-top: 8px; }
dialog.dc-sheet .dc-close { display: block; width: 100%; margin-top: 6px; }
