@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Service calculator / factura.html — classic invoice layout */
.fk-calc-factura-layout .fk-calc-sheet,
.fk-calc-factura-layout .fk-calc-sheet * {
    font-family: 'Roboto', 'Inter', system-ui, sans-serif;
}

.fk-calc-factura-layout .fk-calc-table th,
.fk-calc-factura-layout .fk-calc-table td {
    border-color: #333;
}

.fk-calc-factura-layout .fk-calc-table th {
    background: #0033a0;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.fk-calc-factura-layout .fk-calc-table th,
.fk-calc-factura-layout .fk-calc-table td {
    padding: 8px 6px;
    font-size: 15px;
}

.fk-calc-factura-layout .fk-calc-total-box {
    margin-top: 1.75rem;
    border-width: 0;
    background: transparent;
    padding: 0;
    text-align: right;
}

.fk-calc-factura-layout .fk-calc-total-box strong {
    font-size: 19px;
}

.fk-calc-factura-layout .fk-calc-payment {
    margin-top: 2rem;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 15px;
}

.fk-calc-factura-layout .fk-calc-section {
    border-color: #ddd;
    background: #fff;
}

.fk-calc-factura-layout .fk-calc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.fk-calc-factura-layout .fk-calc-meta > strong {
    grid-column: auto;
}

.fk-calc-factura-layout .fk-calc-meta label {
    display: inline;
    margin: 0 .25rem 0 0;
    font-weight: 500;
}

.fk-calc-factura-layout .fk-calc-meta input {
    width: auto;
    min-width: 140px;
    display: inline-block;
}

/* Service calculator — premium mobile-first layout */
.fk-calc-page {
    --fk-calc-blue: #0033a0;
    --fk-calc-blue-soft: #e8f0ff;
    --fk-calc-accent: #007bff;
    --fk-calc-green: #16a34a;
    --fk-calc-radius: 14px;
    --fk-calc-shadow: 0 20px 50px rgba(0, 51, 160, .08);
}

.fk-calc-hero {
    position: relative;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    max-width: 980px;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: calc(var(--fk-calc-radius) + 4px);
    background: linear-gradient(135deg, #f0f6ff 0%, #fff 45%, #f8fbff 100%);
    border: 1px solid rgba(0, 51, 160, .12);
    box-shadow: var(--fk-calc-shadow);
}

.fk-calc-hero__glow {
    position: absolute;
    inset: -40% -20% auto auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 123, 255, .18) 0%, transparent 70%);
    pointer-events: none;
}

.fk-calc-hero__inner {
    position: relative;
    z-index: 1;
}

.fk-calc-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--fk-calc-blue);
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 51, 160, .15);
    margin-bottom: .85rem;
}

.fk-calc-hero h1 {
    margin: 0 0 .5rem;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.15;
    color: #0f172a;
}

.fk-calc-hero__lead {
    margin: 0 0 1rem;
    max-width: 52ch;
    font-size: clamp(.92rem, 2.5vw, 1.05rem);
    color: #475569;
    line-height: 1.55;
}

.fk-calc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.1rem;
}

.fk-calc-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 500;
    color: #1e3a8a;
    background: #fff;
    border: 1px solid #dbeafe;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .06);
}

.fk-calc-pill i {
    color: var(--fk-calc-accent);
    font-size: .72rem;
}

.fk-calc-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
}

.fk-calc-stat {
    padding: .75rem .85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(0, 51, 160, .1);
    text-align: center;
}

.fk-calc-stat strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--fk-calc-blue);
}

.fk-calc-stat span {
    display: block;
    margin-top: .2rem;
    font-size: .68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fk-calc-wrap {
    max-width: 980px;
    margin: 0 auto 5rem;
    padding: 0 .25rem;
}

@media (min-width: 1024px) {
    .fk-calc-hero {
        max-width: 1140px;
    }

    .fk-calc-wrap {
        max-width: 1140px;
        padding: 0 1rem;
    }

    .fk-calc-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
        align-items: end;
    }

    .fk-calc-toolbar-actions {
        grid-column: auto;
        flex-wrap: nowrap;
    }

    .fk-calc-toolbar-actions .fk-btn {
        flex: 0 1 auto;
        min-width: 140px;
    }

    .fk-calc-details {
        grid-template-columns: 1fr 1.1fr;
        gap: 1.25rem;
    }

    .fk-calc-quick {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: .65rem;
    }

    .fk-calc-table {
        min-width: 0;
    }

    .fk-calc-footer-grid {
        display: grid;
        grid-template-columns: 1fr minmax(280px, 340px);
        gap: 1.25rem;
        align-items: start;
        margin-top: 1.5rem;
    }

    .fk-calc-pay-panel {
        position: sticky;
        top: 1rem;
    }
}

