.remata-inkcheck {
    --inkcheck-primary: #E02B20;
    --inkcheck-primary-dark: #304c5f;
    --inkcheck-background: #f4f7f9;
    --inkcheck-text: #1f2d36;
    --inkcheck-muted: #667681;
    --inkcheck-border: #d9e1e6;
--inkcheck-success: #2d7d46;
--inkcheck-success-soft: #edf8f1;

--inkcheck-review: #a66b00;
--inkcheck-review-soft: #fff8e6;

--inkcheck-warning: #b95732;
--inkcheck-warning-soft: #fff3ed;
    --inkcheck-error: #b3261e;
    --inkcheck-shadow:
        0 24px 70px rgba(31, 45, 54, 0.12);

    max-width: 820px;
    margin: 0 auto;
    color: var(--inkcheck-text);
    font-family: inherit;
}

.remata-inkcheck *,
.remata-inkcheck *::before,
.remata-inkcheck *::after {
    box-sizing: border-box;
}

.remata-inkcheck-shell {
    overflow: hidden;
    border: 1px solid var(--inkcheck-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--inkcheck-shadow);
}

.remata-inkcheck-header {
    padding: 42px 48px 32px;
    text-align: center;
    background:
        radial-gradient(
            circle at top right,
            rgba(69, 101, 122, 0.13),
            transparent 38%
        ),
        linear-gradient(180deg, #f9fbfc 0%, #fff 100%);
}

.remata-inkcheck-eyebrow,
.remata-inkcheck-result-kicker,
.remata-inkcheck-progress-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--inkcheck-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.remata-inkcheck-header h2 {
    margin: 0 0 12px;
    color: var(--inkcheck-text);
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.1;
}

.remata-inkcheck-header p {
    max-width: 610px;
    margin: 0 auto;
    color: var(--inkcheck-muted);
    font-size: 17px;
    line-height: 1.65;
}

.remata-inkcheck-form {
    padding: 12px 48px 48px;
}

.remata-inkcheck-dropzone {
    position: relative;
    display: flex;
    min-height: 285px;
    padding: 38px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 2px dashed #b8c6cf;
    border-radius: 18px;
    outline: none;
    background: var(--inkcheck-background);
    text-align: center;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.remata-inkcheck-dropzone:hover,
.remata-inkcheck-dropzone:focus,
.remata-inkcheck-dropzone.is-dragging {
    border-color: var(--inkcheck-primary);
    background: #edf3f6;
    transform: translateY(-2px);
}

.remata-inkcheck-dropzone.has-file {
    min-height: 210px;
}

.remata-inkcheck-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.remata-inkcheck-upload-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    color: var(--inkcheck-primary);
    background: #fff;
    box-shadow: 0 10px 30px rgba(69, 101, 122, 0.14);
}

.remata-inkcheck-drop-title {
    color: var(--inkcheck-text);
    font-size: 20px;
    font-weight: 700;
}

.remata-inkcheck-drop-or {
    margin: 8px 0;
    color: var(--inkcheck-muted);
    font-size: 14px;
}

.remata-inkcheck-choose-button {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--inkcheck-primary);
    font-weight: 700;
}

.remata-inkcheck-drop-help {
    margin-top: 15px;
    color: var(--inkcheck-muted);
    font-size: 13px;
}

.remata-inkcheck-file-card {
    display: flex;
    margin-top: 18px;
    padding: 15px 18px;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--inkcheck-border);
    border-radius: 14px;
    background: #fff;
}

.remata-inkcheck-file-card[hidden] {
    display: none;
}

.remata-inkcheck-file-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: #c44338;
    font-size: 12px;
    font-weight: 800;
}

.remata-inkcheck-file-details {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.remata-inkcheck-file-details strong {
    overflow: hidden;
    color: var(--inkcheck-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remata-inkcheck-file-details span {
    color: var(--inkcheck-muted);
    font-size: 13px;
}

.remata-inkcheck-remove-file {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--inkcheck-muted);
    background: #f1f4f6;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.remata-inkcheck-fields {
    display: grid;
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.remata-inkcheck-field-wide {
    grid-column: 1 / -1;
}

.remata-inkcheck-field label {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    justify-content: space-between;
    color: var(--inkcheck-text);
    font-size: 14px;
    font-weight: 700;
}

.remata-inkcheck-field label span {
    color: var(--inkcheck-muted);
    font-size: 12px;
    font-weight: 400;
}

.remata-inkcheck-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--inkcheck-border);
    border-radius: 11px;
    outline: none;
    color: var(--inkcheck-text);
    background: #fff;
    font: inherit;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.remata-inkcheck-field input:focus {
    border-color: var(--inkcheck-primary);
    box-shadow: 0 0 0 4px rgba(69, 101, 122, 0.12);
}

.remata-inkcheck-validation {
    display: none;
    margin-top: 18px;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--inkcheck-error);
    background: #fff0ef;
    font-size: 14px;
}

.remata-inkcheck-validation.is-visible {
    display: block;
}

.remata-inkcheck-submit {
    display: flex;
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    padding: 14px 24px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--inkcheck-primary),
            var(--inkcheck-primary-dark)
        );
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(69, 101, 122, 0.25);
    transition:
        transform 180ms ease,
        opacity 180ms ease,
        box-shadow 180ms ease;
}

