
/* NUJIZ STORYBOARD STUDIO V2 */

html body #nujizStoryboardV2 {
    --nsb-bg:#ffffff;
    --nsb-soft:#f4f6fb;
    --nsb-text:#172033;
    --nsb-muted:#475569;
    --nsb-line:#d9e0eb;
    display:grid;
    gap:16px;
    min-width:0;
}

html[data-theme="dark"] body #nujizStoryboardV2 {
    --nsb-bg:#171c27;
    --nsb-soft:#202736;
    --nsb-text:#f8fafc;
    --nsb-muted:#cbd5e1;
    --nsb-line:#3b465b;
}

html body #nujizStoryboardV2 .nsb-header {
    background:linear-gradient(
      135deg,#312e81,#6336ce,#075985
    )!important;
    border-radius:17px!important;
    padding:20px!important;
}

html body #nujizStoryboardV2 .nsb-header
:is(h3,p,small) {
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
}

html body #nujizStoryboardV2 .nsb-header small {
    font-size:12px!important;
    font-weight:800!important;
}

html body #nujizStoryboardV2 .nsb-header h3 {
    font-size:21px!important;
    line-height:1.6!important;
    margin:10px 0!important;
}

html body #nujizStoryboardV2 .nsb-header p {
    font-size:14px!important;
    line-height:1.8!important;
    margin:0!important;
}

html body #nujizStoryboardV2 .nsb-group {
    background:var(--nsb-bg)!important;
    border:1px solid var(--nsb-line)!important;
    border-radius:16px!important;
    padding:16px!important;
    display:grid;
    gap:13px;
    min-width:0;
}

html body #nujizStoryboardV2 h4 {
    font-size:16px!important;
    font-weight:900!important;
    margin:0!important;
    color:var(--nsb-text)!important;
    -webkit-text-fill-color:var(--nsb-text)!important;
}

html body #nujizStoryboardV2
:is(label,label span,select,option) {
    color:var(--nsb-text)!important;
    -webkit-text-fill-color:var(--nsb-text)!important;
    font-size:14px!important;
    opacity:1!important;
}

html body #nujizStoryboardV2 select {
    background:var(--nsb-soft)!important;
    border:1px solid var(--nsb-line)!important;
    border-radius:10px!important;
    min-height:44px!important;
}

html body #nujizStoryboardV2 .nsb-native {
    display:none!important;
}

html body #nujizStoryboardV2 .nsb-count-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
}

html body #nujizStoryboardV2 .nsb-count {
    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:11px 6px!important;
    border:1px solid var(--nsb-line)!important;
    background:var(--nsb-soft)!important;
    border-radius:12px!important;
    cursor:pointer;
    min-width:0;
    transition:background .18s,border-color .18s;
}

html body #nujizStoryboardV2 .nsb-count.active {
    background:#6336ce!important;
    border-color:#a78bfa!important;
}

html body #nujizStoryboardV2 .nsb-count b {
    font-size:21px!important;
    font-weight:900!important;
    color:var(--nsb-text)!important;
    -webkit-text-fill-color:var(--nsb-text)!important;
}

html body #nujizStoryboardV2 .nsb-count small {
    font-size:12px!important;
    color:var(--nsb-muted)!important;
    -webkit-text-fill-color:var(--nsb-muted)!important;
}

html body #nujizStoryboardV2 .nsb-count.active
:is(b,small) {
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}

html body #nujizStoryboardV2 .nsb-mini {
    display:grid;
    width:46px;
    height:32px;
    gap:3px;
}

html body #nujizStoryboardV2 .nsb-mini i {
    background:#94a3b8;
    border-radius:2px;
}

html body #nujizStoryboardV2
.nsb-count.active .nsb-mini i {
    background:#ede9fe;
}

html body #nujizStoryboardV2 .nsb-check {
    display:flex!important;
    align-items:center;
    gap:10px;
    padding:11px!important;
    background:var(--nsb-soft)!important;
    border-radius:10px!important;
}

