/* Dialog „Katalog-PDF erstellen“ (Artikel & Leistungen); Logik in inventory-catalog-pdf.js. */
.modal.catalog-pdf-modal { width: min(960px, calc(100vw - 48px)); }
.catalog-pdf-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; }
.catalog-pdf-section { display: grid; gap: 10px; align-content: start; }
.catalog-pdf-section > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.catalog-pdf-section > header strong { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.catalog-pdf-section > small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.catalog-pdf-all { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.catalog-pdf-categories { display: grid; gap: 6px; max-height: 360px; overflow: auto; padding-right: 4px; }
.catalog-pdf-category { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.catalog-pdf-category:hover { border-color: #c9b6d3; background: #fcfafd; }
.catalog-pdf-category:has(input:checked) { border-color: #b394cc; background: #faf6fc; }
.catalog-pdf-category.sub { margin-left: 22px; padding-left: 26px; position: relative; }
.catalog-pdf-category.sub::before { content: '↳'; position: absolute; left: 10px; top: 50%; transform: translateY(-55%); color: var(--muted); font-size: 12px; }
.catalog-pdf-category > span { display: grid; gap: 1px; min-width: 0; }
.catalog-pdf-category strong { font-size: 13.5px; }
.catalog-pdf-category small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-pdf-category em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.catalog-pdf-category .status { font-size: 11px; min-height: 20px; }
.catalog-pdf-price-modes { display: flex; gap: 18px; flex-wrap: wrap; margin: -2px 0 2px 12px; font-size: 13px; }
.catalog-pdf-price-modes label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.catalog-pdf-modal .field textarea { min-height: 96px; font-size: 13px; line-height: 1.5; }
.catalog-pdf-summary { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 6px; background: #f3edf6; color: #4c2266; font-size: 13.5px; }
.catalog-pdf-summary.empty { background: #fbf3e4; color: #7a5210; }
.catalog-pdf-summary svg { width: 18px; height: 18px; flex-shrink: 0; }
.catalog-pdf-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px; border: 1px dashed #b394cc; border-radius: 6px; color: var(--accent); font-size: 13px; }
.catalog-pdf-progress svg { width: 18px; height: 18px; animation: catalog-pdf-pulse 1.2s ease-in-out infinite; }
.catalog-pdf-note { margin: 12px 0 0; }
@keyframes catalog-pdf-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (max-width: 820px) {
  .catalog-pdf-layout { grid-template-columns: 1fr; }
  .catalog-pdf-categories { max-height: 240px; }
}
