/* kwatch dashboard: the preview drawer of the Issues table
   (js/drawer.js). A panel on the right over a shade; under 900px wide
   it covers the screen. The issue inside is the issue page's content.
   No scrollbar-gutter on html: a reserved gutter is an empty scrollbar
   track on every page that fits. The Issues page itself never scrolls
   over 900px (only its table does), and under 900px the drawer covers
   the screen, so hiding the page's overflow shifts nothing in view. */
html.drw-open { overflow: hidden; }
.drw { position: fixed; inset: 0; z-index: var(--z-overlay); }
.drw-shade { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 40%, transparent); }
.drw-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(52rem, 64vw); display: flex; flex-direction: column; background: var(--bg); border-left: 1px solid var(--line); }
.drw-panel:focus { outline: none; }
.drw-panel:focus-visible { outline: var(--focus-width) solid var(--text); outline-offset: calc(-1 * var(--focus-width)); }
.drw-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.drw-nav, .drw-acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.drw-full { display: inline-flex; align-items: center; text-decoration: none; }
.drw-x { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; padding: 0; }
.drw-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 32px; }
.drw-body .detail { max-width: none; }
.drw-body .panel { margin-top: 16px; }
.drw-gone { margin-top: 24px; font-size: 1.375rem; }
.d-fresh { margin: 0 0 12px; }
mark.hl { background: var(--surface); color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; border-radius: var(--radius-chip); padding: 0 1px; }
.d-similar { margin-top: 10px; font-size: var(--t-small); }
@media (max-width: 900px) {
  .drw-panel { width: 100%; border-left: 0; }
  .drw-body { padding: 4px 16px 24px; }
}
@media (max-width: 600px) {
  .drw-bar { gap: 6px; padding: 8px 12px; }
  .drw-bar .btn { padding: 0 10px; }
  /* Icons only: the words stay as the buttons' names. */
  .drw-bar .drw-w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .drw-bar .btn { min-width: var(--hit); justify-content: center; }
  .drw-bar { flex-wrap: nowrap; }
}
@media (prefers-color-scheme: dark) {
}
/* The drawer is narrower than the page: a smaller title. */
.drw-body .d-sum h1 { font-size: 1.75rem; line-height: 1.2; }
.drw-full .drw-i { display: none; transform: rotate(45deg); }
@media (max-width: 600px) { .drw-full .drw-i { display: inline; } }
