/* časť C (návrh Priestor miesta, bod 100): the menu Z blokov (Portal.blocks_menu) — ported from the prototype
   (navrh-priestor-miesta/nastroje/proto.css: .npm-blm, .npm-wantf, .npm-p2, .npm-md); the portal's .pick/.pop/.opt */
.npm-blm { position: relative; display: inline-block; }
.npm-blm > summary { list-style: none; }
.npm-blm > summary::-webkit-details-marker { display: none; }
.npm-blm > summary .term { color: inherit; opacity: .7; font-weight: 500; font-size: 11.5px; margin-left: 4px; }
.npm-blm > .pick-pop { width: 340px; right: auto; z-index: 60; }
.npm-new .npm-blm > .pick-pop { left: auto; right: -12px; }
.npm-new .npm-blm, .npm-new .npm-blm > summary { width: 100%; }
/* each way is its own form: the rows keep the portal's .opt look */
.npm-blm .npm-blf { margin: 0; display: block; }
.npm-blm .opt[disabled] { cursor: default; }
.npm-blm .opt[disabled] > b, .npm-blm .opt[disabled] > .side, .npm-blm .opt[disabled] > small:not(.offwhy) { opacity: .55; }
.pop .opt small.offwhy { color: var(--warn, #f5aa28); }
.npm-blm .npm-blf > p.offwhy { margin: 0 10px 6px 38px; }
.npm-wantf { display: grid; gap: 4px; margin: 2px 10px 8px 34px; }
.npm-wantf .field { min-height: 0; font-size: 13px; }
.pop .npm-p2 { margin: 2px 10px 8px 0; padding-left: 38px; }
/* Model dostane in the menu shows the whole request body; it scrolls inside the menu */
.npm-md { margin: 2px 6px 0; }
.npm-blm .n23own { margin: 0 6px 4px; }
.npm-blm .n23own .pb23 { max-height: min(52vh, 420px); overflow: auto; overscroll-behavior: contain; }
.m2-pt .n23own small.tg23 { display: inline; }
.m2-pt .n23own b { font-size: inherit; }
@media (max-width: 640px) { .npm-blm > .pick-pop { width: min(340px, calc(100vw - 32px)); } }
