/* header */

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
button {
    border-radius: 0px !important;
}

body.calc-page {
    font-family: Montserrat, sans-serif;
    background: #FFFFFF;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.7px solid #ccc;
    background-color: white;
    padding-top : 15px;
    padding-bottom: 15px;
    padding-right: 70px;
    padding-left: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
}


header .header-img {
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

header .header-img img {
    transform: scale(0.75);
    transform-origin: left center;
    height: auto;
    display: block;
}

header .header-img:hover {
    transform: scale(1.05);
}

header .ls {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

header .ls ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

header .ls li {
    list-style-type: none;
    display: flex;
    align-items: center;
}

header .ls li:not(:last-child) {
    cursor: pointer;
    transition: color 0.3s ease;
}

header .ls li:not(:last-child):hover {
    color: #1C4D8D;
}

header .ls li a {
    text-decoration: none;
    color: inherit;
}

header .ls li button {
    cursor: pointer;
    color: white;
    background-color: #1C4D8D;
    width: 100px;
    height: 40px;
    border: none;
    outline: none;
}

/*hero*/

main{
    width: 100%;
}

.cointener{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hero{
    width: 50%;
    padding-left: 70px;
    padding-right: 70px;
    padding-top : 90px;
    padding-bottom: 90px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C4D8D;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h2{
    font-size: 2rem;
    font-weight: 700;
    color: #1C4D8D;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p{
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: normal;
}

.hero .inizia{
    cursor: pointer;
    color: white;
    background-color: #1C4D8D;
    width: 140px;
    height: 40px;
    border: none;
    outline: none;
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.hero .inizia:hover {
    background-color: #153a6b;
}

.hero .scopri,
.tariffario-commercialisti{
    cursor: pointer;
    color: black;
    background-color: #ffffff;
    width: 140px;
    height: 40px;
    border: 0.7px solid #ccc;
    outline: none;
    transition: border-color 0.3s ease;
}

.tariffario-commercialisti{
    width: calc(140px * 2 + 20px);
    display: block;
    margin-top: 12px;
}

.hero .inizia a,
.hero .scopri a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .scopri:hover,
.hero .tariffario-commercialisti:hover {
    border-color: #1C4D8D;
}

.hero-img{
    width: 50%;
    padding-left: 70px;
    padding-right: 70px;
    padding-top : 90px;
    padding-bottom: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Section Divider */
.section-divider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 1px;
    background-color: #e9ecef;
    margin: 0;
}

/* Norme page specific section divider */
.norme-content .section-divider {
    width: 100%;
    margin-left: 0;
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    border: 1px solid #1C4D8D;
    border-radius: 0px;
    box-shadow: none;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    max-height: 90vh;
    overflow: auto;
}

#registerModal .modal-content,
#profileModal .modal-content {
    max-width: 520px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-body {
    text-align: left;
}

.modal-header h2 {
    color: #1C4D8D;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
}

.close-modal:focus-visible {
    outline: 2px solid #1C4D8D;
    outline-offset: 3px;
}

.close-modal:hover {
    color: #1C4D8D;
}

.login-error {
    display: none;
    color: #b00020;
    background: #fff2f2;
    border: 1px solid #b00020;
    border-radius: 0px;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    box-sizing: border-box;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.form-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    background: white;
}

.form-group input::placeholder {
    color: #9aa3ab;
}

.form-group input:focus {
    outline: none;
    border-color: #1C4D8D;
}

.form-group select:focus {
    outline: none;
    border-color: #1C4D8D;
}

.form-group input:focus-visible,
.form-group select:focus-visible {
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.18);
}

.login-btn {
    background-color: #1C4D8D;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.login-btn:focus-visible {
    outline: 2px solid #1C4D8D;
    outline-offset: 3px;
}

.login-btn:hover {
    background-color: #153a6b;
}

.register-link {
    margin-top: 20px;
    text-align: center;
}

.register-link p {
    margin: 0;
    color: #2c3e50;
}

.register-link a {
    color: #1C4D8D;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}
.card-container-wrapper {
    position: relative;
    padding: 60px 70px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1C4D8D;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-nav:hover {
    background-color: #153a6b;
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* Carousel Cards */
.card-container {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.card-container-slogan {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.card-container-slogan::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #1C4D8D;
    border-radius: 2px;
}

.card-container::after {
    content: '';
    min-width: 70px;
    height: 1px;
}

.card-container::-webkit-scrollbar {
    height: 8px;
}

.card-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.card-container::-webkit-scrollbar-thumb {
    background: #1C4D8D;
    border-radius: 10px;
}

.card {
    min-width: 350px;
    height: 300px;
    scroll-snap-align: start;
    background: white;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    text-transform: capitalize;
    text-align: center;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #e9ecef;
    margin: 15px 0;
}

.card p {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    max-width: 280px;
}

.card-link {
    color: #1C4D8D;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: 20px;
}

.card-link:hover {
    color: #153a6b;
}

/* Contact Section */
.contattaci {
    padding: 60px 70px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contattaci h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.contattaci h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #1C4D8D;
    border-radius: 2px;
}

.contact-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 200px;
    max-width: 1000px;
    margin: 0 auto;
}

.cont-form {
    flex: 1;
}

.contact-form input,
.contact-form select {
    width: 100%;
    height: 50px;
    padding: 15px;
    border: 1px solid #e9ecef;
    background: white;
    font-size: 1rem;
    color: #2c3e50;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: #1C4D8D;
}

.contact-form button {
    background-color: #1C4D8D;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
}

.contact-form button:hover {
    background-color: #153a6b;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item .icon {
    font-size: 20px;
    color: #1C4D8D;
}

.info-item p {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

header .ls li.user-item .user-btn {
    background: transparent;
    border: none;
    color: #1C4D8D;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 10px;
    width: auto;
    height: auto;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

header .ls li.user-item .user-btn:hover {
    background-color: rgba(28, 77, 141, 0.1);
}

header .ls li.user-item .user-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.2);
}

header .ls li.user-item .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #1C4D8D;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    overflow: hidden;
}

header .ls li.user-item .user-avatar .nav-user-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

header .ls li.user-item .user-avatar .nav-user-initials {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
}

header .ls li.user-item .user-avatar i {
    font-size: 16px;
}

header .ls li.user-item .user-welcome-text {
    color: #1C4D8D;
    white-space: nowrap;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.user-dropdown-menu.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.user-menu-info {
    padding: 20px;
    border-bottom: 1px solid #EEEEEE;
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-menu-avatar-lg {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #1C4D8D;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
}

.user-menu-name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.user-menu-email {
    font-size: 14px;
    font-weight: 400;
    color: #757575;
    margin-top: 2px;
    line-height: 1.2;
    word-break: break-word;
}

.user-menu-items {
    padding: 10px 0;
}

.user-menu-footer {
    padding: 10px 0;
    border-top: 1px solid #EEEEEE;
}

header .user-dropdown-menu .user-menu-item {
    width: 100%;
    height: auto;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
}

header .user-dropdown-menu .user-menu-item i {
    width: 18px;
    text-align: center;
    color: #555;
}

header .user-dropdown-menu .user-menu-item:hover {
    background: #F5F5F5;
}

header .user-dropdown-menu .user-menu-item.danger {
    color: #FF6B6B;
}

header .user-dropdown-menu .user-menu-item.danger i {
    color: #FF6B6B;
}

header .user-dropdown-menu .user-menu-item.danger:hover {
    background: #FFF5F5;
}

/* Footer */
footer {
    background-color: #1C4D8D;
    padding: 20px 0;
    margin-top: 0;
}

.footer-content {
    text-align: center;
    padding: 0 70px;
}

.footer-content p {
    color: white;
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 24px;
        padding-right: 24px;
        gap: 12px;
    }

    header .ls ul {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cointener {
        flex-direction: column;
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }

    .hero,
    .hero-img {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-divider {
        width: 100%;
        margin-left: 0;
    }

    .card-container-wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }

    .carousel-nav {
        display: none;
    }

    .card-container {
        overflow-x: auto;
    }

    .card {
        min-width: 280px;
        height: auto;
    }

    .contattaci {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .footer-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    header {
        padding-left: 16px;
        padding-right: 16px;
    }

    header .ls ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .cointener {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .card-container-slogan {
        font-size: 1.5rem;
    }

    .card-container-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contattaci {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Norme Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

.norme-content {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.card-norme {
    width: 90%;
    height: auto;
    background: white;
    scroll-snap-align: start;
    background: white;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto 30px auto;
}

.card-norme h2 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    text-transform: capitalize;
    text-align: center;
}


.card-norme .divider {
    width: 100%;
    height: 1px;
    background-color: #e9ecef;
    margin: 15px 0;
}

.card-norme p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    max-width: 100%;
}

.card-norme ul {
    margin: 15px 0;
    padding-left: 20px;
    width: 100%;
    text-align: left;
}

.card-norme li {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}

.chi-siamo-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.chi-siamo-values-item {
    border: 1px solid #e9ecef;
    border-radius: 0px;
    padding: 14px;
    background: #ffffff;
}

.chi-siamo-values-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 800;
    color: #1C4D8D;
}

@media (max-width: 820px) {
    .chi-siamo-values-grid {
        grid-template-columns: 1fr;
    }
}

.calcola-section {
    padding: 40px 0 60px 0;
}

.calcola-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.calcola-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.calcola-card {
    max-width: 720px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #1C4D8D;
    border-radius: 0px;
    box-shadow: none;
    padding: 30px;
    box-sizing: border-box;
}

.calcola-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.calcola-grid .form-group {
    margin: 0;
}

.calcola-card select,
.calcola-card input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.calcola-card select:focus,
.calcola-card input:focus {
    outline: none;
    border-color: #1C4D8D;
}

.calcola-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.btn-primary {
    flex: 1;
    background-color: #1C4D8D;
    color: #ffffff;
    border: none;
    border-radius: 0px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #153a6b;
}

.btn-secondary {
    background: #ffffff;
    color: #1C4D8D;
    border: 1px solid #1C4D8D;
    border-radius: 0px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f3f6fb;
}

.calcola-result {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 0px;
    background: #ffffff;
    text-align: left;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}

body.account-page {
    background: #FFFFFF;
}

.account-mobile-bar {
    display: none;
}

.account-sidebar-backdrop {
    display: none;
}

.site-mobile-bar {
    display: none;
}

.site-mobile-backdrop {
    display: none;
}

.site-mobile-drawer {
    display: none;
}

.account-main-wrap {
    padding: 26px 70px 90px 70px;
    box-sizing: border-box;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.account-sidebar {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 18px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.06);
    position: sticky;
    top: 90px;
}

.account-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #1C4D8D;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.account-nav-item {
    width: 100%;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0px;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.account-nav-item i {
    width: 18px;
    text-align: center;
    color: #1C4D8D;
}

.account-nav-item:hover {
    background: #f3f6fb;
}

.account-nav-item.active {
    background: #1C4D8D;
    color: #FFFFFF;
}

.account-nav-item.active i {
    color: #FFFFFF;
}

.account-content {
    min-width: 0;
}

.account-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 18px 20px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.06);
}

.account-profile-head h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #1C4D8D;
}

.account-profile-head p {
    margin: 8px 0 0 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}

.account-avatar-editor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #1C4D8D;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.account-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-avatar-initials {
    font-weight: 900;
    letter-spacing: 0.06em;
    font-size: 16px;
}

.account-avatar-action {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 10px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1C4D8D;
}

.account-avatar-action:hover {
    background: #f3f6fb;
}

.account-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.account-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 18px 18px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.06);
}

.account-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #1C4D8D;
    margin-bottom: 12px;
}

.account-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.account-field label {
    font-size: 12px;
    font-weight: 700;
    color: #2c3e50;
}

.account-field input,
.account-field select {
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
}

.account-field input:focus,
.account-field select:focus {
    outline: none;
    border-color: #1C4D8D;
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.15);
}

.account-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-badge {
    background: rgba(28, 77, 141, 0.12);
    color: #1C4D8D;
    border: 1px solid rgba(28, 77, 141, 0.2);
    border-radius: 0px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.account-link-btn {
    background: transparent;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 10px 12px;
    cursor: pointer;
    color: #1C4D8D;
    font-weight: 800;
}

.account-link-btn:hover {
    background: #f3f6fb;
}

.account-muted {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

.account-save-wrap {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
}

.account-save-btn {
    background: #1C4D8D;
    color: #FFFFFF;
    border: none;
    border-radius: 0px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.12);
}

.account-save-btn:hover {
    background: #153a6b;
}

.account-doc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-doc-row {
    border: 1px solid #EEEEEE;
    background: #FFFFFF;
    border-radius: 0px;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.account-doc-title {
    font-size: 14px;
    font-weight: 800;
    color: #1C4D8D;
}

.account-doc-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #757575;
}

.account-doc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-calcs-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.account-search-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #FFFFFF;
}

.account-search-wrap i {
    color: #1C4D8D;
}

.account-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #2c3e50;
}

.account-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
}

