/* =============================================================================
   JES CRM · print.css — print rules for detail pages. Loaded with media="print":
   the frame (top bar, drawer, More ▾, icon rail, module bar) and every control
   disappear, the record fills the sheet. Colours are the light values of
   tokens.css (the dark theme applies to screens only).
   ============================================================================= */
@page { margin: 14mm; }

body { background: var(--color-surface); }

.shell { display: block; min-height: 0; }
.vt-topbar, .vt-drawer, .vt-mega, .vt-rail, .vt-modulebar, .vt-banners, .vt-popover,
.shell-banner, .boot, .dropdown__menu,
.page-header__actions, .btn-row, .btn-group, .tabs__strip, .toast-stack,
.list__toolbar, .list__pager, .filter, .form__footer,
.list-sidebar, .list__actions, .list__searchrow, .list__check, .block__toggle,
button, .btn, dialog { display: none !important; }

/* a block a person collapsed on screen is printed open */
.block__body[hidden] { display: block !important; }

.vt-body { display: block; }
.shell-view { padding: 0; }
.shell-view > * { max-width: none; }

.two-col { grid-template-columns: minmax(0, 1fr); }
.section { break-inside: avoid; box-shadow: none; }
.list__scroll, .child, .data-table__scroll, .matrix__scroll { overflow: visible; }
/* on paper a list is as long as it is, its cells show their whole text and the header is printed once */
.list__scroll { max-height: none; }
.list__table th { position: static; }
.list__table td { max-width: none; white-space: normal; }
.list__clamp { display: block; }

a { color: inherit; text-decoration: none; }
h1, h2, h3 { break-after: avoid; }
tr { break-inside: avoid; }
