.emc24-ocr {
    max-width: 920px;
    margin: 32px auto;
    font-family: inherit;
    color: #111;
}

.emc24-ocr-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.emc24-ocr h2,
.emc24-ocr h3 {
    margin-top: 0;
    color: #111;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.emc24-ocr-lead {
    margin-bottom: 24px;
    color: #555;
    line-height: 1.55;
}

.emc24-ocr-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.emc24-ocr label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #111;
}

.emc24-ocr input[type="text"],
.emc24-ocr input[type="email"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 10px 12px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
}

.emc24-ocr input[type="text"]:focus,
.emc24-ocr input[type="email"]:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.emc24-ocr-button,
.emc24-ocr button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid #000;
    border-radius: 6px;
    background: #000;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.emc24-ocr-button:hover,
.emc24-ocr button[type="submit"]:hover,
.emc24-ocr-button:focus,
.emc24-ocr button[type="submit"]:focus {
    background: #222;
    border-color: #222;
    color: #fff;
}

.emc24-ocr-button:active,
.emc24-ocr button[type="submit"]:active {
    transform: translateY(1px);
}

.emc24-ocr-table-wrap {
    overflow-x: auto;
    margin: 16px 0 22px;
}

.emc24-ocr-items {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e6e6e6;
    background: #fff;
}

.emc24-ocr-items th,
.emc24-ocr-items td {
    padding: 14px 16px;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
    vertical-align: middle;
}

.emc24-ocr-items th {
    background: #f7f7f7;
    color: #111;
    font-weight: 700;
}

.emc24-ocr-items tr:last-child td {
    border-bottom: 0;
}

.emc24-ocr-items input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000;
}

.emc24-ocr-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background: #f7f7f7;
}

.emc24-ocr-notice p {
    margin: 0;
}

.emc24-ocr-notice-success {
    border-color: #b8d8be;
    background: #f0faf2;
}

.emc24-ocr-notice-error {
    border-color: #e8b7b7;
    background: #fff3f3;
}

.emc24-ocr-notice-info {
    border-color: #d9d9d9;
    background: #f7f7f7;
}

.emc24-ocr-instructions {
    margin-top: 20px;
}

@media (max-width: 700px) {
    .emc24-ocr-card {
        padding: 20px;
        border-radius: 10px;
    }

    .emc24-ocr-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .emc24-ocr-button,
    .emc24-ocr button[type="submit"] {
        width: 100%;
    }
}

.emc24-ocr-extra-fields {
    margin: 20px 0 24px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fafafa;
}

.emc24-ocr textarea {
    width: 100%;
    min-height: 110px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 10px 12px;
    background: #fff;
    color: #111;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
}

.emc24-ocr textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.emc24-ocr fieldset {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.emc24-ocr legend {
    margin-bottom: 10px;
    font-weight: 700;
    color: #111;
}

.emc24-ocr-optional {
    font-weight: 400;
    color: #777;
}

.emc24-ocr-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.emc24-ocr-choice-list label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-weight: 600;
}

.emc24-ocr-choice-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000;
}