.account-table thead th {
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    color: #1C4D8D;
    padding: 10px 8px;
    border-bottom: 1px solid #E0E0E0;
    white-space: nowrap;
}

.account-table tbody td {
    padding: 12px 8px;
    border-bottom: 1px solid #EEEEEE;
    font-size: 14px;
    color: #2c3e50;
    vertical-align: middle;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    cursor: pointer;
    color: #1C4D8D;
}

.account-icon-btn:hover {
    background: #f3f6fb;
}

.account-icon-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.account-icon-btn.danger {
    color: #FF6B6B;
}

.account-icon-btn.danger:hover {
    background: #FFF5F5;
}

.account-rename {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-rename-input {
    width: 100%;
    min-width: 180px;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.account-rename-input:focus {
    border-color: #1C4D8D;
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.15);
}

.account-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.account-modal-backdrop.open {
    display: flex;
}

.account-modal {
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.12);
    padding: 18px;
    box-sizing: border-box;
}

.account-modal-title {
    font-size: 14px;
    font-weight: 900;
    color: #1C4D8D;
    margin-bottom: 8px;
}

.account-modal-body {
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.5;
}

.account-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.account-danger-btn {
    background: #FF6B6B;
    color: #FFFFFF;
    border: none;
    border-radius: 0px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 800;
}

