.nr-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: #12151b;
    color: #eef2f6;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.nr-body *,
.nr-body *::before,
.nr-body *::after {
    box-sizing: border-box;
}

.nr-body [hidden] {
    display: none !important;
}

.nr-body h1,
.nr-body h2,
.nr-body h3,
.nr-body p {
    margin: 0;
}

.nr-body button,
.nr-body input,
.nr-body select {
    font: inherit;
    color: inherit;
}

.nr-body button {
    cursor: pointer;
    touch-action: manipulation;
}

.nr-kicker {
    color: #e8a317;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nr-muted,
.nr-hint,
.nr-ocr-note {
    color: #9aa6b2;
}

.nr-hint,
.nr-ocr-note {
    margin-top: 8px;
}

#nr-tab-bilancio > .nr-hint {
    margin-bottom: 40px;
}

.nr-error {
    color: #ffb4b4;
    margin: 8px 0;
}

.nr-ingresso {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.nr-ingresso a {
    color: #e8a317;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none;
}

.nr-login {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.nr-card {
    width: min(460px, 100%);
    background: #1c222b;
    border: 1px solid #2c3542;
    border-radius: 18px;
    padding: 22px;
}

.nr-login .nr-card h1,
.nr-panel h2 {
    margin: 4px 0 8px;
    font-size: 1.7rem;
}

.nr-body label {
    display: block;
    margin: 14px 0 0;
    color: #c5d0da;
    font-size: 0.92rem;
}

.nr-pass-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.nr-pass-row input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-top: 0;
}

#nr-catalogo-modal {
    align-items: center;
    padding: 16px;
}

#nr-catalogo-modal .nr-dialog {
    width: min(760px, calc(100vw - 32px));
    max-height: min(92dvh, 860px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#nr-catalogo-list {
    flex: 1 1 auto;
    min-height: 180px;
    max-height: 58vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 12px;
    -webkit-overflow-scrolling: touch;
}

#nr-catalogo-list .nr-catalogo-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

#nr-catalogo-list .nr-catalogo-table th,
#nr-catalogo-list .nr-catalogo-table td {
    white-space: normal;
    overflow-wrap: anywhere;
}

#nr-catalogo-list .nr-catalogo-table th:nth-child(1),
#nr-catalogo-list .nr-catalogo-table td:nth-child(1) {
    width: 42%;
}

#nr-catalogo-list .nr-catalogo-table th:nth-child(2),
#nr-catalogo-list .nr-catalogo-table td:nth-child(2) {
    width: 32%;
}

#nr-catalogo-list .nr-catalogo-table th:nth-child(3),
#nr-catalogo-list .nr-catalogo-table td:nth-child(3) {
    width: 26%;
}

#nr-catalogo-list tr[data-codice] {
    cursor: pointer;
}

.nr-body input,
.nr-body select {
    display: block;
    width: 100%;
    margin-top: 6px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #3a4554;
    background: #10141a;
    outline: none;
}

.nr-body input:focus,
.nr-body select:focus {
    border-color: #e8a317;
}

.nr-body input[readonly] {
    color: #9aa6b2;
}

.nr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #243041;
    color: #eef2f6;
}

.nr-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.nr-btn-primary {
    width: 100%;
    margin-top: 16px;
    background: #e8a317;
    color: #1a1203;
    font-weight: 700;
}

.nr-btn-ghost {
    background: transparent;
    border-color: #3a4554;
}

#nr-fresco-form .nr-btn-ghost,
#nr-scan-card .nr-btn-ghost,
#nr-torta-modal .nr-btn-ghost {
    width: 100%;
    margin-top: 8px;
}

.nr-torta-mail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 0 8px;
}

.nr-torta-mail .nr-btn-primary {
    width: auto;
    margin: 0;
    min-width: 220px;
    white-space: nowrap;
}

#nr-torta-modal.is-wide .nr-dialog {
    width: min(960px, 100%);
}

#nr-torta-modal .nr-dialog {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#nr-torta-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 52vh;
    width: 100%;
    min-width: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#nr-torta-modal .nr-actions {
    flex: none;
}

#nr-torta-modal .nr-actions .nr-btn {
    width: auto;
}

.nr-torte {
    display: grid;
    gap: 40px 32px;
}

.nr-torta h3 {
    margin: 0 0 12px;
}

.nr-torta svg {
    width: min(240px, 100%);
    height: auto;
    display: block;
}

.nr-fetta {
    cursor: pointer;
}