.fk-calc-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--fk-border, #e2e8f0);
    border-radius: var(--fk-calc-radius);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.fk-calc-toolbar .fk-field {
    margin: 0;
}

.fk-calc-toolbar .fk-field label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    margin-bottom: .3rem;
}

.fk-calc-toolbar select,
.fk-calc-toolbar input[type="text"] {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: .9rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.fk-calc-toolbar select:focus,
.fk-calc-toolbar input:focus {
    outline: none;
    border-color: var(--fk-calc-accent);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, .15);
}

.fk-calc-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    grid-column: 1 / -1;
}

.fk-calc-toolbar-actions .fk-btn {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
}

.fk-calc-hint {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    background: linear-gradient(90deg, #e7f3ff, #f0f9ff);
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    font-size: .88rem;
    color: #334155;
    border: 1px solid #bfdbfe;
}

.fk-calc-hint i {
    color: var(--fk-calc-accent);
    margin-top: .15rem;
}

.fk-calc-sheet {
    position: relative;
    background: #fff;
    padding: clamp(12px, 3vw, 12mm) clamp(10px, 3vw, 11mm);
    box-shadow: var(--fk-calc-shadow);
    border-radius: var(--fk-calc-radius);
    border: 1px solid #e2e8f0;
}

.fk-calc-sheet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--fk-calc-radius) var(--fk-calc-radius) 0 0;
    background: linear-gradient(90deg, var(--fk-calc-blue), var(--fk-calc-accent));
}

.fk-calc-sheet-title {
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.fk-calc-meta {
    border: 2px solid var(--fk-calc-blue);
    padding: .85rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff, #fff);
    margin-bottom: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .65rem;
    align-items: center;
}

.fk-calc-meta > strong {
    grid-column: 1 / -1;
    font-size: .92rem;
    color: var(--fk-calc-blue);
}

.fk-calc-meta label {
    font-weight: 600;
    font-size: .78rem;
    color: #475569;
    display: block;
    margin-bottom: .2rem;
}

.fk-calc-meta input {
    width: 100%;
    padding: .45rem .55rem;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    font-size: .9rem;
    background: #fff;
}

.fk-calc-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.fk-calc-section {
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 12px;
    background: #fafbfc;
    transition: box-shadow .2s;
}

.fk-calc-section:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}

.fk-calc-section h2 {
    margin: 0 0 .75rem;
    font-size: .95rem;
    color: var(--fk-calc-blue);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.fk-calc-section h2::before {
    content: '';
    width: 4px;
    height: 1em;
    border-radius: 2px;
    background: var(--fk-calc-blue);
}

.fk-calc-seller {
    font-size: .9rem;
    line-height: 1.6;
    color: #334155;
}

.fk-calc-buyer input,
.fk-calc-buyer textarea {
    width: 100%;
    padding: .55rem .65rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: .9rem;
    box-sizing: border-box;
    margin-bottom: .55rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.fk-calc-buyer input:focus,
.fk-calc-buyer textarea:focus {
    outline: none;
    border-color: var(--fk-calc-accent);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, .12);
}

.fk-calc-services-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .85rem;
}

.fk-calc-services-title {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.fk-calc-live-total {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #86efac;
    font-size: .88rem;
    font-weight: 700;
    color: #166534;
}

.fk-calc-live-total.is-updated {
    animation: fk-calc-pulse .45s ease;
}

@keyframes fk-calc-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.fk-calc-quick {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: .55rem;
    margin-bottom: 1.15rem;
}

.fk-calc-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    text-align: left;
    background: linear-gradient(180deg, #fff, #f8fafc);
    color: #0f172a;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: .65rem .75rem;
    font-size: .78rem;
    line-height: 1.35;
    cursor: pointer;
    min-height: 64px;
    transition: transform .15s, box-shadow .15s, border-color .15s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .06);
}