.remata-inkcheck-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(69, 101, 122, 0.32);
}

.remata-inkcheck-submit:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.remata-inkcheck-progress {
    padding: 45px 48px 50px;
}

.remata-inkcheck-progress[hidden] {
    display: none;
}

.remata-inkcheck-progress-heading {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.remata-inkcheck-progress-heading h3 {
    margin: 0;
    color: var(--inkcheck-text);
    font-size: 24px;
}

.remata-inkcheck-progress-percent {
    color: var(--inkcheck-primary);
    font-size: 21px;
    font-weight: 800;
}

.remata-inkcheck-progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf0;
}

.remata-inkcheck-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            var(--inkcheck-primary),
            #7395aa
        );
    transition: width 450ms ease;
}

.remata-inkcheck-steps {
    display: grid;
    margin: 34px 0 0;
    padding: 0;
    gap: 12px;
    list-style: none;
}

.remata-inkcheck-steps li {
    display: flex;
    padding: 14px 16px;
    align-items: center;
    gap: 14px;
    border-radius: 12px;
    color: var(--inkcheck-muted);
    background: #f7f9fa;
    transition:
        background 180ms ease,
        color 180ms ease;
}

.remata-inkcheck-step-marker {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border: 2px solid #b7c4cc;
    border-radius: 50%;
}

.remata-inkcheck-steps li.is-active {
    color: var(--inkcheck-text);
    background: #edf3f6;
}

.remata-inkcheck-steps li.is-active
.remata-inkcheck-step-marker {
    border-color: var(--inkcheck-primary);
}

.remata-inkcheck-steps li.is-active
.remata-inkcheck-step-marker::after {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--inkcheck-primary);
    content: "";
    animation: remata-inkcheck-pulse 1.2s infinite;
}

.remata-inkcheck-steps li.is-complete
.remata-inkcheck-step-marker {
    border-color: var(--inkcheck-success);
    background: var(--inkcheck-success);
}

.remata-inkcheck-steps li.is-complete
.remata-inkcheck-step-marker::after {
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.remata-inkcheck-steps strong,
.remata-inkcheck-steps small {
    display: block;
}

.remata-inkcheck-steps strong {
    color: inherit;
    font-size: 14px;
}

.remata-inkcheck-steps small {
    margin-top: 2px;
    color: var(--inkcheck-muted);
    font-size: 12px;
}

.remata-inkcheck-wait-message {
    margin: 24px 0 0;
    color: var(--inkcheck-muted);
    text-align: center;
    font-size: 13px;
}

.remata-inkcheck-result {
    padding: 0 48px 48px;
}

.remata-inkcheck-result:empty {
    display: none;
}

.remata-inkcheck-result-card {
    padding: 38px;
    border: 1px solid var(--inkcheck-border);
    border-radius: 20px;
    text-align: center;
    background: #fff;
}

.remata-inkcheck-result-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
}

.remata-inkcheck-success
.remata-inkcheck-result-card {
    border-color: #b9dfc7;
    background:
        linear-gradient(
            180deg,
            var(--inkcheck-success-soft),
            #fff 48%
        );
}

.remata-inkcheck-success
.remata-inkcheck-result-icon {
    background: var(--inkcheck-success);
}
/* ---------------------------------------------------------
   Further Check Recommended
   --------------------------------------------------------- */

.remata-inkcheck-review
.remata-inkcheck-result-card {
    border-color: #e5ca87;
    background:
        linear-gradient(
            180deg,
            var(--inkcheck-review-soft),
            #fff 48%
        );
}

.remata-inkcheck-review
.remata-inkcheck-result-icon {
    background: var(--inkcheck-review);
}

.remata-inkcheck-review
.remata-inkcheck-result-kicker {
    color: var(--inkcheck-review);
}

.remata-inkcheck-review
.remata-inkcheck-advice {
    background: var(--inkcheck-review-soft);
}

.remata-inkcheck-review
.remata-inkcheck-advice strong {
    color: var(--inkcheck-review);
}
.remata-inkcheck-warning
.remata-inkcheck-result-card {
    border-color: #edc8b8;
    background:
        linear-gradient(
            180deg,
            var(--inkcheck-warning-soft),
            #fff 48%
        );
}

.remata-inkcheck-warning
.remata-inkcheck-result-icon {
    background: var(--inkcheck-warning);
}

.remata-inkcheck-error
.remata-inkcheck-result-icon {
    background: var(--inkcheck-error);
}