.nr-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.nr-legend button {
    text-align: left;
    border-radius: 12px;
    padding: 10px 12px;
    background: #1c2430;
    color: #eef2f6;
    border: 1px solid #2c3542;
}

.nr-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.nr-archivio-filtri {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.nr-archivio-filtri label {
    flex: 1 1 160px;
    min-width: 0;
    margin-top: 0;
}

.nr-btn-totale-archivio {
    width: auto;
    margin: 0;
    background: #e23d3d;
    color: #111;
    border-color: #e23d3d;
    font-weight: 700;
    white-space: nowrap;
}

.nr-btn-danger {
    width: auto;
    margin-top: 0;
    min-height: 40px;
    background: transparent;
    border-color: #d64545;
    color: #ffb4b4;
}

.nr-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nr-scorte-sub {
    margin: 28px 0 8px;
    font-size: 1.2rem;
}

.nr-scorte-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 12px;
}

.nr-scorte-head h2 {
    margin: 0;
}

.nr-scorte-filtri {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.nr-scorte-filtri button {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid #3a4554;
    background: transparent;
    color: #c5d0da;
    padding: 8px 14px;
}

.nr-scorte-filtri button.is-active {
    background: #243041;
    color: #fff;
}

.nr-scorte-cerca {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.nr-scorte-cerca label {
    flex: 1 1 220px;
    min-width: 0;
    margin-top: 0;
}

.nr-btn-totale {
    width: auto;
    margin: 0;
    background: #f0c014;
    color: #111;
    border-color: #f0c014;
    font-weight: 700;
    white-space: nowrap;
}

.nr-totale-cifra {
    margin: 8px 0 20px;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.nr-app {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nr-top {
    display: flex;
    flex: none;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 16px 16px 8px;
}

.nr-top strong {
    font-size: 1.35rem;
}

.nr-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nr-role {
    border: 1px solid #3a4554;
    border-radius: 999px;
    padding: 4px 8px;
    color: #e8a317;
    font-size: 0.78rem;
}

.nr-user .nr-btn {
    min-height: 40px;
    margin: 0;
}

.nr-nav {
    display: flex;
    flex: none;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
    background: #161b22;
    border-top: 1px solid #2c3542;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
}

.nr-nav button {
    flex: 1 0 auto;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #9aa6b2;
    padding: 8px 12px;
}

.nr-nav button.is-active {
    background: #243041;
    color: #eef2f6;
}

.nr-main {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 8px 16px calc(92px + env(safe-area-inset-bottom));
}

.nr-main > .nr-panel:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#nr-tab-movimenta:not([hidden]),
#nr-tab-staff:not([hidden]) {
    overflow: auto;
}

.nr-scroll,
.nr-panel .nr-table-wrap,
#nr-controllo-body,
#nr-bilancio-body,
#nr-staff-list {
    flex: 1 1 auto;
    height: 0;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#nr-staff-list,
#nr-staff-list .nr-table-wrap {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
}

#nr-staff-form {
    flex: 0 0 auto;
    margin-top: 16px;
}

#nr-nuovo {
    width: auto;
    margin-top: 12px;
}

.nr-movimenti {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
}

.nr-movimento {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nr-movimento > button[data-tipo] {
    min-height: 64px;
    border-radius: 14px;
    border: 1px solid #3a4554;
    background: #1c222b;
    font-size: 1.15rem;
    font-weight: 700;
}

.nr-movimento > button[data-tipo="CARICO"].is-active {
    background: #146c43;
    border-color: #146c43;
}

.nr-movimento > button[data-tipo="SCARICO"].is-active {
    background: #9b2c2c;
    border-color: #9b2c2c;
}

.nr-movimento > .nr-btn-primary {
    margin-top: 0;
    min-height: 52px;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}

.nr-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.nr-switch button {
    min-height: 64px;
    border-radius: 14px;
    border: 1px solid #3a4554;
    background: #1c222b;
    font-size: 1.15rem;
    font-weight: 700;
}

.nr-switch button[data-tipo="CARICO"].is-active {
    background: #146c43;
    border-color: #146c43;
}

.nr-switch button[data-tipo="SCARICO"].is-active {
    background: #9b2c2c;
    border-color: #9b2c2c;
}

#nr-camera-btn {
    width: auto;
    flex: 0 0 auto;
    margin-top: 0;
    white-space: nowrap;
}

.nr-code-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.nr-code-row input {
    flex: 1;
    min-width: 0;
    margin: 0;
}

#nr-reader {
    margin-top: 12px;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    min-height: 220px;
}

#nr-reader video {
    width: 100%;
}

