/* Fenster „Link kopieren“ (studio-teilen-link.js) – auf Startseite, Design-Editor und Videoeditor gleich.
   Eigene Klassen (jl-…), damit es nicht an den Fenster-Stilen der einzelnen Seiten hängt; Farben wie im Studio. */
.jl-ov{position:fixed;inset:0;z-index:10040;background:rgba(17,26,46,.42);display:flex;align-items:center;justify-content:center;padding:16px;
  opacity:0;transition:opacity .18s ease;font-family:'Instrument Sans',system-ui,-apple-system,sans-serif;color:#111a2e}
.jl-ov.on{opacity:1}
.jl-dlg{position:relative;width:min(660px,100%);max-height:min(92vh,92dvh);overflow:auto;background:#fff;border-radius:20px;padding:22px 22px 18px;
  box-shadow:0 24px 70px rgba(17,26,46,.3);transform:translateY(10px) scale(.985);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.jl-ov.on .jl-dlg{transform:none}
.jl-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f3f7;color:#111a2e;cursor:pointer;display:grid;place-items:center}
.jl-close:hover{background:#e6e9ef}
.jl-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#b07f3c}
.jl-dlg h2{margin:4px 32px 10px 0;font-size:1.35rem;line-height:1.2;letter-spacing:-.01em;overflow-wrap:anywhere}
.jl-i{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.jl-sec{margin-top:6px}
.jl-sec + .jl-sec{margin-top:18px;padding-top:14px;border-top:1px solid #e6e9ef}
.jl-sec h4{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:.98rem}
.jl-sec h4 small{font-weight:500;color:#5f6b80;font-size:.8rem}
.jl-hint{margin:0 0 10px;color:#5f6b80;font-size:.86rem;line-height:1.5}
.jl-small{margin:8px 0 0;color:#5f6b80;font-size:.78rem;line-height:1.45}
.jl-msg{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#f5ead9;color:#111a2e;font-size:.86rem;line-height:1.45}
.jl-urlrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.jl-url{font:inherit;font-size:.8rem;padding:9px 10px;border:1px solid #e6e9ef;border-radius:9px;background:#f7f8fb;color:#111a2e;text-overflow:ellipsis;min-width:0;width:100%}
.jl-btns{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.jl-btn{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 12px;font:600 .82rem/1 inherit;cursor:pointer;text-decoration:none;white-space:nowrap;border:1px solid transparent}
.jl-primary{background:#1b2d5b;color:#fff}
.jl-primary:hover{background:#243c78}
.jl-ghost{background:#fff;color:#1b2d5b;border-color:#d5d9e2}
.jl-ghost:hover{background:#f1f3f7}
.jl-btn:disabled,.jl-input:disabled,.jl-select:disabled{opacity:.55;cursor:default}
.jl-link{margin:0 0 12px;padding:12px;border:1px solid #e6e9ef;border-radius:14px;background:#fff}
.jl-link.is-expired{background:#fbf7f2;border-color:#ead9bf}
.jl-link.is-fresh{border-color:#b07f3c;box-shadow:0 0 0 3px #f5ead9}
.jl-stat{margin:8px 0 6px;color:#5f6b80;font-size:.8rem;line-height:1.45}
.jl-stat b{color:#9a5b12}
.jl-opts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.jl-check,.jl-row{display:flex;align-items:center;gap:8px;font-size:.84rem}
.jl-check input{width:17px;height:17px;accent-color:#1b2d5b}
.jl-select,.jl-input{font:inherit;font-size:.82rem;border:1px solid #d5d9e2;border-radius:8px;padding:7px 8px;background:#fff;color:#111a2e;max-width:100%}
.jl-input{min-width:0;flex:1 1 180px}
.jl-pw{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:10px;padding-top:10px;border-top:1px dashed #e6e9ef}
.jl-pwstate{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;color:#5f6b80;flex:1 1 220px}
.jl-pwedit{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.jl-pwnew{width:100%}
.jl-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.jl-off{color:#b42318}
.jl-new{margin-top:6px;padding:12px;border:1px dashed #d5d9e2;border-radius:14px;display:grid;gap:8px;position:relative}
.jl-new > b{font-size:.86rem}
.jl-make{justify-self:start;padding:10px 16px;font-size:.88rem}
.jl-prog{display:flex;align-items:center;gap:10px;margin-top:6px;padding:10px 12px;border-radius:10px;background:#eef2f9;color:#1b2d5b;font-size:.86rem;font-weight:600}
.jl-spin{width:16px;height:16px;border-radius:50%;border:2px solid #c9d4ea;border-top-color:#1b2d5b;animation:jlSpin .8s linear infinite;flex:none}
.jl-actions{display:flex;justify-content:flex-end;margin-top:16px}
.jl-ov.is-busy .jl-close,.jl-ov.is-busy .jl-actions .jl-btn{visibility:hidden}
/* Wartefenster beim Seitenwechsel (Editor erstellt den Inhalt und kehrt zurück) */
.jl-wait{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  font-family:'Instrument Sans',system-ui,-apple-system,sans-serif;color:#111a2e;text-align:center;padding:24px}
.jl-wait > div{display:grid;gap:8px;justify-items:center;max-width:380px}
.jl-wait .jl-spin{width:28px;height:28px;border-width:3px}
.jl-wait b{font-size:1.05rem}
.jl-wait small{color:#5f6b80;line-height:1.45}
@keyframes jlSpin{to{transform:rotate(360deg)}}
@media(max-width:600px){
  .jl-ov{align-items:flex-end;padding:0}
  .jl-dlg{width:100%;max-height:94dvh;border-radius:20px 20px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom,0px))}
  .jl-urlrow{grid-template-columns:1fr}
  .jl-btns{justify-content:stretch}
  .jl-btns > *{flex:1 1 0;justify-content:center}
  .jl-acts > *{flex:1 1 auto;justify-content:center}
  .jl-make{justify-self:stretch;justify-content:center;white-space:normal}
  .jl-row{width:100%}
  .jl-row .jl-select{flex:1}
}
@media (prefers-reduced-motion:reduce){.jl-ov,.jl-dlg{transition:none}.jl-spin{animation-duration:1.6s}}

/* Details-Fenster (Startseite/Editor, innerhalb der Studio-Fenster) */
.jl-details{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:8px 0 4px;font-size:.9rem}
.jl-details dt{color:#5f6b80;font-weight:500}
.jl-details dd{margin:0;overflow-wrap:anywhere}
/* Knopf „Teilen“ im Design-Editor neben „Herunterladen“ und im Videoeditor neben „Senden“ */
.ed-sharebtn,.vd-share{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.ed-sharebtn[hidden],.vd-share[hidden]{display:none}
.ed-sharebtn .jl-i,.vd-share .jl-i{width:15px;height:15px}
@media(max-width:900px){.ed-sharebtn span,.vd-share span{display:none}}