html body #nujizStoryboardV2
input[type="checkbox"] {
    width:18px!important;
    height:18px!important;
    accent-color:#7548eb;
    flex:none;
}

html body #nujizStoryboardV2
input[type="range"] {
    width:100%;
    accent-color:#7548eb;
}

html body #nujizStoryboardV2
input[type="color"] {
    width:100%!important;
    height:44px!important;
    border-radius:10px!important;
    border:1px solid var(--nsb-line)!important;
}

html body #nsbLayout {
    display:grid!important;
    padding:8px;
    border-radius:10px;
    max-height:340px;
    overflow:auto;
}

html body #nsbLayout .nsb-preview-cell {
    position:relative;
    min-width:0;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:linear-gradient(
      145deg,#334155,#64748b
    )!important;
    border:1px solid #94a3b8;
    border-radius:4px;
}

html body #nsbLayout .nsb-preview-cell
:is(span,b,small) {
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}

html body #nsbLayout .nsb-preview-cell span {
    font-size:22px;
}

html body #nsbLayout .nsb-preview-cell small {
    position:absolute;
    bottom:2px;
    left:2px;
    font-size:8px!important;
    background:#101827;
    padding:2px 3px;
    border-radius:3px;
}

html body #nsbLayout .nsb-preview-cell b {
    position:absolute;
    top:2px;
    left:2px;
    font-size:9px!important;
    background:#6336ce;
    padding:2px 4px;
    border-radius:3px;
}

html body #nujizStoryboardV2
:is(#nsbLayoutInfo,.nsb-hint,.nsb-privacy) {
    color:var(--nsb-muted)!important;
    -webkit-text-fill-color:var(--nsb-muted)!important;
    font-size:12px!important;
    line-height:1.8!important;
    opacity:1!important;
}

html body #nsbProgress:not([hidden]) {
    display:grid!important;
    gap:12px;
    background:var(--nsb-soft)!important;
    border:1px solid var(--nsb-line)!important;
    border-radius:14px!important;
    padding:16px!important;
}

html body #nsbProgress[hidden] {
    display:none!important;
}

html body #nsbProgress .nsb-progress-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}

html body #nsbProgressLabel {
    color:var(--nsb-text)!important;
    -webkit-text-fill-color:var(--nsb-text)!important;
    font-size:14px!important;
}

html body #nsbPercent {
    color:var(--nsb-text)!important;
    -webkit-text-fill-color:var(--nsb-text)!important;
    font-size:23px!important;
    font-weight:900!important;
}

html body #nsbProgressBar {
    width:100%;
    height:12px;
    appearance:none;
    border:0;
    border-radius:20px;
    overflow:hidden;
    background:#64748b;
    accent-color:#84cc16;
}

html body #nsbProgressBar::-webkit-progress-bar {
    background:#64748b;
}

html body #nsbProgressBar::-webkit-progress-value {
    background:linear-gradient(
      90deg,#16a34a,#84cc16
    );
    transition:width .3s;
}

html body #nsbProgressBar::-moz-progress-bar {
    background:#84cc16;
}

html body #nsbProgressDetails {
    color:var(--nsb-muted)!important;
    -webkit-text-fill-color:var(--nsb-muted)!important;
    font-size:13px!important;
}

html body #nujizStoryboardV2 .nsb-privacy {
    text-align:center;
    padding:12px;
    background:var(--nsb-soft);
    border-radius:10px;
}

@media(max-width:767px) {

    html body #nujizStoryboardV2 .nsb-group {
        padding:13px!important;
    }

    html body #nujizStoryboardV2 .nsb-header {
        padding:16px!important;
    }

    html body #nujizStoryboardV2 .nsb-header h3 {
        font-size:19px!important;
    }

    html body #nujizStoryboardV2 .nsb-count {
        min-height:92px;
    }

    html body #nujizStoryboardV2 select {
        font-size:16px!important;
    }
}


/* NUJIZ STORYBOARD LIVE PREVIEW V21 */