#nr-scan-card {
    margin-top: 16px;
    width: 100%;
}

#nr-scan-card.is-ok {
    border-color: #1f8a4c;
}

#nr-scan-card.is-warn {
    border-color: #e0a106;
}

#nr-scan-card.is-err {
    border-color: #d64545;
}

.nr-inline {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nr-inline input {
    flex: 1;
}

.nr-cam {
    width: 48px;
    height: 48px;
    margin-top: 6px;
    border-radius: 12px;
    border: 1px solid #3a4554;
    background: #243041;
    color: #e8a317;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.nr-table-wrap {
    overflow: auto;
    margin-top: 12px;
    min-width: 0;
    max-width: 100%;
}

.nr-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 640px;
}

.nr-table th,
.nr-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #2a3340;
    vertical-align: top;
}

.nr-table th {
    color: #9aa6b2;
    font-size: 0.82rem;
    font-weight: 600;
    position: sticky;
    top: 0;
    background: #1c222b;
    z-index: 1;
}

.nr-sort {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.nr-sort.is-on {
    color: #e8a317;
}

.nr-table tr.is-alert td {
    background: rgba(214, 69, 69, 0.08);
}

.nr-wrap {
    white-space: normal;
    min-width: 160px;
}

.nr-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 4px;
}

.nr-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #9b2c2c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.nr-badges .nr-badge {
    margin-top: 0;
}

.nr-badge-warn {
    background: #8a6a00;
}

.nr-badge-danger {
    background: #d64545;
}

.nr-badge-ok {
    background: #146c43;
}

.nr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.nr-tile-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nr-tile {
    min-height: 112px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #334155;
    background: #243041;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
}

.nr-tile-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.nr-tile-badges .nr-badge {
    margin-top: 0;
}

.nr-tile span {
    font-size: 1.05rem;
    font-weight: 700;
}

.nr-tile small,
.nr-link {
    color: #9aa6b2;
    font-size: 0.82rem;
}

.nr-link {
    border: 0;
    background: transparent;
    text-align: left;
    min-height: 32px;
    padding: 0 4px;
}

.nr-panel > .nr-scorte-head,
.nr-panel > .nr-hint,
.nr-panel > label,
.nr-panel > .nr-subnav,
.nr-panel > .nr-scorte-cerca,
.nr-panel > .nr-archivio-filtri {
    flex: none;
}

.nr-subnav {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 14px 0 12px;
    position: relative;
    z-index: 2;
}

.nr-subnav button {
    flex: 0 0 auto;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid #3a4554;
    background: #12151b;
    color: #c5d0da;
    padding: 8px 14px;
    white-space: nowrap;
}

.nr-subnav button.is-active {
    background: #243041;
    color: #fff;
}

.nr-subnav button.has-alert {
    border-color: #d64545;
    color: #ffb4b4;
}

.nr-panel .nr-card {
    margin-top: 18px;
}

.nr-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nr-check input {
    width: 22px;
    height: 22px;
    margin: 0;
}

.nr-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.nr-actions .nr-btn {
    flex: 1;
    margin-top: 0;
}

.nr-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.62);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.nr-dialog {
    width: min(560px, 100%);
    max-height: 92dvh;
    overflow: auto;
    background: #1c222b;
    border: 1px solid #2c3542;
    border-radius: 18px 18px 0 0;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
}

.nr-flash {
    position: fixed;
    z-index: 50;
    left: 12px;
    right: 12px;
    top: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
}

.nr-flash.is-ok {
    background: #146c43;
}

.nr-flash.is-warn {
    background: #8a6a00;
}

.nr-flash.is-err {
    background: #9b2c2c;
}

.nr-flash.is-info {
    background: #1d4f91;
}

.nr-empty {
    margin-top: 16px;
    color: #9aa6b2;
}