.account-danger-btn:hover {
    background: #ff5252;
}

.account-toast {
    position: fixed;
    right: 24px;
    bottom: 92px;
    background: #1C4D8D;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 0px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 2100;
}

.account-toast.open {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 820px) {
    .calcola-grid {
        grid-template-columns: 1fr;
    }

    .calcola-actions {
        flex-direction: column;
    }

    .account-main-wrap {
        padding: 16px 16px 110px 16px;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
        top: auto;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-save-wrap {
        left: 16px;
        right: 16px;
    }

    .account-save-btn {
        width: 100%;
    }

    .account-doc-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    body.has-site-mobile-bar header {
        display: none;
    }

    .site-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: #FFFFFF;
        padding: 0 12px;
        position: sticky;
        top: 0;
        z-index: 2000;
        border-bottom: 1px solid #E0E0E0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        height: 60px;
        box-sizing: border-box;
    }

    .site-mobile-brand {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }

    .site-mobile-logo {
        height: 28px;
        width: auto;
        display: block;
    }

    .site-mobile-hamburger {
        width: 42px;
        height: 42px;
        border: 1px solid #E0E0E0;
        background: #FFFFFF;
        padding: 8px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        box-sizing: border-box;
    }

    .site-mobile-hamburger span {
        height: 2px;
        width: 100%;
        background: #2D4A8A;
        display: block;
    }

    .site-mobile-user {
        display: inline-flex;
        align-items: center;
    }

    .site-mobile-avatar {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: #2D4A8A;
        color: #FFFFFF;
        border: 1px solid #2D4A8A;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-sizing: border-box;
    }

    .site-mobile-initials {
        font-family: Montserrat, sans-serif;
        font-weight: 800;
        font-size: 12px;
        letter-spacing: 0.06em;
        color: #FFFFFF;
    }

    body.site-mobile-menu-open {
        overflow: hidden;
    }

    .site-mobile-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 1900;
    }

    .site-mobile-backdrop.open {
        display: block;
    }

    .site-mobile-drawer {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        height: calc(100vh - 60px);
        width: min(320px, 90vw);
        max-width: 90vw;
        background: #FFFFFF;
        border-right: 1px solid #E0E0E0;
        z-index: 1950;
        transform: translateX(-110%);
        transition: transform 220ms ease;
        overflow-y: auto;
        box-sizing: border-box;
        padding: 14px 12px;
        visibility: hidden;
        pointer-events: none;
    }

    .site-mobile-drawer.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .site-mobile-menu-title {
        font-size: 14px;
        font-weight: 700;
        color: #2D4A8A;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin: 10px 6px 10px 6px;
    }

    .site-mobile-menu-item {
        width: 100%;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 0px;
        padding: 12px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        color: #2c3e50;
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        text-decoration: none;
        box-sizing: border-box;
        font-family: inherit;
    }

    .site-mobile-menu-item i {
        width: 18px;
        text-align: center;
        color: #2D4A8A;
    }

    .site-mobile-menu-item:hover {
        background: #f3f6fb;
    }

    .site-mobile-menu-item.danger {
        color: #FF6B6B;
    }

    .site-mobile-menu-item.danger i {
        color: #FF6B6B;
    }

    .site-mobile-menu-item.danger:hover {
        background: #FFF5F5;
    }

    body.account-page header {
        display: none;
    }

    body.account-page .account-main-wrap {
        padding: 0 12px 70px 12px;
    }

    body.account-page .account-layout {
        gap: 16px;
    }

    .account-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: #FFFFFF;
        padding: 0 12px;
        position: sticky;
        top: 0;
        z-index: 2000;
        border-bottom: 1px solid #E0E0E0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        height: 60px;
        box-sizing: border-box;
    }

    .account-mobile-brand {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }

    .account-mobile-logo {
        height: 28px;
        width: auto;
        display: block;
    }

    .account-mobile-hamburger {
        width: 42px;
        height: 42px;
        border: 1px solid #E0E0E0;
        background: #FFFFFF;
        padding: 8px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        box-sizing: border-box;
    }

    .account-mobile-hamburger span {
        height: 2px;
        width: 100%;
        background: #2D4A8A;
        display: block;
    }

    .account-mobile-user {
        display: inline-flex;
        align-items: center;
    }

    .account-mobile-avatar {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: #2D4A8A;
        color: #FFFFFF;
        border: 1px solid #2D4A8A;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-sizing: border-box;
    }

    .account-mobile-avatar .nav-user-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .account-mobile-avatar .mobile-user-initials {
        font-weight: 900;
        letter-spacing: 0.06em;
        font-size: 14px;
        color: #FFFFFF;
    }

    body.account-page .account-layout {
        grid-template-columns: 1fr;
    }

    body.account-page .account-content {
        width: 100%;
    }

    body.account-page .account-sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        height: calc(100vh - 60px);
        width: min(320px, 90vw);
        max-width: 90vw;
        z-index: 1950;
        transform: translateX(-110%);
        transition: transform 220ms ease;
        overflow-y: auto;
        box-sizing: border-box;
        visibility: hidden;
        pointer-events: none;
    }

    body.account-page .account-sidebar.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    body.account-page.account-menu-open {
        overflow: hidden;
    }

    .account-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 1900;
    }

    .account-sidebar-backdrop.open {
        display: block;
    }
}

