/* Variant C (Cos 16.11) for the Slides engine: loaded after after-family-newtools-b-slides.css, only by «New Tool Slides C.dc.html». */

/* ===== #07 Presentation Maker · C · 16.11 ===== */
/* Download menu: all 7 items + the «Free…» line are visible (B cut it at 360 px: Print and the line hid in a scroll) */
.nt-page .sb-dlmenu{max-height:none;overflow:visible}

/* back on the notes with a deck: one click back to the slides, mirrors «‹ Your notes» in the editor */
.nt-page .c7-backrow{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap}
.nt-page .c7-fwd::before{display:none}
.nt-page .c7-fwd{padding:0 11px 0 14px}
.nt-page .c7-fwd::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg);margin-left:2px}

/* Undo toast (Delete slide, notes «×», Create over your deck): the shared toast is pointer-events:none, this one takes the click */
.nt-page .c7-undo{display:flex;align-items:center;gap:14px;pointer-events:auto;text-align:left}
.nt-page .c7-undobtn{flex:none;border:0;background:none;padding:2px 4px;margin:-2px -4px;border-radius:6px;font:700 15px var(--font-body);color:var(--surface);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.nt-page .c7-undobtn:hover{background:rgba(255,255,255,.14)}
.nt-page .c7-undobtn:focus-visible{outline:2px solid var(--surface);outline-offset:2px}
:root[data-theme="dark"] .nt-page .c7-undobtn:hover{background:rgba(0,0,0,.1)}

/* reload flash: the empty shared toast showed as a 36×24 ink dot for ~200 ms on editor presets (B too, before this sheet loads):
   the page sets [hidden] on it while it has no message */
.nt-page #tool>.nt-engtoast[hidden]{display:none}

/* real full screen: the show fills the screen (B's iframe pinning is off then) */
.nt-page .sb-show:fullscreen{width:100vw;height:100vh;top:0;bottom:0}
.nt-page .sb-show:fullscreen .sb-showslide{max-width:calc((100vh - 150px) * 16 / 9)}
.nt-page .sb-show.with-notes:fullscreen .sb-showslide{max-width:calc((100vh - 290px) * 16 / 9)}

/* phones: Include = one row of three («Title» short), head = 3 short rows, tools = 2 rows on one axis */
@media(max-width:700px){
  .nt-page .sb-opts{grid-template-columns:repeat(6,minmax(0,1fr))}
  .nt-page .sb-opts .sb-sel{grid-column:span 3}
  .nt-page .sb-opts .sb-chip,.nt-page .sb-opts .sb-chip:last-child{grid-column:span 2;padding:0 8px;gap:5px}
  .nt-page .c7-long{display:none}
  .nt-page .sb-hl{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}
  .nt-page .sb-hl .sb-meta{min-width:0;text-align:right}
  .nt-page .sb-hl .sb-saved{grid-column:1 / -1}
  .nt-page .sb-pos{order:0;width:auto;margin-left:auto}
  .nt-page .sb-tools .sb-popw{order:-3}
  .nt-page .sb-tools .sb-plus,.nt-page .sb-tools .sb-minus{order:-2}
  .nt-page .sb-tools::after{content:"";order:-1;flex-basis:100%;height:0}
  .nt-page .sb-tools .sb-pos{order:0;margin-left:0;margin-right:auto}
  .nt-page .sb-tools .sb-circ{order:1}
  .nt-page .sb-tools .sb-laybtn .sb-pic{display:none}
  .nt-page .sb-tools{gap:8px 6px}
  .nt-page .sb-tools .sb-pill{padding:0 10px;gap:6px}
}
@media(max-width:400px){
  .nt-page .sb-opts .sb-sel{grid-column:1 / -1}
  .nt-page .sb-opts .sb-chip{font-size:13px}
  .nt-page .sb-opts .sb-chip.on::before{display:none}   /* on = green fill and ring; the tick no longer fits beside «Summary» */
}
@media(max-width:360px){
  .nt-page .sb-opts .sb-chip,.nt-page .sb-opts .sb-chip:last-child{padding:0 4px;font-size:12.5px}
}
/* ===== END #07 C ===== */

/* ===== C · 17.11 · Cos's GLOBAL rules G1–G6 (batch-2 review, «сквозная правка всех FIX»), #07 (the only tool on this C page).
   Same values as Kit / Printable / Planner C today, reused 1:1: G1 = Template B .tb-cnt (counter in the field corner),
   G2 = the 99 family drawn plus (.has-plus-icon). ↑ ↓ (Move up / down) and the delete were drawn already (B .sb-circ), kept.
   Rollback = delete down to «END C 17.11» (+ the «Cos 17.11» lines in the engine). ===== */
/* G1 · notes (12,000) and speaker notes (600): the counter inside the field frame, bottom right, left of the resize grip */
.nt-page .c7-tawrap{position:relative;display:block;min-width:0}
.nt-page .c7-tawrap > textarea{display:block;width:100%}
.nt-page .c7-tawrap > .sb-ta{padding-bottom:30px}
.nt-page .sb-snotes .c7-tawrap > .opt-in{padding-bottom:26px}
.nt-page .c7-tawrap > .c7-cnt{position:absolute;right:22px;bottom:7px;margin:0;padding:0 4px;border-radius:4px;background:var(--surface);
  font:500 11px/16px var(--font-mono);font-style:normal;letter-spacing:0;text-transform:none;color:var(--muted);pointer-events:none;white-space:nowrap}
.nt-page .c7-tawrap > .c7-cnt.is-short{color:#A3443E}
:root[data-theme="dark"] .nt-page .c7-tawrap > .c7-cnt.is-short{color:var(--msg-err-ink,#E58A83)}
/* G2 · + Bullet / − Bullet and + Slide: the drawn plus / minus, centred with the label (B typed them as font glyphs) */
.nt-page :is(.sb-plus,.sb-minus)::before,.nt-page .c7-plus::before{content:"";flex:none;width:13px;height:13px;margin:0;background:currentColor;
  -webkit-mask:var(--c7-ic) center/13px 13px no-repeat;mask:var(--c7-ic) center/13px 13px no-repeat}
.nt-page :is(.sb-plus,.c7-plus){--c7-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M7 2v10M2 7h10'/%3E%3C/svg%3E")}
.nt-page .sb-minus{--c7-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 7h10'/%3E%3C/svg%3E")}
.nt-page .c7-plus{display:inline-flex;align-items:center;justify-content:center;gap:7px;vertical-align:middle}
/* ===== END C 17.11 ===== */

/* ===== ITER Cos 18.11 b4-5 own pass (C-PRINCIPLES §8, no notes from Cos) · #07 (the only tool on this page).
   Rollback = delete down to «END ITER 18.11 b4-5». ===== */
/* hierarchy: «Speaker notes» / «From your notes» were mono 11 px caps over 15 px text → a 14 px caption, as the field captions on #21 / #26 */
.nt-page .sb-cap{font:600 14px/1.3 var(--font-body);letter-spacing:0;text-transform:none;color:var(--ink);margin-bottom:7px}
.nt-page .sb-src .sb-cap{margin-bottom:0}
/* phones: the slide strip scrolls sideways → a clear scroll with fading edges, the end slides clear of the fade */
@media(max-width:1000px){
  .nt-page .sb-rail{padding-inline:18px;scroll-padding-inline:18px;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 16px),transparent);mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 16px),transparent)}
}
/* phones: the slide tools in tidy rows — layout full width, + Bullet | + Image halves, then Slide N of M with ↑ ↓ delete
   («+ Image» used to drop alone onto its own line) */
@media(max-width:520px){
  .nt-page .sb-tools .sb-popw{flex:1 1 100%}
  .nt-page .sb-tools .sb-popw .sb-laybtn{width:100%;justify-content:flex-start}
  .nt-page .sb-tools .sb-popw .sb-laybtn .sb-car{margin-left:auto}
  .nt-page .sb-tools :is(.sb-plus,.sb-minus){flex:1 1 0;justify-content:center}
}
/* ===== END ITER 18.11 b4-5 ===== */

/* ===== ITER Cos 19.11 batch 5 notes · #07 Presentation Maker (the only tool on this page) — Cos's 3 remarks.
   Copy before: scratchpad c-b5n/slides/pre/. Rollback = delete down to «END ITER Cos 19.11 batch 5». ===== */
/* i8jmig6 · a hairline under the head (Your notes … Download · Present), edge to edge of the card, so the deck actions
   read apart from the slide work under them */
.nt-page .sb-ed-wrap{gap:18px}
.nt-page .sb-head{margin-inline:-24px;padding:0 24px 16px;border-bottom:1px solid var(--line)}
/* miwryw3 · the open slide's green ring was cut at the top of the rail (the scroll box clipped the 2 px outline + 2 px offset)
   i8jmig6 · the rail = a light plate (surface2 + hairline, the C plate), the stage stays white with its shadow → navigator | slide */
.nt-page .sb-ed{grid-template-columns:166px minmax(0,1fr);gap:20px}
.nt-page .sb-rail{padding:10px 10px 10px 4px;gap:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.nt-page .sb-add{background:var(--surface)}
/* i8jmig6 · the row under the slide: two plates of one height (Speaker notes | From your notes), the white field fills its plate;
   was a bare field next to a grey plate, tops and bottoms on different lines */
.nt-page .sb-below{align-items:stretch}
.nt-page .sb-snotes,.nt-page .sb-src{display:flex;flex-direction:column;padding:12px 14px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.nt-page .sb-snotes .sb-cap{margin-bottom:8px}
.nt-page .sb-src{gap:6px}
.nt-page .sb-snotes .c7-tawrap{flex:1 1 auto;display:flex;flex-direction:column}
.nt-page .sb-snotes .c7-tawrap > textarea{flex:1 1 auto;background:var(--surface)}
:root[data-theme="dark"] .nt-page :is(.sb-rail,.sb-snotes,.sb-src){background:var(--surface2);border-color:var(--line)}

/* tablets: the head is one row again (Your notes · 8 slides · Class | Theme · Download · Present), «Saved» under the meta */
@media(min-width:701px) and (max-width:1000px){
  .nt-page .sb-head{flex-wrap:nowrap}
  .nt-page .sb-hl{flex:1 1 auto}
  .nt-page .sb-head .c7-long{display:none}
  .nt-page .sb-hr{flex:none;flex-wrap:nowrap}
}
/* tablets + phones: the strip is a plate too; the plate is drawn by .sb-ed::before in the rail's grid cell, so the rail's fade
   (mask) fades the slides, not the plate */
@media(max-width:1000px){
  .nt-page .sb-ed{grid-template-columns:minmax(0,1fr);row-gap:18px}
  .nt-page .sb-ed::before{content:"";grid-row:1;grid-column:1;align-self:stretch;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
  .nt-page .sb-ed > .sb-rail{grid-row:1;grid-column:1;border:0;background:none;padding:12px 18px 10px;align-items:flex-start}
  .nt-page .sb-ed > .sb-main{grid-row:2;grid-column:1}
  .nt-page .sb-rail li:last-child{align-self:stretch}
  .nt-page .sb-add{min-height:0;height:100%}
}
/* etbadjm · phones: one clear order — head (Your notes | 8 slides · Class / Saved) · Theme · Download | Present (equal halves) ·
   hairline · the strip · slide tools in two rows: [Layout ··· ↑ ↓ delete] and [+ Bullet | + Image]. «Slide 4 of 8» goes
   (the strip already marks the open slide in green), so no third row of tools */
@media(max-width:700px){
  .nt-page .sb-hl{grid-template-columns:auto minmax(0,1fr);row-gap:2px}
  .nt-page .sb-hl .sb-back{grid-row:1 / span 2;align-self:center}
  .nt-page .sb-hl .sb-saved{grid-column:2;justify-self:end;font-size:11px}
  .nt-page .sb-hr{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .sb-hr .sb-play{width:100%;justify-content:center}
  .nt-page .sb-hr :is(.sb-dlw,.sb-play){min-width:0}
}
@media(max-width:520px){
  .nt-page .sb-tools{gap:8px 6px}
  .nt-page .sb-tools .sb-popw{order:-3;flex:1 1 0;min-width:0}
  .nt-page .sb-tools .sb-popw .sb-laybtn{width:100%;min-width:0}
  .nt-page .sb-tools .sb-circ{order:-2}
  .nt-page .sb-tools::after{order:-1;margin-top:-8px}   /* the line break carried a second 8 px row gap */
  .nt-page .sb-tools .sb-pos{display:none}
  .nt-page .sb-tools > :is(.sb-plus,.sb-minus){order:0;flex:1 1 0;min-width:0}
}
/* 320: «Two columns ⌄» fits beside ↑ ↓ delete (the caret ran over the pill's edge) */
@media(max-width:360px){
  .nt-page .sb-tools{column-gap:4px}
  .nt-page .sb-tools .sb-popw .sb-laybtn{padding:0 10px;gap:4px;font-size:12px;letter-spacing:-.1px}
}
/* ===== END ITER Cos 19.11 batch 5 notes ===== */

/* ===== GO checks 19.11 (batch 4-5, no GO status) · #07 — copy before: scratchpad go-b45/slides/pre/. Rollback = delete down to END. =====
   320: the slide tools stood 4 px apart ([Layout ⌄] ↑ ↓ delete, + Bullet | + Image) → 6 px; the round buttons 32 px so «Two columns ⌄»
   still fits beside them */
@media(max-width:360px){
  .nt-page .sb-tools{column-gap:6px}
  .nt-page .sb-tools .sb-circ{width:32px;height:32px}
  .nt-page .sb-tools .sb-popw .sb-laybtn{height:32px;min-height:32px}   /* one row = one height */
}
/* 320: «Reopen: Why Bees Matter for Our Food» was cut by a pixel or two → the chip may take two lines */
@media(max-width:360px){
  .nt-page .sb-reopen{height:auto;min-height:32px;padding-block:6px;white-space:normal;text-align:left;overflow:visible}
}
/* ===== END GO checks 19.11 · #07 ===== */