.fk-calc-quick-btn:hover {
    transform: translateY(-2px);
    border-color: var(--fk-calc-accent);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .12);
}

.fk-calc-quick-btn:active {
    transform: translateY(0);
}

.fk-calc-quick-label {
    font-weight: 600;
}

.fk-calc-quick-price {
    font-size: .82rem;
    font-weight: 700;
    color: var(--fk-calc-blue);
}

.fk-calc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: .75rem 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.fk-calc-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
}

.fk-calc-table th,
.fk-calc-table td {
    border: 1px solid #cbd5e1;
    padding: .5rem .4rem;
    text-align: left;
    font-size: .88rem;
}

.fk-calc-table th {
    background: linear-gradient(180deg, var(--fk-calc-blue), #002878);
    color: #fff;
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.fk-calc-col-nr { width: 38px; }
.fk-calc-col-qty { width: 75px; }
.fk-calc-col-price { width: 105px; }
.fk-calc-col-sum { width: 105px; }
.fk-calc-col-remove { width: 44px; }

.fk-calc-table input {
    width: 100%;
    padding: .4rem .45rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: .88rem;
    box-sizing: border-box;
}

.fk-calc-line-total {
    font-weight: 700;
    color: var(--fk-calc-blue);
}

.fk-calc-add-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--fk-calc-blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .6rem 1rem;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    min-height: 44px;
    transition: background .15s, transform .15s;
}

.fk-calc-add-btn:hover {
    background: #002878;
}

.fk-calc-remove-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 100%;
    min-height: 36px;
    padding: .25rem;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.fk-calc-total-box {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f6ff, #fff);
    border: 2px solid var(--fk-calc-blue);
    text-align: right;
}

.fk-calc-total-box strong {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: #0f172a;
}

.fk-calc-total-box #fk-calc-total {
    color: var(--fk-calc-blue);
    font-size: clamp(1.25rem, 4vw, 1.6rem);
}

.fk-calc-payment {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: .9rem;
    line-height: 1.6;
}

.fk-calc-payment-purpose-input {
    display: block;
    width: 100%;
    margin-top: .55rem;
    padding: .55rem .65rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: .88rem;
}

.fk-calc-footer-grid {
    margin-top: 1.25rem;
}

.fk-calc-pay-panel {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff, #fff);
}

.fk-calc-pay-title {
    margin: 0 0 .75rem;
    font-size: .95rem;
    color: var(--fk-calc-blue);
    display: flex;
    align-items: center;
    gap: .45rem;
}

.fk-calc-pay-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    margin-bottom: .35rem;
}

.fk-calc-pay-url-row {
    display: flex;
    gap: .45rem;
    align-items: stretch;
}

.fk-calc-payment-url-input {
    flex: 1;
    min-width: 0;
    padding: .55rem .65rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: .85rem;
}

.fk-calc-gen-pay {
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    padding: .45rem .65rem;
}

.fk-calc-pay-hint {
    margin: .55rem 0 0;
    font-size: .75rem;
    line-height: 1.45;
    color: #64748b;
}

.fk-calc-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #cbd5e1;
    text-align: center;
}

.fk-calc-qr-wrap img {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: .35rem;
}

.fk-calc-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .65rem 1.15rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    min-height: 44px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .22);
}

.fk-calc-pay-btn:hover {
    color: #fff;
    filter: brightness(1.05);
}

.fk-calc-qr-caption {
    margin: 0;
    font-size: .78rem;
    color: #64748b;
}

.fk-calc-qr-print {
    display: none;
    text-align: center;
    padding: .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: .75rem;
}

.fk-calc-qr-print-url {
    margin-top: .35rem;
    font-size: .7rem;
    word-break: break-all;
    color: #475569;
}

.fk-calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.fk-calc-print-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 48px;
    min-width: 200px;
    box-shadow: 0 10px 24px rgba(22, 163, 74, .25);
    transition: transform .15s, box-shadow .15s;
}