.remata-inkcheck-result-card h3 {
    max-width: 620px;
    margin: 5px auto 13px;
    color: var(--inkcheck-text);
    font-size: clamp(25px, 4vw, 35px);
    line-height: 1.2;
}

.remata-inkcheck-result-message {
    max-width: 600px;
    margin: 0 auto;
    color: var(--inkcheck-muted);
    font-size: 16px;
    line-height: 1.65;
}

.remata-inkcheck-result-grid {
    display: grid;
    margin-top: 30px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.remata-inkcheck-metric {
    padding: 18px 12px;
    border: 1px solid var(--inkcheck-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.76);
}

.remata-inkcheck-metric span,
.remata-inkcheck-metric strong {
    display: block;
}

.remata-inkcheck-metric span {
    margin-bottom: 7px;
    color: var(--inkcheck-muted);
    font-size: 12px;
}

.remata-inkcheck-metric strong {
    color: var(--inkcheck-text);
    font-size: 21px;
}

.remata-inkcheck-advice {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 13px;
    text-align: left;
    background: #fff6f1;
}

.remata-inkcheck-advice strong {
    color: var(--inkcheck-warning);
}

.remata-inkcheck-advice p {
    margin: 6px 0 0;
    color: var(--inkcheck-muted);
    line-height: 1.6;
}

.remata-inkcheck-result-footer {
    display: flex;
    margin-top: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.remata-inkcheck-job-id {
    color: var(--inkcheck-muted);
    font-size: 12px;
    text-align: left;
    word-break: break-word;
}

.remata-inkcheck-again {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--inkcheck-primary);
    border-radius: 10px;
    color: var(--inkcheck-primary);
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.remata-inkcheck-paper-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.remata-inkcheck-paper-option {
    position: relative;
    display: block;
    margin: 0 !important;
    cursor: pointer;
}

.remata-inkcheck-paper-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.remata-inkcheck-paper-card {
    display: flex;
    min-height: 92px;
    padding: 18px;
    align-items: center;
    gap: 14px;
    border: 2px solid var(--inkcheck-border);
    border-radius: 14px;
    background: #fff;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.remata-inkcheck-paper-option:hover
.remata-inkcheck-paper-card {
    border-color: #a8bac5;
    transform: translateY(-1px);
}

.remata-inkcheck-paper-radio {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #aab9c2;
    border-radius: 50%;
    background: #fff;
}

.remata-inkcheck-paper-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.remata-inkcheck-paper-copy strong {
    color: var(--inkcheck-text);
    font-size: 15px;
}

.remata-inkcheck-paper-copy small {
    color: var(--inkcheck-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.remata-inkcheck-paper-limit {
    flex: 0 0 auto;
    color: var(--inkcheck-primary);
    font-size: 21px;
    font-weight: 800;
}

.remata-inkcheck-paper-option input:checked
+ .remata-inkcheck-paper-card {
    border-color: var(--inkcheck-primary);
    background: #edf3f6;
    box-shadow: 0 0 0 3px rgba(69, 101, 122, 0.10);
}

.remata-inkcheck-paper-option input:checked
+ .remata-inkcheck-paper-card
.remata-inkcheck-paper-radio {
    border-color: var(--inkcheck-primary);
}

.remata-inkcheck-paper-option input:checked
+ .remata-inkcheck-paper-card
.remata-inkcheck-paper-radio::after {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--inkcheck-primary);
    content: "";
}

.remata-inkcheck-paper-option input:focus-visible
+ .remata-inkcheck-paper-card {
    outline: 3px solid rgba(69, 101, 122, 0.20);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .remata-inkcheck-paper-options {
        grid-template-columns: 1fr;
    }
}
@keyframes remata-inkcheck-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.75);
    }
}

@media (max-width: 760px) {
    .remata-inkcheck-header,
    .remata-inkcheck-form,
    .remata-inkcheck-progress {
        padding-left: 24px;
        padding-right: 24px;
    }

    .remata-inkcheck-result {
        padding-right: 24px;
        padding-left: 24px;
    }

    .remata-inkcheck-fields,
    .remata-inkcheck-result-grid {
        grid-template-columns: 1fr 1fr;
    }

    .remata-inkcheck-result-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .remata-inkcheck-job-id {
        text-align: center;
    }
}

@media (max-width: 520px) {
    .remata-inkcheck-shell {
        border-radius: 16px;
    }

    .remata-inkcheck-header {
        padding-top: 30px;
    }

    .remata-inkcheck-form {
        padding-bottom: 30px;
    }

    .remata-inkcheck-dropzone {
        min-height: 240px;
        padding: 25px 18px;
    }

    .remata-inkcheck-fields,
    .remata-inkcheck-result-grid {
        grid-template-columns: 1fr;
    }

    .remata-inkcheck-field-wide {
        grid-column: auto;
    }

    .remata-inkcheck-result-card {
        padding: 28px 20px;
    }

    .remata-inkcheck-progress-heading {
        flex-direction: column;
    }
}