html body #nsbLivePanel {
    background:#ffffff!important;
    border:1px solid #dbe2ed!important;
    border-radius:16px!important;
    padding:16px!important;
    margin:12px 0!important;
    min-width:0;
}

html[data-theme="dark"] body #nsbLivePanel {
    background:#111827!important;
    border-color:#39465a!important;
}

html body #nsbLivePanel[hidden] {
    display:none!important;
}

html body .nsb-hide-original {
    display:none!important;
}

html body #nsbLivePanel .nsb-live-head {
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:12px;
}

html body #nsbLivePanel .nsb-live-head b {
    display:block;
    font-size:18px!important;
    color:#172033!important;
    -webkit-text-fill-color:#172033!important;
}

html body #nsbLivePanel
:is(small,#nsbLiveInfo) {
    display:block;
    font-size:13px!important;
    color:#475569!important;
    -webkit-text-fill-color:#475569!important;
    opacity:1!important;
}

html[data-theme="dark"] body #nsbLivePanel
:is(b,small,#nsbLiveInfo) {
    color:#f1f5f9!important;
    -webkit-text-fill-color:#f1f5f9!important;
}

html body #nsbBackVideo {
    background:#6336ce!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    padding:10px 14px!important;
    border:0!important;
    border-radius:10px!important;
    font-weight:800!important;
    cursor:pointer;
}

html body #nsbLiveStatus {
    color:#15803d!important;
    -webkit-text-fill-color:#15803d!important;
    font-size:14px!important;
    font-weight:800!important;
    padding:10px 0!important;
}

html[data-theme="dark"] body #nsbLiveStatus {
    color:#bef264!important;
    -webkit-text-fill-color:#bef264!important;
}

html body #nsbLiveCanvas:not([hidden]) {
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:65vh!important;
    object-fit:contain!important;
    border-radius:10px!important;
}

html body #nsbLiveCanvas[hidden] {
    display:none!important;
}

html body #nsbLiveInfo {
    text-align:center;
    padding-top:12px!important;
}

html body #nujizStoryboardV2 .nsb-header
:is(h3,p,small),
html body #nujizStoryboardV2 .nsb-count.active
:is(b,small) {
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
}

@media(max-width:767px){

    html body #nsbLiveCanvas:not([hidden]) {
        max-height:36dvh!important;
    }

    html body #nsbLivePanel {
        padding:10px!important;
    }
}


/* NUJIZ STORYBOARD LABELS V22 */

html body #nsbLiveCanvas {
    direction:ltr!important;
}

html body #nsbLayout {
    direction:ltr!important;
}

html body #nsbLayout .nsb-preview-cell small {
    font-size:12px!important;
    font-weight:900!important;
    line-height:1.4!important;
    padding:4px 6px!important;
    bottom:5px!important;
    left:5px!important;
    background:#030712!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
    direction:ltr!important;
}

html body #nsbLayout .nsb-preview-cell b {
    font-size:13px!important;
    font-weight:900!important;
    padding:4px 7px!important;
    top:5px!important;
    left:5px!important;
    background:#6336ce!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
}

html body #nsbLivePanel #nsbLiveInfo {
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.9!important;
    color:#172033!important;
    -webkit-text-fill-color:#172033!important;
    opacity:1!important;
    padding:14px 8px!important;
    background:#f1f5f9!important;
    border-radius:10px!important;
    margin-top:12px!important;
}

html[data-theme="dark"] body #nsbLivePanel #nsbLiveInfo {
    color:#f8fafc!important;
    -webkit-text-fill-color:#f8fafc!important;
    background:#263246!important;
}

html[data-theme="dark"] body #nujizStoryboardV2
.nsb-header :is(h3,p,small),

html[data-theme="dark"] body #nujizStoryboardV2
.nsb-count.active :is(b,small) {
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
}

html body #nsbLiveCanvas:not([hidden]) {
    max-height:75vh!important;
}

@media(max-width:767px){

    html body #nsbLiveCanvas:not([hidden]) {
        max-height:45dvh!important;
    }

    html body #nsbLivePanel #nsbLiveInfo {
        font-size:13px!important;
    }
}
