.tmlr-form {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
}

.tmlr-form h2 {
    text-align: center;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.tmlr-form h3 {
    margin-top: 28px;
    padding: 10px 12px;
    background: #f2f2f2;
    border-left: 4px solid #333;
}

.tmlr-form h4 {
    margin-top: 0;
}

.tmlr-box,
.tmlr-note {
    padding: 14px 16px;
    border: 1px solid #d0d0d0;
    margin-bottom: 18px;
    background: #fafafa;
}

.tmlr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tmlr-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 16px;
}

.tmlr-form input,
.tmlr-form select,
.tmlr-form textarea {
    width: 100%;
    margin-top: 6px;
}

.tmlr-form textarea {
    min-height: 120px;
}

.tmlr-acceptance {
    margin-top: 20px;
}

.tmlr-acceptance input {
    width: auto;
}

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

    .tmlr-form {
        padding: 16px;
    }
}


@media print {
    header,
    footer,
    nav,
    .site-header,
    .site-footer,
    .tmlr-print-button {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .tmlr-printable {
        max-width: 100% !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

.tmlr-sheet {
    max-width: 900px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #000;
    border: 2px solid #000;
}

.tmlr-sheet-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid #000;
    text-align: center;
}

.tmlr-sheet-header > div,
.tmlr-sheet-row,
.tmlr-sheet-grid > div,
.tmlr-sheet-title,
.tmlr-sheet-textarea,
.tmlr-sheet-footer > div {
    padding: 8px;
    border-bottom: 1px solid #000;
}

.tmlr-sheet-grid,
.tmlr-sheet-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tmlr-sheet-grid > div:first-child,
.tmlr-sheet-footer > div:first-child {
    border-right: 1px solid #000;
}

.tmlr-sheet-title {
    background: #d9d9d9;
    font-weight: bold;
    text-transform: uppercase;
}

.tmlr-sheet-textarea {
    min-height: 90px;
}

.tmlr-provider-box {
    min-height: 110px;
}

.tmlr-sheet-footer {
    font-size: 11px;
}

.tmlr-sheet p {
    margin: 0;
}