body.calc-page .calc-page-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 18px;
    box-sizing: border-box;
}

body.calc-page .calc-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.06);
    border-radius: 0px !important;
}

body.calc-page .calc-card-inner {
    padding: 24px;
    box-sizing: border-box;
}

body.calc-page .calc-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #FFFFFF;
}

body.calc-page .calc-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border-right: 1px solid #E0E0E0;
    color: #1C4D8D;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;
}

body.calc-page .calc-step:last-child {
    border-right: none;
}

body.calc-page .calc-step-index {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1C4D8D;
    border-radius: 0px;
    font-size: 12px;
    font-weight: 900;
    background: #FFFFFF;
}

body.calc-page .calc-step.is-done {
    background: rgba(28, 77, 141, 0.06);
}

body.calc-page .calc-step.is-active {
    background: #1C4D8D;
    color: #FFFFFF;
}

body.calc-page .calc-step.is-active .calc-step-index {
    border-color: #FFFFFF;
    color: #FFFFFF;
    background: transparent;
}

body.calc-page .calc-split {
    display: grid;
    grid-template-columns: 0.52fr 1.1fr 0.9fr;
    gap: 18px;
    align-items: start;
}

body.calc-page .calc-presets {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    padding: 14px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.06);
    position: relative !important;
    top: 0 !important;
    z-index: 1;
}

