/* NUJIZ SMART CALCULATORS V35 */

html body .nc35-app{

    --nc-bg:#ffffff;
    --nc-soft:#f6f8fb;
    --nc-text:#172033;
    --nc-muted:#475569;
    --nc-line:#dce3ed;
    --nc-green:#15803d;
    --nc-result:#ecfdf5;
    --nc-result-text:#166534;

    width:100%;
    max-width:1200px;
    margin:24px auto;
    box-sizing:border-box;
    color:var(--nc-text)!important;
}

html[data-theme="dark"] body .nc35-app{

    --nc-bg:#191e29;
    --nc-soft:#242b39;
    --nc-text:#f8fafc;
    --nc-muted:#cbd5e1;
    --nc-line:#374151;
    --nc-green:#15803d;
    --nc-result:#14352a;
    --nc-result-text:#86efac;
}

html body .nc35-app *,
html body .nc35-app *::before,
html body .nc35-app *::after{
    box-sizing:border-box;
}

html body .nc35-app [hidden]{
    display:none!important;
}

html body .nc35-app .nc35-layout{

    display:grid;
    grid-template-columns:
        minmax(0,1fr) minmax(0,1fr);

    gap:20px;
    align-items:start;
}

html body .nc35-app .nc35-panel{

    background:var(--nc-bg)!important;
    border:1px solid var(--nc-line);
    border-radius:22px;
    padding:26px;
    min-width:0;
}

html body .nc35-app .nc35-heading{

    color:var(--nc-text)!important;
    -webkit-text-fill-color:var(--nc-text)!important;

    font-size:23px!important;
    font-weight:800!important;
    margin:0 0 24px;
}

html body .nc35-app .nc35-fields{

    display:grid;
    gap:20px;
}

html body .nc35-app .nc35-field{

    display:flex;
    flex-direction:column;
    gap:9px;
    min-width:0;
}

html body .nc35-app .nc35-label{

    font-size:16px!important;
    font-weight:700!important;

    color:var(--nc-text)!important;
    -webkit-text-fill-color:var(--nc-text)!important;
}

html body .nc35-app .nc35-input{

    width:100%!important;
    min-height:54px!important;

    background:var(--nc-soft)!important;
    border:1px solid var(--nc-line)!important;
    border-radius:12px!important;

    padding:12px 15px!important;

    font-size:18px!important;
    font-weight:600!important;

    color:var(--nc-text)!important;
    -webkit-text-fill-color:var(--nc-text)!important;

    opacity:1!important;
    box-shadow:none!important;
}

html[data-theme="dark"] body
.nc35-app .nc35-input{
    color-scheme:dark;
}

html body .nc35-app .nc35-input:focus{

    outline:2px solid #22c55e!important;
    outline-offset:2px;
}

html body .nc35-app .nc35-result{

    padding:26px 15px;
    text-align:center;
    background:var(--nc-result)!important;
    border:1px solid #22c55e55;
    border-radius:18px;
    margin-bottom:20px;
}

html body .nc35-app .nc35-result-label{

    font-size:17px!important;
    font-weight:700!important;

    color:var(--nc-result-text)!important;
    -webkit-text-fill-color:var(--nc-result-text)!important;
}

html body .nc35-app .nc35-result-value{

    display:block;
    margin-top:10px;

    font-size:clamp(24px,3vw,38px)!important;
    font-weight:900!important;

    color:var(--nc-result-text)!important;
    -webkit-text-fill-color:var(--nc-result-text)!important;

    font-variant-numeric:tabular-nums;
    overflow-wrap:anywhere;
}

html body .nc35-app .nc35-details{

    display:grid;
    gap:8px;
}

html body .nc35-app .nc35-detail{

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;

    padding:14px;
    background:var(--nc-soft)!important;
    border-radius:10px;
}

html body .nc35-app .nc35-detail span,
html body .nc35-app .nc35-legend-row span{

    color:var(--nc-muted)!important;
    -webkit-text-fill-color:var(--nc-muted)!important;
    font-size:15px!important;
}

