/* časť D (návrh Priestor miesta, 3.6 rows 4, 7, 12, 16): the place card's section „<meno> · priestor“ — ported from the
   prototype (navrh-priestor-miesta/nastroje/proto.css: .npm-pr, .npm-prow, .npm-k, .npm-dot, .npm-pact, .npm-more,
   .npm-kinds); everything else is the portal's own .sechead, .btn, .seg, .pick/.pop/.opt, .tip */
.npm-pr { margin: 0 0 18px; }
.npm-pr .sechead .cmrow { margin-left: auto; }
.npm-prow { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line, #2d3338); border-radius: 12px; margin-top: 8px; }
.npm-prow + .npm-prow { margin-top: 6px; }
.npm-prow > .small.muted { flex: 1 1 auto; min-width: 0; }
.npm-prow > .npm-sp { display: none; }
.npm-prow > .npm-k, .npm-prow > .btn, .npm-prow > form, .npm-prow > .npm-more { flex: none; }
.npm-prow > form { margin: 0; }
.npm-k { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; }
.npm-k .term { color: var(--faint, #8a9298); font-size: 11.5px; font-weight: 400; }
.npm-prow .seg span { height: 24px; font-size: 12.5px; white-space: nowrap; }
.npm-prow .seg label { flex: none; }
.npm-volba { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.npm-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5bbf7a; margin-right: 6px; vertical-align: 1px; flex: none; }
.npm-dot.run { background: #f5aa28; animation: npmb 1.2s infinite; }
.npm-dot.warn { background: #f5aa28; }
.npm-dot.none { background: transparent; border: 1px solid #8a9298; }
@keyframes npmb { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .npm-dot.run { animation: none; } }
.npm-pr > .miesto-veta, .npm-pr > p { margin: 6px 12px 0; }
.npm-pact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.npm-pact > form.m3-ns { display: contents; }
.npm-more { position: relative; }
.npm-more > .pick-pop { left: auto; right: 0; width: 260px; }
.npm-more .npm-del { margin: 0; display: block; }
.npm-more .opt[disabled] { cursor: default; }
.npm-more .opt[disabled] > b, .npm-more .opt[disabled] > small:not(.offwhy) { opacity: .55; }
.pop .opt small.offwhy { color: var(--warn, #f5aa28); }
.npm-pr .offwhy { margin: 0; }
.pick-pop.pick-fixed { height: fit-content; }
/* the panel a ⋯ item or Pozrieť priestor opens under the rows (GET ?priestor=) */
.npm-panel { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line, #2d3338); border-radius: 12px; }
.npm-panel-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.npm-panel-h > b { flex: 1; }
.npm-fotka { margin: 0; } .npm-fotka img { max-width: min(480px, 100%); border-radius: 8px; display: block; }
/* the one upload */
.npm-up { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.npm-up > label.btn { cursor: pointer; }
.npm-up [data-priestor-chyba], .npm-up [data-nahravanie-chyba], .npm-up [data-nahravanie-stav], .npm-up [data-mv-refused] { flex-basis: 100%; }
.npm-up .up83 progress { width: min(320px, 100%); height: 6px; vertical-align: middle; accent-color: var(--accent, #F0B441); }  /* how far the upload is (šiesty preklik) */
.npm-ide:empty { display: none; }
.npm-okno { border: 1px solid var(--line, #2d3338); border-radius: 12px; padding: 14px; max-width: min(460px, calc(100vw - 32px)); background: var(--panel, #1d2124); color: inherit; }
.npm-okno::backdrop { background: rgba(0, 0, 0, .45); }
.npm-okno > p { margin: 0 0 10px; }
.npm-okno > button { margin-top: 10px; }
/* Čo ktorý priestor dovolí: the (i) beside the upload */
.npm-kinds { border-collapse: collapse; width: 100%; font-size: 12.5px; margin: 6px 0; }
.npm-kinds th, .npm-kinds td { text-align: left; padding: 4px 6px; border-top: 1px solid var(--line, #2d3338); vertical-align: top; }
.npm-kinds th { font-weight: 600; }
.npm-kinds th .term { display: block; font-weight: 400; color: var(--faint, #8a9298); font-size: 11px; }
@media (max-width: 640px) {
  .npm-prow { flex-wrap: wrap; }
  .npm-prow > .npm-sp { display: block; }
  .npm-kinds tr:first-child { display: none; }
  .npm-kinds tr { display: grid; grid-template-columns: 92px 1fr; border-top: 1px solid var(--line, #2d3338); padding: 4px 0; }
  .npm-kinds th { grid-column: 1 / -1; border: 0; padding-bottom: 0; }
  .npm-kinds td { display: contents; }
  .npm-kinds td::before { content: attr(data-l); color: var(--muted, #a0a7ad); padding: 1px 6px; }
}
.npm-teraz{display:block;margin-top:6px}
.npm-bloky img { height: auto; aspect-ratio: 16 / 9; background: var(--panel-2, #1b1b1f); }