.valori-predefiniti-container {
    position: relative !important;
    top: 0 !important;
    z-index: 1;
}

body.calc-page .calc-presets-title {
    font-weight: 900;
    color: #1C4D8D;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

body.calc-page .calc-preset-btn {
    width: 100%;
    height: 46px;
    border-radius: 0px;
    border: 1px solid #1C4D8D;
    background: #FFFFFF;
    color: #1C4D8D;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: left;
    padding: 0 12px;
    margin-top: 10px;
}

body.calc-page .calc-preset-btn:hover {
    background: rgba(28, 77, 141, 0.06);
}

body.calc-page .calc-preset-btn:active {
    transform: translateY(2px);
}

body.calc-page .calc-right .calc-preview {
    margin-top: 0;
}

body.calc-page .calc-input {
    position: relative;
}

body.calc-page .calc-form-header {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

body.calc-page .calc-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1C4D8D;
    width: 18px;
    text-align: center;
    pointer-events: none;
}

body.calc-page .calc-input input,
body.calc-page .calc-input select {
    padding-left: 42px;
}

body.calc-page .calc-input:focus-within input,
body.calc-page .calc-input:focus-within select {
    background: #FFF6D5;
}

body.calc-page .calc-input.calc-input-error input,
body.calc-page .calc-input.calc-input-error select {
    border-color: #b00020;
    box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.12);
}