html body .nc35-app .nc35-detail strong,
html body .nc35-app .nc35-legend-row strong{

    color:var(--nc-text)!important;
    -webkit-text-fill-color:var(--nc-text)!important;

    font-size:17px!important;
    font-weight:800!important;

    font-variant-numeric:tabular-nums;
    overflow-wrap:anywhere;
}

html body .nc35-app .nc35-chart{

    margin:24px 0;
    padding:18px;
    border:1px solid var(--nc-line);
    border-radius:15px;
}

html body .nc35-app .nc35-chart-title{

    color:var(--nc-text)!important;
    font-size:16px!important;
    margin:0 0 15px;
}

html body .nc35-app .nc35-chart-bar{

    display:flex;
    height:22px;
    border-radius:8px;
    overflow:hidden;
}

html body .nc35-app .nc35-segment{
    height:100%;
}

html body .nc35-app .nc35-color-0{
    background:#16a34a!important;
}

html body .nc35-app .nc35-color-1{
    background:#2563eb!important;
}

html body .nc35-app .nc35-color-2{
    background:#d97706!important;
}

html body .nc35-app .nc35-legend{

    display:grid;
    gap:10px;
    margin-top:16px;
}

html body .nc35-app .nc35-legend-row{

    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

html body .nc35-app .nc35-legend-row strong{
    margin-inline-start:auto;
    direction:ltr;
}

html body .nc35-app .nc35-dot{

    display:inline-block;
    width:11px;
    height:11px;
    border-radius:50%;
    flex-shrink:0;
}

html body .nc35-app .nc35-actions{

    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:20px;
}

html body .nc35-app .nc35-button{

    width:100%;
    min-height:48px;
    padding:12px;
    border-radius:11px;
    cursor:pointer;

    font-family:inherit!important;
    font-size:15px!important;
    font-weight:800!important;
}

html body .nc35-app .nc35-green{

    background:#15803d!important;
    border:1px solid #15803d!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}

html body .nc35-app .nc35-green:hover{
    background:#166534!important;
}

html body .nc35-app .nc35-secondary{

    background:var(--nc-soft)!important;
    border:1px solid var(--nc-line)!important;

    color:var(--nc-text)!important;
    -webkit-text-fill-color:var(--nc-text)!important;
}

html body .nc35-app .nc35-panel>.nc35-secondary{
    margin-top:22px;
}

html body .nc35-app .nc35-actions>.nc35-secondary{
    grid-column:1/-1;
}

html body .nc35-app .nc35-button:focus-visible{

    outline:2px solid #22c55e;
    outline-offset:3px;
}

html body .nc35-app .nc35-error{

    padding:16px;
    border-radius:12px;
    background:#7f1d1d!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    font-weight:700;
}

html body .nc35-app .nc35-status,
html body .nc35-app .nc35-note{

    color:var(--nc-muted)!important;
    -webkit-text-fill-color:var(--nc-muted)!important;

    font-size:14px!important;
    line-height:1.8;
    margin-top:14px;
}

@media(max-width:760px){

    html body .nc35-app .nc35-layout{
        grid-template-columns:minmax(0,1fr);
        gap:15px;
    }

    html body .nc35-app .nc35-panel{
        padding:18px;
        border-radius:16px;
    }

    html body .nc35-app .nc35-heading{
        font-size:20px!important;
    }

    html body .nc35-app .nc35-result-value{
        font-size:28px!important;
    }

    html body .nc35-app .nc35-detail strong{
        font-size:15px!important;
    }
}

@media print{

    html body .nc35-app .nc35-actions,
    html body .nc35-app .nc35-button,
    html body .nc35-app .nc35-status{
        display:none!important;
    }

    html body .nc35-app{

        --nc-bg:#ffffff;
        --nc-soft:#f8fafc;
        --nc-text:#111827;
        --nc-muted:#334155;
        --nc-line:#cbd5e1;
        --nc-result:#ecfdf5;
        --nc-result-text:#166534;

        print-color-adjust:exact;
    }
}