@media (max-width: 859px), (orientation: landscape) and (max-height: 520px) {
    html,
    body.nr-body {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .nr-body {
        height: 100%;
        overflow: hidden;
    }

    .nr-app {
        height: 100%;
        max-height: 100%;
        overflow: hidden;
    }

    .nr-body input,
    .nr-body select {
        font-size: 16px;
    }

    .nr-top,
    .nr-user {
        flex-wrap: wrap;
    }

    .nr-nav button {
        min-height: 44px;
        padding: 6px 8px;
        font-size: 0.82rem;
    }

    .nr-code-row {
        flex-direction: column;
        align-items: stretch;
    }

    #nr-camera-btn,
    #nr-nuovo {
        width: 100%;
    }

    .nr-switch button,
    .nr-movimento > button[data-tipo] {
        min-height: 52px;
        font-size: 1rem;
        padding: 8px;
    }

    .nr-movimento > .nr-btn-primary {
        min-height: 48px;
        font-size: 0.92rem;
    }

    .nr-row-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nr-scorte-filtri button,
    .nr-subnav button {
        font-size: 0.82rem;
        padding: 6px 10px;
    }

    .nr-table {
        width: max-content;
        min-width: 520px;
        font-size: 0.88rem;
    }

    .nr-table th {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .nr-subnav,
    .nr-scorte-filtri {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
    }

    .nr-dialog {
        width: 100%;
        max-width: 100%;
    }

    #nr-torta-modal .nr-dialog {
        overflow: hidden;
    }

    #nr-torta-list {
        overflow: auto;
        min-width: 0;
    }
}

@media (min-width: 860px) {
    .nr-nav {
        position: static;
        border-top: 0;
        border-bottom: 1px solid #2c3542;
        padding: 0 16px;
    }

    .nr-main {
        width: min(1100px, calc(100% - 32px));
        margin: 0 auto;
        padding: 20px 0 40px;
    }

    .nr-top {
        width: min(1100px, calc(100% - 32px));
        margin: 0 auto;
    }

    .nr-modal {
        align-items: center;
    }

    .nr-dialog {
        border-radius: 18px;
        margin-bottom: 0;
    }

    .nr-login .nr-card {
        padding: 32px;
    }

    .nr-torte {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    #nr-tab-bilancio > .nr-hint {
        margin-bottom: 12px;
    }

    #nr-tab-bilancio #nr-bilancio-body {
        overflow: hidden;
    }

    #nr-tab-bilancio .nr-torte {
        gap: 16px 28px;
    }

    #nr-tab-bilancio .nr-torta h3 {
        margin: 0 0 6px;
    }

    #nr-tab-bilancio .nr-torta svg {
        width: min(200px, 100%);
    }

    #nr-tab-bilancio .nr-legend {
        gap: 6px;
        margin-top: 8px;
    }

    #nr-tab-bilancio .nr-legend button {
        padding: 6px 10px;
    }

    .nr-scorte-head {
        grid-template-columns: 1fr auto 1fr;
    }

    .nr-scorte-filtri {
        grid-column: 2;
    }

    .nr-archivio-filtri {
        flex-wrap: nowrap;
    }
}

@media (max-height: 520px) {
    .nr-body,
    .nr-app {
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    .nr-nav {
        position: static;
        padding: 4px 8px;
    }

    .nr-nav button {
        min-height: 36px;
        padding: 4px 8px;
    }

    .nr-top {
        width: 100%;
        padding: 6px 10px 2px;
    }

    .nr-main {
        width: 100%;
        margin: 0;
        padding: 4px 10px 8px;
    }

    .nr-panel h2 {
        font-size: 1.15rem;
    }

    .nr-hint {
        margin-top: 2px;
        font-size: 0.8rem;
    }

    .nr-subnav,
    .nr-scorte-filtri {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .nr-subnav button,
    .nr-scorte-filtri button {
        min-height: 36px;
        padding: 4px 10px;
    }

    .nr-scroll,
    .nr-panel .nr-table-wrap,
    #nr-controllo-body,
    #nr-bilancio-body {
        flex: 1 1 0;
        min-height: 0;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #nr-tab-bilancio #nr-bilancio-body {
        overflow: auto;
    }

    .nr-table {
        width: max-content;
        min-width: 640px;
    }

    .nr-table th {
        position: sticky;
        top: 0;
        z-index: 2;
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .nr-nav {
        position: static;
        padding: 2px 8px;
    }

    .nr-nav button {
        min-height: 32px;
        padding: 2px 8px;
        font-size: 0.78rem;
    }

    .nr-top {
        width: 100%;
        padding: 4px 8px 0;
    }

    .nr-top strong {
        font-size: 1rem;
    }

    .nr-main {
        width: 100%;
        margin: 0;
        padding: 2px 8px 6px;
    }

    .nr-panel h2 {
        font-size: 1rem;
        margin: 0;
    }

    .nr-hint {
        display: none;
    }

    .nr-subnav,
    .nr-scorte-filtri {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        margin: 4px 0;
    }

    .nr-scroll,
    .nr-panel .nr-table-wrap,
    #nr-controllo-body,
    #nr-bilancio-body {
        flex: 1 1 auto;
        height: 0;
        min-height: 0;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #nr-tab-bilancio #nr-bilancio-body {
        overflow: auto;
    }
}