body.calc-page .calc-field-error {
    margin-top: 8px;
    padding: 8px 10px;
    background: #fff2f2;
    border: 1px solid #b00020;
    color: #b00020;
    border-radius: 0px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

body.calc-page .form-group {
    margin-bottom: 24px;
}

body.calc-page .form-group label {
    display: block;
    font-weight: 800;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

body.calc-page input,
body.calc-page select {
    width: 100%;
    height: 48px;
    border: 1px solid #E0E0E0;
    border-radius: 0px !important;
    background: #F4F7F6;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 14px;
}

body.calc-page input:focus,
body.calc-page select:focus {
    outline: none;
    border-color: #1C4D8D;
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.15);
    background: #FFFFFF;
}

body.calc-page .calc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.calc-page .calc-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

body.calc-page .calc-checkbox label {
    font-weight: 600;
    font-size: 13px;
    margin: 0;
}

body.calc-page .calc-help {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(17, 17, 17, 0.7);
}

body.calc-page .calc-action-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 30px;
}

body.calc-page .calc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 12px 30px;
    border-radius: 0px !important;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}

body.calc-page .calc-btn-primary {
    position: relative;
    overflow: hidden;
    background: #1C4D8D;
    border: 1px solid #1C4D8D;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.18);
}

body.calc-page .calc-btn-primary:hover {
    background: #163c6e;
    border-color: #163c6e;
}

body.calc-page .calc-btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0px 0px 0 rgba(0,0,0,0.18);
}

body.calc-page .calc-btn-primary .calc-btn-progress {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255,255,255,0.25);
}

body.calc-page .calc-btn-primary .calc-btn-progress-bar {
    display: block;
    height: 100%;
    width: 30%;
    background: rgba(255,255,255,0.9);
    animation: calcProgress 1.2s linear infinite;
}

body.calc-page .calc-btn-primary.is-loading .calc-btn-text {
    opacity: 0;
}

body.calc-page .calc-btn-primary.is-loading .calc-btn-progress {
    display: block;
}

@keyframes calcProgress {
    0% { transform: translateX(-40%); }
    100% { transform: translateX(340%); }
}

body.calc-page .calc-btn-outline {
    background: transparent;
    border: 1px solid #1C4D8D;
    color: #1C4D8D;
}

body.calc-page .calc-btn-outline:hover {
    background: rgba(28, 77, 141, 0.06);
}

body.calc-page .calc-btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.calc-page .calc-btn-link {
    background: transparent;
    border: none;
    color: #6c757d;
    padding: 12px 30px;
    height: 48px;
    border: 1px solid transparent;
}

body.calc-page .calc-btn-link:hover {
    text-decoration: underline;
}

body.calc-page .calcola-result {
    margin-top: 18px;
    padding: 16px;
    background: #F4F7F6;
    border-left: 4px solid #1C4D8D;
    border-top: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    border-radius: 0px !important;
    font-size: 15px;
    line-height: 1.6;
}

body.calc-page .calcola-result.is-error {
    border-left-color: #b00020;
    background: #fff2f2;
    color: #b00020;
}

body.calc-page .calc-preview {
    margin-top: 18px;
    border: 1px solid #E0E0E0;
    border-radius: 0px !important;
    background: #FFFFFF;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.06);
}

body.calc-page .calc-preview-title {
    padding: 12px 14px;
    border-bottom: 1px solid #E0E0E0;
    font-weight: 900;
    color: #1C4D8D;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.calc-page .calc-preview-body {
    padding: 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    color: #2c3e50;
    white-space: pre-wrap;
    line-height: 1.55;
    min-height: 140px;
}

@media (max-width: 980px) {
    body.calc-page .calc-split {
        grid-template-columns: 1fr;
    }

    body.calc-page .calc-right .calc-preview {
        margin-top: 18px;
    }

    body.calc-page .calc-form-header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.calc-page .calc-action-bar {
        justify-content: stretch;
        flex-direction: column;
        align-items: stretch;
    }

    body.calc-page .calc-btn-primary,
    body.calc-page .calc-btn-outline {
        width: 100%;
    }
}