/* catalogue-e: compact catalogue (KAM read-only + setup), collapsible categories, customer filter */

/* Category sections: header is a full-width toggle */
.ce-sec { margin-bottom: 8px; overflow: hidden; }
.ce-h { margin: 0; font-size: inherit; }
.ce-gh { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 16px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.ce-gh:hover { background: var(--row-hover); }
.ce-gh:focus-visible { outline-offset: -2px; border-radius: 6px; }
.ce-gh .ic { width: 18px; height: 18px; flex: none; color: var(--muted); transform: rotate(-90deg); transition: transform 0.15s ease; }
.ce-gh[aria-expanded="true"] .ic { transform: none; }
.ce-gn { flex: 1; min-width: 0; font-weight: 700; font-size: 0.9375rem; }
.ce-gc { flex: none; font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.ce-rows { border-top: 1px solid var(--divider); }
.ce-rows > .ce-item:first-child { border-top: 0; }
@media (prefers-reduced-motion: reduce) { .ce-gh .ic { transition: none; } }

/* Compact rows */
.ce-row { min-height: 44px; padding: 6px 16px; gap: 12px; align-items: center; }
.ce-row .code { width: 56px; flex: none; }
.ce-row .what { gap: 1px; }
.ce-row .what b { font-size: 0.9375rem; font-weight: 500; }
.ce-row .what > span:not(.ce-flags) { white-space: normal; }
.ce-flags { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 1px; }
.ce-flags .kind, .ce-flags .flag { font-size: 0.75rem; width: auto; }
.ce-lim { font-size: 0.75rem; font-weight: 600; color: var(--grey-ink); }
.ce-act { flex: none; display: flex; align-items: center; }
.ce-add { min-height: 36px; white-space: nowrap; }
.ce-add .ic { width: 16px; height: 16px; }
.ce-short { display: none; }
@media (max-width: 720px) { .ce-row .ce-add .ce-short { display: inline; } }

/* Setup filter (Needs attention / All items) and customer filter */
.ce-filt, .ce-cfilt { border-bottom: 1px solid var(--divider); }
.ce-cfilt { flex: none; border-bottom: 0; gap: 0 16px; }
.ce-filt .tab, .ce-cfilt .tab { min-height: 44px; }

/* Sample sets */
.ce-kith { gap: 8px 12px; flex-wrap: wrap; }
.kitl li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 10px; align-items: baseline; }
.kitl li .ce-flags { grid-column: 2; margin-top: 0; }

#ce-custlist.ce-busy { opacity: 0.6; transition: opacity 0.15s ease 0.15s; }

@media (max-width: 720px) {
  .ce-gh { padding: 8px 12px; }
  .ce-row { padding: 8px 12px; flex-wrap: nowrap; gap: 4px 10px; }
  .ce-row .what { order: 0; flex: 1 1 auto; flex-basis: auto; }
  .ce-row .code { width: 44px; order: 0; }
  .btn.ce-add { min-height: 44px; min-width: 44px; }
  .ce-tabs .tab, .page .addrow .link, .page .state .btn { min-height: 44px; }
  .setuphint a { display: inline-block; padding: 14px 0; margin: -14px 0; }
  .subnav[aria-label="KAM Request setup"] a { min-height: 44px; }
  .ce-row .ce-add .ce-long { display: none; }
  .ce-kith .ce-add { min-width: 0; }
  .ce-cfilt { width: 100%; }
}
