/* Tutorialul SYNC (/sync/tutorial/), 14 nov 2026. Designul paginii SYNC (carte.css + aplicatii.css); aici doar pașii și machetele. */

.nr-tut__hero { text-align: center; max-width: 760px; margin: 0 auto; padding: 24px 0 8px; }
.nr-tut__titlu { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 14px 0 16px; }
.nr-tut__intro { color: var(--muted, #6b665f); font-size: 18px; line-height: 1.6; }

.nr-tut__taburi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; position: sticky; top: 0; z-index: 30; background: #fff; padding: 12px 0; }
.nr-tut__taburi .nr-btn { width: 100%; min-width: 0; padding-inline: 8px; white-space: normal; }
.nr-tut__taburi .nr-btn[aria-selected="true"] { background: #111; color: #fff; border-color: #111; }
.nr-tut__sub { margin-top: 6px; color: var(--muted, #6b665f); }

.nr-tut__pasi { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: p; display: grid; gap: 64px; }
.nr-tut__pas { counter-increment: p; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.nr-tut__pas::before { content: counter(p); width: 44px; height: 44px; border: 1px solid #111; display: grid; place-items: center; font-weight: 600; font-size: 18px; }
.nr-tut__pas > div { min-width: 0; display: grid; gap: 12px; align-content: start; }
.nr-tut__pas h3 { font-size: 24px; line-height: 1.25; margin: 6px 0 0; }
.nr-tut__pas p { margin: 0; line-height: 1.65; }
.nr-tut__pas .cale { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .86em; background: #f2f0ec; border: 1px solid #e3dfd8; padding: 1px 6px; white-space: normal; overflow-wrap: anywhere; }

.nr-tut__lista { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 12px; line-height: 1.6; }
.nr-tut__probleme { margin: 18px 0 0; display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); border-top: 1px solid var(--line, #e5e1da); }
.nr-tut__probleme dt, .nr-tut__probleme dd { margin: 0; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line, #e5e1da); line-height: 1.55; }
.nr-tut__probleme dt { font-weight: 600; }
.nr-tut__final { margin-top: 34px; justify-content: center; }

@media (max-width: 640px) {
  .nr-tut__taburi { gap: 6px; }
  .nr-tut__taburi .nr-btn { font-size: 11px; letter-spacing: .08em; padding: 12px 4px; }
  .nr-tut__pas { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .nr-tut__pas::before { width: 32px; height: 32px; font-size: 15px; }
  .nr-tut__probleme { grid-template-columns: minmax(0, 1fr); }
  .nr-tut__probleme dt { border-bottom: 0; padding-bottom: 2px; }
}

/* ---------- machetele animate ---------- */
.nr-tut .anim { position: relative; margin-top: 8px; isolation: isolate; user-select: none; }
.nr-tut .anim .cursor { position: absolute; left: 0; top: 0; width: 18px; height: 22px; z-index: 40; pointer-events: none; transition: transform .75s cubic-bezier(.4,.1,.2,1); transform: translate(-40px,-40px); }
.nr-tut .anim .cursor svg { display: block; filter: drop-shadow(0 1px 1px #000a); }
.nr-tut .anim .cursor.clic::after { content: ""; position: absolute; left: -12px; top: -12px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #f0b35a; animation: nrtut-clic .45s ease-out forwards; }
@keyframes nrtut-clic { from { transform: scale(.3); opacity: 1 } to { transform: scale(1.4); opacity: 0 } }
.nr-tut .din-nou { position: absolute; right: 10px; bottom: 10px; z-index: 41; font: 500 12px/1 -apple-system, "Segoe UI", sans-serif; color: #c9c4bb; background: #111111d9; border: 1px solid #333; padding: 6px 9px; cursor: pointer; }
.nr-tut .din-nou:hover { color: #fff; }
.nr-tut .tinta { outline: 3px solid #f0b35a; outline-offset: 2px; }
.nr-tut .apasat { transform: scale(.97); transition: transform .1s; }

/* fereastra SYNC = desenul de pe pagina SYNC (nr-macheta), cu stările din tutorial */
.nr-tut .nr-macheta__fereastra { height: 560px; }
.nr-tut .nr-macheta__rand .nr-macheta__bifa { background: transparent; border-color: #6f6a63; }
.nr-tut .nr-macheta__rand.bif .nr-macheta__bifa { background: var(--m-gold); border-color: var(--m-gold); }
.nr-tut .nr-macheta__rand.bif .nr-macheta__bifa::after { content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid var(--m-gold-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nr-tut .nr-macheta__comutator em { font-style: normal; color: var(--m-muted); font-size: 12px; }
.nr-tut .nr-macheta__gol { padding: 22px; color: var(--m-muted); font-size: 14px; line-height: 1.5; }
.nr-tut .nr-macheta__sincron.gri { background: #242424; color: var(--m-stins); }

/* ferestrele mici ale aplicației (licență, Delay camere, trimite jurnalul, alegerea fișierelor), 1.2.19 */
.nr-tut .dlg { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-46%); width: min(470px, 88%); background: #171717; border: 1px solid #2c2c2c; border-radius: 10px; overflow: hidden; z-index: 30; box-shadow: 0 24px 60px #000c; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; color: #e6e3dc; font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.nr-tut .dlg.arata { opacity: 1; transform: translate(-50%,-50%); }
.nr-tut [data-dlg2] { z-index: 31; }
.nr-tut .dlg-bara { position: relative; height: 26px; display: flex; align-items: center; gap: 7px; padding-left: 10px; background: #2a2928; border-bottom: 1px solid #111; }
.nr-tut .dlg-bara span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.nr-tut .dlg-bara span:nth-child(2) { background: #febc2e; } .nr-tut .dlg-bara span:nth-child(3) { background: #28c840; }
.nr-tut .dlg-bara b { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 11px; color: #c9c4bb; pointer-events: none; }
.nr-tut .dlg-c { padding: 16px 20px 18px; }
.nr-tut .dlg b.t { display: block; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.nr-tut .dlg p { color: #9a958b; font-size: 12px; margin: 6px 0 8px; }
.nr-tut .dlg p.alb { color: #e6e3dc; }
.nr-tut .dlg p.nota { color: #66625b; font-size: 11px; margin-top: 10px; }
.nr-tut .dlg p.stare { display: flex; gap: 8px; align-items: flex-start; color: #c9a96e; margin-bottom: 12px; }
.nr-tut .dlg p.stare i { width: 7px; height: 7px; border-radius: 50%; background: #c9a96e; margin-top: 5px; flex: none; }
.nr-tut .dlg p.stare.bun { color: #8fa58a; } .nr-tut .dlg p.stare.bun i { background: #8fa58a; }
.nr-tut .dlg .card { background: #1f1f1f; border: 1px solid #2c2c2c; padding: 11px 13px; margin-bottom: 10px; }
.nr-tut .dlg .card p { margin: 0 0 3px; }
.nr-tut .dlg .card p.nr { color: #e6e3dc; font-weight: 700; font-size: 12.5px; }
.nr-tut .dlg .card p.nr b { color: #c1bab4; margin-right: 8px; }
.nr-tut .dlg .card p.ex { color: #66625b; font-size: 11.5px; margin-bottom: 8px; }
.nr-tut .dlg .rd2 { display: flex; gap: 8px; align-items: center; }
.nr-tut .dlg .rd2.jos { margin-top: 12px; }
.nr-tut .dlg .rd2 .camp { flex: 1 1 auto; }
.nr-tut .dlg .camp { background: #1f1f1f; border: 1px solid #2c2c2c; padding: 6px 8px; min-height: 28px; font-size: 12px; }
.nr-tut .dlg .camp.mono { font-family: ui-monospace, Menlo, monospace; }
.nr-tut .dlg .camp.jurnal { color: #9a958b; font-size: 11px; line-height: 1.55; }
.nr-tut .dlg .sel-j { display: flex; justify-content: space-between; background: #242424; border: 1px solid #2c2c2c; padding: 5px 8px; margin-bottom: 8px; font-size: 12px; }
.nr-tut .dlg .sel-j i { font-style: normal; color: #9a958b; }
.nr-tut .dlg .btn { display: inline-block; padding: 6px 13px; background: #242424; color: #e6e3dc; font-size: 12px; white-space: nowrap; }
.nr-tut .dlg .btn.prim { background: #c1bab4; color: #171717; font-weight: 700; }
.nr-tut .dlg .ok { color: #8fa58a; font-style: normal; margin-left: auto; opacity: 0; transition: opacity .3s; }
.nr-tut .dlg .ok.arata { opacity: 1; }
.nr-tut .dlg .rd { display: grid; grid-template-columns: minmax(0,1fr) 28px 74px 28px; gap: 6px; align-items: center; margin: 5px 0; }
.nr-tut .dlg .rd u { text-decoration: none; background: #242424; color: #9a958b; text-align: center; padding: 3px 0; font-weight: 700; }
.nr-tut .dlg .rd s { text-decoration: none; text-align: center; font-weight: 700; }
.nr-tut .dlg .fis { display: grid; gap: 2px; background: #1f1f1f; border: 1px solid #2c2c2c; padding: 4px; }
.nr-tut .dlg .fis div { padding: 5px 7px; color: #c9c4bb; font-size: 12px; }
.nr-tut .dlg .fis div.dosar { color: #66625b; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.nr-tut .dlg .fis div.sel { background: #3b5ea8; color: #fff; }

/* fereastra în lucru: butonul OPREȘTE (contur, ca în aplicație) */
.nr-tut .nr-macheta__sincron.opreste { background: transparent; color: var(--m-text); outline: 1px solid var(--m-line); outline-offset: -1px; }

/* SINCRON DJ: timeline-ul cu piesa de pe YouTube și muzica DJ-ului */
.nr-tut .tl .yt { background: #7a6a55; transition: left 1.2s cubic-bezier(.4,.1,.2,1), width 1.2s cubic-bezier(.4,.1,.2,1), background .4s; }
.nr-tut .tl .yt.dj, .nr-tut .tl .dj { background: #3f8a63; }
.nr-tut .tl .dj { transition: width 1s ease; }
.nr-tut .tl .und { opacity: .55; }
.nr-tut .tl .mk { position: absolute; top: 0; width: 8px; height: 8px; margin-left: -4px; background: #e8dcc0; clip-path: polygon(0 0,100% 0,100% 60%,50% 100%,0 60%); opacity: 0; transition: opacity .4s; z-index: 2; }
.nr-tut .tl .mk.arata { opacity: 1; }
.nr-tut .tl .leg { margin: 12px 0 0; min-height: 18px; color: #c9c4bb; font-size: 12px; }
.nr-tut .tl-dj .pista { grid-template-columns: 112px minmax(0,1fr); }
.nr-tut .tl-dj .pista > span { white-space: nowrap; }

/* alte aplicații: Finder, Resolve, Premiere (ferestre închise la culoare, ca ale lor) */
.nr-tut .win { background: #1d1d1c; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(15,15,15,.6), 0 2px 6px rgba(15,15,15,.08); color: #ddd; font: 13px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.nr-tut .win .bara { position: relative; height: 30px; display: flex; align-items: center; gap: 8px; padding-left: 12px; background: #2a2928; border-bottom: 1px solid #111; }
.nr-tut .win .bara i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.nr-tut .win .bara i:nth-child(2) { background: #febc2e; } .nr-tut .win .bara i:nth-child(3) { background: #28c840; }
.nr-tut .win .bara b { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 12px; color: #c9c4bb; pointer-events: none; }
.nr-tut .dmg { display: flex; justify-content: space-around; align-items: center; padding: 44px 20px 48px; background: #1a1917; }
.nr-tut .dmg .ic { display: grid; justify-items: center; gap: 8px; font-size: 13px; color: #c9c4bb; transition: transform .9s cubic-bezier(.4,.1,.2,1), opacity .3s; }
.nr-tut .dmg .ic .p { width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center; }
.nr-tut .dmg .sync .p img { width: 76px; height: 76px; border-radius: 16px; }
.nr-tut .dmg .apl .p { background: #3a6fb0; font-size: 32px; color: #dfe9f5; }
.nr-tut .dmg .apl.primeste .p { outline: 3px solid #f0b35a; }
.nr-tut .meniu { display: flex; gap: 2px; background: #262626; padding: 5px 10px; font-size: 12.5px; }
.nr-tut .meniu span { padding: 3px 9px; border-radius: 3px; }
.nr-tut .meniu span.des { background: #4a4a4a; }
.nr-tut .jos-m { position: absolute; background: #2b2b2b; border: 1px solid #444; border-radius: 5px; padding: 4px 0; font-size: 12.5px; min-width: 180px; z-index: 25; opacity: 0; transition: opacity .15s; box-shadow: 0 8px 20px #0008; }
.nr-tut .jos-m.arata { opacity: 1; }
.nr-tut .jos-m div { padding: 5px 14px; color: #ddd; }
.nr-tut .jos-m div.sel { background: #3b5ea8; color: #fff; }
.nr-tut .spatiu { height: 200px; background: #161616; }
.nr-tut .pref { padding: 20px; display: grid; gap: 10px; background: #1f1f1f; }
.nr-tut .pref .lin { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nr-tut .pref .sel-b { background: #2d2d2d; border: 1px solid #4a4a4a; border-radius: 4px; padding: 4px 10px; min-width: 100px; color: #eee; }
.nr-tut .pref .grupa { color: #999; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.nr-tut .tl { background: #191919; padding: 14px 14px 18px; font-size: 11px; }
.nr-tut .tl .nume-tl { color: #ccc; margin-bottom: 10px; display: flex; justify-content: space-between; }
.nr-tut .tl .nume-tl b { color: #fff; font-weight: 600; font-size: 13px; }
.nr-tut .tl .nume-tl em { font-style: normal; color: #86a37e; opacity: 0; transition: opacity .4s; }
.nr-tut .tl.dupa .nume-tl em { opacity: 1; }
.nr-tut .tl .pista { display: grid; grid-template-columns: 70px minmax(0,1fr); align-items: center; gap: 8px; height: 32px; margin-bottom: 4px; }
.nr-tut .tl .pista > span { color: #888; }
.nr-tut .tl .loc { position: relative; height: 28px; background: #222; overflow: hidden; }
.nr-tut .tl .clip { position: absolute; top: 3px; height: 22px; font-size: 10px; line-height: 22px; padding: 0 5px; color: #fff; white-space: nowrap; overflow: hidden; transition: left 1.2s cubic-bezier(.4,.1,.2,1), background .4s; }
.nr-tut .tl .c1 { background: #5b5fc7; } .nr-tut .tl .c2 { background: #b0567c; } .nr-tut .tl .rc { background: #a77b2f; }
.nr-tut .tl .clip.galben { background: #e2c25a; color: #222; }
.nr-tut .scena-pp { background: #e9e6e0; padding: 28px 12px; }
.nr-tut .scena-pp .nr-pp { height: 520px; }

/* panoul din Premiere = desenul de pe pagina SYNC (nr-pp), cu stările din timpul sincronului */
.nr-tut .nr-pp__btn.stop { background: transparent; color: var(--pp-text); border: 1px solid var(--pp-text3); }
.nr-tut .nr-pp__btn.gri { background: #242424; color: var(--pp-text3); }
.nr-tut .nr-pp__r.activ { background: #222120; }
.nr-tut .nr-pp__r.activ small { color: var(--pp-aur); }
.nr-tut .nr-pp__semn { width: 15px; height: 15px; flex: none; display: grid; place-items: center; font-size: 13px; }
.nr-tut .nr-pp__semn.ok { color: var(--pp-bun); }
.nr-tut .nr-pp__semn.lucru { border-radius: 50%; border: 2px solid var(--pp-linie); border-top-color: var(--pp-aur); animation: nrtut-roti 1s linear infinite; }
@keyframes nrtut-roti { to { transform: rotate(360deg) } }
.nr-tut .nr-pp small.gata { color: var(--pp-bun); }
.nr-tut .nr-pp__mini { height: 3px; background: #121212; border-radius: 2px; margin-top: 5px; overflow: hidden; }
.nr-tut .nr-pp__mini i { display: block; height: 100%; width: 0; background: var(--pp-aur); transition: width 1.6s linear; }
.nr-tut .nr-pp__total { display: none; margin-top: 10px; }
.nr-tut .nr-pp.lucreaza .nr-pp__total { display: block; }
.nr-tut .nr-pp__total div { display: flex; color: var(--pp-text2); font-size: 11px; margin-bottom: 5px; }
.nr-tut .nr-pp__total div span:last-child { margin-left: auto; color: var(--pp-text3); }
.nr-tut .nr-pp__total p { height: 4px; background: #121212; border-radius: 2px; overflow: hidden; }
.nr-tut .nr-pp__total p i { display: block; height: 100%; width: 0; background: var(--pp-aur); transition: width 1.6s linear; }
.nr-tut .nr-pp.lucreaza .nr-pp__comut { opacity: .45; }
.nr-tut .nr-pp__bifa--da::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--pp-aur-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
  .nr-tut .anim .cursor, .nr-tut .din-nou { display: none; }
}

/* secțiunea cu pașii e foarte înaltă: apariția din carte.js (prag pe procent) n-ar porni niciodată */
.nr-tut__alege.nr-carte-reveal { opacity: 1 !important; transform: none !important; }
.nr-tut__pas, .nr-tut__pas h3, .nr-tut__pas p { text-align: left; }
.nr-tut__taburi { top: 52px; }
.nr-tut__pas h3 { text-transform: none; letter-spacing: 0; }
/* butoanele de program: albe cu chenar, cel ales negru (nu griul implicit al <button>) */
.nr-tut__taburi .nr-btn { background: #fff; color: #111; border: 1px solid #111; cursor: pointer; }
.nr-tut__taburi .nr-btn:hover { background: #f4f2ee; }
.nr-tut__taburi .nr-btn[aria-selected="true"], .nr-tut__taburi .nr-btn[aria-selected="true"]:hover { background: #111; color: #fff; }
.nr-tut .nr-aplicatie-hero { padding-bottom: 48px; }
/* Delay camere în panou (1.2.16), ca în premiere-panou/index.html */
.nr-tut .nr-pp__delay { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 11px; background: var(--pp-panou); border: 1px solid var(--pp-linie); border-radius: 8px; }
.nr-tut .nr-pp__delay em { margin-left: auto; font-style: normal; color: var(--pp-text3); font-size: 11px; }
.nr-tut .nr-pp__dlista { margin: -4px 0 10px; padding: 6px 11px 8px; background: var(--pp-panou); border: 1px solid var(--pp-linie); border-radius: 8px; }
.nr-tut .nr-pp__dlista[hidden] { display: none; }
.nr-tut .nr-pp__dlista p { margin: 4px 0 6px; color: var(--pp-text3); font-size: 10.5px; }
.nr-tut .nr-pp__drd { display: grid; grid-template-columns: minmax(0,1fr) 22px 58px 22px; gap: 5px; align-items: center; margin: 4px 0; }
.nr-tut .nr-pp__drd a { display: block; text-align: center; background: #242424; border-radius: 4px; padding: 2px 0; font-weight: 700; color: var(--pp-text); }
.nr-tut .nr-pp__drd b { text-align: center; }
.nr-tut .scena-pp .nr-pp { height: 600px; }

/* lista celorlalte programe stă ascunsă (display:grid de mai sus bătea atributul hidden: se vedeau toate trei) */
.nr-tut__pasi[hidden] { display: none !important; }
.nr-tut .nr-macheta__jos p, .nr-tut .nr-tut__trimite { white-space: nowrap; }

/* 17 nov: macheta (1000 px desenată, apoi scalată) nu trebuie să lărgească pasul — altfel ieșea din pagină în dreapta */
.nr-tut .anim { min-width: 0; max-width: 100%; }
.nr-tut .nr-macheta__jos { gap: 9px; }
.nr-tut .nr-macheta__jos u { font-size: 10.5px; }
/* panoul 1.2.19: SINCRON DJ… sub SINCRON */
.nr-tut .scena-pp + .dlg, .nr-tut .dlg { z-index: 30; }
.nr-tut [data-intreb] { z-index: 32; }