.fk-calc-print-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(22, 163, 74, .3);
}

.fk-calc-alert {
    margin-bottom: .75rem;
}

/* Sticky mobile action bar */
.fk-calc-sticky {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 30px rgba(15, 23, 42, .1);
    gap: .55rem;
    align-items: center;
}

.fk-calc-sticky.is-visible {
    display: flex;
}

@media (min-width: 1024px) {
    .fk-calc-sticky.is-desktop {
        left: auto;
        right: 1.25rem;
        bottom: 1.25rem;
        width: auto;
        max-width: 420px;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
        padding: .75rem 1rem;
    }

    body.fk-calc-has-sticky {
        padding-bottom: 0;
    }
}

.fk-calc-sticky-total {
    flex: 1;
    min-width: 0;
}

.fk-calc-sticky-total span {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
}

.fk-calc-sticky-total strong {
    font-size: 1.15rem;
    color: var(--fk-calc-blue);
}

.fk-calc-sticky .fk-btn,
.fk-calc-sticky .fk-calc-print-btn {
    min-width: auto;
    padding: .55rem .85rem;
    font-size: .82rem;
    min-height: 44px;
    margin: 0;
    box-shadow: none;
}

@media (max-width: 768px) {
    .fk-calc-hero-stats {
        grid-template-columns: 1fr;
    }

    .fk-calc-details {
        grid-template-columns: 1fr;
    }

    .fk-calc-quick {
        grid-template-columns: repeat(2, 1fr);
    }

    .fk-calc-toolbar {
        grid-template-columns: 1fr;
    }

    body.fk-calc-has-sticky {
        padding-bottom: 76px;
    }

    .fk-calc-sticky.is-visible {
        display: flex;
    }

    .fk-calc-table-wrap {
        border: none;
        overflow: visible;
    }

    .fk-calc-table {
        min-width: 0;
    }

    .fk-calc-table thead {
        display: none;
    }

    .fk-calc-table tbody tr {
        display: block;
        margin-bottom: .75rem;
        padding: .75rem;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fafbfc;
        box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
    }

    .fk-calc-table tbody tr td {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: .35rem .65rem;
        align-items: center;
        border: none;
        padding: .35rem 0;
    }

    .fk-calc-table tbody tr td::before {
        content: attr(data-label);
        font-size: .7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .03em;
        color: #64748b;
    }

    .fk-calc-table tbody tr td.fk-calc-col-nr::before { content: '#'; }
    .fk-calc-table tbody tr td.fk-calc-col-remove {
        display: block;
        padding-top: .5rem;
    }

    .fk-calc-table tbody tr td.fk-calc-col-remove::before {
        display: none;
    }

    .fk-calc-actions .fk-calc-print-btn {
        width: 100%;
    }

    .fk-calc-pay-url-row {
        flex-direction: column;
    }

    .fk-calc-footer-grid {
        display: block;
    }
}

@media (max-width: 420px) {
    .fk-calc-quick {
        grid-template-columns: 1fr;
    }
}

@media print {
    .fk-top-bar,
    .fk-footer,
    .fk-demo-strip,
    .fk-hero,
    .fk-calc-hero,
    .fk-calc-toolbar,
    .fk-calc-hint,
    .fk-calc-sticky,
    .fk-no-print,
    .fk-ecosystem-strip {
        display: none !important;
    }

    .fk-main,
    body.fk-calc-has-sticky {
        padding: 0;
    }

    body {
        background: #fff;
    }

    .fk-calc-sheet {
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 10mm 12mm;
        width: 210mm;
        margin: 0 auto;
    }

    .fk-calc-footer-grid {
        display: block;
    }

    .fk-calc-qr-print:not([hidden]) {
        display: block;
    }

    .fk-calc-table thead {
        display: table-header-group;
    }

    .fk-calc-table tbody tr {
        display: table-row;
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .fk-calc-table tbody tr td {
        display: table-cell;
    }

    .fk-calc-table tbody tr td::before {
        content: none;
    }

    @page {
        size: A4;
        margin: 8mm;
    }
}