/* Návrh 40 (Peter 1. 11.): Upraviť toto video = one door, four groups; the names of the tools (verb · grey term · when).
   Ported from the prototype's proto.css (.ops40, .g40, .gl40, .opk40, .og40); the term (.tm40) and the half-sentence
   "when" in each row are Peter's decision of 1. 11. ("názvy OK"). */
/* návrh 40 prototype, ported 2. 11. (Peter: "náš návrh vyzeral úplne inak"): the label row "Čo s videom" with one (i)
   on the right; per group an uppercase label and ONE wrapping row of small radios (.ops19.r40: ◉ verb, its grey term,
   a small (i)); "kedy" on hover (title) and in the (i), never a second line; tools that cannot go now wait folded under
   "Ďalšie nástroje (N)". Folded once a tool is chosen: one button "Čo s videom  Vec v obraze Inpainting · Obsah ⌄". */
.ops40d { position: relative; padding-bottom: 10px; }
.ops40d > summary { list-style: none; }
.ops40d > summary::-webkit-details-marker { display: none; }
.opk40 { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line2);
  background: var(--well); color: var(--text); font-size: 13.5px; cursor: pointer; }
.opk40:hover { border-color: var(--accent-line, var(--accent)); }
.opk40 .ilbl { margin: 0; white-space: nowrap; flex: none; }
.opk40 b { font-weight: 650; white-space: nowrap; flex: none; }
.opk40 .og40 { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; }
.opk40 .chev { margin-left: auto; width: 12px; height: 12px; flex: none; color: var(--muted); transition: transform .15s ease; }
/* open: the summary is the prototype's label row (.row.irow): only "ČO S VIDEOM", the (i) at the right edge */
.ops40d[open] > .opk40 { padding: 0 52px 0 0; min-height: 18px; border-color: transparent; background: transparent; margin-bottom: 2px; }
.ops40d[open] > .opk40 > b, .ops40d[open] > .opk40 > .tm40, .ops40d[open] > .opk40 > .og40 { display: none; }
.ops40d[open] > .opk40 .chev { position: absolute; right: 18px; top: 17px; transform: rotate(180deg); }
.ops40d.none40[open] > .opk40 { pointer-events: none; }   /* nothing chosen: nothing to fold into */
.ops40d.none40[open] > .opk40 .chev { display: none; }
.tip40 { display: none; }
.ops40d[open] > .tip40 { display: block; position: absolute; top: 14px; right: 40px; }
.ops40d.none40[open] > .tip40 { right: 18px; }
.ops40 { display: grid; gap: 4px; grid-template-columns: minmax(0, 1fr); }
.g40 { display: grid; gap: 1px; min-width: 0; }
.gl40 { font-size: 10.5px; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); font-weight: 650; margin-top: 2px; }
.ops19.r40 { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 12px; min-width: 0; }
.op40r { display: inline-flex; align-items: center; gap: 2px; min-width: 0; max-width: 100%; }
.op40r > .op19 { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 26px; margin: 0 0 0 -4px; padding: 2px 4px;
  border-radius: 6px; font-weight: 400; font-size: 12.5px; color: var(--text2); text-decoration: none; }
.op40r > .op19 b { font-size: 13px; font-weight: 650; color: var(--text); white-space: nowrap; }
.op40r > .op19.on b { color: var(--accent); }
.tm40 { flex: none; color: var(--faint); font-size: 11px; white-space: nowrap; }
.op40r > .op19 .tm40 { margin-left: -2px; }
.op40r > .tip { flex: none; }
.op40r > .tip > summary { width: 16px; height: 16px; font-size: 10px; }
a.op19, a.op19 .tm40 { text-decoration: none; }
a.op19:hover b { color: var(--accent); }
/* Ďalšie nástroje (N): quiet, folded; inside one tool per line with its reason (the why rule: the reason stands by it) */
.more40 { margin-top: 6px; }
.more40 > summary { list-style: none; cursor: pointer; display: block; font-size: 12px; line-height: 1.4; color: var(--muted); }
.more40 > summary::-webkit-details-marker { display: none; }
.more40 > summary::before { content: "▸"; display: inline-block; width: 12px; font-size: 10px; color: var(--faint); }
.more40[open] > summary::before { content: "▾"; }
.more40 > summary > span { white-space: nowrap; }
.more40 > summary small { color: var(--faint); font-size: 11.5px; margin-left: 4px; }
.more40 > summary:hover > span { color: var(--text); }
.more40 > .col40 { display: grid; gap: 2px; margin-top: 4px; }
.more40 .op40r { display: flex; align-items: flex-start; }
.more40 .op40r > .op19 { flex: 1 1 auto; flex-wrap: wrap; column-gap: 8px; row-gap: 0; cursor: default; padding-top: 3px; padding-bottom: 3px; }
.more40 .op40r > .op19 small { flex: 1 0 100%; padding-left: 20px; color: var(--faint); font-size: 11.5px; line-height: 1.3; white-space: normal; }
.more40 .op40r > .op19.off b, .more40 .op40r > .op19.off .tm40 { color: var(--faint); }
.more40 .op40r > .tip { margin-top: 5px; }
.ops40d .ov40 { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 400; color: var(--muted); }
.ops40d .ov40:hover { color: var(--text); }
/* the term beside a button or a heading (Zväčšiť · Upscale) */
.btn .tm40, .ihead .tm40 { margin-left: 6px; font-weight: 400; }
.btn.primary .tm40 { color: inherit; opacity: .7; }
/* the source of a tool and what is cut from it, said before Vytvoriť */
.src40 { margin: 0; font-size: 12.5px; color: var(--text2); line-height: 1.45; }
.src40 b { color: var(--text); font-weight: 600; }
.cut40 { margin: 4px 0 0; font-size: 12px; color: var(--warn, var(--muted)); line-height: 1.4; }
.say40 { margin: 0 0 6px; font-size: 12.5px; color: var(--text2); line-height: 1.45; }
.seg40 { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.seg40 label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
/* Pomoc › Nástroje na video: what, when, where, the term */
.nt40 { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.nt40 th, .nt40 td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); }
.nt40 th { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 650; }
.nt40 td b { color: var(--text); }
.nt40 .tm40 { display: block; margin-top: 1px; }
.nt40 caption { text-align: left; font-weight: 650; padding: 14px 0 4px; color: var(--text); }
@media (max-width: 700px) { .nt40 td:nth-child(3), .nt40 th:nth-child(3) { display: none; } }
.seg40 label small { color: var(--muted); font-size: 11.5px; }
/* Nové video › Z 3D scény: the 3D preview and the picture of the look, one row each */
.z3d40s { display: grid; gap: 3px; }
.z3d40r { display: flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
.z3d40r .muted { font-size: 12px; }
/* Nové video › Rýchlosť pohybu (Slow motion makes a new video) */
.spd40 { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.spd40 label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
/* the rows never widen the panel */
.ops40 > *, .g40 > * { min-width: 0; }
.ops40d, .opk40 { min-width: 0; max-width: 100%; box-sizing: border-box; }
.opk40 { overflow: hidden; }
.opk40 .tm40 { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nt40page { max-width: 1000px; margin: 24px auto; }
/* návrh 42 G.10: "Ako to funguje" in a tool's (i) and the Technika row — the original names, the node chain wraps */
.ako42 { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
.ako42 p { margin: 3px 0; }
.ako42 code { font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
.ako42-op { display: block; }
